A data security diagnosis method for dispatching automation system
Through real-time monitoring and periodic vulnerability detection, combined with convolutional neural networks and vulnerability tags to determine risk levels, the problem of joint diagnosis of equipment data and dispatch automation system data is solved, significantly improving security protection accuracy and data integrity, and providing a basis for dispatch automation. The system provides guarantee for stable operation.
Patent Information
- Application Number
- CN202410413543.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-04-08
AI Technical Summary
There are security risks in equipment data, and joint data security diagnosis cannot be performed on equipment data and operating data of the dispatch automation system, resulting in insufficient security protection accuracy.
Propose a data security diagnosis method for scheduling automation systems. By acquiring operating data and equipment data in real time, convolutional neural networks are used to monitor abnormal activities, periodically detect vulnerabilities and add vulnerability tags, and determine risks based on attack logs and vulnerability tags. Level, real-time monitoring and repair of vulnerabilities.
It significantly improves the security protection accuracy of the system, ensures the security and integrity of data, reduces potential security risks, and provides a strong guarantee for the stable operation of the dispatch automation system.
Smart Images

Figure CN118228274B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of data security, and in particular relates to a data security diagnosis method for a dispatching automation system. Background Art
[0002] The dispatch automation system is a system used in power dispatching. The system aims to ensure the safety, stability and economy of power supply by managing and controlling power supply. It monitors the status and demand of the power system in real time, collects and transmits real-time data of the power system, analyzes and processes the data, and makes corresponding dispatching decisions, such as increasing or reducing the supply of power, to achieve reasonable distribution of power.
[0003] Intrusion detection algorithms based on machine learning are able to identify complex attack patterns by training models. These algorithms can learn the characteristics of normal and abnormal behaviors from a large amount of historical data, and can automatically identify and detect new intrusion behaviors in a real-time environment. The algorithm analyzes data sources such as network traffic and system logs in real time, and determines whether there is an intrusion based on previously learned patterns and rules. If abnormal behavior is detected, the algorithm will trigger an alarm to notify the administrator to take appropriate measures
[0004] It is worth noting that the above method has some problems. There are security risks in the equipment data, and the equipment data and the operating data of the dispatching automation system cannot be jointly diagnosed for data security. Summary of the invention
[0005] The purpose of the present invention is to solve the problem that there are potential security risks in equipment data and that equipment data and operating data of a dispatching automation system cannot be jointly diagnosed for data security, and to propose a data security diagnosis method for a dispatching automation system.
[0006] In a first aspect of the present invention, a data security diagnosis method for a dispatching automation system is first proposed, the method comprising:
[0007] Acquire the operation data of the dispatching automation system and the equipment data of the power equipment in real time;
[0008] The operation data is monitored by a convolutional neural network, and if there is abnormality or suspicious activity in the operation data, the attack log is uploaded;
[0009] By performing periodic vulnerability detection on the device data and adding vulnerability tags to the detected vulnerabilities;
[0010] The risk level is determined based on the attack log and vulnerability tags.
[0011] Optionally, monitoring the operating data by using a convolutional neural network includes:
[0012] Acquire historical data of the dispatching automation system, generate a first feature set from the historical data through a KPCA algorithm, and generate a second feature set from the first feature set through an LDA algorithm;
[0013] The second feature set is input into a convolutional neural network for training to obtain a first model. The operation data of the scheduling automation system is monitored in real time according to the first model. If there is abnormality or suspicious activity in the operation data, an attack log is generated and uploaded.
[0014] Optionally, the historical data is generated by a KPCA algorithm to obtain a first feature set including:
[0015] Acquire historical data during the operation of the dispatching automation system, and record the target data into a two-dimensional matrix through the KPCA algorithm;
[0016] Constructing the two-dimensional matrix to obtain a kernel matrix through a kernel function, and extracting eigenvectors in the kernel matrix as a eigenvector set;
[0017] A first projection matrix is constructed according to the feature vector set, and the data in the two-dimensional matrix is projected onto the first projection matrix to obtain a first feature set.
[0018] Optionally, the second feature set generated by the first feature set through the LDA algorithm includes:
[0019] The first feature set is used to calculate an intra-class discrete matrix and an inter-class discrete matrix through an LDA algorithm, and the eigenvectors in the intra-class discrete matrix and the inter-class discrete matrix are arranged in descending order according to the size of the eigenvalues to obtain a second projection matrix;
[0020] The second feature set is obtained by projecting the data in the first feature set onto a second projection matrix.
[0021] Optionally, performing periodic vulnerability detection on the device data includes:
[0022] Periodically obtain network datasets and update local databases;
[0023] A vulnerability data set is obtained by preprocessing the network data set, attack features of the vulnerability data set are extracted, and the vulnerability data set is classified according to the attack features to obtain a vulnerability set; the vulnerability set includes: an information collection data set, a denial of service data set and an information theft data set.
[0024] Optionally, periodically obtaining the network dataset and updating the local database also includes:
[0025] The data set is input into a convolutional neural network for training to obtain a second model, the device data is periodically tested for vulnerabilities through the second model, and corresponding vulnerability labels are added to the detected vulnerabilities according to the attack features.
[0026] Optionally, judging the risk level according to the attack log and the vulnerability label includes:
[0027] Determine the risk level by matching the attack log with the vulnerability tag;
[0028] If the attack log matches the attack type in the vulnerability tag and the similarity is higher than the similarity threshold, the risk level is determined to be high risk;
[0029] If the attack log matches the attack type in the vulnerability tag and the similarity is lower than the similarity threshold, the risk level is determined to be medium risk;
[0030] If a vulnerability tag is detected, the risk level is determined to be low risk.
[0031] Optionally, after determining the risk level according to the attack log and the vulnerability tag, the following steps may also be performed:
[0032] If the risk level is high, isolate and block the high-risk vulnerability, back up data and issue an alarm;
[0033] If the risk level is medium, the detection frequency is increased, the protection strategy is adjusted, and the attack log is uploaded for planned repair;
[0034] If the risk level is low, low-risk vulnerabilities are evaluated and reviewed regularly to maintain routine testing.
[0035] Beneficial effects of the present invention:
[0036] The present invention proposes a data security diagnosis method for a dispatching automation system, which obtains the operation data of the dispatching automation system and the equipment data of the power equipment in real time; monitors the operation data through a convolutional neural network, and uploads the attack log if there is an abnormality or suspicious activity in the operation data; performs periodic vulnerability detection on the equipment data, and adds vulnerability tags to the detected vulnerabilities; and determines the risk level according to the attack log and the vulnerability tag. Real-time monitoring of the operation data of the dispatching automation system, periodic vulnerability detection and repair of vulnerabilities, and determination of the risk level according to the attack log and the vulnerability tag can significantly improve the security protection accuracy of the system, ensure the security and integrity of the data, reduce potential security risks, and provide a strong guarantee for the stable operation of the dispatching automation system. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The present invention will be further described below in conjunction with the accompanying drawings.
[0038] Figure 1 A flowchart of a data security diagnosis method for a scheduling automation system is provided for an embodiment of the present invention;
[0039] Figure 2 This is a further implementation flow chart of step S102 in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the present invention, the description of "first", "second", etc. is only used for descriptive purposes, and cannot be understood as indicating or implying its relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" can explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0041] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of the present invention.
[0042] The embodiment of the present invention provides a data security diagnosis method for a scheduling automation system. Figure 1 , Figure 1 A flowchart of a data security diagnosis method for a scheduling automation system provided by an embodiment of the present invention. The method comprises the following steps:
[0043] S101, obtaining the operation data of the dispatching automation system and the equipment data of the power equipment in real time.
[0044] S102, monitor the operation data through the convolutional neural network, and upload the attack log if there is any abnormality or suspicious activity in the operation data.
[0045] S103, performing periodic vulnerability detection on device data and adding vulnerability tags to detected vulnerabilities.
[0046] S104, determine the risk level based on the attack log and vulnerability label.
[0047] A data security diagnosis method for a dispatching automation system provided in an embodiment of the present invention monitors the operating data of the dispatching automation system in real time, periodically detects and repairs vulnerabilities, and determines the risk level based on attack logs and vulnerability labels. This method can significantly improve the security protection accuracy of the system, ensure the security and integrity of data, reduce potential security risks, and provide strong protection for the stable operation of the dispatching automation system.
[0048] In one implementation, by acquiring the operation data of the dispatch automation system in real time and performing periodic vulnerability detection, the system can detect and mark potential security risks in the first place. Once abnormal or suspicious activities are found, the attack log is uploaded immediately, which helps to take risk response measures in time and reduce or avoid the losses caused by potential security incidents.
[0049] In one implementation, the operation data of the dispatching automation system is deeply analyzed and monitored using convolutional neural networks, which can detect complex attack patterns that are difficult to detect with traditional methods. At the same time, by combining vulnerability labels and attack logs, the risk level can be assessed more accurately, so that security protection measures can be strengthened in a targeted manner, improving the security and stability of the entire system.
[0050] In one implementation, periodic vulnerability detection and real-time monitoring can more accurately understand the security status of the system, thereby optimizing the configuration of security resources. At the same time, automated risk assessment based on data can reduce the need for manual intervention and reduce the cost of security maintenance. By analyzing historical data, it can also provide strong data support for future security policy formulation.
[0051] In one embodiment, see Figure 2 ,exist Figure 1 Based on this, step S102 includes:
[0052] S1021, acquiring historical data of the dispatching automation system, generating a first feature set from the historical data through a KPCA algorithm, and generating a second feature set from the first feature set through an LDA algorithm.
[0053] S1022, input the second feature set into the convolutional neural network for training, so that the first model can monitor the operation data of the scheduling automation system in real time, and if there is abnormality or suspicious activity in the operation data, an attack log is generated and uploaded.
[0054] In one implementation, the KPCA algorithm and the LDA algorithm are used to extract features from historical data, extracting key information from historical data while removing noise and redundant features from historical data. This helps reduce the complexity of the model during training and improves the generalization ability of the model. Inputting the feature-extracted data set into the convolutional neural network for training can make the model more focused on learning features that are useful for anomaly detection, thereby improving the accuracy of anomaly detection.
[0055] In one implementation, by combining the KPCA algorithm and the LDA algorithm, key information can be retained while reducing the dimension. KPCA reduces the dimension of the data through dimensionality reduction, while LDA further reduces the complexity of the data by selecting the number of topics. This double dimensionality reduction not only helps to reduce the amount of calculation and improve the efficiency of the algorithm, but also ensures the integrity and effectiveness of key information.
[0056] In one embodiment, before step S102, the following steps are included:
[0057] Obtain historical data during the operation of the dispatching automation system, and record the target data as a two-dimensional matrix using the KPCA algorithm.
[0058] The two-dimensional matrix is constructed by the kernel function to obtain a kernel matrix, and the eigenvectors in the kernel matrix are extracted as a eigenvector set.
[0059] A first projection matrix is constructed according to the feature vector set, and the data in the two-dimensional matrix is projected onto the first projection matrix to obtain a first feature set.
[0060] In one implementation, the KPCA algorithm uses a nonlinear kernel function to extract the linear and nonlinear features of the sample, maps the original spatial data to a higher-dimensional feature space, and then uses principal component analysis for data processing. It can convert data that cannot be linearly classified in the input space into a feature space to achieve linear classification. In this process, the sample covariance matrix is replaced by the calculation of the kernel matrix, and then the eigenvalues and gene vectors are subsequently solved on the kernel matrix, so that the eigenvector can be solved in the entire feature space. The amount of calculation is greatly reduced and the calculation efficiency is improved.
[0061] In one implementation, the data in the two-dimensional matrix is projected onto the first projection matrix to obtain the first feature set. Projection is a multiplication operation between matrices. A new matrix is obtained by projection as the first feature set. Each row in the first feature set corresponds to a sample in the original data, and the number of columns depends on the number of columns in the projection matrix, that is, the number of features extracted. Projection can extract key features, reduce data dimensions, and help improve the performance of tasks such as classification and clustering.
[0062] In one embodiment, before step S102, the method further includes:
[0063] The first feature set is used to calculate the intra-class discrete matrix and the inter-class discrete matrix through the LDA algorithm, and the eigenvectors in the intra-class discrete matrix and the inter-class discrete matrix are arranged in descending order according to the size of the eigenvalue to obtain the second projection matrix.
[0064] The second feature set is obtained by projecting the data in the first feature set onto the second projection matrix.
[0065] In one implementation, the core idea of the LDA algorithm is to find an optimal projection direction by maximizing the inter-class discreteness and minimizing the intra-class discreteness. After projection, the distance between samples of the same category will be smaller, while the distance between samples of different categories will be larger. Therefore, using the second projection matrix to project the data can significantly improve the performance of the classifier, making it easier to distinguish samples of different categories.
[0066] In one implementation, the most important features are selected based on the eigenvalues by sorting the eigenvectors in descending order. This is a feature selection process that helps remove features that contribute less to the classification task and retain the most representative features. Since the LDA algorithm itself has the characteristic of dimensionality reduction, this process can also be regarded as a dimensionality reduction process for the data, thereby simplifying subsequent calculation and analysis tasks.
[0067] In one embodiment, before step S103, the following steps are included:
[0068] Periodically obtain network datasets and update the local database.
[0069] The vulnerability data set is obtained by preprocessing the network data set, the attack features of the vulnerability data set are extracted, and the vulnerability data set is classified according to the attack features to obtain a vulnerability set; the vulnerability set includes: information collection data set, denial of service data set and information theft data set.
[0070] In one implementation, by periodically acquiring network data sets, it is possible to ensure that the local database always contains the latest network security information. Preprocessing and feature extraction of vulnerability data sets can more accurately identify and analyze attack patterns, providing a more reliable basis for classification. Such classification results can enable the system to more accurately analyze the nature and characteristics of different vulnerability types, and then formulate accurate security strategies and defense measures.
[0071] In one implementation, the vulnerability data set is classified into information collection data set, denial of service data set, and information theft data set, which helps to assess the severity of the vulnerability type and allocate resources reasonably according to the urgency, thereby improving the response efficiency of the system and reducing security risks caused by insufficient or improper allocation of resources.
[0072] In one embodiment, before step S103, the method further includes:
[0073] The data set is input into a convolutional neural network for training to obtain a second model. The second model is used to perform periodic vulnerability detection on device data, and corresponding vulnerability labels are added to the detected vulnerabilities according to the attack characteristics.
[0074] In one implementation, convolutional neural networks are used to perform periodic vulnerability detection and add corresponding vulnerability labels based on attack characteristics, which can improve detection efficiency and accuracy, achieve precise positioning and classification, provide early warning and risk assessment, and have scalability and adaptability.
[0075] In one implementation, the second model is used to perform periodic vulnerability detection on the equipment data of the power equipment, which can achieve early warning and risk assessment of potential vulnerabilities. Through continuous monitoring and analysis of equipment data, the model can timely discover and report potential security risks, reduce the probability of security incidents, and reduce potential losses and impacts.
[0076] In one embodiment, step S104 includes:
[0077] The risk level is determined by matching the attack logs with the vulnerability tags.
[0078] If the attack log matches the attack type in the vulnerability tag and the similarity is higher than the similarity threshold, the risk level is judged to be high risk.
[0079] If the similarity between the attack log and the attack type in the vulnerability tag is lower than the similarity threshold, the risk level is judged to be medium risk.
[0080] If a vulnerability tag is detected, the risk level is judged to be low risk.
[0081] In one implementation, by matching attack logs with vulnerability tags, the attack behaviors in the logs can be accurately associated with known vulnerability types. This matching method can fully consider the characteristics and patterns of attack behaviors, thereby improving the accuracy of risk identification and assessment. When the attack log matches the attack type in the vulnerability tag and the similarity is higher than the similarity threshold, the system can quickly determine it as a high risk, which helps to respond in time and take corresponding defense measures. When the similarity is lower than the threshold but the vulnerability tag is detected, it is judged as medium or low risk, which helps to grade different levels of risks and reasonably allocate security resources.
[0082] In one implementation, by dividing the risks into different levels, the system can formulate corresponding response strategies according to the urgency and severity of the risks, providing more comprehensive and effective protection for power data security.
[0083] In one embodiment, step S104 further includes:
[0084] If the risk level is high, the high-risk vulnerabilities will be isolated and blocked, the data will be backed up and an alarm will be issued.
[0085] If the risk level is medium, increase the detection frequency, adjust the protection strategy, and upload the attack log for planned repair.
[0086] If the risk level is low, low-risk vulnerabilities are evaluated and reviewed regularly to maintain routine testing.
[0087] In one implementation, different response measures based on risk levels can achieve refined and efficient management of security risks. For high-risk vulnerabilities, emergency measures such as immediate isolation and blocking, data backup, and alarming can quickly contain potential security threats and avoid further losses. For medium-risk vulnerabilities, by increasing the detection frequency and adjusting the protection strategy, attack behaviors can be more accurately monitored and analyzed, providing strong support for subsequent planned repairs. For low-risk vulnerabilities, regular evaluation and review, and regular testing can ensure the stability of system security and timely discover and deal with potential security risks. This hierarchical protection can effectively improve work efficiency and response speed.
[0088] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A data security diagnosis method for a dispatching automation system, characterized in that: The dispatching automation system is used to manage the power supply of the power grid, and the method comprises: Acquire the operation data of the dispatching automation system and the equipment data of the power equipment in real time; The operation data is monitored by a convolutional neural network, and if there is abnormality or suspicious activity in the operation data, the attack log is uploaded; By performing periodic vulnerability detection on the device data and adding vulnerability tags to the detected vulnerabilities; Determine the risk level based on the attack log and vulnerability label; Monitoring the operation data by means of a convolutional neural network includes: Acquire historical data of the dispatching automation system, generate a first feature set from the historical data through a KPCA algorithm, and generate a second feature set from the first feature set through an LDA algorithm; Inputting the second feature set into a convolutional neural network for training to obtain a first model, monitoring the operation data of the dispatching automation system in real time according to the first model, and generating an attack log and uploading the attack log if there is abnormality or suspicious activity in the operation data; The historical data is generated by the KPCA algorithm to obtain a first feature set including: Obtain historical data during the operation of the dispatching automation system, and record the target data as a two-dimensional matrix through the KPCA algorithm; Constructing the two-dimensional matrix to obtain a kernel matrix through a kernel function, and extracting eigenvectors in the kernel matrix as a eigenvector set; Constructing a first projection matrix according to the feature vector set, and projecting the data in the two-dimensional matrix onto the first projection matrix to obtain a first feature set; The first feature set is generated by the LDA algorithm to obtain a second feature set including: The first feature set is used to calculate an intra-class discrete matrix and an inter-class discrete matrix through an LDA algorithm, and the eigenvectors in the intra-class discrete matrix and the inter-class discrete matrix are arranged in descending order according to the size of the eigenvalues to obtain a second projection matrix; The second feature set is obtained by projecting the data in the first feature set onto a second projection matrix.
2. A data security diagnosis method for a dispatching automation system according to claim 1, characterized in that: Performing periodic vulnerability detection on the device data includes: Periodically obtain network datasets and update local databases; A vulnerability data set is obtained by preprocessing the network data set, attack features of the vulnerability data set are extracted, and the vulnerability data set is classified according to the attack features to obtain a vulnerability set; the vulnerability set includes: an information collection data set, a denial of service data set and an information theft data set.
3. A data security diagnosis method for a dispatching automation system according to claim 2, characterized in that: Periodically obtaining network datasets and updating local databases also includes: The data set is input into a convolutional neural network for training to obtain a second model, and the device data is periodically tested for vulnerabilities using the second model, and corresponding vulnerability labels are added to the detected vulnerabilities according to the attack features.
4. A data security diagnosis method for a dispatching automation system according to claim 1, characterized in that: Judging the risk level based on the attack log and vulnerability label includes: Determine the risk level by matching the attack log with the vulnerability tag; If the attack log matches the attack type in the vulnerability tag and the similarity is higher than the similarity threshold, the risk level is determined to be high risk; If the attack log matches the attack type in the vulnerability tag and the similarity is lower than the similarity threshold, the risk level is determined to be medium risk; If a vulnerability tag is detected, the risk level is determined to be low risk.
5. A data security diagnosis method for a dispatching automation system according to claim 1, characterized in that: After judging the risk level based on the attack log and vulnerability label, it also includes: If the risk level is high, isolate and block the high-risk vulnerability, back up data and issue an alarm; If the risk level is medium, the detection frequency is increased, the protection strategy is adjusted, and the attack log is uploaded for planned repair; If the risk level is low, low-risk vulnerabilities are evaluated and reviewed regularly to maintain routine testing.
Citation Information
Patent Citations
Power system data interaction security threat information analysis method
CN116956148A
