Machine account fusion management method and system for multi-source data

Through technologies such as Monte Carlo tree search algorithm and neural network, the complex problem of fusion and processing of multi-source data in the relay protection system has been solved, efficient data fusion and verification has been achieved, and the quality and accuracy of ledger data have been improved. system reliability.

CN118709141APending Publication Date: 2024-09-27STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2

Patent Information

Application Number
CN202410929655.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In modern power systems, the integration of multi-source heterogeneous data, the complexity of data processing and analysis, data integration and cleaning, and the unification of data formats and standards have led to the inefficiency and reliability of traditional ledger management methods in relay protection systems. Sexuality is reduced.

Method used

Monte Carlo tree search algorithm is used for multi-source data fusion, combined with neural network for data feature extraction and anomaly identification, a two-way cycle check model is used for data check and correction, and the data structure is dynamically adjusted through the LRU linked list to ensure the accuracy of the data. sex and consistency.

Benefits of technology

It improves the fusion efficiency of multi-source data and the overall accuracy of ledger data, enhances the decision-making credibility of the relay protection system, avoids errors introduced by human factors, and improves the flexibility and reliability of data management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709141A
    Figure CN118709141A
Patent Text Reader

Abstract

The invention relates to a machine account fusion management method and system for multi-source data, and the method comprises the following steps: collecting machine account data of relay protection equipment from each data source, carrying out the preprocessing of the machine account data, and carrying out the data feature extraction to obtain machine account data features; fusing the preprocessed standing book data by using a Monte Carlo tree search algorithm to obtain standing book fused data, training an anomaly recognition model by using standing book data features, and then checking the standing book fused data by using the trained anomaly recognition model and correcting abnormal data; and storing the corrected machine account fusion data in a relay protection equipment data structure, and dynamically adjusting data information in the relay protection equipment data structure. The fusion efficiency can be improved, and the ledger data quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to data processing technology, and in particular to a ledger fusion management method and system for multi-source data. Background Art

[0002] In modern power systems, the importance of relay protection is becoming increasingly prominent. Its task is to quickly and accurately detect anomalies in the power system and take corresponding measures to prevent accidents from expanding. However, the increasing scale and complexity of power systems have led to the increasing diversity of data sources involved. These data sources include data from different plants, equipment types, and manufacturers, covering a variety of formats and standards. Traditional ledger management methods are powerless in the face of such diverse and huge data. The multi-source nature of data makes ledger management cumbersome, and manual processing is prone to errors, reducing the overall reliability of the relay protection system. Therefore, there is an urgent need for an innovative method that can efficiently integrate, manage, and verify multi-source data to ensure that the relay protection system can make timely and accurate decisions. However, there are the following technical difficulties in the implementation process:

[0003] (1) Fusion of multi-source heterogeneous data: The relay protection fusion ledger needs to integrate data from different sources and different types, which may have different characteristics and attributes. How to effectively integrate this data to provide accurate fault detection and location is a technical difficulty. It is necessary to adopt multi-source heterogeneous data processing technology and algorithms to achieve deep data mining and application.

[0004] (2) Complexity of data processing and analysis: The amount of data involved in the PMS (Preventive Maintenance System) ledger and the insurance ledger is huge, requiring efficient and accurate data processing and analysis. Advanced data processing and analysis techniques are required, as well as a deep understanding of the secondary equipment ledger.

[0005] (3) Data integration and cleaning: Since the amount of data involved in the PMS ledger and the insurance credit ledger is huge, data integration and cleaning are required to remove duplicate, erroneous or incomplete data. This requires the use of data cleaning technology and algorithms to ensure the accuracy and reliability of the data.

[0006] (4) Unification of data formats and standards: PMS ledgers and insurance credit ledgers use different data formats and standards, which require data format conversion and standardization. This requires the formulation of a unified data exchange format and standard to ensure data accuracy and consistency. Summary of the invention

[0007] The technical problem to be solved by the present invention is as follows: In view of the above-mentioned problems in the prior art, a method and system for ledger fusion management of multi-source data are provided, which can improve the fusion efficiency and improve the quality of ledger data.

[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0009] A method for managing multi-source data ledger integration, comprising the following steps:

[0010] Collecting ledger data of relay protection equipment from various data sources, preprocessing the ledger data, and then extracting data features to obtain ledger data features;

[0011] Use the Monte Carlo tree search algorithm to fuse the preprocessed ledger data to obtain ledger fusion data, use the ledger data features to train the anomaly recognition model, and then use the trained anomaly recognition model to check the ledger fusion data and correct the abnormal data;

[0012] The corrected ledger fusion data is saved in the relay protection device data structure, and the data information in the relay protection device data structure is dynamically adjusted.

[0013] Furthermore, the preprocessing of the ledger data includes:

[0014] Use a window of a specified size to perform median filtering on each set of ledger data to obtain the denoised ledger data corresponding to each set of ledger data;

[0015] Calculate the mean and standard deviation of each set of denoised ledger data respectively, and then standardize each data point in each set of denoised ledger data according to the corresponding mean and standard deviation;

[0016] If the absolute value of the normalized data point exceeds the preset abnormal threshold, the data of the data point is marked as an abnormal value and replaced with a missing value, and then the missing values ​​in each set of denoised ledger data are filled by interpolation;

[0017] Determine whether there is duplicate data in the denoised ledger data based on the timestamp, and filter out the duplicate data.

[0018] Furthermore, when using a window of a specified size to perform median filtering on each set of ledger data, it includes:

[0019] If the number of data points before and after the current data point is greater than half of the window of the specified size, the current window is obtained by selecting data points according to the window of the specified size with the current data point as the center;

[0020] If the number of data points before or after the current data point is less than half of the specified window size, select all data points before or after the current data point, and select data points before or after the current data point according to half of the specified window size to obtain the current window;

[0021] After sorting the values ​​of the data points in the current window, replace the value of the current data point with the value in the middle position.

[0022] Furthermore, when extracting data features to obtain ledger data features, it includes:

[0023] The preprocessed ledger data is divided into a training set and a test set. The training set is used to train the neural network for feature extraction, and the trained neural network is used to extract features from the ledger data in the test set to evaluate performance.

[0024] If the performance does not meet the requirements, the parameters of the neural network are adjusted, and then the neural network with the adjusted parameters is continuously trained using the training set.

[0025] Furthermore, when the pre-processed ledger data is fused using the Monte Carlo tree search algorithm to obtain ledger fusion data, it includes:

[0026] Determine the data source to be fused and the target variable after fusion, divide the preprocessed ledger data into training set and test set, obtain the initial data fusion state, initialize the Monte Carlo tree, and use the initial data fusion state as the root node of the Monte Carlo tree;

[0027] Starting from the root node, a group of child nodes are selected in the existing structure of the Monte Carlo tree. If the selected child node has been expanded, the child node is reselected. If the selected child node has not been expanded, different fusion strategies are randomly selected for the unexpanded child node, and the selected fusion strategy is applied to simulate the data fusion process to generate a simulated fusion result.

[0028] Use the real data in the training set to compare with the simulated fusion results, select the best performing fusion strategy as part of the corresponding child node based on the comparison results, and update the tree structure at the same time;

[0029] When the predetermined number of simulations is reached, the expansion loop ends, the optimal data fusion strategy in the entire tree structure is selected, and the ledger data from different data sources are fused through the selected optimal data fusion strategy.

[0030] Furthermore, when selecting a group of child nodes in the existing structure of the Monte Carlo tree starting from the root node, specifically, a group of child nodes is selected in the existing structure of the tree through a UCB selection strategy.

[0031] Furthermore, when using the ledger data features to train the anomaly recognition model, the following steps are included:

[0032] Perform secondary verification on the preprocessed ledger data, mark the abnormal data and use it as part of the training set, divide the ledger data features into training set and test set, build a bidirectional loop verification model through the forward and backward GRU layers, and initialize the model hyperparameters;

[0033] The training set is divided into training groups, and each training group is forward propagated in batches through the bidirectional loop calibration model to obtain the model's predicted output, and then the loss between the predicted output and the actual label is calculated. According to the calculated loss value, the gradient is calculated through the back propagation algorithm, and the optimizer is used to update the model parameters according to the model gradient information;

[0034] After each training, use the test set to verify the performance of the model, and adjust the model's hyperparameters based on the model performance evaluation;

[0035] After each training session, the corresponding model parameters are saved. When all training groups have completed training, the training is stopped and the model with the best performance is selected.

[0036] Furthermore, when the trained anomaly recognition model is used to check the ledger fusion data and correct the abnormal data, it includes:

[0037] Input the fusion data of the ledger into the trained anomaly recognition model to obtain the anomaly probability of each group of data points;

[0038] If the abnormal probability of the data point is greater than a preset abnormal threshold, the data point is marked as abnormal data;

[0039] Match the abnormal data with the correction solutions in the historical data and integrate the matching results;

[0040] Correct abnormal data based on the integration results.

[0041] Furthermore, the data information in the data structure of the relay protection device is dynamically adjusted, including:

[0042] Initialize a set of empty LRU linked lists, and store each set of ledger data of the ledger fusion data in each node of the LRU linked list. Whenever the ledger data is accessed, mark it as recently used and check whether the accessed data is in the LRU cache;

[0043] If the accessed data exists in the LRU cache, the accessed data is moved to the front of the LRU linked list. If the accessed data is not in the LRU cache, the LRU linked list is traversed. If the LRU linked list reaches the preset cache upper limit, the last node is deleted and the new data node is added to the head of the LRU linked list.

[0044] The present invention also proposes a ledger fusion management system for multi-source data, comprising a microprocessor and a computer-readable storage medium connected to each other, wherein the microprocessor is programmed or configured to execute any one of the ledger fusion management methods for multi-source data.

[0045] Compared with the prior art, the advantages of the present invention are:

[0046] The present invention uses the Monte Carlo tree search algorithm to fuse the preprocessed ledger data to obtain ledger fusion data. The Monte Carlo tree search algorithm combines random sampling (Monte Carlo method) and tree search strategy, and can select the optimal data fusion strategy. Through the selected optimal data fusion strategy, the ledger data from different data sources are fused, thereby improving the efficiency of data fusion and the overall accuracy of the ledger data. It can flexibly adapt to various data types, has strong versatility and adaptability, can more easily detect abnormal data, and makes ledger management more flexible.

[0047] The present invention uses the characteristics of ledger data to train an anomaly recognition model, and then uses the trained anomaly recognition model to check the ledger fusion data and correct the anomaly data, thereby realizing automatic correction of the anomaly data and updating the ledger data, thereby improving the efficiency of ledger data management, improving the quality of ledger data, avoiding errors caused by human factors, and enhancing the credibility of data in decision-making and operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a flow chart of an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention is further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

[0050] Embodiment 1

[0051] The existing ledger fusion management method has low data fusion efficiency, reduces the overall accuracy of ledger data, and cannot adapt to various data types; in addition, the existing ledger fusion management method has low efficiency in ledger data management, is prone to errors caused by human factors, and has low credibility in decision-making and operations; for this reason, this embodiment proposes a ledger fusion management method for multi-source data to solve the defects existing in the prior art.

[0052] like Figure 1 As shown, the method of this embodiment includes the following steps:

[0053] S101, collecting ledger data of relay protection equipment from various data sources;

[0054] S102, preprocessing the ledger data, and then extracting data features to obtain ledger data features;

[0055] S103, integrating the ledger data from different sources and classifying and labeling them. Specifically, the pre-processed ledger data is integrated using a Monte Carlo tree search algorithm to obtain integrated ledger data;

[0056] S104, using the ledger data features to train an anomaly recognition model, and then using the trained anomaly recognition model to check the ledger fusion data and correct the abnormal data;

[0057] S105, save the corrected ledger fusion data in the relay protection device data structure, and dynamically adjust the data information in the relay protection device data structure.

[0058] Each specific step is described in detail below.

[0059] In step S101 of this embodiment, the ledger data of each data source specifically includes laboratory test data, equipment monitoring data, maintenance records, operation logs, communication status data, environmental monitoring data, fault reports, upgrade records and user feedback.

[0060] In step S102 of this embodiment, the preprocessing of the ledger data includes:

[0061] S201, using a window of a specified size to perform median filtering on each set of ledger data to obtain denoised ledger data corresponding to each set of ledger data;

[0062] In this embodiment, the median filter specifically determines the window size of the median filter based on each group of ledger data. Then, for each group of level data points, multiple adjacent groups of data points are selected in the filter window, and the data in the selected window are sorted, and the value of the middle position is determined, and the determined median replaces the current data point; the median selection and data replacement steps are repeated in a group of ledger data to iterate subsequent ledger data points until each group of data points is replaced by the sorted median in the window, and the incomplete window data is regarded as a period, and the beginning and end of the wave data are filtered.

[0063] Therefore, when using a window of a specified size to perform median filtering on each set of ledger data, it includes:

[0064] If the number of data points before and after the current data point is greater than half of the window of the specified size, the current window is obtained by selecting data points according to the window of the specified size with the current data point as the center;

[0065] If the number of data points before or after the current data point is less than half of the specified window size, select all data points before or after the current data point, and select data points before or after the current data point according to half of the specified window size to obtain the current window;

[0066] After sorting the values ​​of the data points in the current window, replace the value of the current data point with the value in the middle position. The specific calculation formula is as follows:

[0067]

[0068] In the formula, represents the denoised ledger data; x[nk] to x[n+k] represent the original ledger data in the window; median() represents the median function;

[0069] S202, respectively calculating the mean and standard deviation of each group of denoised ledger data, and then performing standardization processing on each data point in each group of denoised ledger data according to the corresponding mean and standard deviation. How to perform standardization processing on each data point in a group according to the mean and standard deviation of a group of data is well known to those skilled in the art, and the specific calculation process will not be described in detail in this embodiment;

[0070] S203, comparing the absolute value of each group of standardized data with a preset abnormal threshold. If the absolute value of a standardized data point exceeds the preset abnormal threshold, the data of the data point is marked as an abnormal value and replaced with a missing value. Then, the missing values ​​in each group of denoised ledger data are detected, and the missing values ​​in each group of denoised ledger data are filled by interpolation.

[0071] S204, unify the date and time formats of all denoised ledger data into the same standard format, determine whether there are duplicate data in the denoised ledger data based on the timestamps of each group of denoised ledger data, filter out the duplicate data, and then check the logical relationship between the data to ensure the rationality of the data.

[0072] In step S102 of this embodiment, when extracting data features to obtain ledger data features, the following steps are included:

[0073] S301, designing a neural network for feature extraction, where the neural network for feature extraction includes but is not limited to a recurrent neural network, a convolutional neural network, an autoencoder, etc., which is not limited in this embodiment;

[0074] S302, dividing the preprocessed ledger data into a training set and a test set, passing the training set to the designed neural network and using the training set to train the neural network, calculating the predicted output of the neural network, and using a cross entropy loss function to compare its output with the true label to obtain a predicted loss value;

[0075] S303, calculating the gradient of the loss to the model parameters by the chain rule, and updating the parameters of the model according to the calculated gradient, and repeatedly training the neural network until a preset number of training times is reached, or the performance is no longer improved;

[0076] S304: Use the trained neural network to extract features from the ledger data in the test set, visualize the extracted features, and evaluate the performance of the neural network through the test set to check the generalization ability of the model for the ledger data. Feedback the evaluation results to the operator;

[0077] S305, if the performance does not meet the requirements, adjust the parameters of the neural network, and then continue to use the training set to train the neural network with adjusted parameters.

[0078] In step S103 of this embodiment, when the pre-processed ledger data is fused using the Monte Carlo tree search algorithm to obtain the ledger fusion data, it includes:

[0079] S401, according to the operator's needs, determine the data source to be fused and the target variable after fusion, divide the preprocessed ledger data into a training set and a test set, select or randomly select to obtain the initial data fusion state according to prior knowledge, and initialize the Monte Carlo tree, using the initial data fusion state as the root node of the Monte Carlo tree;

[0080] S402, starting from the root node, a group of child nodes are selected in the existing structure of the Monte Carlo tree. Specifically, a group of child nodes are selected in the existing structure of the tree by using the UCB selection strategy. If the selected child node has been expanded, the child node is reselected. If the selected child node has not been expanded, a different fusion strategy is randomly selected for the unexpanded child node, and the selected fusion strategy is applied to simulate the data fusion process to generate a simulated fusion result.

[0081] S403, using the real data in the training set to compare with the simulated fusion result, selecting the best performing fusion strategy as part of the corresponding child node according to the comparison result, and updating the tree structure at the same time;

[0082] In this embodiment, the comparison result is specifically a calculation result of the evaluation index of the simulated fusion result. How to calculate the evaluation index of the simulated fusion result is well known to those skilled in the art, and the specific calculation process will not be described in detail in this embodiment.

[0083] S404, when the predetermined number of simulations is reached, the expansion loop ends, the optimal data fusion strategy in the entire tree structure is selected, and the ledger data from different data sources are fused through the selected optimal data fusion strategy.

[0084] In order to better manage the ledger information fed back by each group of equipment and avoid data confusion, in step S103 of this embodiment, before fusing the ledger data from different sources, the device matching and fusing logic process for the equipment monitoring data involved is as follows:

[0085] 1. Synchronize the ledger information of PMS plants, secondary equipment in operation, etc. from the data center API, and synchronize the online monitoring ledger information from the database table.

[0086] 2. Carry out plant-station matching, matching the PMS plant-station with the online monitoring plant-station.

[0087] 3. The PMS equipment and online monitoring equipment under the plant station perform equipment processing:

[0088] 1) Delete special characters in the name, including Chinese “—”, English “-”, English “_”, Chinese “arc extinguishing coil”, and Chinese “arc extinguishing compensation and line selection” in the name string.

[0089] 2) Extract the voltage level. The specific method is: regularize the first 1 to 4 digits of [Kk][Vv], and then compare them with (1000, 800, 110, 220, 35, 10, 6), and use the ones that meet the requirements as the voltage level.

[0090] 3) Intercept the device model. The specific method is: regular ([AZ]{2,}\\d) to obtain the device model.

[0091] 4) Intercept the set. The specific method is: regular (the [first two 12] set) or protection \\w*\\w*([AB][set]{0,1}) to obtain the device set.

[0092] 5) Obtain the device type. The specific method is: determine the device type of the device according to the keywords and priorities in the name.

[0093] 6) Intercept the scheduling number and interval. The specific method is shown in the following table:

[0094] Table 1 Method for obtaining equipment scheduling number and interval name

[0095]

[0096]

[0097] If the voltage level is not intercepted, the voltage level is determined according to the dispatch number. The rules are as follows:

[0098] (1) Dispatch number 6 is on, which means 220 kV;

[0099] (2) The dispatch number starts with 5 and is 3 digits, which means 110 kV; it starts with 50 and is 4 digits, which means 500 kV;

[0100] (3) Dispatch number starts with 4 - that is, 35kV;

[0101] (4) Dispatch number starts with 3 - that is, 10kV;

[0102] (5) Dispatch number starts with 2 - that is, 6kV.

[0103] 7) Determine the main protection and auxiliary devices. The specific method is: determine whether the equipment belongs to "protection device", "safety automatic device" or "auxiliary device" according to the equipment classification.

[0104] 8) Equipment matching logic: The matching logic between PMS equipment and online monitoring equipment is as follows:

[0105] If the consistent matching principle between PMS and online monitoring equipment is met, the PMS equipment and online monitoring are considered to be the same equipment and automatically matched; otherwise, they are not the same equipment and manual confirmation is required.

[0106] (1) Determine whether the device follows the matching logic of the PMS device and the online monitoring device based on the device type. The specific method is: "Protection device" or "safety automatic device" needs to follow the matching logic; "auxiliary device" does not follow the matching logic and is merged into a fusion ledger separately.

[0107] (2) Whether the matching logic between the PMS equipment and the online monitoring equipment is followed is determined based on whether there is a trust-protecting device under the plant station. The specific method is: if there is no trust-protecting device under the plant station, then none of the equipment under the plant station will follow the matching logic, and the PMS equipment can be integrated into a fusion ledger separately.

[0108] 9) Generate standard name: Equipment that complies with the consistent matching principle between PMS and online monitoring equipment will automatically match the standard naming generation logic.

[0109] (1) If standard named equipment can be generated according to standard naming rules, it will be automatically integrated into a fusion ledger.

[0110] (2) Devices that cannot generate standard names are placed in an unmatched state and require manual intervention.

[0111] In step S104 of this embodiment, when the abnormality recognition model is trained using the ledger data features, the following steps are included:

[0112] S501, perform secondary verification on the preprocessed ledger data, mark the abnormal data and use it as part of the training set, divide the ledger data features into a training set and a test set, build a bidirectional cyclic verification model through the GRU layers in the forward and backward directions, and initialize the model hyperparameters;

[0113] S502, the training set is divided into multiple small batches of training groups, and each training group is forward propagated in batches through a bidirectional cyclic calibration model to obtain the predicted output of the model, and then the loss between the predicted output and the actual label is calculated. According to the calculated loss value, in this embodiment, the specific calculation formula of the loss value is as follows:

[0114]

[0115] In the formula, N represents the number of samples; C represents the number of categories; y ij Represents the actual value of the jth category in the actual label of sample i; represents the predicted probability of the jth category in the actual label of sample i by the model; in this embodiment, C=2, j=1 indicates normal, and j=2 indicates abnormal;

[0116] Then the gradient is calculated by the back propagation algorithm, and the optimizer is used to update the model parameters according to the model gradient information; in this embodiment, the Adam optimizer is used, and the specific calculation formula is as follows:

[0117]

[0118] In the formula, θ t represents the model parameters; η represents the learning rate; m t Represents the first-order moment estimate of the gradient; v t Represents the second moment estimate of the gradient;

[0119] S503, after each training, use the test set to verify the performance of the model on unseen data, monitor the loss on the verification set, adjust the model's hyperparameters based on the model performance evaluation, and stop training early if the performance on the test set does not improve after multiple trainings;

[0120] S504, during the training process, after each training session, the corresponding model parameters are saved. When all training groups are completed, the training is stopped and the model with the best performance is selected as the final model to be deployed to the management platform, and the corresponding model parameters are retrieved for configuration.

[0121] In step S104 of this embodiment, when the trained anomaly recognition model is used to check the ledger fusion data and correct the abnormal data, it includes:

[0122] S601, input the ledger fusion data into the trained anomaly recognition model to obtain the anomaly probability or label of each group of data points;

[0123] S602, performing anomaly detection according to the prediction result and the set anomaly threshold. Specifically, if the anomaly probability of a data point is greater than the preset anomaly threshold, it indicates that the data is abnormal, and the data point is marked as abnormal data. Otherwise, if it is within the range of the anomaly threshold, it indicates that it is normal.

[0124] S603, matching the abnormal data with the correction solutions in the historical data, extracting the corresponding correction solutions from the historical data, integrating the extracted groups of solutions, and integrating the matching results;

[0125] S604, correcting the abnormal data according to the integration result, which may be automatic correction of the abnormal data according to the correction scheme of the integration result, or the integration result may be fed back and the operator corrects the abnormal data according to the correction scheme of the integration result.

[0126] Through the above steps, the anomaly recognition model not only obtains the anomaly probability or label of each group of data points, performs anomaly detection according to the prediction results and the set anomaly threshold, and extracts abnormal data based on the detection results, but also generates correction suggestions for the data points identified as abnormal. According to the generated correction suggestions, the abnormal data is automatically corrected and the ledger data is updated.

[0127] In step S105 of this implementation, dynamically adjusting the data information in the data structure of the relay protection device includes:

[0128] S701, initialize a set of empty LRU linked lists, and store each set of ledger data of the ledger fusion data in each node of the LRU linked list. Whenever the ledger data is accessed, mark it as recently used, and check whether the accessed data is in the LRU cache;

[0129] S702, if the accessed data exists in the LRU cache, move the accessed data to the front of the LRU linked list. If the accessed data is not in the LRU cache, traverse the LRU linked list. If the LRU linked list reaches the preset cache upper limit, delete the last node and add the new data node to the head of the LRU linked list.

[0130] Embodiment 2

[0131] This embodiment proposes a ledger fusion management system for multi-source data, including a microprocessor and a computer-readable storage medium connected to each other, and the microprocessor is programmed or configured to execute the ledger fusion management method for multi-source data described in Example 1.

[0132] In summary, the present invention discloses a ledger fusion management method and system for multi-source data, which has the following beneficial effects compared with the prior art:

[0133] 1. According to the needs of the operator, determine the data source that needs to be fused, and clarify the target variable after fusion. Select or randomly select the initial data fusion state according to prior knowledge, and use the initial data fusion state as the root node of the MC tree. Starting from the root node, select a group of child nodes in the existing structure of the tree through the UCB selection strategy. For the unexpanded node, randomly select different fusion strategies, and apply the selected fusion strategy to simulate the data fusion process to generate simulated fusion results. Use the real data in the training set to compare with the simulated fusion results, calculate the evaluation index of the simulated fusion results, select the fusion strategy with the best performance in the simulation according to the evaluation index, and update the tree structure at the same time. Use the selected fusion strategy as part of the node. When the predetermined number of simulations is reached, end the expansion cycle, select the optimal data fusion strategy in the entire tree structure, and use the selected optimal data fusion strategy to fuse the ledger data of different data sources, improve the efficiency of data fusion, and improve the overall accuracy of ledger data. It can flexibly adapt to various data types, has strong versatility and adaptability, can more easily detect abnormal data, and make ledger management more flexible.

[0134] 2. Label the known abnormal data in the ledger data, and use the labeled abnormal data as the training set. Then divide the ledger data features into a training set and a test set. Construct a bidirectional loop verification model through the forward and backward GRU layers, initialize the model hyperparameters, and then train and verify the bidirectional loop verification model through the training set and the test set. Predict the fused ledger data to obtain the abnormal probability or label of each group of data points, perform anomaly detection based on the prediction results and the set abnormal threshold, and extract abnormal data based on the detection results. For data points identified as abnormal, the model generates correction suggestions. According to the generated correction suggestions, the abnormal data is automatically corrected and the ledger data is updated, thereby improving the efficiency of ledger data management, improving the quality of ledger data, avoiding errors caused by human factors, and enhancing the credibility of data in decision-making and operations.

[0135] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A ledger fusion management method for multi-source data, characterized in that: The following steps are involved: Collecting ledger data of relay protection equipment from various data sources, preprocessing the ledger data, and then extracting data features to obtain ledger data features; Use the Monte Carlo tree search algorithm to fuse the preprocessed ledger data to obtain ledger fusion data, use the ledger data features to train the anomaly recognition model, and then use the trained anomaly recognition model to check the ledger fusion data and correct the abnormal data; The corrected ledger fusion data is saved in the relay protection device data structure, and the data information in the relay protection device data structure is dynamically adjusted.

2. The ledger fusion management method for multi-source data according to claim 1 is characterized in that: The preprocessing of the ledger data includes: Use a window of a specified size to perform median filtering on each set of ledger data to obtain the denoised ledger data corresponding to each set of ledger data; Calculate the mean and standard deviation of each set of denoised ledger data respectively, and then standardize each data point in each set of denoised ledger data according to the corresponding mean and standard deviation; If the absolute value of the normalized data point exceeds the preset abnormal threshold, the data of the data point is marked as an abnormal value and replaced with a missing value, and then the missing values ​​in each set of denoised ledger data are filled by interpolation; Determine whether there is duplicate data in the denoised ledger data based on the timestamp, and filter out the duplicate data.

3. The ledger fusion management method for multi-source data according to claim 2 is characterized in that: When using a window of a specified size to perform median filtering on each set of ledger data, it includes: If the number of data points before and after the current data point is greater than half of the window of the specified size, the current window is obtained by selecting data points according to the window of the specified size with the current data point as the center; If the number of data points before or after the current data point is less than half of the specified window size, select all data points before or after the current data point, and select data points before or after the current data point according to half of the specified window size to obtain the current window; After sorting the values ​​of the data points in the current window, replace the value of the current data point with the value in the middle position.

4. The ledger fusion management method for multi-source data according to claim 1 is characterized in that: When extracting data features to obtain ledger data features, it includes: The preprocessed ledger data is divided into a training set and a test set. The training set is used to train the neural network for feature extraction, and the trained neural network is used to extract features from the ledger data in the test set to evaluate performance. If the performance does not meet the requirements, the parameters of the neural network are adjusted, and then the neural network with the adjusted parameters is continuously trained using the training set.

5. The ledger fusion management method for multi-source data according to claim 1 is characterized in that: When the pre-processed ledger data is fused using the Monte Carlo tree search algorithm to obtain ledger fusion data, it includes: Determine the data source to be fused and the target variable after fusion, divide the preprocessed ledger data into training set and test set, obtain the initial data fusion state, initialize the Monte Carlo tree, and use the initial data fusion state as the root node of the Monte Carlo tree; Starting from the root node, a group of child nodes are selected in the existing structure of the Monte Carlo tree. If the selected child node has been expanded, the child node is reselected. If the selected child node has not been expanded, different fusion strategies are randomly selected for the unexpanded child node, and the selected fusion strategy is applied to simulate the data fusion process to generate a simulated fusion result. Use the real data in the training set to compare with the simulated fusion results, select the best performing fusion strategy as part of the corresponding child node based on the comparison results, and update the tree structure at the same time; When the predetermined number of simulations is reached, the expansion loop ends, the optimal data fusion strategy in the entire tree structure is selected, and the ledger data from different data sources are fused through the selected optimal data fusion strategy.

6. The ledger fusion management method for multi-source data according to claim 1 is characterized in that: When selecting a group of child nodes in the existing structure of the Monte Carlo tree starting from the root node, specifically a group of child nodes is selected in the existing structure of the tree through the UCB selection strategy.

7. The ledger fusion management method for multi-source data according to claim 1 is characterized in that: When using ledger data features to train anomaly recognition models, the following steps are included: Perform secondary verification on the preprocessed ledger data, mark the abnormal data and use it as part of the training set, divide the ledger data features into training set and test set, build a bidirectional loop verification model through the forward and backward GRU layers, and initialize the model hyperparameters; The training set is divided into training groups, and each training group is forward propagated in batches through the bidirectional loop calibration model to obtain the model's predicted output, and then the loss between the predicted output and the actual label is calculated. According to the calculated loss value, the gradient is calculated through the back propagation algorithm, and the optimizer is used to update the model parameters according to the model gradient information; After each training, use the test set to verify the performance of the model, and adjust the model's hyperparameters based on the model performance evaluation; After each training session, the corresponding model parameters are saved. When all training groups have completed training, the training is stopped and the model with the best performance is selected.

8. The ledger fusion management method for multi-source data according to claim 1 is characterized in that: When using the trained anomaly recognition model to check the ledger fusion data and correct the abnormal data, it includes: Input the fusion data of the ledger into the trained anomaly recognition model to obtain the anomaly probability of each group of data points; If the abnormal probability of the data point is greater than a preset abnormal threshold, the data point is marked as abnormal data; Match the abnormal data with the correction solutions in the historical data and integrate the matching results; Correct abnormal data based on the integration results.

9. The ledger fusion management method for multi-source data according to claim 1 is characterized in that: Dynamically adjust the data information in the data structure of the relay protection device, including: Initialize a set of empty LRU linked lists, and store each set of ledger data of the ledger fusion data in each node of the LRU linked list. Whenever the ledger data is accessed, mark it as recently used and check whether the accessed data is in the LRU cache; If the accessed data exists in the LRU cache, the accessed data is moved to the front of the LRU linked list. If the accessed data is not in the LRU cache, the LRU linked list is traversed. If the LRU linked list reaches the preset cache upper limit, the last node is deleted and the new data node is added to the head of the LRU linked list.

10. A ledger fusion management system for multi-source data, characterized in that: It includes a microprocessor and a computer-readable storage medium connected to each other, and the microprocessor is programmed or configured to execute the ledger fusion management method for multi-source data as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Log inspection method and device based on machine learning and electronic equipment

    CN114297027A

  • Mixed flow manufacturing workshop scheduling method and system based on Monte Carlo tree search algorithm

    CN117369378A

  • Multi-source data fusion power grid monitoring operation characteristic information extraction method and system

    CN117932295A

  • Environmental protection monitoring management system based on Internet of Things

    CN118138495A

  • Decision-making agent generating apparatus and method

    WO2022092415A1

Cited By

  • Operation cost estimation method and system based on machine learning

    CN119444290A