Collaborative processing method and system based on multi-scene maintenance training data
By generating causal directed acyclic graphs and employing causal transfer strategies, the problems of semantic inconsistency and causal structure differences in cross-scenario maintenance and repair training data were resolved, enabling collaborative processing of cross-scenario data and efficient updating of training decisions.
Patent Information
- Application Number
- CN202611408720.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies for cross-scenario industrial inspection and maintenance training suffer from problems such as inconsistent data semantics, negative transfer due to differences in causal structure, disconnect between training data and model training, and lack of cross-scenario knowledge support for incremental learning, resulting in low efficiency of model adaptation to new scenarios.
By generating causal directed acyclic graphs for each scenario, aggregating weight allocations, quantifying causal transfer coefficients, detecting distribution shifts, generating knowledge transfer strategies, and realizing model updates and outputting training decisions, cross-scenario collaborative processing is achieved.
It achieves semantic alignment and causal structure similarity analysis of cross-scenario data, improves the model's efficiency in adapting to new scenarios, and enhances the accuracy and efficiency of training decisions.
Smart Images

Figure CN123182476A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of industrial digital training technology, and more specifically, to a collaborative processing method and system based on multi-scenario maintenance and repair training data. Background Technology
[0002] Industrial maintenance and repair training is a crucial link in ensuring the safe operation of equipment in fields such as power, chemical, and manufacturing. With the popularization of digital technology in various industrial scenarios, training methods such as VR simulation training, remote practical assessment, and emergency drills are gradually being promoted, accumulating a large amount of equipment operation data, trainee operation data, and fault case data.
[0003] In the prior art, CN121305961A discloses a multi-industrial equipment scene perspective simulation training system and its training method. It constructs a three-layer detail level model based on real equipment mapping data, and generates fault chains based on historical operating data and operating specifications through a fault causal graph module, mapping them to operating tasks. During simulation, a perspective rendering strategy is automatically executed, making the outer shell involved in the fault transparent and highlighting internal components. This solution has achieved good results in single-device simulation training in a single setting, but its fault causal graph is constructed based on static historical data and lacks a cross-scene knowledge sharing mechanism. That is, training data from different factories and different equipment types are isolated, making it impossible to achieve cross-scene reuse of causal knowledge. CN120670792A discloses a fault diagnosis model construction method based on distributed causal discovery and federated learning, attempting to introduce federated learning into the field of industrial fault diagnosis. This method obtains a global causal graph through federated causal discovery, embeds the causal strength matrix into a graph convolutional neural network, and trains personalized and global diagnostic models. This scheme has advantages in protecting data privacy, but its federated aggregation strategy is mainly designed for device status monitoring data and does not consider the heterogeneous characteristics of multimodal data (video streams, 3D gestures, text comments, assessment scores) in training scenarios, nor does it solve the negative transfer problem caused by differences in causal structures across different scenarios. CN117194668A discloses a method for generating an operation and maintenance knowledge graph, which constructs a knowledge graph through techniques such as pattern design, ontology construction, data cleaning, entity recognition, relation recognition, data fusion, and knowledge reasoning. This method transforms operation and maintenance experience into structured knowledge, allowing users to find corresponding operation and maintenance solutions in the knowledge graph based on operation and maintenance tasks. However, this knowledge graph is built based on static data, updates rely on manual intervention, and there is a lack of linkage between the knowledge graph and downstream model training. The causal knowledge in the graph cannot automatically guide the aggregation weight allocation and transfer strategy selection in federated learning.
[0004] Therefore, existing technologies still have shortcomings. First, the semantics of cross-scenario data are inconsistent. Training data formats, field definitions, and fault coding rules vary across different industrial scenarios. Existing solutions lack automated semantic alignment mechanisms, making it difficult to collaboratively analyze multi-scenario data within a unified causal framework. Second, the aggregation strategies in federated learning deviate from the causal structure. Existing federated learning methods typically allocate weights based on sample size or gradient similarity when aggregating model parameters from different scenarios, without considering the structural differences in the causal directed acyclic graphs of each scenario. Scenarios with high causal similarity fail to obtain higher aggregation weights, while scenarios with low similarity do. Third, training data is disconnected from model training. Existing knowledge graph solutions store causal knowledge statically, which is independent of the downstream federated training and incremental update process, and cannot achieve a closed loop of "causal knowledge, model training, training decision, new data feedback, and causal knowledge update". Fourth, incremental learning lacks cross-scenario knowledge support. When a new type of fault or equipment condition changes in a certain scenario, the existing solution only relies on the local data of that scenario to update the model. It fails to obtain transferable auxiliary knowledge from other scenarios based on the similarity of causal structure, resulting in low efficiency of the model adapting to new scenarios.
[0005] Effective technical solutions are urgently needed to address the above problems. Summary of the Invention
[0006] The purpose of this application is to provide a collaborative processing method and system based on multi-scenario maintenance and repair training data. This method can generate causal directed acyclic graphs for each scenario, aggregate weight allocation, quantify the causal transfer coefficients between scenarios, generate knowledge transfer strategies, detect the distribution shift of newly added data, complete model updates, and output training decisions, thereby achieving collaborative processing of multi-scenario maintenance and repair training data.
[0007] Firstly, this application provides a collaborative processing method for maintenance and repair training data based on multiple scenarios, including the following steps:
[0008] Obtain a multi-scenario inspection and maintenance training dataset, and perform data preprocessing to obtain a multi-scenario inspection and maintenance standard dataset;
[0009] The multi-scenario inspection and maintenance standard dataset is grouped according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario, and causal structure learning is performed on each to obtain the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario.
[0010] Based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario, causal structure similarity analysis is performed to obtain the causal structure similarity matrix;
[0011] A multi-scenario inspection and maintenance collaborative model is obtained by constructing a model based on the scenario inspection and maintenance standard data subset and the causal structure similarity matrix.
[0012] Based on the causal directed acyclic graph corresponding to each scenario, cross-scenario causal subgraphs are aligned to obtain common causal subgraphs and unique causal subgraphs. These are then analyzed and processed to obtain causal transfer coefficients and generate cross-scenario knowledge transfer strategies.
[0013] New maintenance and repair training data is acquired, and combined with historical maintenance and repair training data for analysis and processing to obtain distribution offset. Threshold comparison is performed, and an incremental learning mechanism is triggered based on the threshold comparison results. The multi-scenario maintenance and repair collaborative model is incrementally trained in conjunction with the cross-scenario knowledge transfer strategy to obtain an updated multi-scenario maintenance and repair collaborative model.
[0014] The system acquires scenario operating condition feature vectors, trainee feature vectors, causal feature codes, and global context features. These are then analyzed and processed using the multi-scenario maintenance and repair collaborative update model to obtain multi-dimensional prediction results. Finally, the system analyzes these results through the training decision generation module to generate maintenance and repair training decision data.
[0015] Optionally, in the collaborative processing method based on multi-scenario maintenance and repair training data described in this application, the step of obtaining a multi-scenario maintenance and repair training dataset and performing data preprocessing to obtain a multi-scenario maintenance and repair standard dataset includes:
[0016] Acquire multi-scenario maintenance and repair training datasets, including equipment status time-series data, maintenance operation record data, fault label data, and scenario attribute data corresponding to different industrial scenario types;
[0017] The equipment status time-series data, maintenance operation record data, fault tag data, and scenario attribute data are subjected to data preprocessing, including data format unification and standardization, multi-source time-series calibration and alignment, data quality assessment and cleaning, multi-source data fusion, and abnormal data processing, to obtain a multi-scenario inspection and maintenance standard dataset.
[0018] Optionally, in the collaborative processing method based on multi-scenario maintenance training data described in this application, the step of grouping the multi-scenario maintenance standard dataset according to scenario type to obtain a subset of scenario maintenance standard data corresponding to each scenario, and performing causal structure learning on each subset to obtain a causal directed acyclic graph and a causal adjacency matrix corresponding to each scenario, includes:
[0019] The multi-scenario inspection and maintenance standard dataset is grouped according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario.
[0020] Causal structure learning is performed on the subset of the scene inspection and maintenance standard data to generate causal directed acyclic graphs corresponding to each scene;
[0021] Identify direct causal features, indirect causal features, and confounding features based on the directed edges of the causal directed acyclic graph.
[0022] The direct causal features are used as the main causal variables, the indirect causal features are used as path variables, and the confounding features are used as conditional adjustment variables to perform do-calculus intervention analysis and obtain the causal effect vector corresponding to each scenario.
[0023] The causal effect vectors of each scenario are combined into a causal feature dataset for inspection and maintenance, and then analyzed to obtain the causal adjacency matrix corresponding to each scenario.
[0024] Optionally, in the collaborative processing method based on multi-scenario maintenance and repair training data described in this application, the step of performing causal structure similarity analysis based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario to obtain the causal structure similarity matrix between scenarios includes:
[0025] Based on the causal adjacency matrix corresponding to each scenario, causal paths are extracted to obtain the set of causal paths corresponding to each scenario.
[0026] The Weisfeiler-Lehman graph kernel algorithm is used to calculate and analyze the causal directed acyclic graph to obtain the graph kernel similarity.
[0027] Based on the set of causal paths, the set similarity is obtained by using Jaccard similarity calculation and analysis.
[0028] Based on the causal effect vector, Wasserstein distance calculation analysis is used to obtain the distribution similarity;
[0029] The causal structure similarity is obtained by weighted summation of the graph kernel similarity, set similarity, and distribution similarity.
[0030] Using each scene as a node and the causal structure similarity as the edge weight, a causal structure similarity matrix is constructed between scenes.
[0031] Optionally, in the collaborative processing method based on multi-scenario maintenance and repair training data described in this application, the step of constructing a model based on the subset of scenario maintenance and repair standard data and the causal structure similarity matrix to obtain a multi-scenario maintenance and repair collaborative model includes:
[0032] On the local node, local model training is performed based on the subset of the scenario inspection and maintenance standard data to obtain the local model parameters and local gradients for each scenario.
[0033] The federated aggregation weights for each scenario are determined based on the causal structure similarity matrix.
[0034] Based on the federated aggregation weights, the local model parameters of each scenario are safely weighted and aggregated to obtain the global model parameters;
[0035] The global model parameters are distributed to the local nodes corresponding to each scenario, and the process is iteratively executed until the convergence condition is met, thereby obtaining a multi-scenario inspection and maintenance collaborative model.
[0036] Optionally, in the collaborative processing method based on multi-scenario maintenance and repair training data described in this application, the step of aligning cross-scenario causal subgraphs according to the causal directed acyclic graphs corresponding to each scenario to obtain common causal subgraphs and unique causal subgraphs, and then analyzing and processing them to obtain causal transfer coefficients and generate cross-scenario knowledge transfer strategies includes:
[0037] Based on the causal directed acyclic graph corresponding to each scenario, cross-scenario causal subgraph alignment is performed to identify common causal subgraphs with the same causal structure among scenarios and unique causal subgraphs unique to each scenario.
[0038] Extract cross-scene transferable causal knowledge based on the public causal subgraph, and identify scene-specific causal knowledge based on the unique causal subgraph;
[0039] Based on the cross-scenario transferable causal knowledge and the causal structure similarity matrix between scenarios, the causal transfer coefficients between each scenario are obtained through analysis and processing.
[0040] A cross-scene knowledge transfer strategy is generated based on the causal transfer coefficient and the scene-specific causal knowledge.
[0041] Optionally, in the collaborative processing method based on multi-scenario maintenance and repair training data described in this application, the step of acquiring new maintenance and repair training data, analyzing and processing it in conjunction with historical maintenance and repair training data to obtain distribution offset, comparing it with a threshold, triggering an incremental learning mechanism based on the threshold comparison result, and incrementally training the multi-scenario maintenance and repair collaborative model in conjunction with the cross-scenario knowledge transfer strategy to obtain an updated multi-scenario maintenance and repair collaborative update model includes:
[0042] Acquire new maintenance and repair training data, including new fault record data, new equipment access data, new trainee operation record data, and operating condition change data. Combine this with historical maintenance and repair training data and perform distribution comparison analysis in the feature space using a multi-scenario maintenance and repair collaborative model to obtain the distribution offset.
[0043] The distribution offset is compared with a preset distribution offset threshold.
[0044] If the distribution offset is less than or equal to the preset distribution offset threshold, the incremental learning mechanism will not be triggered.
[0045] If the distribution offset is greater than the preset distribution offset threshold, the incremental learning mechanism is triggered, and the auxiliary data corresponding to the available auxiliary scenarios is determined according to the cross-scenario knowledge transfer strategy.
[0046] The auxiliary data is merged with the newly added maintenance and repair training data, and the multi-scenario maintenance and repair collaborative model is incrementally trained to obtain the updated multi-scenario maintenance and repair collaborative model.
[0047] Optionally, in the collaborative processing method based on multi-scenario maintenance and repair training data described in this application, the step of obtaining scenario operating condition feature vectors, trainee feature vectors, causal feature codes, and global context features, analyzing and processing them through the multi-scenario maintenance and repair collaborative update model to obtain multi-dimensional prediction results, and then analyzing them through the training decision generation module to generate maintenance and repair training decision data, including:
[0048] Based on the subset of the scenario inspection and maintenance standard data, feature extraction and vectorization are performed to obtain the scenario working condition feature vector;
[0049] Obtain student feature vectors, causal feature encodings, and global context features;
[0050] The scenario working condition feature vector, trainee feature vector, causal feature encoding and global context features are input into the multi-scenario inspection and maintenance collaborative update model for analysis and processing to obtain multi-dimensional prediction results, including the probability of fault occurrence, the probability of successful operation, the skill defect risk prediction vector and the expected training effect.
[0051] Based on the predicted probability of fault occurrence, the predicted probability of successful operation, the predicted vector of skill defect risk, and the expected training effect, combined with the preset trainee historical training records, preset course knowledge graph, and preset training resource constraints, the training decision generation module analyzes and processes the data to obtain maintenance training decision data, including training content recommendation data, training difficulty adjustment data, and training path planning data.
[0052] Secondly, this application provides a collaborative processing system based on multi-scenario maintenance and repair training data. The system includes a memory and a processor. The memory includes a program for a collaborative processing method based on multi-scenario maintenance and repair training data. When the program for the collaborative processing method based on multi-scenario maintenance and repair training data is executed by the processor, it implements the following steps:
[0053] Obtain a multi-scenario inspection and maintenance training dataset, and perform data preprocessing to obtain a multi-scenario inspection and maintenance standard dataset;
[0054] The multi-scenario inspection and maintenance standard dataset is grouped according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario, and causal structure learning is performed on each to obtain the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario.
[0055] Based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario, causal structure similarity analysis is performed to obtain the causal structure similarity matrix;
[0056] A multi-scenario inspection and maintenance collaborative model is obtained by constructing a model based on the scenario inspection and maintenance standard data subset and the causal structure similarity matrix.
[0057] Based on the causal directed acyclic graph corresponding to each scenario, cross-scenario causal subgraphs are aligned to obtain common causal subgraphs and unique causal subgraphs. These are then analyzed and processed to obtain causal transfer coefficients and generate cross-scenario knowledge transfer strategies.
[0058] New maintenance and repair training data is acquired, and combined with historical maintenance and repair training data for analysis and processing to obtain distribution offset. Threshold comparison is performed, and an incremental learning mechanism is triggered based on the threshold comparison results. The multi-scenario maintenance and repair collaborative model is incrementally trained in conjunction with the cross-scenario knowledge transfer strategy to obtain an updated multi-scenario maintenance and repair collaborative model.
[0059] The system acquires scenario operating condition feature vectors, trainee feature vectors, causal feature codes, and global context features. These are then analyzed and processed using the multi-scenario maintenance and repair collaborative update model to obtain multi-dimensional prediction results. Finally, the system analyzes these results through the training decision generation module to generate maintenance and repair training decision data.
[0060] Optionally, in the collaborative processing system based on multi-scenario maintenance and repair training data described in this application, the step of acquiring the multi-scenario maintenance and repair training dataset and performing data preprocessing to obtain the multi-scenario maintenance and repair standard dataset includes:
[0061] Acquire multi-scenario maintenance and repair training datasets, including equipment status time-series data, maintenance operation record data, fault label data, and scenario attribute data corresponding to different industrial scenario types;
[0062] The equipment status time-series data, maintenance operation record data, fault tag data, and scenario attribute data are subjected to data preprocessing, including data format unification and standardization, multi-source time-series calibration and alignment, data quality assessment and cleaning, multi-source data fusion, and abnormal data processing, to obtain a multi-scenario inspection and maintenance standard dataset.
[0063] As can be seen from the above, the collaborative processing method and system based on multi-scenario maintenance and repair training data provided in this application achieve collaborative processing based on multi-scenario maintenance and repair training data by generating causal directed acyclic graphs for each scenario, aggregating weight allocation, quantifying the causal transfer coefficients between scenarios, generating knowledge transfer strategies, detecting the distribution shift of newly added data, completing model updates and outputting training decisions.
[0064] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing embodiments of this application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings. Attached Figure Description
[0065] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0066] Figure 1 A flowchart illustrating the collaborative processing method for multi-scenario maintenance and repair training data provided in this application embodiment;
[0067] Figure 2 A flowchart illustrating the process of obtaining the causal directed acyclic graph and causal structure similarity matrix between scenarios using the collaborative processing method based on multi-scenario maintenance and repair training data provided in this application embodiment;
[0068] Figure 3 The flowchart illustrates the process of obtaining an updated multi-scenario maintenance collaborative update model using a collaborative processing method based on multi-scenario maintenance training data, as provided in this application embodiment. Detailed Implementation
[0069] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0070] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0071] Example 1
[0072] Please refer to Figure 1 , Figure 1 This is a flowchart of a collaborative processing method based on multi-scenario maintenance and repair training data according to some embodiments of this application. This collaborative processing method based on multi-scenario maintenance and repair training data is used in terminal devices, such as computers and mobile terminals. The collaborative processing method based on multi-scenario maintenance and repair training data includes the following steps:
[0073] S11. Obtain a multi-scenario inspection and maintenance training dataset, and perform data preprocessing to obtain a multi-scenario inspection and maintenance standard dataset.
[0074] The process of acquiring a multi-scenario maintenance training dataset and performing data preprocessing to obtain a multi-scenario maintenance standard dataset includes:
[0075] Acquire multi-scenario maintenance and repair training datasets, including equipment status time-series data, maintenance operation record data, fault label data, and scenario attribute data corresponding to different industrial scenario types;
[0076] The equipment status time-series data, maintenance operation record data, fault tag data, and scenario attribute data are subjected to data preprocessing, including data format unification and standardization, multi-source time-series calibration and alignment, data quality assessment and cleaning, multi-source data fusion, and abnormal data processing, to obtain a multi-scenario inspection and maintenance standard dataset.
[0077] Specifically, "multi-scenario" refers to two or more different industrial scenario types, such as power equipment maintenance scenario, chemical pipeline inspection scenario, manufacturing equipment repair scenario, electrical system maintenance scenario, coal mine underground electromechanical equipment maintenance scenario, and rail transit vehicle maintenance scenario. Equipment status time-series data includes vibration frequency, temperature, pressure, current, voltage, and speed, which are collected through industrial sensors such as vibration sensors, temperature probes, pressure transmitters, and current transformers. Maintenance operation record data includes regular inspection records, preventive maintenance records, maintenance work orders, operation step time-series logs, and VR (or AR) operation behavior trajectories, which are manually entered through mobile terminals and workstations. The VR (or AR) simulation training system automatically collects fault label data, including fault occurrence time, fault type code, fault cause description, handling measures, and maintenance results. This data is automatically recorded by the equipment management system and manually supplemented by maintenance personnel. Scene attribute data includes scene type identifier, risk level, environmental parameters, equipment model, and rated parameters, obtained through scene configuration tables and environmental sensors. Multi-source heterogeneous raw data is transformed into a standardized dataset with a unified format. This includes multi-protocol heterogeneous data access (multi-protocol data access adaptation layers are deployed on each scene edge gateway, and a protocol parsing service is built based on the Netty framework, supporting industrial protocols such as Modbus, OPC UA, Profibus, IEC 61850, and MQTT, performing protocol identification and automatic matching, CRC / hash integrity verification, duplicate data detection, and timestamp extraction), and data format unification and standardization (field name mapping is performed according to a preset scene data format standard table, such as uniformly mapping voltage and voltage to...). (Data type standardization: numeric fields are uniformly float64, timestamps are uniformly int64 millisecond level; unit conversion, such as kV and V are uniformly converted to V, MPa and bar are uniformly converted to kPa; sampling frequency standardization and resampling to 1Hz or 10Hz); multi-source time series calibration and alignment (using NTP server time as the reference, calculate the timestamp deviation of each data source; if the standard deviation of the deviation is less than 50ms, use fixed offset correction, that is, all timestamps minus the average deviation; if it is greater than or equal to 50ms, use dynamic drift model and fit it with least squares method). The drift rate and initial deviation are determined by taking the fault occurrence time t0 as the baseline, extracting a time series window of 30 minutes before and 10 minutes after, and generating a unified time series index with Δt=1 second. Data quality assessment and cleaning (determined by weighted summation based on completeness, accuracy, timeliness, and consistency, and removing low-quality data with scores below the threshold) and multi-source data fusion (building a wide table structure with time as the row index and each data type variable as the column index, fusion of records from multiple data sources at the same time using weighted average, with weights dynamically allocated according to quality scores, output in Parquet or Apache Arrow columnar storage format, and partitioned by scenario type and date in the local encrypted storage system of each scenario edge node). After preprocessing, a multi-scenario inspection and maintenance standard dataset with a unified time series index (based on the operation time), unified units and field naming, qualified quality, and organized in a wide table structure (time as the row index and each variable as the column index) is obtained.
[0078] S12. Group the multi-scenario inspection and maintenance standard dataset according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario, and perform causal structure learning respectively to obtain the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario.
[0079] The step of grouping the multi-scenario inspection and maintenance standard dataset by scenario type to obtain a scenario-specific subset of inspection and maintenance standard data for each scenario, and performing causal structure learning on each subset to obtain a causal directed acyclic graph and a causal adjacency matrix for each scenario, includes:
[0080] The multi-scenario inspection and maintenance standard dataset is grouped according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario.
[0081] Causal structure learning is performed on the subset of the scene inspection and maintenance standard data to generate causal directed acyclic graphs corresponding to each scene;
[0082] Identify direct causal features, indirect causal features, and confounding features based on the directed edges of the causal directed acyclic graph.
[0083] The direct causal features are used as the main causal variables, the indirect causal features are used as path variables, and the confounding features are used as conditional adjustment variables to perform do-calculus intervention analysis and obtain the causal effect vector corresponding to each scenario.
[0084] The causal effect vectors of each scenario are combined into a causal feature dataset for inspection and maintenance, and then analyzed to obtain the causal adjacency matrix corresponding to each scenario.
[0085] Specifically, the multi-scenario inspection and maintenance standard dataset is grouped according to scenario type identifiers to obtain scenario data subsets for each scenario, including equipment state variable vectors, operational behavior variable vectors, environmental variable vectors, and fault result variables. Each scenario data subset is independently stored locally on its corresponding edge node without cross-scenario raw data exchange. A completely undirected graph is constructed by connecting the variable nodes (including equipment state variables, operational behavior variables, environmental variables, and fault result variables) pairwise. Conditional independence is tested for each pair of adjacent nodes (searching for a condition set Z among the remaining nodes such that X⊥Y|Z holds; the test method is a partial correlation coefficient test or a chi-square independence test, with a significance level α=0.0). 5) If a condition set Z exists such that X⊥Y|Z holds, then delete the undirected edge between X and Y to obtain the causal skeleton. Use the Collider and Meek rules to determine the direction of the remaining undirected edges, generating a causal directed acyclic graph (DAG) (each directed edge A→B indicates that variable A is a direct cause of variable B). Compare the learned DAG with the preset domain knowledge graph. If the causal direction output by the algorithm conflicts with the domain knowledge, mark the conflicting edges and push them to domain experts for manual correction. Convert the causal directed acyclic graph of each scenario into a causal adjacency matrix (an n×n 0-1 matrix, where n is the number of variable nodes): if there is a direct directed edge i→j from variable i to variable j, then... ,otherwise If a direct directed edge X→Y exists, it is identified as a direct causal feature (e.g., ambient temperature → equipment temperature, medium corrosivity level → pipe wall corrosion rate). If a directed path X→Z1→...→Z_m→Y (m≥1) exists, it is identified as an indirect causal feature (e.g., ambient temperature → equipment temperature → thermal stress → insulation aging → insulation breakdown). If variable Z has a statistical association with both X and Y, but Z is not on any causal path from X to Y, and Z is a common cause of X and Y, it is identified as a confounding feature (e.g., operator experience level, which simultaneously affects operational standardization and failure rate). The formula derivation for do-calculus intervention analysis is as follows: 1) The formula for calculating the direct causal effect (ATE) is: ,in, This means: forcibly setting X to x, cutting off all causal paths (including obfuscated paths) pointing to X, and achieving this by adjusting the formula through a backdoor. ,in, To satisfy the confounding feature set of the backdoor criterion; 2) Path decomposition of indirect causal effects:
[0086] (Total effect)
[0087] (Direct effect)
[0088] (Indirect effect)
[0089] 3) Construction of the causal effect vector, Where m is the total number of causal features to be evaluated. This vector stores only the causal effects corresponding to each feature. Confusion features are not included in this vector, but they are used as condition variables in the do calculus adjustment formula. Use; Inspection and maintenance causal feature dataset ,in, This is a standardized eigenvalue matrix containing all variable nodes (including confounding features). This is the causal effect vector. This is a causal type label vector.
[0090] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating the collaborative processing method based on multi-scenario maintenance and repair training data in some embodiments of this application, which obtains causal directed acyclic graphs and causal structure similarity matrices between scenarios.
[0091] S13. Perform causal structure similarity analysis based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario to obtain the causal structure similarity matrix;
[0092] The step of performing causal structure similarity analysis based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario to obtain the causal structure similarity matrix between scenarios includes:
[0093] S1311. Extract causal paths based on the causal adjacency matrix corresponding to each scenario to obtain the causal path set corresponding to each scenario.
[0094] S1312. Based on the causal directed acyclic graph, the Weisfeiler-Lehman graph kernel algorithm is used to calculate and analyze the graph kernel similarity to obtain the graph kernel similarity.
[0095] S132. Based on the set of causal paths, use Jaccard similarity calculation and analysis to obtain the set similarity;
[0096] S1313. Based on the causal effect vector, the Wasserstein distance calculation analysis is used to obtain the distribution similarity;
[0097] S133. The kernel similarity, set similarity and distribution similarity are weighted and summed to obtain the causal structure similarity;
[0098] S134. Using each scene as a node and the causal structure similarity as the edge weight, construct a causal structure similarity matrix between scenes.
[0099] Specifically, all causal paths (directed paths from any starting node to any ending node) are extracted and enumerated using depth-first search (DFS). Each path is represented as a sequence of nodes, such as A→B→C. Graph kernel similarity is determined through node label initialization, multi-round neighborhood aggregation, label histogram construction, histogram cross-core calculation and accumulation, and normalization. During node label initialization, the label value is the node type code (device status = 1, operation behavior = 2, environment = 3, fault result = 4). Multi-round neighborhood aggregation concatenates the self-label with the neighbor labels and hashes them to generate... New labels are iterated 3-5 times, a label histogram is constructed, the frequency of each type of label is counted to form a histogram vector, histogram cross-core calculation is performed and accumulated, and finally, normalization is performed; Jaccard similarity calculation and analysis are used to obtain set similarity; the two causal effect vectors are regarded as two point cloud sets, the Wasserstein distance, i.e. the optimal transmission distance, is calculated, and then mapped to the [0,1] interval through exponential decay to determine the distribution similarity. In this embodiment, the weight values corresponding to the kernel similarity, set similarity and distribution similarity are 0.5, 0.3 and 0.2, respectively.
[0100] S14. Based on the scenario inspection and maintenance standard data subset and the causal structure similarity matrix, a model is constructed to obtain a multi-scenario inspection and maintenance collaborative model.
[0101] Based on the aforementioned scenario-based inspection and maintenance standard data subset and causal structure similarity matrix, a multi-scenario inspection and maintenance collaborative model is constructed, including:
[0102] On the local node, local model training is performed based on the subset of the scenario inspection and maintenance standard data to obtain the local model parameters and local gradients for each scenario.
[0103] The federated aggregation weights for each scenario are determined based on the causal structure similarity matrix.
[0104] Based on the federated aggregation weights, the local model parameters of each scenario are safely weighted and aggregated to obtain the global model parameters;
[0105] The global model parameters are distributed to the local nodes corresponding to each scenario, and the process is iteratively executed until the convergence condition is met, thereby obtaining a multi-scenario inspection and maintenance collaborative model.
[0106] Specifically, the local model includes a shared backbone network of 3-5 fully connected layers or a Transformer encoder, and a scene-specific branch network of 1-2 fully connected layers. These are used to extract cross-scene general causal feature representations, corresponding to common causal subgraph knowledge, and to capture scene-specific diagnostic patterns, corresponding to scene-specific causal subgraph knowledge; and to determine the causal centrality of scene i. ,in, For causal centrality, This represents the total number of all scenarios within the federal system. Let represent the causal structure similarity between scene i and scene j. The scene number represents the representativeness of the causal structure of scene i in the multi-scene system, and the sample size factor ( ,in, For sample size factor, Let be the number of valid samples in scenario i after quality verification. The total number of valid samples across all scenarios, and the percentage of valid samples in scenario i after quality screening) and the model update magnitude factor ( ,in, Update the amplitude factor for the model. For scene i, the local model loss gradient is given. Let L2 norm be the vector. The maximum value of the local gradient L2 norm across all scenarios in this round represents the local training activity level. The federated aggregation weights are determined by weighted summation with weights of 0.3, 0.45, and 0.25. Each scenario generates a public-private key pair. The local model parameters are encrypted using Paillier homomorphic encryption with the public key to obtain ciphertext, which is then uploaded to the coordination center. The coordination center completes the weighted aggregation without decryption, without knowing the original parameter values of any individual scenario. After aggregation, the ciphertext is distributed to each scenario node, and each scenario decrypts it using its local private key to obtain the global model parameters. After each round of aggregation, the global gradient norm is calculated. If it is less than the convergence threshold (1×10⁻⁻⁶), the global gradient norm is determined. 4 ~1×10⁻ 6 The iteration stops after that.
[0107] S15. Align the causal subgraphs across scenarios based on the causal directed acyclic graphs corresponding to each scenario to obtain common causal subgraphs and unique causal subgraphs, and perform analysis and processing to obtain causal transfer coefficients and generate cross-scenario knowledge transfer strategies.
[0108] The process involves aligning cross-scenario causal subgraphs based on the causal directed acyclic graphs corresponding to each scenario, obtaining common and unique causal subgraphs, analyzing and processing them to obtain causal transfer coefficients, and generating cross-scenario knowledge transfer strategies, including:
[0109] Based on the causal directed acyclic graph corresponding to each scenario, cross-scenario causal subgraph alignment is performed to identify common causal subgraphs with the same causal structure among scenarios and unique causal subgraphs unique to each scenario.
[0110] Extract cross-scene transferable causal knowledge based on the public causal subgraph, and identify scene-specific causal knowledge based on the unique causal subgraph;
[0111] Based on the cross-scenario transferable causal knowledge and the causal structure similarity matrix between scenarios, the causal transfer coefficients between each scenario are obtained through analysis and processing.
[0112] A cross-scene knowledge transfer strategy is generated based on the causal transfer coefficient and the scene-specific causal knowledge.
[0113] Specifically, a node similarity matrix is constructed (weighted based on semantic similarity and type consistency). A depth-first branch and bound algorithm is used to search for the maximum common subgraph. The complement graph of each scene relative to the common subgraph is extracted to obtain the unique causal subgraph, thus realizing cross-scene causal subgraph alignment based on the maximum common subgraph (MCS) algorithm. The formula for calculating the causal transfer coefficient is as follows:
[0114] ,in, Let be the causal transfer coefficient from scene s to scene t. The causal structure similarity between scenes s and t. The normalized Wasserstein distance is the causal effect vector between the two scenarios. The overlap of sample distributions in scenarios s and t ( ,in, The number of common causal edges, The number of causal edges specific to scenario s. The number of causal edges specific to scene t is determined based on the overlap level between the distributions generated from the observation data of scene s and scene t. , , It is a non-negative balanced hyperparameter that satisfies the weight adjustment relationship and can be optimized according to the task. Based on the causal transfer coefficient, a threshold (upper threshold value is 0.5~0.7, lower threshold value is 0.1~0.3) is compared. According to the threshold range, it is determined as positive transfer (greater than or equal to the upper threshold), negative transfer (less than or equal to the lower threshold), or neutral transfer (greater than the lower threshold and less than the upper threshold), which correspond to: complete knowledge sharing, that is, all transferable causal knowledge in the source scene is copied to the target scene model initialization; knowledge isolation, that is, any causal knowledge transfer is prohibited and the aggregate weight is set to zero; partial selective transfer, that is, only the parameters corresponding to the common subgraph are transferred, the parameters of the unique subgraph are frozen, and the transfer parameters are injected after being adjusted by the scaling factor η (0<η<1).
[0115] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating the process of obtaining an updated multi-scenario maintenance collaborative update model based on the collaborative processing method of multi-scenario maintenance training data in some embodiments of this application.
[0116] S16. Acquire new maintenance and repair training data, analyze and process it in conjunction with historical maintenance and repair training data, obtain distribution offset, and compare it with thresholds. Trigger incremental learning mechanism based on threshold comparison results, and perform incremental training on the multi-scenario maintenance and repair collaborative model in conjunction with the cross-scenario knowledge transfer strategy to obtain the updated multi-scenario maintenance and repair collaborative update model.
[0117] Acquire new maintenance and repair training data, analyze and process it in conjunction with historical maintenance and repair training data to obtain distribution offset, and perform threshold comparison. Based on the threshold comparison result, trigger an incremental learning mechanism, and perform incremental training on the multi-scenario maintenance and repair collaborative model in conjunction with the cross-scenario knowledge transfer strategy to obtain an updated multi-scenario maintenance and repair collaborative model, including:
[0118] S161. Obtain newly added maintenance and repair training data, including newly added fault record data, newly added equipment access data, newly added trainee operation record data and operating condition change data, and combine historical maintenance and repair training data to conduct distribution comparison analysis in the feature space through a multi-scenario maintenance and repair collaborative model to obtain the distribution offset.
[0119] S162. Compare the distribution offset with a preset distribution offset threshold.
[0120] S1631. If the distribution offset is less than or equal to the preset distribution offset threshold, the incremental learning mechanism is not triggered.
[0121] S1632. If the distribution offset is greater than the preset distribution offset threshold, the incremental learning mechanism is triggered, and the auxiliary data corresponding to the available auxiliary scenario is determined according to the cross-scenario knowledge transfer strategy.
[0122] S164. Merge the auxiliary data with the newly added maintenance training data, and perform incremental training on the multi-scenario maintenance collaborative model to obtain the updated multi-scenario maintenance collaborative update model.
[0123] Specifically, the system collects new fault record data, including newly emerging equipment fault types, fault phenomenon descriptions, and handling process records, based on the maintenance work order system; it collects new equipment access data, including calibration data, operating parameters, and initial fault modes, based on the equipment installation and commissioning phase; it collects new trainee operation record data, including new operation trajectories and error modes generated by trainees in VR simulation or practical operation, based on the training terminal in real time; and it collects monitoring data after changes in equipment operating conditions, i.e., operating condition change data, based on continuous monitoring data from sensors. Distribution offset detection performs historical data distribution and new data distribution analysis in the penultimate layer (feature embedding layer, 128 dimensions) output space of the multi-scenario maintenance collaboration model. The historical data distribution uses the output of all historical data samples in the feature embedding layer, and a Gaussian mixture model (GMM) is used to fit the probability density function. The new data distribution uses the output of new data samples in the feature embedding layer, and the same method is used to fit the probability density function. The initial distribution offset is determined by comparing the overall probability distribution of the two datasets.
[0124] ;
[0125] in, This represents the initial distribution offset. They are in the same feature space The probability distribution of the current new data and the historical baseline probability distribution are compared, and a scene-aware correction factor (value 0.4-0.6 when there is support for a high-similarity positive transfer scenario, value 0.8-1.0 when there is only support for a neutral transfer scenario, and value 1.2-1.5 when there is no transfer support or there is a negative transfer risk) is multiplied for correction. Finally, a threshold comparison is performed. If the value is greater than the preset distribution offset threshold, all data that meet the requirements are searched for the current target scenario according to the cross-scene knowledge transfer strategy. For source scenarios that are greater than or equal to the upper threshold, construct a list of available auxiliary scenarios, and then sort them by... The values are sorted from largest to smallest, and the top 3 scenarios are selected as candidate auxiliary scenarios. Data samples from the auxiliary scenarios that share a common causal subgraph with the current scenario are selected. A subset of samples from the auxiliary scenarios with high confidence (data quality Q≥0.85) and complementary distribution to the new data are selected. The auxiliary data is transmitted in the form of a "causal knowledge parameter package" (containing the model parameter increments, causal effect values, and confidence weights corresponding to the common subgraph). The original data is not transmitted across domains. The auxiliary data and the new data are merged, and multiple rounds of mini-batch gradient descent training are performed on the local edge node. In each iteration, the total incremental training loss function is calculated and backpropagation is used to update the parameters. After 3 consecutive rounds, the loss on the validation set no longer decreases, or the maximum number of iterations is reached, the updated model parameters are stored as a new local model and uploaded to the coordination center to update the global model. Incremental learning is regularized using EWC. First, the Fisher information matrix is calculated. ,in, For the diagonal elements of the Fisher information matrix, These are the model parameters (baseline parameters) obtained from training in previous rounds. For the i-th parameter of the model, Let x be the conditional probability of the output y given the input x and the historical parameters. For log-likelihood, For the log-likelihood with respect to the parameter The score, In data distribution For high-expectation migration (causal migration coefficient T≥0.7), the regularization strength is 0.5~0.7; for medium-positive migration (0.5≤T<0.7), the regularization strength is 0.7~0.9; for no migration support or neutral migration, the regularization strength is 0.9~1.2; and for negative migration risk, the regularization strength is 1.5~2.0.
[0126] S17. Obtain the scenario operating condition feature vector, trainee feature vector, causal feature encoding and global context features, analyze and process them through the multi-scenario inspection and maintenance collaborative update model to obtain multi-dimensional prediction results, and analyze them through the training decision generation module to generate inspection and maintenance training decision data.
[0127] The acquired scenario operating condition feature vector, trainee feature vector, causal feature encoding, and global context features are analyzed and processed through the multi-scenario maintenance collaborative update model to obtain multi-dimensional prediction results. These results are then analyzed through the training decision generation module to generate maintenance training decision data, including:
[0128] Based on the subset of the scenario inspection and maintenance standard data, feature extraction and vectorization are performed to obtain the scenario working condition feature vector;
[0129] Obtain student feature vectors, causal feature encodings, and global context features;
[0130] The scenario working condition feature vector, trainee feature vector, causal feature encoding and global context features are input into the multi-scenario inspection and maintenance collaborative update model for analysis and processing to obtain multi-dimensional prediction results, including the probability of fault occurrence, the probability of successful operation, the skill defect risk prediction vector and the expected training effect.
[0131] Based on the predicted probability of fault occurrence, the predicted probability of successful operation, the predicted vector of skill defect risk, and the expected training effect, combined with the preset trainee historical training records, preset course knowledge graph, and preset training resource constraints, the training decision generation module analyzes and processes the data to obtain maintenance training decision data, including training content recommendation data, training difficulty adjustment data, and training path planning data.
[0132] Specifically, the scenario operating condition feature vector refers to the current equipment temperature, vibration, pressure, environmental parameters, and operating condition characteristics. Student feature vectors (student job level, years of service, historical operational performance statistics, and skill profile score) are obtained from the student management system and skill profiles. Causal feature encoding (causal path ID embedding, causal effect strength encoding, one-hot encoding of common and unique attributes, and transfer coefficient vector) is obtained from the causal knowledge graph (an enhanced knowledge structure after cross-scenario alignment, subgraph separation, and metadata appending). Global context features (cause-and-effect similarity vector between scenarios, transfer strategy encoding, and common knowledge activation vector) are obtained from the similarity matrix and transfer strategy. Based on the skill defect risk prediction vector, the causal skill nodes with the highest risk values are identified. Courses or VR training modules covering these nodes are matched in the course knowledge graph to generate a training content recommendation list. The training difficulty level is dynamically determined based on the probability of successful operation and the student's basic ability characteristics. Based on the expected effect prediction of the recommended learning path, the training scheme with the greatest expected training effect is selected as the preferred path. The path planning adopts a temporal greedy algorithm, that is, at each step, the training course with the highest marginal benefit in the current state is selected until all high-risk skill nodes are covered.
[0133] Example 2
[0134] It is worth mentioning that, according to embodiments of the present invention, it further includes:
[0135] The training effectiveness evaluation value is obtained by acquiring the improvement values of the trainees' operational accuracy, fault identification speed, and training satisfaction scores after the trainees complete the training and then summing them by weight.
[0136] The training effectiveness evaluation value is compared with the preset effectiveness threshold;
[0137] If the training effectiveness evaluation value is less than the preset effectiveness threshold, a feedback adjustment instruction is generated to adjust the training content recommendation, training difficulty level, and training path planning in the training decision data, and then pushes them back to the trainee's training terminal.
[0138] Specifically, the operational accuracy rate (automatically determined by the multi-scenario maintenance and repair collaborative update model based on the matching degree between the operation step coding sequence and the standard operating procedure) refers to the proportion of steps correctly executed by the trainee in the maintenance and repair operation out of the total number of steps. The improvement value of the operational accuracy rate is the ratio of the difference between the operational accuracy rate after training and the operational accuracy rate before training to the operational accuracy rate before training. The fault identification speed refers to the average time required for the trainee to correctly identify the fault type from observing an abnormal phenomenon. The improvement value of the fault identification speed is the ratio of the difference between the average fault identification speed before training and the average fault identification speed after training to the average fault identification speed before training. The training satisfaction score is obtained through a subjective evaluation questionnaire completed by the trainee on the training terminal, using a 5-point Likert scale, including content relevance, difficulty appropriateness, operational experience, learning efficiency, and overall satisfaction. The weighted average is then normalized. The operational accuracy rate is weighted at 0.4, 0.35, and 0.25. The training effectiveness evaluation value is obtained by weighted summing of the improvement value, the improvement value of fault identification speed, and the training satisfaction score. A preset effect threshold is dynamically configured based on the scenario complexity and the trainees' basic abilities (0.3 for high-complexity scenarios and beginner trainees, 0.45 for high-complexity scenarios and advanced trainees, 0.35 for low-complexity scenarios and beginner trainees, and 0.5 for low-complexity scenarios and advanced trainees). If the improvement in operation accuracy is insufficient (improvement value less than 0.15), the training content should be adjusted accordingly: add a basic operation step decomposition practice module and reduce the training difficulty level by one level. If the improvement in fault identification speed is insufficient (improvement value less than 0.1), the training path planning should be adjusted: insert fault case reinforcement training sessions and add specialized fault feature identification exercises. If the training satisfaction score is low (training satisfaction score less than 0.5), the training mode should be adjusted: switch to VR / AR scenario settings, optimize the frequency of operation guidance prompts, and adjust the difficulty gradient curve.
[0139] Example 3
[0140] It is worth mentioning that, according to embodiments of the present invention, it further includes:
[0141] In each round of federated aggregation iteration, the update magnitude of the local model parameters for each scenario relative to the global model parameters of the previous round is calculated;
[0142] The update magnitude is combined with the causal centrality of the scene in the causal structure similarity matrix to calculate the dynamic adjustment factor.
[0143] The dynamic adjustment factor is fused with the federated aggregation weight to obtain the final federated aggregation weight for this iteration.
[0144] Specifically, the update magnitude refers to the change in local model parameters relative to the global model parameters in the previous round after each scenario completes local training in each round of federated aggregation iteration. The update magnitude of each scenario is normalized to the [0,1] interval, with a larger value indicating a more significant change in model parameters during this round of training. The model update magnitude is multiplied by the causal centrality to calculate the dynamic adjustment factor. A scenario should only receive a higher aggregation weight if its causal structure is representative and it has generated a significant information increment in this round of training. If the causal structure of a scenario is unique but not representative, its update, although large, should not significantly affect the global model. If the scenario is representative but has no significant update in this round, no additional weight increase is needed. Finally, normalization is performed to determine the dynamic adjustment factor. The final federated aggregation weight calculation formula for this round of iteration is: ;in, For the final federated aggregation weight, For federal aggregation weights, As a dynamic adjustment factor, The static and dynamic fusion coefficient has a value of [0.5, 0.8], and in this embodiment, it is 0.65.
[0145] The present invention discloses a collaborative processing method and system based on multi-scenario maintenance and repair training data. By generating causal directed acyclic graphs for each scenario, aggregating weight allocation, quantifying the causal transfer coefficients between scenarios, generating knowledge transfer strategies, detecting the distribution shift of newly added data, completing model updates and outputting training decisions, the collaborative processing of multi-scenario maintenance and repair training data is realized.
[0146] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0147] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0148] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0149] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0150] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
Claims
1. A collaborative processing method based on multi-scenario maintenance and repair training data, characterized in that, Includes the following steps: Obtain a multi-scenario inspection and maintenance training dataset, and perform data preprocessing to obtain a multi-scenario inspection and maintenance standard dataset; The multi-scenario inspection and maintenance standard dataset is grouped according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario, and causal structure learning is performed on each to obtain the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario. Based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario, causal structure similarity analysis is performed to obtain the causal structure similarity matrix; A multi-scenario inspection and maintenance collaborative model is obtained by constructing a model based on the scenario inspection and maintenance standard data subset and the causal structure similarity matrix. Based on the causal directed acyclic graph corresponding to each scenario, cross-scenario causal subgraphs are aligned to obtain common causal subgraphs and unique causal subgraphs. These are then analyzed and processed to obtain causal transfer coefficients and generate cross-scenario knowledge transfer strategies. New maintenance and repair training data is acquired, and combined with historical maintenance and repair training data for analysis and processing to obtain distribution offset. Threshold comparison is performed, and an incremental learning mechanism is triggered based on the threshold comparison results. The multi-scenario maintenance and repair collaborative model is incrementally trained in conjunction with the cross-scenario knowledge transfer strategy to obtain an updated multi-scenario maintenance and repair collaborative model. The system acquires scenario operating condition feature vectors, trainee feature vectors, causal feature codes, and global context features. These are then analyzed and processed using the multi-scenario maintenance and repair collaborative update model to obtain multi-dimensional prediction results. Finally, the system analyzes these results through the training decision generation module to generate maintenance and repair training decision data.
2. The collaborative processing method based on multi-scenario maintenance and repair training data according to claim 1, characterized in that, The process of acquiring a multi-scenario maintenance training dataset and performing data preprocessing to obtain a multi-scenario maintenance standard dataset includes: Acquire multi-scenario maintenance and repair training datasets, including equipment status time-series data, maintenance operation record data, fault label data, and scenario attribute data corresponding to different industrial scenario types; The equipment status time-series data, maintenance operation record data, fault tag data, and scenario attribute data are subjected to data preprocessing, including data format unification and standardization, multi-source time-series calibration and alignment, data quality assessment and cleaning, multi-source data fusion, and abnormal data processing, to obtain a multi-scenario inspection and maintenance standard dataset.
3. The collaborative processing method based on multi-scenario maintenance and repair training data according to claim 1, characterized in that, The step of grouping the multi-scenario inspection and maintenance standard dataset by scenario type to obtain a scenario-specific subset of inspection and maintenance standard data for each scenario, and performing causal structure learning on each subset to obtain a causal directed acyclic graph and a causal adjacency matrix for each scenario, includes: The multi-scenario inspection and maintenance standard dataset is grouped according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario. Causal structure learning is performed on the subset of the scene inspection and maintenance standard data to generate causal directed acyclic graphs corresponding to each scene; Identify direct causal features, indirect causal features, and confounding features based on the directed edges of the causal directed acyclic graph. The direct causal features are used as the main causal variables, the indirect causal features are used as path variables, and the confounding features are used as conditional adjustment variables to perform do-calculus intervention analysis and obtain the causal effect vector corresponding to each scenario. The causal effect vectors of each scenario are combined into a causal feature dataset for inspection and maintenance, and then analyzed to obtain the causal adjacency matrix corresponding to each scenario.
4. The collaborative processing method based on multi-scenario maintenance and repair training data according to claim 3, characterized in that, The step of performing causal structure similarity analysis based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario to obtain the causal structure similarity matrix between scenarios includes: Based on the causal adjacency matrix corresponding to each scenario, causal paths are extracted to obtain the set of causal paths corresponding to each scenario. The Weisfeiler-Lehman graph kernel algorithm is used to calculate and analyze the causal directed acyclic graph to obtain the graph kernel similarity. Based on the set of causal paths, the set similarity is obtained by using Jaccard similarity calculation and analysis. Based on the causal effect vector, Wasserstein distance calculation analysis is used to obtain the distribution similarity; The causal structure similarity is obtained by weighted summation of the graph kernel similarity, set similarity, and distribution similarity. Using each scene as a node and the causal structure similarity as the edge weight, a causal structure similarity matrix is constructed between scenes.
5. The collaborative processing method based on multi-scenario maintenance and repair training data according to claim 4, characterized in that, The step of constructing a model based on the subset of standard maintenance and repair data for the aforementioned scenarios and the causal structure similarity matrix to obtain a multi-scenario maintenance and repair collaborative model includes: On the local node, local model training is performed based on the subset of the scenario inspection and maintenance standard data to obtain the local model parameters and local gradients for each scenario. The federated aggregation weights for each scenario are determined based on the causal structure similarity matrix. Based on the federated aggregation weights, the local model parameters of each scenario are safely weighted and aggregated to obtain the global model parameters; The global model parameters are distributed to the local nodes corresponding to each scenario, and the process is iteratively executed until the convergence condition is met, thereby obtaining a multi-scenario inspection and maintenance collaborative model.
6. The collaborative processing method based on multi-scenario maintenance and repair training data according to claim 3, characterized in that, The process involves aligning cross-scenario causal subgraphs based on the causal directed acyclic graphs corresponding to each scenario, obtaining common and unique causal subgraphs, analyzing and processing them to obtain causal transfer coefficients, and generating cross-scenario knowledge transfer strategies, including: Based on the causal directed acyclic graph corresponding to each scenario, cross-scenario causal subgraph alignment is performed to identify common causal subgraphs with the same causal structure among scenarios and unique causal subgraphs unique to each scenario. Extract cross-scene transferable causal knowledge based on the public causal subgraph, and identify scene-specific causal knowledge based on the unique causal subgraph; Based on the cross-scenario transferable causal knowledge and the causal structure similarity matrix between scenarios, the causal transfer coefficients between each scenario are obtained through analysis and processing. A cross-scene knowledge transfer strategy is generated based on the causal transfer coefficient and the scene-specific causal knowledge.
7. The collaborative processing method based on multi-scenario maintenance and repair training data according to claim 5, characterized in that, The process involves acquiring new maintenance and repair training data, analyzing and processing it in conjunction with historical maintenance and repair training data to obtain distribution offset, comparing it against a threshold, triggering an incremental learning mechanism based on the threshold comparison result, and incrementally training the multi-scenario maintenance and repair collaborative model using the cross-scenario knowledge transfer strategy to obtain an updated multi-scenario maintenance and repair collaborative model, including: Acquire new maintenance and repair training data, including new fault record data, new equipment access data, new trainee operation record data, and operating condition change data. Combine this with historical maintenance and repair training data and perform distribution comparison analysis in the feature space using a multi-scenario maintenance and repair collaborative model to obtain the distribution offset. The distribution offset is compared with a preset distribution offset threshold. If the distribution offset is less than or equal to the preset distribution offset threshold, the incremental learning mechanism will not be triggered. If the distribution offset is greater than the preset distribution offset threshold, the incremental learning mechanism is triggered, and the auxiliary data corresponding to the available auxiliary scenarios is determined according to the cross-scenario knowledge transfer strategy. The auxiliary data is merged with the newly added maintenance and repair training data, and the multi-scenario maintenance and repair collaborative model is incrementally trained to obtain the updated multi-scenario maintenance and repair collaborative model.
8. The collaborative processing method based on multi-scenario maintenance and repair training data according to claim 7, characterized in that, The acquired scenario operating condition feature vector, trainee feature vector, causal feature encoding, and global context features are analyzed and processed through the multi-scenario maintenance collaborative update model to obtain multi-dimensional prediction results. These results are then analyzed through the training decision generation module to generate maintenance training decision data, including: Based on the subset of the scenario inspection and maintenance standard data, feature extraction and vectorization are performed to obtain the scenario working condition feature vector; Obtain student feature vectors, causal feature encodings, and global context features; The scenario working condition feature vector, trainee feature vector, causal feature encoding and global context features are input into the multi-scenario inspection and maintenance collaborative update model for analysis and processing to obtain multi-dimensional prediction results, including the probability of fault occurrence, the probability of successful operation, the skill defect risk prediction vector and the expected training effect. Based on the predicted probability of fault occurrence, the predicted probability of successful operation, the predicted vector of skill defect risk, and the expected training effect, combined with the preset trainee historical training records, preset course knowledge graph, and preset training resource constraints, the training decision generation module analyzes and processes the data to obtain maintenance training decision data, including training content recommendation data, training difficulty adjustment data, and training path planning data.
9. A collaborative processing system based on multi-scenario maintenance and repair training data, characterized in that: The system includes a memory and a processor. The memory contains a program for a collaborative processing method based on multi-scenario maintenance and repair training data. When the program for the collaborative processing method based on multi-scenario maintenance and repair training data is executed by the processor, it performs the following steps: Obtain a multi-scenario inspection and maintenance training dataset, and perform data preprocessing to obtain a multi-scenario inspection and maintenance standard dataset; The multi-scenario inspection and maintenance standard dataset is grouped according to scenario type to obtain the scenario inspection and maintenance standard data subset corresponding to each scenario, and causal structure learning is performed on each to obtain the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario. Based on the causal directed acyclic graph and causal adjacency matrix corresponding to each scenario, causal structure similarity analysis is performed to obtain the causal structure similarity matrix; A multi-scenario inspection and maintenance collaborative model is obtained by constructing a model based on the scenario inspection and maintenance standard data subset and the causal structure similarity matrix. Based on the causal directed acyclic graph corresponding to each scenario, cross-scenario causal subgraphs are aligned to obtain common causal subgraphs and unique causal subgraphs. These are then analyzed and processed to obtain causal transfer coefficients and generate cross-scenario knowledge transfer strategies. New maintenance and repair training data is acquired, and combined with historical maintenance and repair training data for analysis and processing to obtain distribution offset. Threshold comparison is performed, and an incremental learning mechanism is triggered based on the threshold comparison results. The multi-scenario maintenance and repair collaborative model is incrementally trained in conjunction with the cross-scenario knowledge transfer strategy to obtain an updated multi-scenario maintenance and repair collaborative model. The system acquires scenario operating condition feature vectors, trainee feature vectors, causal feature codes, and global context features. These are then analyzed and processed using the multi-scenario maintenance and repair collaborative update model to obtain multi-dimensional prediction results. Finally, the system analyzes these results through the training decision generation module to generate maintenance and repair training decision data.
10. The collaborative processing system based on multi-scenario maintenance and repair training data according to claim 9, characterized in that, The process of acquiring a multi-scenario maintenance training dataset and performing data preprocessing to obtain a multi-scenario maintenance standard dataset includes: Acquire multi-scenario maintenance and repair training datasets, including equipment status time-series data, maintenance operation record data, fault label data, and scenario attribute data corresponding to different industrial scenario types; The equipment status time-series data, maintenance operation record data, fault tag data, and scenario attribute data are subjected to data preprocessing, including data format unification and standardization, multi-source time-series calibration and alignment, data quality assessment and cleaning, multi-source data fusion, and abnormal data processing, to obtain a multi-scenario inspection and maintenance standard dataset.
Citation Information
Patent Citations
Knowledge graph construction method and device, equipment and storage medium
CN117194668A
Fault diagnosis model construction method based on distributed causal discovery and federated learning
CN120670792A
