Smart power grid security situation assessment method and system

Through the LSTM-AE model and the Sparrow optimization algorithm, the characteristics of the power grid security situation elements are extracted and a power grid security situation assessment model is constructed, which solves the problem of the difficulty of existing technology in meeting the complexity and dynamic changes of the power grid, and achieves efficient and accurate assessment of the power grid security situation. and safety level classification.

CN118536875AInactive Publication Date: 2024-08-23ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER COMPANY
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410811530.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing power grid security situation assessment methods are difficult to meet the needs of power grid complexity and dynamic changes, cannot effectively perceive and evaluate the power grid's security situation, consume large amounts of computing resources, and are difficult to adapt to complexity and randomness.

Method used

Using the LSTM-AE model combined with the Sparrow optimization algorithm, the autoencoder is used to extract the characteristics of the power grid security situation elements, and a power grid security situation assessment model is constructed. The Sparrow optimization algorithm is used to optimize parameters in model training to achieve efficient and efficient processing of multi-source heterogeneous data. Accurate assessment.

Benefits of technology

It achieves efficient, accurate and dynamic assessment of the power grid security situation, improves the accuracy and speed of the assessment model, can dynamically calculate the power grid security status and classify security levels, and supports the security prevention and emergency control of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536875A
    Figure CN118536875A
Patent Text Reader

Abstract

The invention provides a smart power grid security situation assessment method and system, and the method comprises the steps: extracting security situation factor related data from multi-source heterogeneous data of a power grid, carrying out the preprocessing of the security situation factor related data, and obtaining a power grid security situation data set; taking a power grid security situation data set as input, and performing self-supervised learning feature extraction by using an AE self-encoder; the features extracted by the AE auto-encoder are constructed into a feature data set, a power grid security situation assessment model is constructed, the power grid security situation assessment model is trained by using the feature data set, and parameters in the model are optimized by using a sparrow optimization algorithm in the training process; and performing attack detection on the newly acquired multi-source heterogeneous data by using the trained power grid security situation assessment model, and assessing the security condition of the power grid. According to the method, the multi-source heterogeneous data of the power grid can be fully utilized, and the security situation of the power grid can be efficiently, accurately and dynamically sensed and evaluated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power grid security, and specifically relates to a smart grid security situation assessment method and system, in particular to a smart grid security situation assessment method and system based on an LSTM-AE model. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] The power grid is an important infrastructure, and its safe and stable operation is of great significance. With the continuous expansion of the scale and complexity of the power grid, the power grid faces a variety of security threats, such as natural disasters, equipment failures, man-made damage, network attacks, etc. These threats may cause local or global instability of the power grid, and even cause large-scale power outages. Therefore, timely and accurate perception of the security situation of the power grid, assessment of the security risks of the power grid, and prediction of the security trend of the power grid are of great significance for the security prevention and emergency control of the power grid.

[0004] Grid security situation assessment refers to the construction of a grid security situation assessment model by collecting, analyzing, and integrating various grid security information, achieving real-time perception of the grid's security status, security events, and security impacts, as well as dynamic prediction of the grid's security trends and security risks. Grid security situation assessment is the foundation of grid security defense and the basis for grid security decision-making.

[0005] At present, the main methods for power grid security situation assessment are rule-based methods and model-based methods. The rule-based method refers to the logical reasoning of the security information of the power grid according to the operation rules and safety standards of the power grid to obtain the security situation of the power grid. The advantage of this method is that it is simple and easy to implement, but the disadvantage is that the formulation and maintenance of rules require a lot of expert knowledge and experience, and it is difficult to adapt to the dynamic changes of the power grid. The model-based method refers to the simulation and optimization of the security information of the power grid according to the physical model and mathematical model of the power grid to obtain the security situation of the power grid. The advantage of this method is that it can accurately reflect the operation mechanism of the power grid, but the disadvantage is that the establishment and solution of the model requires a lot of computing resources, and it is difficult to consider the complexity and randomness of the power grid.

[0006] In summary, the existing power grid security situation assessment methods have certain limitations and are difficult to meet the security needs of the power grid. Summary of the invention

[0007] In order to solve the above problems, the present invention proposes a smart grid security situation assessment method and system, which can make full use of multi-source heterogeneous data of the power grid to achieve efficient, accurate and dynamic perception and assessment of the security situation of the power grid.

[0008] According to some embodiments, the present invention adopts the following technical solutions: A smart grid security situation assessment method comprises the following steps: Extract security situation factor-related data from multi-source heterogeneous data of the power grid, including the topological structure, operating parameters, security events and security indicators of the power grid; Preprocess the data related to each security situation element to obtain a power grid security situation data set; Taking the power grid security situation dataset as input, the AE autoencoder is used to perform self-supervised learning feature extraction; The features extracted by the AE autoencoder are constructed into a feature data set, and a power grid security situation assessment model is constructed. The power grid security situation assessment model is trained using the feature data set, and the sparrow optimization algorithm is used to optimize the parameters within the model during the training process. Use the trained power grid security situation assessment model to detect attacks on newly acquired multi-source heterogeneous data and evaluate the security status of the power grid.

[0009] As an optional implementation, the preprocessing includes data cleaning, data standardization and data dimension reduction.

[0010] As an optional implementation, the specific process of using the AE autoencoder for self-supervised learning feature extraction includes: For the preprocessed power grid security situation dataset, the AE autoencoder is used to encode and decode the data. The encoder maps the input data to a hidden representation with a lower dimension, and the decoder maps the hidden representation back to the original data space. The mean square error loss function is used to measure the difference between the input variables and the output variables in the AE autoencoder training process.

[0011] As a further step, the training objective of the AE autoencoder is to minimize a mean square error loss function, which plays a role in measuring the difference between input and output during the training process of the AE autoencoder.

[0012] As an optional implementation, the power grid security situation assessment model is a long short-term memory neural network model.

[0013] As an optional implementation, the specific process of using the sparrow optimization algorithm to optimize the parameters inside the model during the training process includes constructing a sparrow initial matrix of the sparrow optimization algorithm, and then processing the initial matrix with a fitness function to construct a fitness function matrix; Perform optimization iterations of the sparrow algorithm, and dynamically update the position values ​​of foragers, followers, and sentinels during each iteration; Optimize the internal parameters of the power grid security situation assessment model during the training process using the sparrow algorithm.

[0014] As a further implementation, the process of dynamically updating the position value of foragers includes: updating the position of foragers to: ; In the formula, t represents the current iteration number, represents the position of the i-th sparrow in the j-th dimension of the t-th generation, j = 1, 2, 3, m, represents the maximum number of iterations, represents a random value belonging to (0, 1), represents a warning value belonging to [0, 1], represents the safety threshold, represents a random value satisfying the normal distribution of [0, 1], represents a one-dimensional matrix.

[0015] As a further implementation, the process of dynamically updating the position value of followers includes: updating the position of followers to: ; In the formula, represents the position of the optimal discoverer, represents the worst position of the sparrows in the global at the t-th generation. When i < n / 2, it means that the relative position of the i-th follower does not have a good food source and needs to change its foraging position. n represents the total number of current sparrows, represents a 1*m matrix.

[0016] As a further implementation, the process of dynamically updating the position value of vigilant birds includes: updating the position of vigilant birds to: ; In the formula, represents the current global optimal position, represents a random number used to control the step size of each iteration, represents a random number with a value range within [-1, 1] used to control the movement direction of the sparrows, , , represent the global best fitness, the individual best fitness of the current round, and the global worst fitness respectively, represents a constant.

[0017] As an optional implementation method, a trained power grid security situation assessment model is used to perform attack detection on newly acquired multi-source heterogeneous data. The process of evaluating the security status of the power grid includes: using the trained power grid security situation assessment model to evaluate the security status of the smart grid, dynamically calculating the current power grid security status from the data packet loss rate, data flow change rate, and data throughput, performing dynamic weighted calculations based on the above security indicators to obtain the final current smart grid safety factor, and dividing the power grid's security situation level based on the power grid safety factor.

[0018] A smart grid security situation assessment system, comprising: A data acquisition module is configured to extract data related to security situation elements from multi-source heterogeneous data of the power grid, including topological structure, operating parameters, security events and security indicators of the power grid; A preprocessing module is configured to preprocess the data related to each security situation element to obtain a power grid security situation data set; The feature extraction module is configured to use the power grid security situation dataset as input and perform self-supervised learning feature extraction using the AE autoencoder; The model optimization training module is configured to construct the features extracted by the AE autoencoder into a feature data set, construct a power grid security situation assessment model, train the power grid security situation assessment model using the feature data set, and use the sparrow optimization algorithm to optimize the parameters inside the model during the training process; The evaluation module is configured to use the trained power grid security situation assessment model to perform attack detection on newly acquired multi-source heterogeneous data and evaluate the security status of the power grid.

[0019] Compared with the prior art, the present invention has the following beneficial effects: The present invention uses the AE autoencoder to extract the features of power grid security factors. The generated features have more obvious features than the original data and effectively reduce the latitude of the original data.

[0020] The present invention introduces the SSA sparrow optimization algorithm into the training of the power grid security situation assessment model, automatically optimizes the internal parameters during the training process, and improves the accuracy and speed of the assessment model training.

[0021] The present invention quantifies the security situation of the smart grid, dynamically calculates the current grid security status from three aspects: data packet loss rate, data flow change rate, and data throughput, implements output grid security scoring, and divides the grid security situation level, thereby achieving efficient, accurate, and dynamic evaluation of the grid security situation.

[0022] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0024] Figure 1 The present invention is a schematic diagram of a smart grid security situation assessment process according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0026] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0027] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0028] In the absence of conflict, the embodiments in this application and the features in the embodiments may be combined with each other.

[0029] Embodiment 1 A smart grid security situation assessment method, such as Figure 1 As shown, the following steps are included: Step 1: Extract security situation factors from the multi-source heterogeneous data of the power grid, including the topological structure, operating parameters, security events, security indicators, etc. of the power grid, establish a smart grid security database, and construct initial power grid security situation factor data.

[0030] In different embodiments, according to the purpose or demand of smart grid security situation assessment, different data types can be selected for the data of various aspects of the above security situation elements.

[0031] For example, in some embodiments, the topology structure includes the topology type, the number of key grid devices, the connection relationship of key grid devices, etc.; The operating parameters include generator parameters, excitation system parameters, governor parameters, load parameters, operating time, operating peak value, etc. Security incidents include the time, location and content of the incident; Safety indicators include equipment operation indicators, stability indicators, etc.

[0032] The above data are examples only and are not exhaustive.

[0033] Step 2: Data preprocessing: preprocess the security situation elements, including data cleaning, data standardization, data dimension reduction, etc., to obtain a standardized power grid security situation data set.

[0034] Step 3: Data feature extraction and dimensionality reduction: quantify the security situation factors and input them into the AE auto-encoder for self-supervised learning feature extraction. The AE auto-encoder reconstructs the input data by using the original data as a reference.

[0035] Step 4: Train the LSTM-AE smart grid security situation assessment model, perform classification training on the data set constructed using the key features extracted by the AE autoencoder, build a long short-term memory neural network (LSTM) power grid security situation assessment model, and use the SSA optimization algorithm to automatically optimize the internal parameters during the training process.

[0036] Step 5: Use the LSTM-AE model to detect attacks and dynamically quantify the safety factor. The three indicators of smart grid data packet loss rate, data flow change rate, and data throughput are calculated according to the relevant formulas, and dynamic weighted calculations are performed to obtain the final current smart grid safety factor.

[0037] Specifically, in step 3, the data feature extraction and dimensionality reduction process includes the following steps: Step 31: For the preprocessed security situation data, use the AE autoencoder to encode and decode the data. The encoder maps the input data to a lower-dimensional hidden representation, while the decoder maps the hidden representation back to the original data space. By minimizing the reconstruction error during the training process, the autoencoder learns how to extract the most important feature information in the input data. The generated hidden representation can be regarded as a compressed representation of the input data, which contains the key features of the input data.

[0038] In this embodiment, the AE autoencoder is encoded according to the following formula: ; In the formula, represents the encoding activation function of the AE autoencoder, Represented as the bias of the encoding part.

[0039] Decode the AE autoencoder according to the following formula: ; In the formula, represents the decoding activation function of the AE autoencoder, Represented as the bias of the decoding part.

[0040] Step 32: Use the mean square error (MSE) loss function to measure the input variables of the AE autoencoder training process X With output variables X’ The difference between them. The MSE loss function is expressed as: ; In the formula, represents the loss function, k Represents the number of samples. The MSE loss function plays a role in measuring the difference between input and output in the training process of the AE autoencoder. By minimizing the loss function, the autoencoder can learn more accurate data reconstruction capabilities and improve the effect of feature extraction.

[0041] Specifically, in step 4, the LSTM-AE smart grid security situation assessment model is trained, including the following steps: Step 41: Introduce the SSA (Sparrow Search Algorithm, SSA) sparrow optimization algorithm into the training of the LSTM-AE power grid security situation assessment model. The SSA optimization algorithm is an intelligent optimization algorithm inspired by the foraging habits of sparrow populations in the biological world. By imitating the foraging behavior and anti-predation behavior of sparrows, the sparrows in the population can quickly move to the global optimal position and converge quickly near the optimal position, thereby obtaining the optimal solution to the NP problem.

[0042] Firstly, the initial matrix of sparrow of SSA sparrow optimization algorithm is constructed, and then the initial matrix is ​​processed by the fitness function to construct the fitness function matrix.

[0043] Specifically, sparrows are divided into discoverers, followers, and early warning in the process of foraging. Among them, discoverers refer to the party in the sparrow population that finds better food. Their main task is to find the foraging area and direction for the entire sparrow population. Other sparrows act as followers and follow the discoverers to forage. In addition, there will be a certain proportion of individuals in the sparrow population that act as early warnings. When the early warning reconnaissance finds danger, the sparrow population immediately gives up foraging to ensure the safety of the population.

[0044] Initialize and construct the sparrow population according to the following formula, where each element represents a definite solution: ; In the formula, d represents the optimization dimension of the problem, n represents the number of the initial sparrow population matrix. Construct the fitness function matrix according to the constructed initial matrix: ; In the formula, represents the fitness function value.

[0045] Step 42: Perform the SSA algorithm optimization iteration. In each iteration process, dynamically update the position values of foragers, followers, and vigilant sparrows. Update the position of the forager according to the following formula: ; In the formula, t represents the current iteration number, represents the position of the i-th sparrow in the t-th generation in the j-th dimension, j = 1, 2, 3, m. represents the maximum number of iterations, represents a random value belonging to (0, 1). represents a warning value belonging to [0, 1], represents the safety threshold, represents a random value satisfying the normal distribution of [0, 1], represents a one-dimensional matrix.

[0046] Step 43: Update the position of the follower according to the following formula: ; In the formula, represents the position of the optimal discoverer, represents the worst position of the sparrows in the global at the t-th generation. When i < n / 2, it means that the relative position of the i-th follower does not have a good food source and needs to change its foraging position. n represents the current total number of sparrows, represents a 1*m matrix.

[0047] Step 44: Update the position of the vigilant sparrow according to the following formula: ; In the formula, represents the current global optimal position, represents a random number used to control the step size of each iteration, represents a random number with a value range within [-1, 1] used to control the movement direction of the sparrow, 、 , Respectively represent the global best fitness, the best individual fitness of the current round, and the global worst fitness. Represents a constant.

[0048] The SSA sparrow optimization algorithm is introduced into the training of the LSTM-AE power grid security situation assessment model. The internal parameters are automatically optimized during the training process, which improves the accuracy and speed of the assessment model training.

[0049] Specifically, in this embodiment, in step 5, the LSTM-AE model is used to detect the attack and dynamically quantify the safety factor, which includes the following steps: Step 51: Numerical quantification of smart grid security situation: Use the trained LSTM-AE model to evaluate the smart grid security situation, dynamically calculate the current grid security situation from the data packet loss rate, data flow change rate, and data throughput, output the real-time grid security score, and classify the grid security situation level. Calculate the smart grid data packet loss rate according to the following formula: ; In the formula, represents the packet loss rate of the jth attack method, n represents the number of attacks occurring in the current time, Represents the number of times the source address of the packet sends a packet. and Represents the size of the data packet sent from the source address. Represents the number of times a data packet reaches the destination address.

[0050] Step 52: Calculate the smart grid data flow rate change rate according to the following formula: ; In the formula, represents the traffic change rate of the jth attack method, n represents the number of attacks occurring in the current time, and The ratio of subnet traffic in the current time period to the previous time period.

[0051] Step 53: Calculate the smart grid data throughput according to the following formula: ; In the formula, represents the data throughput of the jth attack method, Represents the size of the data packet sent from the source address. Represents the time required from the source address to the destination address. and Indicates the size and time of sending a data packet from the destination address to the source address.

[0052] Step 54: Perform dynamic weighted calculation based on the three indicators of smart grid data packet loss rate, data flow rate change rate, and data throughput obtained by the above formula to obtain the final current smart grid safety factor. According to the factor, the safety situation of the power grid is divided into five levels, namely safe, normal, warning, dangerous, and emergency. The safety situation assessment results are presented to the operators and managers of the power grid so that they can understand the safety status of the power grid in a timely manner and take corresponding safety measures.

[0053] In summary, this embodiment is suitable for smart grid security situation assessment. The disclosed smart grid security situation assessment method uses AE autoencoder to extract the features of grid security elements. The generated features have more obvious features than the original data and effectively reduce the latitude of the original data. The SSA sparrow optimization algorithm is introduced into the training of the LSTM-AE power grid security situation assessment model. The internal parameters are automatically optimized during the training process, which improves the accuracy and speed of the assessment model training. The smart grid security situation is quantified, and the current grid security status is dynamically calculated from three aspects: data packet loss rate, data flow change rate, and data throughput. The output grid security score is implemented to divide the grid security situation level. The method of this embodiment realizes efficient, accurate, and dynamic assessment of the security situation of the power grid.

[0054] Embodiment 2 A smart grid security situation assessment system, comprising: A data acquisition module is configured to extract data related to security situation elements from multi-source heterogeneous data of the power grid, including topological structure, operating parameters, security events and security indicators of the power grid; A preprocessing module is configured to preprocess the data related to each security situation element to obtain a power grid security situation data set; The feature extraction module is configured to use the power grid security situation dataset as input and perform self-supervised learning feature extraction using the AE autoencoder; The model optimization training module is configured to construct the features extracted by the AE autoencoder into a feature data set, construct a power grid security situation assessment model, train the power grid security situation assessment model using the feature data set, and use the sparrow optimization algorithm to optimize the parameters inside the model during the training process; The evaluation module is configured to use the trained power grid security situation assessment model to perform attack detection on newly acquired multi-source heterogeneous data and evaluate the security status of the power grid.

[0055] It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of one or more computer-usable storage media (including but not limited to disk storage, CD - ROM , optical storage, etc.).

[0056] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0057] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0058] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0059] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principle of the present invention without creative labor shall be included in the protection scope of the present invention.

Claims

1. A smart grid security situation assessment method, characterized in that: The following steps are involved: Extract security situation factor-related data from multi-source heterogeneous data of the power grid, including the topological structure, operating parameters, security events and security indicators of the power grid; Preprocess the data related to each security situation element to obtain a power grid security situation data set; Taking the power grid security situation dataset as input, the AE autoencoder is used to perform self-supervised learning feature extraction; The features extracted by the AE autoencoder are constructed into a feature data set, and a power grid security situation assessment model is constructed. The power grid security situation assessment model is trained using the feature data set, and the sparrow optimization algorithm is used to optimize the parameters within the model during the training process. Use the trained power grid security situation assessment model to detect attacks on newly acquired multi-source heterogeneous data and evaluate the security status of the power grid.

2. A smart grid security situation assessment method as claimed in claim 1, characterized in that: The preprocessing includes data cleaning, data standardization and data dimension reduction.

3. A smart grid security situation assessment method as claimed in claim 1, characterized in that: The specific process of using AE autoencoder for self-supervised learning feature extraction includes: For the preprocessed power grid security situation dataset, the AE autoencoder is used to encode and decode the data. The encoder maps the input data to a hidden representation with a lower dimension, and the decoder maps the hidden representation back to the original data space. The mean square error loss function is used to measure the difference between the input variables and the output variables in the AE autoencoder training process.

4. A smart grid security situation assessment method as claimed in claim 3, characterized in that: The training objective of the AE autoencoder is to minimize the mean square error loss function, which plays a role in measuring the difference between input and output during the training process of the AE autoencoder.

5. A smart grid security situation assessment method as claimed in claim 1, characterized in that: The specific process of using the sparrow optimization algorithm to optimize the parameters inside the model during the training process includes constructing the sparrow initial matrix of the sparrow optimization algorithm, then processing the initial matrix with a fitness function, and constructing a fitness function matrix; Perform optimization iterations of the sparrow algorithm, and dynamically update the position values ​​of foragers, followers, and sentinels during each iteration; The sparrow algorithm is used to optimize the internal parameters of the power grid security situation assessment model during the training process.

6. A smart grid security situation assessment method as claimed in claim 5, characterized in that: The process of dynamically updating the forager's position value includes: the forager's position is updated as: ; In the formula, t represents the current iteration number, represents the position of the i-th sparrow of the t-th generation in the j-th dimension, j=1,2,3,m, represents the maximum number of iterations, represents a random value belonging to (0,1), Represents a warning value belonging to [0,1], represents the safety threshold, represents a normally distributed random value satisfying [0,1], Represents a one-dimensional matrix.

7. A smart grid security situation assessment method as claimed in claim 5, characterized in that: The process of dynamically updating the position value of a follower includes: the position of the follower is updated as follows: ; In the formula, represents the position of the optimal discoverer, represents the worst position of the t-th generation of sparrows in the global scope. When i < n / 2, it means that the i-th follower does not have a good food source at its relative position and needs to change its foraging position. n represents the total number of current sparrows, represents a 1*m matrix.

8. A smart grid security situation assessment method as claimed in claim 5, characterized in that: The process of dynamically updating the position value of the sentinel includes: the position of the sentinel is updated as follows: ; In the formula, represents the current global optimal position, Represents a random number, used to control the step size of each iteration. Represents a random number in the range of [-1,1], which is used to control the movement direction of the sparrow. , , Respectively represent the global best fitness, the best individual fitness of the current round, and the global worst fitness. Represents a constant.

9. A smart grid security situation assessment method as claimed in claim 1, characterized in that: The trained power grid security situation assessment model is used to detect attacks on newly acquired multi-source heterogeneous data. The process of evaluating the security status of the power grid includes: using the trained power grid security situation assessment model to evaluate the security status of the smart grid, dynamically calculating the current power grid security status from the data packet loss rate, data flow change rate, and data throughput, and performing dynamic weighted calculations based on the above security indicators to obtain the final current smart grid safety factor, and based on the power grid safety factor, dividing the power grid's security situation level.

10. A smart grid security situation assessment system, characterized in that: include: A data acquisition module is configured to extract data related to security situation elements from multi-source heterogeneous data of the power grid, including topological structure, operating parameters, security events and security indicators of the power grid; A preprocessing module is configured to preprocess the data related to each security situation element to obtain a power grid security situation data set; The feature extraction module is configured to use the power grid security situation dataset as input and perform self-supervised learning feature extraction using the AE autoencoder; The model optimization training module is configured to construct the features extracted by the AE autoencoder into a feature data set, construct a power grid security situation assessment model, train the power grid security situation assessment model using the feature data set, and use the sparrow optimization algorithm to optimize the parameters inside the model during the training process; The evaluation module is configured to use the trained power grid security situation assessment model to perform attack detection on newly acquired multi-source heterogeneous data and evaluate the security status of the power grid.

Citation Information

Cited By

  • Network security situation prediction method and system

    CN119210896A

  • Digital power grid security situation awareness method and system based on selective convolutional network

    CN119624110A

  • Digital power grid security situation awareness method and system based on selective convolutional network

    CN119624110B

  • Power grid situation adaptive deduction method based on meta learning

    CN120978702A

  • Remote power safety protection system

    WO2026170788A1