Intelligent question-answering method and system for after-sales service of components based on deep learning

Through deep learning technology, the question-intent network of components is constructed, which solves the problems of intelligent question and answer data complexity and low user emotional soothing efficiency, enabling quick search of intent solutions and improving emotional soothing efficiency.

CN118690856BActive Publication Date: 2024-10-22SHENZHEN HUAJINSHUO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411174468.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-10-22
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

In the existing technology, in the intelligent Q&A after-sales of components, the intelligent Q&A data is highly complex and the efficiency of soothing user emotions is low. It cannot effectively understand and respond to user intentions in different industries, resulting in users' emotions not being fully soothed.

Method used

Using a method based on deep learning, we obtain the history of components and ask questions, extract question keywords, construct a question-intent network, reconstruct out-of-order problems into positive-order problems, determine intent anomalies, generate an intent solution network, and match the current problem intent. , and provide emotional comfort statements based on user stickiness.

Benefits of technology

It reduces the complexity of intelligent question and answer data, improves the efficiency of user emotional soothing, and can quickly find intended solutions and provide effective replies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690856B_ABST
    Figure CN118690856B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of deep learning technology, and discloses a method and system for realizing intelligent question and answer under after-sales of components based on deep learning. The method includes: calculating the keyword transfer probability between each question keyword in the question keyword, using the keyword transfer probability to construct a historical Markov chain between each question keyword in the question keyword, and connecting the historical Markov chain with the historical question intention; reconstructing the disordered inquiry questions in the historical inquiry questions into the positive order inquiry questions; generating an intention resolution network of the historical question intention; obtaining the current inquiry question of the component, and querying the current question intention corresponding to the current Markov chain from the positive order network structure through the historical Markov chain; based on the current question intention, querying the current question answer corresponding to the current inquiry question in the intention resolution network. The present invention can reduce the complexity of intelligent question and answer data under component inquiry, and can improve the efficiency of user emotional soothing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning technology, and in particular to a method and system for implementing intelligent question and answering in after-sales service of components based on deep learning. Background Art

[0002] Components refer to basic parts used to manufacture or assemble electronic devices, and mainly exist as independent individuals in electronic circuits. In electronic component malls, the efficiency of the customer service system and the service quality directly affect the user's shopping experience and satisfaction. Traditional customer service systems have many limitations in manpower, time and efficiency. The introduction of AI intelligent customer service technology provides an efficient and intelligent solution for electronic component malls.

[0003] At present, using neural network technology to identify the user's textual intention can help AI intelligent overcome communicate with users, but this method is not very applicable because the user intentions that need to be understood by intelligent question and answer in different industries are different, and the intelligent answers made are also different. Therefore, each store in each industry needs to train the neural network model to achieve the purpose of the neural network model automatically identifying the user's intention and making corresponding replies. Secondly, the replies made by AI intelligent overcome to users are often fixed template sentences, which requires the construction of a large amount of fixed template sentence data in advance before replying to users. Finally, the current AI intelligent question and answer process uses user emotion recognition technology to soothe users' emotions, but emotional soothing does not solve the actual problems of users, which results in less effective emotional soothing of users' emotions. Therefore, there is an urgent need for a solution that can reduce the complexity of intelligent question and answer data under component inquiries and improve the efficiency of user emotional soothing. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a method and system for realizing intelligent question and answer under component after-sales based on deep learning, which can reduce the complexity of intelligent question and answer data under component inquiries and improve the efficiency of user emotional soothing.

[0005] In a first aspect, the present invention provides a method for implementing intelligent question-answering in component after-sales service based on deep learning, comprising:

[0006] Obtaining historical inquiry questions of components, extracting question keywords in the historical inquiry questions, and analyzing historical question intentions in the historical inquiry questions;

[0007] Calculating the keyword transfer probability between each question keyword in the question keywords, constructing a historical Markov chain between each question keyword in the question keywords using the keyword transfer probability, and connecting the historical Markov chain with the historical question intent to obtain a question-intent network;

[0008] Based on the question-intention network, reconstruct the disordered inquiry questions in the historical inquiry questions into the corrected inquiry questions, remove the disordered network structure corresponding to the disordered inquiry questions in the question-intention network, and obtain the corrected network structure;

[0009] Determine whether the historical problem intention has an intention abnormality, and when the historical problem intention has no intention abnormality, generate an intention resolution network for the historical problem intention;

[0010] Obtaining a current inquiry question of the component, calculating a current Markov chain of the current inquiry question, matching the current Markov chain with the historical Markov chain, and querying the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain;

[0011] Based on the current question intent, the current question answer corresponding to the current inquiry question is queried in the intent resolution network, so as to complete the intelligent question answering of the component inquiry through the current question answer.

[0012] In a possible implementation manner of the first aspect, calculating the keyword transition probability between each question keyword in the question keywords includes:

[0013] The prior probability of the question keyword is calculated using the following formula:

[0014] ;

[0015] in, represents the prior probability, Indicates the event that occurs for the i-th question keyword, Indicates The number of times the i-th question keyword appears in the sentence, Indicates the number of sentences in the historical inquiry question;

[0016] Based on the prior probability, the keyword transition probability between each question keyword in the question keywords is calculated:

[0017] ;

[0018] ;

[0019] in, express In case of occurrence The probability of keyword transfer occurring, express In case of occurrence The probability of keyword transfer occurring, express The prior probability of occurrence, express The prior probability of occurrence.

[0020] In a possible implementation of the first aspect, reconstructing out-of-order inquiry questions in the historical inquiry questions into in-order inquiry questions based on the question-intention network includes:

[0021] Querying the to-be-reconstructed Markov chain belonging to the same historical question intention in the question-intention network;

[0022] Determine whether the keyword sequence between each question keyword in the to-be-reconstructed Markov chain is a positive sequence;

[0023] When the keyword sequence between each question keyword in the Markov chain to be reconstructed is not in positive order, determining the disordered query question corresponding to the Markov chain to be reconstructed;

[0024] Querying the keyword similarity between the question keywords in the random query question and the intent keywords in the historical question intent;

[0025] Based on the keyword similarity and the keyword order corresponding to the intended keyword, the question keywords in the out-of-order query are sorted to obtain the correct-order query question.

[0026] In a possible implementation of the first aspect, determining whether the historical question intention has an abnormal intention includes:

[0027] Collect the historical resolution process of the historical problem intention;

[0028] Extracting execution objects, execution actions, action targets and target attributes from the historical question intentions;

[0029] Query the execution authority of the execution object from the historical resolution process, and query the execution authority of the action target from the historical resolution process;

[0030] Check whether the execution permission and the executed permission have overlapping permissions;

[0031] When the execution permission and the executed permission overlap, checking whether the execution action exists in the overlapping permission between the execution permission and the executed permission;

[0032] When the execution action exists in the overlapping permissions between the execution permission and the executed permission, identifying the target permission of the overlapping permission on the action target;

[0033] Checking whether the target attribute exists in the target permission;

[0034] When the target attribute exists in the target authority, it is determined that the historical question intention does not have an intention abnormality;

[0035] When there is no overlapping of permissions between the execution permission and the executed permission, the execution action does not exist in the overlapping permissions between the execution permission and the executed permission, and the target attribute does not exist in the target permission, it is determined that the historical question intention is abnormal.

[0036] In a possible implementation of the first aspect, the generating the intention resolution network for the historical question intention includes:

[0037] Obtain the execution object, action target, overlapping permissions and target permissions corresponding to the historical question intention;

[0038] Constructing a directed graph of the historical question intention in the order of the execution object, the overlapping authority, the action target and the target authority;

[0039] The directed graph of the historical problem intentions is used as the intention resolution network.

[0040] In a possible implementation manner of the first aspect, querying the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain includes:

[0041] Using a preset one-hot encoding method to convert the question keywords on the current Markov chain into keyword values;

[0042] Based on the keyword value, converting the current Markov chain into an adjacency matrix;

[0043] The adjacency matrix is ​​mapped to the preset Hilbert space using the following formula to obtain the current space value:

[0044]

[0045] in, Represents spatial values, represents the kernel function in the preset Hilbert space, represents the adjacency matrix;

[0046] Calculating the historical space value corresponding to the historical Markov chain;

[0047] Performing a dot product operation on the current space value and the historical space value to obtain a numerical similarity between the current space value and the historical space value;

[0048] When the numerical similarity is greater than a preset similarity, the numerical similarity is used to query the current question intention corresponding to the current Markov chain in the positive sequence network structure.

[0049] In a possible implementation of the first aspect, querying the intent-solving network for a current question answer corresponding to the current inquiry question based on the current question intent includes:

[0050] Determine whether the current question intention has an intention abnormality;

[0051] When there is no intention abnormality in the current problem intention, query the current solution process corresponding to the current problem intention from the intention solution network;

[0052] Setting a fixed phrase template for the current question intention according to a preset order of subject, verb and noun;

[0053] Inserting the current solution process into the fixed cliché template to obtain an answer to the current question;

[0054] When the current question intention is abnormal, collect the current user's historical query records corresponding to the current question intention;

[0055] Detecting the user emotion category of the current user in the historical query record using a preset text emotion recognition model;

[0056] Based on the user emotion category, analyzing the negative emotion target of the current user;

[0057] Generate an emotion-soothing statement for the current user based on the target similarity between the negative emotion target and the current inquiry target corresponding to the current question intention;

[0058] Analyzing the user stickiness of the current user to the component;

[0059] Based on the user stickiness, converting the emotion-soothing statement into a current question answer corresponding to the current inquiry question;

[0060] The text emotion recognition model includes a semantic information module, an emotion knowledge module and an emotion perception module.

[0061] In a possible implementation manner of the first aspect, analyzing the user stickiness of the current user to the component includes:

[0062] Collecting a user stickiness index of the current user;

[0063] The user stickiness index includes the number of component return times, the number of negative return times, and the correlation between the historical inquiry records and the components;

[0064] Calculating the stickiness index score corresponding to the user stickiness index using a preset objective weighting method;

[0065] The stickiness index score is used as the user stickiness.

[0066] In a possible implementation of the first aspect, converting the emotion-soothing statement into a current question answer corresponding to the current inquiry question based on the user stickiness includes:

[0067] When the user stickiness is greater than a preset stickiness, querying the positive-sequence network structure for related question intentions of the current question intention;

[0068] Extracting the relevant solution process corresponding to the relevant problem intention from the intention solution network;

[0069] Generating a current question answer corresponding to the current inquiry question in the emotion soothing statement using the relevant solution process;

[0070] When the user stickiness is not greater than the preset stickiness, the emotion soothing statement is used as the current question answer corresponding to the current inquiry question.

[0071] In a second aspect, the present invention provides an intelligent question-answering system for after-sales service of components based on deep learning, the system comprising:

[0072] An intention analysis module, used to obtain historical inquiry questions about components, extract question keywords in the historical inquiry questions, and analyze the historical question intentions in the historical inquiry questions;

[0073] A network connection module, used to calculate the keyword transfer probability between each question keyword in the question keywords, construct a historical Markov chain between each question keyword in the question keywords using the keyword transfer probability, and connect the historical Markov chain with the historical question intent to obtain a question-intent network;

[0074] A network reconstruction module, for reconstructing the disordered inquiry questions in the historical inquiry questions into the corrected inquiry questions based on the question-intent network, removing the disordered network structure corresponding to the disordered inquiry questions in the question-intent network, and obtaining the corrected network structure;

[0075] An intention resolution module, used to determine whether the historical problem intention has an intention abnormality, and when the historical problem intention has no intention abnormality, generate an intention resolution network for the historical problem intention;

[0076] an intention query module, configured to obtain a current inquiry question of the component, calculate a current Markov chain of the current inquiry question, match the current Markov chain with the historical Markov chain, and query the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain;

[0077] The intelligent question-answering module is used to query the current question answer corresponding to the current inquiry question in the intention-solving network based on the current question intention, so as to complete the intelligent question-answering of the component inquiry through the current question answer.

[0078] Compared with the prior art, the technical principle and beneficial effects of this solution are:

[0079] The embodiment of the present invention obtains a question-intention network by connecting the historical Markov chain with the historical question intention, so as to connect the user questions and user intentions in the historical period. Figure 1 One-to-one correspondence makes it easy to directly query the user's corresponding intention from the question-intent network when a new user question appears in the future. In this way, there is no need to conduct a neural network training process, and only historical time period data needs to be collected. The embodiment of the present invention reconstructs the disordered inquiry questions in the historical inquiry questions into regular inquiry questions based on the question-intent network, so as to be used for converting disordered inquiry questions in non-declarative sentences such as inverted sentences and interrogative sentences into regular inquiry questions in declarative sentences, so as to facilitate the subsequent similarity matching of the current inquiry question with the regular inquiry question. The embodiment of the present invention determines whether the intention of the historical question is abnormal to determine whether there is a corresponding solution to the intention of the historical question. If there is no corresponding solution, it means that the identified user intention is abnormal. Further, The embodiment of the present invention generates an intent-solving network of the historical problem intent to generate a solution process corresponding to the user problem, nodeizes the solution process, and reduces data complexity. The embodiment of the present invention uses the historical Markov chain to query the current problem intent corresponding to the current Markov chain from the positive-sequence network structure to calculate the similarity between the current Markov chain and the historical Markov chain, and quickly finds the corresponding intent solution in the positive-sequence network structure through the similarity. The embodiment of the present invention queries the current question answer corresponding to the current inquiry question in the intent-solving network based on the current problem intent, so as to recommend other problem solutions to the user based on user stickiness in the emotional soothing of the user, thereby improving the efficiency of emotional soothing for the user. Therefore, the method and system for realizing intelligent question and answer based on deep learning under after-sales of components proposed in the embodiment of the present invention can reduce the complexity of intelligent question and answer data under component inquiries, and can improve the efficiency of emotional soothing for the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0081] In order to more clearly illustrate the embodiments of the present invention 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0082] Figure 1 A flowchart of a method for implementing intelligent question-answering in component after-sales service based on deep learning provided by one embodiment of the present invention;

[0083] Figure 2 A schematic diagram of a module of an intelligent question-and-answer system for after-sales service of components based on deep learning provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0084] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0085] The embodiment of the present invention provides a method for intelligent question and answer under after-sales of components based on deep learning. The execution subject of the method for intelligent question and answer under after-sales of components based on deep learning includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present invention. In other words, the method for intelligent question and answer under after-sales of components based on deep learning can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0086] See also Figure 1 As shown, it is a flowchart of a method for implementing intelligent question and answering of components after-sales based on deep learning provided by an embodiment of the present invention. Figure 1 The intelligent question-answering method based on deep learning for after-sales service of components described in the article includes:

[0087] S1. Obtain historical inquiry questions about components, extract question keywords in the historical inquiry questions, and analyze historical question intentions in the historical inquiry questions.

[0088] In the embodiment of the present invention, the components refer to basic parts used to manufacture or assemble electronic devices, the category information refers to the types of the components, and the category information includes sensors, capacitors, inductors, resistors, transistors, diodes, etc. The model information refers to the size, parameters, part location, etc. of the components, and the historical inquiry questions refer to the after-sales questions raised by users to AI in the historical period.

[0089] Furthermore, in an embodiment of the present invention, the question keywords include subjects, verbs and nouns.

[0090] Furthermore, in an embodiment of the present invention, the historical question intention includes an execution object, an initiating action, an action target and a target attribute. The execution object refers to the executor of the initiating action, the action target refers to the person being executed of the initiating action, and the target attribute refers to the content attached to the action target. For example, user No. 1 queries the bottom image of component No. 2, user No. 1 is the execution object, the query is the initiating action, component No. 2 is the action target, and the bottom image is the target attribute of the action target.

[0091] S2. Calculate the keyword transfer probability between each question keyword in the question keywords, use the keyword transfer probability to construct a historical Markov chain between each question keyword in the question keywords, connect the historical Markov chain with the historical question intent, and obtain a question-intent network.

[0092] In the embodiment of the present invention, the keyword transfer probability refers to the Bayesian probability of the next question keyword appearing when the previous question keyword appears.

[0093] In one embodiment of the present invention, the calculating of the keyword transition probability between each question keyword in the question keywords includes: calculating the prior probability of the question keywords using the following formula:

[0094] ;

[0095] in, represents the prior probability, Indicates the event that occurs for the i-th question keyword, Indicates The number of times the i-th question keyword appears in the sentence, Indicates the number of sentences in the historical inquiry question;

[0096] Based on the prior probability, the keyword transition probability between each question keyword in the question keywords is calculated:

[0097] ;

[0098] ;

[0099] in, express In case of occurrence The probability of keyword transfer occurring, express In case of occurrence The probability of keyword transfer occurring, express The prior probability of occurrence, express The prior probability of occurrence.

[0100] In one embodiment of the present invention, the use of the keyword transition probability to construct a historical Markov chain between each question keyword in the question keywords includes: searching for historical question statements in the historical inquiry questions; identifying the keyword sequence between each question keyword in the historical question sentences; connecting the question keywords into a directed graph according to the keyword sequence; inserting the keyword transition probability into the edge of the directed graph to obtain the historical Markov chain.

[0101] Furthermore, the embodiment of the present invention obtains a question-intention network by linking the historical Markov chain with the historical question intention, so as to associate user questions with user intentions in the historical period. Figure 1 One-to-one correspondence makes it easy to directly query the user's corresponding intention from the question-intention network when new user questions arise in the future. In this way, there is no need to conduct a neural network training process, and only historical time period data needs to be collected.

[0102] In one embodiment of the present invention, the historical Markov chain is connected with the historical question intention to obtain a question-intention network, including: obtaining the execution object, execution action, action target and target attribute in the historical question intention; obtaining the target Markov chain belonging to the same historical question statement in the historical Markov chain; connecting the tail node of the target Markov chain to the execution object, the execution action, the action target and the target attribute respectively to obtain the question-intention network.

[0103] S3. Based on the question-intention network, the out-of-order inquiry questions in the historical inquiry questions are reconstructed into the correct-order inquiry questions, and the out-of-order network structure corresponding to the out-of-order inquiry questions is removed from the question-intention network to obtain the correct-order network structure.

[0104] The embodiment of the present invention reconstructs the out-of-order questions in the historical questions into in-order questions based on the question-intention network, so as to convert the out-of-order questions in non-declarative sentences such as inverted sentences and interrogative sentences into in-order questions in declarative sentences, thereby facilitating subsequent similarity matching between the current question and the in-order question.

[0105] In one embodiment of the present invention, based on the question-intent network, the out-of-order inquiry questions in the historical inquiry questions are reconstructed into in-order inquiry questions, including: querying the Markov chain to be reconstructed belonging to the same historical question intent in the question-intent network; judging whether the keyword sequence between each question keyword in the Markov chain to be reconstructed is in positive order; when the keyword sequence between each question keyword in the Markov chain to be reconstructed is not in positive order, determining the out-of-order inquiry questions corresponding to the Markov chain to be reconstructed; querying the keyword similarity between the question keywords in the out-of-order inquiry questions and the intent keywords in the historical question intent; and sorting the question keywords in the out-of-order inquiry questions based on the keyword similarity and the keyword sequence corresponding to the intent keywords to obtain in-order inquiry questions.

[0106] The Markov chain to be reconstructed refers to a target Markov chain whose tail node points to the same historical problem intention.

[0107] Optionally, the process of judging whether the keyword order between each question keyword in the Markov chain to be reconstructed is in positive order refers to the process of judging whether the question sentence corresponding to the Markov chain to be reconstructed is a declarative sentence. When the keyword order between each question keyword is in the order of subject, verb and noun, the keyword order between each question keyword in the Markov chain to be reconstructed is in positive order.

[0108] Optionally, the process of performing keyword sorting on the question keywords in the random query question based on the keyword similarity and the keyword order corresponding to the intent keyword to obtain the positive order query question means that when the keyword similarity is high, indicating that the question keywords in the random query question correspond one-to-one to the intent keywords, the question keywords in the random query question are sorted according to the keyword order corresponding to the intent keywords.

[0109] S4. Determine whether there is any intention abnormality in the historical issue intention. When there is no intention abnormality in the historical issue intention, generate an intention resolution network for the historical issue intention.

[0110] The embodiment of the present invention determines whether the historical problem intention has an intention abnormality to determine whether the historical problem intention has a corresponding solution. If there is no corresponding solution, it means that the identified user intention is abnormal.

[0111] In one embodiment of the present invention, the determination of whether the intention of the historical problem is abnormal includes: collecting the historical solution process of the historical problem intention; extracting the execution object, execution action, action target and target attribute from the historical problem intention; querying the execution authority of the execution object from the historical solution process, and querying the executed authority of the action target from the historical solution process; checking whether there is an authority overlap between the execution authority and the executed authority; when there is an authority overlap between the execution authority and the executed authority, checking whether there is the execution action in the overlapping authority between the execution authority and the executed authority; when the execution action exists in the overlapping authority between the execution authority and the executed authority, identifying the target authority of the overlapping authority on the action target; checking whether there is the target attribute in the target authority; when the target attribute exists in the target authority, determining that there is no intention abnormality in the historical problem intention; when there is no authority overlap between the execution authority and the executed authority, the execution action does not exist in the overlapping authority between the execution authority and the executed authority, and the target attribute does not exist in the target authority, determining that there is an intention abnormality in the historical problem intention.

[0112] Among them, the historical solution process refers to the solution to the problem initiated by the user, such as the user querying window B of page A, the execution permission refers to the permission that can apply which execution actions to which executed objects, the executed permission refers to which execution actions can be initiated by which execution objects, the overlapping permission refers to the repeated permissions of the execution object, execution action and executed object, and the target permission refers to the permission of which target attributes of the execution action target.

[0113] Furthermore, the embodiment of the present invention generates an intention-solving network of the historical problem intentions to generate a solution process corresponding to the user problem, node-izes the solution process, and reduces data complexity.

[0114] In one embodiment of the present invention, the intention-solving network for generating the historical problem intention includes: obtaining the execution object, action target, overlapping authority and target authority corresponding to the historical problem intention; constructing a directed graph of the historical problem intention in the order of the execution object, the overlapping authority, the action target and the target authority; and using the directed graph of the historical problem intention as the intention-solving network.

[0115] S5. Obtain the current query question of the component, calculate the current Markov chain of the current query question, match the current Markov chain with the historical Markov chain, and query the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain.

[0116] The embodiment of the present invention queries the current problem intention corresponding to the current Markov chain from the positive-sequence network structure through the historical Markov chain, so as to calculate the similarity between the current Markov chain and the historical Markov chain, and quickly find the corresponding intention solution in the positive-sequence network structure through the similarity.

[0117] In one embodiment of the present invention, the querying of the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain includes: converting the question keywords on the current Markov chain into keyword values ​​using a preset one-hot encoding method; converting the current Markov chain into an adjacency matrix based on the keyword values; and mapping the adjacency matrix to a preset Hilbert space using the following formula to obtain a current space value:

[0118] ;

[0119] in, Represents spatial values, represents the kernel function in the preset Hilbert space, represents the adjacency matrix;

[0120] Calculate the historical space value corresponding to the historical Markov chain; perform a dot product operation between the current space value and the historical space value to obtain the numerical similarity between the current space value and the historical space value; when the numerical similarity is greater than a preset similarity, use the numerical similarity to query the current question intention corresponding to the current Markov chain in the positive sequence network structure.

[0121] Optionally, the principle of calculating the historical space value corresponding to the historical Markov chain is similar to the principle of mapping the adjacency matrix to a preset Hilbert space to obtain the current space value, which is not further elaborated here.

[0122] S6. Based on the current question intent, query the current question answer corresponding to the current inquiry question in the intent resolution network, so as to complete the intelligent question answering of the component query through the current question answer.

[0123] The embodiment of the present invention queries the current question answer corresponding to the current inquiry question in the intention-solving network based on the current question intent, so as to recommend other problem-solving solutions to the user based on user stickiness in emotional soothing of the user, thereby improving the efficiency of emotional soothing of the user.

[0124] In one embodiment of the present invention, based on the current problem intention, querying the current problem answer corresponding to the current inquiry question in the intention solution network includes: judging whether the current problem intention has an intention abnormality; when the current problem intention does not have an intention abnormality, querying the current solution process corresponding to the current problem intention from the intention solution network; setting the fixed cliché template of the current problem intention according to the preset order of subject, verb and noun; inserting the current solution process into the fixed cliché template to obtain the current problem answer; when the current problem intention has an intention abnormality, collecting the historical inquiry records of the current user corresponding to the current problem intention; using a preset text emotion recognition model to detect the user emotion category of the current user in the historical inquiry records; based on the user emotion category, analyzing the negative emotion target of the current user; based on the target similarity between the negative emotion target and the current inquiry target corresponding to the current problem intention, generating the emotion soothing statement of the current user; analyzing the user stickiness of the current user to the component; based on the user stickiness, converting the emotion soothing statement into the current problem answer corresponding to the current inquiry question; wherein the text emotion recognition model includes a semantic information module, an emotion knowledge module and an emotion perception module.

[0125] It should be noted that there is also a connection relationship between the positive-sequence network structure and the intention resolution network, that is, the tail node (user intention node) of the positive-sequence network structure is connected to the corresponding intention resolution network. Therefore, based on this connection correspondence, the current resolution process corresponding to the current problem intention can be quickly queried from the intention resolution network, wherein the current resolution process refers to multiple nodes in the intention resolution network, including the execution object, the overlapping authority, the action target and the target authority. The fixed set of templates reduces the mechanization of the current resolution process. For example, the current resolution process is for the user to query window B of page A, then (subject: user) can query (verb: query) ( Noun: window B of page A) to operate by itself, where the content in brackets is blank data to be filled in, that is, the fixed cliché template is "...can be operated by itself...", the semantic information module can be a BERT model, the emotional knowledge module is the transition probability and emotional category between different emotions composed of Bayesian probability, the emotional perception module is a module that fuses emotional category and semantic information composed of a linear mapping layer, and the transition probability between different emotions acts as a weight parameter in the linear mapping layer. At the same time, the emotional perception module also needs to output the corresponding emotion category probability, and the negative emotion target refers to the component category consulted by the user in the scenario where the user emotion category is a negative emotion.

[0126] Optionally, the process of generating an emotion-soothing statement for the current user based on the target similarity between the negative emotion target and the current inquiry target corresponding to the current question intention means that when the target similarity between the negative emotion target and the current inquiry target corresponding to the current question intention is high, it means that the user is also very likely to have negative emotions towards the current inquiry target, and therefore a pre-set emotion-soothing statement such as "Sorry sir / madam, we can't solve this problem" is used to respond to the user.

[0127] In another embodiment of the present invention, the analysis of the user stickiness of the current user to the component includes: collecting the user stickiness index of the current user; wherein the user stickiness index includes the number of component return times, the number of negative return times and the correlation between the historical inquiry records and the component; using a preset objective weighting method to calculate a stickiness index score corresponding to the user stickiness index; and using the stickiness index score as the user stickiness.

[0128] Among them, the number of component return times refers to the number of times a user purchases a component again after purchasing it, the number of negative return times refers to the number of times a user purchases it again after having negative emotions during the process of purchasing components, and the correlation between the historical inquiry record and the component refers to the number of times the current user purchases other components after purchasing a certain component as shown in the historical inquiry record, for example, the number of times component B is purchased after purchasing component A.

[0129] In another embodiment of the present invention, the conversion of the emotion-soothing statement into the current question answer corresponding to the current inquiry question based on the user stickiness includes: when the user stickiness is greater than the preset stickiness, querying the related question intention of the current question intention in the positive order network structure; extracting the related solution process corresponding to the related question intention from the intention solution network; using the related solution process to generate the current question answer corresponding to the current inquiry question in the emotion-soothing statement; when the user stickiness is not greater than the preset stickiness, using the emotion-soothing statement as the current question answer corresponding to the current inquiry question.

[0130] The related question intentions refer to other intentions that are highly similar to the current question intention.

[0131] Optionally, the process of using the relevant solution process to generate the current question answer corresponding to the current inquiry question in the emotion soothing statement refers to the process of splicing the emotion soothing statement and the relevant solution process, for example, the former sentence is the emotion soothing statement, and the latter sentence is the relevant solution process.

[0132] It can be seen that the embodiment of the present invention obtains a question-intention network by connecting the historical Markov chain with the historical question intention, so as to connect the user questions and user intentions in the historical period. Figure 1One-to-one correspondence makes it easy to directly query the user's corresponding intention from the question-intent network when a new user question appears in the future. In this way, there is no need to conduct a neural network training process, and only historical time period data needs to be collected. The embodiment of the present invention reconstructs the disordered inquiry questions in the historical inquiry questions into regular inquiry questions based on the question-intent network, so as to be used for converting disordered inquiry questions in non-declarative sentences such as inverted sentences and interrogative sentences into regular inquiry questions in declarative sentences, so as to facilitate the subsequent similarity matching of the current inquiry question with the regular inquiry question. The embodiment of the present invention determines whether the intention of the historical question is abnormal to determine whether there is a corresponding solution to the intention of the historical question. If there is no corresponding solution, it means that the identified user intention is abnormal. Further, The embodiment of the present invention generates an intent-solving network of the historical problem intent to generate a solution process corresponding to the user problem, nodeizes the solution process, and reduces data complexity. The embodiment of the present invention uses the historical Markov chain to query the current problem intent corresponding to the current Markov chain from the positive-sequence network structure to calculate the similarity between the current Markov chain and the historical Markov chain, and quickly finds the corresponding intent solution in the positive-sequence network structure through the similarity. The embodiment of the present invention queries the current question answer corresponding to the current inquiry question in the intent-solving network based on the current problem intent, so as to recommend other problem solutions to the user based on user stickiness in the emotional soothing of the user, thereby improving the efficiency of emotional soothing for the user. Therefore, the method and system for realizing intelligent question and answer based on deep learning under after-sales of components proposed in the embodiment of the present invention can reduce the complexity of intelligent question and answer data under component inquiries, and can improve the efficiency of emotional soothing for the user.

[0133] like Figure 2 As shown, it is a functional module diagram of the intelligent question-answering system for after-sales components based on deep learning implemented in the present invention.

[0134] The intelligent question-and-answer system 200 for after-sales service of components based on deep learning of the present invention can be installed in an electronic device. According to the functions implemented, the intelligent question-and-answer system for after-sales service of components based on deep learning may include an intention analysis module 201, a network connection module 202, a network reconstruction module 203, an intention resolution module 204, an intention query module 205 and an intelligent question-and-answer module 206. The module of the present invention may also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0135] In the embodiment of the present invention, the functions of each module / unit are as follows:

[0136] The intention analysis module 201 is used to obtain historical inquiries about components, extract question keywords in the historical inquiries, and analyze the historical question intentions in the historical inquiries;

[0137] The network connection module 202 is used to calculate the keyword transfer probability between each question keyword in the question keywords, construct a historical Markov chain between each question keyword in the question keywords using the keyword transfer probability, and connect the historical Markov chain with the historical question intent to obtain a question-intent network;

[0138] The network reconstruction module 203 is used to reconstruct the disordered inquiry questions in the historical inquiry questions into the corrected inquiry questions based on the question-intention network, and remove the disordered network structure corresponding to the disordered inquiry questions in the question-intention network to obtain the corrected network structure;

[0139] The intention resolution module 204 is used to determine whether the historical problem intention has an intention abnormality, and when the historical problem intention has no intention abnormality, generate an intention resolution network for the historical problem intention;

[0140] The intention query module 205 is used to obtain the current query question of the component, calculate the current Markov chain of the current query question, match the current Markov chain with the historical Markov chain, and query the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain;

[0141] The intelligent question and answer module 206 is used to query the current question answer corresponding to the current inquiry question in the intention resolution network based on the current question intention, so as to complete the intelligent question and answer of the component inquiry through the current question answer.

[0142] In detail, the modules in the intelligent question-answering system 200 for implementing after-sales service of components based on deep learning in the embodiment of the present invention are used in the same manner as described above. Figure 1 The same technical means as described in the method for realizing intelligent question and answering in after-sales service of components based on deep learning can produce the same technical effects, so I will not go into details here.

[0143] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0144] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0145] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0146] It should be noted that, in this article, relational terms such as "first" and "second" 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.

[0147] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for intelligent question and answering of components after-sales based on deep learning, characterized in that: The method comprises: Obtaining historical inquiry questions of components, extracting question keywords in the historical inquiry questions, and analyzing historical question intentions in the historical inquiry questions; Calculating the keyword transfer probability between each question keyword in the question keywords, constructing a historical Markov chain between each question keyword in the question keywords using the keyword transfer probability, and connecting the historical Markov chain with the historical question intent to obtain a question-intent network; Based on the question-intention network, reconstruct the disordered inquiry questions in the historical inquiry questions into the corrected inquiry questions, remove the disordered network structure corresponding to the disordered inquiry questions in the question-intention network, and obtain the corrected network structure; Determine whether the historical problem intention has an intention abnormality, and when the historical problem intention has no intention abnormality, generate an intention resolution network for the historical problem intention; Obtaining a current inquiry question of the component, calculating a current Markov chain of the current inquiry question, matching the current Markov chain with the historical Markov chain, and querying the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain; Based on the current question intention, query the current question answer corresponding to the current inquiry question in the intention resolution network, so as to complete the intelligent question answering of the component inquiry through the current question answer; Wherein, based on the current question intention, querying the intention resolution network for a current question answer corresponding to the current inquiry question includes: Determine whether the current question intention has an intention abnormality; When there is no intention abnormality in the current problem intention, query the current solution process corresponding to the current problem intention from the intention solution network; Setting a fixed phrase template for the current question intention according to a preset order of subject, verb and noun; Inserting the current solution process into the fixed cliché template to obtain an answer to the current question; When the current question intention is abnormal, collect the current user's historical query records corresponding to the current question intention; Detecting the user emotion category of the current user in the historical query record using a preset text emotion recognition model; Based on the user emotion category, analyzing the negative emotion target of the current user; Generate an emotion-soothing statement for the current user based on the target similarity between the negative emotion target and the current inquiry target corresponding to the current question intention; Analyzing the user stickiness of the current user to the component; Based on the user stickiness, converting the emotion-soothing statement into a current question answer corresponding to the current inquiry question; Wherein, the text emotion recognition model includes a semantic information module, an emotion knowledge module and an emotion perception module; The analyzing the user stickiness of the current user to the component includes: Collecting a user stickiness index of the current user; The user stickiness index includes the number of component return times, the number of negative return times, and the correlation between the historical inquiry records and the components; Calculating the stickiness index score corresponding to the user stickiness index using a preset objective weighting method; Using the stickiness index score as the user stickiness; The converting the emotion-soothing statement into a current question answer corresponding to the current inquiry question based on the user stickiness includes: When the user stickiness is greater than a preset stickiness, querying the positive-sequence network structure for related question intentions of the current question intention; Extracting the relevant solution process corresponding to the relevant problem intention from the intention solution network; Generating a current question answer corresponding to the current inquiry question in the emotion soothing statement using the relevant solution process; When the user stickiness is not greater than the preset stickiness, the emotion soothing statement is used as the current question answer corresponding to the current inquiry question.

2. The method according to claim 1, characterized in that The calculating the keyword transfer probability between each question keyword in the question keywords includes: The prior probability of the question keyword is calculated using the following formula: ; in, represents the prior probability, Indicates the event that occurs for the i-th question keyword, Indicates The number of times the i-th question keyword appears in the sentence, Indicates the number of sentences in the historical inquiry question; Based on the prior probability, the keyword transition probability between each question keyword in the question keywords is calculated: ; ; in, express In case of occurrence The probability of keyword transfer occurring, express In case of occurrence The probability of keyword transfer occurring, express The prior probability of occurrence, express The prior probability of occurrence.

3. The method according to claim 1, characterized in that The step of reconstructing the out-of-order inquiry questions in the historical inquiry questions into the right-order inquiry questions based on the question-intention network includes: Querying the to-be-reconstructed Markov chain belonging to the same historical question intention in the question-intention network; Determine whether the keyword sequence between each question keyword in the to-be-reconstructed Markov chain is a positive sequence; When the keyword sequence between each question keyword in the Markov chain to be reconstructed is not in positive order, determining the disordered query question corresponding to the Markov chain to be reconstructed; Querying the keyword similarity between the question keywords in the random query question and the intent keywords in the historical question intent; Based on the keyword similarity and the keyword order corresponding to the intended keyword, the question keywords in the out-of-order query are sorted to obtain the correct-order query question.

4. The method according to claim 1, characterized in that: The determining whether the historical question intention is abnormal includes: Collect the historical resolution process of the historical problem intention; Extracting execution objects, execution actions, action targets and target attributes from the historical question intentions; Query the execution authority of the execution object from the historical resolution process, and query the execution authority of the action target from the historical resolution process; Check whether the execution permission and the executed permission have overlapping permissions; When the execution permission and the executed permission overlap, checking whether the execution action exists in the overlapping permission between the execution permission and the executed permission; When the execution action exists in the overlapping permissions between the execution permission and the executed permission, identifying the target permission of the overlapping permission on the action target; Checking whether the target attribute exists in the target permission; When the target attribute exists in the target authority, it is determined that the historical question intention does not have an intention abnormality; When there is no overlapping of permissions between the execution permission and the executed permission, the execution action does not exist in the overlapping permissions between the execution permission and the executed permission, and the target attribute does not exist in the target permission, it is determined that the historical question intention is abnormal.

5. The method according to claim 1, characterized in that The intention solving network for generating the historical problem intention includes: Obtain the execution object, action target, overlapping permissions and target permissions corresponding to the historical question intention; Constructing a directed graph of the historical question intention in the order of the execution object, the overlapping authority, the action target and the target authority; The directed graph of the historical problem intentions is used as the intention resolution network.

6. The method according to claim 1, characterized in that The querying the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain includes: Using a preset one-hot encoding method to convert the question keywords on the current Markov chain into keyword values; Based on the keyword value, converting the current Markov chain into an adjacency matrix; The adjacency matrix is ​​mapped to the preset Hilbert space using the following formula to obtain the current space value: ; in, Represents spatial values, represents the kernel function in the preset Hilbert space, represents the adjacency matrix; Calculating the historical space value corresponding to the historical Markov chain; Performing a dot product operation on the current space value and the historical space value to obtain a numerical similarity between the current space value and the historical space value; When the numerical similarity is greater than a preset similarity, the numerical similarity is used to query the current question intention corresponding to the current Markov chain in the positive sequence network structure.

7. An intelligent question-answering system based on deep learning for after-sales service of components, characterized in that: The system comprises: An intention analysis module, used to obtain historical inquiry questions about components, extract question keywords in the historical inquiry questions, and analyze the historical question intentions in the historical inquiry questions; A network connection module, used to calculate the keyword transfer probability between each question keyword in the question keywords, construct a historical Markov chain between each question keyword in the question keywords using the keyword transfer probability, and connect the historical Markov chain with the historical question intent to obtain a question-intent network; A network reconstruction module, for reconstructing the disordered inquiry questions in the historical inquiry questions into the corrected inquiry questions based on the question-intent network, removing the disordered network structure corresponding to the disordered inquiry questions in the question-intent network, and obtaining the corrected network structure; An intention resolution module, used to determine whether the historical problem intention has an intention abnormality, and when the historical problem intention has no intention abnormality, generate an intention resolution network for the historical problem intention; an intention query module, configured to obtain a current inquiry question of the component, calculate a current Markov chain of the current inquiry question, match the current Markov chain with the historical Markov chain, and query the current question intention corresponding to the current Markov chain from the positive sequence network structure through the historical Markov chain; An intelligent question-answering module, configured to query the current question answer corresponding to the current inquiry question in the intention-solving network based on the current question intention, so as to complete the intelligent question-answering of the component inquiry through the current question answer; Wherein, based on the current question intention, querying the intention resolution network for a current question answer corresponding to the current inquiry question includes: Determine whether the current question intention has an intention abnormality; When there is no intention abnormality in the current problem intention, query the current solution process corresponding to the current problem intention from the intention solution network; Setting a fixed phrase template for the current question intention according to a preset order of subject, verb and noun; Inserting the current solution process into the fixed cliché template to obtain an answer to the current question; When the current question intention is abnormal, collect the current user's historical query records corresponding to the current question intention; Detecting the user emotion category of the current user in the historical query record using a preset text emotion recognition model; Based on the user emotion category, analyzing the negative emotion target of the current user; Generate an emotion-soothing statement for the current user based on the target similarity between the negative emotion target and the current inquiry target corresponding to the current question intention; Analyzing the user stickiness of the current user to the component; Based on the user stickiness, converting the emotion-soothing statement into a current question answer corresponding to the current inquiry question; Wherein, the text emotion recognition model includes a semantic information module, an emotion knowledge module and an emotion perception module; The analyzing the user stickiness of the current user to the component includes: Collecting a user stickiness index of the current user; The user stickiness index includes the number of component return times, the number of negative return times, and the correlation between the historical inquiry records and the components; Calculating the stickiness index score corresponding to the user stickiness index using a preset objective weighting method; Using the stickiness index score as the user stickiness; The converting the emotion-soothing statement into a current question answer corresponding to the current inquiry question based on the user stickiness includes: When the user stickiness is greater than a preset stickiness, querying the positive-sequence network structure for related question intentions of the current question intention; Extracting the relevant solution process corresponding to the relevant problem intention from the intention solution network; Generating a current question answer corresponding to the current inquiry question in the emotion soothing statement using the relevant solution process; When the user stickiness is not greater than the preset stickiness, the emotion soothing statement is used as the current question answer corresponding to the current inquiry question.