Demand information generation method and device, computer equipment, storage medium and computer program product

By generating interactive knowledge graphs and product knowledge graphs, identifying nodes to be improved and updating product knowledge graphs, the problem of low efficiency of traditional offline research is solved, rapid and accurate demand information generation is achieved, and demand determination efficiency is improved.

CN118551114APending Publication Date: 2024-08-27CHINA CONSTRUCTION BANK +1

Patent Information

Application Number
CN202410726956.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the era of big data, traditional offline research methods are inefficient and difficult to quickly determine diverse and complex user needs, resulting in low efficiency in demand determination.

Method used

Generate an interactive knowledge graph by obtaining interactive data, combine it with the product knowledge graph, generate initial requirements documents, determine the nodes to be improved, generate communication documents and obtain communication data, update the product knowledge graph to obtain target demand information, and use the knowledge graph to perform inference analysis to accurately Determine user needs.

Benefits of technology

It improves the efficiency of demand information generation, accurately determines the real demands of users, reduces the need for offline research, and improves the efficiency of demand determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551114A
    Figure CN118551114A
Patent Text Reader

Abstract

The invention relates to the technical field of artificial intelligence, in particular to a demand information generation method and device, computer equipment, a storage medium and a computer program product. The method comprises the steps of obtaining interaction data, and generating an interaction knowledge graph based on the interaction data; generating an initial demand document based on the interaction knowledge graph and the product knowledge graph; determining nodes to be perfected in the interaction knowledge graph based on the product knowledge graph; generating a communication document based on the to-be-perfected node and the initial demand document, and obtaining communication data corresponding to the communication document; and performing graph updating on the product knowledge graph based on the communication data, and obtaining target demand information based on the updated product knowledge graph. By adopting the method, the demand information generation efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, apparatus, computer equipment, storage medium and computer program product for generating demand information. Background Art

[0002] In the era of big data, service-oriented services have become one of the most important development trends in the IT world. More and more software services are developed and deployed on the Internet, as well as a large number of virtualized services that connect physical service resources in the real world. Services from multiple domains and multiple networks are aggregated into a large and complex service network or ecosystem, which can be called the "Internet of Services (IoS)" or "Big Services". IoS proposes a paradigm in which all content can be used as a service on the Internet. In IoS, extremely rich and massive services are diverse, distributed and heterogeneous. By collecting, clustering and combining these services, service solutions can be generated to meet customer needs.

[0003] In traditional technology, as various services become increasingly complex, user needs are also becoming more diverse and complex. How to determine needs has become an urgent problem to be solved. In traditional technology, various offline surveys are generally conducted to determine project needs, and then business function development is carried out.

[0004] However, the current offline research method is extremely inefficient. Summary of the invention

[0005] Based on this, it is necessary to provide a demand information generation method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of demand information generation in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for generating demand information, the method comprising:

[0007] Acquire interaction data, and generate an interaction knowledge graph based on the interaction data;

[0008] Generate an initial requirements document based on the interactive knowledge graph and the product knowledge graph;

[0009] Based on the product knowledge graph, determine the nodes to be improved in the interactive knowledge graph;

[0010] Generate a communication document based on the node to be improved and the initial requirement document, and obtain communication data corresponding to the communication document;

[0011] The product knowledge graph is updated based on the communication data, and target demand information is obtained based on the updated product knowledge graph.

[0012] In one embodiment, generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph includes:

[0013] Determine a matching score between each first node and each second node based on a similarity between each first node in the interaction graph and each second node in the product knowledge graph;

[0014] Iteratively updating a matching score between the first node and the second node based on a similarity between a neighboring node of the first node and a neighboring node of the second node;

[0015] After an iteration condition is met, determining the second node that successfully matches each first node based on the matching scores of each first node and each second node;

[0016] A requirement document is generated based on the successfully matched second nodes and the association relationship between the second nodes.

[0017] In one embodiment, determining the nodes to be improved in the interactive knowledge graph based on the product knowledge graph includes:

[0018] Obtaining an independent node based on the matching scores of each of the first nodes and each of the second nodes;

[0019] Acquire a target node in the interactive knowledge graph, wherein the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold;

[0020] The independent node and the target node are used as nodes to be improved.

[0021] In one embodiment, updating the product knowledge graph based on the communication data includes at least one of the following:

[0022] Identify the communication data to obtain key data, and update the attributes of the product entity in the product knowledge graph based on the key data;

[0023] Obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; or

[0024] The communication data is identified to obtain entities and labels, and the identified entities and labels are screened to obtain entities and labels that are not in the product knowledge graph, and the entities and labels that are not in the product knowledge graph are updated to the product knowledge graph.

[0025] In one embodiment, generating an interactive knowledge graph based on the interactive data includes:

[0026] Extract keywords from the interaction data to obtain keywords, and add the keywords as the first node to the interaction knowledge graph;

[0027] Matching the keywords with the product knowledge graph;

[0028] When the keyword successfully matches the product knowledge graph, obtaining an associated node corresponding to the successfully matched matching node in the product knowledge graph;

[0029] The associated node is added to the interactive knowledge graph, and the next interactive question is generated based on the associated node, and the answer to the next interactive question is used as new interactive data, and the step of extracting keywords from the interactive data to obtain keywords is continued until the interaction ends to obtain an interactive knowledge graph.

[0030] In one embodiment, before generating the initial requirement document based on the interactive knowledge graph and the product knowledge graph, the method further includes:

[0031] Acquire product information, and construct a second node based on the product information;

[0032] Determine the product attributes corresponding to the product information, and build a connection relationship between each of the second nodes based on the product attributes to obtain a product knowledge graph.

[0033] In one embodiment, the method further comprises:

[0034] When there is a new product, a new second node is generated based on the product information of the new product and added to the product knowledge graph;

[0035] Obtain the existing interactive knowledge graphs, and continue to execute the step of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph.

[0036] In a second aspect, the present application further provides a demand information generating device, the device comprising:

[0037] An interactive knowledge graph generation module, used to obtain interactive data and generate an interactive knowledge graph based on the interactive data;

[0038] An initial requirement document generation module, used to generate an initial requirement document based on the interactive knowledge graph and the product knowledge graph;

[0039] A module for determining nodes to be improved, used to determine nodes to be improved in the interactive knowledge graph based on the product knowledge graph;

[0040] A communication data determination module, configured to generate a communication document based on the node to be improved and the initial requirement document, and obtain communication data corresponding to the communication document;

[0041] The target demand generation module is used to update the product knowledge graph based on the communication data and obtain target demand information based on the updated product knowledge graph.

[0042] In one embodiment, the initial requirement document generation module is specifically used to determine the matching score of each first node and each second node based on the similarity between each first node in the interaction graph and each second node in the product knowledge graph; iteratively update the matching score of the first node and the second node based on the similarity between the neighbor node of the first node and the neighbor node of the second node; after the iteration condition is met, determine the second node that successfully matches each first node based on the matching score of each first node and each second node; generate the requirement document based on the successfully matched second node and the association relationship between each second node.

[0043] In one of the embodiments, the node to be improved determination module is specifically used to obtain an independent node based on the matching scores of each of the first nodes and each of the second nodes; obtain a target node in the interactive knowledge graph, the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; and use the independent node and the target node as nodes to be improved.

[0044] In one embodiment, the target demand generation module is used to update the product knowledge graph based on at least one of the following:

[0045] Identify the communication data to obtain key data, and update the attributes of the product entity in the product knowledge graph based on the key data;

[0046] Obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; and

[0047] The communication data is identified to obtain entities and labels, and the identified entities and labels are screened to obtain entities and labels that are not in the product knowledge graph, and the entities and labels that are not in the product knowledge graph are updated to the product knowledge graph.

[0048] In one of the embodiments, the interactive knowledge graph generation module is specifically used to extract keywords from the interactive data to obtain keywords, and add the keywords as the first node to the interactive knowledge graph; match the keywords with the product knowledge graph; when the keywords and the product knowledge graph are successfully matched, obtain the associated nodes corresponding to the successfully matched nodes in the product knowledge graph; add the associated nodes to the interactive knowledge graph, and generate the next interactive question based on the associated nodes, and use the answer to the next interactive question as new interactive data, and continue to perform the steps of extracting keywords from the interactive data to obtain keywords until the interaction ends and an interactive knowledge graph is obtained.

[0049] In one of the embodiments, the device also includes: a product knowledge graph generation module, which is used to obtain product information and construct a second node based on the product information; determine the product attributes corresponding to the product information, and construct a connection relationship between each second node based on the product attributes to obtain a product knowledge graph.

[0050] In one embodiment, the device also includes: an update module, which is used to generate a new second node based on the product information of the new product when there is a new product, and add it to the product knowledge graph; obtain the existing interactive knowledge graphs, and continue to execute the step of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph.

[0051] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in any one of the above-mentioned embodiments when executing the computer program.

[0052] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method in any one of the above-mentioned embodiments.

[0053] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the method in any one of the above-mentioned embodiments when executed by a processor.

[0054] The above-mentioned demand information generation method, device, computer equipment, storage medium and computer program product make full use of the interaction data of each application program, generate an interactive knowledge graph based on the interactive data; generate an initial demand document based on the interactive knowledge graph and the product knowledge graph; determine the nodes to be improved in the interactive knowledge graph based on the product knowledge graph; generate a communication document based on the nodes to be improved and the initial demand document, and obtain communication data corresponding to the communication document; update the product knowledge graph based on the communication data, and obtain target demand information based on the updated product knowledge graph. The user's real demands can be determined by using the interactive data. In addition, the user's needs can be accurately determined by reasoning and analysis through the knowledge graph, and then communication is performed to obtain communication data. In this way, updating the product knowledge graph based on the communication data can determine the target demand, and there is no need for one-by-one field investigation, which improves efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0056] Figure 1 An application environment diagram of a method for generating demand information in an embodiment;

[0057] Figure 2 is a flow chart of a method for generating demand information in one embodiment;

[0058] Figure 3 A flowchart of a knowledge graph alignment step in one embodiment;

[0059] Figure 4 is a flow chart of a method for generating demand information in another embodiment;

[0060] Figure 5 is a structural block diagram of a demand information generating device in one embodiment;

[0061] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] The demand information generation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the terminal 102 communicates with the customer service platform 104 through the network, and the customer service platform communicates with the server 106. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 106, or it can be placed on the cloud or other network servers.

[0064] Among them, when the terminal 102 interacts with the customer service of the customer service platform 104 (manual customer service, digital human customer service, etc.), interaction data can be generated. The customer service platform 104 sends the interaction data to the server 106, and the server 106 generates an interaction knowledge graph based on the interaction data; generates an initial demand document based on the interaction knowledge graph and the product knowledge graph; determines the nodes to be improved in the interaction knowledge graph based on the product knowledge graph; generates a communication document based on the nodes to be improved and the initial demand document, and obtains the communication data corresponding to the communication document; updates the product knowledge graph based on the communication data, and obtains the target demand information based on the updated product knowledge graph, without the need for one-by-one offline investigations, thereby improving efficiency.

[0065] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The customer service platform 104 and the server 106 may be implemented using an independent server or a server cluster consisting of multiple servers.

[0066] In an exemplary embodiment, Figure 2 As shown, a method for generating demand information is provided, and the method is applied to Figure 1 The server 106 in the example is used as an example to illustrate the method, which includes the following steps S202 to S210. Among them:

[0067] S202: Acquire interaction data, and generate an interaction knowledge graph based on the interaction data.

[0068] Interaction data is the interaction flow between customer service and users. The interactive knowledge graph is generated based on the interaction data. For example, keywords are extracted from the interaction data to obtain keywords, and entities of the interactive knowledge graph are obtained based on the keywords. The relationship between entities is obtained based on the relationship between each question in the interaction data.

[0069] S204: Generate an initial requirement document based on the interactive knowledge graph and the product knowledge graph.

[0070] The product knowledge graph is generated based on product information. In one optional embodiment, before generating the initial requirement document based on the interactive knowledge graph and the product knowledge graph, it also includes: obtaining product information, and constructing a second node based on the product information; determining product attributes corresponding to the product information, and constructing a connection relationship between each second node based on the product attributes to obtain a product knowledge graph.

[0071] Among them, the product knowledge graph is constructed based on the existing product information in the system. Data sources: internal product introductions, product marketing activities, system function introductions, product sales data, policies and regulations, business guidelines, and research reports. Product knowledge graph structure: <core entity, user, concept, scope, operation>.

[0072] Build entities: Product Name, Investment Manager, Industry, Tags.

[0073] Attributes include:

[0074] Product attributes: product name, expiration date, redemption period, subscription period, yield, net profit, risk (high, medium, low), industry, and labels.

[0075] Investment manager: name, products handled, personal label, and product returns.

[0076] Determine entity relationships based on attributes:

[0077] Investment Manager-Products Handled: refers to the products managed by the investment manager.

[0078] Product-Industry: The industry to which the product belongs.

[0079] Product-Tag: Attributes of the product that are manually labeled.

[0080] Investment Manager-Personal Tags: Investment manager’s personal characteristics or expertise.

[0081] After defining the attributes, they need to be processed according to the graph construction method: First, data cleaning is performed: data containing the above entities and attributes are collected, starting from the company's existing product basic data, the data is cleaned, and errors and duplicate data are manually removed. Then entity linking and attribute filling: map the collected data to the corresponding entities and attributes to form structured data. Third, relationship construction is performed: according to the defined relationship, the association relationship between entities is established. For example: through the product data handled by the investment manager, the investment manager and the product are connected; through the industry information to which the product belongs, the product and industry entities are connected. Finally, knowledge graph storage and query: the constructed knowledge graph is stored in the graph database.

[0082] Example of constructing a graph: Assuming that product information is known: Product A: Expiration date is 2024, redemption period is 1 month, subscription period is every Monday, yield is 5%, net profit is 1 million yuan, and risk level is medium. Product B: Expiration date is 2025, redemption period is 3 months, subscription period is at the beginning of each month, yield is 4.5%, net profit is 800,000 yuan, and risk level is low.

[0083] Investment manager data: Investment manager Zhang San: Products handled include Product A. Investment manager Li Si: Products handled include Product B.

[0084] Industry and label data: Product A belongs to the financial industry and has the labels "stable returns" and "medium- and long-term investment". Product B belongs to the technology industry and has the labels "innovative product" and "low risk".

[0085] Building a product graph Based on the above data and definitions, we can build a simplified representation of the product graph as follows:

[0086] Product A

[0087] ├─ Name: Product A

[0088] ├─ Expiration date: 2024

[0089] ├─ Redemption period: 1 month

[0090] ├─ Subscription period: every Monday

[0091] ├─ Yield: 5%

[0092] ├─ Net profit: 1 million yuan

[0093] ├─ Risk level: Medium

[0094] ├─ Managed by Investment Manager→ Zhang San

[0095] ├─ Industry → Financial Industry

[0096] └─ has tags

[0097] ├─ Steady income

[0098] └─ Medium and long-term investment

[0099] Product B

[0100] ├─ Name: Product B

[0101] ├─ Expiration date: 2025

[0102] ├─ Redemption period: 3 months

[0103] ├─ Subscription period: beginning of each month

[0104] ├─ Yield: 4.5%

[0105] ├─ Net profit: 800,000 yuan

[0106] ├─ Risk level: Low

[0107] ├─ Managed by investment manager → Li Si

[0108] ├─ Industry → Technology Industry

[0109] └─ has tags

[0110] ├─ Innovative products

[0111] └─ Low risk

[0112] The product knowledge graph and the interactive knowledge graph are aligned to generate a requirement document. For example, the customer's consulting nodes and other functional nodes associated with these consulting nodes in the interactive knowledge graph are determined based on the aligned nodes in the product knowledge graph and the interactive knowledge graph. In this way, the requirement document can be obtained based on the consulting nodes and other functional nodes.

[0113] The structure of the generated demand document includes: generation time, demand content, customer profile, source, and processing status. The generation time is the time when the customer interacts with the system. The demand content is mainly composed of the entity map of the consultation. The customer profile is obtained from the system by querying the customer's basic information. The processing status is divided into customer satisfaction with the content of the interaction, dissatisfaction with the feedback, and no feedback.

[0114] S206: Based on the product knowledge graph, determine the nodes to be improved in the interactive knowledge graph.

[0115] By aligning the product knowledge graph and the interaction knowledge graph, we can also determine the nodes of the interaction knowledge graph that do not exist in the product knowledge graph, or the nodes whose correlation with the nodes in the product knowledge graph is less than a preset value, such as the nodes whose number of connections with the product knowledge graph is less than a preset number. These nodes are the nodes to be improved.

[0116] S208: Generate a communication document based on the node to be improved and the initial requirement document, and obtain communication data corresponding to the communication document.

[0117] The generated demand documents and nodes to be improved can be pushed to the sales manager. After receiving the user demand documents, the sales manager can visit the user according to the user's needs and provide personalized services to the user. During the service process, continue to record the user's communication data, and then fill the communication data into the system. The communication data includes: processing status: whether the customer is satisfied, customer demand tracking: whether the customer demand has been resolved, continue to track the demand, processing time, whether to transfer to business personnel, whether to transfer to complaint processing.

[0118] Specifically, generate a document with content to be supplemented and improved. The document structure is as follows: generation time, demand content, customer profile, source situation, processing situation, and nodes to be improved. The previous content is consistent with the demand document. The nodes to be improved are entity nodes in the interaction graph that need to be connected to the graph, or entity nodes with fewer connected nodes. Business personnel are required to supplement and expand the content of the graph.

[0119] Complaints are generated when users fill in complaint information in feedback content, and complaint documents are generated: generation time, demand content, customer profile, source, processing status, and complaint content. Users are extremely dissatisfied during the interaction process, which needs to be handled in a timely manner. After the system recognizes it as a complaint document, it will be transferred to the complaint agency for timely processing.

[0120] S210: Update the product knowledge graph based on the communication data, and obtain target demand information based on the updated product knowledge graph.

[0121] After the account manager completes the interview with the customer, feedback and improvement of the product knowledge graph is an important step, which helps to enrich the content of the graph and improve the accuracy and practicality of the graph. Update the product knowledge graph based on the communication data. Feedback the updated and improved product knowledge graph to relevant departments and personnel so that they can understand the latest feedback and needs of customers on the product, thereby guiding product improvement and optimization. At the same time, establish a feedback loop mechanism, regularly collect and analyze customer feedback, and continuously update and improve the product knowledge graph.

[0122] The above-mentioned method for generating demand information makes full use of the interaction data of each application, generates an interactive knowledge graph based on the interaction data; generates an initial demand document based on the interactive knowledge graph and the product knowledge graph; determines the nodes to be improved in the interactive knowledge graph based on the product knowledge graph; generates a communication document based on the nodes to be improved and the initial demand document, and obtains the communication data corresponding to the communication document; updates the product knowledge graph based on the communication data, and obtains the target demand information based on the updated product knowledge graph. The interactive data can be used to determine the user's real demands. In addition, the user's needs can be accurately determined through reasoning and analysis of the knowledge graph, and then communication is performed to obtain communication data. In this way, updating the product knowledge graph based on the communication data can determine the target needs, and there is no need for field investigation, which improves efficiency.

[0123] In one of the optional embodiments, in combination Figure 3 As shown, Figure 3The present invention is a flowchart of a knowledge graph alignment step in an embodiment, wherein the knowledge graph alignment step, i.e., generating an initial requirement document based on an interactive knowledge graph and a product knowledge graph, comprises: determining a matching score between each first node and each second node based on a similarity between each first node in the interactive graph and each second node in the product knowledge graph; iteratively updating a matching score between a first node and a second node based on a similarity between a neighbor node of the first node and a neighbor node of the second node; determining a second node that successfully matches each first node based on a matching score between each first node and each second node after an iteration condition is satisfied; and generating a requirement document based on the successfully matched second nodes and the association relationship between each second node.

[0124] Specifically, an interactive knowledge graph G1 and a product knowledge graph G2 are set, which have n1 and n2 nodes respectively.

[0125] Create an n1xn2 matching matrix M to store the matching scores between each node in G1 and each node in G2.

[0126] During initialization, all elements of the matrix M are usually set to the same value (e.g., 1), indicating that the initial similarities between all node pairs are the same.

[0127] The second step is to iteratively update the matching matrix: for each round of iteration, traverse each element of the matching matrix M, and for each element M[i][j] in the matrix (representing the matching score between node i in G1 and node j in G2), calculate its new score. The new score is the matching score between the neighbor nodes of node i in G1 and the neighbor nodes of node j in G2.

[0128] Typically, the new matching score is a weighted sum of the matching scores between all of node i’s neighbors and all of node j’s neighbors. The weights can be based on a variety of factors, such as the degree (number of connections) of the neighbors or other network characteristics.

[0129] In this way, the similarity information between neighbors can be propagated and aggregated, resulting in a more accurate node pair matching score.

[0130] The third step is convergence judgment: After each round of iteration, check whether the matching matrix M has converged. This can be achieved by comparing the difference between the current matrix and the matrix after the previous round of iteration. If the difference is less than the set threshold, or the preset maximum number of iterations is reached, the algorithm stops iterating.

[0131] Step 4: Extract matching results: Once the algorithm converges, the elements in the matching matrix M represent the final matching scores between each node in G1 and each node in G2. Based on these scores, the node pairs with the highest scores can be selected as potential matching results, or the matching results can be filtered based on specific thresholds. For example, if the similarity threshold is set to 80%, the interaction node and the product node are considered to be consistent, and the association relationship of the product entity node can be used. Generate the requirements document based on the matched product entity nodes.

[0132] Specifically, entities of interest to users are mined from the interaction graph, integrated and analyzed with the product knowledge graph to form an introduction report on the entity. For the attributes of entities related to user relationships, the product knowledge graph is queried to form a detailed introduction to the attributes, which are then pieced together to form a user interview requirements document.

[0133] In one of the optional embodiments, nodes to be improved in the interactive knowledge graph are determined based on the product knowledge graph, including: obtaining independent nodes based on the matching scores of each first node and each second node; obtaining a target node in the interactive knowledge graph, the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; and using the independent node and the target node as nodes to be improved.

[0134] An independent node is a node in the interactive knowledge graph that has not been successfully matched with the product knowledge graph. For example, an interactive entity node with a threshold of less than 30% is considered an independent node. Independent nodes need to be manually supplemented by business personnel or account managers.

[0135] The target node is a node whose number of connected nodes in the interactive knowledge graph is less than or equal to the node threshold, that is, the connection with other nodes is not close. Therefore, the target node is also regarded as a node to be improved for interview.

[0136] In one of the optional embodiments, the product knowledge graph is updated based on the communication data, including at least one of the following: identifying the communication data to obtain key data, and updating the attributes of the product entity in the product knowledge graph based on the key data; obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; or identifying the communication data to obtain entities and labels, and filtering the identified entities and labels to obtain entities and labels that are not in the product knowledge graph, and updating the entities and labels that are not in the product knowledge graph to the product knowledge graph.

[0137] Among them, the account manager needs to carefully record the interview notes or other relevant materials, and follow the interview requirements document to ensure a clear understanding of the customer's feedback and needs. Focus on the customer's views on product features, usage experience, potential problems, and improvement suggestions.

[0138] The system identifies key information related to the product knowledge graph from the communication data. This information may include product usage scenarios, customer evaluation of product functions, product advantages and disadvantages, potential market demand, etc.

[0139] Update product entity information based on the identified key information. Specifically, update the attributes of the corresponding product entity in the product knowledge graph based on the identified key information. For example, if a customer mentions a new feature or improvement suggestion for a product, the corresponding attribute can be added or modified in the graph.

[0140] Add or improve relationships based on communication data. Specifically, analyze the relationships between products mentioned in the communication data and other entities (such as customers, industries, competitors, etc.), and add or improve these relationships in the product knowledge graph. For example, if a customer mentions a comparison with a competitor's product, the corresponding competitive relationship can be added to the graph.

[0141] Introduce new entities and tags. If the communication data mentions new entities or tags that are not yet included in the knowledge graph, consider introducing them into the graph. For example, if a customer mentions a new usage scenario or customer group, it can be added to the graph as a new entity or tag.

[0142] Finally, verify and adjust. That is, after updating the product knowledge graph, it is recommended to verify and adjust with team members or other relevant personnel to ensure the accuracy and completeness of the graph. At the same time, collect more customer feedback and data to further enrich and improve the graph. Feedback the improved product knowledge graph to relevant departments and personnel so that they can understand the latest customer feedback and needs for the product, thereby guiding product improvement and optimization. At the same time, establish a feedback loop mechanism, regularly collect and analyze customer feedback, and continuously update and improve the product knowledge graph.

[0143] Based on the perfect product knowledge graph, the requirements specification is formed. After the interview with the user, the account manager will feedback the interview results to the system. After the system improves the user requirements, it generates a user requirements report and sends it to the account manager. After the account manager confirms it, it can be sent to the user again. The requirements include product recommendations, user financial planning suggestions, etc.

[0144] For ease of understanding, let's give an example. During the interaction with the digital human, the user asked how to buy some value-preserving financial products. The system extracted the keywords: value preservation, financial products. The following nodes are extracted and constructed: entities: user, financial product; attributes: user's asset status, transaction type; product features: value preservation relationship: user and historical transaction relationship, user and product relationship. By analyzing the user's historical transactions, it is found that he may be interested in housing loans and investment and financial management. Through historical data, it is learned that the user's style is conservative. The system constructs user needs: generates information related to housing loans and investment and financial management products, including loan interest rates, investment returns and expectations, and financial planning suggestions. The account manager visits the customer again based on this demand document to understand the specific financial needs and investment plans, and revise this demand document. The system generates additional guidance on the loan application process based on the specific needs of the customer.

[0145] In one of the optional embodiments, interaction data is obtained, and an interaction knowledge graph is generated based on the interaction data, including: extracting keywords from the interaction data to obtain keywords, and adding the keywords as the first node to the interaction knowledge graph; matching the keywords with the product knowledge graph; when the keywords and the product knowledge graph are successfully matched, obtaining the associated nodes corresponding to the successfully matched nodes in the product knowledge graph; adding the associated nodes to the interaction knowledge graph, and generating the next interaction question based on the associated nodes, and using the answer to the next interaction question as new interaction data, and continuing to perform the step of extracting keywords from the interaction data to obtain keywords until the interaction ends and an interaction knowledge graph is obtained.

[0146] Among them, the process of constructing an interactive knowledge graph includes: the data for constructing the interactive graph comes from the flow generated by digital humans and users during the interaction process. Parse user questions, such as a user asking about a debt-to-equity swap, and extract entity data, product names, and core keyword sets of consulting questions in the user interaction flow through preprocessing. When the user stops interacting, query the system's product knowledge graph according to the graph generated in real time by the interaction, and make derivative questions, such as setting relevant product links, and extracting entities from the question results to query whether the nodes on the product graph are hit. If they are hit, the product knowledge graph and the interactive knowledge graph are associated, and according to the distance of the nodes, the entity nodes on the product interactive knowledge graph closest to the entity nodes on the interactive knowledge graph are calculated, and then questions are asked to the user about the nearest node entity relationship, such as asking the user whether the consultation is looking for a product with a high return rate.

[0147] Through the user's answer, the interaction can be continuously extended to the nodes of the interactive knowledge graph until the user stops interacting. The entire interactive process forms an interactive knowledge graph. According to the content of the interactive knowledge graph, a user demand document is generated. The nodes of the interactive knowledge graph are the entities that the user cares about. The paths between nodes are the associations between the entities that the user cares about. Because the product graph is reasoning, the user intentions and needs can be inferred based on the interactive real-time graph. In this way, the inferred user intentions and needs can be modeled to clarify the user's demand type, key features and priority. This helps to better understand user needs and provide guidance for subsequent product design and optimization.

[0148] In one of the optional embodiments, the method also includes: when a new product exists, generating a new second node based on the product information of the new product and adding it to the product knowledge graph; obtaining the existing interactive knowledge graphs, and continuing to execute the step of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph.

[0149] Specifically, when a new product is launched, the business personnel add it to the product knowledge graph. The system calculates the correlation between the new product and the products recommended by the user history, such as the historical interaction knowledge graph. When the correlation is large, the latest demand document will be generated and sent to the account manager, who will make marketing judgments based on experience.

[0150] For ease of understanding, combined Figure 4 As shown, Figure 4 This is a flowchart of a method for generating demand information in another embodiment. In this embodiment, based on the knowledge graph, user needs are mined and solved from the interactive flow of digital people and users. It mainly includes the following steps: pre-processing of flow collection, construction of knowledge graph (knowledge type, entity, attribute, relationship node knowledge), real-time and non-real-time calculation of user needs; issuing of new needs; after the customer manager visits, the business personnel complete the business functions, feedback system, optimize the reasoning graph, and improve the model's reasoning ability for demand processing. When a new product is launched, fill in the basic information of the product, guide the filling of some necessary items of the knowledge graph, and automatically add the product to the product knowledge graph.

[0151] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0152] Based on the same inventive concept, the embodiment of the present application also provides a demand information generation device for implementing the demand information generation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more demand information generation device embodiments provided below can refer to the limitations of the demand information generation method above, and will not be repeated here.

[0153] In an exemplary embodiment, Figure 5 As shown, a demand information generating device is provided, including: an interactive knowledge graph generating module 501, an initial demand document generating module 502, a node determination module 503 to be improved, a communication data determination module 504 and a target demand generating module 505, wherein:

[0154] An interactive knowledge graph generation module 501 is used to obtain interactive data and generate an interactive knowledge graph based on the interactive data;

[0155] An initial requirement document generation module 502 is used to generate an initial requirement document based on the interactive knowledge graph and the product knowledge graph;

[0156] A node-to-be-completed determining module 503 is used to determine nodes to be completed in the interactive knowledge graph based on the product knowledge graph;

[0157] The communication data determination module 504 is used to generate a communication document based on the node to be improved and the initial requirement document, and obtain communication data corresponding to the communication document;

[0158] The target demand generation module 505 is used to update the product knowledge graph based on the communication data and obtain the target demand information based on the updated product knowledge graph.

[0159] In one of the optional embodiments, the initial requirement document generation module 502 is specifically used to determine the matching score of each first node and each second node based on the similarity between each first node in the interaction graph and each second node in the product knowledge graph; iteratively update the matching score of the first node and the second node based on the similarity between the neighbor node of the first node and the neighbor node of the second node; after the iteration condition is met, determine the second node that successfully matches each first node based on the matching score of each first node and each second node; generate the requirement document based on the successfully matched second node and the association relationship between each second node.

[0160] In one of the optional embodiments, the module for determining nodes to be improved 503 is specifically used to obtain an independent node based on the matching scores of each first node and each second node; obtain a target node in the interactive knowledge graph, and the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; and use the independent node and the target node as nodes to be improved.

[0161] In one optional embodiment, the target demand generation module 505 is used to update the product knowledge graph based on at least one of the following:

[0162] Identify the communication data to obtain key data, and update the attributes of the product entity in the product knowledge graph based on the key data;

[0163] Obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; and

[0164] The communication data is identified to obtain entities and labels, and the identified entities and labels are filtered to obtain entities and labels that are not in the product knowledge graph, and the entities and labels that are not in the product knowledge graph are updated to the product knowledge graph.

[0165] In one of the optional embodiments, the interactive knowledge graph generation module 501 is specifically used to extract keywords from the interactive data to obtain keywords, and add the keywords as the first node to the interactive knowledge graph; match the keywords with the product knowledge graph; when the keywords and the product knowledge graph are successfully matched, obtain the associated nodes corresponding to the successfully matched matching nodes in the product knowledge graph; add the associated nodes to the interactive knowledge graph, and generate the next interactive question based on the associated nodes, and use the answer to the next interactive question as new interactive data, and continue to perform the steps of extracting keywords from the interactive data to obtain keywords until the interaction ends and the interactive knowledge graph is obtained.

[0166] In one of the optional embodiments, the device also includes: a product knowledge graph generation module, which is used to obtain product information and construct a second node based on the product information; determine the product attributes corresponding to the product information, and construct a connection relationship between each second node based on the product attributes to obtain a product knowledge graph.

[0167] In one of the optional embodiments, the device also includes: an update module, which is used to generate a new second node based on the product information of the new product when a new product exists, and add it to the product knowledge graph; obtain the existing interactive knowledge graphs, and continue to execute the step of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph.

[0168] Each module in the above-mentioned demand information generating device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module above.

[0169] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store interactive data, product knowledge graphs, interactive knowledge graphs, etc. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for generating demand information is implemented.

[0170] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0171] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining interaction data, and generating an interaction knowledge graph based on the interaction data; generating an initial requirement document based on the interaction knowledge graph and the product knowledge graph; determining nodes to be improved in the interaction knowledge graph based on the product knowledge graph; generating a communication document based on the nodes to be improved and the initial requirement document, and obtaining communication data corresponding to the communication document; updating the product knowledge graph based on the communication data, and obtaining target requirement information based on the updated product knowledge graph.

[0172] In one embodiment, the generation of an initial requirement document based on an interactive knowledge graph and a product knowledge graph implemented when a processor executes a computer program includes: determining a matching score between each first node and each second node based on a similarity between each first node in the interactive graph and each second node in the product knowledge graph; iteratively updating the matching score between the first node and the second node based on a similarity between a neighbor node of the first node and a neighbor node of the second node; after an iteration condition is met, determining a second node that successfully matches each first node based on the matching score of each first node and each second node; and generating a requirement document based on the successfully matched second nodes and the association relationship between each second node.

[0173] In one embodiment, the method implemented when a processor executes a computer program to determine the nodes to be improved in the interactive knowledge graph based on the product knowledge graph includes: obtaining an independent node based on the matching scores of each first node and each second node; obtaining a target node in the interactive knowledge graph, wherein the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; and using the independent node and the target node as nodes to be improved.

[0174] In one embodiment, the updating of the product knowledge graph based on the communication data implemented by the processor when executing the computer program includes at least one of the following: identifying the communication data to obtain key data, and updating the attributes of the product entity in the product knowledge graph based on the key data; obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; or identifying the communication data to obtain entities and labels, and filtering the identified entities and labels to obtain entities and labels that are not in the product knowledge graph, and updating the entities and labels that are not in the product knowledge graph to the product knowledge graph.

[0175] In one embodiment, the generation of an interactive knowledge graph based on interactive data implemented by a processor executing a computer program includes: extracting keywords from the interactive data to obtain keywords, and adding the keywords as the first node to the interactive knowledge graph; matching the keywords with the product knowledge graph; when the keywords and the product knowledge graph are successfully matched, obtaining the associated nodes corresponding to the successfully matched nodes in the product knowledge graph; adding the associated nodes to the interactive knowledge graph, and generating the next interactive question based on the associated nodes, and using the answer to the next interactive question as new interactive data, and continuing to perform the step of extracting keywords from the interactive data to obtain keywords until the interaction ends and an interactive knowledge graph is obtained.

[0176] In one embodiment, before the processor executes the computer program to generate the initial requirement document based on the interactive knowledge graph and the product knowledge graph, it also includes: obtaining product information and constructing a second node based on the product information; determining the product attributes corresponding to the product information, and constructing a connection relationship between each second node based on the product attributes to obtain a product knowledge graph.

[0177] In one embodiment, when the processor executes the computer program, it also implements the following steps: when there is a new product, a new second node is generated based on the product information of the new product and added to the product knowledge graph; the existing interactive knowledge graphs are obtained, and the steps of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph are continued.

[0178] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining interaction data, and generating an interaction knowledge graph based on the interaction data; generating an initial requirement document based on the interaction knowledge graph and the product knowledge graph; determining nodes to be improved in the interaction knowledge graph based on the product knowledge graph; generating a communication document based on the nodes to be improved and the initial requirement document, and obtaining communication data corresponding to the communication document; updating the product knowledge graph based on the communication data, and obtaining target requirement information based on the updated product knowledge graph.

[0179] In one embodiment, the computer program generated an initial requirement document based on the interactive knowledge graph and the product knowledge graph when executed by the processor, including: determining the matching score of each first node and each second node based on the similarity between each first node in the interactive graph and each second node in the product knowledge graph; iteratively updating the matching score of the first node and the second node based on the similarity between the neighbor node of the first node and the neighbor node of the second node; after the iteration condition is met, determining the second node that successfully matches each first node based on the matching score of each first node and each second node; generating the requirement document based on the successfully matched second nodes and the association relationship between each second node.

[0180] In one embodiment, the computer program implemented when executed by the processor determines the nodes to be improved in the interactive knowledge graph based on the product knowledge graph, including: obtaining an independent node based on the matching scores of each first node and each second node; obtaining a target node in the interactive knowledge graph, the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; and using the independent node and the target node as nodes to be improved.

[0181] In one embodiment, the computer program implemented by the processor when executed to update the product knowledge graph based on the communication data includes at least one of the following: identifying the communication data to obtain key data, and updating the attributes of the product entity in the product knowledge graph based on the key data; obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; or identifying the communication data to obtain entities and labels, and filtering the identified entities and labels to obtain entities and labels that are not in the product knowledge graph, and updating the entities and labels that are not in the product knowledge graph to the product knowledge graph.

[0182] In one embodiment, the computer program generated based on the interactive data when executed by the processor includes: extracting keywords from the interactive data to obtain keywords, and adding the keywords as the first node to the interactive knowledge graph; matching the keywords with the product knowledge graph; when the keywords and the product knowledge graph are successfully matched, obtaining the associated nodes corresponding to the successfully matched nodes in the product knowledge graph; adding the associated nodes to the interactive knowledge graph, and generating the next interactive question based on the associated nodes, and using the answer to the next interactive question as new interactive data, and continuing to perform the step of extracting keywords from the interactive data to obtain keywords until the interaction ends and an interactive knowledge graph is obtained.

[0183] In one embodiment, before the computer program is executed by a processor to generate an initial requirement document based on the interactive knowledge graph and the product knowledge graph, it also includes: obtaining product information and constructing a second node based on the product information; determining product attributes corresponding to the product information, and constructing a connection relationship between each second node based on the product attributes to obtain a product knowledge graph.

[0184] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when there is a new product, a new second node is generated based on the product information of the new product and added to the product knowledge graph; the existing interactive knowledge graphs are obtained, and the steps of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph are continued.

[0185] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: obtaining interaction data and generating an interaction knowledge graph based on the interaction data; generating an initial requirement document based on the interaction knowledge graph and the product knowledge graph; determining nodes to be improved in the interaction knowledge graph based on the product knowledge graph; generating a communication document based on the nodes to be improved and the initial requirement document, and obtaining communication data corresponding to the communication document; updating the product knowledge graph based on the communication data, and obtaining target requirement information based on the updated product knowledge graph.

[0186] In one embodiment, the computer program generated an initial requirement document based on the interactive knowledge graph and the product knowledge graph when executed by the processor, including: determining the matching score of each first node and each second node based on the similarity between each first node in the interactive graph and each second node in the product knowledge graph; iteratively updating the matching score of the first node and the second node based on the similarity between the neighbor node of the first node and the neighbor node of the second node; after the iteration condition is met, determining the second node that successfully matches each first node based on the matching score of each first node and each second node; generating the requirement document based on the successfully matched second nodes and the association relationship between each second node.

[0187] In one embodiment, the computer program implemented when executed by the processor determines the nodes to be improved in the interactive knowledge graph based on the product knowledge graph, including: obtaining an independent node based on the matching scores of each first node and each second node; obtaining a target node in the interactive knowledge graph, the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; and using the independent node and the target node as nodes to be improved.

[0188] In one embodiment, the computer program implemented by the processor when executed to update the product knowledge graph based on the communication data includes at least one of the following: identifying the communication data to obtain key data, and updating the attributes of the product entity in the product knowledge graph based on the key data; obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; or identifying the communication data to obtain entities and labels, and filtering the identified entities and labels to obtain entities and labels that are not in the product knowledge graph, and updating the entities and labels that are not in the product knowledge graph to the product knowledge graph.

[0189] In one embodiment, the computer program generated based on the interactive data when executed by the processor includes: extracting keywords from the interactive data to obtain keywords, and adding the keywords as the first node to the interactive knowledge graph; matching the keywords with the product knowledge graph; when the keywords and the product knowledge graph are successfully matched, obtaining the associated nodes corresponding to the successfully matched nodes in the product knowledge graph; adding the associated nodes to the interactive knowledge graph, and generating the next interactive question based on the associated nodes, and using the answer to the next interactive question as new interactive data, and continuing to perform the step of extracting keywords from the interactive data to obtain keywords until the interaction ends and an interactive knowledge graph is obtained.

[0190] In one embodiment, before the computer program is executed by a processor to generate an initial requirement document based on the interactive knowledge graph and the product knowledge graph, it also includes: obtaining product information and constructing a second node based on the product information; determining product attributes corresponding to the product information, and constructing a connection relationship between each second node based on the product attributes to obtain a product knowledge graph.

[0191] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when there is a new product, a new second node is generated based on the product information of the new product and added to the product knowledge graph; the existing interactive knowledge graphs are obtained, and the steps of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph are continued.

[0192] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0193] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0194] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0195] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for generating demand information, It is characterized in that The method comprises: Acquire interaction data, and generate an interaction knowledge graph based on the interaction data; Generate an initial requirements document based on the interactive knowledge graph and the product knowledge graph; Based on the product knowledge graph, determine the nodes to be improved in the interactive knowledge graph; Generate a communication document based on the node to be improved and the initial requirement document, and obtain communication data corresponding to the communication document; The product knowledge graph is updated based on the communication data, and target demand information is obtained based on the updated product knowledge graph.

2. The method according to claim 1, It is characterized in that The generating of the initial requirement document based on the interactive knowledge graph and the product knowledge graph includes: Determine a matching score between each first node and each second node based on a similarity between each first node in the interaction graph and each second node in the product knowledge graph; Iteratively updating a matching score between the first node and the second node based on a similarity between a neighboring node of the first node and a neighboring node of the second node; After an iteration condition is met, determining the second node that successfully matches each first node based on the matching scores of each first node and each second node; A requirement document is generated based on the successfully matched second nodes and the association relationship between the second nodes.

3. The method according to claim 2, It is characterized in that The determining the nodes to be improved in the interactive knowledge graph based on the product knowledge graph includes: Obtaining an independent node based on the matching scores of each of the first nodes and each of the second nodes; Acquire a target node in the interactive knowledge graph, wherein the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; The independent node and the target node are used as nodes to be improved.

4. The method according to claim 1, It is characterized in that The updating of the product knowledge graph based on the communication data includes at least one of the following: Identify the communication data to obtain key data, and update the attributes of the product entity in the product knowledge graph based on the key data; Obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; or The communication data is identified to obtain entities and labels, and the identified entities and labels are screened to obtain entities and labels that are not in the product knowledge graph, and the entities and labels that are not in the product knowledge graph are updated to the product knowledge graph.

5. The method according to claim 1, It is characterized in that The generating an interactive knowledge graph based on the interactive data includes: Extract keywords from the interaction data to obtain keywords, and add the keywords as the first nodes to the interaction knowledge graph; Matching the keywords with the product knowledge graph; When the keyword successfully matches the product knowledge graph, obtaining an associated node corresponding to the successfully matched matching node in the product knowledge graph; The associated node is added to the interactive knowledge graph, and the next interactive question is generated based on the associated node, and the answer to the next interactive question is used as new interactive data, and the step of extracting keywords from the interactive data to obtain keywords is continued until the interaction ends to obtain an interactive knowledge graph.

6. The method according to any one of claims 1 to 5, It is characterized in that Before generating the initial requirement document based on the interactive knowledge graph and the product knowledge graph, the method further includes: Acquire product information, and construct a second node based on the product information; Determine the product attributes corresponding to the product information, and build a connection relationship between each of the second nodes based on the product attributes to obtain a product knowledge graph.

7. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: When there is a new product, a new second node is generated based on the product information of the new product and added to the product knowledge graph; Obtain the existing interactive knowledge graphs, and continue to execute the step of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph.

8. A demand information generating device, It is characterized in that The device comprises: An interactive knowledge graph generation module, used to obtain interactive data and generate an interactive knowledge graph based on the interactive data; An initial requirement document generation module, used to generate an initial requirement document based on the interactive knowledge graph and the product knowledge graph; A module for determining nodes to be improved, used to determine nodes to be improved in the interactive knowledge graph based on the product knowledge graph; A communication data determination module, configured to generate a communication document based on the node to be improved and the initial requirement document, and obtain communication data corresponding to the communication document; The target demand generation module is used to update the product knowledge graph based on the communication data and obtain target demand information based on the updated product knowledge graph.

9. The device according to claim 8, It is characterized in that The initial requirement document generation module is specifically used to determine the matching score of each first node and each second node based on the similarity between each first node in the interaction graph and each second node in the product knowledge graph; Iteratively updating a matching score between the first node and the second node based on a similarity between a neighboring node of the first node and a neighboring node of the second node; After an iteration condition is met, determining the second node that successfully matches each first node based on the matching scores of each first node and each second node; A requirement document is generated based on the successfully matched second nodes and the association relationship between the second nodes.

10. The device according to claim 9, It is characterized in that The module for determining nodes to be improved is specifically used to obtain an independent node based on the matching scores of each of the first nodes and each of the second nodes; obtain a target node in the interactive knowledge graph, wherein the number of connected nodes of the target node in the interactive knowledge graph is less than or equal to a node threshold; and use the independent node and the target node as nodes to be improved.

11. The device according to claim 8, It is characterized in that The target demand generation module is used to update the product knowledge graph based on at least one of the following: Identify the communication data to obtain key data, and update the attributes of the product entity in the product knowledge graph based on the key data; Obtaining the relationship between the product entity and other entities in the communication data, and adding the obtained relationship to the product knowledge graph; and The communication data is identified to obtain entities and labels, and the identified entities and labels are screened to obtain entities and labels that are not in the product knowledge graph, and the entities and labels that are not in the product knowledge graph are updated to the product knowledge graph.

12. The device according to claim 8, It is characterized in that The interactive knowledge graph generation module is specifically used to extract keywords from the interactive data to obtain keywords, and add the keywords as the first node to the interactive knowledge graph; match the keywords with the product knowledge graph; when the keywords are successfully matched with the product knowledge graph, obtain the associated node corresponding to the successfully matched matching node in the product knowledge graph; The associated node is added to the interactive knowledge graph, and the next interactive question is generated based on the associated node, and the answer to the next interactive question is used as new interactive data, and the step of extracting keywords from the interactive data to obtain keywords is continued until the interaction ends to obtain an interactive knowledge graph.

13. The device according to any one of claims 8 to 12, It is characterized in that The device also includes: a product knowledge graph generation module, which is used to obtain product information and construct a second node based on the product information; determine the product attributes corresponding to the product information, and construct a connection relationship between each second node based on the product attributes to obtain a product knowledge graph.

14. The device according to any one of claims 8 to 12, It is characterized in that The device also includes: an update module, which is used to generate a new second node based on the product information of a new product when there is a new product, and add it to the product knowledge graph; obtain the existing interactive knowledge graphs, and continue to execute the step of generating an initial requirement document based on the interactive knowledge graph and the product knowledge graph.

15. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

16. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

17. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • NLP artificial intelligence method based on financial vertical mapping knowledge domain and interaction system

    CN107958091A

  • Graph nesting tool configuration method and device, equipment and medium

    CN113918731A

  • Target object atlas construction method and device, electronic equipment and storage medium

    CN116596069A

  • Business intention determination method and device and computer equipment

    CN116701658A

  • Business demand document generation method and device and electronic equipment

    CN118069101A

Cited By

  • Content generation method and device, medium, electronic equipment and program product

    CN120407736A