Complaint processing method and complaint knowledge base

By constructing resource planes and constraint planes, combined with Bayesian classifiers and word vector analysis, the problem of knowledge quality and update speed in the complaint handling knowledge base is solved, improving the accuracy and efficiency of complaint handling, and adapting to complex and changeable users. complaint.

CN118798900APending Publication Date: 2024-10-18CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410542833.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, the complaint handling knowledge base lacks a systematic and standardized structure, making it difficult to ensure the quality of knowledge, unable to update automatically and quickly, and unable to respond to complex and changing user complaints in a timely manner, resulting in low accuracy of complaint handling measures and low resolution efficiency. .

Method used

By constructing a resource plane and a constraint plane, using complaint handling empirical rules and historical handling cases, combined with Bayesian classifier and word vector distance analysis, a tree data structure and a fingerprint-time mapping relationship are constructed to realize the systematization and integration of complaint handling knowledge. Dynamic updates.

Benefits of technology

It improves the accuracy and efficiency of complaint handling measures, enables timely positioning and judgment of complaint handling measures, adapts to complex and ever-changing user complaint issues, and achieves rapid iteration and accuracy improvement of the knowledge base.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798900A_ABST
    Figure CN118798900A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, in particular to a complaint processing method and a complaint knowledge base. The method comprises the following steps: acquiring a current complaint case; a first processing measure set corresponding to the current complaint case is determined from a resource plane, a second processing measure set corresponding to the current complaint case is determined from a constraint plane, the resource plane is constructed according to a complaint processing empirical rule group, and the constraint plane is constructed according to a historical complaint case processing set; and selecting a target processing measure corresponding to the current complaint case from the first processing measure set and the second processing measure set. According to the scheme, complaint handling personnel can be helped to locate and judge complaint handling measures in time, and complaint solving efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a complaint handling method and a complaint knowledge base. Background Art

[0002] Enterprises provide users with various tangible or intangible goods and obtain corresponding compensation through the sale of goods. Users have psychological expectations of product quality and service level. If the actual situation is lower than the user's expectations, it is likely to cause user dissatisfaction and trigger complaints. Complaint handling is of great significance for maintaining consumer loyalty, maintaining corporate reputation and improving the quality of corporate operations and services. Therefore, how to help complaint handling personnel locate and judge complaint handling measures in a timely manner and improve the efficiency of complaint resolution has become a focus of attention. Summary of the invention

[0003] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0004] To this end, the first purpose of the present disclosure is to propose a complaint handling method to help complaint handling personnel to timely locate and determine complaint handling measures, and improving the efficiency of complaint resolution has become a focus of attention.

[0005] A second object of the present disclosure is to propose a complaint knowledge base.

[0006] A third objective of the present disclosure is to provide an electronic device.

[0007] A fourth objective of the present disclosure is to provide a computer-readable storage medium.

[0008] A fifth object of the present disclosure is to provide a computer program product.

[0009] To achieve the above-mentioned purpose, the first embodiment of the present disclosure proposes a complaint handling method, including:

[0010] Get current complaint cases;

[0011] Determine a first set of processing measures corresponding to the current complaint case from the resource plane, and determine a second set of processing measures corresponding to the current complaint case from the constraint plane, wherein the resource plane is constructed according to a complaint handling experience rule group, and the constraint plane is constructed according to a set of historical complaint case processing;

[0012] A target processing measure corresponding to the current complaint case is selected from the first processing measure set and the second processing measure set.

[0013] Optionally, before determining the first set of processing measures corresponding to the current complaint case from the resource plane, the method further includes:

[0014] The complaint handling experience rule group is divided into a problem template set, a cause template set and a measure template set;

[0015] Determine a first hit count of a cause template corresponding to any problem template in the problem template set, and a second hit count of a measure template corresponding to the cause template corresponding to any problem template, to obtain a hit count set;

[0016] Insert the problem template set into the problem layer, insert the cause template set into the cause layer, insert the measure template set into the measure layer, insert the hit count set into the quantity layer, and construct a tree data structure based on the mapping relationship between the problem template set, the cause template set, the measure template set and the hit count set to obtain a resource plane.

[0017] Optionally, determining a first set of processing measures corresponding to the current complaint case from the resource plane includes:

[0018] Using a first-level Bayesian classifier, determine a target cause set corresponding to the current complaint case from the tree data structure;

[0019] A second-level Bayesian classifier is used to determine a first set of treatment measures corresponding to the target cause set from the tree data structure.

[0020] Optionally, the first-level Bayesian classifier is used to determine the target reason set corresponding to the current complaint case from the tree data structure, including:

[0021] Determine a subset of reason templates corresponding to the current complaint case in the reason layer;

[0022] Calculate a first priori probability of any cause template for the current complaint case according to a first hit count corresponding to any cause template in the cause template subset;

[0023] Determine a first likelihood probability of any one of the cause templates for the current complaint case;

[0024] Determine a first a posteriori probability of any one of the cause templates for the current complaint case according to the first prior probability and the first likelihood probability, and obtain a first a posteriori probability set;

[0025] A first posterior probability satisfying a first posterior probability requirement is determined from the first posterior probability set to obtain a first posterior probability subset, and a target cause set corresponding to the first posterior probability subset is determined from the cause template subset.

[0026] Optionally, the adopting a second-level Bayesian classifier to determine a first set of treatment measures corresponding to the target cause set from the tree data structure includes:

[0027] Determine a subset of measure templates corresponding to the target cause set in the measure layer;

[0028] Calculating a second priori probability of any measure template for the target cause set according to a second hit number corresponding to any measure template in the measure template subset;

[0029] Determine a second likelihood probability of any one of the action templates for the target cause set;

[0030] Determine a second a posteriori probability of any one of the measure templates for the target cause set according to the second prior probability and the second likelihood probability, to obtain a second a posteriori probability set;

[0031] A second posterior probability satisfying a second posterior probability requirement is determined from the second posterior probability set to obtain a second posterior probability subset, and a first processing measure set corresponding to the second posterior probability subset is determined from the measure template subset.

[0032] Optionally, before determining the second set of treatment measures corresponding to the current complaint case from the constraint plane, the method further includes:

[0033] Determine the fingerprint and occurrence time corresponding to any historical complaint processing case in the historical complaint processing case set, and obtain a fingerprint set and an occurrence time set.

[0034] Inserting the fingerprint set into a fingerprint layer, and inserting the occurrence time set into a time layer;

[0035] A constraint plane is constructed according to a mapping relationship among the fingerprint layer, the time layer, the fingerprint, and the occurrence time.

[0036] Optionally, the fingerprint corresponding to any historical complaint case includes a first word vector, and the querying of the second set of processing measures corresponding to the current complaint case from the constraint plane includes:

[0037] Determine a second word vector corresponding to the current complaint case, and a word vector distance between the first word vector and the second word vector;

[0038] If there is a word vector distance corresponding to a historical complaint processing case in the historical complaint processing case set that meets the distance requirement, then obtain a subset of historical complaint processing cases, and determine the confidence level corresponding to any historical complaint processing case in the subset of historical complaint processing cases according to the occurrence time corresponding to any historical complaint processing case in the subset of historical complaint processing cases, wherein the word vector distance corresponding to any historical complaint processing case in the subset of historical complaint processing cases meets the distance requirement;

[0039] Determine the historical complaint processing cases whose confidences meet the confidence requirements from the historical complaint processing case subset, and determine the processing measures corresponding to the historical complaint processing cases whose confidences meet the confidence requirements to obtain a second set of processing measures.

[0040] Optionally, the method further comprises:

[0041] If there is no word vector distance corresponding to a historical complaint case in the historical complaint case set that meets the distance requirement, the constraint plane is updated according to the current complaint case, and a second processing measure set with null content is output.

[0042] Optionally, the method further comprises:

[0043] Summarizing the historical complaint case set corresponding to the constraint plane to obtain a knowledge block;

[0044] The resource plane is updated according to the knowledge block.

[0045] To achieve the above-mentioned purpose, the second embodiment of the present disclosure proposes a complaint knowledge base, including:

[0046] Knowledge query module, used to obtain current complaint cases;

[0047] A knowledge management module, used to determine a first set of processing measures corresponding to the current complaint case from a resource plane, and to determine a second set of processing measures corresponding to the current complaint case from a constraint plane, wherein the resource plane is constructed according to a complaint handling experience rule group, and the constraint plane is constructed according to a set of historical complaint handling cases;

[0048] The knowledge judgment module is used to select the target processing measure corresponding to the current complaint case from the first processing measure set and the second processing measure set.

[0049] To achieve the above-mentioned purpose, a third aspect of the present disclosure provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0050] Memory stores computer-executable instructions;

[0051] The processor executes the computer-executable instructions stored in the memory to implement the method shown in any one of the first aspects above.

[0052] To achieve the above-mentioned objectives, an embodiment of the fourth aspect of the present disclosure proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method shown in any one of the above-mentioned first aspects.

[0053] To achieve the above-mentioned objective, a fifth aspect of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the method shown in any one of the above-mentioned first aspects.

[0054] In summary, the complaint handling method, complaint knowledge base, electronic device and storage medium provided by the present invention, by constructing a resource plane based on a group of complaint handling experience rules and constructing a constraint plane based on a collection of historically processed complaint cases, can query the corresponding handling measures for the current complaint case based on the systematic complaint handling knowledge manually sorted out by experts and in combination with historically processed complaint cases, which can help complaint handling personnel to locate and judge complaint handling measures in a timely manner, improve the efficiency of complaint resolution, and obtain handling measures with high accuracy.

[0055] Help complaint handling personnel to timely identify and determine complaint handling measures and improve the efficiency of complaint resolution

[0056] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0058] Figure 1 A flowchart of a complaint handling method provided by an embodiment of the present disclosure;

[0059] Figure 2 A schematic diagram of a resource plane structure provided by an embodiment of the present disclosure;

[0060] Figure 3 A structural schematic diagram of a constraint plane provided by an embodiment of the present disclosure;

[0061] Figure 4 A schematic diagram of a resource plane knowledge query process provided by an embodiment of the present disclosure;

[0062] Figure 5 A schematic diagram of a process of querying knowledge of a constrained plane provided by an embodiment of the present disclosure;

[0063] Figure 6 A schematic diagram of the structure of a complaint knowledge base provided by an embodiment of the present disclosure;

[0064] Figure 7 A flowchart of a complaint knowledge base query signaling provided by an embodiment of the present disclosure;

[0065] Figure 8 A flowchart of complaint knowledge base management signaling provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0066] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0067] In the related technology, in the process of building a complaint handling knowledge base, it is necessary to extract the complaint handling information content that is not known in advance, trustworthy and helpful for handling complaints from a large amount of incomplete, noisy, fuzzy and random complaint record data, and convert this information into knowledge items that can be generalized, applied and iterated, and store the knowledge items through information technology (IT) technology to facilitate quick retrieval and use when handling user complaints. The complaint knowledge base is usually built in two ways: based on empirical rules and based on knowledge graphs.

[0068] For the complaint knowledge base built based on empirical rules, business experts need to manually organize various complaint problem phenomena, possible causes of problems, and treatment measures according to certain logical rules, and establish the corresponding relationship between problem phenomena, possible causes and treatment measures, and solidify the logical rules in the IT system. When handling complaints, complaint handling personnel will search for the causes of related problems and treatment suggestions in the complaint knowledge base through keyword precise search or fuzzy search according to the complaint problem phenomena.

[0069] It is easy to understand that the complaint knowledge base built based on empirical rules is completely based on expert experience and does not require additional data and algorithms for processing. The whole process is relatively simple. Due to manual organization, this type of complaint knowledge base has a variety of forms, and its carriers may be flowcharts, tables, pictures, etc., without fixed and unified standards. If the knowledge base is updated and upgraded, such as adding complaints about 5G Internet access by mobile phone users, experts are required to reorganize the knowledge base based on their professional experience.

[0070] Taking a scenario as an example, for broadband users' Internet access complaints, based on the experience of experts and relying on signaling analysis and other means, we conduct demarcation of poor quality problems complained by broadband users from three dimensions: users, network elements, and content, in four steps: performance indicator monitoring, degradation dimension determination, horizontal comparative analysis, and vertical correlation analysis, such as poor quality cells, poor quality resource lists, and poor quality three-party links.

[0071] For the complaint knowledge base built based on the knowledge graph, it is necessary to extract the structured, semi-structured and unstructured data such as a large number of complaint work orders, complaint problem record reports, etc. in the complaint processing into knowledge cards through the Long Short Term Memory (LSTM) and Conditional Random Field (CRF) algorithms, and process the relationship recognition through the Bidirectional Encoder Representation from Transformers (BERT) model from the converter, and then perform knowledge fusion through the correlation analysis algorithm to build the knowledge graph. When handling complaints, the complaint handler uses keyword retrieval, word vector retrieval and knowledge graph retrieval in the database to obtain the complaint handling experience data with a similarity greater than the threshold, and returns the query results to the user.

[0072] It is easy to understand that the complaint knowledge base built based on the knowledge graph needs to first collect complaint processing data, and then use specific algorithms for data cleaning, knowledge discovery and knowledge organization. The whole process has a high degree of automation. At the same time, this type of complaint knowledge base is mainly stored in a graph database, and each node is a key point in complaint processing, with a relatively uniform format. If the knowledge base is updated or upgraded, the complaint processing data needs to be collected again and retrained through the algorithm model.

[0073] Taking a scenario as an example, for the complaints of mobile phone users about the 4th Generation mobile communication technology (4G) Internet access, 18 types of problem scenarios are sorted out according to the signaling process on the network side, from network attachment, bearer establishment, Domain Name System (DNS) interaction to service access, and the problem phenomena, possible causes and treatment measures are sorted out one by one. For example, for the "network attachment identification" problem scenario of mobile phone users' complaints about 4G Internet access, according to the handling of the complaint work order, the reasons for the user's Internet access complaints are located from user data problems, wireless side problems and core side problems according to different failure codes. Error code 7 corresponds to user data problems, error code 111 corresponds to wireless side problems, and other error codes correspond to core network problems.

[0074] In terms of building a complaint handling knowledge base, the relevant technology lacks a systematic and standardized structure, and the quality of knowledge is difficult to guarantee. The complaint knowledge base built based on empirical rules mainly relies on the accumulation of expert experience. For complaint knowledge bases in different professional fields, different experts need to be organized to organize them, and the quality level of the knowledge base may vary from person to person. The complaint knowledge base built based on the knowledge graph requires the preparation of a large number of complaint tickets in advance, and the correlation and causal relationship between the complaint phenomenon and the problem are calculated through artificial intelligence (AI) algorithms. The knowledge base based on the knowledge graph method is heavily dependent on complaint ticket data. If the complaint problems covered by the complaint ticket are incomplete or the solutions are not comprehensive, it may cause the generated complaint knowledge base to have blind spots.

[0075] In terms of updating the complaint handling knowledge base, the relevant technology cannot automatically and quickly update the content, and cannot cope with complex and changeable user complaints. The complaint knowledge base built based on empirical rules relies on experts to manually sort out common complaint issues and handling methods, and is powerless for unconventional complaints; the complaint knowledge base built based on knowledge graphs requires a large amount of historical complaint data for model training, and data preparation and model generation take a long time and cannot be updated in real time.

[0076] In summary, in the relevant technologies, the accuracy of the complaint handling measures obtained is low, the complaint handling personnel are unable to locate and determine the complaint handling measures in a timely manner, and the complaint resolution efficiency is low.

[0077] It should be noted that in the description of this disclosure, the term "knowledge" refers to the causal logic inference of event information used to solve user complaint problems. For example, "no signal on mobile phone -> mobile phone cannot access the Internet" means that the "no signal on mobile phone" event causes the "mobile phone cannot access the Internet" event, and there must be a time sequence and logical causal relationship between the two. The knowledge accumulation process requires business experts to organize, refine and explore complaint problems through induction or deduction.

[0078] The term "knowledge base" refers to a collection of interconnected knowledge pieces that are stored, organized, managed and used in computer memory according to a certain knowledge representation structure (such as a multi-tree, forest or directed graph), after the knowledge in various fields for solving user complaint problems is sorted and refined.

[0079] The term "information" refers to the valuable complaint content obtained by collecting, denoising, extracting and processing user complaint data based on certain logical rules. Complaint information is usually a structured table or semi-structured data.

[0080] The term "data" refers to the most original material used to describe user complaints, complaint problem location and solutions, usually including complaint records, complaint handling work orders and user complaint phone recordings, most of which are semi-structured or unstructured data.

[0081] The term "complaint" refers to the act of consumers requesting consumer rights protection organizations to mediate and demand protection of their legitimate rights and interests after a consumer rights dispute arises between consumers and business operators when they purchase or use goods or receive services for their daily consumption needs.

[0082] The term "concerned title" refers to problems encountered by consumers when purchasing, using goods or receiving services.

[0083] The term "Reason of complaint" refers to the cause or root cause of a consumer complaint.

[0084] The term “disposal measures” refers to the problem-solving methods proposed by operators in response to consumer complaints.

[0085] The present disclosure is described in detail below with reference to specific embodiments.

[0086] In the first embodiment, if Figure 1 As shown, Figure 1 This is a flowchart of a complaint handling method provided by an embodiment of the present disclosure. The method can be implemented by a computer program and can be run on a complaint knowledge base for complaint handling. The computer program can be integrated into an application or run as an independent tool application.

[0087] Among them, the complaint knowledge base can be an electronic device with complaint handling function.

[0088] Specifically, the complaint handling method includes the following steps:

[0089] S101, obtain the current complaint case;

[0090] According to some embodiments, the current complaint case refers to a complaint case currently received.

[0091] It is easy to understand that when an electronic device handles a complaint, the electronic device can obtain the current complaint case.

[0092] S102, determining a first set of processing measures corresponding to the current complaint case from the resource plane, and determining a second set of processing measures corresponding to the current complaint case from the constraint plane;

[0093] According to some embodiments, the resource plane is constructed based on a set of complaint handling empirical rules.

[0094] In some embodiments, the complaint handling experience rule group may be obtained by manual sorting by experts, for example.

[0095] According to some embodiments, the constraint plane is constructed based on a collection of historically processed complaint cases.

[0096] It is easy to understand that when the electronic device obtains the current complaint case, the electronic device can determine the first set of processing measures corresponding to the current complaint case from the resource plane, and determine the second set of processing measures corresponding to the current complaint case from the constraint plane.

[0097] S103: Select a target processing measure corresponding to the current complaint case from the first processing measure set and the second processing measure set.

[0098] According to some embodiments, the target processing measure may be, for example, the optimal processing measure in the first processing measure set and the second processing measure set.

[0099] It is easy to understand that when the electronic device obtains the first set of processing measures and the second set of processing measures, the electronic device can select the target processing measure corresponding to the current complaint case from the first set of processing measures and the second set of processing measures.

[0100] In summary, the method provided in this embodiment addresses the shortcomings of the existing complaint knowledge base organization scheme, such as lack of systematization and standardization, inability to automatically and quickly update content, and inability to cope with complex and changeable user complaints. By constructing a resource plane based on the complaint handling experience rule group and a constraint plane based on a collection of historical complaint cases, it is possible to query the corresponding handling measures for the current complaint case based on the systematic complaint handling knowledge manually sorted out by experts and in combination with the historical complaint cases, which can help complaint handling personnel to locate and judge complaint handling measures in a timely manner, improve complaint resolution efficiency, and obtain handling measures with high accuracy.

[0101] This embodiment also provides another complaint handling method, which can be executed by an electronic device.

[0102] Specifically, the complaint handling method may include the following steps:

[0103] S201, constructing a resource plane;

[0104] According to some embodiments, when constructing a resource plane, the complaint handling experience rule group can be divided into a problem template set, a cause template set, and a measure template set; determine the first hit number of the cause template corresponding to any problem template in the problem template set, and the second hit number of the measure template corresponding to the cause template corresponding to any problem template, to obtain a hit number set; insert the problem template set into the problem layer, insert the cause template set into the cause layer, insert the measure template set into the measure layer, insert the hit number set into the quantity layer, and construct a tree data structure based on the mapping relationship between the problem template set, the cause template set, the measure template set, and the hit number set to obtain a resource plane.

[0105] In some embodiments, the templates in the problem template set, cause template set and measure template set refer to the standardized expressions of a certain type of complaint problems, causes and measures from which the features such as the mobile phone number, time, location, terminal, etc. of the complaining user have been deleted.

[0106] In some embodiments, each type of complaint problem can form a one-to-many mapping relationship with the corresponding causes, measures, and hit times, forming a tree-type data structure to represent the processing logic of this type of complaint problem, thereby systematically expressing expert experience rules.

[0107] In some embodiments, each problem template may correspond to zero to multiple cause templates, and each cause template may correspond to zero to multiple measure templates.

[0108] In some embodiments, the first hit count refers to the number of times the cause template is selected and returned. The second hit count refers to the number of times the measure template is selected and returned. Each hit count uniquely corresponds to a measure template or cause template.

[0109] Take a scenario as an example. Figure 2 This is a schematic diagram of a resource plane structure provided by an embodiment of the present disclosure. Figure 2 As shown, the two cause templates corresponding to the problem template Q1 in the problem layer of the resource plane are C1 and C2 respectively, the problem template Q2 corresponds to the cause template C6, the measure templates corresponding to the cause template C1 are A11 and A12, and the cause templates C2 and C6 have no corresponding measure templates. The number N1 represents the hit times of the cause template C1 corresponding to the problem template Q1, the number N2 represents the hit times of the cause template C2 corresponding to the problem template Q1, N6 represents the hit times of the cause template C6 corresponding to the problem template Q2, N11 represents the hit times of the measure template A11, and N12 represents the hit times of the measure template A12.

[0110] S202, constructing a constraint plane;

[0111] According to some embodiments, when constructing a constraint plane, the fingerprint and occurrence time corresponding to any historical complaint processing case in the historical complaint processing case set can be determined to obtain a fingerprint set and an occurrence time set; the fingerprint set is inserted into the fingerprint layer, and the occurrence time set is inserted into the time layer; based on the mapping relationship between the fingerprint layer, the time layer, the fingerprint and the occurrence time, the constraint plane is constructed.

[0112] In some embodiments, the fingerprint and time may be stored in the constraint plane in a key-value pair structure of “fingerprint-time”.

[0113] Take a scenario as an example. Figure 3 This is a schematic diagram of a constraint plane structure provided by an embodiment of the present disclosure. Figure 3 As shown, the fingerprint layer includes three fingerprints F1, F2, and F3, and the time layer includes three times T1, T2, and T3, wherein F1 corresponds to T1, F2 corresponds to T2, and F3 corresponds to T4.

[0114] It should be noted that the historical complaint case set corresponding to the constraint plane may also be summarized to obtain a knowledge block; and the resource plane may be updated according to the knowledge block.

[0115] According to some embodiments, the historical complaint case set includes but is not limited to complaint work order data, complaint record data, complaint form data, etc. Ten key complaint information items such as complaint time, complaint location, and complaint task can be extracted from the historical complaint case set through rules, as shown in Table (1).

[0116]

[0117]

[0118] Table (1)

[0119] S203, obtaining the current complaint case;

[0120] According to some embodiments, the current complaint case may be obtained from, for example, a complaint knowledge query request initiated by a user. The query content corresponding to the complaint knowledge query request includes, but is not limited to, knowledge keywords, key words, complaint phenomenon text fragments, and the like.

[0121] S204, using a first-level Bayesian classifier to determine a target cause set corresponding to the current complaint case from a tree data structure;

[0122] According to some embodiments, the target cause set may, for example, include the top N cause templates with the highest probability among all cause templates corresponding to the current complaint case, or may also include cause templates with a probability higher than a first probability threshold among all cause templates corresponding to the current complaint case.

[0123] In some embodiments, when a first-level Bayesian classifier is used to determine the target cause set corresponding to the current complaint case from a tree data structure, a cause template subset corresponding to the current complaint case in the cause layer can be determined; based on the first hit number corresponding to any cause template in the cause template subset, a first prior probability of any cause template for the current complaint case is calculated; a first likelihood probability of any cause template for the current complaint case is determined; based on the first prior probability and the first likelihood probability, a first posterior probability of any cause template for the current complaint case is determined to obtain a first posterior probability set; a first posterior probability that meets the first posterior probability requirements is determined from the first posterior probability set to obtain a first posterior probability subset, and a target cause set corresponding to the first posterior probability subset is determined from the cause template subset.

[0124] According to some embodiments, the first prior probability of any cause template for the current complaint case can be frequency counted according to the quantity layer, which is the first hit number of the cause template divided by the total hit number of all cause templates under the current complaint case.

[0125] For example, for the cause template Ck corresponding to the current complaint case, its first prior probability P(Ck) is N(Ck) / sum(N(Q)), where P(Ck) is the first prior probability of the cause template Ck, N(Ck) is the number of hits of the cause template Ck, and sum(N(Q)) is the sum of the number of hits of all cause templates under the problem Q corresponding to the current complaint case.

[0126] According to some embodiments, based on the assumption that complaint attributes are independent of each other, the likelihood probability of a certain cause template for the current complaint case is the product of the likelihood probabilities of the cause template for each attribute in the current complaint case.

[0127] For example, the first likelihood probability P(Q|Ck) of the cause template Ck for each attribute of the problem Q {Qm, m=1, 2,..., n} is P(Q1|Ck)P(Q2|Ck)...P(Qn|Ck).

[0128] According to some embodiments, according to the Bayesian formula, the first posterior probability of each cause template for the current complaint case is the product of the first likelihood probability of the cause template for the current complaint case and the first prior probability divided by the evidence factor of the cause template.

[0129] For example, the first posterior probability P(Ck|Q) of the cause template Ck for the complaint Q is P(Q1|Ck)P(Q2|Ck)…P(Qn|Ck)P(Ck) / P(Q).

[0130] According to some embodiments, the target cause set may be, for example, the TopN cause templates with the largest first posterior probabilities in the cause template subset.

[0131] For example, for the problem Q corresponding to the current complaint case, P(Q) is a constant. For each cause template {Ck, k=1,2,…,m}, P(Q1|Ck)P(Q2|Ck)…P(Qn|Ck)P(Ck) are calculated. After sorting by the size of the calculation results, the top N cause templates with the largest calculation results are returned as the target cause set {C} of the current complaint case, and the corresponding data layer N(C) is increased by one.

[0132] S205, using a second-level Bayesian classifier to determine a first set of treatment measures corresponding to the target cause set from the tree data structure;

[0133] According to some embodiments, the first-level Bayesian classifier and the second-level Bayesian classifier are cascade Bayesian classifiers. The first-level Bayesian classifier and the second-level Bayesian classifier may be, for example, naive Bayesian classifiers.

[0134] In some embodiments, the first processing measure set may include, for example, the top K measure templates with the highest likelihood among all measure templates corresponding to the target cause set, or may include, for example, measure templates whose likelihood is higher than a second likelihood threshold among all measure templates corresponding to the target cause set.

[0135] According to some embodiments, when a second-level Bayesian classifier is used to determine a first set of processing measures corresponding to a target cause set from a tree data structure, a subset of measure templates corresponding to the target cause set in the measure layer can be determined; a second prior probability of any measure template for the target cause set is calculated based on a second hit count corresponding to any measure template in the measure template subset; a second likelihood probability of any measure template for the target cause set is determined; a second posterior probability of any measure template for the target cause set is determined based on the second prior probability and the second likelihood probability to obtain a second posterior probability set; a second posterior probability that meets the second posterior probability requirement is determined from the second posterior probability set to obtain a second posterior probability subset, and a first set of processing measures corresponding to the second posterior probability subset is determined from the measure template subset.

[0136] In some embodiments, the second prior probability of any measure template for the target cause set can be frequency counted according to the measure layer, which is the second hit number of the measure template divided by the total hit number of all measure templates under the current complaint case.

[0137] For example, for the measure template Ak corresponding to the current complaint case, its second prior probability P(Ak) is N(Ak) / sum(N(Q)), where P(Ak) is the second prior probability of the measure template Ak, N(Ak) is the second hit number of the measure template Ak, and sum(N(Q)) is the sum of the hit numbers of all measure templates under the problem Q corresponding to the current complaint case.

[0138] In some embodiments, for the target cause set, a second likelihood probability P(C|Ak) of any measure template Ak in the measure layer to the corresponding cause template C in the target cause set can be calculated.

[0139] For example, according to the data layers N(C) and N(Ak), the second likelihood probability P(C|Ak) is N(C·Ak) / N(Ak), where N(C·Ak) represents the number of hits of the cause template C to the measure template Ak.

[0140] In some embodiments, according to the Bayesian formula, the second posterior probability of each measure template with respect to its corresponding cause template is the product of the second likelihood probability of the cause template with respect to the measure template and the second prior probability divided by the evidence factor of the cause template.

[0141] For example, the second posterior probability P(Ak|C) of the measure template Ak to the cause template C is P(C|Ak)P(Ak) / P(C).

[0142] In some embodiments, the first processing measure set may be, for example, the TopK cause templates with the largest second posterior probabilities in the measure template subset.

[0143] For example, the second a posteriori probability P(Ak|C) of each measure template {Ak, k=1, 2, ..., m} for a certain cause template C can be calculated, and after sorting the calculated results, the top K measure templates with the largest calculated results are returned as the first processing measure set {A} corresponding to the target cause set, and the corresponding number layer N(A) is increased by one.

[0144] Take a scenario as an example. Figure 4 The following is a schematic diagram of a resource plane knowledge query process provided by an embodiment of the present disclosure. Figure 4 As shown in the figure, first, the first-level Bayesian classifier is used to calculate the prior probability of each cause in the cause layer, calculate the likelihood probability of the cause layer for each complaint attribute, calculate the posterior probability of the cause layer for each complaint problem, and output the TopN causes with the largest posterior probability. Then, the second-level Bayesian classifier is used to calculate the prior probability of each measure in the measure layer, calculate the likelihood probability of the measure layer corresponding to the cause layer, calculate the posterior probability of the measure layer corresponding to the cause layer, and output the TopK measures with the largest posterior probability.

[0145] According to some embodiments, Figure 4 As shown, the calculation of prior probability, likelihood probability, and posterior probability can occur in the Bayesian classifier training stage. The determination and output of TopN reasons and TopK measures can occur in the Bayesian classifier reasoning stage.

[0146] It is easy to understand that by storing variables such as likelihood probability and prior probability in advance, the inference calculation speed is fast, it has good performance on small or medium-sized data sets, and the results are well interpretable. At the same time, as the knowledge base content continues to enrich and the number of hits increases, the model accuracy will continue to improve.

[0147] S206, determining a second word vector corresponding to the current complaint case, and a word vector distance between the first word vector and the second word vector;

[0148] According to some embodiments, the fingerprint corresponding to the historical complaint case may include, for example, a first word vector {Fk}. The first word vector refers to the word vector formed by algorithms such as the continuous bag of words model (CBOW) or the word vector model (word2Vec) of the text of the historical complaint case (including all information such as the complaint time, complaint phenomenon and complaint content).

[0149] In some embodiments, the calculation process of the second word vector Q is the same as the calculation process of the first word vector, and can also be formed by algorithms such as the Continuous Bag of Words (CBOW) model or the word vector model (word2Vec).

[0150] It should be noted that in the constraint plane, the distances between word vectors corresponding to similar complaint cases are close.

[0151] According to some embodiments, the word vector distance may be calculated using Euclidean distance or cosine similarity distance.

[0152] S207, if the word vector distance corresponding to the historical complaint processing case exists in the historical complaint processing case set and meets the distance requirement, then obtain the historical complaint processing case subset, and determine the confidence level corresponding to any historical complaint processing case in the historical complaint processing case subset according to the occurrence time corresponding to any historical complaint processing case in the historical complaint processing case subset;

[0153] According to some embodiments, the distance requirement may be, for example, that the word vector distance is less than a distance threshold h.

[0154] In some embodiments, the word vector distance corresponding to any historical complaint processing case in the historical complaint processing case subset Fk meets the distance requirement.

[0155] According to some embodiments, confidence refers to taking the distance between the occurrence time of the complaint case and the current time as a factor in evaluating the trustworthiness of the result. The older the historical complaint case, the lower the trustworthiness, which can achieve trustworthy screening and identification of complaint cases.

[0156] In some embodiments, the confidence level corresponding to historical complaint cases can be calculated using a negative exponential function, that is, exp(-t), where t is the distance between the complaint occurrence time and the present time, and the unit can be hourly or daily granularity.

[0157] S208, if there is no word vector distance corresponding to the historical complaint case in the historical complaint case set that meets the distance requirement, the constraint plane is updated according to the current complaint case, and a second processing measure set with null value is output;

[0158] According to some embodiments, a K-Nearest Neighbor (KNN) classifier can be used in combination with the complaint case confidence to perform knowledge query in the "fingerprint-time" key-value pair structure. The KNN classifier can search for historical complaint cases whose word vector distance is lower than the distance threshold h in the constraint plane, and return the positioning problem and treatment measures as the result.

[0159] Take a scenario as an example. Figure 5 The following is a flow chart of a constraint plane knowledge query provided by an embodiment of the present disclosure. Figure 5 As shown, first, during the KNN classifier training process, the complaint phenomenon word vector {Fk} stored in the constraint plane (B plane) can be calculated. Then, during the KNN classifier reasoning process, the complaint phenomenon word vector Q to be retrieved can be calculated. If the distance between Q and Fk is less than the threshold h, Fk is output and the confidence of Fk is calculated. If the distance between Q and Fk is not less than the threshold h, Q is added to the B plane and a null value is output.

[0160] S209, determining historical complaint processing cases whose confidences meet the confidence requirements from the historical complaint processing case subset, and determining processing measures corresponding to the historical complaint processing cases whose confidences meet the confidence requirements, to obtain a second processing measure set;

[0161] According to some embodiments, the second set of processing measures may, for example, include the top k measure templates with the highest confidence among all measure templates corresponding to historical complaint processing cases whose confidences meet confidence requirements, or may also include measure templates among all measure templates whose confidences are higher than a confidence threshold.

[0162] S210: Select a target processing measure corresponding to the current complaint case from the first processing measure set and the second processing measure set.

[0163] According to some embodiments, based on the correspondence between confidence and posterior probability, the posterior probability corresponding to the first set of processing measures can be converted into confidence, or the confidence corresponding to the second set of processing measures can be converted into posterior probability, and then all processing measures in the first set of processing measures and the second set of processing measures are sorted, and the processing measure with the highest confidence or the highest posterior probability is selected as the target processing measure.

[0164] In summary, the method provided by the embodiment of the present disclosure, by adding a dynamic update function of complaint handling knowledge based on manual sorting of complaint handling knowledge by business experts, can cope with dynamic update and rapid iteration of complaint content, is suitable for complex and changeable user complaint issues, and has strong use value.

[0165] Among them, the resource plane can automatically output the corresponding results according to the "problem-cause-measure" tree structure based on the complaint problem through cascaded Bayesian search, which can not only improve the efficiency of complaint problem handling, but also reduce labor costs. In addition, by setting the quantity layer, the weight of each tree is dynamically adjusted according to the number of retrievals of the problems that cause complaints, so as to achieve online learning and dynamic updating of the resource plane of the knowledge base, and continuously improve the accuracy of the knowledge base, which is especially suitable for the situation where users complain in batches due to sudden problems.

[0166] Among them, the constraint plane can automatically output the confidence of each complaint case through the KNN classifier according to the "fingerprint-time" data structure, and achieve "moderate forgetting" of expired complaint cases according to the age of the cases. It can not only improve the query accuracy of complaint issues and avoid the interference of historical complaint cases on knowledge base queries, but also form a check and balance on the knowledge base resource plane to avoid a certain complaint handling knowledge from being selected for a long time due to excessive number of layers.

[0167] In order to implement the above embodiments, the present disclosure also proposes a complaint knowledge base.

[0168] like Figure 6 As shown, the complaint knowledge base is a complaint knowledge base with dual planes architecture, including:

[0169] Knowledge Query Module, used to obtain current complaint cases;

[0170] A knowledge management module, used to determine a first set of processing measures corresponding to the current complaint case from a resource plane, and to determine a second set of processing measures corresponding to the current complaint case from a constraint plane, wherein the resource plane is constructed according to a complaint handling experience rule group, and the constraint plane is constructed according to a set of historical complaint case processing;

[0171] A knowledge judgment module (Knowledge Judgement Module) is used to select a target processing measure corresponding to the current complaint case from the first processing measure set and the second processing measure set.

[0172] Optionally, the complaint knowledge base further includes a knowledge discovery module, a resource plane, and a restriction plane; wherein,

[0173] The knowledge discovery module is used to receive complaint work order data, complaint record data and complaint form data provided by the knowledge base manager, extract 10 key complaint information such as complaint time, complaint location, complaint task, etc. from the complaint data through rules, and send a knowledge management command (KMC) to the knowledge management module to add, update or delete knowledge.

[0174] The knowledge query module can specifically receive knowledge queries from knowledge base users. The query content includes knowledge keywords, key words or complaint phenomenon text fragments, and after data reduction, data cleaning and data regularization, it sends a knowledge query command (KQC) to the knowledge management module.

[0175] The resource plane is used to store the complaint handling experience rule groups compiled by experts. It is divided into the problem layer, cause layer, measure layer and quantity layer in the logical structure, which respectively save the complaint problems, complaint causes, handling measures and hit data of various complaint phenomena. The resource plane can receive the knowledge query command KQC and the knowledge management command KMC of the knowledge management module, query the resource plane database and return the results according to the knowledge query keywords, keywords or text fragment indexes. The resource plane can also receive the knowledge update command KUC of the knowledge management module to add, delete and modify the resource plane database.

[0176] The constraint plane is used to store each complaint case and occurrence time from the complaint data. It is divided into a fingerprint layer and a time layer in terms of logical structure, and the fingerprint index and occurrence time of each complaint case text are stored respectively. The constraint plane can receive the knowledge query command KQC from the knowledge management module, query the constraint plane database according to the case fingerprint index and return the result. At the same time, the constraint plane receives the knowledge management command KMC from the knowledge management module, summarizes the constraint plane complaint cases to form a knowledge block, and returns it to the knowledge management module for updating the resource plane database.

[0177] The knowledge management module is specifically used to receive KQC messages from the knowledge query module and KUC messages from the knowledge discovery module. After knowledge organization and knowledge processing, it queries the knowledge base resource plane and constraint plane through knowledge reasoning, and sends the query results to the knowledge judgment module through the knowledge query command KQC. The knowledge management module has three basic services, namely knowledge organization, knowledge processing and knowledge reasoning. The knowledge organization service can represent, classify and encode the acquired knowledge to make it orderly, so as to facilitate knowledge updating and management; the knowledge processing service can organize the knowledge base dual planes, summarize the constraint plane complaint cases to form knowledge blocks through the knowledge management command KMC, and update the knowledge base resource plane; the knowledge reasoning service can query the knowledge base dual planes through the knowledge query command KQC, and send the results to the knowledge judgment module.

[0178] The knowledge judgment module is specifically used to receive the knowledge query command KQC from the knowledge management module, judge the knowledge base dual-plane query results according to the logic of possibility probability, and output the possible causes and treatment measures of a complaint problem to the knowledge base consumers.

[0179] Optionally, the number of hits may be determined based on the number of times a corresponding cause template or measure template is selected by the complaint knowledge base and returned to the knowledge management module through the knowledge query command KQC.

[0180] Optionally, Figure 7 The following is a flow chart of a complaint knowledge base query signaling provided by an embodiment of the present disclosure. Figure 7 As shown, the specific steps include:

[0181] Step 1: The knowledge base user initiates a complaint knowledge query request to the knowledge query module.

[0182] Step 2: The knowledge query module receives the knowledge query request sent by the knowledge base user, performs data reduction, data cleaning and data regularization on the query content, and then sends the knowledge query command KQC to the knowledge management module.

[0183] Step 3: The knowledge management module receives the KQC from the knowledge query module, edits and processes the query content after the knowledge organization service, and sends the knowledge query command KQC to the resource plane.

[0184] Step 4: The resource plane returns the knowledge query results to the knowledge management module.

[0185] Step 5: The knowledge management module receives KQC from the knowledge query module, edits and processes the query content after knowledge organization service, and sends the knowledge query command KQC to the constraint plane.

[0186] Step 6: The constraint plane returns the knowledge query results to the knowledge management module.

[0187] Step 7: The knowledge management module initiates a knowledge decision request and sends the resource plane query results of step 4 and the constraint plane query results of step 4 to the knowledge decision module. The knowledge decision module outputs the most likely complaint causes and solutions from high to low based on the probability and confidence of the results returned by the resource plane and / or constraint plane.

[0188] Step 8: The knowledge judgment module returns the final knowledge query result to the knowledge base user.

[0189] Optionally, Figure 8 The following is a flow chart of a complaint knowledge base management signaling provided by an embodiment of the present disclosure. Figure 8 As shown, the specific steps include:

[0190] Step 1: The knowledge base manager initiates a knowledge management request KMC to the knowledge discovery module, requesting to add, update or delete the content of the resource plane and / or constraint plane. The knowledge management request message contains fields such as request type and request entity. The request types include three types: add, update and delete. The request entity includes null value, historical complaint work order data, complaint record data and complaint form data.

[0191] Step 2: The knowledge discovery module parses the knowledge management request KMC and initiates a knowledge management command to the knowledge management module. If the request type of the knowledge management request is to add, the knowledge discovery module will further parse the request entity of the knowledge management request KMC and parse the complaint features according to Table (1); if the request type of the knowledge management request is to update or delete, the knowledge discovery module will send the specific content to the knowledge management module.

[0192] Step 3: The knowledge management module initiates a knowledge management request to the resource plane according to the knowledge management request KMC. If the request type of the knowledge management request is to add, the knowledge management module will insert the complaint features into the resource plane in the manner of "problem, cause, phenomenon, quantity", and the quantity is zero; if the request type of the knowledge management request is to update or delete, the resource plane will synchronously update or delete the corresponding content.

[0193] Step 4: The resource plane returns the knowledge management results to the knowledge management module.

[0194] Step 5: The knowledge management module initiates a knowledge management request to the constraint plane according to the knowledge management request KMC. If the request type of the knowledge management request is to add, the knowledge management module will insert the complaint features into the constraint plane in the "fingerprint, time" manner; if the request type of the knowledge management request is to update or delete, the constraint plane will synchronously update or delete the corresponding content.

[0195] Step 6: The constraint plane returns the knowledge management results to the knowledge management module.

[0196] Step 7: The knowledge management module returns the knowledge management results to the knowledge base manager.

[0197] It should be noted that when the complaint knowledge base is used to execute the complaint handling method, it can be used to execute at least one of steps S101 to S103 and steps S201 to S210, which will not be described in detail here. The above explanation of the complaint handling method embodiment is also applicable to the complaint knowledge base of this embodiment, which will not be described in detail here.

[0198] In summary, the complaint knowledge base provided by the embodiments of the present disclosure adds a dynamic update logic of complaint handling knowledge on the basis of the systematized complaint handling knowledge manually sorted out by experts, so that the complaint knowledge base has the ability of rapid iteration and has strong use value. Among them, the resource plane provides the systematized complaint handling knowledge manually sorted out by experts, stores the complaint handling experience rule groups manually sorted out by business professionals, and realizes the standardization and normalization of the knowledge base content; the constraint plane stores each complaint case and occurrence time from the complaint data, adds a dynamic update logic of complaint handling knowledge, and realizes the continuous updating of the knowledge base content. The dual-plane architecture enables the complaint knowledge base to have multi-dimensional retrieval capabilities and rapid iteration capabilities, realizes the systematization and standardization of the knowledge base, and has strong use value.

[0199] In order to implement the above embodiments, the present disclosure also proposes an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.

[0200] In order to implement the above embodiments, the present disclosure further proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.

[0201] In order to implement the above embodiments, the present disclosure also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

[0202] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this disclosure shall comply with the relevant laws and regulations and shall not violate public order and good morals.

[0203] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.

[0204] The present disclosure anticipates providing implementation schemes for users to selectively block the use or access of personal information data. That is, the present disclosure anticipates providing hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, risks can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.

[0205] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0206] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0207] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.

[0208] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0209] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0210] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0211] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0212] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.

Claims

1. A method for handling complaints, characterized in that: The method comprises: Get current complaint cases; Determine a first set of processing measures corresponding to the current complaint case from the resource plane, and determine a second set of processing measures corresponding to the current complaint case from the constraint plane, wherein the resource plane is constructed according to a complaint handling experience rule group, and the constraint plane is constructed according to a set of historical complaint case processing; A target processing measure corresponding to the current complaint case is selected from the first processing measure set and the second processing measure set.

2. The method according to claim 1, characterized in that Before determining the first set of handling measures corresponding to the current complaint case from the resource plane, the method further includes: The complaint handling experience rule group is divided into a problem template set, a cause template set and a measure template set; Determine a first hit count of a cause template corresponding to any problem template in the problem template set, and a second hit count of a measure template corresponding to the cause template corresponding to any problem template, to obtain a hit count set; Insert the problem template set into the problem layer, insert the cause template set into the cause layer, insert the measure template set into the measure layer, insert the hit count set into the quantity layer, and construct a tree data structure based on the mapping relationship between the problem template set, the cause template set, the measure template set and the hit count set to obtain a resource plane.

3. The method according to claim 2, characterized in that The determining, from the resource plane, a first set of processing measures corresponding to the current complaint case includes: Using a first-level Bayesian classifier, determine a target cause set corresponding to the current complaint case from the tree data structure; A second-level Bayesian classifier is used to determine a first set of treatment measures corresponding to the target cause set from the tree data structure.

4. The method according to claim 3, characterized in that The first-level Bayesian classifier is used to determine the target reason set corresponding to the current complaint case from the tree data structure, including: Determine a subset of reason templates corresponding to the current complaint case in the reason layer; Calculate a first priori probability of any cause template for the current complaint case according to a first hit count corresponding to any cause template in the cause template subset; Determine a first likelihood probability of any one of the cause templates for the current complaint case; Determine a first a posteriori probability of any one of the cause templates for the current complaint case according to the first prior probability and the first likelihood probability, and obtain a first a posteriori probability set; A first posterior probability satisfying a first posterior probability requirement is determined from the first posterior probability set to obtain a first posterior probability subset, and a target cause set corresponding to the first posterior probability subset is determined from the cause template subset.

5. The method according to claim 3, characterized in that: The adopting of the second-level Bayesian classifier to determine the first set of treatment measures corresponding to the target cause set from the tree data structure includes: Determine a subset of measure templates corresponding to the target cause set in the measure layer; Calculating a second priori probability of any measure template for the target cause set according to a second hit number corresponding to any measure template in the measure template subset; Determine a second likelihood probability of any one of the action templates for the target cause set; Determine a second a posteriori probability of any one of the measure templates for the target cause set according to the second prior probability and the second likelihood probability, to obtain a second a posteriori probability set; A second posterior probability satisfying a second posterior probability requirement is determined from the second posterior probability set to obtain a second posterior probability subset, and a first processing measure set corresponding to the second posterior probability subset is determined from the measure template subset.

6. The method according to claim 2, characterized in that Before determining the second set of treatment measures corresponding to the current complaint case from the constraint plane, the method further includes: Determine the fingerprint and occurrence time corresponding to any historical complaint processing case in the historical complaint processing case set, and obtain a fingerprint set and an occurrence time set. Inserting the fingerprint set into a fingerprint layer, and inserting the occurrence time set into a time layer; A constraint plane is constructed according to a mapping relationship among the fingerprint layer, the time layer, the fingerprint, and the occurrence time.

7. The method according to claim 6, characterized in that The fingerprint corresponding to any historical complaint case includes a first word vector, and the querying of the second set of processing measures corresponding to the current complaint case from the constraint plane includes: Determine a second word vector corresponding to the current complaint case, and a word vector distance between the first word vector and the second word vector; If there is a word vector distance corresponding to a historical complaint processing case in the historical complaint processing case set that meets the distance requirement, then obtain a subset of historical complaint processing cases, and determine the confidence level corresponding to any historical complaint processing case in the subset of historical complaint processing cases according to the occurrence time corresponding to any historical complaint processing case in the subset of historical complaint processing cases, wherein the word vector distance corresponding to any historical complaint processing case in the subset of historical complaint processing cases meets the distance requirement; Determine the historical complaint processing cases whose confidences meet the confidence requirements from the historical complaint processing case subset, and determine the processing measures corresponding to the historical complaint processing cases whose confidences meet the confidence requirements to obtain a second set of processing measures.

8. The method according to claim 6, characterized in that The method further comprises: If there is no word vector distance corresponding to a historical complaint case in the historical complaint case set that meets the distance requirement, the constraint plane is updated according to the current complaint case, and a second processing measure set with null content is output.

9. The method according to claim 1, characterized in that: The method further comprises: Summarizing the historical complaint case set corresponding to the constraint plane to obtain a knowledge block; The resource plane is updated according to the knowledge block.

10. A complaint knowledge base, characterized in that: include: Knowledge query module, used to obtain current complaint cases; A knowledge management module, used to determine a first set of processing measures corresponding to the current complaint case from a resource plane, and to determine a second set of processing measures corresponding to the current complaint case from a constraint plane, wherein the resource plane is constructed according to a complaint handling experience rule group, and the constraint plane is constructed according to a set of historical complaint handling cases; The knowledge judgment module is used to select the target processing measure corresponding to the current complaint case from the first processing measure set and the second processing measure set.

Citation Information

Cited By

  • System and device for automatically processing user complaints and rapidly returning fees based on AI (Artificial Intelligence)

    CN121707570A