A data middle platform intelligent data fusion method and system based on a graph neural network
By aligning the pressure sensor node identifiers and sampling times in the data processing, and combining the node positions and orientations in the graph, the field relationships are preserved during the pruning process, forming a sparse graph structure. This solves the problem of weakened correspondence between the data platform model and the pipeline measurement point layout, and improves the accuracy and efficiency of the pressure data fusion model.
Patent Information
- Application Number
- CN202611388968.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-27
AI Technical Summary
In industrial fluid transport pipelines, the existing data processing links lack constraints on the installation location and pipeline routing of the node association records. This weakens the correspondence between the fusion model generated on the data platform and the pipeline measurement point layout, affecting the accuracy of the pressure data fusion model.
By aligning pressure data with pressure sensor node identifiers and sampling times, training graph samples are formed. Combined with the location of graph nodes and pipe orientation, the adjacency relationship between endpoint channels and open corridors is determined, and a graph neural network is established. During the pruning process, on-site relationships are preserved, forming a sparse graph structure, and edges without on-site constraints are removed.
While preserving the on-site pipe orientation relationships, the computational load is reduced, the impact of unconstrained pruning on the pipeline pressure data fusion link is mitigated, and the reliability of model deployment and invocation is improved.
Smart Images

Figure CN123179285A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent data fusion technology, and more specifically, to an intelligent data fusion method and system based on a graph neural network-based data platform. Background Technology
[0002] In industrial fluid transport pipeline operation scenarios, the data platform typically receives pressure data continuously from multiple pressure sensor nodes and maintains sensor ledgers, node association records, installation locations, pipe routing, and multi-source sampling records. To obtain pressure data usable for scheduling, monitoring, and control, engineering practices often align the first-path pressure, second-path pressure, and reference pressure by node and sampling time, and then use graph neural networks to process the associations between nodes. In existing data processing chains, node association records mostly come from ledgers or pipeline configurations. During model training, these associations are usually directly used as input for graph computation, and subsequent pruning is mostly performed based on the edge weights or retention values obtained during training. This approach can reduce model size when the data volume increases and the node distribution becomes complex, but if the pruning process lacks constraints on installation locations and pipe routing, it is easy to process existing graph edges with strong on-site pipe routing relationships together with general low-contribution edges, resulting in a weakened correspondence between the fusion model generated by the data platform and the pipeline measurement point layout. Therefore, in the training of pressure data fusion models, a processing method is needed that can simultaneously utilize node association records, installation locations, pipe routing, and graph neural network training results, so that the model pruning process is constrained by the on-site relationships and is suitable for execution by the data platform system. Summary of the Invention
[0003] This invention provides an intelligent data fusion method and system based on graph neural networks for a data platform, which solves the technical problems mentioned in the background.
[0004] To achieve the above-mentioned objectives, the present invention provides the following technical solution.
[0005] A data fusion method for a data platform based on graph neural networks includes:
[0006] Align the first pressure, the second pressure, and the reference pressure according to the pressure sensor node identifier and sampling time. Use the pressure sensor node as the graph node, form the existing graph edges according to the node association records, form the node input table with the first pressure and the second pressure, and form the training control value with the reference pressure.
[0007] Obtain the position of the graph node and the pipe direction. For each existing graph edge, determine the endpoint channel according to the pipe direction of each endpoint toward the other endpoint. The endpoint channel has an axial interval between the two endpoints and a lateral boundary determined by the lateral distance of the other endpoint relative to the corresponding pipe direction.
[0008] Graph nodes other than the two endpoints are treated as third nodes. If there is no third node that is simultaneously located in the axial interval of the two endpoint channels and whose lateral distance does not exceed the corresponding lateral boundary, the existing graph connection edge is recorded in the set of adjacency relationships of the two-end pipe-direction empty corridors.
[0009] Establish a graph neural network, set trainable edge retention values for existing graph edges and apply the edge retention table to the graph structure, and update the network weights and edge retention table based on the fusion error between the fusion result and the training control value and the sparsity constraint of the edge retention table.
[0010] After excluding existing graph edges that belong to the set of adjacency relationships between the two-end pipes and the open corridor, determine and remove the edges to be pruned based on the edge retention values of the remaining existing graph edges to form a sparse graph structure.
[0011] A graph neural network data fusion model based on sparse graph structure and pruned network weight outputs.
[0012] Compared with the prior art, the present invention has the following substantial features and significant progress:
[0013] This invention organizes the first-path pressure, second-path pressure, reference pressure, pressure sensor node identifiers, and sampling times in the data platform into training graph samples based on the same node and the same time. It also incorporates node association records, graph node positions, and pipe orientations into the graph edge pruning training process, ensuring that existing graph edges belonging to the set of adjacency relationships between pipes at both ends do not enter the candidates for pruning. As a result, the pruned graph neural network data fusion model reduces the computational load caused by pruning edges while retaining the participation of on-site pipe orientation relationships, reduces the impact of pruning without on-site constraints on the pipeline pressure data fusion link, and facilitates the formation of a deployable and callable pressure data fusion model on the data platform side. Attached Figure Description
[0014] Figure 1 This is a diagram of the intelligent data fusion system module and pruning mechanism based on graph neural networks in this invention. Detailed Implementation
[0015] The following description is provided in conjunction with the accompanying drawings. It should be understood that the following embodiments are for illustrative purposes only and are not intended to limit the invention; those skilled in the art can make equivalent substitutions or combinations for the specific implementations.
[0016] This embodiment relates to an intelligent data fusion method and system based on a graph neural network, applied to pressure data processing scenarios in industrial fluid transport pipelines. The data platform continuously acquires the first-path pressure, second-path pressure, reference pressure, pressure sensor node identifiers, sampling times, node association records, graph node positions, and pipe routing from the industrial fluid transport pipeline. It then generates training graph samples at the same pressure sensor node and at the same sampling time, which can be used for training the graph neural network. These training graph samples are structured training objects that include a node input table, training control values, and existing graph edges.
[0017] like Figure 1 As shown, the intelligent data fusion system based on graph neural networks includes a training graph sample formation module 110, a field relationship formation module 120, an edge retention value training module 130, an existing graph edge pruning module 140, and a model formation module 150, all executed by the processor 100. The training graph sample formation module 110 is used to form training graph samples; the field relationship formation module 120 is used to form a set 160 of adjacency relationships between the two pipes and the open corridor; the edge retention value training module 130 is used to train edge retention values and network weights; the existing graph edge pruning module 140 is used to form a sparse graph structure; and the model formation module 150 is used to output the pruned graph neural network data fusion model 170.
[0018] In this embodiment, the pressure sensor node is the pressure measurement point on the industrial fluid delivery pipeline; the graph node is the node representation of the pressure sensor node in the graph neural network; the existing graph edges are the graph structure connection relationships formed based on the node association records; the first pressure and the second pressure are used to form the node input table; the reference pressure is used to form the training control value; the fusion result is the output of the graph neural network during the training process; the fused pressure is the pressure output by the pruned graph neural network data fusion model 170 after fusing the new two pressure data.
[0019] Furthermore, the implementation of the training image sample formation module 110 is as follows:
[0020] The training graph sample formation module 110 first obtains the first-path pressure, the second-path pressure, the reference pressure, the pressure sensor node identifier, the sampling time, and the node association record. The first-path pressure can come from the pressure data record stored in the relational database of the data platform, the second-path pressure can come from the pressure data record provided by the JSON service in the data platform, and the reference pressure can come from the pressure data record used for supervised training.
[0021] The training graph sample formation module 110 only groups the first-path pressure, second-path pressure, and reference pressure that have the same pressure sensor node identifier and sampling time into the same training record. This limitation ensures that the first-path pressure, second-path pressure, and reference pressure in the same training record all belong to the same pressure sensor node and the same sampling time, preventing data from different pressure sensor nodes or different sampling times from being mixed into a single node input. After completing the formation of the same training record, the training graph sample formation module 110 generates a node input table and training control values according to a fixed node order. The fixed node order can be determined by a fixed sorting of the pressure sensor node identifiers, or by the node order already saved in the data platform, as long as the correspondence between the same graph node and the same pressure sensor node is maintained during the training process and subsequent model calls.
[0022] For sampling time , No. The first path pressure corresponding to each graph node is denoted as . The pressure of the second path is denoted as The reference pressure is denoted as The training graph sample formation module 110 writes the first and second pressure paths into the node input table. The reference pressure is then written into the training control value. .
[0023]
[0024] in, Represents the node input table The Middle The rows corresponding to each graph node. Indicates the first Each graph node at the sampling time The corresponding first-path pressure. Indicates the first Each graph node at the sampling time The corresponding second-path pressure. Indicates training control value The Middle The location of the monitoring target corresponding to each graph node. Indicates the first Each graph node at the sampling time The corresponding reference pressure.
[0025] The training graph sample formation module 110 also forms existing graph edges based on node association records. Specifically, each unique pressure sensor node identifier is established as a graph node. Existing graph edges are formed when both endpoints of the node association record belong to graph nodes. The same graph nodes and existing graph edges are used to form training graph samples at each sampling time. With this setup, the same batch of graph nodes and existing graph edges serve as the basis of the graph structure. The node input table and training control values change with the sampling time, enabling the edge retention value training module 130 to update the network weights and edge retention table on a unified graph structure.
[0026] In one implementation, the training graph sample formation module 110 reads the fields sensor_id, time_stamp, pressure_A, and pressure_ref from a relational database, the fields sensor_id, time_stamp, and pressure_B from a JSON service, and the fields representing the two endpoints from the node association record. The field sensor_id corresponds to the pressure sensor node identifier, the field time_stamp corresponds to the sampling time, the field pressure_A corresponds to the first pressure, the field pressure_B corresponds to the second pressure, and the field pressure_ref corresponds to the reference pressure.
[0027] Furthermore, the implementation of the on-site relationship formation module 120 is as follows:
[0028] The site relationship formation module 120 obtains the location of the drawing nodes and the pipe routing. The location of the drawing nodes includes their horizontal, vertical, and vertical positions. For the first... Each graph node has a horizontal position denoted as . The vertical position is denoted as The height position is recorded as The direction of the pipe is recorded as The lateral, longitudinal, and height positions collectively represent the location of the pressure sensor node in the field space, while the pipe orientation represents the direction of the pipe segment where the pressure sensor node is located. The field relationship formation module 120 combines the lateral, longitudinal, and height positions into a location point. The pipe orientation is used as a three-dimensional unit direction vector in the subsequent determination of the endpoint channels.
[0029]
[0030] in, Indicates the first The location of each graph node. Indicates the first The horizontal position of each graph node. Indicates the first The vertical position of each graph node. Indicates the first The height position of each graph node. Indicates the first The pipe routing of each node in the diagram.
[0031] For each existing edge in the diagram, the field relationship generation module 120 determines the endpoint channel based on the pipe direction from each endpoint to the other. (This is done using existing edge connections.) For example, the two endpoints are graph nodes. Graph Nodes The on-site relationship formation module 120 is based on the nodes in the diagram. Location points, graph nodes The location points and the pipe directions of the two graph nodes are used to obtain the node locations. Towards the node Pipe direction and nodes Towards the node The direction of the pipe.
[0032] In the existing graph edges, the graph nodes Determine it as the first endpoint, and set the graph node. The first and second endpoints are used only to identify the two endpoints of the same existing diagram connection; the field relationship formation module 120 determines the endpoint channels according to the pipe direction from the first endpoint to the second endpoint and the pipe direction from the second endpoint to the first endpoint.
[0033]
[0034]
[0035] in, Represents a node Towards the node The direction of the pipe. Represents a node Towards the node The direction of the pipe. Represents a symbolic function. Represents graph nodes The pipe routing and the nodes in the diagram Pointing to graph nodes The inner product between the positional differences. Represents graph nodes The pipe routing and the nodes in the diagram Pointing to graph nodes The inner product between the positional differences.
[0036] In this embodiment, This is used to select the positive or negative direction of the pipe orientation; it takes a positive sign when the input is positive, a negative sign when the input is negative, and a positive sign when the input is zero, ensuring that the pipe orientation of a node towards another node remains the same as the pipe orientation of the corresponding graph node. The non-zero projection condition in the formula for the set of adjacency relationships between pipes at both ends and the empty corridor is used to limit whether existing graph edges can be included in the set of adjacency relationships between pipes at both ends and the empty corridor (160).
[0037] The site relationship formation module 120 uses axial projection and lateral distance functions to determine the endpoint channels. The axial projection function is used to obtain the axial position of the third node or another endpoint along the corresponding pipe direction; the lateral distance function is used to obtain the lateral distance of the third node or another endpoint relative to the corresponding pipe direction.
[0038]
[0039]
[0040] in, This represents the axial projection function. This represents the lateral distance function. Indicates the direction of the pipe involved in the calculation. This indicates the positional difference involved in the calculation. This represents a third-order identity matrix.
[0041] For graph nodes other than the two endpoints, the field relationship formation module 120 treats them as third nodes. For the third node... At the node Towards the node Calculate nodes along the pipe direction Axial position of the third side node, node Side Endpoint Axial position, nodes Lateral distance of the third node and node Side Endpoint Lateral distance.
[0042]
[0043]
[0044] in, Represents a node Axial position of the third node on the side. Represents a node Side Endpoint Axial position. Represents a node Lateral distance of the third node. Represents a node Side Endpoint Lateral distance.
[0045] When the third node is a slave node To the node Within the axial open interval, and the nodes The lateral distance of the third node is not greater than that of the node. Side Endpoint When the distance is lateral, the node The single-ended channel is determined to be true.
[0046]
[0047] in, Represents a node Single-ended channel determination. Node. If the single-ended channel condition is true, it indicates that the third node... Located at node Towards the node Within the endpoint channel.
[0048] Correspondingly, at the node Towards the node Calculate nodes along the pipe direction Axial position of the third side node, node Side Endpoint Axial position, nodes Lateral distance of the third node and node Side Endpoint Lateral distance.
[0049]
[0050]
[0051] in, Represents a node Axial position of the third node on the side. Represents a node Side Endpoint Axial position. Represents a node Lateral distance of the third node. Represents a node Side Endpoint Lateral distance.
[0052] When the third node is a slave node To the node Within the axial open interval, and the nodes The lateral distance of the third node is not greater than that of the node. Side Endpoint When the distance is lateral, the node The single-ended channel is determined to be true.
[0053]
[0054] in, Represents a node Single-ended channel determination. Node. If the single-ended channel condition is true, it indicates that the third node... Located at node Towards the node Within the endpoint channel.
[0055] When the on-site relationship formation module 120 does not contain a third node that is simultaneously located in the axial interval of both endpoint passages and whose lateral distance does not exceed the corresponding lateral boundary, it records the existing graph connection edge into the set 160 of the adjacency relationships of the two-end pipe corridors. In other words, when there is no node among all nodes that simultaneously makes the node... Side single-ended channel judgment and node When the third node is determined to be true for a single-end passage, the double-end empty corridor is determined to be true.
[0056]
[0057] in, This indicates the determination of a double-ended open corridor. This represents all nodes. This indicates the third node.
[0058]
[0059] in, This represents the set of adjacency relationships between the two pipes and the open corridor. This indicates that all edges are connected. This indicates existing graph edges. The set 160 of adjacency relationships between the two ends of the pipes and the empty corridor is used as the basis for excluding candidates to be removed, and existing graph edges are not deleted when the set 160 of adjacency relationships between the two ends of the pipes and the empty corridor is formed.
[0060] Furthermore, the implementation of the edge retention value training module 130 is as follows:
[0061] The edge retention training module 130 establishes a graph neural network and an edge retention table, and updates the network weights and the edge retention table based on training graph samples. The graph neural network is used to generate fusion results based on the node input table and the graph structure, and the edge retention table is used to ensure that existing graph edges have trainable edge retention values in the graph structure. The edge retention values are trainable values used during the training of the graph neural network to determine the edges to be pruned.
[0062] In one specific implementation, the graph neural network is a two-layer graph convolutional neural network. The first layer of graph convolution calculates a hidden node table based on the node input table and the normalized edge table, and the second layer of graph convolution calculates a fused result based on the hidden node table and the normalized edge table. The weights of the first layer are denoted as follows: The weights of the second layer network are denoted as The hidden width is denoted as The initial network weights are denoted as... And save it at the start of training.
[0063]
[0064] in, This represents the input dimension of the first layer of the graph convolutional neural network. This indicates the output dimension of the first layer of the graph convolutional neural network. This represents the input dimension of the second-layer graph convolutional neural network. This indicates the output dimension of the second-layer graph convolutional neural network.
[0065]
[0066] in, This indicates the initial boundary. Indicates the first Initial network weights for each layer. Indicates and The initialization method is used to provide a starting point for training the network weights, and is a standard implementation detail of graph neural network training in this embodiment. The initialization method is designed to provide a training starting point for the network weights.
[0067] Hidden width Use positive integers. In this implementation, the hidden width... Set the value to 32; this value is fixed before training begins, so that the hidden node table can express the nonlinear relationship between the first path pressure and the second path pressure, while maintaining the scale of the two-layer retained network weights saved by the model forming module 150, which can be processed by the data platform computing resources.
[0068] The edge retention value training module 130 sets trainable edge retention values for existing graph edges and compiles all edge retention values into an edge retention table. For edges in an undirected existing graph, the edge retention values can be written to the edge retention table. Two symmetrical positions are selected to ensure that the edges of the undirected existing graph have a consistent retention status in both directions within the graph structure. Edge Retention Table During the training phase, trainable continuous quantities are saved, and during the pruning and solidification phase, solidified retained states are saved.
[0069] When calculating the edge table, self-edge table, node degree table, and normalized edge table after masking, the edge retention values are used as non-negative retention values. Each time the edge retention table is updated based on the total training error, the edge retention value training module 130 performs non-negative projection processing on edge retention values less than zero, setting them to zero; the remaining edge retention values retain their updated non-negative values. Since the self-edge table is added to the graph node identity matrix, and the edge retention values participating in the node degree table calculation are not less than zero, the diagonal elements of the node degree table are positive, and the negative 1 / 2 power in the normalized edge table has a definite real-valued meaning. The non-negative projection processing ensures that the edge retention table participates in graph structure propagation as a measure of retention level.
[0070] In this embodiment, a non-negative projection of zero indicates the lowest retention rate of the corresponding existing graph edge. Before the existing graph edge pruning module 140 determines an edge to be pruned, the existing graph edge remains in the graph structure and participates in the sorting of edge retention rates from low to high as a candidate for pruning. Only after being determined by the existing graph edge pruning module 140 as an edge to be pruned and removed from the graph structure will the existing graph edge no longer enter the sparse graph structure.
[0071] When the edge preservation table is applied to a graph structure, the edge preservation value training module 130 generates a normalized edge table based on the edge preservation table and existing graph edges, and then uses the normalized edge table to participate in graph convolution calculations. Specifically, the adjacency matrix... This represents all connected edges; the edge list is after masking. By edge retention table Adjacency Matrix It is obtained by multiplying each element.
[0072]
[0073] in, This indicates that the mask is followed by an edge table. This indicates that the edge-keeping table is retained. This represents the adjacency matrix. This indicates element-wise multiplication.
[0074] Edge Preservation Training Module 130 after Masking Edge Table By adding the identity matrix of graph nodes, a table with self-connected edges is obtained. .
[0075]
[0076] in, This indicates a table with self-connected edges. This represents an identity matrix with the same dimension as the total number of nodes.
[0077] Edge retention training module 130 based on the self-connected edge table Form a node degree table Then form a normalized edge list. .
[0078]
[0079]
[0080] in, This represents a table of node degrees. This represents the normalized edge list. The normalized edge list participates in graph convolution calculations, enabling the edge preservation table to influence the propagation of graph structure.
[0081] The first layer graph convolution calculation is based on the node input table. and normalized edge list Generate a hidden node table The second-layer graph convolution calculation is based on the hidden node table. and normalized edge list Generate fusion results .
[0082]
[0083]
[0084] in, This indicates a hidden node table. This indicates the fusion result. This represents the first-level weight retention table. This represents the second-layer weight retention table. The first-layer and second-layer weight retention tables are specific implementations for sparse training of network weights, while the edge retention table remains the core training object for graph edge pruning.
[0085] The edge retention training module 130 updates the network weights and the edge retention table based on the fusion error between the fusion result and the training control value, as well as the sparsity constraints of the edge retention table. In a specific implementation that includes a weight retention table, the fusion error and the two types of sparsity terms together form the total training error.
[0086]
[0087]
[0088] in, This indicates the fusion error. This represents the total training error. This represents the edge sparsity coefficient. This represents the sparse coefficient of the weights. The fusion error is used to express the difference between the fusion result and the training control value. The sparsity constraint of the edge retention table is used to encourage existing graph edges to form edge retention values that can be sorted and selected during the training process.
[0089] In this embodiment, the fusion error is included in the total training error according to the pressure square dimension of the difference between the fusion result and the training control value. The norm terms of the edge retention table and the weight retention table are dimensionless sparse terms, and the edge sparsity coefficients are... and weight sparsity coefficient All parameters are configured according to the square dimension of pressure, ensuring that the sparse terms and fusion error have the same dimension in the total training error. (Edge sparsity coefficients) Pick Multiplier of pressure, squared, weighted sparsity coefficient Pick The pressure unit squared; the pressure unit squared is determined by the same pressure unit used for the first pressure, the second pressure and the reference pressure, and the two remain unchanged within the same training cycle.
[0090] Edge retention training module 130 according to update step size Update the network weights, edge retention table, and weight retention table.
[0091]
[0092]
[0093]
[0094] in, This indicates the update step size. This represents the network weights. This represents the weight retention table. The edge retention value training module 130 completes the update count per round. After the update, the edge retention values are passed to the existing graph edge pruning module 140, and the network weights are passed to the model forming module 150.
[0095] Update step size The dimensions of the total training error and the numerical scale of the updated object are determined according to the scale of the total training error. Having the same dimensions as network weights, making It has the same dimensions as the edge retention table, making It has the same dimensions as the weight retention table. In this embodiment, the update step size... Pick Number of updates per round Take 100 times; update step size and the number of updates per round Fixed before training begins. Number of updates completed per round. Each update completes one round of edge retention training.
[0096] In this embodiment, the number of times the edge retention value is updated in each round of training is determined by the number of times the edge retention value is retained in each round. The update process consists of several iterations. After completing the edge retention training for one round, the existing graph edge pruning module 140 performs existing graph edge pruning once, and forms a sparse graph structure after removing the edges to be pruned in this iteration. Therefore, the timing of edge retention value propagation, the formation of the sparse graph structure, and the output timing of the pruned graph neural network data fusion model 170 are all determined by the number of updates per round. The status of the current pruning process is determined by connecting the edges of the existing graph.
[0097] Furthermore, the existing graph edge pruning module 140 has the following implementation:
[0098] The existing graph edge pruning module 140 is used to exclude existing graph edges belonging to the set 160 of adjacency relationships between the two-end pipes and the open corridor from the list of candidates to be pruned. It determines and removes the edges to be pruned based on the edge retention values of the remaining existing graph edges, thus forming a sparse graph structure. The existing graph edge pruning module 140 uses the set 160 of adjacency relationships between the two-end pipes and the open corridor as the basis for exclusion when determining the candidates to be pruned.
[0099] After one round of edge retention value training, the existing graph edge pruning module 140 selects existing graph edges that do not belong to the set 160 of adjacency relationships between the two-end pipes and the open corridor as candidates for pruning. Existing graph edges that belong to the set 160 of adjacency relationships between the two-end pipes and the open corridor are not included in the sorting process. Therefore, the on-site relationship formed by the physical layout of nodes directly constrains the candidates to be pruned, so that graph edge pruning is no longer determined solely by the edge retention value.
[0100]
[0101] in, This indicates the number of allowed candidate edges. This represents the set of adjacency relationships between the two pipes and the open corridor. Existing graph edges that are not part of the set 160 (adjacency relationships between the two pipes and the open corridor) are allowed to be removed; existing graph edges... The corresponding edge retention value is denoted as Edges in the existing graph with a retention value of zero are still considered as having the lowest retention level and are selected for removal.
[0102] The existing edge pruning module 140 selects edges to be pruned in ascending order of edge retention degree represented by the edge retention value. In one specific embodiment, the edges are stably sorted from smallest to largest absolute value of the edge retention value, and the pruning ratio is determined according to the edge pruning ratio in each round. and the number of allowed candidate edges Determine the number of edges to be pruned in this round. .
[0103]
[0104] in, This indicates the number of edges pruned in this round. This indicates the percentage of edges to be pruned in each round. Indicates to Round up. The existing graph edge pruning module 140 selects the number of edges to prune in this round based on the sorting results. The corresponding number of edges to be pruned are identified, and these edges are removed from the graph structure.
[0105] The proportion of edges removed in each round Fixed before training begins; in this embodiment, the proportion of edges to be pruned in each round is specified. Take 10%.
[0106] In a specific implementation that includes a weight retention table, the existing graph edge pruning module 140 can also prune edges according to the weights in each round. Determine the weight of the number of prunes in this round. And perform corresponding retention processing on the network weight positions.
[0107]
[0108] in, This indicates the weight of the number of prunes in this round. This indicates the weighting percentage to be pruned in each round.
[0109] Weighted pruning ratio in each round The weights are fixed before training begins; in this implementation, the weight pruning ratio is determined for each round. Take 10%.
[0110] The existing graph edge pruning module 140 removes the edges to be pruned from the graph structure to form a sparse graph structure, and then passes the sparse graph structure to the model forming module 150.
[0111] Furthermore, the model forming module 150 is implemented as follows:
[0112] The model forming module 150 is used to output a pruned graph neural network data fusion model 170 based on the sparse graph structure and network weights. The sparse graph structure comes from the existing graph edge pruning module 140, and the network weights come from the edge preservation training module 130. The model forming module 150 combines the two into a pruned graph neural network data fusion model 170 that can be called later, so that the pruned graph neural network data fusion model 170 contains both the graph structure pruning results and the network weights used to perform graph convolution calculations.
[0113] In one specific implementation, the model forming module 150 stores a fixed node order, a final sparse adjacency matrix, a hidden width, two layers of retained network weights, and the computation order of the two-layer graph convolution. The fixed node order ensures that the subsequent new node input table is consistent with the graph node order during the training phase. The final sparse adjacency matrix represents the sparse graph structure. The hidden width determines the intermediate dimension of the two-layer graph convolutional neural network. The two layers of retained network weights complete the graph convolution computation. The computation order of the two-layer graph convolution ensures that a hidden node table is generated first based on the node input table and the normalized edge table, and then a fusion result is generated based on the hidden node table and the normalized edge table.
[0114] After outputting the pruned graph neural network data fusion model 170, for the new two-channel pressure data, inference records can be formed according to the pressure sensor node identifier and sampling time, a new node input table can be formed according to the fixed node order, graph convolution calculation can be performed using the final sparse adjacency matrix and two layers of retained network weights, and the fused pressure can be output.
[0115]
[0116] in, Indicates the first Each graph node at the sampling time The corresponding fusion pressure. Indicates the fusion result The Middle The output position corresponding to each graph node.
[0117] As an optional implementation, multiple pressure sensor nodes on the industrial fluid transport pipeline continuously upload first and second pressure signals. A data platform stores reference pressure, pressure sensor node identifiers, sampling times, and node association records. The training graph sample formation module 110 generates training records based on pressure sensor node identifiers and sampling times, and forms a node input table and training control values according to a fixed node order. The field relationship formation module 120 forms a set 160 of adjacency relationships between the two ends of the pipeline and the pipe orientation. The edge retention value training module 130 trains the edge retention table and network weights. The existing graph edge pruning module 140 excludes existing graph edges belonging to the set 160 of adjacency relationships between the two ends of the pipeline and forms a sparse graph structure based on the edge retention values of the remaining existing graph edges. The model formation module 150 outputs the pruned graph neural network data fusion model 170.
[0118] As an optional implementation, some existing graph edges do not have a third node that simultaneously enters the passages of both endpoints. The site relationship formation module 120 records these existing graph edges in the end-to-end pipe-to-empty-corridor adjacency relationship set 160. Subsequently, when the existing graph edge pruning module 140 determines the candidates to be pruned, it excludes the existing graph edges belonging to the end-to-end pipe-to-empty-corridor adjacency relationship set 160 from the candidates to be pruned, so that these existing graph edges do not participate in the sorting by edge retention value from low to high. This scenario is used to illustrate how the existing graph edge pruning module 140 introduces site spatial relationships into the graph edge pruning process when the end-to-end pipe-to-empty-corridor adjacency relationship set 160 is used as the exclusion basis.
[0119] As an optional implementation, the data platform stores a large number of pressure sensor nodes, resulting in a large number of existing graph edges formed by node association records. The training graph sample formation module 110 still forms a node input table and training control values according to a fixed node order, while the field relationship formation module 120 still forms a set of adjacency relationships 160 for the two endpoints of each existing graph edge. The edge retention value training module 130 uses the edge retention table to enable existing graph edges to participate in graph neural network training, and the existing graph edge pruning module 140 performs pruning selection on existing graph edges that do not belong to the set of adjacency relationships 160 for the two endpoints of the pipe-to-empty-corridor, forming a sparse graph structure.
[0120] As an optional implementation, the model forming module 150 has already output a pruned graph neural network data fusion model 170. After the data platform obtains the new first and second path pressures, it forms a new node input table according to the fixed node order determined during the training phase and calls the pruned graph neural network data fusion model 170. The pruned graph neural network data fusion model 170 performs graph convolution calculations based on the sparse graph structure and network weights, and outputs the fusion pressure.
[0121] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A data fusion method for a data platform based on graph neural networks, characterized in that, include: Align the first pressure, the second pressure, and the reference pressure according to the pressure sensor node identifier and sampling time. Use the pressure sensor node as the graph node, form the existing graph edges according to the node association records, form the node input table with the first pressure and the second pressure, and form the training control value with the reference pressure. Obtain the position of the graph node and the pipe direction. For each existing graph edge, determine the endpoint channel according to the pipe direction of each endpoint toward the other endpoint. The endpoint channel has an axial interval between the two endpoints and a lateral boundary determined by the lateral distance of the other endpoint relative to the corresponding pipe direction. Graph nodes other than the two endpoints are treated as third nodes. If there is no third node that is simultaneously located in the axial interval of the two endpoint channels and whose lateral distance does not exceed the corresponding lateral boundary, the existing graph connection edge is recorded in the set of adjacency relationships of the two-end pipe-direction empty corridors. Establish a graph neural network, set trainable edge retention values for existing graph edges and apply the edge retention table to the graph structure, and update the network weights and edge retention table based on the fusion error between the fusion result and the training control value and the sparsity constraint of the edge retention table. After excluding existing graph edges that belong to the set of adjacency relationships between the two-end pipes and the open corridor, determine and remove the edges to be pruned based on the edge retention values of the remaining existing graph edges to form a sparse graph structure. A graph neural network data fusion model based on sparse graph structure and pruned network weight outputs.
2. The intelligent data fusion method for a data platform based on graph neural networks according to claim 1, characterized in that, The alignment of the pressure sensor node identifier and sampling time with the first pressure channel, the second pressure channel, and the reference pressure includes: Only the first pressure, the second pressure, and the reference pressure, which have the same pressure sensor node identifier and sampling time, are combined into the same training record, and a node input table and training control value are formed according to a fixed node order.
3. The intelligent data fusion method for a data platform based on graph neural networks according to claim 1, characterized in that, The process of forming existing graph edges based on node association records includes: Each unique pressure sensor node is identified as a graph node. When both endpoints of the node association record belong to the graph node, an existing graph edge is formed. At each sampling time, the same graph node and existing graph edge are used to form a training graph sample. The training graph sample is used to update the network weights and the edge retention table.
4. The intelligent data fusion method for a data platform based on graph neural networks according to claim 1, characterized in that, The position of the graph node includes its horizontal position, vertical position, and height position; the determination of the endpoint channel includes: The two endpoints of the existing graph are defined as the first endpoint and the second endpoint. Based on the position of the first endpoint, the position of the second endpoint, and the pipe orientation, the pipe orientation from the first endpoint to the second endpoint and the pipe orientation from the second endpoint to the first endpoint are obtained respectively. The axial open interval between the two endpoints is taken as the axial interval of the endpoint channel, and the lateral distance of the other endpoint relative to the pipe orientation from the first endpoint to the other endpoint is taken as the lateral boundary of the endpoint channel.
5. The intelligent data fusion method for a data platform based on graph neural networks according to claim 1, characterized in that, The set of adjacency relationships between the two-end pipes and the empty corridor is used as the basis for excluding candidates to be removed, and existing graph edges are not deleted when the set of adjacency relationships between the two-end pipes and the empty corridor is formed.
6. The intelligent data fusion method for a data platform based on graph neural networks according to claim 1, characterized in that, The edge retention table operates on the graph structure and includes: A normalized edge table is generated based on the edge retention table and existing graph edges, and the normalized edge table is then used in graph convolution calculations.
7. The intelligent data fusion method for a data platform based on graph neural networks according to claim 6, characterized in that, The graph neural network is a two-layer graph convolutional neural network. The first layer of graph convolution calculation generates a hidden node table based on the node input table and the normalized edge table. The second layer of graph convolution calculation generates a fusion result based on the hidden node table and the normalized edge table.
8. The intelligent data fusion method for a data platform based on graph neural networks according to claim 1, characterized in that, The step of determining and removing edges to be pruned based on the edge retention values of the remaining existing graph edges includes: Existing graph edges that do not belong to the set of adjacency relationships between the two end pipes and the empty corridor are selected as candidates for removal. The edges to be removed are selected in order of increasing degree of edge retention represented by the edge retention value, and the edges to be removed are removed from the graph structure.
9. A data platform intelligent data fusion system based on graph neural networks, characterized in that, It includes a training graph sample formation module, an on-site relationship formation module, an edge retention value training module, an existing graph edge pruning module, and a model formation module, all executed by the processor. The training graph sample forming module is used to align the first pressure, the second pressure, and the reference pressure according to the pressure sensor node identifier and the sampling time. It uses the pressure sensor node as the graph node, forms existing graph edges according to the node association record, forms a node input table with the first pressure and the second pressure, forms a training control value with the reference pressure, and transmits the training graph sample to the edge retention value training module. The on-site relationship formation module is used to obtain the position of the graph node and the pipe direction. For each existing graph connection edge, the endpoint channel is determined according to the pipe direction of each endpoint toward the other endpoint. When there is no third node that is simultaneously located in the axial interval of the two endpoint channels and whose lateral distance does not exceed the corresponding lateral boundary, the existing graph connection edge is recorded in the two-end pipe-to-empty-corridor adjacency relationship set and the two-end pipe-to-empty-corridor adjacency relationship set is passed to the existing graph connection edge pruning module. The edge retention value training module is used to establish a graph neural network and an edge retention table, update the network weights and edge retention table based on training graph samples, pass the edge retention values to the existing graph edge pruning module, and pass the network weights to the model forming module. The existing graph edge pruning module is used to exclude existing graph edges belonging to the set of adjacency relationships between the two end pipes and the empty corridor from the candidates to be pruned, determine and remove the edges to be pruned based on the edge retention values of the remaining existing graph edges, form a sparse graph structure, and pass the sparse graph structure to the model forming module. The model forming module is used to output a pruned graph neural network data fusion model based on the sparse graph structure and network weights.
