Full-automatic work order processing information generation and pushing method based on fault knowledge base
By identifying core fault work orders and pruning the initial decision tree to generate a lightweight target decision tree, the problem of low response efficiency for a large number of fault work orders is solved, thereby improving work order processing efficiency and resource utilization.
Patent Information
- Application Number
- CN202511604519.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-05
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2045-11-05
AI Technical Summary
In existing technologies, the overall response efficiency of a large number of fault work orders is low, and the complex decision tree structure makes it difficult to understand and interpret, increasing the time spent on work order processing.
By identifying core fault work orders and pruning the initial decision tree, a target decision tree with fewer nodes is generated. The core fault work orders are then used to prune the initial decision tree, generating a lightweight target decision tree for batch processing.
It improved the overall response efficiency of a large number of fault work orders, shortened the handling time of fault work orders, and reduced resource consumption and time consumption.
Smart Images

Figure CN121073401B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of information processing, and in particular to a full-automatic work order processing information generation and pushing method based on a fault knowledge base. BACKGROUND
[0002] In order to improve the efficiency of work order processing, it is particularly important to generate and push full-automatic work order processing information based on a fault knowledge base. Automatic pushing not only ensures that work order processing information can be timely and accurately delivered to relevant personnel, helping them to quickly respond and effectively solve problems. At the same time, automated processes can significantly reduce operating costs and reduce dependence on human resources, thereby saving enterprise manpower investment. In addition, automated work order processing improves processing accuracy and response speed, not only improving customer satisfaction, but also enhancing the service capabilities and market competitiveness of enterprises.
[0003] In the prior art, although the decision tree of the full-automatic work order processing information generation and pushing itself has good interpretability, when the structure of the tree becomes too complex, understanding and interpretation become more difficult. As the depth and breadth of the tree increase, the basis for judging each decision node may become more detailed and multi-level, increasing the difficulty of interpretation and the time-consuming of work order disposal. Especially in the process of processing multiple work orders in batches, it will lead to a very low overall response efficiency of a large number of fault work orders. SUMMARY
[0004] The purpose of the present application is to provide a full-automatic work order processing information generation and pushing method based on a fault knowledge base, which solves the technical problem of low overall response efficiency of a large number of fault work orders in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a full-automatic work order processing information generation and pushing method based on a fault knowledge base, the method comprising:
[0006] An initial decision tree is obtained, the initial decision tree being constructed based on a fault knowledge base, the end layer nodes of the initial decision tree being used for disposal of fault work orders, the non-end nodes in the initial decision tree being used to describe fault problems corresponding to fault work orders, the non-end nodes being other nodes in the decision tree except the end layer nodes;
[0007] Core fault work orders are identified among a plurality of fault work orders corresponding to a target fault type;
[0008] The initial decision tree is pruned based on the core fault work orders to obtain a target decision tree, the number of nodes of the target decision tree being less than the number of nodes of the initial decision tree;
[0009] According to the target decision tree, the plurality of fault work orders corresponding to the target fault type are processed respectively to obtain work order disposal information of each fault work order.
[0010] In one embodiment, the pruning the initial decision tree based on the core fault work order to obtain a target decision tree comprises:
[0011] Performing correlation analysis on each non-terminal node in the initial decision tree and the core fault work order to determine a retention index of each non-terminal node;
[0012] Pruning the initial decision tree according to a preset retention threshold and the retention index of each non-terminal node to obtain a pruned decision tree;
[0013] Performing similarity analysis on each non-terminal node in the pruned decision tree to determine a plurality of node similarity indexes of each non-terminal node in the pruned decision tree;
[0014] Performing node fusion on each non-terminal node in the pruned decision tree according to the plurality of node similarity indexes of each non-terminal node in the pruned decision tree to obtain the target decision tree.
[0015] In one embodiment, the performing correlation analysis on each non-terminal node in the initial decision tree and the core fault work order to determine a retention index of each non-terminal node comprises:
[0016] Obtaining a work order correlation index and a node correlation index of each non-terminal node in the initial decision tree, the work order correlation index indicating a correlation degree between the corresponding non-terminal node and the core fault work order, and the node correlation index indicating a correlation degree between the corresponding non-terminal node and its adjacent non-terminal node;
[0017] Determining the retention index of each non-terminal node according to the work order correlation index, the node correlation index and a node depth of each non-terminal node in the initial decision tree.
[0018] In one embodiment, the determining the retention index of each non-terminal node according to the work order correlation index, the node correlation index and a node depth of each non-terminal node in the initial decision tree comprises:
[0019] Calculating a product of the work order correlation index and the node correlation index of each non-terminal node in the initial decision tree to obtain a node effective index of each non-terminal node in the initial decision tree;
[0020] Calculating a ratio of the node effective index and the node depth of each non-terminal node in the initial decision tree to obtain the retention index of each non-terminal node.
[0021] In one embodiment, the obtaining step of the work order correlation index of each non-terminal node in the initial decision tree comprises:
[0022] analyzing semantic similarity between each phrase of the core fault work order and each non-terminal node in the initial decision tree to obtain a plurality of semantic similarity values corresponding to each non-terminal node in the initial decision tree;
[0023] determining, among the plurality of semantic similarity values corresponding to each non-terminal node in the initial decision tree, a maximum semantic similarity value as a semantic target value corresponding to each non-terminal node in the initial decision tree;
[0024] determining, according to the information entropy of each non-terminal node in the initial decision tree and the semantic target value corresponding thereto, a work order association index of each non-terminal node in the initial decision tree.
[0025] In one embodiment, the semantic similarity value is determined based on the number of historical fault work orders associated with the corresponding non-terminal node, the number of historical fault work orders associated with the corresponding phrase, the fault semantic similarity between the historical fault work orders associated with the corresponding non-terminal node and the historical fault work orders associated with the corresponding phrase, and the treatment semantic similarity between the historical fault work orders associated with the corresponding non-terminal node and the historical fault work orders associated with the corresponding phrase.
[0026] In one embodiment, the step of obtaining the node association index of each non-terminal node in the initial decision tree comprises:
[0027] determining, according to the position of each non-terminal node in the initial decision tree in the core fault work order and the position of the adjacent non-terminal node of the non-terminal node in the core fault work order, the node association index of each non-terminal node in the initial decision tree.
[0028] In one embodiment, the similarity analysis on each non-terminal node in the pruned decision tree to determine a plurality of node similarity indexes of each non-terminal node in the pruned decision tree comprises:
[0029] obtaining a source semantic similarity index of the first non-terminal node and the second non-terminal node at each depth, wherein the first non-terminal node and the second non-terminal node are any two different non-terminal nodes in the pruned decision tree, and the source semantic similarity index represents the semantic similarity between the two upper nodes of the first non-terminal node and the second non-terminal node at the corresponding depth;
[0030] determining, according to the source semantic similarity index of the first non-terminal node and the second non-terminal node at each depth, the number of upper nodes of the first non-terminal node, the number of upper nodes of the second non-terminal node, and the semantic similarity value between the first non-terminal node and the second non-terminal node, a node similarity index of the first non-terminal node to the second non-terminal node.
[0031] In one embodiment, the node similarity index is negatively correlated with the number of upper nodes of the corresponding non-terminal node, the node similarity index is positively correlated with the corresponding source semantic similarity index, and the node similarity index is positively correlated with the corresponding semantic similarity value.
[0032] In one embodiment, the identification of the core fault work order from the plurality of fault work orders corresponding to the target fault type comprises:
[0033] In one embodiment, the identification of the core fault work order from the plurality of fault work orders corresponding to the target fault type comprises:
[0034] In one embodiment, the identification of the core fault work order from the plurality of fault work orders corresponding to the target fault type comprises:
[0035] In one embodiment, the identification of the core fault work order from the plurality of fault work orders corresponding to the target fault type comprises:
[0036] In one embodiment, the identification of the core fault work order from the plurality of fault work orders corresponding to the target fault type comprises:
[0037] In one embodiment, the identification of the core fault work order from the plurality of fault work orders corresponding to the target fault type comprises:
[0038] The decision tree acquisition module is configured to acquire an initial decision tree, wherein the initial decision tree is constructed based on a fault knowledge base, a terminal node of the initial decision tree is used for handling a fault work order, a non-terminal node in the initial decision tree is used for describing a fault problem corresponding to the fault work order, and the non-terminal node is a node other than the terminal node in the decision tree.
[0039] The core identification module is configured to identify a core fault work order from a plurality of fault work orders corresponding to a target fault type.
[0040] The decision tree pruning module is configured to prune the initial decision tree based on the core fault work order to obtain a target decision tree, wherein the number of nodes of the target decision tree is less than the number of nodes of the initial decision tree.
[0041] The work order handling module is configured to handle a plurality of fault work orders corresponding to a target fault type based on the target decision tree to obtain work order handling information of each fault work order.
[0042] In a third aspect, a further embodiment of the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the method of the first aspect are implemented.
[0043] In a fourth aspect, a further embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method of the first aspect are implemented.
[0044] The present application has the following beneficial effects:
[0045] The present application identifies the core fault work order in the plurality of fault work orders corresponding to the target fault type, prunes the initial decision tree constructed based on the fault knowledge base by using the core fault work order to obtain a target decision tree with fewer nodes, and uses the more lightweight target decision tree to batch process the plurality of fault work orders corresponding to the target fault type, thereby reducing the overall time consumption of the plurality of fault work orders corresponding to the target fault type when being disposed, and improving the overall response efficiency of the large batch of fault work orders. BRIEF DESCRIPTION OF DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art and their advantages, the drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained from these drawings without creative labor.
[0047] Figure 1 is a flowchart of a full-automatic work order processing information generation and pushing method based on a fault knowledge base provided by an embodiment of the present application;
[0048] Figure 2 is a structural diagram of a full-automatic work order processing information generation and pushing system based on a fault knowledge base provided by an embodiment of the present application;
[0049] Figure 3 is a schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0050] For further illustrating the technical means and effects taken by the present application to achieve the predetermined inventive objectives, the following will describe in detail the specific implementation, structure, features and effects of the full-automatic work order processing information generation and pushing method based on a fault knowledge base according to the present application, with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0052] The specific scheme of the full-automatic work order processing information generation and pushing method based on a fault knowledge base provided by the present application will be specifically described below with reference to the accompanying drawings.
[0053] The present application provides a full-automatic work order processing information generation and pushing method based on a fault knowledge base, which is described below with reference to Figure 1 Fig. 1 shows a flowchart of a full-automatic work order processing information generation and pushing method based on a fault knowledge base according to an embodiment of the present application, which comprises the following steps:
[0054] Step S1, obtaining an initial decision tree.
[0055] The initial decision tree is constructed based on a fault knowledge base, the end layer nodes of the initial decision tree are used for handling fault work orders, the non-end nodes in the initial decision tree are used for describing the fault problems corresponding to the fault work orders, and the non-end nodes are other nodes in the decision tree except the end layer nodes.
[0056] The above-mentioned fault knowledge base can be understood as a knowledge base composed of relevant information of historical fault work orders that have been solved, and the fault indication base records information such as work order generation time of historical fault work orders, fault problem description text of historical fault work orders, and fault solution measures of historical fault work orders.
[0057] In some embodiments, the obtaining process of the initial decision tree is as follows:
[0058] The fault problem description text of each historical fault work order in the fault knowledge base is cleaned respectively to remove stop words, punctuation marks and other irrelevant noise data included in the text. Then, the cleaned fault problem description text is vectorized using the TF-IDF (Term Frequency-Inverse Document Frequency) method to obtain the TF-IDF feature vector of each fault problem description text. Then, PCA is used to reduce the dimension of the TF-IDF feature vectors of multiple fault problem description texts, and the reduced TF-IDF feature vectors of multiple fault problem description texts and the corresponding fault solving measures of each fault problem description text are input into the decision tree model for training to obtain an initial decision tree.
[0059] In practical applications, a new initial decision tree can be generated every other month (using the historical fault work orders solved in the previous month for training) to ensure the timeliness and decision accuracy of the initial decision tree.
[0060] Step S2, identifying a core fault work order in the multiple fault work orders corresponding to the target fault type.
[0061] The target fault type can be understood as any one of all fault types involved in a business scenario. The business scenario can be a software application scenario, and all fault types involved in the business scenario can include logical fault types, computing fault types, data fault types, interface fault types, resource leakage fault types, etc.
[0062] It should be understood that the above initial decision tree is a complex decision tree that can be used to solve fault work orders of all fault types involved in a business scenario (in the case that the fault knowledge base records fault work orders and their solutions corresponding to all fault types).
[0063] The multiple fault work orders corresponding to the target fault type can be understood as a number of fault work orders corresponding to the target fault type received within a set processing period (such as ten minutes).
[0064] In some embodiments, the identifying a core fault work order in the multiple fault work orders corresponding to the target fault type comprises:
[0065] In the multiple fault work orders corresponding to the target fault type, feature extraction is performed on each fault work order to obtain a plurality of feature vectors;
[0066] In the multiple fault work orders corresponding to the target fault type, the vector similarity of the feature vectors between each fault work order and other fault work orders is calculated to obtain a plurality of vector similarity values corresponding to each fault work order;
[0067] summing up the plurality of vector similarity values corresponding to each fault work order to obtain a vector similarity total value corresponding to each fault work order;
[0068] Among the plurality of fault work orders corresponding to the target fault type, the fault work order corresponding to the highest vector similarity total value is identified as the core fault work order.
[0069] Wherein, the feature extraction of the fault work order should be understood as the semantic feature (such as through the word embedding algorithm) extraction of the fault problem description text of the fault work order. The vector similarity value of the feature vectors between different fault work orders can be the Euclidean distance / cosine similarity / Pearson correlation coefficient between the feature vectors of different fault work orders.
[0070] It should be noted that if the total number of the plurality of fault work orders corresponding to the target fault type is set as sum, the total number of the plurality of vector similarity values corresponding to each fault work order is sum-1.
[0071] Based on the above settings, through vector extraction and vector similarity calculation and summation, the core degree of each fault work order in the plurality of fault work orders corresponding to the target fault type can be accurately evaluated (the higher the vector similarity total value of the fault work order, the higher the core degree of the fault work order), and then the fault work order with the highest core degree is selected as the core fault work order representing the plurality of fault work orders corresponding to the target fault type, so as to ensure that the target decision tree obtained by pruning can effectively deal with the fault processing requirements of the plurality of fault work orders corresponding to the target fault type, and reduce the number of fault work orders relied on by subsequent pruning operation, thereby reducing the resource consumption and time consumption of the pruning process.
[0072] Step S3, pruning the initial decision tree based on the core fault work order to obtain a target decision tree.
[0073] Wherein, the number of nodes of the target decision tree is less than the number of nodes of the initial decision tree.
[0074] In some embodiments, the pruning of the initial decision tree based on the core fault work order to obtain a target decision tree comprises:
[0075] associating and analyzing each non-terminal node in the initial decision tree with the core fault work order to determine a retention index of each non-terminal node;
[0076] According to the pre-set retention threshold and the retention index of each non-terminal node, the initial decision tree is pruned to obtain a pruned decision tree;
[0077] performing similarity analysis on each non-terminal node in the pruned decision tree to determine a plurality of node similarity indexes of each non-terminal node in the pruned decision tree;
[0078] performing node fusion on each non-terminal node in the pruned decision tree according to the plurality of node similarity indexes of each non-terminal node in the pruned decision tree to obtain the target decision tree.
[0079] In the above arrangement, in addition to pruning the initial decision tree based on the relevance between each non-terminal node in the initial decision tree and the core fault work order, the pruned decision tree (i.e., the pruned decision tree) is further subjected to node fusion processing to further reduce the number of nodes in the decision tree, thereby improving the overall efficiency of the decision tree in handling a plurality of fault work orders corresponding to a target fault type.
[0080] The retention index is used to represent the importance of the corresponding non-terminal node. The higher the retention index, the higher the importance of the corresponding non-terminal node in handling a plurality of fault work orders corresponding to a target fault type, and the more important it is to retain.
[0081] The retention index of each non-terminal node in the pruned decision tree is greater than or equal to the retention threshold (which can be set to 0.75 based on experience).
[0082] It should be noted that during the pruning process, if the retention index of a non-terminal node is less than the retention threshold, not only will the non-terminal node be pruned, but also the nodes that expand downward from the non-terminal node will be pruned.
[0083] The number of nodes in the target decision tree is less than the number of nodes in the pruned decision tree.
[0084] During the node fusion process, when the node similarity index (with a value of 0-1, the larger the value, the more similar the two non-terminal nodes) between two non-terminal nodes is greater than a set similarity threshold (such as 0.85 based on experience), one of the two non-terminal nodes can be randomly selected to be retained, and the other non-terminal node can be deleted to complete the node fusion operation of the two non-terminal nodes. In this process, the superior and inferior nodes of the deleted non-terminal node are inherited by the retained non-terminal node.
[0085] The association analysis of each non-terminal node in the initial decision tree with the core fault work order to determine the retention index of each non-terminal node includes:
[0086] Obtaining a work order association index and a node association index of each non-terminal node in the initial decision tree, the work order association index indicating the degree of correlation between the corresponding non-terminal node and the core fault work order, and the node association index indicating the degree of correlation between the corresponding non-terminal node and its adjacent non-terminal node.
[0087] According to the work order association index, the node association index and the node depth of each non-terminal node in the initial decision tree, a retention index of each non-terminal node is determined.
[0088] In the above setting, the correlation between the non-terminal node and the core fault work order is analyzed in order to evaluate the content correlation between the non-terminal node and the core fault work order, that is, to directly judge from the content dimension whether the corresponding non-terminal node can be used for the fault handling of the several fault work orders represented by the core fault work order. The correlation between the non-terminal node and its adjacent non-terminal node is analyzed in order to evaluate the logical coherence of the region where the non-terminal node is located, that is, by judging the correlation between the corresponding non-terminal node and its adjacent non-terminal node (i.e. the last non-terminal node in the decision tree), it is inferred whether the corresponding non-terminal node and its adjacent non-terminal node are continuous in logic, and then it is judged whether the corresponding non-terminal node can be used for the fault handling of the several fault work orders represented by the core fault work order. As for the analysis of the node depth of the non-terminal node, it is to adapt to the situation that the deeper the node depth, the more specific and localized the corresponding fault information content is, so as to evaluate whether the non-terminal node can be effectively used for the fault handling of the several fault work orders represented by the core fault work order from the specific degree of the fault information content corresponding to the non-terminal node.
[0089] It should be noted that since the calculation of the retention index involves each non-terminal node in the initial decision tree, and the subsequent pruning process will prune all non-terminal nodes that do not have retention value, therefore, the judgment of the logical coherence of the region where the non-terminal node is located only needs to analyze the non-terminal node and its adjacent non-terminal node, and does not need to perform correlation analysis on all non-terminal nodes on the logical chain where the non-terminal node is located. This can guarantee the accuracy of pruning while avoiding the problem of repeated calculation, reducing the resource consumption and time consumption when judging the logical coherence of the non-terminal node.
[0090] Exemplarily, the retention index of the A-th non-terminal node in the initial decision tree can be represented as:
[0091]
[0092] wherein, represents the work order association index of the A-th non-terminal node, represents the node association index of the A-th non-terminal node, represents the node depth of the A-th non-terminal node, represents a normalization function.
[0093] In some embodiments, the step of obtaining the work order association index of each non-terminal node in the initial decision tree comprises:
[0094] Analyze the semantic similarity between each phrase in the core fault work order and each non-terminal node in the initial decision tree to obtain multiple semantic similarity values corresponding to each non-terminal node in the initial decision tree.
[0095] In the initial decision tree, among the multiple semantic similarity values corresponding to each non-terminal node, the largest semantic similarity value is determined as the semantic target value corresponding to each non-terminal node in the initial decision tree;
[0096] Based on the information entropy of each non-terminal node in the initial decision tree and its corresponding semantic target value, the work order association index of each non-terminal node in the initial decision tree is determined.
[0097] In the above setup, semantic similarity is evaluated between non-terminal nodes and each phrase in the core fault work order. The work order association index of the non-terminal node is determined based on the maximum semantic similarity value and the information entropy of the non-terminal node, thus determining the degree of matching between the non-terminal node and the core fault work order at the semantic content level. A higher information entropy indicates a higher probability that the corresponding non-terminal node contains important information, and a stronger ability to support decision-making in the core fault work order, resulting in a higher degree of matching between the non-terminal node and the core fault work order at the semantic content level. Correspondingly, a higher maximum semantic similarity value indicates a higher probability that the non-terminal node matches a certain phrase in the core fault work order, and a higher degree of matching between it and the core fault work order at the semantic content level.
[0098] The information entropy of the aforementioned non-terminal node can be understood as the normalized value of the frequency of occurrence of the non-terminal node in the fault knowledge base.
[0099] For example, the retention index of the A-th non-terminal node in the initial decision tree It can be represented as:
[0100]
[0101] in, This represents the information entropy of the A-th non-terminal node. This indicates the A-th non-terminal node and the core fault work order. The semantic similarity value between phrases, where N is the total number of phrases included in the core fault work order, and max represents the maximum value function.
[0102] Furthermore, the semantic similarity value is determined based on the number of historical fault work orders associated with the corresponding non-terminal node, the number of historical fault work orders associated with the corresponding phrase, the degree of fault semantic similarity between the historical fault work orders associated with the corresponding non-terminal node and the historical fault work orders associated with the corresponding phrase, and the degree of handling semantic similarity between the historical fault work orders associated with the corresponding non-terminal node and the historical fault work orders associated with the corresponding phrase.
[0103] The association between the historical fault work order and the non-terminal node can be understood as that the fault problem description text of the historical fault work order includes the node content of the corresponding non-terminal node. Similarly, the association between the historical fault work order and the word group can be understood as that the fault problem description text of the historical fault work order includes the corresponding word group.
[0104] The fault semantic similarity between the historical fault work order corresponding to the non-terminal node and the historical fault work order corresponding to the word group can be quantified as: the semantic similarity value between the fault problem description texts of one historical fault work order corresponding to the non-terminal node and one historical fault work order corresponding to the word group (for example, the cosine similarity between the text vectors obtained after text vectorization processing by a sentence encoder such as a Sentence-BERT model is used as the semantic similarity value).
[0105] The disposal semantic similarity between the historical fault work order corresponding to the non-terminal node and the historical fault work order corresponding to the word group can be quantified as a binary value (1 or 0), which is 1 if the fault resolution measures between one historical fault work order corresponding to the non-terminal node and one historical fault work order corresponding to the word group are the same, and 0 if they are different.
[0106] For example, the semantic similarity value between the A-th non-terminal node in the initial decision tree and the q-th word group in the core fault work order can be represented as:
[0107]
[0108] Where exp represents the exponential function with the natural constant e as the base, represents the fault semantic similarity between the q-th historical fault work order associated with the A-th non-terminal node and the r-th historical fault work order associated with the word group, represents the disposal semantic similarity between the q-th historical fault work order associated with the A-th non-terminal node and the r-th historical fault work order associated with the word group, represents the number of historical fault work orders associated with the A-th non-terminal node, represents the number of historical fault work orders associated with the word group.
[0109] In some embodiments, the step of obtaining the node association index of each non-terminal node in the initial decision tree includes:
[0110] According to the position of each non-terminal node in the initial decision tree in the core fault work order and the position of its adjacent non-terminal node in the core fault work order, the node association index of each non-terminal node in the initial decision tree is determined.
[0111] In the above arrangement, the logical continuity between each non-terminal node and its adjacent non-terminal node is determined by analyzing the difference in position of each non-terminal node and its adjacent non-terminal node in the core fault ticket, so that the content distribution characteristics of the logically continuous different content appearing adjacent to each other in the fault problem description text of the core fault ticket are used to determine the logical continuity between each non-terminal node and its adjacent non-terminal node, which can make the determined node association index more accurate and reliable.
[0112] It should be noted that the non-terminal node adjacent to the non-terminal node is understood to be the last non-terminal node of the non-terminal node in the decision tree (directly connected to each other).
[0113] Exemplarily, the node association index of the A th non-terminal node in the initial decision tree may be expressed as:
[0114]
[0115] wherein exp represents the exponential function with the natural constant e as the base, represents the position (i.e., the appearance order) of the A th non-terminal node in the fault problem description text of the core fault ticket, represents the position of the adjacent non-terminal node of the A th non-terminal node in the fault problem description text of the core fault ticket.
[0116] It should be noted that when the non-terminal node does not appear in the fault problem description text of the core fault ticket, the position of the non-terminal node in the fault problem description text of the core fault ticket is considered to be infinite.
[0117] In some embodiments, the similarity analysis of each non-terminal node in the pruned decision tree to determine a plurality of node similarity indexes of each non-terminal node in the pruned decision tree comprises:
[0118] obtaining a source semantic similarity index of the first non-terminal node and the second non-terminal node at each depth, wherein the first non-terminal node and the second non-terminal node are any two different non-terminal nodes in the pruned decision tree, and the source semantic similarity index is used to represent the semantic similarity degree between the two upper nodes of the first non-terminal node and the second non-terminal node at the corresponding depth;
[0119] determining a node similarity index of the first non-terminal node to the second non-terminal node according to the source semantic similarity index of the first non-terminal node and the second non-terminal node at each depth, the number of upper nodes of the first non-terminal node, the number of upper nodes of the second non-terminal node, and the semantic similarity value between the first non-terminal node and the second non-terminal node.
[0120] The node similarity index is negatively correlated with the number of upper nodes of the corresponding non-terminal node, positively correlated with the corresponding source semantic similarity index, and positively correlated with the corresponding semantic similarity value.
[0121] The source semantic similarity index can be understood as a semantic similarity value between the upper nodes of the first non-terminal node at a certain depth and the upper nodes of the second non-terminal node at a certain depth. For example, the first non-terminal node at the kp depth and the second non-terminal node at the kp depth are respectively vectorized by the Sentence-BERT model, and the cosine similarity between the two vectors obtained can be used as the source semantic similarity index of the first non-terminal node and the second non-terminal node at the kp depth.
[0122] It should be noted that the depth corresponding to the source semantic similarity index is not only the upper depth of the depth of the first non-terminal node, but also the upper depth of the depth of the second non-terminal node.
[0123] The semantic similarity value between the first non-terminal node and the second non-terminal node can be obtained according to the above-mentioned process of obtaining a plurality of semantic similarity values corresponding to each non-terminal node in the initial decision tree. To avoid repetition, it will not be repeated here.
[0124] Exemplarily, if the first non-terminal node and the second non-terminal node are the Bth non-terminal node and the Cth non-terminal node in the pruned decision tree, respectively, the node similarity index of the first non-terminal node to the second non-terminal node can be expressed as: It can be expressed as:
[0125]
[0126] wherein, represents a minimum value function, represents the number of upper nodes of the Bth non-terminal node in the pruned decision tree, represents the number of upper nodes of the Cth non-terminal node in the pruned decision tree, represents the semantic similarity between the Bth non-terminal node and the Cth non-terminal node in the pruned decision tree, represents the semantic similarity between the upper nodes (indicated by ) of the Bth non-terminal node at the jth depth and the upper nodes (indicated by ) of the Cth non-terminal node at the jth depth in the pruned decision tree.
[0127] Step S4, according to the target decision tree, a plurality of fault work orders corresponding to the target fault type are respectively processed to obtain work order handling information of each fault work order.
[0128] Specifically, the text features of the processed fault work order (i.e., text cleaning, vector conversion using the TF-IDF algorithm, and vector dimension reduction using the PCA algorithm) will be used as the input of the target decision tree, and the result output by the target decision tree after reasoning will be used as the work order handling information of the corresponding fault work order, which can include the recommended processing scheme of the fault work order, the contact information of the relevant technical support personnel, and the estimated processing time, etc.
[0129] Subsequently, the work order handling information can be timely copied to the relevant responsible person or technical team through email, short message or workflow notification, etc., to ensure that the corresponding fault work order can be processed in the shortest time.
[0130] In summary, the application identifies the core fault work order in the multiple fault work orders corresponding to the target fault type, prunes the initial decision tree based on the fault knowledge base using the core fault work order to obtain a target decision tree with fewer nodes, and uses the more lightweight target decision tree to process the multiple fault work orders corresponding to the target fault type in batches, thereby reducing the overall time consumption of the multiple fault work orders corresponding to the target fault type when handling, and improving the overall response efficiency of a large number of fault work orders.
[0131] The application provides a full-automatic work order processing information generation and pushing system based on a fault knowledge base, please refer to Figure 2 which shows a structure schematic diagram of a full-automatic work order processing information generation and pushing system 200 based on a fault knowledge base according to an embodiment of the application, and the system comprises:
[0132] A decision tree acquisition module 201 is configured to acquire an initial decision tree, wherein the initial decision tree is constructed based on a fault knowledge base, the end layer node of the initial decision tree is used for handling a fault work order, the non-end node in the initial decision tree is used for describing a fault problem corresponding to the fault work order, and the non-end node is a node other than the end layer node in the decision tree.
[0133] A core identification module 202 is configured to identify a core fault work order in multiple fault work orders corresponding to a target fault type.
[0134] A decision tree pruning module 203 is configured to prune the initial decision tree based on the core fault work order to obtain a target decision tree, wherein the number of nodes of the target decision tree is less than that of the initial decision tree.
[0135] A work order handling module 204 is configured to handle the multiple fault work orders corresponding to the target fault type according to the target decision tree to obtain the work order handling information of each fault work order.
[0136] It should be noted that the system provided in the above embodiment is only used as an example for the division of the above functional modules, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the automatic work order processing information generation and pushing system based on the fault knowledge base and the automatic work order processing information generation and pushing method based on the fault knowledge base provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0137] The embodiment of the present application also provides an electronic device. Please refer to Figure 3 , the electronic device can include a processor 301, a memory 302, and a program 3021 stored in the memory 302 and executable on the processor 301.
[0138] The program 3021 is executed by the processor 301 to implement Figure 1 any step in the corresponding method embodiment and achieve the same beneficial effects, which will not be repeated here.
[0139] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiment method can be completed by program instructions related to hardware, and the program can be stored in a readable medium.
[0140] The embodiment of the present application also provides a readable storage medium, and the readable storage medium stores a computer program, and the computer program is executed by a processor to implement Figure 1 any step in the corresponding method embodiment, and can achieve the same technical effects, to avoid repetition, which will not be repeated here.
[0141] The computer readable storage medium of the embodiment of the present application can adopt any combination of one or more computer readable media. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may, for example, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples (non-exhaustive list) of the computer readable storage medium include: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus.
[0142] Computer readable signal media can include a propagated data signal with computer readable program code embodied therein. For example, a propagated signal can be an electromagnetic signal, an optical signal, and / or any suitable combination thereof. Computer readable program code embodied on a computer readable medium can direct a computer to function in a particular manner, such as implementing an embodiment of the present application.
[0143] Program code embodied on a computer readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0144] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). These network connections are
[0145] The embodiment of the present application also provides a computer program product, which, when running on a computer, causes the computer to execute the above related steps, so as to realize the automatic work order processing information generation and pushing method based on a fault knowledge base provided by the above embodiment.
[0146] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are also possible or can be advantageous.
[0147] Each of the embodiments in the specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments.
Claims
1. A method for generating and pushing information based on a full-automatic work order processing knowledge base, characterized in that, The method comprises: obtaining an initial decision tree, the initial decision tree being constructed based on a fault knowledge base, a terminal node of the initial decision tree being used for handling a fault work order, and a non-terminal node in the initial decision tree being used for describing a fault problem corresponding to the fault work order, the non-terminal node being a node other than the terminal node in the decision tree; identifying a core fault work order from a plurality of fault work orders corresponding to a target fault type; pruning the initial decision tree based on the core fault work order to obtain a target decision tree, the target decision tree having a smaller number of nodes than the initial decision tree; processing the plurality of fault work orders corresponding to the target fault type according to the target decision tree to obtain work order handling information of each of the fault work orders; and the pruning of the initial decision tree based on the core fault work order to obtain the target decision tree comprises: performing correlation analysis on each non-terminal node in the initial decision tree and the core fault work order to determine a retention index of each non-terminal node; pruning the initial decision tree based on a preset retention threshold and the retention index of each non-terminal node to obtain a pruned decision tree; performing similarity analysis on each non-terminal node in the pruned decision tree to determine a plurality of node similarity indexes of each non-terminal node in the pruned decision tree; performing node fusion on each non-terminal node in the pruned decision tree based on the plurality of node similarity indexes of each non-terminal node in the pruned decision tree to obtain the target decision tree; the correlation analysis on each non-terminal node in the initial decision tree and the core fault work order to determine the retention index of each non-terminal node comprises: obtaining a work order correlation index and a node correlation index of each non-terminal node in the initial decision tree, the work order correlation index indicating a correlation degree between the corresponding non-terminal node and the core fault work order, and the node correlation index indicating a correlation degree between the corresponding non-terminal node and an adjacent non-terminal node thereof; determining the retention index of each non-terminal node based on the work order correlation index, the node correlation index, and a node depth of each non-terminal node in the initial decision tree; the determination of the retention index of each non-terminal node based on the work order correlation index, the node correlation index, and the node depth of each non-terminal node in the initial decision tree comprises: calculating a product of the work order correlation index and the node correlation index of each non-terminal node in the initial decision tree to obtain a node effective index of each non-terminal node in the initial decision tree; calculating a ratio of the node effective index and the node depth of each non-terminal node in the initial decision tree to obtain the retention index of each non-terminal node.
2. The fully automated trouble knowledge base based incident processing information generation push method according to claim 1, characterized in that, The obtaining of the work order correlation index of each non-terminal node in the initial decision tree comprises: analyzing a semantic similarity degree between each phrase of the core fault work order and each non-terminal node in the initial decision tree to obtain a plurality of semantic similarity values corresponding to each non-terminal node in the initial decision tree; determining a maximum semantic similarity value as a semantic target value corresponding to each non-terminal node in the initial decision tree from the plurality of semantic similarity values corresponding to each non-terminal node in the initial decision tree. According to the information entropy of each non-terminal node in the initial decision tree and the semantic target value corresponding to the non-terminal node, a ticket association index of each non-terminal node in the initial decision tree is determined. 3.The method of claim 2, wherein, The semantic similarity value is determined based on the number of historical fault tickets associated with the corresponding non-terminal node, the number of historical fault tickets associated with the corresponding word group, the fault semantic similarity degree between the historical fault tickets associated with the corresponding non-terminal node and the historical fault tickets associated with the corresponding word group, and the treatment semantic similarity degree between the historical fault tickets associated with the corresponding non-terminal node and the historical fault tickets associated with the corresponding word group.
4. The fully automated trouble knowledge base based information generation push method of claim 1, wherein, The step of obtaining the node association index of each non-terminal node in the initial decision tree comprises: According to the position of each non-terminal node in the initial decision tree in the core fault ticket and the position of the adjacent non-terminal node of the non-terminal node in the core fault ticket, a node association index of each non-terminal node in the initial decision tree is determined.
5. The fully automated trouble knowledge base based information generation push method for work order processing according to claim 1, wherein, The similarity analysis of each non-terminal node in the pruned decision tree is performed to determine a plurality of node similarity indexes of each non-terminal node in the pruned decision tree, comprising: obtaining a source semantic similarity index of a first non-terminal node and a second non-terminal node at each depth, wherein the first non-terminal node and the second non-terminal node are any two different non-terminal nodes in the pruned decision tree, and the source semantic similarity index is used to represent the semantic similarity degree between the first non-terminal node and the second non-terminal node at the corresponding depth between two upper nodes; determining a node similarity index of the first non-terminal node to the second non-terminal node according to the source semantic similarity index of the first non-terminal node and the second non-terminal node at each depth, the number of upper nodes of the first non-terminal node, the number of upper nodes of the second non-terminal node, and the semantic similarity value between the first non-terminal node and the second non-terminal node. 6.The method of claim 5, wherein, The node similarity index is negatively correlated with the number of upper nodes of the corresponding non-terminal node, the node similarity index is positively correlated with the corresponding source semantic similarity index, and the node similarity index is positively correlated with the corresponding semantic similarity value.
7. The fully automated trouble knowledge base based information generation push method of claim 1, wherein, The core fault ticket is identified in the plurality of fault tickets corresponding to the target fault type, comprising: In the plurality of fault tickets corresponding to the target fault type, feature extraction is performed on each fault ticket to obtain a plurality of feature vectors. In the plurality of fault tickets corresponding to the target fault type, the vector similarity of the feature vectors between each fault ticket and other fault tickets is calculated to obtain a plurality of vector similarity values corresponding to each fault ticket. The plurality of vector similarity values corresponding to each fault ticket are summed to obtain a vector similarity total value corresponding to each fault ticket. In the plurality of fault tickets corresponding to the target fault type, the fault ticket corresponding to the highest vector similarity total value is identified as the core fault ticket.
Citation Information
Patent Citations
Method and apparatus for determining root cause of fault
CN109672554A
Fault work order distribution method and fault work order management system
CN109858746A