An AI analysis-based fault repair system work order tracking and tracing management method and platform
By comparing the distance of the fault characteristics evolution during the quantification process of work orders with historical paths in the fault reporting system, deviations from the maintenance path are automatically identified, which solves the shortcomings of work order tracking and traceability management in the existing technology and achieves accurate traceability and efficient management.
Patent Information
- Application Number
- CN202611320169.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-20
AI Technical Summary
Existing fault reporting systems lack quantitative analysis of fault characteristics during the workflow in work order tracking and source tracing management. This makes it difficult for managers to accurately identify deviations from the repair path, and the reliance on manual review is time-consuming, labor-intensive, and prone to introducing experience differences, making it difficult to meet the needs of refined tracking and source tracing in large-scale scenarios.
By acquiring the flow node sequence and maintenance record text of the target work order, extracting the fault feature vector, calculating the fault evolution distance sequence, and comparing it with the feature evolution sequence of historical work orders, quantifying the path deviation, automatically identifying the source target node, and generating review scheduling instructions, the precise source traceability management of work orders is achieved.
It enables precise quantitative tracking of the work order maintenance process, improves the automation level and objectivity of work order traceability, reduces reliance on manual intervention, and meets the needs of refined tracking and traceability in large-scale scenarios.
Smart Images

Figure CN123140922A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment operation and maintenance management technology, specifically to a fault reporting system work order tracking, source tracing management method and platform based on AI analysis. Background Technology
[0002] With the advancement of information technology infrastructure, various industries have widely adopted fault reporting systems to manage equipment operation and maintenance. Existing fault reporting systems primarily rely on fixed workflow nodes to issue, process, and transfer work orders, collecting records from maintenance personnel at each node. To monitor maintenance progress, current work order tracking methods typically depend on time node comparisons; that is, a surface alarm is triggered when a work order exceeds its time limit at a certain workflow stage.
[0003] However, in complex real-world maintenance scenarios, troubleshooting complex faults often requires traversing multiple workflow nodes and even repeatedly transferring between different departments. Traditional tracking and management methods only provide superficial monitoring of process status, failing to deeply analyze the maintenance record text accumulated during the work order's workflow. When work order processing is hindered or the maintenance direction deviates, existing technologies lack quantitative analysis methods for the evolution of fault characteristics between upstream and downstream nodes. They cannot deeply compare these findings with the normal workflow experience of a vast number of completed historical work orders, making it difficult for managers to identify at which specific stage the work order deviated from the correct maintenance path. Furthermore, when tracing work order anomalies, existing technologies often rely on manual review of records for subjective analysis. Therefore, this approach is not only time-consuming and labor-intensive but also highly susceptible to biases in tracing results due to individual differences in experience, making it difficult to meet the needs of refined tracking and accurate tracing of work orders in large-scale repair scenarios. Summary of the Invention
[0004] In view of the aforementioned problems, this application is proposed to provide an AI-based fault reporting system work order tracking and tracing management method and platform that overcomes or at least partially solves the aforementioned problems, including:
[0005] The above-mentioned objective of this application is achieved through the following technical solution:
[0006] A method for work order tracking and source tracing management in a fault reporting system based on AI analysis, comprising the following steps:
[0007] Obtain the current flow node sequence of the target work order, and extract the maintenance record text corresponding to each flow node in the flow node sequence of the target work order;
[0008] Extract the fault feature vector from the maintenance record text, and calculate the distance between the fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence, thereby generating the fault evolution distance sequence of the target work order.
[0009] Obtain a set of historical work orders, extract historical path data that matches the target work order, and generate a historical feature evolution sequence based on the historical path data;
[0010] By comparing the fault evolution distance sequence with the historical feature evolution sequence, the path deviation of each flow node in the flow node sequence is calculated;
[0011] The flow nodes that meet the deviation conditions in the flow node sequence are identified as the source target nodes, and corresponding review scheduling instructions are generated based on the source target nodes.
[0012] The second objective of this invention is achieved through the following technical solution:
[0013] A fault reporting system work order tracking and traceability management platform based on AI analysis, comprising:
[0014] The maintenance text extraction module is used to obtain the current flow node sequence of the target work order and extract the maintenance record text corresponding to each flow node in the flow node sequence of the target work order;
[0015] The first sequence generation module is used to extract the fault feature vector from the maintenance record text, and calculate the distance between the fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence, so as to generate the fault evolution distance sequence of the target work order.
[0016] The second sequence generation module is used to obtain a set of historical work orders, extract historical path data that matches the target work order, and generate a historical feature evolution sequence based on the historical path data.
[0017] The path deviation calculation module is used to compare the fault evolution distance sequence with the historical feature evolution sequence and calculate the path deviation of each flow node in the flow node sequence.
[0018] The scheduling instruction generation module is used to identify the flow nodes in the flow node sequence that meet the deviation conditions as the source target nodes, and generate corresponding review scheduling instructions based on the source target nodes.
[0019] This application also relates to a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described AI-based fault reporting system work order tracking and source tracing management method.
[0020] This application also relates to a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method for work order tracking and source tracing management of a fault reporting system based on AI analysis.
[0021] This application has the following advantages:
[0022] In the embodiments of this application, a fault reporting system work order tracking and source tracing management method and platform based on AI analysis is provided. By quantifying the evolution distance of fault characteristics and comparing it with historical paths, accurate source tracing is achieved. It has the effect of quantitatively tracking the evolution of fault characteristics in the work order maintenance process, accurately identifying the deviation links in the maintenance path, thereby improving the automation level and objective accuracy of work order source tracing. Attached Figure Description
[0023] Figure 1 This is a flowchart of an embodiment of a fault reporting system work order tracking and source tracing management method based on AI analysis, as proposed in this application.
[0024] Figure 2 This is a schematic block diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment shall be considered part of the specification.
[0028] First, some nouns or terms that appear in the description of the embodiments of this application shall be interpreted as follows:
[0029] A target work order refers to a specific fault repair work order that needs to be tracked, analyzed, and managed. It has a unique identifier in the fault reporting system and carries information about the entire process from fault occurrence to resolution.
[0030] A workflow node sequence refers to a series of processing steps or departments that a target work order undergoes from its creation to its current status in a fault reporting system. Each node in the workflow node sequence represents a record of the work order being processed or transferred at a specific stage, such as "repair request acceptance," "on-site investigation," "parts replacement," and "testing and verification," reflecting the actual processing path of the work order.
[0031] Maintenance record text refers to unstructured or semi-structured text descriptions of information such as fault phenomena, troubleshooting process, maintenance operations, and replaced parts, which are automatically recorded by maintenance personnel or the system when the work order is transferred to each flow node. It serves as the core data source for analyzing the evolution of fault characteristics.
[0032] Fault feature vectors are multi-dimensional numerical representations formed by abstracting and quantifying fault-related information recorded in maintenance records through in-depth processing and analysis. They can capture key features such as fault type, severity, involved components, and operational behavior, making them easy to calculate and compare.
[0033] The fault evolution distance sequence is a sequence composed of the distance values of the fault feature vectors between adjacent flow nodes of the target work order arranged in the flow order. It quantifies the degree of change of fault features at each step in the work order flow process. The larger the distance value, the more significant the evolution or change of fault features between adjacent nodes.
[0034] The historical work order collection refers to a large amount of historical fault work order data that has been processed and archived in the fault reporting system. It usually contains various paths and maintenance records from normal resolution to abnormal handling, and is the basis for building normal fault evolution patterns and identifying anomalies.
[0035] Historical path data refers to the flow path information of completed work orders that have similar fault types, equipment models or initial symptoms to the target work order, selected from the historical work order set. It is used to construct the expected or normal evolution mode of the target work order.
[0036] Historical feature evolution sequence refers to a sequence formed by analyzing the maintenance record text corresponding to each flow node of historical work orders based on historical path data and calculating the distance value of fault feature vectors between adjacent nodes. It represents the normal or typical evolution mode of work order fault features under similar fault scenarios.
[0037] Path deviation is a quantitative indicator that measures the degree of difference between the fault characteristics evolution of a target work order at a specific workflow node and its historical normal evolution pattern. Generally, the larger the deviation value, the more likely there is an anomaly in the work order processing at the corresponding node or a deviation from the expected maintenance path.
[0038] The traceability target node refers to the flow node in the flow node sequence whose path deviation meets the preset deviation conditions. Usually, the traceability target node is identified as a key link in the work order processing process that may have problems and requires further review or intervention.
[0039] Review and scheduling instructions refer to a series of operational instructions or suggestions generated for the traceability target node. Specifically, they may include information such as the qualification requirements for review personnel, review content prompts, and scheduling priorities, aiming to guide managers to accurately intervene and handle abnormal nodes.
[0040] In one embodiment, such as Figure 1 As shown, this application discloses a method for work order tracking and source tracing management in a fault reporting system based on AI analysis, which specifically includes the following steps:
[0041] S10: Obtain the current flow node sequence of the target work order, and extract the maintenance record text corresponding to each flow node in the flow node sequence of the target work order;
[0042] In the embodiments of this application, in actual operation, the fault reporting system records every processing step a work order goes through from its creation to its current status, such as "repair acceptance," "on-site inspection," "component replacement," and "system debugging." These steps constitute the sequence of workflow nodes for the work order. For each workflow node, the system stores the corresponding maintenance record text. This maintenance record text may be manually entered by maintenance personnel or automatically generated by the system. For example, the workflow history of the target work order can be directly queried from the database, and the text fields associated with each node can be obtained one by one. Another approach is to call the API interface of the fault reporting system to obtain the workflow log of the work order and parse the maintenance record information contained in the log.
[0043] S20: Extract the fault feature vector from the maintenance record text, and calculate the distance between the fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence, and generate the fault evolution distance sequence of the target work order.
[0044] In the embodiments of this application, maintenance record text is typically in natural language form and needs to be converted into a computable numerical representation. One implementation method is to use keyword matching, pre-setting a set of fault-related keywords, and statistically analyzing the frequency of these keywords in each maintenance record text to form a word frequency vector as a fault feature vector. For example, for a record of "device cannot start, check the power cord," keywords such as "device," "start," and "power cord" can be extracted. Then, the changes in fault features are quantified by calculating the Euclidean distance or Manhattan distance between these word frequency vectors of adjacent flow nodes. Another implementation method is to use a pre-trained general word vector model to map each word in the maintenance record text into a vector, and then average or sum all the word vectors in the text to obtain the fault feature vector of the maintenance record text. Subsequently, the cosine similarity of these averaged or summed vectors between adjacent nodes is calculated and converted into a distance value.
[0045] S30: Obtain the historical work order set, extract the historical path data that matches the target work order, and generate a historical feature evolution sequence based on the historical path data;
[0046] In the embodiments of this application, to determine whether the evolution of a target work order is normal, it is necessary to refer to a large number of completed historical work orders. One way to obtain a set of historical work orders is to export all closed work order records from the historical database of the fault reporting system. When extracting historical path data, text matching or classification filtering can be performed based on attributes such as the initial fault description, equipment type, or repair time range of the target work order to find historical work orders similar to the target work order. For example, if the target work order is about "server downtime", then all historical work orders that also involve "server downtime" are filtered out. Then, for the matched historical work orders, the fault evolution distance sequence is generated according to the above-described method of extracting fault feature vectors and calculating distance values, and the distance sequences of similar historical work orders are averaged or aggregated to generate a historical feature evolution sequence representing the normal evolution mode.
[0047] S40: Compare the fault evolution distance sequence with the historical feature evolution sequence, and calculate the path deviation of each flow node in the flow node sequence;
[0048] In the embodiments of this application, after obtaining the fault evolution distance sequence and historical feature evolution sequence of the target work order, it is necessary to compare the two to quantify the degree of deviation. One comparison method is to compare the two sequences point by point along the time or node dimension and calculate the absolute difference of the distance values at corresponding positions. For example, if the evolution distance of the target work order in the first step is X, and the historical average evolution distance is Y, then the deviation of that node can be defined as |XY|. Another comparison method is to use a sequence alignment algorithm to calculate the best matching path between the two sequences, allowing for a certain time or node misalignment, and evaluate the overall deviation based on the cumulative distance of the path, and then distribute the overall deviation proportionally to each node.
[0049] In a preferred embodiment, the specific implementation of the above step "comparing the fault evolution distance sequence with the historical feature evolution sequence and calculating the path deviation of each flow node in the flow node sequence" is as follows:
[0050] First, considering that in actual business operations, there may be operational jumps or redundancies in the flow steps between the target work order and the historical work order, this embodiment uses a sequence alignment algorithm to align and match the fault evolution distance sequence with the historical feature evolution sequence, such as the Dynamic Time Warping (DTW) algorithm or the Needleman-Wunsch algorithm, so as to accurately determine the historical distance value corresponding to each distance value in the fault evolution distance sequence.
[0051] Furthermore, the absolute value of the difference between each distance value and the corresponding historical distance value is calculated. This absolute value of the difference represents the evolutionary deviation between two adjacent flow nodes in business terms, that is, the severity of the current diagnosis or maintenance step deviating from the historical standard operating procedure flow.
[0052] Meanwhile, to accurately and smoothly characterize the deviation of individual nodes, the inflow evolution deviation value corresponding to each tested flow node in the flow node sequence is extracted, i.e., the evolution deviation value pointing to the previous step of the node, and the outflow deviation value, i.e., the evolution deviation value pointing to the next step of the node. The average of the inflow evolution deviation value and the outflow deviation value is calculated as the local deviation feature of the tested flow node. In particular, if the tested flow node is the first node or the last node, the unique inflow evolution deviation value or outflow deviation value associated with it is directly used as the local deviation feature. Based on this, the random errors caused by single-step operation can be effectively eliminated.
[0053] Furthermore, a location penalty mechanism based on workflow depth can be introduced. Specifically, in actual operation and maintenance scenarios, the deeper the work order is routed to—that is, the later the maintenance stage—the more exponentially the trial-and-error costs, wasted time, and secondary impacts on the business system will increase if a deviation or misjudgment occurs. Therefore, the workflow position of the node to be tested in the workflow node sequence is obtained, for example, the current node is the 4th node, and the ratio of the workflow position to the total length of the workflow node sequence is calculated, for example, a total of 5 nodes, to obtain the depth ratio coefficient, which is 0.8 in this case. Subsequently, the exponent value of the depth ratio coefficient is calculated with the natural constant as the base, and used as the location penalty weight.
[0054] Finally, the location penalty weight is multiplied by the local deviation feature to obtain the path deviation degree of the flow node to be tested. Based on this, the same level of operational anomaly can be assigned a larger path deviation degree when it occurs at the end of the work order processing, thereby improving the alarm sensitivity of the traceability system at key nodes.
[0055] S50: Identify the flow nodes in the flow node sequence that meet the deviation conditions as the source target nodes, and generate corresponding review scheduling instructions based on the source target nodes.
[0056] In the embodiments of this application, after calculating the path deviation of each flow node, a standard needs to be set to identify abnormal nodes. One way to set the deviation condition is to preset a fixed threshold. For example, any node whose path deviation exceeds the threshold is marked as a source target node. For example, if the threshold is set to 0.5, then a node with a deviation of 0.6 will be identified as a source target node. Another way is to sort the deviations of all nodes and select the N nodes with the highest deviations as source target nodes. Once the source target nodes are determined, a corresponding review scheduling instruction can be generated. This review scheduling instruction may include a simple text prompt, such as "Please review the maintenance record of node X", or specify a default reviewer or the corresponding reviewer to handle the task.
[0057] For example, as a specific implementation method, suppose a work order for "Server A network interruption" is created in a fault reporting system. During its workflow, this work order sequentially passes through four nodes: "Report Acceptance," "Network Troubleshooting," "Hardware Check," and "System Configuration Adjustment." Simultaneously, at each node, the maintenance personnel fill out a maintenance record text.
[0058] First, the system obtains the workflow sequence of the target work order, namely "Repair Request Acceptance" → "Network Troubleshooting" → "Hardware Inspection" → "System Configuration Adjustment". Simultaneously, it extracts the corresponding repair record text for each node. For example, the "Repair Request Acceptance" node record is "User reports server A's network is down"; the "Network Troubleshooting" node record is "Network cable connection checked, gateway unreachable, suspected network card malfunction"; the "Hardware Inspection" node record is "Network card replaced, malfunction persists, check server internal connections"; and the "System Configuration Adjustment" node record is "Operating system network configuration error found, restored to normal after reconfiguration".
[0059] Based on this, the system processes the maintenance record text and extracts fault feature vectors. For example, using a pre-defined keyword dictionary, it transforms "User reports server A's network is down" into vector V1, "Checked network cable connection is normal, ping fails to reach gateway, suspected network card failure" into vector V2, "Replaced network card, fault persists, checked server internal connections" into vector V3, and "Found operating system network configuration error, reconfigured and restored to normal" into vector V4. Then, based on the flow order, the system calculates the distance between fault feature vectors of adjacent nodes. For example, it calculates the distance D between V1 and V2. 12 The distance D between V2 and V3 23 The distance D between V3 and V4 34 Therefore, the fault evolution distance sequence of the target work order can be generated as [D]. 12 D 23 D 34 The fault evolution distance sequence quantifies the evolution of the fault from "network not working" to "suspected network card" to "replacing the network card is ineffective" and finally to "system configuration error".
[0060] Simultaneously, the system acquires a set of historical work orders. By matching the initial fault description of the target work order, it can filter out a large number of resolved work orders related to "server network failure" from the past. Further, the system extracts the workflow and maintenance records of these historical work orders, forming historical path data. Subsequently, the system performs the same fault feature vector extraction and distance calculation on the historical path data as on the target work order, and aggregates them to generate a historical feature evolution sequence representing the normal resolution path of "server network failure," such as [HD]. 12 HD 23 HD 34 This historical feature evolution sequence reflects the typical feature change pattern of server network failures from discovery to resolution under normal circumstances.
[0061] Based on this, the system compares the fault evolution distance sequence [D] of the target work order. 12 D 23 D34 ] and historical feature evolution sequence [HD 12 HD 23 HD 34 ] Calculate the path deviation of each flow node in the flow node sequence. For example, calculate D 12 With HD 12 The difference value is the deviation P1 of node 1, D 23 With HD 23 The difference value is the deviation P2 of node 2, D 34 With HD 34 The difference is used to obtain the deviation P3 of node 3. Assuming the calculation results show that the values of P1 and P2 are small, while the value of P3 is significantly large, it indicates that in the evolution from "repair acceptance" to "network troubleshooting" and from "network troubleshooting" to "hardware inspection", the changes in the fault characteristics of the target work order are basically consistent with historical experience. However, in the evolution from "hardware inspection" to "system configuration adjustment", the changes in fault characteristics are significantly different from historical experience.
[0062] Finally, the system identifies the nodes in the flow node sequence that meet the deviation conditions as the source target nodes and generates corresponding review scheduling instructions based on these target nodes. Assume the system sets a dynamic deviation threshold, and P3 exceeds this threshold. Therefore, the "Hardware Check" node is identified as the source target node. The system will generate a review scheduling instruction based on this target node, for example: "Please review the 'Hardware Check' node. This node has a high degree of deviation in its fault evolution, which may indicate misjudgment or improper operation. It is recommended that a senior network engineer conduct the review, focusing on the diagnostic logic after the hardware check." This instruction is sent to the administrator or designated reviewer.
[0063] Through the above process, the solution in this embodiment can identify potential anomalies in the "hardware inspection" stage of a work order. For example, if a repair technician fails to correctly diagnose an operating system configuration problem after replacing a network card, the work order may waste time and resources on unnecessary hardware replacements. Therefore, in this scenario, instead of relying on manual review of each work order, quantitative analysis and historical comparison can be used to accurately pinpoint the problem area, improving the efficiency and accuracy of work order tracking and tracing.
[0064] Based on the above examples, existing fault reporting systems primarily rely on time node comparison for work order tracking. This means that an alarm is triggered when a work order times out at a certain stage. However, this approach only provides superficial monitoring of the process status and fails to delve into the fault characteristic information contained within the maintenance record text. In contrast, the solution in this embodiment achieves in-depth analysis of the maintenance record text accumulated during the work order process by acquiring the sequence of flow nodes, extracting the maintenance record text, and further extracting fault feature vectors from the maintenance record text. For example, in the above example, the system can transform text such as "Replacing the network card did not resolve the issue" into a calculable fault feature vector, rather than simply recording how long the work order remained at the "hardware check" node.
[0065] Furthermore, addressing the deficiency in existing technologies regarding the lack of quantitative analysis methods for the evolution of fault characteristics between upstream and downstream nodes, this embodiment calculates the distance between fault feature vectors corresponding to two adjacent flow nodes based on the flow sequence of flow nodes, generating a fault evolution distance sequence for the target work order. This fault evolution distance sequence can intuitively quantify the degree of change of fault characteristics at each step of work order processing. For example, the calculated D in the example... 12 D 23 D 34 It clearly shows the evolution of the fault from network outage to suspected network card, then to network card replacement being ineffective, and finally to system configuration error, which is something that traditional time-point monitoring cannot provide.
[0066] Furthermore, addressing the issue that existing technologies cannot deeply compare work order evolution with the normal workflow experience of massive historical completed work orders, leading to difficulties for managers in detecting specific stages where work orders begin to deviate from the correct maintenance path, this embodiment's solution obtains a historical work order set, extracts matching historical path data, and generates a historical feature evolution sequence. It then compares the fault evolution distance sequence with the historical feature evolution sequence, calculates the path deviation degree of each workflow node in the workflow node sequence, enabling the system to identify at which stage the fault evolution of the target work order significantly differs from the historical normal pattern. In the above example, by comparing the [D] of the target work order... 12 D 23 D 34 [HD] with history 12 HD 23 HD 34 The system can accurately detect that the evolution deviation P3 after the "hardware check" node is significantly high, thereby locating the corresponding link where there may be a problem. Traditional methods are difficult to provide such a path deviation analysis process.
[0067] Finally, regarding work order anomaly tracing, existing technologies often rely on manual review of each record for subjective analysis, which is not only time-consuming and labor-intensive but also prone to deviations in tracing results due to individual differences in experience. The solution in this embodiment automates and intelligently tracing work order anomalies by identifying the flow nodes in the flow node sequence that meet the deviation conditions as the tracing target nodes and generating corresponding review scheduling instructions based on these target nodes. For example, in the above example, the system identifies the "hardware check" node as the tracing target node and generates clear review scheduling instructions, including review content prompts and suggested reviewer qualifications, thereby improving the efficiency and accuracy of tracing, reducing reliance on human experience, and meeting the needs for refined tracking and precise tracing of work orders in large-scale repair scenarios.
[0068] The following will further explain a work order tracking and source tracing management method for a fault reporting system based on AI analysis in this exemplary embodiment.
[0069] In one embodiment, step S20, "extracting fault feature vectors from maintenance record text and calculating the distance between fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence, generating a fault evolution distance sequence for the target work order," specifically includes:
[0070] Semantic parsing is performed on the maintenance record text corresponding to each flow node to obtain entity identifiers and operation identifiers in the maintenance record text;
[0071] In the embodiments of this application, this step aims to identify and extract structured information with specific meaning from unstructured maintenance record text. Entity identifiers refer to specific objects involved in the maintenance record, such as equipment names, component models, fault codes, etc.; operation identifiers refer to specific actions performed by maintenance personnel during fault handling, such as "replace," "repair," "inspect," "adjust," etc. Semantic parsing can transform the raw text into structured data that machines can understand and process. Furthermore, semantic parsing can be implemented using rule-based methods, predefining a series of regular expressions or keyword matching rules to identify preset entity types and operation verbs from the text. Alternatively, machine learning-based methods, such as named entity recognition models and relation extraction models, can be used to automatically identify entities and operations in the text and distinguish their types by training on a large amount of labeled data.
[0072] Entity identifiers and operation identifiers are mapped to the vector space of the pre-built operation and maintenance knowledge graph to obtain the corresponding entity embedding vectors and operation embedding vectors. The entity embedding vectors and operation embedding vectors are then concatenated to obtain the fault feature vector of the maintenance record text.
[0073] In the embodiments of this application, this step aims to transform discrete entity identifiers and operation identifiers into continuous low-dimensional vector representations, i.e., embedding vectors. These embedding vectors can capture the semantic information and relationships of entities and operations in the operation and maintenance knowledge graph. By mapping entity identifiers and operation identifiers to a vector space, vector operations can be used to measure their similarity or association. Concatenating entity embedding vectors with operation embedding vectors is to fuse the object information and behavioral information of the fault, forming a more comprehensive and representative fault feature vector, thereby more accurately describing the fault state recorded by the flow node. Entity identifiers and operation identifiers can serve as nodes in the knowledge graph, and their representation in the vector space can be learned through graph embedding algorithms, such as Node2Vec, GraphSAGE, and TransE. Alternatively, initial vectors for entities and operations can be obtained through pre-trained word embedding models, such as Word2Vec, GloVe, or more complex language models, and then further refined and adjusted by combining the structural information of the knowledge graph.
[0074] Based on the flow order of the flow node sequence, the adjacent preceding and following flow nodes are determined sequentially in the flow node sequence;
[0075] In the embodiments of this application, the sequence of flow nodes can reflect the temporal order and process path of work order processing. Determining adjacent preceding and succeeding flow nodes is fundamental to calculating the fault evolution distance. This ensures that the distance calculation is based on continuous state changes in the actual work order processing flow, thereby accurately capturing the evolution of the fault between different processing stages. Specifically, preceding and succeeding flow nodes can be determined by traversing the flow node sequence, using one pointer or index to identify the current node, and another pointer or index to identify its next following node. Alternatively, the flow node sequence can be converted into an ordered list or array, and then determined by iteratively accessing adjacent element pairs.
[0076] Calculate the distance between the fault feature vector corresponding to the preceding flow node and the fault feature vector corresponding to the following flow node, and combine them according to the flow order to obtain the fault evolution distance sequence.
[0077] In the embodiments of this application, distance values can quantify the degree of change in fault state between two adjacent flow nodes. By calculating the distance between fault feature vectors, the evolution of the fault at different processing stages can be intuitively reflected, such as changes in the severity, type, or processing method of the fault. Combining the distance values into a sequence according to the flow order forms the fault evolution distance sequence of the target work order. The distance values can be calculated using various vector distance metrics such as Euclidean distance, cosine distance, and Manhattan distance to reflect differences in the vector space. Alternatively, distance metrics considering data distribution characteristics, such as Mahalanobis distance, can also be used.
[0078] For example, as a specific implementation method, suppose the flow node sequence of a target work order includes a "repair request node", a "preliminary inspection node", and a "repair node".
[0079] First, the system performs semantic parsing on the maintenance record text corresponding to the "Reported Repair Node". For example, if the text is "Equipment A makes an abnormal noise and cannot start", the parsing results in entity identifiers of "Equipment A" and "abnormal noise", and operation identifiers of "cannot start". Similarly, for the text "Inspection found that the bearing of Equipment A is worn and needs to be replaced" from the "Initial Inspection Node", the parsing results in entity identifiers of "Equipment A" and "bearing worn", and operation identifiers of "inspection" and "replacement". For the text "Replaced the bearing of Equipment A, test normal" from the "Maintenance Node", the parsing results in entity identifiers of "Equipment A" and "bearing", and operation identifiers of "replacement" and "test normal".
[0080] Based on this, these entity and operation identifiers are mapped to the vector space of a pre-built operation and maintenance knowledge graph. For example, "Device A" might be mapped to an entity embedding vector representing a device attribute, "abnormal noise" to an entity embedding vector representing a fault phenomenon, "inspection" to an operation embedding vector representing a diagnostic action, and "replacement" to an operation embedding vector representing a maintenance action. By concatenating the entity embedding vector and operation embedding vector of the "Reported Repair Node," its fault feature vector is obtained; similarly, the fault feature vectors of the "Initial Inspection Node" and the "Maintenance Node" are obtained. Then, based on the flow order, adjacent node pairs are determined, such as "Reported Repair Node" and "Initial Inspection Node," and "Initial Inspection Node" and "Maintenance Node."
[0081] Finally, the distance between the fault feature vector of the "reporting node" and the fault feature vector of the "initial inspection node" is calculated, for example, the distance value D1 is obtained; the distance between the fault feature vector of the "initial inspection node" and the fault feature vector of the "maintenance node" is calculated, for example, the distance value D2 is obtained. These distance values are combined according to the flow order to generate a fault evolution distance sequence, for example, [D1, D2]. In this way, the changes in the fault status from reporting to initial inspection and then to maintenance can be clearly quantified.
[0082] Through the above technical solution, this application can achieve in-depth mining and structured representation of fault information in maintenance record text. Specifically, entity identifiers and operation identifiers are extracted through semantic parsing and mapped to the vector space of the operation and maintenance knowledge graph. This allows the obtained fault feature vectors to not only contain information about the fault object but also incorporate the semantics of fault handling behavior, thus making the representation of fault features more comprehensive and accurate. Based on this, this fault feature vector construction process can significantly improve the accuracy of fault evolution distance calculation between adjacent flow nodes, and more realistically reflect the evolution trajectory of the fault at different processing stages. Compared with methods that only use simple text features or general vector representations, the solution in this embodiment can effectively avoid distance calculation deviations caused by information loss or semantic ambiguity, providing a data foundation for the subsequent generation of fault evolution distance sequences. This enables the system to more accurately identify abnormal evolution patterns in the work order flow process, thereby providing a more reliable basis for work order tracking and source tracing management in the fault reporting system, and improving the efficiency and accuracy of fault diagnosis and handling.
[0083] Furthermore, in some other implementations, similar to the actual fault reporting process, relying solely on the spatial distance of fault feature vectors may not fully reflect the actual evolution of the fault. For example, two fault states that are close in feature space may indicate a slow fault evolution or the presence of other interfering factors if the time interval between their occurrences is too long. Simple feature distance cannot reflect this difference in the time dimension, which may lead to inaccurate judgment of fault evolution and affect subsequent source tracing analysis.
[0084] In one embodiment, this application further proposes that the step of calculating the distance between the fault feature vector corresponding to the preceding flow node and the fault feature vector corresponding to the following flow node, and combining them according to the flow order to obtain the fault evolution distance sequence, specifically includes:
[0085] Calculate the spatial vector distance between the fault feature vector corresponding to the preceding flow node and the fault feature vector corresponding to the following flow node to obtain the initial evolution distance value;
[0086] Extract the first submission timestamp of the preceding flow node in the fault reporting system and the second submission timestamp of the subsequent flow node in the fault reporting system, and calculate the absolute time difference between the first submission timestamp and the second submission timestamp.
[0087] The absolute time difference is input into a preset time entropy decay function for nonlinear mapping, and the time drift multiplier between two adjacent flow nodes is calculated. The value of the time drift multiplier is positively correlated with the absolute time difference.
[0088] The initial evolution distance value is multiplied by the time drift multiplier to obtain the target distance value after time dimension correction.
[0089] Based on the flow order of the flow node sequence, the target distance values corresponding to all adjacent nodes in the flow node sequence are combined sequentially to generate the fault evolution distance sequence of the target work order.
[0090] The process involves calculating the spatial vector distance between the fault feature vectors of the preceding and subsequent flow nodes to obtain an initial evolution distance value. This aims to quantify the semantic or feature differences in fault states between adjacent flow nodes. By calculating the spatial distance between two fault feature vectors, the degree of change in the fault across the feature dimensions from one node to the next can be intuitively reflected. This can be achieved by using Euclidean distance to measure the linear distance in the vector space, or by using cosine distance to measure the difference in the direction of the two vectors, i.e., the similarity of the fault features, and then converting it into a distance.
[0091] The first submission timestamp of the preceding node in the fault reporting system and the second submission timestamp of the following node are extracted. The absolute time difference between the first and second submission timestamps is calculated to obtain the time span information of the fault across different nodes. The first and second submission timestamps record the time when the preceding and following nodes were submitted or updated in the fault reporting system, respectively. By calculating the absolute difference between these two timestamps, the actual length of time the fault stays or evolves between two adjacent nodes can be obtained, thus helping to introduce a time dimension to assess the dynamics of fault evolution.
[0092] The absolute time difference is input into a preset time entropy decay function for nonlinear mapping, calculating the time drift multiplier between two adjacent flow nodes. The value of the time drift multiplier is positively correlated with the absolute time difference, aiming to transform the time difference into a multiplier factor capable of correcting the fault evolution distance. The time entropy decay function is a nonlinear mapping function that converts the original absolute time difference into a multiplier with specific physical meaning. Since the value of the time drift multiplier is positively correlated with the absolute time difference, the longer the time interval, the larger the multiplier, and thus the more significant the correction effect on the fault evolution distance. This time entropy decay function can be implemented using an exponential function, a logarithmic function, or other nonlinear functions to ensure that it is monotonically increasing and reflects the degree of influence of time on fault evolution.
[0093] Multiplying the initial evolution distance value by the time drift multiplier to obtain the target distance value corrected for the time dimension is key to fusing fault feature space distance and time dimension information. By multiplying the feature space distance by the time dimension correction factor, a distance value that more closely reflects the actual fault evolution can be obtained. Furthermore, this multiplication operation amplifies the fault evolution distance as the time interval increases, thus more accurately reflecting the combined degree of fault evolution in both time and feature space.
[0094] Based on the flow order of the workflow node sequence, the target distance values corresponding to all adjacent nodes in the workflow node sequence are combined sequentially to generate the fault evolution distance sequence of the target work order. This involves connecting all time-corrected distance values of adjacent nodes according to the actual flow order of the work order to form a complete fault evolution path. This fault evolution path not only includes the characteristic changes of the fault at each stage but also incorporates the correction of these changes by the time factor, thus providing a more accurate basis for subsequent fault tracing and management.
[0095] By employing the aforementioned technical solution, the calculation of fault evolution distance not only considers the spatial differences in fault feature vectors but also incorporates a time dimension for correction. This allows the fault evolution distance to more accurately reflect the actual evolution speed and severity of the fault across different flow nodes. Specifically, when a fault lingers for a long time between adjacent flow nodes, the corrected target distance value increases accordingly due to the amplification effect of the time drift multiplier. This highlights potential problems such as low fault handling efficiency or deterioration of the fault state, enabling the system to more sensitively detect abnormal flows that show little change in the feature space but are excessively time-consuming, effectively avoiding misjudgments caused by relying solely on feature similarity. Based on this, the generated fault evolution distance sequence provides more comprehensive and refined fault evolution path information, improving the accuracy and effectiveness of fault repair work order tracking and source tracing management, and providing a solid data foundation for timely detection and intervention in abnormal work order flows.
[0096] In one embodiment, the step of "mapping entity identifiers and operation identifiers to the vector space of a pre-constructed operation and maintenance knowledge graph to obtain corresponding entity embedding vectors and operation embedding vectors, and concatenating the entity embedding vectors and operation embedding vectors to obtain the fault feature vector of the maintenance record text" specifically includes:
[0097] In the pre-built operation and maintenance knowledge graph, the corresponding matching central entity node is located based on the entity identifier, and the adjacent fault nodes of the central entity node within the preset number of hops are extracted.
[0098] In the embodiments of this application, the operation and maintenance knowledge graph is a structured knowledge base containing entity nodes such as equipment and components, operation nodes such as maintenance and replacement, and fault nodes such as fault types, and defining various relationships between these nodes. Entity identifiers are specific entity names or codes identified by the system from maintenance record text, such as "motor bearing" or "power module". The central entity node is the node in the operation and maintenance knowledge graph directly corresponding to the entity identifier. A preset hop count range limits the path length that can be traversed along relation edges in the knowledge graph starting from the central entity node, used to control the search breadth of adjacent fault nodes. Adjacent fault nodes refer to nodes that are associated with the central entity node within the preset hop count range and whose type is fault or closely related to faults. Specifically, graph traversal operations can be performed using the query language of the graph database, starting from the central entity node, and searching for all related fault nodes according to the preset relation types and hop count limits. Alternatively, neighbor sampling techniques in graph neural networks can be used to sample multi-hop neighbors in the operation and maintenance knowledge graph and further filter out nodes belonging to the fault type.
[0099] Calculate the graph topology distance between each adjacent fault node and the central entity node. Based on the graph topology distance, perform attenuation weighting on the node vectors of adjacent fault nodes and aggregate them to generate entity embedding vectors corresponding to entity identifiers.
[0100] In the embodiments of this application, the graph topological distance is used to measure the proximity of adjacent faulty nodes to the central entity node in the operation and maintenance knowledge graph, usually expressed as the number of hops of the shortest path between them. The core of attenuation weighting based on graph topological distance is that the farther an adjacent faulty node is from the central entity node, the smaller its contribution to the fault characteristics of the central entity node. Node vectors are low-dimensional vector representations of each node in the operation and maintenance knowledge graph after embedding learning, such as through models like Word2Vec, Node2Vec, and TransE, which can capture the semantic information of nodes. Aggregation integrates the node vectors of adjacent faulty nodes after attenuation weighting to form an entity embedding vector that comprehensively represents the fault-related information of the central entity node. Specifically, the graph topological distance can be obtained by calculating the number of hops of the shortest path using breadth-first search or depth-first search algorithms. Attenuation weighting can use an exponential decay function or a linear decay function to convert the topological distance into weights. The aggregation operation can be implemented through weighted averaging, weighted summation, or attention-based mechanisms to fuse the weighted node vectors into a single entity embedding vector.
[0101] In the pre-built operation and maintenance knowledge graph, the corresponding matching operation node is located based on the operation identifier, and the maintenance attribute tag associated with the operation node is obtained. The node vector of the operation node and the tag vector of the maintenance attribute tag are weighted and fused to generate the operation embedding vector of the operation identifier.
[0102] In the embodiments of this application, the operation identifier is a specific operation behavior identified by the system from the maintenance record text, such as "replace," "inspect," or "repair." The operation node is the node in the maintenance knowledge graph corresponding to the operation identifier. Maintenance attribute tags are additional information describing the characteristics of the operation node, such as the type of operation, the difficulty of the operation, the required tools, and the operation time. Weighted fusion of the node vector of the operation node and the tag vector of the maintenance attribute tag aims to more comprehensively represent the semantic information and inherent attributes of the operation. Specifically, the node vector of the operation node and the tag vector of the maintenance attribute tag can be obtained from a pre-trained knowledge graph embedding model. The weighted fusion can be performed by directly performing a weighted sum, where the weights can be preset according to the importance of the attributes or learned through a machine learning model. Furthermore, gating or attention mechanisms can be used to dynamically adjust the contribution of different attribute tags to the operation embedding vector.
[0103] Calculate the dot product of the entity embedding vector and the operation embedding vector, and then perform dot product operations with the entity embedding vector and the operation embedding vector respectively to obtain the first embedding vector and the second embedding vector.
[0104] In the embodiments of this application, the vector dot product is a mathematical operation that measures the similarity or correlation between two vectors. In this step, the dot product of the entity embedding vector and the operation embedding vector is calculated to quantify the strength of the association or the degree of matching between the entity and the operation. Multiplying the vector dot product by the original entity embedding vector and the operation embedding vector element-wise can be understood as an interactive gating or attention mechanism. This mechanism utilizes the overall correlation between the entity and the operation to adjust or emphasize their respective features, enabling the generated embedding vector to better reflect the interaction and contextual information between them. Specifically, the vector dot product is the sum of the element-wise products of two vectors, and the dot product operation is the element-wise multiplication of two vectors. Furthermore, this interactive mechanism can also be implemented using complex bilinear models or multi-head attention networks to more precisely capture the mutual influence and dependencies between entities and operations.
[0105] The first embedding vector and the second embedding vector are concatenated dimensionally to obtain the fault feature vector of the maintenance record text.
[0106] In the embodiments of this application, dimensional concatenation refers to connecting two or more vectors along a specified dimension to form a vector containing more information. By concatenating the first embedding vector and the second embedding vector, entity information and operational information, after being corrected for entity-operation interaction, can be integrated into a unified fault feature vector. This concatenated fault feature vector can comprehensively characterize the fault situation described in the maintenance record text because it not only contains the independent semantics of entities and operations but also incorporates the interaction information between entities and operations, thus providing a richer and more discriminative fault feature representation. Specifically, dimensional concatenation can typically be a simple vector concatenation operation. For example, if the dimension of the first embedding vector is D1 and the dimension of the second embedding vector is D2, the dimension of the concatenated fault feature vector will be D1+D2. This operation ensures that all relevant information is preserved and integrated, providing a comprehensive data foundation for subsequent fault analysis and tracking.
[0107] For example, as a specific implementation, suppose the system receives a maintenance record text: "Replace motor bearing, bearing is severely worn and accompanied by abnormal noise."
[0108] First, the system performs semantic parsing on the maintenance record text, identifying the entity identifier as "motor bearing" and the operation identifier as "replacement".
[0109] Based on this, in the pre-built maintenance knowledge graph, the system will locate the central entity node corresponding to "motor bearing". Assume that within a preset 2-hop range, the system extracts two adjacent fault nodes: "wear" and "abnormal noise". Assume the graph topological distance between the "wear" node and the "motor bearing" node is 1 hop, with its node vector being V1; the graph topological distance between the "abnormal noise" node and the "motor bearing" node is 2 hops, with its node vector being V2. At this point, the system will calculate the graph topological distance between these two adjacent fault nodes and the central entity node, and based on this distance, assign attenuated weights to V1 and V2, for example, a distance of 1 has a higher weight than a distance of 2. Then, the weighted vectors are aggregated to generate the entity embedding vector V3 for "motor bearing". Simultaneously, the system will locate the operation node corresponding to "replacement" and obtain its associated maintenance attribute tags, such as "maintenance type: replacement" and "difficulty: medium". Assume the node vector of the operation node is V4, the tag vector for the tag "replacement" is V5, and the tag vector for the tag "medium" is V6. The system performs a weighted fusion of V4 with V5 and V6 to generate the "replacement" operation embedding vector V7. Then, the system calculates the vector dot product of V3 and V7 to obtain a scalar value S. S is then fused with V3 and V7 respectively and multiplied to obtain the first and second embedding vectors.
[0110] Finally, by concatenating the first and second embedding vectors by dimension, the final fault feature vector of the maintenance record text can be obtained.
[0111] Through the above technical solutions, this application can mine semantic information and topological relationships between entities and operations from a pre-constructed operation and maintenance knowledge graph. Specifically, by attenuating and weighting the aggregation of adjacent fault nodes based on graph topological distance, the entity embedding vector can more accurately reflect the multi-dimensional features of entities in the fault context, thus effectively solving the problem that simple mapping cannot capture the deep topological information of the knowledge graph. At the same time, the operation embedding vector enhances the representation ability of operation behavior details by weighted fusion of maintenance attribute tags, making the semantic expression of operations richer. Furthermore, by calculating the dot product of entity embedding vector and operation embedding vector and performing dot product correction, the interaction relationship between entities and operations can be effectively captured, so that the generated fault feature vector not only contains independent entity and operation information, but also integrates the correlation between the two, thereby improving the accuracy and expressiveness of the fault feature vector of maintenance record text, and providing a more solid data foundation for fault evolution distance calculation and work order tracking and source management.
[0112] In one embodiment, the step of "calculating the graph topological distance between each adjacent faulty node and the central entity node, performing attenuation weighting and aggregation on the node vectors of adjacent faulty nodes based on the graph topological distance, and generating entity embedding vectors corresponding to entity identifiers" specifically includes:
[0113] Obtain the shortest path hop count from each adjacent faulty node to the central entity node, and use it as the graph topology distance;
[0114] In the embodiments of this application, graph topological distance is used to quantify the degree of connection between two nodes in a knowledge graph. The shortest path hop count refers to the minimum number of edges required to traverse from a faulty neighbor node to the central entity node. It directly reflects the strength of the association between the faulty neighbor node and the central entity node in the knowledge graph; a shorter distance generally indicates a more direct and closer association. In practice, graph traversal algorithms such as breadth-first search or Dijkstra's algorithm can be used to calculate the shortest path hop count between any two nodes.
[0115] The total number of associated edges of each adjacent fault node in the pre-built operation and maintenance knowledge graph is counted as the node connection degree, and the specific penalty factor of each adjacent fault node is calculated based on the node connection degree.
[0116] In the embodiments of this application, the node connectivity degree represents the number of connections between a neighboring faulty node and other nodes in the knowledge graph, reflecting the generality or specificity of the neighboring faulty node. A node with a higher connectivity degree generally indicates a more generalized concept and more associated entities; conversely, a node with a lower connectivity degree indicates a more specific and particular concept. The specificity penalty factor aims to penalize nodes with high generalization, reducing their weight during aggregation, thereby highlighting more diagnostically valuable specific fault information. The specificity penalty factor can be calculated based on the reciprocal of the node connectivity degree or its logarithm, for example, it can be set to 1 / (1+connectivity degree) or 1 / log(1+connectivity degree) to ensure that nodes with higher connectivity degrees have smaller penalty factors.
[0117] Using the natural constant as the base, the negative exponent of the topological distance of the map is calculated to obtain the distance attenuation coefficient;
[0118] In the embodiments of this application, the distance attenuation coefficient is used to reflect the principle that "the greater the distance, the smaller the impact." By calculating the negative exponent of the topological distance in the graph, adjacent faulty nodes that are closer in distance can obtain a larger attenuation coefficient, while nodes that are farther away can obtain a smaller attenuation coefficient, thereby giving closer nodes a higher influence during aggregation.
[0119] The distance decay coefficient and the specific penalty factor are multiplied to obtain the initial weight of each adjacent fault node. The initial weight of all adjacent fault nodes within the preset hop count range is normalized by the normalization exponential function to obtain the aggregate weight of each adjacent fault node.
[0120] In the embodiments of this application, the initial weights comprehensively consider the topological distance between adjacent faulty nodes and the central entity node, as well as the specificity of the adjacent faulty node itself. Through product operations, it can be ensured that only adjacent faulty nodes that are close in distance and conceptually unique can obtain higher initial weights, thereby more accurately reflecting their contribution to the fault characteristics of the central entity. The purpose of normalization is to adjust the initial weights of all adjacent faulty nodes to a uniform proportional range, usually making their sum equal to 1, so that these initial weights can be directly used for weighted summation, ensuring the rationality of the aggregation process. The normalization exponential function, such as the Softmax function, can map any real number vector to a probability distribution, making the weight values between 0 and 1, and the sum of all weights equal to 1, thereby facilitating subsequent weighted aggregation operations.
[0121] The aggregate weight is multiplied by the node vector of the corresponding adjacent fault node to obtain the weighted node vector. The weighted node vectors of all adjacent fault nodes within the preset hop count range are summed to generate the entity embedding vector corresponding to the entity identifier.
[0122] In the embodiments of this application, the weighted node vector is the product of the original node vector of the adjacent faulty node and its aggregation weight, representing the weighted information contributed by the adjacent faulty node during the aggregation process. By summing all weighted node vectors, an entity embedding vector that integrates all relevant adjacent faulty node information and is weighted according to their distance and specificity can be obtained. This weighted summation method can effectively integrate multi-source heterogeneous information related to the central entity in the knowledge graph into a unified vector representation, enabling it to more comprehensively and accurately represent the deep semantics of entity faults.
[0123] By employing the aforementioned technical solution, this application effectively addresses the problem of inaccurate information that may result from relying solely on topological distance for attenuation weighting when generating entity embedding vectors. Specifically, by introducing node connectivity degree and calculating a specificity penalty factor, and combining it with a distance attenuation coefficient, a dual-dimensional weight evaluation of adjacent faulty nodes is performed. This allows the generated aggregated weights to more comprehensively and precisely reflect the contribution of each adjacent faulty node to the central entity's fault characteristics. Based on this, this weighted aggregation method effectively highlights the information of adjacent nodes that are close in distance and have more specific fault descriptions, while suppressing information from distant or overly generalized nodes, thereby preventing the entity embedding vector from being diluted by irrelevant or low-value information. Ultimately, the generated entity embedding vectors can more accurately represent the deep semantics of entity faults, improve the quality of fault feature vectors, and thus provide a more accurate data foundation for subsequent fault evolution distance calculation, path deviation analysis, and determination of source target nodes, improving the efficiency and accuracy of work order tracking and source tracing management in the fault reporting system.
[0124] Furthermore, in some of the above embodiments, the generation of the entity embedding vector corresponding to the entity identifier relies on locating adjacent faulty nodes within a preset hop count range and aggregating them based on the graph topological distance and connectivity degree of these adjacent faulty nodes. However, in actual operation and maintenance scenarios, some central entity nodes may fail to find any adjacent faulty nodes within the preset hop count range due to the sparsity of their connections or data gaps in the operation and maintenance knowledge graph. In this case, the entity embedding vector generation method may not be able to be executed effectively, thereby affecting the subsequent extraction of fault feature vectors and the calculation of fault evolution distance sequences, making these isolated entities untraceable and unsourceable by the system.
[0125] In response, this application further proposes a cold-start feature reconstruction step for isolated nodes in the graph, including:
[0126] If the number of adjacent faulty nodes of the central entity node within the preset hop count range is zero, the central entity node will be marked as an isolated node.
[0127] Extract the initial semantic vector of the isolated node and calculate the cosine similarity between the initial semantic vector and the node vector of the global candidate node in the pre-constructed operation and maintenance knowledge graph;
[0128] Based on the cosine similarity in descending order, a preset number of global candidate nodes are selected as virtual adjacent fault nodes of the isolated nodes.
[0129] The cosine similarity between the virtual adjacent faulty node and the island node is input into a preset monotonically decreasing mapping function to generate the corresponding virtual topological distance, which replaces the shortest path hop count.
[0130] The total number of actual associated edges of the virtual adjacent fault node in the pre-built operation and maintenance knowledge graph is used as its node connection degree. Based on the virtual topological distance and the node connection degree, the step of generating the entity embedding vector corresponding to the entity identifier is continued.
[0131] In this context, isolated nodes in the graph refer to central entity nodes in a pre-built operation and maintenance knowledge graph that have zero adjacent faulty nodes within a specific query range. These nodes lack direct or indirect graph connection information, making it difficult to obtain their feature representations using conventional graph structure analysis methods. The aforementioned cold-start feature reconstruction step aims to generate effective feature representations for isolated nodes lacking sufficient graph connection information, enabling them to participate in subsequent fault analysis processes. This typically involves utilizing the node's own non-graph attributes to construct its initial features. The initial semantic vector refers to the vector representation of the isolated node's semantic content extracted from its own text description or other unstructured data when the graph lacks connection information. For example, natural language processing techniques can be used to encode the node's name and description information. Global candidate nodes refer to the set of all or filtered nodes in the pre-built operation and maintenance knowledge graph that may have semantic associations with the isolated node, serving as potential virtual neighbors for the system to match and select. Cosine similarity is a measure of directional consistency between two non-zero vectors, with values ranging from -1 to 1. In this embodiment, cosine similarity is used to quantify the semantic similarity between the initial semantic vector of an isolated node and the node vectors of global candidate nodes; a larger value indicates a closer semantic similarity. Virtual adjacent faulty nodes are nodes selected from the global candidate nodes based on their semantic similarity to the isolated node. These nodes are not actual neighbors of the isolated node in the graph, but are virtualized through semantic association to compensate for the missing information in the graph structure of the isolated node. A monotonically decreasing mapping function is a mathematical function whose output value decreases or remains constant as the input value increases. In this embodiment, the monotonically decreasing mapping function maps the cosine similarity between the isolated node and the virtual adjacent faulty node to a virtual topological distance. For example, an exponential decay function or an inverse proportional function can be used, so that the higher the semantic similarity, the smaller the corresponding virtual topological distance. Virtual topological distance refers to a measure of the simulated graph topological distance calculated using semantic similarity for isolated nodes. It can replace the shortest path hop count to measure the distance between the isolated node and the virtual adjacent faulty node, thus providing distance information for the generation of entity embedding vectors in the absence of actual graph connections. Node connectivity degree refers to the total number of actual associated edges a node has in a pre-built operation and maintenance knowledge graph. For virtual adjacent faulty nodes, their node connectivity degree is still the number of connections in the real graph, reflecting the importance and information richness of the virtual neighbor in the graph.
[0132] The cold-start feature reconstruction steps described above effectively address the technical challenge of generating entity embedding vectors for isolated nodes in the maintenance knowledge graph. Under normal circumstances, when a central entity node lacks sufficient graph connectivity information, the extraction of its fault feature vectors is hindered, leading to incomplete calculation of the fault evolution distance sequence for the target work order. This prevents the system from effectively tracking and managing work orders involving these isolated nodes. Therefore, by introducing a cold-start feature reconstruction step, virtual adjacency relationships and topological distances are constructed using the semantic information of isolated nodes. This allows isolated nodes in the graph to obtain representative entity embedding vectors, improving the coverage and processing capabilities of the fault reporting system for various work orders. It ensures that all work orders, especially those involving new equipment, new fault types, or sparsely connected entities, can be included in the fault evolution analysis and source tracing management process, thereby improving the overall robustness and accuracy of the system and avoiding analytical blind spots caused by data gaps.
[0133] In one embodiment, the step "in the pre-built operation and maintenance knowledge graph, locate the corresponding matching operation node based on the operation identifier, obtain the maintenance attribute tag associated with the operation node, and perform weighted fusion of the node vector of the operation node and the tag vector of the maintenance attribute tag to generate the operation embedding vector of the operation identifier" specifically includes:
[0134] In the pre-built operation and maintenance knowledge graph, the corresponding matching operation node is located based on the operation identifier, and multiple maintenance attribute tags associated with the operation node are extracted to obtain the initial tag vector corresponding to each maintenance attribute tag.
[0135] In the embodiments of this application, the operation identifier refers to a unique symbol or text description recorded in the fault reporting system that describes a specific repair operation. Its function is to uniquely identify and distinguish different repair operations. For example, it can be a text string such as "replace part," "system restart," or "software upgrade," or it can be a predefined code within the system. The operation node refers to a graph node in a pre-built maintenance knowledge graph corresponding to a specific operation identifier. It carries the basic semantic information of the corresponding operation and its association with other entities and events. It can be implemented by importing the operation identifier as a node using a knowledge graph construction tool and establishing edge connections with other relevant entities, such as equipment type and fault cause; or by using natural language processing technology to identify operation behaviors from maintenance records and abstract them into graph nodes. The maintenance attribute tag refers to the characteristics or classification information of the operation node related to the maintenance activity, providing a more detailed semantic supplement to the operation. For example, for the operation of "replacing the hard drive," its maintenance attribute tag can include "hardware fault," "storage device," or "parts replacement." The maintenance attribute tag can be a predefined classification system or keywords extracted from a large number of maintenance records using text mining technology. The initial label vector is a numerical representation of each maintenance attribute label. These vectors are usually in a high-dimensional space and can capture the semantic information of the labels. They can be implemented by converting the label text into vectors through a pre-trained word embedding model; or, during the knowledge graph construction process, a vector can be generated for each label node after random initialization and training by a graph neural network.
[0136] Calculate the cosine similarity between the node vector of the operation node and the initial label vector, and normalize the cosine similarity using a normalized exponential function to obtain the fusion weight of each maintenance attribute label.
[0137] In the embodiments of this application, cosine similarity is a metric that measures the cosine of the angle between two non-zero vectors. It is used to evaluate the similarity in the direction of the two vectors, and its function is to quantify the semantic relevance between the node vector of the operation node and each initial label vector. It is calculated by dividing the dot product of the two vectors by the product of their respective moduli. The normalized exponential function is a function that converts any real-valued sequence into a probability distribution. It is commonly used in multi-class classification problems, converting the original scores into probability values between 0 and 1, with the sum of all probability values being 1. In this embodiment, the normalized exponential function converts cosine similarity into fusion weights representing relative importance. A typical implementation is the Softmax function. The fusion weights represent the relative importance or contribution of each maintenance attribute label in constructing the aggregated label vector. The larger the weight value, the more relevant the maintenance attribute label is to the core semantics of the operation node.
[0138] The initial label vectors are weighted and summed based on the fusion weights to obtain the aggregated label vector.
[0139] In the embodiments of this application, weighted summation is an operation that linearly combines multiple vectors according to their respective weights. Its function is to integrate multiple initial label vectors into a single aggregated label vector, which can reflect the weighted average semantics of all relevant attribute labels. The aggregated label vector is obtained by weighted summation and is a vector representation that integrates the semantic information of all maintenance attribute labels of the operation node, representing the overall summary of the operation node's attributes.
[0140] The node vector of the operation node is concatenated with the aggregated label vector in terms of dimension, and then input into a preset activation function for non-linear mapping to generate a gated vector with the same dimension as the aggregated label vector.
[0141] In the embodiments of this application, dimensional concatenation refers to connecting two or more vectors along a certain dimension to form a longer vector. Its function is to fuse the feature information of the node vector of the operating node with that of the aggregated label vector, providing a more comprehensive input for subsequent nonlinear mapping. The preset activation function is a function that introduces nonlinear transformations, commonly used in neural networks to enhance the model's expressive power. Its function is to perform complex nonlinear transformations on the concatenated vector, thereby capturing deeper interaction relationships between the operating node and the aggregated label vector. Common activation functions include ReLU, Tanh, or Sigmoid functions. Nonlinear mapping refers to the process of transforming input data through a nonlinear function. In this embodiment, nonlinear mapping enables the model to learn and express complex nonlinear relationships between input features, rather than just simple linear combinations. The gated vector is the vector generated after nonlinear mapping, with the same dimension as the aggregated label vector. This gated vector can be considered a gate used to selectively emphasize or suppress certain features in the aggregated label vector, thereby controlling attribute information.
[0142] The gating vector and the aggregated label vector are multiplied to obtain the target label vector. The target label vector is then added to the node vector of the operation node to generate the operation embedding vector of the operation identifier.
[0143] In the embodiments of this application, the product operation refers to element-wise multiplication of vectors. Its function is to apply the control effect of the gating vector to the aggregated label vector, generating a target label vector adjusted by the gating mechanism. The target label vector is the aggregated label vector after being corrected by the gating vector, which can more accurately reflect the attribute information most relevant to the core semantics of the operation node. Vector addition refers to the element-wise summation operation of two vectors. Its function is to fuse the target label vector with the original node vector of the operation node, thereby generating a final operation embedding vector that contains both the core semantics of the operation node and further integrates its key attribute information. The operation embedding vector is the finally generated vector used to represent the operation identifier. It integrates the semantics of the operation node itself and its key maintenance attribute label information, and has stronger expressive power and distinguishability.
[0144] Through the above technical solution, this application effectively addresses the limitations of existing technologies in expressing fine-grained semantics of operations through operation embedding vectors. Specifically, by introducing fusion weights calculated based on cosine similarity and normalized exponential functions, and combining this with a gating mechanism to fine-tune the aggregated label vectors, the generated operation embedding vectors can more accurately and comprehensively capture the core semantics of operation nodes and their associated maintenance attribute label information. Based on this enhanced semantic expression capability, the construction of fault feature vectors becomes more precise, thereby improving the reliability of fault evolution distance sequence calculation, helping to more accurately identify path deviations in the flow node sequence, and ultimately improving the accuracy of determining the source target node and the effectiveness of reviewing scheduling instructions.
[0145] In one embodiment, step S40, "comparing the fault evolution distance sequence with the historical feature evolution sequence and calculating the path deviation of each flow node in the flow node sequence," specifically includes:
[0146] Align and match the fault evolution distance sequence with the historical feature evolution sequence to determine the historical distance value corresponding to each distance value in the fault evolution distance sequence;
[0147] In the embodiments of this application, this step aims to establish a correspondence between the current work order flow path and historical typical paths. The alignment and matching can be achieved using a dynamic time warping algorithm or through index-based direct matching.
[0148] Calculate the absolute value of the difference between each distance value and the corresponding historical distance value to obtain the evolution deviation value between each two adjacent flow nodes in the flow node sequence;
[0149] In the embodiments of this application, this step quantifies the degree of difference between the current work order and historical experience patterns at each stage of the process, intuitively reflecting the degree of abnormality in the evolution of the fault. The absolute value of the difference can be obtained directly by subtracting the numerical values and taking the absolute value, or it can be calculated using other distance measurement methods, such as Euclidean distance or Manhattan distance.
[0150] Extract the inflow evolution deviation value and outflow evolution deviation value corresponding to each flow node to be tested in the flow node sequence, and calculate the local deviation feature based on the inflow evolution deviation value and the outflow evolution deviation value;
[0151] In the embodiments of this application, this step aims to comprehensively evaluate the degree of deviation of the local environment in which a single flow node is located, taking into account the flow state before and after the flow node under test. The local deviation characteristics can be obtained by summing the inflow evolution deviation value and the outflow evolution deviation value, weighted averaging, or taking the maximum value.
[0152] If the node to be tested is the first node or the last node, then the corresponding inflow evolution deviation value or outflow evolution deviation value will be used as a local deviation feature.
[0153] In the embodiments of this application, this step is intended to ensure that the local deviation features of the nodes at both ends of the flow sequence can be correctly calculated, avoiding calculation omissions or inaccuracies caused by the lack of one side's evolution deviation value.
[0154] Obtain the flow order of the node to be tested in the flow node sequence, and calculate the ratio of the flow order to the total length of the flow node sequence to obtain the depth scaling factor;
[0155] In the embodiments of this application, the depth scaling factor can characterize the relative position or depth of the node to be tested in the entire work order flow process, providing a basis for subsequent weight calculation. For example, the flow sequence can be an integer starting from 1, and the depth scaling factor is the flow sequence divided by the total length.
[0156] Using the natural constant as the base, the exponential value of the depth ratio coefficient is calculated as the position penalty weight. The position penalty weight is then multiplied with the local deviation feature to obtain the path deviation of the flow node to be tested.
[0157] In the embodiments of this application, location penalty weights are used to assign different importance to deviations at different locations. For example, the closer a node is to the end of the flow path, the more serious the problem or the more difficult the error to correct, and therefore it should be given a higher weight. The location penalty weights can be calculated using an exponential function exp(depth scaling factor) or exp(α*depth scaling factor), where α is an adjustable coefficient. Finally, the location penalty weights are multiplied by the local deviation features to obtain the path deviation degree of the flow node under test. By multiplying, the severity of the local deviation is combined with its importance in the entire flow path, resulting in a comprehensive deviation metric that more accurately reflects the contribution of the flow node under test to the overall work order anomalies.
[0158] For example, as a specific implementation method, suppose the flow node sequence of a target work order is: node A, node B, node C, node D. Through the aforementioned steps, the fault evolution distance sequence of the target work order has been generated, for example, [d]. AB ,d BC ,d CD ], and the historical feature evolution sequence matching the work order, for example, [h AB ,h BC ,h CD ].
[0159] First, align and match the two sequences, for example, using index matching, so that d AB Corresponding to h AB d BC Corresponding to h BC d CD Corresponding to h CD Based on this, the evolution deviation value is calculated: the evolution deviation value dev from node A to node B. AB =|d AB -h AB |; The evolution deviation from node B to node C, dev BC =|d BC -h BC |; The evolution deviation from node C to node D, dev CD =|d CD -h CD |
[0160] Furthermore, calculate the local deviation feature: For node A, i.e., the first node, its local deviation feature is the outflow deviation value dev. AB For node B, its local deviation characteristic is the inflow evolution deviation value dev. AB Deviation from stream output BC The sum of, i.e., dev AB +dev BCFor node C, its local deviation characteristic is the inflow evolution deviation value dev. BC Deviation from stream output CD The sum of, i.e., dev BC +dev CD For node D, i.e., the tail node, its local deviation characteristic is the inflow evolution deviation value dev. CD Simultaneously, the transit order is obtained and the depth scaling factor is calculated: the transit order of node A is 1, and the depth scaling factor is 1 / 4 = 0.25. The transit order of node B is 2, and the depth scaling factor is 2 / 4 = 0.5. The transit order of node C is 3, and the depth scaling factor is 3 / 4 = 0.75. The transit order of node D is 4, and the depth scaling factor is 4 / 4 = 1.0. The position penalty weight is calculated with the natural constant e as the base: the position penalty weight of node A is e. 0.25 The position penalty weight of node B is e. 0.5 The position penalty weight of node C is e. 0.75 The position penalty weight of node D is e. 1.0 .
[0161] Finally, the local deviation features are multiplied by the location penalty weights to obtain the path deviation for each node. For example, the path deviation for node B is (dev AB +dev BC )*e 0.5 In this way, the comprehensive path deviation of each flow node can be obtained, which can be used for subsequent source tracing analysis.
[0162] Through the above technical solution, this application can more accurately assess the degree of anomaly at each node in the work order process. It not only considers the deviation of local node evolution but also combines the node's position information within the entire process sequence, assigning differentiated importance to deviations at different stages through positional penalty weights. Based on this, the solution in this embodiment enables the system to more effectively identify nodes that exhibit significant deviations while also being at critical flow positions, thus avoiding the limitation of generalizing all deviations. Therefore, in the work order tracking and source tracing management of the fault reporting system, the system can more accurately locate the root cause of the problem, improve the efficiency of fault diagnosis and handling, reduce the misjudgment rate, and thereby optimize the overall operation and maintenance process.
[0163] In one embodiment, step 50, "determining the flow nodes in the flow node sequence that meet the deviation conditions as the source tracing target nodes, and generating corresponding review scheduling instructions based on the source tracing target nodes," specifically includes:
[0164] Calculate the mean and standard deviation of the path deviation of all flow nodes in the flow node sequence, and calculate the dynamic deviation threshold based on the mean and the standard deviation of a preset multiple.
[0165] In the embodiments of this application, path deviation can reflect the degree of deviation of a work order from the historical normal pattern at a specific flow node. By calculating the statistical characteristics of the path deviation of all flow nodes, namely the mean and standard deviation, the overall deviation distribution of the current work order can be quantified. The dynamic deviation threshold is determined based on statistical characteristics, such as the mean plus or minus a preset multiple of the standard deviation. It can be automatically adjusted according to the actual data distribution, avoiding misjudgments or omissions that may be caused by using a fixed threshold. For example, "mean + k * standard deviation" can be used as the threshold, where k is a configurable coefficient; or a percentile-based method can be used to determine the threshold, such as 95% or 99%.
[0166] Flow nodes whose path deviation is greater than the dynamic deviation threshold are identified as meeting the deviation conditions, and flow nodes that meet the deviation conditions are used as source tracing target nodes.
[0167] In the embodiments of this application, when the path deviation of a flow node exceeds the dynamic deviation threshold, it indicates that the work order flow behavior at the flow node has significantly deviated from the historical normal pattern and there may be an abnormal situation. Therefore, it is marked as a node that meets the deviation condition and further confirmed as a source target node, which will be the key object for subsequent manual review and problem tracing.
[0168] Obtain the entity identifier and operation identifier from the maintenance record text corresponding to the traceability target node, and generate the corresponding traceability review prompt content based on the entity identifier and operation identifier;
[0169] In the embodiments of this application, once the traceability target node is determined, the system will trace back to the original maintenance record text of the traceability target node and extract the key entity identifier and operation identifier from it. Furthermore, based on the entity identifier and operation identifier, traceability review prompts are generated, such as "Equipment A experienced an anomaly during operation B; please pay close attention," which helps reviewers quickly understand the core elements of the anomaly and improves review efficiency.
[0170] Based on the path deviation of the target node, a graded matching is performed in the preset qualification mapping table to determine the qualification level for review;
[0171] In the embodiments of this application, the path deviation of the source target node not only indicates the existence of an anomaly, but its magnitude also reflects the severity of the anomaly. By matching the deviation with a preset qualification mapping table, the qualification level that the personnel or team required to perform the review task can be determined based on the severity or complexity of the anomaly. For example, a high deviation may require review by a senior expert, while a low deviation may be handled by a general technician. The qualification mapping table can be pre-configured; for example, a deviation range of 0-X corresponds to basic qualification, XY corresponds to intermediate qualification, and above Y corresponds to advanced qualification.
[0172] The data, including the qualification level to be reviewed, the traceability review prompts, and the work order information corresponding to the traceability target node, are encapsulated to generate the corresponding review scheduling instructions.
[0173] In the embodiments of this application, the previously determined review qualification level, the generated traceability review prompt content, and the detailed information of the original work order associated with the traceability target node, such as work order number, fault description, and current status, are integrated and structured into a complete review scheduling instruction. This review scheduling instruction can be directly sent to the corresponding review personnel or scheduling system to guide them in subsequent review, investigation, and processing. The data encapsulation can use standard formats such as JSON and XML to ensure the instruction's parsability and executability.
[0174] Through the above technical solution, this application can transform abstract work order flow deviation into executable review and scheduling instructions. Specifically, firstly, by adopting a dynamic deviation threshold, the identification of abnormal nodes becomes more intelligent and adaptive, reducing the possibility of misjudgments or omissions caused by fixed thresholds, thereby improving the accuracy of identifying the source target node. Secondly, by extracting the entity identifier and operation identifier of the source target node to generate specific review prompts, clear investigation directions can be provided to reviewers, improving the efficiency of manual review. Furthermore, by matching review qualification levels according to deviation degree classification, intelligent assignment of review tasks can be achieved, ensuring that complex problems are handled by personnel with corresponding professional capabilities, thus optimizing human resource allocation. Finally, by encapsulating all relevant information into review and scheduling instructions, the tracking and source management of fault work orders forms a closed loop from problem discovery to problem resolution, effectively solving the technical problem that only deviation degree values cannot directly guide management actions, and improving the intelligence level and response speed of work order management in the fault reporting system.
[0175] In one embodiment, after step 50, which involves "identifying the flow nodes in the flow node sequence that meet the deviation conditions as the source tracing target nodes and generating corresponding review scheduling instructions based on the source tracing target nodes," the method further includes:
[0176] In response to the received analysis instructions, the intent of the analysis instructions is identified and slots are extracted to determine the analysis time period and the target work order set;
[0177] In the embodiments of this application, managers can input daily query and analysis needs through a natural language interactive interface, and the system receives these analysis instructions in natural language form. As one implementation, through an intent recognition model in natural language processing technology, the system can understand the user's core needs, such as whether to perform trend summary analysis or specific anomaly tracing. Simultaneously, through slot extraction, key constraints are extracted from the instruction text, particularly the analysis time period in the time dimension and the classification conditions in the business attribute dimension, thereby filtering and determining the target set of work orders to be analyzed in the underlying database. For example, if a user inputs "analyze server downtime-related repair work orders from last month," the system recognizes the query intent and extracts the time slot "last month" and the equipment slot "server," thus determining the set of work orders that meet the conditions, effectively transforming ambiguous human language into machine query logic.
[0178] It should be noted that the intent recognition and slot extraction techniques involved in the embodiments of this application can be implemented by those skilled in the art using existing conventional natural language processing models. For example, intent recognition is essentially a text classification task, which can be achieved by deploying a pre-trained BERT model or TextCNN model and fine-tuning the classification using historical query logs; slot extraction is essentially a sequence labeling task, which can be achieved using a BiLSTM-CRF model or rule-based regular expression matching technology. The above models and algorithms are well-known technologies in the field, and those skilled in the art can rely on open-source machine learning frameworks, such as TensorFlow or PyTorch, to complete the training and deployment of the models according to conventional manuals, which will not be elaborated further here.
[0179] Extract the fault evolution distance sequence, historical feature evolution sequence, and path deviation of each flow node corresponding to each target work order in the target work order set to construct a source tracing feature dataset;
[0180] In the embodiments of this application, in order to avoid the "illusion" phenomenon or waste of computing power caused by the generative large language model directly processing massive amounts of raw logs, the fault evolution distance sequence, historical feature evolution sequence and path deviation in the aforementioned steps are extracted and structured and integrated, so as to construct a machine-readable data cluster that the AI model can read, namely the source traceability feature dataset.
[0181] Based on the preset prompt word construction template, the analysis instructions, the source traceability feature dataset and the pre-built operation and maintenance domain dictionary are jointly concatenated to generate the target prompt word;
[0182] In the embodiments of this application, the quality of the constructed prompt words typically directly determines the output reliability of the large language model. Retrieval enhancement and template-based assembly strategies can be employed, with pre-defined, targeted prompt word construction templates that include role settings, task instructions, and output format requirements. Within this framework, the system uses the user's original analysis instructions as the core task objective, a structured source feature dataset as factual evidence, and a pre-built operations and maintenance domain dictionary as contextual background. This dictionary explains the proprietary meanings of specific operation identifiers or abbreviations. By jointly concatenating these three parts of information according to template rules, target prompt words containing logic, data, and domain-specific knowledge can be generated, effectively converging and constraining the generation boundary of the large language model.
[0183] It is understood that the template construction and joint concatenation process based on preset prompt words mentioned in the embodiments of this application can be implemented using existing prompt word engineering frameworks, such as the LangChain or LlamaIndex open-source frameworks. Specifically, this template can be structured in JSON or XML format, including a system setting area (used to define the role of the AI as an operations and maintenance expert), a context injection area (used to dynamically fill in the operations and maintenance domain dictionary entries and traceability feature datasets obtained through retrieval), and a task execution area (used to fill in the user's analysis instructions). Those skilled in the art can achieve automatic data reading and field concatenation of the above modules through conventional code programming, such as Python string formatting functions, without the need for complex underlying algorithm reconstruction.
[0184] By using a pre-deployed generative large language model, logical reasoning is performed based on the source feature dataset and target prompt words to generate and output an analysis report corresponding to the analysis instructions.
[0185] In the embodiments of this application, the pre-deployed generative large language model is preferably a locally privately deployed, fine-tuned large model in the operation and maintenance domain to ensure data security. After receiving the target prompt word, it can use its own natural language organization and logical reasoning capabilities to deeply analyze the distribution pattern and anomaly clustering trend of the deviation of each flow node in the source traceability feature dataset, and interpret its business impact in combination with the operation and maintenance domain dictionary, and finally generate and output an analysis report containing anomaly cause analysis and business optimization suggestions.
[0186] Furthermore, it should be noted that the pre-deployed generative large language model described in this application does not require a redesign of its underlying architecture. Those skilled in the art can readily obtain and deploy existing open-source basic large language models as base models, such as the LLaMA series, ChatGLM series, or Qwen series models. Regarding the preferred "operations and maintenance domain fine-tuning" in this application, those skilled in the art can employ conventional parameter-efficient fine-tuning techniques, such as LoRA or P-Tuningv2 methods. In practice, it is only necessary to construct an instruction fine-tuning dataset using existing enterprise operations and maintenance reports and fault diagnosis manuals as training sets, and input it into the aforementioned open-source framework for training to obtain a large language model with basic knowledge of the vertical operations and maintenance domain. The acquisition, deployment, and fine-tuning processes of the above models are all conventional engineering methods in the current computer software field and are fully feasible.
[0187] Through the aforementioned technical solutions, this application achieves a leap from quantitative data to natural language reports. Specifically, by using intent recognition and slot extraction, the system can accurately capture users' ambiguous query intent, enabling intelligent interaction. Secondly, extracting pre-calculated deviations to construct a feature dataset avoids allowing the large language model to directly process raw data, reducing the risk of AI illusions and ensuring the accuracy of factual analysis. Furthermore, by constructing target prompts through joint templates, datasets, and domain dictionaries, factual constraints are provided to the large language model, enhancing its professional performance in vertical operations and maintenance fields. Finally, generating and outputting analysis reports breaks through the bottleneck of traditional reports that can only present data information but cannot directly provide business conclusions, thereby lowering the data analysis threshold for operations and maintenance personnel and completing the overall closed loop of the fault tracking system.
[0188] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0189] In one embodiment, an AI-based fault reporting system work order tracking and tracing management platform is provided. This AI-based fault reporting system work order tracking and tracing management platform corresponds one-to-one with the AI-based fault reporting system work order tracking and tracing management method described in the previous embodiment. The AI-based fault reporting system work order tracking and tracing management platform includes:
[0190] The maintenance text extraction module is used to obtain the current flow node sequence of the target work order and extract the maintenance record text corresponding to each flow node in the flow node sequence of the target work order;
[0191] The first sequence generation module is used to extract the fault feature vector from the maintenance record text, and calculate the distance between the fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence, so as to generate the fault evolution distance sequence of the target work order.
[0192] The second sequence generation module is used to obtain a set of historical work orders, extract historical path data that matches the target work order, and generate a historical feature evolution sequence based on the historical path data.
[0193] The path deviation calculation module is used to compare the fault evolution distance sequence with the historical feature evolution sequence and calculate the path deviation of each flow node in the flow node sequence.
[0194] The scheduling instruction generation module is used to identify the flow nodes in the flow node sequence that meet the deviation conditions as the source target nodes, and generate corresponding review scheduling instructions based on the source target nodes.
[0195] For specific limitations regarding the AI-based fault reporting system work order tracking and traceability management platform, please refer to the limitations of the AI-based fault reporting system work order tracking and traceability management method described above, which will not be repeated here. The various modules in the aforementioned AI-based fault reporting system work order tracking and traceability management platform can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0196] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows. Figure 2 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database is used for data storage, data processing, and data analysis. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements an AI-based fault reporting system for work order tracking and source tracing management.
[0197] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements a fault reporting system work order tracking and source tracing management method based on AI analysis.
[0198] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0199] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for work order tracking and source tracing management in a fault reporting system based on AI analysis, characterized in that, Including the following steps: Obtain the current flow node sequence of the target work order, and extract the maintenance record text corresponding to each flow node in the flow node sequence of the target work order; Extract the fault feature vector from the maintenance record text, and calculate the distance between the fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence, thereby generating the fault evolution distance sequence of the target work order. Obtain a set of historical work orders, extract historical path data that matches the target work order, and generate a historical feature evolution sequence based on the historical path data; By comparing the fault evolution distance sequence with the historical feature evolution sequence, the path deviation of each flow node in the flow node sequence is calculated; The flow nodes that meet the deviation conditions in the flow node sequence are identified as the source target nodes, and corresponding review scheduling instructions are generated based on the source target nodes.
2. The method for work order tracking and source tracing management of a fault reporting system based on AI analysis as described in claim 1, characterized in that, The steps of extracting fault feature vectors from maintenance record text and calculating the distance between fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence to generate a fault evolution distance sequence for the target work order specifically include: Semantic parsing is performed on the maintenance record text corresponding to each flow node to obtain entity identifiers and operation identifiers in the maintenance record text; Entity identifiers and operation identifiers are mapped to the vector space of the pre-built operation and maintenance knowledge graph to obtain the corresponding entity embedding vectors and operation embedding vectors. The entity embedding vectors and operation embedding vectors are then concatenated to obtain the fault feature vector of the maintenance record text. Based on the flow order of the flow node sequence, the adjacent preceding and following flow nodes are determined sequentially in the flow node sequence; Calculate the distance between the fault feature vector corresponding to the preceding flow node and the fault feature vector corresponding to the following flow node, and combine them according to the flow order to obtain the fault evolution distance sequence.
3. The method for work order tracking and source tracing management of a fault reporting system based on AI analysis as described in claim 2, characterized in that, The step of mapping entity identifiers and operation identifiers to the vector space of a pre-constructed operation and maintenance knowledge graph to obtain corresponding entity embedding vectors and operation embedding vectors, and concatenating the entity embedding vectors and operation embedding vectors to obtain the fault feature vector of the maintenance record text, specifically includes: In the pre-built operation and maintenance knowledge graph, the corresponding matching central entity node is located based on the entity identifier, and the adjacent fault nodes of the central entity node within the preset number of hops are extracted. Calculate the graph topology distance between each adjacent fault node and the central entity node. Based on the graph topology distance, perform attenuation weighting on the node vectors of adjacent fault nodes and aggregate them to generate entity embedding vectors corresponding to entity identifiers. In the pre-built operation and maintenance knowledge graph, the corresponding matching operation node is located based on the operation identifier, and the maintenance attribute tag associated with the operation node is obtained. The node vector of the operation node and the tag vector of the maintenance attribute tag are weighted and fused to generate the operation embedding vector of the operation identifier. Calculate the dot product of the entity embedding vector and the operation embedding vector, and then perform dot product operations with the entity embedding vector and the operation embedding vector respectively to obtain the first embedding vector and the second embedding vector. The first embedding vector and the second embedding vector are concatenated dimensionally to obtain the fault feature vector of the maintenance record text.
4. The method for work order tracking and source tracing management of a fault reporting system based on AI analysis according to claim 3, characterized in that, The steps of calculating the graph topological distance between each adjacent faulty node and the central entity node, and then performing attenuation weighting and aggregation on the node vectors of adjacent faulty nodes based on the graph topological distance to generate the entity embedding vector corresponding to the entity identifier, specifically include: Obtain the shortest path hop count from each adjacent faulty node to the central entity node, and use it as the graph topology distance; The total number of associated edges of each adjacent fault node in the pre-built operation and maintenance knowledge graph is counted as the node connection degree, and the specific penalty factor of each adjacent fault node is calculated based on the node connection degree. Using the natural constant as the base, the negative exponent of the topological distance of the map is calculated to obtain the distance attenuation coefficient; The distance decay coefficient and the specific penalty factor are multiplied to obtain the initial weight of each adjacent fault node. The initial weight of all adjacent fault nodes within the preset hop count range is normalized by the normalization exponential function to obtain the aggregate weight of each adjacent fault node. The aggregate weight is multiplied by the node vector of the corresponding adjacent fault node to obtain the weighted node vector. The weighted node vectors of all adjacent fault nodes within the preset hop count range are summed to generate the entity embedding vector corresponding to the entity identifier.
5. The method for work order tracking and source tracing management of a fault reporting system based on AI analysis according to claim 3, characterized in that, The steps of locating the corresponding matching operation node based on the operation identifier in the pre-built operation and maintenance knowledge graph, obtaining the maintenance attribute tags associated with the operation node, and weightedly fusing the node vector of the operation node with the tag vector of the maintenance attribute tags to generate the operation embedding vector of the operation identifier specifically include: In the pre-built operation and maintenance knowledge graph, the corresponding matching operation node is located based on the operation identifier, and multiple maintenance attribute tags associated with the operation node are extracted to obtain the initial tag vector corresponding to each maintenance attribute tag. Calculate the cosine similarity between the node vector of the operation node and the initial label vector, and normalize the cosine similarity using a normalized exponential function to obtain the fusion weight of each maintenance attribute label. The initial label vectors are weighted and summed based on the fusion weights to obtain the aggregated label vector. The node vector of the operation node is concatenated with the aggregated label vector in terms of dimension, and then input into a preset activation function for non-linear mapping to generate a gated vector with the same dimension as the aggregated label vector. The gating vector and the aggregated label vector are multiplied to obtain the target label vector. The target label vector is then added to the node vector of the operation node to generate the operation embedding vector of the operation identifier.
6. The method for work order tracking and source tracing management of a fault reporting system based on AI analysis according to claim 1, characterized in that, The step of comparing the fault evolution distance sequence with the historical feature evolution sequence and calculating the path deviation of each transition node in the transition node sequence specifically includes: Align and match the fault evolution distance sequence with the historical feature evolution sequence to determine the historical distance value corresponding to each distance value in the fault evolution distance sequence; Calculate the absolute value of the difference between each distance value and the corresponding historical distance value to obtain the evolution deviation value between each two adjacent flow nodes in the flow node sequence; Extract the inflow evolution deviation value and outflow evolution deviation value corresponding to each flow node to be tested in the flow node sequence, and calculate the local deviation feature based on the inflow evolution deviation value and the outflow evolution deviation value; If the node to be tested is the first node or the last node, then the corresponding inflow evolution deviation value or outflow evolution deviation value will be used as a local deviation feature. Obtain the flow order of the node to be tested in the flow node sequence, and calculate the ratio of the flow order to the total length of the flow node sequence to obtain the depth scaling factor; Using the natural constant as the base, the exponential value of the depth ratio coefficient is calculated as the position penalty weight. The position penalty weight is then multiplied with the local deviation feature to obtain the path deviation of the flow node to be tested.
7. The method for work order tracking and source tracing management of a fault reporting system based on AI analysis according to claim 1, characterized in that, The step of identifying the flow nodes in the flow node sequence that meet the deviation conditions as the source tracing target nodes, and generating corresponding review scheduling instructions based on the source tracing target nodes, specifically includes: Calculate the mean and standard deviation of the path deviation of all flow nodes in the flow node sequence, and calculate the dynamic deviation threshold based on the mean and the standard deviation of a preset multiple. Flow nodes whose path deviation is greater than the dynamic deviation threshold are identified as meeting the deviation conditions, and flow nodes that meet the deviation conditions are used as source tracing target nodes. Obtain the entity identifier and operation identifier from the maintenance record text corresponding to the traceability target node, and generate the corresponding traceability review prompt content based on the entity identifier and operation identifier; Based on the path deviation of the target node, a graded matching is performed in the preset qualification mapping table to determine the qualification level for review; The data, including the qualification level to be reviewed, the traceability review prompts, and the work order information corresponding to the traceability target node, are encapsulated to generate the corresponding review scheduling instructions.
8. The method for work order tracking and source tracing management of a fault reporting system based on AI analysis according to claim 1, characterized in that, After the step of determining the flow nodes in the flow node sequence that meet the deviation conditions as the source target nodes and generating corresponding review scheduling instructions based on the source target nodes, the method further includes: In response to the received analysis instructions, the intent of the analysis instructions is identified and slots are extracted to determine the analysis time period and the target work order set; Extract the fault evolution distance sequence, historical feature evolution sequence, and path deviation of each flow node corresponding to each target work order in the target work order set to construct a source tracing feature dataset; Based on the preset prompt word construction template, the analysis instructions, the source traceability feature dataset and the pre-built operation and maintenance domain dictionary are jointly concatenated to generate the target prompt word; By using a pre-deployed generative large language model, logical reasoning is performed based on the source feature dataset and target prompt words to generate and output an analysis report corresponding to the analysis instructions.
9. A fault reporting system work order tracking and traceability management platform based on AI analysis, characterized in that, include: The maintenance text extraction module is used to obtain the current flow node sequence of the target work order and extract the maintenance record text corresponding to each flow node in the flow node sequence of the target work order; The first sequence generation module is used to extract the fault feature vector from the maintenance record text, and calculate the distance between the fault feature vectors corresponding to two adjacent transfer nodes based on the transfer order of the transfer node sequence, so as to generate the fault evolution distance sequence of the target work order. The second sequence generation module is used to obtain a set of historical work orders, extract historical path data that matches the target work order, and generate a historical feature evolution sequence based on the historical path data. The path deviation calculation module is used to compare the fault evolution distance sequence with the historical feature evolution sequence and calculate the path deviation of each flow node in the flow node sequence. The scheduling instruction generation module is used to identify the flow nodes in the flow node sequence that meet the deviation conditions as the source target nodes, and generate corresponding review scheduling instructions based on the source target nodes.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a fault reporting system work order tracking and source tracing management method based on AI analysis as described in any one of claims 1 to 8.
