Security assessment method and device, computer equipment, storage medium and program product
By receiving and integrating the initial safety assessment results and control strategies of each edge computing node in the distribution network and adjusting the control strategies, the low accuracy problems caused by incomplete data in the traditional evaluation method are solved, and the comprehensive safety assessment of the distribution network is improved and accuracy of control strategies.
Patent Information
- Application Number
- CN202411128611.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-12-17
AI Technical Summary
The traditional distribution network safety assessment method is evaluated separately at each node, resulting in insufficient operating data and low accuracy of safety assessment.
By receiving the initial security assessment results and control policies sent by each edge computing node, it is fused to obtain the target security assessment results, and adjust the control policies based on the target evaluation results to improve the comprehensiveness of the evaluation results and the accuracy of the control policies.
It improves the accuracy of distribution network safety assessment and the effectiveness of control strategies, promptly discovers and deals with potential safety hazards, and ensures the stable operation of the power system.
Smart Images

Figure CN119154253A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power distribution network security assessment, and in particular to a security assessment method, apparatus, computer equipment, storage medium and program product. Background Art
[0002] With the rapid development of the economy, electricity has become an indispensable infrastructure in modern society, playing a vital role in the stable operation of people's lives and industrial production. As an important link in the power system connecting the transmission network and users, the safety and reliability of the distribution network directly affect the stability and power supply quality of the entire power system. Therefore, it is of great significance to conduct a safety assessment of the distribution network and promptly discover and eliminate potential safety hazards to ensure the stable operation of the power system and improve the power supply quality.
[0003] At present, when conducting a security assessment on a distribution network, the operating data of each device in the distribution network is usually collected through sensors, and then a security assessment is performed at each node.
[0004] However, since the traditional distribution network safety assessment method is to conduct safety assessment at each node separately, the operating data used for safety assessment is not comprehensive enough, resulting in low accuracy of safety assessment. Summary of the invention
[0005] Based on this, it is necessary to provide a safety assessment method, device, computer equipment, storage medium and program product that can improve the accuracy of distribution network safety assessment in response to the above technical problems.
[0006] In a first aspect, the present application provides a security assessment method, which is applied to a server. The method comprises:
[0007] Receive an initial security assessment result of an electric power device sent by each edge computing node in the distribution network, and an initial control strategy corresponding to the initial security assessment result, wherein the initial security assessment result is determined based on the operating data of the electric power device, and the initial control strategy is a strategy for controlling the electric power device;
[0008] The initial security assessment results sent by each edge computing node are integrated to obtain the target security assessment result;
[0009] According to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node, the initial control strategy corresponding to the initial security assessment result is adjusted to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0010] In one embodiment, the method further comprises:
[0011] Generate a first control instruction according to the target control strategy, and send the first control instruction to the edge computing node corresponding to the target control strategy; the first control instruction is used to instruct the edge computing node to control the power equipment corresponding to the edge computing node;
[0012] or,
[0013] The target control strategy is sent to an edge computing node corresponding to the target control strategy; the edge computing node is used to generate a second control instruction according to the target control strategy, so as to control the power equipment corresponding to the edge computing node through the second control instruction.
[0014] In one embodiment, the method further comprises:
[0015] If the target safety assessment result exceeds the first preset safety threshold, a first warning signal is generated; the first warning signal is used to indicate that there is an abnormality in the current operating state of the distribution network;
[0016] If the initial safety assessment result exceeds the second preset safety threshold, a second warning signal is generated and sent to the power equipment corresponding to the initial safety assessment result; the second warning signal is used to indicate that there is an abnormality in the current operating state of the power equipment corresponding to the initial safety assessment result.
[0017] In a second aspect, the present application also provides a security assessment method, which is applied to edge computing nodes. The method includes:
[0018] Obtaining operation data of power equipment associated with the edge computing node in the distribution network;
[0019] Determine an initial safety assessment result based on the operating data of the power equipment and a safety assessment model; the safety assessment model is trained based on the historical operating data of the power equipment and the standard safety assessment results corresponding to the historical operating data;
[0020] Determine an initial control strategy corresponding to the initial safety assessment result;
[0021] The initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result are sent to the server.
[0022] In one embodiment, the method further comprises:
[0023] Receive a first control instruction sent by the server, and control the power equipment associated with the edge computing node according to the first control instruction;
[0024] or,
[0025] Receive the target control strategy sent by the server, and determine a second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
[0026] In one embodiment, the method further comprises:
[0027] If the initial safety assessment result exceeds the second preset safety threshold, a third warning signal is generated and sent to the power equipment associated with the edge computing node; the third warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment associated with the edge computing node.
[0028] In a third aspect, the present application also provides a security assessment device. The device comprises:
[0029] A first receiving module is used to receive an initial security assessment result of an electric device sent by each edge computing node in the distribution network, and an initial control strategy corresponding to the initial security assessment result, wherein the initial security assessment result is determined based on the operating data of the electric device, and the initial control strategy is a strategy for controlling the electric device;
[0030] A fusion module is used to fuse the initial security assessment results sent by each edge computing node to obtain a target security assessment result;
[0031] The adjustment module is used to adjust the initial control strategy corresponding to the initial security assessment result according to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node, so as to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0032] In a fourth aspect, the present application also provides a safety assessment device. The device comprises:
[0033] An acquisition module, used to acquire operation data of power equipment associated with the edge computing node in the distribution network;
[0034] A first determination module is used to determine an initial safety assessment result based on the operation data of the power equipment and a safety assessment model; the safety assessment model is trained based on the historical operation data of the power equipment and the standard safety assessment result corresponding to the historical operation data;
[0035] A second determination module is used to determine an initial control strategy corresponding to the initial safety assessment result;
[0036] The sending module is used to send the initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result to the server.
[0037] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.
[0038] In a sixth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.
[0039] The above-mentioned security assessment method, device, computer equipment, storage medium and program product, by receiving the initial security assessment results of the power equipment sent by each edge computing node in the distribution network, and the initial control strategy corresponding to the initial security assessment results, fuses the initial security assessment results sent by each edge computing node to obtain a target security assessment result, and then adjusts the initial control strategy corresponding to the initial security assessment result according to the target security assessment result and the initial security assessment results of the power equipment sent by each edge computing node, so as to determine the target control strategy of the power equipment corresponding to each edge computing node. In the embodiment of the present application, the target security assessment result is obtained by fusing each initial security assessment result, which can improve the comprehensiveness of the security assessment result, and the initial control strategy is adjusted based on the initial security assessment result and the target security assessment result, taking into account the impact of the security assessment results of each device and the overall security assessment result of the distribution network on the control strategy, thereby improving the accuracy of the target control strategy. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] FIG1 is an application environment diagram of a security assessment method provided by an embodiment of the present application;
[0041] FIG2 is a schematic diagram of a flow chart of a security assessment method provided in an embodiment of the present application;
[0042] FIG3 is a schematic diagram of a flow chart of a method for generating a warning signal according to an embodiment of the present application;
[0043] FIG4 is a flow chart of another security assessment method provided in an embodiment of the present application;
[0044] FIG5 is a flow chart of a method for dynamic security assessment of a distribution network provided in an embodiment of the present application;
[0045] FIG6 is a structural block diagram of a security assessment device provided in an embodiment of the present application;
[0046] FIG. 7 is a structural block diagram of another security assessment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] With the rapid development of the economy, electricity has become an indispensable infrastructure in modern society, playing a vital role in the stable operation of people's lives and industrial production. As an important link in the power system connecting the transmission network and users, the safety and reliability of the distribution network directly affect the stability and power supply quality of the entire power system. Therefore, it is of great significance to conduct a safety assessment of the distribution network and promptly discover and eliminate potential safety hazards to ensure the stable operation of the power system and improve the power supply quality.
[0049] At present, when conducting a security assessment on a distribution network, the operating data of each device in the distribution network is usually collected through sensors, and then a security assessment is performed at each node.
[0050] However, since the traditional distribution network safety assessment method is to conduct safety assessment at each node separately, the operating data used for safety assessment is not comprehensive enough, resulting in low accuracy of safety assessment.
[0051] The security assessment method provided in the embodiment of the present application can be applied in the application environment as shown in FIG1. The edge computing node 102 communicates with the server 101 and the power device 103 respectively. The edge computing node 102 can be, but is not limited to, various edge servers, programmable logic controllers (PLCs), edge switches, computers, laptops, smart phones, and tablet computers. The server 101 can be implemented as an independent server or a server cluster consisting of multiple servers.
[0052] In one embodiment, as shown in FIG. 2 , FIG. 2 is a flow chart of a security assessment method provided in an embodiment of the present application, and the method is applied to the server 101 in FIG. 1 as an example for explanation. The method includes the following steps:
[0053] S201, receiving initial security assessment results of power equipment sent by each edge computing node in the distribution network, and an initial control strategy corresponding to the initial security assessment results.
[0054] The initial safety assessment result is determined based on the operating data of the power equipment, and the initial control strategy is a strategy used to control the power equipment.
[0055] Optionally, the security assessment result may include at least one of a security assessment score and a security assessment level.
[0056] Exemplarily, the operating data of the power equipment can be collected by sensors connected to the edge computing node and the power equipment, wherein the operating data of the power equipment can be, for example, the current, voltage, power, temperature, etc. when the power equipment is running.
[0057] In one embodiment, the edge computing node is connected to the corresponding power equipment, and the edge settlement node can obtain the operating data of the corresponding power equipment, and use the operating data of the power equipment as the input of the security assessment model to obtain the initial security assessment result output by the security assessment model. Then the edge computing node can determine the initial control strategy corresponding to the initial security assessment result based on the corresponding relationship between the security assessment result and the control strategy. Finally, the initial security assessment result and the initial control strategy corresponding to the initial security assessment result are sent to the server.
[0058] The server can receive the initial security assessment result sent by the edge computing node and the initial control strategy corresponding to the initial security assessment result.
[0059] S202: The initial security assessment results sent by each edge computing node are integrated to obtain a target security assessment result.
[0060] Exemplarily, assuming that the security assessment result is a security assessment score, weights can be set for the initial security assessment results of each edge computing node respectively, and then the weights corresponding to the initial security assessment results of each edge computing node and each initial security assessment result are weighted summed up to achieve the fusion of the initial security assessment results sent by each edge computing node, and the result of the weighted sum is used as the target security assessment result.
[0061] S203, according to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node, adjust the initial control strategy corresponding to the initial security assessment result to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0062] Optionally, the target safety assessment result can be compared with the initial safety assessment result of the power equipment to determine the difference between the two. The initial control strategy is evaluated based on the difference, for example, whether the initial control strategy can cope with the current safety risks, or whether the initial control strategy can cover all the potential hidden dangers currently existing, and then the strategy evaluation result is determined. Based on the strategy evaluation result, the initial control strategy corresponding to the initial safety assessment result is adjusted to obtain the target control strategy, and then the power equipment is controlled based on the target control strategy.
[0063] In one embodiment, the power equipment can be controlled based on the target control strategy in the following manner:
[0064] A first control instruction is generated according to the target control strategy, and the first control instruction is sent to the edge computing node. After receiving the first control instruction, the edge computing node forwards the first control instruction to the corresponding power device to control the power device. The first control instruction may be, for example, a switch instruction, a parameter adjustment instruction, etc.
[0065] Alternatively, the power equipment can be controlled based on the target control strategy in the following ways:
[0066] The server may send the target control strategy to the corresponding edge computing node. After receiving the target control strategy, the edge computing node may generate a second control instruction according to the target control strategy, and then send the second control instruction to the corresponding power device to control the power device. The second control instruction may be, for example, a switch instruction, a parameter adjustment instruction, etc.
[0067] In an embodiment of the present application, by receiving the initial security assessment results of the power equipment sent by each edge computing node in the distribution network, and the initial control strategy corresponding to the initial security assessment results, the initial security assessment results sent by each edge computing node are integrated to obtain a target security assessment result, and then according to the target security assessment result and the initial security assessment results of the power equipment sent by each edge computing node, the initial control strategy corresponding to the initial security assessment result is adjusted to determine the target control strategy of the power equipment corresponding to each edge computing node. Since in an embodiment of the present application, the target security assessment result is obtained by integrating each initial security assessment result, the comprehensiveness of the security assessment result can be improved, and the initial control strategy is adjusted based on the initial security assessment result and the target security assessment result, the influence of the security assessment results of each device and the overall security assessment result of the distribution network on the control strategy is considered, and the accuracy of the target control strategy is improved.
[0068] Based on the above embodiment, the method further includes the following steps:
[0069] A first control instruction is generated according to the target control strategy, and the first control instruction is sent to an edge computing node corresponding to the target control strategy.
[0070] Among them, the first control instruction is used to instruct the edge computing node to control the power equipment corresponding to the edge computing node.
[0071] Optionally, the server may generate the first control instruction according to the target control strategy. Alternatively, the server may receive the first control instruction input by the user.
[0072] After the server receives or generates the first control instruction, the first control instruction can be transmitted to the corresponding edge computing node. After receiving the first control instruction, the edge computing node forwards the first control instruction to the corresponding power device to control the power device.
[0073] Exemplarily, if the first control instruction is a temperature adjustment instruction, the electrical equipment may adjust the temperature to the target temperature in response to the first control instruction.
[0074] Alternatively, the target control strategy is sent to the edge computing node corresponding to the target control strategy.
[0075] Among them, the edge computing node is used to generate a second control instruction according to the target control strategy, so as to control the power equipment corresponding to the edge computing node through the second control instruction.
[0076] In another possible implementation, the server may send the generated target control strategy to the corresponding edge computing node. After receiving the target control strategy, the edge computing node may generate a second control instruction according to the target control strategy, and send the second control instruction to the corresponding power device, so as to control the power device corresponding to the edge computing node through the second control instruction.
[0077] Exemplarily, if the second control instruction is a shutdown instruction, the electrical equipment may shut down the work or function being executed in response to the second control instruction.
[0078] In the embodiment of the present application, a first control instruction is generated according to the target control strategy, and the first control instruction is sent to the edge computing node corresponding to the target control strategy, or the target control strategy is sent to the edge computing node corresponding to the target control strategy, and the power equipment can be controlled based on the target control strategy, so that when the operating state of the power equipment is abnormal, the operating state of the power equipment is adjusted in time, thereby improving the safety of the distribution network. In addition, the ability to generate control instructions on a server or edge computing node improves the flexibility of generating control instructions.
[0079] Referring to Figure 3, Figure 3 is a flow chart of a method for generating a warning signal provided in an embodiment of the present application. Based on the above embodiment, the method further includes the following steps:
[0080] S301: If the target safety assessment result exceeds a first preset safety threshold, a first warning signal is generated.
[0081] Among them, the first warning signal is used to indicate that there is an abnormality in the current operating state of the distribution network.
[0082] Optionally, a first preset safety threshold can be set according to the normal operating state of the distribution network. The server can monitor the target safety assessment result in real time according to the first preset safety threshold, and if the target safety assessment result exceeds the first preset safety threshold, a first warning signal is generated to indicate that there is an abnormality in the current overall operating state of the distribution network through the first warning signal.
[0083] S302: If the initial safety assessment result exceeds a second preset safety threshold, a second warning signal is generated and sent to the power equipment corresponding to the initial safety assessment result.
[0084] The second warning signal is used to indicate that there is an abnormality in the current operating state of the power equipment corresponding to the initial safety assessment result.
[0085] Optionally, a second preset safety threshold can be set according to the normal operating state of the power equipment. The server can monitor the initial safety assessment result in real time according to the second preset safety threshold. If the initial safety assessment result exceeds the second preset safety threshold, a second warning signal is generated and sent to the edge computing device. After receiving the second warning signal sent by the server, the edge computing device forwards the second warning signal to the corresponding power equipment to indicate that the operating state of the power equipment is abnormal through the second warning signal.
[0086] Exemplarily, the initial security assessment result can be stored in the variable risk_score, and the server can monitor the variable risk_score in real time. If the variable risk_score is greater than a second preset threshold, that is, expressed by the formula ifrisk_score > threshold: send_alert(), a second warning signal is generated and sent to the edge computing device.
[0087] In the embodiment of the present application, if the target safety assessment result exceeds the first preset safety threshold, a first warning signal is generated; if the initial safety assessment result exceeds the second preset safety threshold, a second warning signal is generated, and the second warning signal is sent to the power equipment corresponding to the initial safety assessment result, and the operating status of the distribution network and the power equipment in the distribution network is monitored in real time. When the operating status of the distribution network or the power equipment in the distribution network is abnormal, a warning signal can be sent in time to indicate that the operating status of the current distribution network or the power equipment in the distribution network is abnormal through the warning signal, so as to perform the corresponding warning operation in time and improve the safety of the distribution network operation. In addition, in the embodiment of the present application, the overall operating status of the distribution network and the operating status of each power equipment are monitored at the same time, which improves the comprehensiveness of real-time monitoring and reduces the probability of errors in the real-time monitoring process.
[0088] In one embodiment, as shown in FIG. 4 , FIG. 4 is a flow chart of another security assessment method provided in an embodiment of the present application, and the method is applied to the edge computing node 102 in FIG. 1 as an example for explanation. The method includes the following steps:
[0089] S401, obtaining operation data of power equipment associated with the edge computing node in the distribution network.
[0090] Optionally, the power device associated with the edge computing node is the power device that is communicatively connected to the edge computing node.
[0091] Exemplarily, the operating data of the power equipment can be collected by sensors connected to the edge computing node and the power equipment, wherein the operating data of the power equipment can be, for example, the current, voltage, power, temperature, etc. when the power equipment is running.
[0092] In a possible implementation, the operating data of the power device can be read from the sensor by the formula data = Sensor.read(), and the read operating data can be stored in the variable data. After the operating data of the power device is obtained, the operating data can be preprocessed according to the formula data_processed = Preprocess(data), and then the preprocessed operating data can be stored in the variable data_processed.
[0093] The above-mentioned pre-processing of the operating data may, for example, include performing operations such as data cleaning, filtering, and anomaly detection on the operating data to obtain operating data of higher quality.
[0094] S402, determining an initial safety assessment result based on the operation data of the power equipment and the safety assessment model.
[0095] Among them, the safety assessment model is trained based on the historical operation data of the power equipment and the standard safety assessment results corresponding to the historical operation data.
[0096] In one embodiment, the historical operation data of each power device in the distribution network and the standard safety assessment results corresponding to the historical operation data can be obtained, and then the historical operation data of each power device in the distribution network and the standard safety assessment results corresponding to the historical operation data are used as a training set. The training set is trained using a deep reinforcement learning algorithm, and the loss function is minimized through an optimization strategy to continuously update the weights and parameters of the model to obtain a safety assessment model. The safety assessment model can generate corresponding initial safety assessment results based on the operation data of the power device.
[0097] For example, if the deep reinforcement learning algorithm is a DQN (Deep Q-Learning) algorithm, the training set can be trained by the formula model = DQN.train(data_processed_h) to obtain a safety assessment model. The training set is stored in the variable data_processed_h, and the safety assessment model is stored in the variable model.
[0098] Optionally, the network structure and hyperparameters of the security assessment model can also be optimized through the validation set to improve the accuracy of the security assessment model.
[0099] In an embodiment of the present application, the operating data of the power equipment can be used as the input of the safety assessment model, and then the initial safety assessment result output by the safety assessment model can be obtained.
[0100] Exemplarily, the initial safety assessment result may be determined based on the operation data of the power equipment and the safety assessment model by the formula safety_score=model.evaluate_safety(data_processed), wherein the initial safety assessment result is stored in the variable safety_score.
[0101] S403, determining an initial control strategy corresponding to the initial safety assessment result.
[0102] Optionally, the edge computing node may determine an initial control strategy corresponding to the initial security assessment result according to a corresponding relationship between the initial security assessment result and the initial control strategy.
[0103] In a possible implementation, if the initial safety assessment result is a safety assessment level, the corresponding relationship between the initial safety assessment result and the control strategy may be as shown in Table 1 below:
[0104]
[0105] Table 1
[0106] Exemplarily, as shown in Table 1, if the initial safety assessment result is safety assessment level B, then the control strategy B corresponding to the safety assessment level B is determined as the initial control strategy.
[0107] S404: Send the initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result to the server.
[0108] In a possible implementation, the edge computing node may send the initial security assessment result of the power equipment and the initial control strategy corresponding to the initial security assessment result to the server. The server may receive the initial security assessment result and the initial control strategy corresponding to the initial security assessment result sent by the edge computing node, fuse the initial security assessment results sent by each edge computing node to obtain a target security assessment result, and then adjust the initial control strategy corresponding to the initial security assessment result according to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0109] In another possible implementation, the current edge computing node can obtain the initial security assessment results of other edge computing nodes in the distribution network and the initial control strategy corresponding to the initial security assessment results through a message queue or a distributed communication protocol. Then the current edge computing node can make collaborative decisions based on the initial security assessment results of all edge computing nodes in the distribution network and the initial control strategy corresponding to the initial security assessment results to obtain the target control strategy.
[0110] Exemplarily, if there are two edge computing nodes in the distribution network, the current edge computing node is Node2, and the other edge computing nodes except the current edge computing node are Node1, then the current edge computing node Node2 can exchange information with other edge computing node Node1 through the formula message = Node1.send_message(message_data). Then the current edge computing node Node2 can make a collaborative decision through the formula decision = Node2.collaborative_decision(message) to determine the target control strategy. Among them, the initial security assessment results of all edge computing nodes in the distribution network, and the initial control strategy collaborative decision corresponding to the initial security assessment results are stored in the variable message, and the target control strategy is stored in the variable decision.
[0111] In the embodiment of the present application, the operation data of the power equipment associated with the edge computing node in the distribution network is obtained, and the initial security assessment result is determined based on the operation data of the power equipment and the security assessment model, and the initial control strategy corresponding to the initial security assessment result is determined, and the initial security assessment result of the power equipment and the initial control strategy corresponding to the initial security assessment result are sent to the server, so that the initial security assessment results of each edge computing node can be integrated through the server to obtain the target security assessment result, and the initial control strategy can be adjusted based on the target security assessment result and the initial security assessment result to obtain the target control strategy corresponding to the initial security assessment result, which can improve the comprehensiveness of the security assessment result and the accuracy of the target control strategy. In addition, the calculation of the initial security assessment result at the edge computing node can reduce the amount of data calculated and improve the efficiency of the security assessment of the distribution network.
[0112] Based on the above embodiment, the method further includes the following steps:
[0113] Receive a first control instruction sent by the server, and control the power equipment associated with the edge computing node according to the first control instruction.
[0114] In one embodiment, after receiving the first control instruction, the edge computing node forwards the first control instruction to the corresponding power device to control the power device.
[0115] Exemplarily, if the first control instruction is a temperature adjustment instruction, the electrical equipment may adjust the temperature to the target temperature in response to the first control instruction.
[0116] Optionally, the first control instruction sent by the server may be obtained by the formula remote_guidance = CloudPlatform.guide(control_signal1), wherein the first control instruction is stored in the variable control_signal1, and the first control instruction received by the edge computing node is stored in remote_guidance.
[0117] Alternatively, a target control strategy sent by the server is received, and a second control instruction is determined according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
[0118] In one embodiment, after receiving the target control strategy, the edge computing node can generate a second control instruction according to the target control strategy, and send the second control instruction to the corresponding power device to control the power device corresponding to the edge computing node through the second control instruction.
[0119] Exemplarily, if the second control instruction is a shutdown instruction, the electrical equipment may shut down the work or function being executed in response to the second control instruction.
[0120] Optionally, a control instruction can be autonomously generated according to the formula control_signal2 = model.control(data_processed), and the control instruction is sent to the corresponding power device to control the power device corresponding to the edge computing node through the control instruction. The control instruction is stored in the variable control_signal2. It should be noted that the above-mentioned autonomously generated control instruction is not the second control instruction, but a control instruction generated according to the initial safety assessment result and the initial control strategy.
[0121] In the embodiment of the present application, the edge computing node receives the first control instruction sent by the server, and controls the power equipment associated with the edge computing node according to the first control instruction, or receives the target control strategy sent by the server, and determines the second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction. The power equipment can be controlled based on the target control strategy, so that when the operating state of the power equipment is abnormal, the operating state of the power equipment can be adjusted in time, thereby improving the safety of the distribution network. In addition, the ability to generate control instructions on the server or edge computing node improves the flexibility of generating control instructions.
[0122] Based on the above embodiment, the method further includes the following steps:
[0123] If the initial safety assessment result exceeds the second preset safety threshold, a third warning signal is generated and sent to the power equipment associated with the edge computing node.
[0124] Among them, the third warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment associated with the edge computing node.
[0125] Optionally, a second preset safety threshold may be set according to the normal operating state of the power equipment. The edge computing node can monitor the initial safety assessment result in real time according to the second preset safety threshold, and if the initial safety assessment result exceeds the second preset safety threshold, a third warning signal is generated, and the third warning signal is sent to the corresponding power equipment to indicate that the operating state of the power equipment is abnormal through the third warning signal.
[0126] In an embodiment of the present application, if the initial safety assessment result exceeds the second preset safety threshold, a third warning signal is generated and sent to the power equipment associated with the edge computing node, so as to indicate through the third warning signal that there is an abnormality in the current operating status of the power equipment associated with the edge computing node, thereby enabling real-time monitoring of the operating status of the power equipment in the distribution network. When the operating status of the power equipment in the distribution network is abnormal, a warning signal can be sent in time to indicate through the warning signal that there is an abnormality in the operating status of the power equipment in the current distribution network, so as to perform corresponding warning operations in time to improve the safety of the operation of the distribution network.
[0127] Referring to Figure 5, Figure 5 is a flow chart of a method for dynamic security assessment of a distribution network provided in an embodiment of the present application. The method comprises the following steps:
[0128] S501, each edge computing node uses a deep reinforcement learning algorithm to train the historical operation data of the power equipment and the standard safety assessment results corresponding to the historical operation data to obtain a safety assessment model.
[0129] S502: Each edge computing node determines an initial safety assessment result based on the operating data of the power equipment and the safety assessment model.
[0130] S503, each edge computing node determines an initial control strategy corresponding to the initial safety assessment result, and sends the initial safety assessment result of the power equipment and the initial control strategy corresponding to the initial safety assessment result to the server.
[0131] S504: The server integrates the initial security assessment results sent by each edge computing node to obtain a target security assessment result.
[0132] S505, the server adjusts the initial control strategy corresponding to the initial security assessment result according to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0133] S506: The server generates a first control instruction according to the target control strategy, and sends the first control instruction to the edge computing node corresponding to the target control strategy. The edge computing node receives the first control instruction sent by the server, and controls the power equipment associated with the edge computing node according to the first control instruction.
[0134] S507, the server sends the target control strategy to the edge computing node corresponding to the target control strategy. The edge computing node receives the target control strategy sent by the server, and determines a second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
[0135] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0136] Based on the same inventive concept, the embodiment of the present application also provides a security assessment device for implementing the security assessment method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more security assessment device embodiments provided below can refer to the limitations on the security assessment method above, and will not be repeated here.
[0137] In one embodiment, as shown in FIG. 6 , FIG. 6 is a structural block diagram of a security assessment device provided in an embodiment of the present application, and the device 600 includes:
[0138] The first receiving module 601 is used to receive the initial security assessment results of the power equipment sent by each edge computing node in the distribution network, and the initial control strategy corresponding to the initial security assessment results. The initial security assessment results are determined based on the operating data of the power equipment, and the initial control strategy is a strategy for controlling the power equipment.
[0139] The fusion module 602 is used to fuse the initial security assessment results sent by each edge computing node to obtain a target security assessment result.
[0140] The adjustment module 603 is used to adjust the initial control strategy corresponding to the initial security assessment result according to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node, so as to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0141] In one embodiment, the apparatus 600 further includes:
[0142] The first generation module is used to generate a first control instruction according to a target control strategy, and send the first control instruction to an edge computing node corresponding to the target control strategy; the first control instruction is used to instruct the edge computing node to control the power equipment corresponding to the edge computing node.
[0143] or,
[0144] The second generation module is used to send the target control strategy to the edge computing node corresponding to the target control strategy; the edge computing node is used to generate a second control instruction according to the target control strategy, so as to control the power equipment corresponding to the edge computing node through the second control instruction.
[0145] In one embodiment, the apparatus 600 further includes:
[0146] The third generating module is used to generate a first warning signal if the target safety assessment result exceeds a preset safety threshold; the first warning signal is used to indicate that there is an abnormality in the current operating state of the distribution network.
[0147] The fourth generation module is used to generate a second warning signal if the initial safety assessment result exceeds a preset safety threshold, and send the second warning signal to the power equipment corresponding to the initial safety assessment result; the second warning signal is used to indicate that there is an abnormality in the current operating state of the power equipment corresponding to the initial safety assessment result.
[0148] In one embodiment, as shown in FIG. 7 , FIG. 7 is a structural block diagram of another security assessment device provided in an embodiment of the present application, and the device 700 includes:
[0149] The acquisition module 701 is used to obtain the operating data of the power equipment associated with the edge computing node in the distribution network.
[0150] The first determination module 702 is used to determine an initial safety assessment result based on the operation data of the power equipment and a safety assessment model; the safety assessment model is trained based on the historical operation data of the power equipment and the standard safety assessment results corresponding to the historical operation data.
[0151] The second determination module 703 is used to determine an initial control strategy corresponding to the initial safety assessment result.
[0152] The sending module 704 is used to send the initial safety assessment result of the power equipment and the initial control strategy corresponding to the initial safety assessment result to the server.
[0153] In one embodiment, the apparatus 700 further includes:
[0154] The first control module is used to receive a first control instruction sent by the server and control the power equipment associated with the edge computing node according to the first control instruction.
[0155] or,
[0156] The second control module is used to receive the target control strategy sent by the server, and determine the second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
[0157] In one embodiment, the apparatus 700 further includes:
[0158] The fifth generation module is used to generate a third warning signal if the initial safety assessment result exceeds a preset safety threshold, and send the third warning signal to the power equipment associated with the edge computing node; the third warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment associated with the edge computing node.
[0159] Each module in the above security assessment device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0160] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0161] Receive the initial security assessment results of the power equipment sent by each edge computing node in the distribution network, and the initial control strategy corresponding to the initial security assessment results; the initial security assessment results are determined based on the operating data of the power equipment, and the initial control strategy is a strategy for controlling the power equipment;
[0162] The initial security assessment results sent by each edge computing node are integrated to obtain the target security assessment results;
[0163] According to the target security assessment results and the initial security assessment results of the power equipment sent by each edge computing node, the initial control strategy corresponding to the initial security assessment results is adjusted to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0164] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0165] Generate a first control instruction according to the target control strategy, and send the first control instruction to the edge computing node corresponding to the target control strategy; the first control instruction is used to instruct the edge computing node to control the power equipment corresponding to the edge computing node;
[0166] or,
[0167] The target control strategy is sent to the edge computing node corresponding to the target control strategy; the edge computing node is used to generate a second control instruction according to the target control strategy, so as to control the power equipment corresponding to the edge computing node through the second control instruction.
[0168] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0169] If the target safety assessment result exceeds the preset safety threshold, a first warning signal is generated; the first warning signal is used to indicate that there is an abnormality in the current operating state of the distribution network;
[0170] If the initial safety assessment result exceeds the preset safety threshold, a second warning signal is generated and sent to the power equipment corresponding to the initial safety assessment result; the second warning signal is used to indicate that there is an abnormality in the current operating state of the power equipment corresponding to the initial safety assessment result.
[0171] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0172] Obtaining the operating data of the power equipment associated with the edge computing node in the distribution network;
[0173] Based on the operation data of the power equipment and the safety assessment model, the initial safety assessment result is determined; the safety assessment model is trained based on the historical operation data of the power equipment and the standard safety assessment results corresponding to the historical operation data;
[0174] Determine the initial control strategy corresponding to the initial safety assessment results;
[0175] The initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result are sent to the server.
[0176] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0177] Receive a first control instruction sent by the server, and control the power equipment associated with the edge computing node according to the first control instruction;
[0178] or,
[0179] Receive the target control strategy sent by the server, and determine the second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
[0180] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0181] If the initial safety assessment result exceeds the preset safety threshold, a third warning signal is generated and sent to the power equipment associated with the edge computing node; the third warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment associated with the edge computing node.
[0182] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0183] Receive the initial security assessment results of the power equipment sent by each edge computing node in the distribution network, and the initial control strategy corresponding to the initial security assessment results; the initial security assessment results are determined based on the operating data of the power equipment, and the initial control strategy is a strategy for controlling the power equipment;
[0184] The initial security assessment results sent by each edge computing node are integrated to obtain the target security assessment results;
[0185] According to the target security assessment results and the initial security assessment results of the power equipment sent by each edge computing node, the initial control strategy corresponding to the initial security assessment results is adjusted to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0186] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0187] Generate a first control instruction according to the target control strategy, and send the first control instruction to the edge computing node corresponding to the target control strategy; the first control instruction is used to instruct the edge computing node to control the power equipment corresponding to the edge computing node;
[0188] or,
[0189] The target control strategy is sent to the edge computing node corresponding to the target control strategy; the edge computing node is used to generate a second control instruction according to the target control strategy, so as to control the power equipment corresponding to the edge computing node through the second control instruction.
[0190] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0191] If the target safety assessment result exceeds the preset safety threshold, a first warning signal is generated; the first warning signal is used to indicate that there is an abnormality in the current operating state of the distribution network;
[0192] If the initial safety assessment result exceeds the preset safety threshold, a second warning signal is generated and sent to the power equipment corresponding to the initial safety assessment result; the second warning signal is used to indicate that there is an abnormality in the current operating state of the power equipment corresponding to the initial safety assessment result.
[0193] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0194] Obtaining the operating data of the power equipment associated with the edge computing node in the distribution network;
[0195] Based on the operation data of the power equipment and the safety assessment model, the initial safety assessment result is determined; the safety assessment model is trained based on the historical operation data of the power equipment and the standard safety assessment results corresponding to the historical operation data;
[0196] Determine the initial control strategy corresponding to the initial safety assessment results;
[0197] The initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result are sent to the server.
[0198] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0199] Receive a first control instruction sent by the server, and control the power equipment associated with the edge computing node according to the first control instruction;
[0200] or,
[0201] Receive the target control strategy sent by the server, and determine the second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
[0202] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0203] If the initial safety assessment result exceeds the preset safety threshold, a third warning signal is generated and sent to the power equipment associated with the edge computing node; the third warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment associated with the edge computing node.
[0204] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0205] Receive the initial security assessment results of the power equipment sent by each edge computing node in the distribution network, and the initial control strategy corresponding to the initial security assessment results; the initial security assessment results are determined based on the operating data of the power equipment, and the initial control strategy is a strategy for controlling the power equipment;
[0206] The initial security assessment results sent by each edge computing node are integrated to obtain the target security assessment results;
[0207] According to the target security assessment results and the initial security assessment results of the power equipment sent by each edge computing node, the initial control strategy corresponding to the initial security assessment results is adjusted to determine the target control strategy of the power equipment corresponding to each edge computing node.
[0208] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0209] Generate a first control instruction according to the target control strategy, and send the first control instruction to the edge computing node corresponding to the target control strategy; the first control instruction is used to instruct the edge computing node to control the power equipment corresponding to the edge computing node;
[0210] or,
[0211] The target control strategy is sent to the edge computing node corresponding to the target control strategy; the edge computing node is used to generate a second control instruction according to the target control strategy, so as to control the power equipment corresponding to the edge computing node through the second control instruction.
[0212] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0213] If the target safety assessment result exceeds the preset safety threshold, a first warning signal is generated; the first warning signal is used to indicate that there is an abnormality in the current operating state of the distribution network;
[0214] If the initial safety assessment result exceeds the preset safety threshold, a second warning signal is generated and sent to the power equipment corresponding to the initial safety assessment result; the second warning signal is used to indicate that there is an abnormality in the current operating state of the power equipment corresponding to the initial safety assessment result.
[0215] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0216] Obtaining the operating data of the power equipment associated with the edge computing node in the distribution network;
[0217] Based on the operation data of the power equipment and the safety assessment model, the initial safety assessment result is determined; the safety assessment model is trained based on the historical operation data of the power equipment and the standard safety assessment results corresponding to the historical operation data;
[0218] Determine the initial control strategy corresponding to the initial safety assessment results;
[0219] The initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result are sent to the server.
[0220] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0221] Receive a first control instruction sent by the server, and control the power equipment associated with the edge computing node according to the first control instruction;
[0222] or,
[0223] Receive the target control strategy sent by the server, and determine the second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
[0224] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0225] If the initial safety assessment result exceeds the preset safety threshold, a third warning signal is generated and sent to the power equipment associated with the edge computing node; the third warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment associated with the edge computing node.
[0226] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0227] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0228] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A safety assessment method, characterized in that: Applied to a server, the method comprises: Receive an initial security assessment result of an electric power device sent by each edge computing node in a distribution network, and an initial control strategy corresponding to the initial security assessment result; the initial security assessment result is determined based on the operating data of the electric power device, and the initial control strategy is a strategy for controlling the electric power device; The initial security assessment results sent by each edge computing node are integrated to obtain a target security assessment result; According to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node, the initial control strategy corresponding to the initial security assessment result is adjusted to determine the target control strategy of the power equipment corresponding to each edge computing node.
2. The method according to claim 1, characterized in that The method further comprises: Generate a first control instruction according to the target control strategy, and send the first control instruction to the edge computing node corresponding to the target control strategy; the first control instruction is used to instruct the edge computing node to control the power equipment corresponding to the edge computing node; or, The target control strategy is sent to an edge computing node corresponding to the target control strategy; the edge computing node is used to generate a second control instruction according to the target control strategy, so as to control the power equipment corresponding to the edge computing node through the second control instruction.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: If the target safety assessment result exceeds a first preset safety threshold, a first warning signal is generated; the first warning signal is used to indicate that there is an abnormality in the current operating state of the distribution network; If the initial safety assessment result exceeds a second preset safety threshold, a second warning signal is generated and sent to the power equipment corresponding to the initial safety assessment result; the second warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment corresponding to the initial safety assessment result.
4. A safety assessment method, characterized in that: Applied to an edge computing node, the method comprises: Obtaining operation data of power equipment associated with the edge computing node in the distribution network; Determine an initial safety assessment result based on the operating data of the power equipment and a safety assessment model; the safety assessment model is trained based on the historical operating data of the power equipment and the standard safety assessment results corresponding to the historical operating data; Determining an initial control strategy corresponding to the initial safety assessment result; The initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result are sent to the server.
5. The method according to claim 4, characterized in that The method further comprises: receiving a first control instruction sent by the server, and controlling the power equipment associated with the edge computing node according to the first control instruction; or, Receive the target control strategy sent by the server, and determine a second control instruction according to the target control strategy, so as to control the power equipment associated with the edge computing node according to the second control instruction.
6. The method according to claim 4 or 5, characterized in that: The method further comprises: If the initial safety assessment result exceeds the second preset safety threshold, a third warning signal is generated and sent to the power equipment associated with the edge computing node; the third warning signal is used to indicate that there is an abnormality in the current operating status of the power equipment associated with the edge computing node.
7. A safety assessment device, characterized in that: The device comprises: A first receiving module is used to receive an initial security assessment result of the power equipment sent by each edge computing node in the distribution network, and an initial control strategy corresponding to the initial security assessment result; the initial security assessment result is determined based on the operating data of the power equipment, and the initial control strategy is a strategy for controlling the power equipment; A fusion module, used to fuse the initial security assessment results sent by each edge computing node to obtain a target security assessment result; The adjustment module is used to adjust the initial control strategy corresponding to the initial security assessment result according to the target security assessment result and the initial security assessment result of the power equipment sent by each edge computing node, so as to determine the target control strategy of the power equipment corresponding to each edge computing node.
8. A safety assessment device, characterized in that: The device comprises: An acquisition module, used to acquire operation data of power equipment associated with the edge computing node in the distribution network; A first determination module is used to determine an initial safety assessment result based on the operation data of the power equipment and a safety assessment model; the safety assessment model is trained based on the historical operation data of the power equipment and the standard safety assessment result corresponding to the historical operation data; A second determination module, used to determine an initial control strategy corresponding to the initial safety assessment result; The sending module is used to send the initial safety assessment result of the electric power equipment and the initial control strategy corresponding to the initial safety assessment result to the server.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and apparatus for computing lithium ion batteries residual electric energy
CN101303397A
Power distribution network regional autonomous rapid response method and system based on edge data dynamic fusion
CN112669172A
Micro-grid cooperative scheduling control system based on edge calculation
CN115459259A
Method and system for evaluating security of edge computing terminal
CN115525901A
Equipment state trend sensing method based on edge computing algorithm
CN118152970A
