A process quality root cause tracing method fusing heterogeneous models and knowledge graphs
By constructing a process domain ontology and historical event subgraphs, and using graph neural networks to fuse heterogeneous models, the shortcomings of a single model in quality traceability are solved, achieving highly robust and highly interpretable quality root cause traceability, which is suitable for multi-process continuous processing scenarios in intelligent manufacturing.
Patent Information
- Application Number
- CN202611644344.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
In the fields of intelligent manufacturing and quality traceability, existing technologies cannot fully utilize the advantages of mechanistic models, empirical models, and data models with a single model. This results in limited ability to trace the root causes of quality issues in complex process scenarios. Furthermore, the lack of a multi-layered, integrated general technical framework makes it difficult to achieve highly robust and interpretable analytical results.
By acquiring operational status data, process parameter data, and environmental parameter data, defect types are extracted and time windows are labeled. A process domain ontology and historical event subgraphs are constructed. Graph neural networks are used for association mining to form a complete traceability chain. The main root cause types are screened, and the processing strategy feedback and disposal status fields are written, realizing multi-level integration of heterogeneous models and knowledge graphs.
It enhances the ability to trace the root causes of quality issues in complex process scenarios, maintains the consistency of the input chain, is suitable for multi-process continuous processing scenarios, ensures continuous updates of processing strategy feedback and relationship weights, and improves the reliability and comprehensiveness of analysis results.
Smart Images

Figure CN123140776A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent manufacturing and quality traceability technology, and in particular to a method for tracing the root causes of process quality by integrating heterogeneous models and knowledge graphs. Background Technology
[0002] In the field of intelligent manufacturing and quality traceability technology, existing solutions typically focus on collecting, organizing, modeling, and tracing operational status data, process parameter data, production quality data, and environmental parameter data. They also combine process flow knowledge, historical case data, expert experience, or process relationship diagrams to form an analysis chain. However, these solutions have limitations such as the separation of structured event units from unstructured data sources, insufficient correlation between abnormal batches and quality inspection information, and the lack of a complete traceability chain.
[0003] Existing methods often rely on single models (such as purely data-driven statistical models or knowledge graphs based on purely symbolic reasoning) for analysis. When faced with complex process scenarios, single models struggle to fully leverage the strengths of mechanistic models, empirical models, and data models. There is a lack of a universal technical framework that can flexibly integrate multiple heterogeneous analysis models through standardized interfaces and perform multi-level fusion based on their inherent classification relationships. This limits the ability to trace complex and incidental quality root causes, making it difficult to achieve highly robust and interpretable analytical results.
[0004] For the joint processing of process knowledge graphs and historical event subgraphs, graph neural network input data, relation weights, priority levels, and complete traceability chains, existing technologies generally remain at the parameter-level traceability, process-level sorting, fault event matching, or structured analysis report output after data cleaning and time series alignment. They lack a processing link to form a unified graph data input around abnormal batches and quality inspection information, and also lack a processing link to form a chain record around historical case verification and supplementation. It is difficult to form a consistent process of collection, alignment, extraction, construction, association mining, graph traversal, filtering, feedback, archiving, and updating in the application scenario of quality root cause traceability. This leads to problems such as link breakpoints, record fragmentation, and difficulty in writing back the process knowledge graph with the feedback of processing strategies during the quality root cause traceability process. Summary of the Invention
[0005] To address the aforementioned technical problems, this invention provides a method for tracing the root causes of process quality issues by integrating heterogeneous models and knowledge graphs, comprising:
[0006] S100: Obtain operating status data, process parameter data, production quality data, and environmental parameter data; perform defect type extraction and time window annotation processing to obtain defect types and time windows;
[0007] S200. Based on the defect type and time window, perform process domain ontology construction and historical event subgraph construction to obtain historical event subgraph, heterogeneous fusion feature set and model association confidence.
[0008] S300. Based on the historical event subgraph, heterogeneous fusion feature set and model association confidence, perform node attribute, relation edge attribute and dynamic weight sorting and processing, and perform graph neural network association mining processing, as well as graph traversal, historical case verification and supplementation and root cause priority evaluation processing to obtain a complete tracing chain.
[0009] S400. Based on the complete tracing chain, perform the screening of main root cause types and alternative root cause types, the feedback of processing strategies, and the writing of the disposal status field to obtain the relationship weight.
[0010] Furthermore, the operational status data, process parameter data, production quality data, and environmental parameter data include:
[0011] The operational status data refers to the equipment status data and process execution logs of the corresponding equipment nodes in the production process; the process parameter data refers to the corresponding records of parameter configuration relationships formed during the execution of the production process; the production quality data refers to the detection records and test result entities from quality inspection information; and the environmental parameter data refers to the environmental parameter data that is collected synchronously with the production process and can be corresponding to the same batch number and the same timestamp.
[0012] Furthermore, the process of defect type extraction and time window annotation includes:
[0013] The batch number, test result entity, and quality anomaly marker are read from the abnormal batch and quality inspection information. After being classified according to the process node identifier, a defect type field is generated. Then, the timestamp in the structured event unit is called to attach each quality inspection information to the corresponding time window to obtain the defect type and time window.
[0014] Furthermore, the process of constructing the ontology in the process domain includes:
[0015] Establish a minimal set of process nodes, equipment nodes, process parameter entities, defect type nodes, quality inspection information nodes, historical case nodes, and expert experience nodes, and write them into the process flow sequence relationship, equipment usage relationship, parameter configuration relationship, influence relationship edge, as well as the cause, manifestation, and association relationship.
[0016] Furthermore, the process of constructing the historical event subgraph includes:
[0017] The nodes corresponding to abnormal batches and quality inspection information are read from the process knowledge graph. The nodes and edges are trimmed according to the time window. The event chain organization unit takes the process flow time sequence relationship as the main chain and other relationships as branches to obtain the historical event subgraph.
[0018] Furthermore, the process of organizing and processing node attributes, relation edge attributes, and dynamic weights includes:
[0019] By retrieving process nodes, equipment nodes, process parameter entities, defect type nodes, historical case nodes, and expert experience nodes from the historical event subgraph according to the abnormal batch, duplicate node attributes are merged, and dynamic weights are attached to the influence relationship edges to obtain the graph neural network input data.
[0020] Furthermore, the processes of graph traversal, historical case verification and supplementation, and root cause prioritization assessment include:
[0021] The graph traversal, historical case verification and supplementation, and root cause priority assessment process includes: starting from the defect type node corresponding to the current abnormal batch, reading the process node, equipment node, and process parameter entity sequentially along the relationship edge with higher priority level, then retrieving the record of the same defect type or the same process node from the historical case node and appending it to the end of the path, and finally sorting the complete path according to the relationship weight, priority level, and verification and supplementation results to obtain the complete traceability chain.
[0022] Furthermore, the process of screening primary root cause types and alternative root cause types includes:
[0023] The primary root cause type and alternative root cause type screening process includes: in the complete tracing chain, the defect type association results with higher relation weight, higher priority level and support from historical case nodes and expert experience nodes are taken as the primary root cause types, and the other association results that follow are taken as alternative root cause types, thus obtaining the processing strategy.
[0024] Furthermore, the process of handling policy feedback and writing the disposal status field includes:
[0025] The processing strategy feedback and disposal status field writing process includes: sending the main root cause type field, alternative root cause type field, processing suggestion field, and improvement suggestion field in the processing strategy to the user feedback interface; receiving the execution record returned from the execution location and writing it into the processing strategy feedback field; and updating the disposal status field to obtain the processing strategy feedback; and performing relationship weight update processing based on the processing strategy feedback to obtain the relationship weight.
[0026] Furthermore, the graph neural network association mining process includes:
[0027] Starting from the defect type node, read the process node, equipment node and process parameter entity in reverse along the process flow time sequence to form a main chain set. Read the historical case nodes and expert experience nodes that have a relationship with the defect type node, such as its cause, manifestation and association, and perform evidence edge fusion. Generate a relationship weight record for each associated path and generate a priority level in order of size.
[0028] The key innovations of this invention include:
[0029] (1) Based on the process knowledge graph and the historical event subgraph, first perform node attribute, relation edge attribute and dynamic weight sorting to generate graph neural network input data, and then perform graph neural network association mining based on the graph neural network input data to obtain relation weight and priority level, and include abnormal batches, defect types, process nodes, equipment nodes, process parameter entities, historical case nodes and expert experience nodes into the same association mining link.
[0030] (2) Based on the relationship weight and priority level, perform graph traversal, historical case verification and supplementation and root cause priority assessment to obtain a complete traceability chain. Organize the defect type node, process node, equipment node, process parameter entity, historical case node and expert experience node into the same chain record, without using the root cause process or root cause parameter list as the endpoint.
[0031] (3) Based on the complete traceability chain, filter the main root cause types and alternative root cause types to obtain the treatment strategy. Then, based on the treatment strategy, execute the treatment strategy feedback and write the disposal status field, and execute the relationship weight update, historical version archiving and historical event subgraph update to organize the quality root cause tracing, treatment strategy feedback and process knowledge graph update into a continuous process.
[0032] (4) A multi-level fusion method for heterogeneous models based on functional interfaces and classification associations is proposed. Through standardized interfaces, heterogeneous models such as mechanism, statistics, and machine learning are flexibly integrated into the quality traceability framework; through classification associations, the model outputs are accurately mapped to entity relationships in the knowledge graph; through the progressive fusion of data, features, and decisions at three levels, the ability to identify the root causes of complex, cross-process quality problems and the robustness of the method are significantly improved.
[0033] The following are its main beneficial effects:
[0034] (1) In response to the problems of separation between structured event units and unstructured data sources and insufficient association between abnormal batches and quality inspection information in the existing solutions, the continuous organization of the process knowledge graph, the historical event subgraph and the graph neural network input data makes the relation weights and priority levels directly correspond to the graph data input of the current abnormal batch, and the input link of quality root cause tracing remains consistent. It is suitable for processing scenarios in which operating status data, process parameter data, production quality data and environmental parameter data are involved.
[0035] (2) In response to the problem that existing solutions mostly focus on the root cause process, root cause parameter list, abnormal cause or root cause abnormality analysis report output, the complete traceability chain is constructed to keep the defect type node, process node, equipment node, process parameter entity, historical case node and expert experience node in the same chain record. The quality root cause traceability results are directly connected with the subsequent screening of main root cause types and alternative root cause types, which is suitable for multi-process continuous processing scenarios.
[0036] (3) In response to the problem that it is difficult to write back the process knowledge graph in the existing solution, the continuous processing of the processing strategy, the processing strategy feedback, the relationship weight update, the historical version archiving and the historical event subgraph update ensures that the disposal status field, the historical event subgraph and the relationship weight maintain the corresponding relationship in the processing process. This is suitable for quality traceability scenarios that require continuous relationships and continuous archiving and updating.
[0037] (4) In response to the problem that data cleaning and time series alignment in the existing scheme still remain at the parameter level or process level, the continuous processing of defect type extraction and time window labeling, process domain ontology construction, structured data source mapping and unstructured data source extraction makes the nodes and edges in the process knowledge graph and historical event subgraph correspond within the same time window, and the correspondence between quality inspection information and process nodes remains clear.
[0038] (5) To address the problem of existing solutions having a single model and difficulty in collaboration, this solution achieves complementary advantages of different models through multi-level fusion of heterogeneous models (e.g., the interpretability of the mechanistic model and the high accuracy of the data model). The design of the functional interface ensures the scalability of the framework, and new analytical models can be used plug and play. The classification association and multi-level fusion mechanism enable the final analytical decision to integrate information from multiple evidence sources, making the decision result more reliable and comprehensive than any single model. Attached Figure Description
[0039] Figure 1 A flowchart illustrating a process quality root cause tracing method that integrates heterogeneous models and knowledge graphs, provided as an embodiment of this application;
[0040] Figure 2 This is a structural block diagram of a process quality root cause tracing method that integrates heterogeneous models and knowledge graphs, provided in an embodiment of this application. Detailed Implementation
[0041] Example 1: Refer to Figure 1 This is a flowchart illustrating a method for tracing the root causes of process quality issues by integrating heterogeneous models and knowledge graphs, as provided in an embodiment of the present invention. The process may include at least steps S100-S400:
[0042] S100: Obtain operating status data, process parameter data, production quality data, and environmental parameter data; perform defect type extraction and time window annotation processing to obtain defect types and time windows;
[0043] S200. Based on the defect type and time window, perform process domain ontology construction and historical event subgraph construction to obtain historical event subgraph, heterogeneous fusion feature set and model association confidence.
[0044] S300. Based on the historical event subgraph, heterogeneous fusion feature set and model association confidence, perform node attribute, relation edge attribute and dynamic weight sorting and processing, and perform graph neural network association mining processing, as well as graph traversal, historical case verification and supplementation and root cause priority evaluation processing to obtain a complete tracing chain.
[0045] S400. Based on the complete tracing chain, perform the screening of main root cause types and alternative root cause types, the feedback of processing strategies, and the writing of the disposal status field to obtain the relationship weight.
[0046] Step S100 includes at least steps S110-S130:
[0047] S110: Acquire operating status data, process parameter data, production quality data, and environmental parameter data; perform data cleaning and time series alignment processing to obtain structured event units.
[0048] Specifically, the operational status data refers to the equipment status data and process execution logs of the corresponding equipment nodes in the production process; the process parameter data refers to the parameter configuration relationship corresponding records formed when the production process is executed; the production quality data refers to the detection records and test result entities from quality inspection information; and the environmental parameter data refers to the environmental parameter data that is collected synchronously with the production process and can be corresponding to the same batch number and the same timestamp.
[0049] The multi-source data acquisition network consists of multi-channel data acquisition units and unified storage. The multi-channel data acquisition units are respectively connected to the equipment nodes, quality inspection information recording terminals, and environmental parameter data recording terminals corresponding to the mounting process, bonding process, and sealing process. The unified storage is used to receive data uploaded from each channel and to merge and record it according to batch number, timestamp, and process node identifier.
[0050] In an engineering embodiment, when a micro-assembly production line starts processing a batch, the multi-channel data acquisition unit synchronously writes the running status data along with the process execution log, and enters the unified storage together with the process parameter data, production quality data and environmental parameter data of the same batch; when the same batch generates multiple timestamp records in different production processes, the multi-source data acquisition network calls a preset time window to perform time series alignment processing, and organizes the data that arrives in sequence into the same time window.
[0051] The data cleaning process specifically includes standardization, missing value imputation, and outlier handling. Standardization is used to unify the field writing style and timestamp format of different structured data sources. Missing value imputation is used to fill in missing single records under the same batch and the same process node. Outlier handling is used to remove data that is inconsistent with the timestamp of the process execution log or is obviously misaligned with the record of the same equipment node.
[0052] The time series alignment process specifically includes three actions: rearranging by timestamp, merging by time window, and linking by process node identifier. Rearranging by timestamp is used to form sequential records for the same batch; merging by time window is used to organize operating status data, process parameter data, production quality data, and environmental parameter data into the same structure; and linking by process node identifier is used to map data within the same time window to specific production processes. The structured event unit is the output of S110. Each structured event unit records at least the batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, and quality inspection information identifier. The batch number, timestamp, process node identifier, equipment node identifier, and process parameter entity identifier constitute the minimum set for subsequent traceability. The quality inspection information identifier is used for subsequent abnormal batch screening.
[0053] Specifically, the structured event unit serves as a direct input to S120 in this main step, and also as one of the inputs to S210 when connecting across main steps, for use in the process domain ontology construction and processing.
[0054] S120. Based on the structured event unit, perform quality inspection information extraction and abnormal batch screening to obtain abnormal batches and quality inspection information.
[0055] Specifically, the quality inspection information extraction process is performed after the structured event units have completed time series alignment. The processing objects are the quality inspection information identifiers, test result entities, batch numbers, process node identifiers, and equipment node identifiers in the structured event units. The quality inspection information extraction does not involve repeatedly reading all production quality data; instead, it extracts the inspection records corresponding to the current time window from the aligned structured event units, and then reorganizes the test result entities, quality anomaly markers, and associated timestamps in the inspection records into quality inspection information.
[0056] Understandably, the quality inspection information in this solution is a unified input for subsequent defect type extraction, historical event subgraph construction, and complete traceability chain construction. A second set of inspection records independent of the structured event unit is not used to avoid misalignment of process node identifiers and timestamps again.
[0057] The abnormal batch screening process is triggered immediately after the quality inspection information extraction process. When the test result entity corresponding to the quality inspection information has a quality abnormality mark, the multi-source data acquisition network temporarily stores the batch number as a candidate batch. When there are consecutive quality abnormality records for the same batch number within a preset time window, or when multiple process nodes corresponding to the same batch number have abnormal records associated with the same quality inspection information identifier, the candidate batch is written into the abnormal batch field.
[0058] Furthermore, the abnormal batch screening process also records the screening source and screening timestamp. The screening source is used to mark which process node and which equipment node the abnormal batch comes from, and the screening timestamp is used for subsequent time window labeling processing. If, within a certain preset time window, there are missing value filling records or outlier processing records in the quality inspection information, the abnormal batch screening process first reads the corresponding data cleaning records and then decides whether to retain the batch in the abnormal batch field. Specifically, data from missing value filling is replaced when there are original records of the same batch, the same process node, and the same time window, while data from outlier processing is not included in the abnormal batch field if the timestamp is retained but the quality anomaly mark is canceled.
[0059] The output products of S120 are abnormal batches and quality inspection information, wherein the abnormal batches are used to characterize the set of batches that need to continue to perform defect type extraction processing, and the quality inspection information is used to characterize the set of inspection records corresponding to the abnormal batches.
[0060] The abnormal batch and quality inspection information are directly input to S130 in this main step, and are also called by S230 when connecting across main steps, for batch filtering and event chain backfilling in the historical event subgraph construction process.
[0061] S130. Based on the abnormal batch and quality inspection information, perform defect type extraction and time window annotation processing to obtain defect type and time window.
[0062] Specifically, the defect type extraction process reads the batch number, test result entity, quality anomaly marker, process node identifier, equipment node identifier, and filtering timestamp from the abnormal batch and quality inspection information, and aggregates them according to the batch number correspondence. For quality inspection information from different production processes under the same abnormal batch, it is first classified according to the process node identifier, and then a defect type field is generated based on the defect records already existing in the test result entity. When multiple defect records appear in the same abnormal batch within the same time window, the defect type extraction process groups the defect records according to the process node identifier and equipment node identifier, and retains the original timestamp of each group to prevent the subsequent process knowledge graph construction process from mixing defect records from different production processes into a single defect type.
[0063] Furthermore, the time window annotation process does not create a new time record separately, but calls the timestamp and preset time window already formed in the structured event unit in S110, reattaches each quality inspection information to the corresponding time window, and writes the time window into the auxiliary field of the defect type field to form the defect type and time window.
[0064] The time window annotation process comprises three consecutive actions: first, reading the timestamp of the structured event unit corresponding to the abnormal batch; second, placing the quality inspection information into the corresponding window according to the preset time window; and finally, writing the window identifier, process node identifier, and equipment node identifier together into the associated record of the defect type field. In this way, when subsequent steps read the defect type, it is possible to see not only which abnormal batch the defect belongs to, but also which time window, process node, and equipment node the defect corresponds to.
[0065] Understandably, the defect type and time window are key output fields that directly enter the main step S200 from the main step S100. The defect type is used for the process domain ontology construction process in S210, and the time window is used to constrain event boundaries when constructing the process knowledge graph and historical event subgraph in S210 and S230. In the subsequent S300, the defect type and time window also continue to participate in the processing of graph neural network input data in the form of process knowledge graph and historical event subgraph.
[0066] In terms of implementation path, S130 is automatically triggered after the abnormal batch is generated. The triggering condition is that the abnormal batch field is written into the unified storage and the corresponding quality inspection information is fully received. If the quality inspection information corresponding to the same abnormal batch has not been collected within the preset time window, the defect type and time window will not be output for the time being. Instead, the status to be supplemented will be recorded and the subsequent timestamp records will continue to be monitored.
[0067] After the supplementary status is lifted, defect type extraction and time window annotation are performed, and the processing results are written to unified storage. The output fields of S130 are named defect type and time window. The defect type and time window are directly called as the input position fields of S210, and a cross-main step transmission relationship is formed through S200, S300 and S400.
[0068] In summary, the technical effects of this step are as follows: This step first gathers quality inspection information into abnormal batches, and then outputs the defect type and time window according to the time window and process node identifier. It avoids directly using abnormal parameters to start the processing chain, and the output content includes four types of traceability information from the beginning: batch, process node, equipment node, and time window. Therefore, subsequent process knowledge graph construction and complete traceability chain construction processes read inputs with completed batch constraints and time window annotations, resulting in a more stable operation and clearer record boundaries in the historical event subgraph.
[0069] Step S200 includes at least steps S210-S240:
[0070] S210. Obtain the structured event unit, the defect type, and the time window, and perform process domain ontology construction processing to obtain the process domain ontology.
[0071] Specifically, the structured event unit comes from the data cleaning and time series alignment processing of the aforementioned S110, and the defect type and time window come from the defect type extraction and time window annotation processing of the aforementioned S130. Therefore, the input of S210 already has batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, quality inspection information identifier, as well as the defect type and time window corresponding to the abnormal batch.
[0072] The process domain ontology is a unified definition of entities, relationships, and relationship constraint rules in the process knowledge graph. Its core minimum set includes process nodes, equipment nodes, process parameter entities, defect type nodes, and quality inspection information nodes. The historical case nodes, expert experience nodes, and processing strategy nodes are the essential node set directly related to quality root cause tracing in this invention, and are not additional records independent of the core minimum set.
[0073] Furthermore, the process domain ontology construction is executed by the knowledge graph construction and management module, which includes at least an ontology definition unit, a relation constraint rule unit, and a field attachment unit. The ontology definition unit reads the process node identifier, equipment node identifier, process parameter entity identifier, and quality inspection information identifier from the structured event unit, establishing a basic correspondence between process nodes, equipment nodes, process parameter entities, and quality inspection information nodes. The relation constraint rule unit reads the defect type and time window, attaches the defect type node to the corresponding quality inspection information node, and writes the time window into the edge attribute of the process flow temporal relationship. The field attachment unit merges nodes and edges under the same batch number to form a unified definition that can be jointly invoked by subsequent structured data source mapping and unstructured data source extraction processing.
[0074] Understandably, the process domain ontology construction process does not simply generate a node name table, but first determines which entities enter the process knowledge graph, then determines which relationships are allowed to be written, and finally determines which fields each relationship edge needs to include. The process flow sequence relationship records the order of production processes within a time window, the equipment usage relationship records the execution correspondence between equipment nodes and process nodes, the parameter configuration relationship records the configuration correspondence between process parameter entities and equipment nodes and process nodes, the influence relationship edge records the influence relationship between process parameter entities, defect type nodes, and quality inspection information nodes, and the semantic relationship that leads to, manifests as, or is associated with is used to express the historical case nodes, expert experience nodes, processing strategy nodes, and defect type nodes.
[0075] During project implementation, on a micro-assembly production line that includes mounting, bonding, and sealing processes, the equipment status data and parameter configuration relationships in the mounting process can be written into the corresponding process nodes and equipment nodes, the quality inspection information in the bonding process can be written into the quality inspection information node, and the abnormal batches and defect types in the sealing process can be written into the defect type node. Then, the relation constraint rule unit completes the process flow timing relationship connection according to the time window, thereby generating a process domain ontology that can be continuously tracked across multiple processes for the same abnormal batch.
[0076] If there are missing fields within the same time window, the ontology definition unit reads the data cleaning record of S110 and retains only the data that has been standardized and aligned to the time series. If the same batch number corresponds to multiple device node records, the field attachment unit writes them separately according to the device node identifier and does not merge them across devices.
[0077] The output product of S210 is the process domain ontology, which is recorded as the "process domain ontology" field and serves as the direct input location field of S220. At the same time, it constrains the construction range of the historical event subgraph of S230 in the cross-main step connection, and pre-sets entity boundaries and relationship edge boundaries for the node attributes, relation edge attributes and dynamic weights of S310.
[0078] S220. Based on the process domain ontology, perform structured data source mapping and unstructured data source extraction processing to obtain a process knowledge graph.
[0079] Specifically, the structured data source refers to operational status data, process parameter data, production quality data, and environmental parameter data that have been stored in a unified manner and undergone standardized processing. The unstructured data source refers to historical case data, expert experience, process rules, historical maintenance records, and industry literature.
[0080] The structured data source mapping process is executed by a field mapping unit and a node writing unit. The field mapping unit reads the batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, and quality inspection information identifier from the structured event unit according to the entity categories already defined in the process domain ontology, and maps them to the process node, equipment node, process parameter entity, and quality inspection information node, respectively. After the mapping is completed, the node writing unit writes the corresponding fields under the same batch number into the graph database (Neo4j), and writes the process flow sequence relationship, equipment usage relationship, and parameter configuration relationship between nodes.
[0081] Furthermore, the unstructured data source extraction process is performed by a text extraction unit and a relation completion unit. The text extraction unit extracts records related to abnormal batches, defect types, process nodes, equipment nodes, and process parameter entities from historical case data, expert experience, process rules, and historical maintenance records. Based on the node definitions in the process domain ontology, directly corresponding records are written into historical case nodes, expert experience nodes, and processing strategy nodes. The relation completion unit then establishes cause, manifestation, association, and influence relationships between the extraction results and existing defect type nodes and quality inspection information nodes. Here, "extraction" does not generate independent reports, but rather performs field splitting and relational linking on existing records in the unstructured data source, enabling historical case nodes, expert experience nodes, and processing strategy nodes to enter the process knowledge graph.
[0082] For the core improvement of this invention, process nodes, equipment nodes, process parameter entities, defect type nodes, quality inspection information nodes, historical case nodes, and expert experience nodes constitute the minimum necessary set for quality root cause tracing; processing strategy nodes and environmental parameter data belong to an extended set closely related to subsequent processing strategy feedback and historical event subgraph updates, and are preferably written in. In specific operation, when a defect type is extracted from the quality inspection information corresponding to a certain abnormal batch in the bonding process, the field mapping unit first writes the structured event unit corresponding to the abnormal batch into the process node, equipment node, and process parameter entity, then the text extraction unit reads the existing records associated with the defect type node from the historical case data and expert experience, and writes them into the historical case node and expert experience node, and finally the relationship completion unit writes these nodes into the same process knowledge graph by associating them with and causing them to be written.
[0083] If a record from an unstructured data source cannot simultaneously correspond to the batch number, process node identifier, and defect type, then the record will not be written to the current batch's corresponding map, but will only be retained in unified storage for later retrieval; if a mapping result from a structured data source conflicts with existing node fields, then the source ID and timestamp will be recorded, and the conflict record will be retained for subsequent S430 historical version archiving retrieval.
[0084] The output product of S220 is a process knowledge graph. The process knowledge graph is recorded as the "process knowledge graph" field and serves as the direct input location field of S230. At the same time, it serves as one of the core input fields of S310 in the cross-main step connection, and is called by node attributes, relation edge attributes and dynamic weight sorting and processing.
[0085] S230. Based on the process knowledge graph and the abnormal batch and quality inspection information, perform historical event subgraph construction processing to obtain the historical event subgraph.
[0086] Specifically, the historical event subgraph is a batch-level subgraph structure jointly constructed by the subgraph filtering unit, the event chain organization unit, and the archiving and writing unit after the process knowledge graph has completed the writing of nodes and relationships. The subgraph filtering unit reads the process nodes, equipment nodes, process parameter entities, defect type nodes, quality inspection information nodes, historical case nodes, expert experience nodes, and handling strategy nodes corresponding to abnormal batches and quality inspection information from the process knowledge graph, and prunes the nodes and edges according to the time window, retaining nodes and edges that are in the same abnormal batch, the same time window, and have a direct or indirect relationship with the defect type node.
[0087] The event chain organization unit further organizes the event sequence of the filtered nodes and edges, taking the process flow time sequence relationship as the main chain, and the equipment usage relationship, parameter configuration relationship, influence relationship edge, as well as the cause, manifestation, and association as the branch chain, to form a historical event subgraph that can completely represent the abnormal batch operation process.
[0088] The "history" in the historical event subgraph does not refer to a collection of old version files, but rather to a chain of events that have occurred around the abnormal batch. The "subgraph" is not an arbitrary cut-out of a local node from the process knowledge graph, but an event graph constrained by the abnormal batch, quality inspection information, and time window. Furthermore, when constructing the historical event subgraph, the archiving and writing unit simultaneously writes a timestamp, source ID, reserved space for the disposal status field, and an auditable record field. The timestamp is used to maintain the order of the event chain, the source ID is used to indicate the source of the node, the reserved space for the disposal status field is used for subsequent S420 write processing strategy feedback, and the auditable record field is used for subsequent S430 execution of historical version archiving and historical event subgraph updates.
[0089] During project implementation, when a defect type appears in the quality inspection information corresponding to the sealing and soldering process for an abnormal batch, the subgraph filtering unit first filters out the process nodes, equipment nodes, and process parameter entities of the abnormal batch in the mounting, bonding, and sealing processes from the process knowledge graph. Then, it includes the historical case nodes, expert experience nodes, and handling strategy nodes that have been linked to the defect type node. The event chain organization unit then arranges these nodes and edges according to the time window to generate a historical event subgraph of the same abnormal batch across multiple processes.
[0090] If a node lacks a timestamp during the screening process, the archiving unit checks back the structured event unit S110. If the corresponding timestamp is still missing, the node is not written to the historical event subgraph but is only retained in the process knowledge graph. If the same abnormal batch corresponds to multiple quality inspection information records, the event chain organization unit first groups them according to the quality inspection information identifier, then arranges them according to the time window within each group, and finally links each group to the same historical event subgraph through the defect type node.
[0091] The output of S230 is a historical event subgraph, which is recorded as a "historical event subgraph" field and serves as the direct input location field for S310. Together with the process knowledge graph, it is used for node attribute, relation edge attribute, and dynamic weight processing. At the same time, the historical event subgraph also reserves a disposal status field and an auditable record field for processing strategy feedback in S420 and historical version archiving in S430.
[0092] S240. Based on the historical event subgraph, perform heterogeneous model multi-level fusion processing to obtain the heterogeneous fusion feature set and model association confidence.
[0093] Furthermore, based on the historical event subgraph, a multi-level fusion processing of heterogeneous models based on functional interfaces and classification association is performed to obtain the heterogeneous fusion feature set and model association confidence.
[0094] The obtained heterogeneous fusion feature set and model association confidence specifically include:
[0095] (1) Functional Interface Adaptation: One or more standardized model functional interfaces are predefined. The interface includes at least the input data format specification and the output result format specification (e.g., {model ID, input parameter mapping, output prediction result, confidence level, associated node type}). Through this interface, external or internal heterogeneous analysis models (including but not limited to: process mechanism models based on first principles, regression / time series prediction models based on historical data, fault diagnosis models based on equipment status, image defect recognition models, etc.) are dynamically integrated into this method framework.
[0096] (2) Classification and Association Mapping: For each accessed heterogeneous model, a classification association is established between it and entity nodes (such as process nodes, equipment nodes, parameter entities, and defect types) and relationship edges (such as influence relationships and cause relationships) in the process knowledge graph, based on its function and output characteristics. For example, the output of an equipment vibration analysis model for the "bonding process" will be associated with the "bonding process" node and the "equipment parameter" entity; an environmental parameter prediction model will be associated with the "environmental parameter" node.
[0097] (3) Multi-level fusion processing: Fusion is performed at the data layer, feature layer, and decision layer.
[0098] Data layer fusion: Align and stitch together the intermediate results of heterogeneous model processing (such as the output of the feature extractor) with the original operating status data and process parameter data to form an enhanced multidimensional feature matrix.
[0099] Feature layer fusion: Using graph neural networks or cross-modal attention mechanisms, the high-level features output by the heterogeneous model (such as the abnormal probability predicted by the model and the extracted fault feature vector) are dynamically fused into the historical event subgraph as node attributes or edge attributes.
[0100] Decision-level fusion: The inference results of multiple heterogeneous models on the same root cause (e.g., three models simultaneously point to "excessive temperature") are combined with the association path weights in the knowledge graph and fused at the decision level through methods such as voting, weighted averaging or DS evidence theory to generate the final model association confidence.
[0101] Finally, the output is a heterogeneous fusion feature set and model association confidence used to enhance subsequent graph traversal and root cause evaluation.
[0102] Specifically, the multi-level fusion processing of heterogeneous models based on functional interfaces and classification associations includes:
[0103] At least one heterogeneous analysis model can be accessed through a predefined standard functional interface. The heterogeneous analysis model includes a process mechanism model, a statistical model, or a machine learning model.
[0104] Based on the output characteristics of the heterogeneous analysis model, a classification association mapping is established between it and the node type or relationship type in the process knowledge graph;
[0105] At at least one of the data layer, feature layer, or decision layer, the output of the heterogeneous analysis model is fused with the historical event subgraph to generate the heterogeneous fused feature set and the model association confidence.
[0106] In summary, the technical effects of this step are as follows: After the process knowledge graph has been written into both structured and unstructured data sources, this step constructs historical event subgraphs based on abnormal batches, quality inspection information, and time windows. Instead of directly traversing the entire graph, it first completes batch constraints and event chain organization. As a result, subsequent graph neural network association mining reads a batch-level event graph that has already been trimmed and sorted, resulting in a more concentrated range of relationship edges. The origin of nodes, event sequence, and auditable records in the complete traceability chain construction process are clearer.
[0107] Step S300 includes at least steps S310-S330:
[0108] S310. Obtain the process knowledge graph, the historical event subgraph, the heterogeneous fusion feature set, and the model association confidence, and perform node attribute, relation edge attribute, and dynamic weight processing to obtain graph neural network input data.
[0109] Specifically, the process knowledge graph originates from S220 and has been written with process nodes, equipment nodes, process parameter entities, defect type nodes, quality inspection information nodes, historical case nodes, expert experience nodes, and handling strategy nodes. The historical event subgraph, the heterogeneous fusion feature set, and the model association confidence level originate from S230 and S240 and have been trimmed and event chained according to abnormal batches, quality inspection information, and time windows. Therefore, the input of S310 is not the entirety of industrial knowledge, but rather graph data that already has batch boundaries, time window boundaries, and event sequence boundaries.
[0110] The node attributes refer to the set of fields carried by each node, including at least batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, quality inspection information identifier, defect type identifier, source ID, and reserved space for handling status. Among them, batch number, timestamp, process node identifier, equipment node identifier, and defect type identifier constitute the minimum set for subsequent graph neural network association mining, while the text source records, source ID, and associated timestamps of historical case nodes and expert experience nodes belong to the preferred supplementary set. The relationship edge attributes refer to the set of edge fields in the graph database related to process flow time sequence relationships, equipment usage relationships, parameter configuration relationships, influence relationships, causes, manifestations, and associations, including at least edge type, starting node, ending node, time window, timestamp, and source identifier.
[0111] The dynamic weight refers to the time-varying weight record attached to the influence relationship edge and the relationship edge directly associated with the defect type node. The time-varying weight is not a static fixed value, but an edge attribute that changes with the abnormal batch, time window, historical case verification record and processing strategy feedback record.
[0112] During actual operation, the process knowledge graph construction and management module reads the process knowledge graph and the historical event subgraph, first performs node attribute organization processing, then performs relation edge attribute organization processing, and finally performs dynamic weight organization processing.
[0113] In the node attribute processing, the process nodes, equipment nodes, process parameter entities, defect type nodes, historical case nodes, and expert experience nodes in the historical event subgraph are retrieved according to the abnormal batch. Duplicate node attributes under the same abnormal batch are merged, and conflicting fields retain the original records and add source IDs, without deleting old records. For nodes that are missing timestamps, the structured event unit mentioned in S110 is called for a back lookup. If the back lookup is successful, the timestamp is added. If the back lookup fails, the missing status is recorded and the node is retained, but it does not participate in the generation of the current round of graph neural network input data.
[0114] In the process of organizing and processing relational edge attributes, the process flow sequence relationship is first read to form the main chain between the abnormal batch and the mounting, bonding, and sealing processes. Then, the equipment usage relationship and parameter configuration relationship are read to form the branch chain directly related to each process node. Next, the influencing relationship edges, as well as those that cause, manifest as, and are associated with, are read to form a set of evidence chain edges pointing from the defect type node to the historical case node, expert experience node, and handling strategy node. After the above processing, the originally scattered nodes and edges in the historical event subgraph are organized into a graph structure that can be read continuously under the same abnormal batch.
[0115] Furthermore, in the dynamic weight sorting process, the historical dynamic weights corresponding to the influencing relationship edges are first read according to the time window, and then the newly written quality inspection information, defect type nodes and historical case verification records within the time window are mapped to each relationship edge to form the dynamic weight record corresponding to the current abnormal batch; if a relationship edge has not yet been written with dynamic weights, the preset initial weight is used as the sorting value for the current round, and the initial record is marked as newly written for subsequent S430 updates.
[0116] In an engineering embodiment, when a defect type occurs in the sealing and soldering process of an abnormal batch, the process knowledge graph construction and management module reads the process nodes, equipment nodes and process parameter entities corresponding to the preceding mounting process, bonding process and sealing and soldering process of the abnormal batch from the process knowledge graph. Then, it reads the historical case nodes and expert experience nodes of the same batch number in adjacent time windows from the historical event subgraph, and organizes these nodes and edges into graph neural network input data.
[0117] The graph neural network input data is recorded as the "graph neural network input data" field. The "graph neural network input data" field can be directly called by S320 in the future. At the same time, the dynamic weights and relation edge attributes are used to pre-transmit boundary information to the graph traversal and historical case verification and supplementary processing of S330.
[0118] S320. Based on the graph neural network input data, perform graph neural network association mining processing to obtain relation weights and priority levels.
[0119] Specifically, the graph neural network is a processing model that performs correlation mining on the node attributes, relation edge attributes, and dynamic weights in the input data of the graph neural network. The graph neural network does not output individual fault event detection results or root cause parameter lists. Instead, it calculates the correlation paths between defect type nodes, process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes.
[0120] The graph neural network association mining process is executed by the graph neural network processing unit. After receiving the "graph neural network input data" field, the graph neural network processing unit first loads the process flow sequence relationship, equipment usage relationship, parameter configuration relationship, influencing relationship edge, cause, manifestation, and association edge according to edge type. Then, it attaches the corresponding node attributes to the same operation round according to the anomaly batch and time window. Here, "association mining" refers to reading, aggregating, and updating the existing relationship edges between different nodes layer by layer, so that the defect type node and the process node, equipment node, process parameter entity, historical case node, and expert experience node form comparable relationship weights.
[0121] Furthermore, the graph neural network association mining process includes three stages.
[0122] The first segment is the main chain reading process. The graph neural network processing unit starts from the defect type node, reads the process node corresponding to the current abnormal batch in reverse along the process flow time sequence, and then reads the equipment nodes and process parameter entities associated with each process node to form the main chain set of the abnormal batch across multiple processes.
[0123] The second stage is the evidence edge fusion process. The graph neural network processing unit continues to read historical case nodes and expert experience nodes that have a relationship with the defect type node in terms of cause, manifestation, or association. These nodes are loaded together with the process nodes, equipment nodes, and process parameter entities in the aforementioned main chain set, and the participation order of each edge in the current round is adjusted according to the dynamic weight. When the same defect type node corresponds to multiple historical case nodes, the historical case node that is closest to the current time window and has the same batch number or process node identifier is read first.
[0124] The third stage is the relation weight output process. After completing the main chain reading process and the evidence edge fusion process, the graph neural network processing unit generates relation weight records for each association path from a defect type node to a process node, equipment node, process parameter entity, historical case node, and expert experience node, and generates priority levels for all relation weight records in ascending order. The relation weights are a comprehensive record at the edge and path levels, and the priority levels are sorting fields used for subsequent root cause priority assessment.
[0125] It should be noted that in the core improvement of this invention, defect type nodes, process nodes, equipment nodes, process parameter entities, and relationship weights constitute the minimum set for association mining; historical case nodes and expert experience nodes belong to the evidence set for reinforcing relationship weights, and the priority level is to convert the reinforced path results into sorted records that can be traced further.
[0126] In the engineering embodiment, after the defect type node corresponding to the sealing process is loaded, the graph neural network processing unit first reads the process nodes corresponding to the bonding process and the mounting process in reverse along the process flow time sequence, and then reads the equipment nodes and process parameter entities under these process nodes; subsequently, it loads the historical case nodes and expert experience nodes associated with the defect type node, and generates relation weights for the two types of paths, "sealing process - equipment node - process parameter entity" and "bonding process - equipment node - process parameter entity", according to the dynamic weights; finally, it writes the priority level according to the relationship weight size rule. If a relation edge only exists in the process knowledge graph and does not appear in the historical event subgraph, the relation edge can participate in the current round of mining, but its priority level is reduced and it is recorded as a supplementary path; if a relation edge exists in the historical event subgraph but the corresponding dynamic weight is missing, the initial weight after S310 is used to participate in the current round of calculation, and the path is marked as a path to be updated.
[0127] The output of S320 is relation weight and priority level. The relation weight and priority level are recorded as the "relationship weight and priority level" field and used as the direct input field of S330. At the same time, the priority level is used to pass the sorting basis to the main root cause type and alternative root cause type filtering process of the subsequent S410.
[0128] S330. Based on the relationship weights and priority levels, perform graph traversal, historical case verification and supplementation, and root cause priority evaluation to obtain a complete tracing chain.
[0129] Specifically, the graph traversal is a chain-like tracing action performed after the graph neural network association mining process has output the relation weights and priority levels. The graph traversal does not start from an arbitrary starting point in the full process knowledge graph, but rather starts from the defect type node corresponding to the current abnormal batch and reads along the relation edges in descending order of priority. The reading order of the graph traversal is as follows: first, read the high-priority path from the defect type node to the process node; then, read the equipment usage relationship from the process node to the equipment node; then, read the parameter configuration relationship from the equipment node to the process parameter entity; and finally, read the historical case nodes and expert experience nodes that are caused, manifested, or associated with at least one of the defect type node and the process parameter entity.
[0130] Through this reading order, the graph traversal does not yield a single anomaly cause or a single root cause process, but rather a chain-like result with a main chain and evidence edges. Furthermore, the historical case verification and supplementary processing is executed after the first round of path reading in the graph traversal, targeting the set of high-priority paths obtained from the graph traversal. Specifically, it reads the batch number, process node identifier, equipment node identifier, process parameter entity identifier, and defect type identifier from each high-priority path, then retrieves records corresponding to the same defect type, process node, or equipment node from the historical case nodes. If a matching record is found, it is appended to the end of the corresponding path, and the association or cause relationship is added. If the retrieved record only matches the defect type and not the equipment node, it is only written as supplementary evidence and the path order is not improved. If no matching record is found, the original path is retained and a "no supplement" state is written.
[0131] Subsequently, the root cause priority assessment process re-sorts the paths obtained from the graph traversal based on the relation weights, priority levels, and historical case verification and supplementation results corresponding to each path. Here, "root cause priority assessment" does not generate a new parameter list, but rather performs path-level sorting of the complete paths and outputs the final chain record. The complete traceability chain includes at least five types of nodes: defect type nodes, process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes. Preferably, it further includes reserved attachment positions for processing strategy nodes, thereby providing direct input for the processing strategy selection in S410.
[0132] In an engineering embodiment, when a defect type node generated by the sealing process is output with a higher priority level by S320, the graph traversal first reads the process node, equipment node, and process parameter entity corresponding to the sealing process, and then reads the process node, equipment node, and process parameter entity corresponding to the bonding process in reverse. Subsequently, it searches for records in the historical case nodes that are simultaneously associated with the defect type node and the bonding process equipment node, and attaches the found records to the path. Next, it continues to read records in the expert experience nodes that are associated with the defect type node and the sealing process process parameter entity, and writes them into the same path as supplementary evidence. Finally, the root cause priority assessment process sorts the two types of paths, "defect type node - sealing process node - equipment node - process parameter entity - historical case node - expert experience node" and "defect type node - bonding process node - equipment node - process parameter entity - historical case node", to form a complete traceability chain. If multiple paths with the same priority level are encountered during graph traversal, the path that contains both historical case nodes and expert experience nodes will be retained first. If multiple paths contain only process nodes, equipment nodes, and process parameter entities, they will be sorted according to the relationship weight. If a historical case node on a path is found to have a source ID conflict in a subsequent search, the record will be retained but marked as pending archiving for use by S430.
[0133] The output of S330 is a complete traceability chain, which is recorded as the "complete traceability chain" field and used as the direct input position field of S410 for filtering the main root cause type and alternative root cause type. At the same time, the path-level sorting and evidence linkage relationships formed in the complete traceability chain will also be entered into S420 and S430 through processing strategy feedback and historical event subgraph updates.
[0134] This step's technical effects can be summarized as follows: First, it organizes node attributes, relationship edge attributes, and dynamic weights. Then, it performs graph neural network association mining. Finally, it combines graph traversal with historical case verification and supplementation to output a complete traceability chain, avoiding the direct reverse traversal of the processing chain starting from the abnormal parameter. Therefore, the traceability result corresponding to the current abnormal batch changes from a single-point result to a chain record containing process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes. Subsequent processing strategies then filter and read the input fields that have already been sorted and supplemented with evidence.
[0135] In one specific embodiment, firstly, in S310, the process knowledge graph and the historical event subgraph are acquired, and node attributes, relationship edge attributes, and dynamic weights are processed to obtain graph neural network input data. The process knowledge graph has been written with process nodes, equipment nodes, process parameter entities, defect type nodes, quality inspection information nodes, historical case nodes, expert experience nodes, and handling strategy nodes; the historical event subgraph has been trimmed and the event chain organized according to abnormal batches, quality inspection information, and time windows. The node attributes include batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, quality inspection information identifier, defect type identifier, source ID, and reserved space for handling status fields; the relationship edge attributes include a set of edge fields for process flow sequence relationship, equipment usage relationship, parameter configuration relationship, influence relationship edge, cause, manifestation, and associated with, and at least include edge type, start node, end node, time window, timestamp, and source identifier; the dynamic weights are time-varying weight records attached to influence relationship edges and relationship edges directly associated with defect type nodes.
[0136] The process knowledge graph construction and management module first retrieves process nodes, equipment nodes, process parameter entities, defect type nodes, historical case nodes, and expert experience nodes from the historical event subgraphs by abnormal batch. Duplicate node attributes within the same abnormal batch are merged, and conflicting fields retain their original records with an appended source ID. For nodes lacking timestamps, a structured event unit is invoked for backtracking. If the backtracking is successful, a timestamp is added; otherwise, the missing status is recorded and the node is not included in the current round's neural network input data generation. Next, the process flow sequence relationships are read to form the main chain of the abnormal batch within the mounting, bonding, and sealing processes. Then, equipment usage and parameter configuration relationships are read to form branch chains directly related to each process node. Finally, influencing relationship edges, including those causing, manifesting as, and related to, are read to form a set of evidence chain edges pointing from defect type nodes to historical case nodes, expert experience nodes, and handling strategy nodes. In the dynamic weighting process, the historical dynamic weights corresponding to the influencing relationship edges are first read according to the time window. Then, newly written quality inspection information, defect type nodes, and historical case verification records within the time window are mapped to each relationship edge to form the dynamic weight record corresponding to the current abnormal batch. The dynamic weight reorganization process uses formula ① to calculate the dynamic weight update value.
[0137] Formula①
[0138]
[0139] in:
[0140] Relationship edge from node To the node In the current time window Dynamic weights, value range ;
[0141] Edges with the same relation in the previous time window (or the previous batch) dynamic weights;
[0142] Learning rate, values The default value is 0.3.
[0143] : The number of historical case verification records that match this relation edge within the current time window;
[0144] : The total number of verification records for all relational edges related to nodes of this defect type under the current abnormal batch;
[0145] Time decay coefficient, preset ;
[0146] : The time difference between the current time window and the previous dynamic weight update time window;
[0147] : Natural constant, approximately 2.71828;
[0148] index Time decay factor.
[0149] Simple numerical example: Assuming the weights in the previous round , , , , , Then the attenuation factor (in parentheses) Incremental Item After the update .
[0150] Dynamic weights calculated using formula ① This serves as the weight for the current round that influences relation edges in subsequent graph neural network association mining processing. For relation edges that have not yet been written with dynamic weights, a preset initial weight is used. As the sorted value, it is marked as a newly written state. After sorting, the process knowledge graph construction and management module encapsulates the sorted node attributes, relation edge attributes, and dynamic weights into graph neural network input data and records it as the "graph neural network input data" field. This field can be directly called by S320. At the same time, the dynamic weights and relation edge attributes are used to pre-transmit boundary information to the graph traversal and historical case verification and supplementary processing of S330.
[0151] Further, in S320, based on the graph neural network input data, graph neural network association mining processing is performed to obtain relation weights and priority levels. After receiving the "graph neural network input data" field, the graph neural network processing unit loads the process flow time sequence relationship, equipment usage relationship, parameter configuration relationship, influencing relationship edge, cause, manifestation, and association according to edge type, and then attaches the corresponding node attributes to the same operation round according to the abnormal batch and time window. The graph neural network processing unit executes three-stage operation: the first stage is the main chain reading process, starting from the defect type node, reading the process node corresponding to the current abnormal batch in reverse along the process flow time sequence relationship, and then reading the equipment nodes and process parameter entities associated with each process node to form the main chain set of the abnormal batch among multiple processes. The second stage is the evidence edge fusion process. It continues to read historical case nodes and expert experience nodes that are related to, cause, manifest, or associated with the defect type node. These nodes are loaded together with the process nodes, equipment nodes, and process parameter entities in the aforementioned main chain set, and the participation order of each edge in the current round is adjusted according to dynamic weights. When the same defect type node corresponds to multiple historical case nodes, the historical case node closest to the current time window and with the same batch number or process node identifier is read first. The third stage is the relationship weight output process. For each association path from a defect type node to a process node, equipment node, process parameter entity, historical case node, and expert experience node, a relationship weight record is generated, and all relationship weight records are assigned priority levels in descending order. The relationship weights are calculated through the message passing mechanism of a graph neural network, and neighborhood information is aggregated using formula ②.
[0152] Formula②
[0153]
[0154] in:
[0155] :node In the The feature vector of the layer has a dimension of 64.
[0156] ReLU activation function ;
[0157] : For nodes All adjacent nodes Summation;
[0158] :node An index variable for a certain adjacent node;
[0159] :node The set of adjacent nodes in the historical event subgraph is related to... All nodes with related edges;
[0160] From adjacent nodes To the node Relationship edge in the current time window The dynamic weights are provided by formula ①;
[0161] : Normalization factor, where and They are nodes and nodes Degree (number of adjacent edges) in the graph;
[0162] : No. The learnable weight matrix of a layer, dimension ;
[0163] :node In the Feature vectors of the layer, initial layer Obtained by encoding node attributes;
[0164] : No. The layer's bias vector, with a dimension of 64.
[0165] Data source mapping: obtained from nodes and relation edges in the process knowledge graph and historical event subgraph. , , The output of formula ① is obtained The initial features are obtained by encoding the node attribute fields. .
[0166] Simple numerical example: Let the nodes be... For a node with a defect type "virtual solder joint", its adjacent nodes For process nodes, "bonding process" is defined. , , Then the normalization factor , Simplify by taking the identity matrix. (64-dimensional), the product yields a vector. Later obtained One component is approximately 0.2. After multiple layers (usually 2 layers) of aggregation, for each path from a defect type node to other type nodes, the graph neural network processing unit calculates the path-level relation weights. As shown in formula ③.
[0167] Formula③
[0168]
[0169] in:
[0170] :path Relationship weights, value range ;
[0171] :path The number of edge layers included (the number of hops from the defect type node to the target node).
[0172] Layer index From 1 to Summation;
[0173] : Layer index;
[0174] : No. Set of relation edges on the layer The cardinality (number of edges);
[0175] : Regarding the first All relation edges in the layer Summation;
[0176] A relation edge, from node To the node Index variables;
[0177] :side In the current time window The dynamic weights are provided by formula ①;
[0178] Nodes at both ends of the path (Defect type node) and (Target node) feature vector and The cosine similarity, taking values... ;
[0179] Defect type node The final feature vector is taken from the output of formula ②. ;
[0180] Target node The final feature vector (such as process nodes, equipment nodes, etc.) is taken from the output of formula ②. .
[0181] Simple numerical example: A path from the defect type node "poor solder joint" to the equipment node "bonding machine" contains 2 layers (defect → process → equipment). The edge weights of the first layer are 0.6441 and the second layer are 0.7220. The average edge weights of the first layer are 0.6441 and the average edge weights of the second layer are 0.7220. Node feature similarity ,but .
[0182] Calculate for all paths Then, press Priority levels are generated in descending order. The priority level takes the value of 1 (highest), 2, 3, etc., and is determined by formula ④.
[0183] Formula④
[0184]
[0185] in:
[0186] :path The priority level takes values of 1, 2, 3, ..., where 1 represents the highest priority;
[0187] Relationship weights for all paths under the current abnormal batch A function that performs a descending sort and returns the sort index (1 being the largest).
[0188] :path The relational weights are provided by formula ③.
[0189] Simple numerical example: If three paths have relation weights of 0.6284, 0.5123, and 0.4876 respectively, their priority levels are 1, 2, and 3 respectively. The output of S320 is the relation weights. and priority level The record is set as the "relationship weight and priority level" field. This field serves as the direct input field for S330 and also transmits the sorting basis to the primary root cause type and alternative root cause type filtering process in the subsequent S410 through the priority level.
[0190] Furthermore, in S330, based on the relationship weights and priority levels, graph traversal, historical case verification and supplementation, and root cause priority evaluation are performed to obtain a complete tracing chain.
[0191] Graph traversal starts from the defect type node corresponding to the current abnormal batch and reads along the relation edges in descending order of priority. The reading order is as follows: first, read the high-priority path from the defect type node to the process node; then, read the equipment usage relationship from the process node to the equipment node; then, read the parameter configuration relationship from the equipment node to the process parameter entity; and finally, read the historical case nodes and expert experience nodes that are caused, manifested, or associated with at least one of the defect type node and the process parameter entity.
[0192] After obtaining the set of high-priority paths through graph traversal, historical case verification and supplementation processing are performed: the batch number, process node identifier, equipment node identifier, process parameter entity identifier, and defect type identifier of each high-priority path are read, and then the records corresponding to the same defect type, the same process node, or the same equipment node are retrieved from the historical case nodes; if a matching record is found, the record is appended to the end of the corresponding path, and the relationship of association or cause is added; if the retrieved record only matches the defect type and not the equipment node, it is only written as supplementary evidence and the order of the path is not improved; if no matching record is found, the original path is retained and a no-supplementation state is written.
[0193] Then, the root cause priority assessment process re-sorts the paths obtained from the graph traversal based on the relation weights, priority levels, and historical case verification and supplementary results for each path. The root cause priority assessment uses formula ⑤ to calculate the final comprehensive score for each path.
[0194] Formula⑤
[0195]
[0196] in:
[0197] :path The final overall score, with a range of values. ;
[0198] Weighting coefficients, satisfying ;
[0199] :path The relational weights are provided by formula ③;
[0200] : Natural constant, approximately 2.71828;
[0201] : Steepness coefficient of the logistic function, default value is 10;
[0202] :path The matching degree of historical case verification (number of matching records divided by total number of verifications), with a value of ;
[0203] The threshold for the logistic function, preset to 0.5;
[0204] :path The number of expert experience nodes associated with it;
[0205] The maximum number of expert experience nodes across all paths in the current abnormal batch;
[0206] For path The model association confidence score; the comprehensive matching confidence score between the nodes (such as processes, equipment, parameters, and defect types) traversed by the path and the output results of each heterogeneous model, obtained through multi-level fusion processing of heterogeneous models.
[0207] Data source mapping: Provided by formula ③; Results derived from verification and supplementary processing of historical cases; and Expert experience nodes derived from the process knowledge graph; The output is directly obtained from the multi-level fusion processing of the aforementioned heterogeneous models.
[0208] Calculate for each path Then, output the final chained records in descending order.
[0209] A complete traceability chain includes at least five types of nodes: defect type nodes, process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes. Preferably, it further includes reserved attachment positions for handling strategy nodes. Engineering example: On a micro-assembly production line, the defect type node "porosity" generated by the sealing process is output with a priority level of 1 (highest) via S320. Graph traversal first reads the sealing process node, the equipment node "sealing machine," and the process parameter entity "welding current," and then reads the bonding process node, the equipment node "bonding machine," and the process parameter entity "bonding pressure" in reverse. Subsequently, records associated with both "porosity" and "bonding machine" are searched in the historical case nodes. Two matching records are found and attached to the path. Then, records associated with "porosity" and "welding current" are read from the expert experience nodes and written as supplementary evidence.
[0210] Root cause prioritization assessment calculates the two paths The first path (defect → sealing process → sealing machine → welding current → historical cases → expert experience) scored 0.6848, and the second path (defect → bonding process → bonding machine → bonding pressure → historical cases) scored 0.5231.
[0211] The final result is a complete traceability chain, which includes two chain records: "porosity → sealing process → sealing machine → welding current → historical case node #A → expert experience node #B" and "porosity → bonding process → bonding machine → bonding pressure → historical case node #C".
[0212] If multiple paths exist at the same priority level, the path that has both historical case nodes and expert experience nodes will be retained first. The output of S330 is a complete source chain, recorded as the "Complete Source Chain" field. This field serves as the direct input location field for S410, used for filtering the primary root cause type and alternative root cause type. At the same time, the path-level sorting and evidence linkage relationships formed in the complete source chain will also be fed into S420 and S430 through processing strategy feedback and historical event subgraph updates.
[0213] This section summarizes the technical effects: First, this step organizes node attributes, relationship edge attributes, and dynamic weights. Then, it performs graph neural network association mining. Finally, it combines graph traversal with historical case verification and supplementation to output a complete traceability chain, avoiding the direct reverse traversal of the processing chain starting from the abnormal parameter. Therefore, the traceability result corresponding to the current abnormal batch changes from a single-point result to a chain record containing process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes. Subsequent processing strategies filter and read the input fields that have already been sorted and supplemented with evidence.
[0214] Step S400 includes at least steps S410-S430:
[0215] S410. Obtain the complete tracing chain, perform screening of main root cause types and alternative root cause types, and obtain the processing strategy.
[0216] Specifically, the complete traceability chain originates from the aforementioned S330 and already includes a chain of records between defect type nodes, process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes, along with sorting results corresponding to relation weights and priority levels. Therefore, the processing object of S410 is not an isolated cause of anomaly, nor a single root cause process, but rather a complete chain of records formed between multiple production processes for the same batch of anomalies.
[0217] The primary root cause type refers to the defect type association result with the highest priority in the complete tracing chain, which is supported by both historical case nodes and expert experience nodes. When there are multiple results with the highest priority, the defect type association result with the largest relationship weight is taken as the primary root cause type. The alternative root cause type refers to the other association results with the highest priority after excluding the primary root cause type in the complete tracing chain. When there are multiple alternative root cause types, they are determined in descending order of relationship weight and are still directly related to the current abnormal batch.
[0218] The primary root cause type and alternative root cause type screening process is executed by the knowledge graph construction and management module. During the actual operation, the relation weights and priority levels in the complete traceability chain are read first, and then the chain records are grouped according to the abnormal batch, process node identifier, equipment node identifier and process parameter entity identifier. Then, the primary root cause type screening and alternative root cause type screening are completed within each group.
[0219] If a single path in a chain of records corresponds to multiple defect type nodes, the defect type nodes that are closer to the quality inspection information nodes and have more complete historical case verification and supplementary records are retained first, and the remaining defect type nodes are read as candidate root cause types. If a chain of records contains multiple candidate results with the same priority level, the filtering is continued according to the co-occurrence of historical case nodes and expert experience nodes, and the results that are associated with both historical case nodes and expert experience nodes are retained first.
[0220] Furthermore, the processing strategy is not a single text record, but a structured processing record generated around the primary root cause type and alternative root cause types. The processing strategy includes at least a primary root cause type field, an alternative root cause type field, a priority level field, a processing suggestion field, and an improvement suggestion field; in a preferred embodiment, it also includes a process parameter rollback instruction field and a rework task list field. Specifically, the knowledge graph construction and management module first reads the processing strategy nodes directly associated with the primary root cause type nodes from the process knowledge graph, and writes the processing suggestions, improvement suggestions, and process parameter rollback instructions corresponding to the processing strategy nodes into the processing strategy; then, it reads the processing strategy nodes associated with the alternative root cause type nodes, organizes the processing suggestions commonly contained in multiple alternative root cause types into common implementation elements, and adds them to the processing strategy.
[0221] The processing strategy retains both direct handling for primary root cause types and parallel verification for alternative root cause types. In an engineering embodiment, when an abnormal batch simultaneously exhibits two high-priority paths—"Sealing process—equipment node—process parameter entity" and "Bonding process—equipment node—process parameter entity"—in the complete traceability chain corresponding to the sealing process, the knowledge graph construction and management module first filters the defect type association results corresponding to the sealing process as the primary root cause type, and then filters the defect type association results corresponding to the bonding process as alternative root cause types. Subsequently, it reads the processing strategy nodes associated with these two types of results from the process knowledge graph, writes the process parameter rollback instructions and processing suggestions corresponding to the sealing process into the processing strategy, and then writes the rework task list and improvement suggestions jointly associated with the two types of results into the same processing strategy record.
[0222] If a candidate root cause type is not yet linked to a treatment strategy node in the process knowledge graph, its candidate root cause type field is retained, not deleted, and a pending status is written into the treatment strategy. The output product of S410 is the treatment strategy, which is recorded as the "treatment strategy" field and serves as the direct input location field for S420. Simultaneously, it is processed along with the complete traceability chain in the subsequent treatment strategy feedback and disposal status field during cross-main step connections.
[0223] S420. Based on the processing strategy, perform processing strategy feedback and write the disposal status field to obtain processing strategy feedback.
[0224] Specifically, the processing strategy feedback refers to the feedback record formed around the actual execution process of the processing strategy. The feedback record is not a simple confirmation information, but an event record that includes processing suggestion execution record, improvement suggestion execution record, process parameter rollback instruction execution record, rework task list execution record, and corresponding timestamp and disposal status fields.
[0225] The disposal status field is an update entry field in the historical event subgraph and process knowledge graph, used to characterize whether a certain processing strategy node has entered the pending execution state, the execution state, or the completed state. During the operation of this invention, S420 is jointly completed by the knowledge graph construction and management module and the user feedback interface. The knowledge graph construction and management module first reads the "processing strategy" field output by S410, and writes the main root cause type field, alternative root cause type field, priority level field, processing suggestion field, improvement suggestion field, process parameter rollback instruction field, and rework task list field into the user feedback interface; the user feedback interface sends these fields to the execution location corresponding to the abnormal batch. The execution location can be the equipment node-side operation interface corresponding to the process node, or the interface corresponding to the work order task entity in the unified storage used to carry the processing strategy execution record; the processing strategy execution record includes at least one of the rework task list execution record, processing suggestion execution record, and improvement suggestion execution record.
[0226] Furthermore, when the execution location sends back execution records, the knowledge graph construction and management module receives the sent-back content according to the batch number, timestamp, process node identifier, and equipment node identifier, and writes the sent-back content back to the processing strategy feedback field. The processing strategy feedback field includes at least the processing strategy identifier, batch number, process node identifier, equipment node identifier, execution timestamp, execution record, and disposal status field. The execution record indicates whether the processing suggestion and improvement suggestion have been executed, and the disposal status field indicates the current status of the processing strategy record. If the execution location only sends back partial content, such as only sending back the process parameter rollback instruction execution record and not sending back the rework task list execution record, the knowledge graph construction and management module first writes the already sent-back portion and leaves the unsent portion as an empty field, without changing the original processing strategy order. If the user feedback interface does not receive any execution records within a preset time window, the processing strategy feedback field is marked as pending feedback, and the module continues to monitor the execution records for the next time window.
[0227] Understandably, the processing strategy feedback and disposal status field writing are not completed in the graph neural network processing unit, but are executed after the complete tracing chain has been converted into a processing strategy. Therefore, the processing object is no longer the relation weights themselves, but the disposal content corresponding to the primary root cause type and the alternative root cause type. In an engineering embodiment, after the primary root cause type screening results corresponding to the sealing process generate process parameter rollback instructions and improvement suggestions, the user feedback interface sends these fields to the execution position corresponding to the sealing process equipment node; at the same time, the rework task list associated with the alternative root cause type is sent to the execution position corresponding to the bonding process.
[0228] After the execution location is returned, the knowledge graph construction and management module writes the execution record corresponding to the equipment node of the sealing process into the execution record in the processing strategy feedback field, and writes the execution record of the rework task list of the bonding process into another execution record under the same batch number, and writes the disposal status field into the two records respectively. In this way, the processing suggestions and improvement suggestions for the same abnormal batch can fall on different process nodes and equipment nodes, but are still retained in the unified processing strategy feedback field. The output product of S420 is the processing strategy feedback, which is recorded as the "processing strategy feedback" field and serves as the direct input location field of S430. At the same time, it corresponds to the reserved field in the historical event subgraph through the disposal status field, which is used for subsequent historical version archiving and historical event subgraph update processing.
[0229] S430. Based on the feedback of the processing strategy, perform relation weight update, historical version archiving and historical event subgraph update processing to obtain relation weights.
[0230] Specifically, the input source for the relation weight update processing is the "processing strategy feedback" field written in S420 above; the input source for the historical version archiving processing is the existing source ID, timestamp, and auditable record fields in the process knowledge graph; and the input source for the historical event subgraph update processing is the historical event subgraph generated in S230 above and with the disposal status field reserved. S430 is executed by the knowledge graph construction and management module. It first reads the batch number, process node identifier, equipment node identifier, execution timestamp, execution record, and disposal status fields from the processing strategy feedback field, and then retrieves the influencing relation edges, causing relation edges, manifested relation edges, and associated relation edges corresponding to the batch in the process knowledge graph according to the abnormal batch.
[0231] The relation weight update process does not regenerate a new process knowledge graph, but rather updates the dynamic weight records on existing relation edges. Specifically, when the processing strategy feedback field indicates that a processing suggestion has been executed, and the main root cause type corresponding to that processing suggestion belongs to a high-priority path in the complete tracing chain, the knowledge graph construction and management module writes a new dynamic weight record on the influence relation edge corresponding to that main root cause type and synchronously records the update timestamp. When the processing strategy feedback field indicates that an improvement suggestion corresponding to a candidate root cause type has been executed, a supplementary dynamic weight record is written on the relation edge corresponding to that candidate root cause type, retaining a source identifier different from the main root cause type. If the processing strategy feedback field shows that a processing strategy is in a pending feedback state, the corresponding relation edge is not updated, and the record is simply retained in the current round state.
[0232] Furthermore, the historical version archiving process is executed after the relation weight update process. The knowledge graph construction and management module first reads the relation weight records, processing strategy node records, and historical event subgraph records before the current update, and archives them together with the update timestamp, source ID, and auditable records as historical versions; then, it writes the new relation weight records of the current round into the current version.
[0233] The changes in relational weights of the same batch of abnormal events across different time windows are preserved. When the same defect type reappears, historical versions can be used for comparison. The historical event subgraph update process is executed synchronously with the historical version archiving process. Specifically, the disposal status field and execution record from the processing strategy feedback field are read and written into the historical event subgraph of the corresponding abnormal batch. If an execution record corresponds to a sealing welding process equipment node, the disposal status field is updated on the corresponding branch of the sealing welding process node and equipment node in the historical event subgraph. If an execution record corresponds to a bonding process rework task list, the execution record under the same time window is added to the corresponding position of the bonding process node, while preserving the original process flow sequence relationship. Therefore, the historical event subgraph not only saves the event chain at the time the abnormal batch was formed, but also saves the new event chain formed by the abnormal batch during the processing strategy feedback phase.
[0234] In the engineering implementation, after the rollback instruction for the process parameters corresponding to the bonding process has been executed and the execution record has been returned, the knowledge graph construction and management module reads the execution record and updates the dynamic weights on the influence relationship edges corresponding to "defect type node - bonding process node - equipment node - process parameter entity". At the same time, the old relationship weight record before the update, along with the timestamp and source ID, is archived as a historical version. If the rework task list corresponding to the bonding process is completed in the next time window, the execution record will be written into the historical event subgraph in the next round of S430, and a new dynamic weight record will be written on the corresponding relationship edge, while the relationship weight record of the previous round will continue to be retained as a historical version.
[0235] Understandably, the output of S430 is not a general update log, but a new relation weight. This new relation weight is recorded as a "relation weight" field, which is used by subsequent new abnormal batches entering S110 to continue participating in structured event unit organization, process knowledge graph construction, and graph neural network association mining, thereby forming a cross-cycle closed loop. In summary, the technical effect of this step is that it directly writes the processing strategy feedback back to the relation weights, historical versions, and historical event subgraphs, avoiding a processing chain that only outputs processing reports without updating graph data. Therefore, when the same abnormal batch characteristics or the same defect type reappear, the graph neural network association mining reads graph data that already includes the handling status field and historical version records, resulting in a more complete relation edge update chain and a clearer closed-loop relationship between the complete tracing chain and the processing strategy.
[0236] Example 2: Figure 2 This diagram illustrates a structural block diagram of a process quality root cause tracing method that integrates heterogeneous models and knowledge graphs according to an embodiment of the present invention. Figure 2 As shown, the structure may include:
[0237] The multi-source data acquisition and structured event unit construction module 01 is used to acquire operational status data, process parameter data, production quality data, and environmental parameter data, perform data cleaning and time series alignment, and generate structured event units. Specifically, the multi-source data acquisition and structured event unit construction module receives operational status data from the corresponding equipment nodes of the production process, process parameter data from the process execution log, production quality data from the quality inspection information record terminal, and environmental parameter data that arrives synchronously with the production process. The multi-source data acquisition and structured event unit construction module first performs data cleaning on the received data, and then performs time series alignment. Data cleaning includes standardization, missing value imputation, and outlier handling. Time series alignment includes rearranging by timestamp, merging by time window, and attaching by process node identifier. After processing, structured event units are formed. The structured event unit includes batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, and quality inspection information identifier. The structured event unit is passed as the input object to the subsequent quality inspection information extraction and abnormal batch screening module, and retains the correspondence between the original data and the processed data in the corresponding record of the current batch.
[0238] The quality inspection information extraction and abnormal batch screening module 02, connected to the multi-source data acquisition and structured event unit construction module, is used to extract quality inspection information from the structured event units, screen abnormal batches, and generate defect types and time windows. Specifically, the quality inspection information extraction and abnormal batch screening module receives the structured event units output by the multi-source data acquisition and structured event unit construction module, and reads the quality inspection information identifier, test result entity, batch number, process node identifier, and equipment node identifier from the structured event units. The quality inspection information extraction and abnormal batch screening module first extracts the quality inspection information corresponding to the current time window, and then screens abnormal batches according to the quality abnormality markers in the test result entities. In the case of consecutive quality abnormality records for the same batch number within the same time window, the quality inspection information extraction and abnormal batch screening module writes the batch number into the abnormal batch record. In the case of associated abnormal records for the same batch number at multiple process nodes, the quality inspection information extraction and abnormal batch screening module registers them separately according to the process node identifier. After completing the abnormal batch screening, the quality inspection information extraction and abnormal batch screening module continues to perform defect type extraction and time window annotation, generating defect types and time windows. These defect types and time windows are passed as input objects to the process domain ontology construction module, while the abnormal batches and quality inspection information are retained for use by the process knowledge graph construction and historical event subgraph construction module.
[0239] The process domain ontology construction module 03, connected to the quality inspection information extraction and abnormal batch screening module, is used to acquire the structured event units, defect types, and time windows, perform process domain ontology construction, and generate the process domain ontology. Specifically, the process domain ontology construction module receives structured event units from the multi-source data acquisition and structured event unit construction module, and receives defect types and time windows from the quality inspection information extraction and abnormal batch screening module. The process domain ontology construction module establishes entity sets according to process nodes, equipment nodes, process parameter entities, defect type nodes, quality inspection information nodes, historical case nodes, expert experience nodes, and processing strategy nodes, and establishes relationship sets according to process flow sequence relationships, equipment usage relationships, parameter configuration relationships, influence relationship edges, causes, manifestations, and associations. The process domain ontology construction module appends fields to the batch number, timestamp, process node identifier, equipment node identifier, and process parameter entity identifier in the structured event units, and writes node and edge constraints to the defect type and time window to form the process domain ontology. In cases where multiple device node records exist under the same batch number, the process domain ontology construction module retains the corresponding relationships separately and does not perform cross-device merging. The process domain ontology is passed as the input object to the process knowledge graph construction and historical event subgraph construction modules, and is invoked as a unified constraint rule when subsequent relation edges are written.
[0240] The process knowledge graph construction and historical event subgraph construction module 04, connected to the process domain ontology construction module, is used to perform structured data source mapping and unstructured data source extraction to generate a process knowledge graph and generate historical event subgraphs based on the process knowledge graph, the abnormal batches, and quality inspection information. Specifically, the process knowledge graph construction and historical event subgraph construction module receives the process domain ontology output by the process domain ontology construction module and simultaneously calls the abnormal batches and quality inspection information. The process knowledge graph construction and historical event subgraph construction module first performs structured data source mapping, writing the batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, and quality inspection information identifier from the structured event unit into the process node, equipment node, process parameter entity, and quality inspection information node, respectively. Then, it performs unstructured data source extraction, extracting records corresponding to abnormal batches, defect types, process nodes, and equipment nodes from historical case data, expert experience, process rules, and historical maintenance records, and writing them into historical case nodes, expert experience nodes, and processing strategy nodes. After processing, a process knowledge graph is formed. The process knowledge graph construction and historical event subgraph construction module continues to filter corresponding nodes and relationship edges from the process knowledge graph according to abnormal batches, quality inspection information, and time windows. It organizes the main chain according to the process flow time sequence relationship, and the branch chains according to equipment usage relationships, parameter configuration relationships, impact relationships, and the causes, manifestations, and associations, forming a historical event subgraph. The process knowledge graph is passed as the input object to the subsequent graph neural network input data organization and graph neural network association mining module. The historical event subgraph is synchronously passed to the graph neural network input data organization and graph neural network association mining module, and reserves a disposal status field and an auditable record field for later use.
[0241] The graph neural network input data processing and graph neural network association mining module 05 is connected to the process knowledge graph construction and historical event subgraph construction module. It is used to acquire the process knowledge graph and the historical event subgraph, perform node attribute, relation edge attribute, and dynamic weight processing, generate graph neural network input data, and generate relation weights and priority levels based on the graph neural network input data. Specifically, the graph neural network input data processing and graph neural network association mining module receives the process knowledge graph and the historical event subgraph. The module first processes node attributes, then relation edge attributes, and finally dynamic weights. Node attribute processing reads batch number, timestamp, process node identifier, equipment node identifier, process parameter entity identifier, quality inspection information identifier, defect type identifier, source identifier, and reserved space for the handling status field. Relationship edge attribute processing reads process flow sequence relationships, equipment usage relationships, parameter configuration relationships, influencing relation edges, causes, manifestations, associated edge types, start node, end node, and time window. Dynamic weight processing writes the relation edge records corresponding to the current abnormal batch and the existing weight records. The processed data forms the graph neural network input data. The graph neural network input data processing and graph neural network association mining module then calls the graph neural network input data to perform graph neural network association mining on the association paths between defect type nodes, process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes, generating relationship weights and priority levels. These relationship weights and priority levels are passed as input objects to the complete traceability chain construction module and maintain consistent association with the historical event subgraph in the corresponding record of the current abnormal batch.
[0242] The complete traceability chain construction module 06, connected to the graph neural network input data processing and graph neural network association mining module, is used to perform graph traversal, historical case verification and supplementation, and root cause priority assessment based on the relationship weights and priority levels, and generate a complete traceability chain. Specifically, the complete traceability chain construction module receives relationship weights and priority levels, and calls the nodes and relationship edge records in the process knowledge graph. The complete traceability chain construction module first starts from the defect type node, reads the process node according to the priority level, then reads the equipment node and process parameter entity, completing the graph traversal main chain construction. Then, it reads the historical case nodes and expert experience nodes corresponding to the current path, and performs historical case verification and supplementation. For historical case nodes that match the current batch number, process node identifier, or equipment node identifier, the complete traceability chain construction module writes them into the current path. For records that only match the defect type node, the complete traceability chain construction module writes them into the supplementary position. Subsequently, the complete traceability chain construction module performs root cause priority assessment based on the relationship weights and priority levels, sorts the path-level records, and forms a complete traceability chain. The complete traceability chain includes a chain of records of defect type nodes, process nodes, equipment nodes, process parameter entities, historical case nodes, and expert experience nodes. This complete traceability chain serves as the input object for the processing strategy feedback and process knowledge graph update module, maintaining a correspondence with relationship weights and priority levels.
[0243] The processing strategy feedback and process knowledge graph update module 07, connected to the complete traceability chain construction module, is used to filter the main root cause types and alternative root cause types based on the complete traceability chain, generate processing strategies, execute processing strategy feedback and write the disposal status fields, and perform relationship weight updates, historical version archiving, and historical event subgraph updates. Specifically, the processing strategy feedback and process knowledge graph update module receives the complete traceability chain, first filters the main root cause types and alternative root cause types according to relationship weight and priority level, then reads the processing strategy nodes corresponding to the main root cause types and alternative root cause types from the process knowledge graph, and generates processing strategies. The processing strategy feedback and process knowledge graph update module sends the processing strategies to the execution positions of the corresponding process nodes and equipment nodes, and receives the returned execution records. After receiving, the processing strategy feedback and process knowledge graph update module writes the processing strategy feedback and disposal status fields. Subsequently, the processing strategy feedback and process knowledge graph update module updates the relation weights in the process knowledge graph based on the processing strategy feedback, archives the records before the update as historical versions, and writes the execution record and disposal status fields into the historical event subgraph. After completing the update, the processing strategy feedback and process knowledge graph update module writes the new relation weights back to the corresponding records in the process knowledge graph construction and historical event subgraph construction module and the graph neural network input data processing and graph neural network association mining module, maintaining the call chain for the next round of abnormal batch processing.
Claims
1. A method for tracing the root causes of process quality defects by integrating heterogeneous models and knowledge graphs, characterized in that, include: S100: Obtain operating status data, process parameter data, production quality data, and environmental parameter data; perform defect type extraction and time window annotation processing to obtain defect types and time windows; S200. Based on the defect type and time window, perform process domain ontology construction and historical event subgraph construction to obtain the historical event subgraph. Perform multi-level fusion processing on heterogeneous models to obtain the confidence of the heterogeneous fusion feature set and the model association; S300. Based on the historical event subgraph, heterogeneous fusion feature set and model association confidence, perform node attribute, relation edge attribute and dynamic weight sorting and processing, and perform graph neural network association mining processing, as well as graph traversal, historical case verification and supplementation and root cause priority evaluation processing to obtain a complete tracing chain. S400. Based on the complete tracing chain, perform the screening of main root cause types and alternative root cause types, the feedback of processing strategies, and the writing of the disposal status field to obtain the relationship weight.
2. The method according to claim 1, characterized in that, The operational status data, process parameter data, production quality data, and environmental parameter data include: The operational status data refers to the equipment status data and process execution logs of the corresponding equipment nodes in the production process; the process parameter data refers to the corresponding records of parameter configuration relationships formed during the execution of the production process; the production quality data refers to the detection records and test result entities from quality inspection information; and the environmental parameter data refers to the environmental parameter data that is collected synchronously with the production process and can be corresponding to the same batch number and the same timestamp.
3. The method according to claim 1, characterized in that, The process of defect type extraction and time window annotation includes: The batch number, test result entity, and quality anomaly marker are read from the abnormal batch and quality inspection information. After being classified according to the process node identifier, a defect type field is generated. Then, the timestamp in the structured event unit is called to attach each quality inspection information to the corresponding time window to obtain the defect type and time window.
4. The method according to claim 1, characterized in that, The process of constructing the ontology in the process domain includes: Establish a minimal set of process nodes, equipment nodes, process parameter entities, defect type nodes, quality inspection information nodes, historical case nodes, and expert experience nodes, and write them into the process flow sequence relationship, equipment usage relationship, parameter configuration relationship, influence relationship edge, as well as the cause, manifestation, and association relationship.
5. The method according to claim 1, characterized in that, The process of constructing the historical event subgraph includes: The nodes corresponding to abnormal batches and quality inspection information are read from the process knowledge graph. The nodes and edges are trimmed according to the time window. The event chain organization unit takes the process flow time sequence relationship as the main chain and other relationships as branches to obtain the historical event subgraph.
6. The method according to claim 1, characterized in that, The process of organizing and processing node attributes, relation edge attributes, and dynamic weights includes: By retrieving process nodes, equipment nodes, process parameter entities, defect type nodes, historical case nodes, and expert experience nodes from the historical event subgraph according to the abnormal batch, duplicate node attributes are merged, and dynamic weights are attached to the influence relationship edges to obtain the graph neural network input data.
7. The method according to claim 1, characterized in that, The process of graph traversal, historical case verification and supplementation, and root cause prioritization includes: The graph traversal, historical case verification and supplementation, and root cause priority assessment process includes: starting from the defect type node corresponding to the current abnormal batch, reading the process node, equipment node, and process parameter entity sequentially along the relation edges in order of priority from high to low, then retrieving the record corresponding to at least one of the same defect type and the same process node from the historical case node and appending it to the end of the path, and finally sorting the complete path according to the relation weight, priority level, and verification and supplementation results to obtain the complete traceability chain.
8. The method according to claim 1, characterized in that, The process of screening primary and alternative root cause types includes: In the complete tracing chain, the defect type association result with the highest priority level and supported by both historical case nodes and expert experience nodes is taken as the primary root cause type. When there are multiple results with the highest priority level, the defect type association result with the largest relationship weight is taken as the primary root cause type. Other association results with the highest priority level after excluding the primary root cause type are also taken. When there are multiple results, they are determined as candidate root cause types in descending order of relationship weight, thus obtaining the processing strategy.
9. The method according to claim 1, characterized in that, The process of handling policy feedback and writing the disposal status field includes: The processing strategy feedback and disposal status field writing process includes: sending the main root cause type field, alternative root cause type field, processing suggestion field, and improvement suggestion field in the processing strategy to the user feedback interface; receiving the execution record returned from the execution location and writing it into the processing strategy feedback field; and updating the disposal status field to obtain the processing strategy feedback; and performing relationship weight update processing based on the processing strategy feedback to obtain the relationship weight.
10. The method according to claim 1, characterized in that, The process of graph neural network association mining includes: Starting from the defect type node, read the process node, equipment node and process parameter entity in reverse along the process flow time sequence to form a main chain set. Read the historical case nodes and expert experience nodes that have a relationship with the defect type node, such as its cause, manifestation and association, and perform evidence edge fusion. Generate a relationship weight record for each associated path and generate a priority level in descending order of relationship weight.
