Power protection and information system test method and device, electronic equipment and storage medium

By using simulation containers to build substation simulation models in the power information protection system, the high cost caused by manual construction was solved, and low-cost and accurate testing was achieved.

CN121979772APending Publication Date: 2026-05-05CYG SUNRI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CYG SUNRI CO LTD
Filing Date
2025-12-02
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

In the testing of the power information protection system, the large number of information protection substations and the high cost of manually building the system resulted in high testing costs.

Method used

Multiple security information service substations are constructed using a simulation container. Each model corresponds to one security information service substation, is connected to the security information service master station, sends simulation commands to perform simulation, generates simulation data and performs tests, and receives results from the master station, thus achieving testing without the need for manual setup.

Benefits of technology

It reduces testing costs and makes the testing environment consistent with the real environment, thereby improving testing accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121979772A_ABST
    Figure CN121979772A_ABST
Patent Text Reader

Abstract

The invention discloses a power protection and information system testing method and device, electronic equipment and a storage medium, and the method comprises the steps: building a plurality of substation simulation models of a plurality of protection and information substations based on a simulation container; and sending a corresponding simulation instruction to each substation simulation model, so that each substation simulation model performs analog simulation on a corresponding protection and information communication substation according to a group of preset data carried by the corresponding simulation instruction to generate a group of simulation data, and sending a group of simulation data to the protection and information communication master station, the protection information master station performs a simulation test on a corresponding protection information substation according to each group of simulation data to obtain a simulation test result, and sends the simulation test result to the control host; and receiving a plurality of simulation test results returned by the information protection master station. According to the method, the power protection and information system is tested on the basis of the multiple substation simulation models and the protection and information master station constructed by the simulation container, and the testing cost of the power protection and information system is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of power information protection system, and in particular relates to a power information protection system testing method and apparatus, electronic equipment and storage medium. Background Technology

[0002] In the field of power information protection system technology, the main station of the power information protection system needs to connect to the information protection substations of all substations / power plants within its jurisdiction (expected to connect hundreds or thousands of information protection substations). Each substation / power plant's information protection substation connects to all protection devices within the station, configures the information protection model, forwards data from the protection devices within the station to the information protection main station, and supports corresponding main station command responses, such as switch quantity calls, analog quantity calls, soft pressure plate calls, setting value calls, waveform record list calls, waveform record file calls, etc.

[0003] Currently, testing the power information protection system requires manually setting up the system, which consists of a master station and substations. However, due to the large number of substations in the power information protection system, significant manpower is needed to build it, resulting in high testing costs. Summary of the Invention

[0004] In view of the above, embodiments of this application provide a power information security system testing method and apparatus, electronic equipment and storage medium to overcome the problems of the prior art.

[0005] In a first aspect, embodiments of this application provide a power information security system testing method, applied to a control host in a power information security system testing system. The power information security system testing system further includes a simulation container and an information security master station connected to the control host. The power information security system testing method includes: Based on the simulation container, multiple substation simulation models of multiple information protection substations are constructed. Each substation simulation model corresponds to one information protection substation. The multiple information protection substations are connected to the information protection master station to form the power information protection system. A corresponding simulation command is sent to each substation simulation model, so that each substation simulation model performs simulation on the corresponding information protection substation according to a set of preset data carried by the corresponding simulation command, generates a set of simulation data, sends the set of simulation data to the information protection master station, and enables the information protection master station to perform simulation test on the corresponding information protection substation according to each set of simulation data, obtains a simulation test result, and sends the simulation test result to the control host. The system receives multiple simulation test results returned by the main security information protection station, and each simulation test result corresponds to one of the security information protection substations.

[0006] In some optional embodiments, the construction of multiple substation simulation models based on the simulation container includes: Obtain multiple sets of configuration information for the multiple information protection substations, each set of configuration information corresponding to one information protection substation, and each set of configuration information includes a set of operating configuration parameters; Multiple sets of runtime configuration parameters are sent to the simulation container so that the simulation container can construct the multiple substation simulation models based on the multiple sets of runtime configuration parameters.

[0007] In some optional embodiments, the main security information station pre-stores the multiple sets of configuration information, and obtaining the multiple sets of configuration information of the multiple security information substations includes: Send a first acquisition instruction to the security master station, so that the security master station sends the multiple sets of configuration information to the control host according to the first acquisition instruction; Receive the multiple sets of configuration information returned by the main station of the information security service.

[0008] In some optional embodiments, before sending the first acquisition instruction to the power information guarantee master station, the power information guarantee system testing method further includes: Determine whether the multiple sets of configuration information already exist; Sending the first acquisition instruction to the main station includes: When it is determined that the multiple sets of configuration information do not exist, the first acquisition instruction is sent to the security master station.

[0009] In some optional embodiments, each set of configuration information further includes a set of communication configuration parameters. Before sending a corresponding simulation command to each substation simulation model, the power information protection system testing method further includes: The corresponding set of communication configuration parameters is sent to each substation simulation model so that each substation simulation model can establish a communication connection with the main station based on the corresponding set of communication configuration parameters.

[0010] In some optional embodiments, the main power information guarantee station pre-stores multiple sets of preset data, each set of preset data corresponding to one power information guarantee substation; before sending a corresponding simulation command to the simulation model of each substation, the power information guarantee system testing method further includes: Send a second acquisition instruction to the security master station, so that the security master station sends the multiple sets of preset data to the control host according to the second acquisition instruction; Receive the multiple sets of preset data returned by the main station of the information security system.

[0011] In some optional embodiments, each simulation instruction is a first abnormal simulation instruction, and sending a corresponding simulation instruction to each substation simulation model includes: The system sends a corresponding first abnormal simulation instruction to each substation simulation model, so that each substation simulation model can simulate the corresponding information protection substation according to the set of preset data carried by the corresponding first abnormal simulation instruction, generate the set of simulation data, perform interference processing on the set of simulation data to obtain a set of abnormal data, send the set of abnormal data to the information protection master station, and enable the information protection master station to perform simulation testing on the corresponding information protection substation according to each set of abnormal data, obtain the simulation test result, and send the simulation test result to the control host.

[0012] Secondly, embodiments of this application provide a power information security system testing device, applied to a control host in a power information security system testing system. The power information security system testing system further includes a simulation container and an information security master station connected to the control host. The power information security system testing device includes: The construction module is used to construct multiple substation simulation models of multiple information security substations based on the simulation container, with each substation simulation model corresponding to one information security substation; The first sending module is used to send a corresponding simulation instruction to each substation simulation model, so that each substation simulation model can simulate the corresponding information protection substation according to a set of preset data carried by the corresponding simulation instruction, generate a set of simulation data, send the set of simulation data to the information protection master station, and enable the information protection master station to perform simulation tests on the corresponding information protection substation according to each set of simulation data, obtain a simulation test result, and send the simulation test result to the control host. The first receiving module is used to receive multiple simulation test results returned by the main station of the information security system, and each simulation test result corresponds to one of the substations of the information security system.

[0013] Thirdly, embodiments of this application provide an electronic device, including: Memory; One or more processors are coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to perform the power supply and information security system testing method provided in the first aspect above.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, which can be invoked by a processor to execute the power supply and information security system testing method provided in the first aspect above.

[0015] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to execute the power supply and information security system testing method provided in the first aspect above.

[0016] The solution provided in this application constructs multiple substation simulation models based on a simulation container. Each substation simulation model corresponds to one substation, and the multiple substations are connected to a main station to form a power information protection system. A corresponding simulation command is sent to each substation simulation model, enabling each substation simulation model to simulate the corresponding substation based on a set of preset data carried by the simulation command. This generates a set of simulation data, which is then sent to the main station. The main station then performs simulation tests on the corresponding substation based on each set of simulation data, obtaining a simulation test result. This result is sent to the control host, and multiple simulation test results returned by the main station are received. Each simulation test result corresponds to one substation. This solution enables testing of the power information protection system using multiple substation simulation models and a main station constructed based on a simulation container, eliminating the need for manual construction of substations and reducing the cost of testing the power information protection system. Furthermore, by constructing multiple security and information protection substations based on simulation containers, the power security and information protection system containing all security and information protection substations can be tested. This ensures that the test environment is consistent with the actual operating environment of the power security and information protection system, thereby improving the accuracy of testing the power security and information protection system. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This illustration shows a scenario diagram of the test system for the power information guarantee system provided in an embodiment of this application.

[0019] Figure 2 A flowchart illustrating a power information protection system testing method provided in an embodiment of this application is shown.

[0020] Figure 3This illustration shows a scenario flowchart of a method for constructing simulation models of multiple substations in the power information security system testing method provided in this application embodiment.

[0021] Figure 4 This paper illustrates another flowchart of the power information protection system testing method provided in an embodiment of this application.

[0022] Figure 5 A structural block diagram of a power supply and information security system testing device provided in an embodiment of this application is shown.

[0023] Figure 6 A functional block diagram of an electronic device provided in an embodiment of this application is shown.

[0024] Figure 7 This application illustrates a computer-readable storage medium for storing or carrying program code that implements the power supply and information security system testing method provided in this application.

[0025] Figure 8 This application illustrates a computer program product for storing or carrying program code that implements the power supply and information security system testing method provided in this application. Detailed Implementation

[0026] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0027] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0028] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0029] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0030] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0031] In the field of power information protection system technology, the main station of the power information protection system needs to connect to the information protection substations of all substations / power plants within its jurisdiction (expected to connect hundreds or thousands of information protection substations). Each substation / power plant's information protection substation connects to all protection devices within the station, configures the information protection model, forwards data from the protection devices within the station to the information protection main station, and supports corresponding main station command responses, such as switch quantity calls, analog quantity calls, soft pressure plate calls, setting value calls, waveform record list calls, waveform record file calls, etc.

[0032] Currently, testing the power information protection system requires manually setting up the system, which consists of a master station and substations. However, due to the large number of substations in the power information protection system, significant manpower is needed to build it, resulting in high testing costs.

[0033] To address the aforementioned issues, the power information protection system testing method, apparatus, electronic equipment, and storage medium provided in this application embodiment construct multiple substation simulation models based on a simulation container. Each substation simulation model corresponds to one information protection substation, and the multiple information protection substations are connected to the information protection master station to form a power information protection system. A corresponding simulation command is sent to each substation simulation model, enabling each substation simulation model to simulate the corresponding information protection substation based on a set of preset data carried by the corresponding simulation command, generating a set of simulation data, which is then sent to the information protection master station. The information protection master station then performs simulation testing on the corresponding information protection substation based on each set of simulation data, obtaining a simulation test result, sending the simulation test result to the control host, and receiving multiple simulation test results returned by the information protection master station. Each simulation test result corresponds to one information protection substation. This method realizes the testing of the power information protection system based on multiple substation simulation models and the information protection master station constructed using a simulation container, eliminating the need for manual construction of information protection substations and reducing the cost of testing the power information protection system. Furthermore, by constructing multiple security and information protection substations based on simulation containers, the power security and information protection system containing all security and information protection substations can be tested. This ensures that the test environment is consistent with the actual operating environment of the power security and information protection system, thereby improving the accuracy of testing the power security and information protection system.

[0034] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0035] Please see Figure 1 This illustration shows an application scenario diagram of the test system of the power information protection system provided in the embodiment of this application. The test system of the power information protection system may include a simulation container 100, an information protection master station 200 and a control host 300. The simulation container 100 and the information protection master station 200 may be connected to the control host 300.

[0036] The simulation container 100 can be used to simulate a real environment or system through virtualization technology. The simulation container 100 can be any of the following: Docker container, Podman container, or Containerd container, etc., without limitation.

[0037] The control host 300 can be a terminal device or a server, etc. The type of processing device is not limited here, and can be set according to actual needs.

[0038] The terminal device can be a mobile terminal device (such as a mobile phone, PDA, tablet PC, laptop, smartwatch, smart bracelet or wearable device, etc.) or a fixed terminal device (desktop computer, smart panel, etc.).

[0039] A server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or any of the following: cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), big data or artificial intelligence platforms.

[0040] Please see Figure 2 This document illustrates a flowchart of a power grid security system testing method provided in one embodiment of this application. In a specific embodiment, the power grid security system testing method can be applied to, for example... Figure 1 The control host 300 in the test system of the power information protection system shown below will be used as an example to illustrate the following. Figure 2 The process shown is described in detail. The power information protection system test method may include the following steps 101 to 103.

[0041] Step 101: Construct multiple substation simulation models of multiple information security substations based on the simulation container.

[0042] In this embodiment of the application, when a user needs to test the power information protection system, he / she can send a test command to the control host. After receiving the test command, the control host can build multiple substation simulation models of multiple information protection substations based on the simulation container.

[0043] Each substation simulation model corresponds to one information protection substation, and each substation simulation model can be used to simulate the operation of the corresponding information protection substation. Multiple information protection substations can be connected to the information protection master station to form a power information protection system.

[0044] In some implementations, when a user needs to test the power information protection system, they can send a test command to the control host. Upon receiving the command, the control host can obtain multiple sets of configuration information for multiple information protection substations. Each set of configuration information corresponds to one substation, and each set may include a set of operational configuration parameters. The control host then sends these multiple sets of operational configuration parameters to the simulation container. After receiving these parameters, the simulation container can construct multiple substation simulation models based on them. Constructing a corresponding substation simulation model based on the configuration information of each substation improves the accuracy of the substation simulation model construction.

[0045] The format of each set of operating configuration parameters can be different. The control host can map each set of operating configuration parameters to a set of operating configuration parameters in a preset format according to the preset mapping rules, and send multiple sets of operating configuration parameters in the preset format to the simulation container. After receiving the multiple sets of operating configuration parameters in the preset format, the simulation container can build multiple substation simulation models according to the multiple sets of operating configuration parameters in the preset format. Based on the preset mapping rules, the operating configuration parameters in different formats are mapped to operating configuration parameters in a unified format, which can achieve seamless compatibility with master station data from multiple manufacturers and expand the application scenarios of power information protection system testing methods.

[0046] The operating configuration parameters may include at least one of the following: channel parameters, substation parameters, bay parameters, device parameters, analog point parameters, status point parameters, and protection group parameters, without limitation here.

[0047] The preset format can define a file format for a standardized structure. For example, the preset format can be XML format, but this is not limited here.

[0048] Regarding the process of the control host acquiring multiple sets of configuration information from multiple security information substations, as one implementation method, the control host can pre-store multiple sets of configuration information and can read the pre-stored multiple sets of configuration information.

[0049] Regarding the process by which the control host obtains multiple sets of configuration information from multiple security information substations, as one implementation method, prompt information can be generated and multiple sets of configuration information input by the user based on the prompt information can be received.

[0050] The prompts can be used to prompt the user to input multiple sets of configuration information into the control host. The prompts can be at least one of the following: text prompts, sound prompts, or light prompts; no specific limitation is made here.

[0051] Regarding the process by which the control host obtains multiple sets of configuration information from multiple security information substations, as one implementation method, the security information master station can pre-store multiple sets of configuration information. The control host can send a first acquisition instruction to the security information master station. After receiving the first acquisition instruction, the security information master station reads the pre-stored multiple sets of configuration information and sends the multiple sets of configuration information to the control host. The control host receives the multiple sets of configuration information returned by the security information master station.

[0052] The control host can determine whether multiple sets of configuration information already exist, and when it determines that no multiple sets of configuration information exist, it sends a first acquisition command to the security information master station. Sending the first acquisition command to the security information master station when it is determined that no multiple sets of configuration information exist avoids acquiring duplicate configuration information, which would consume system resources and reduce system efficiency, thus improving system efficiency.

[0053] The control host can read the stored information and determine whether multiple sets of configuration information already exist based on the information identifier of the stored information.

[0054] When the information identifier contains a preset identifier for multiple sets of configuration information, it is determined that multiple sets of configuration information already exist; when the information identifier does not contain a preset identifier for multiple sets of configuration information, it is determined that multiple sets of configuration information do not exist.

[0055] In some implementations, each set of configuration information may also include a set of communication configuration parameters. The control host sends multiple sets of runtime configuration parameters to the simulation container, enabling the simulation container to build multiple substation simulation models based on these parameters. After constructing these models, the simulation container can then send a corresponding set of communication configuration parameters to each substation simulation model. Upon receiving this set of communication configuration parameters, each substation simulation model can establish a communication connection with the main station based on these parameters. Establishing a connection between the substation simulation model and the main station based on the communication configuration parameters of each substation improves the success rate of establishing this connection.

[0056] In some implementations, the main station of the information security service can pre-store multiple sets of preset data, each set of preset data corresponding to a substation of the information security service, and each set of preset data can be used to drive the operation of the corresponding substation of the information security service.

[0057] After the control host constructs multiple substation simulation models of multiple security information substations based on the simulation container, it can send a second acquisition command to the security information master station. After receiving the second acquisition command, the security information master station can read multiple sets of preset data that have been stored in advance and send multiple sets of preset data to the control host. The control host receives multiple sets of preset data returned by the security information master station.

[0058] The preset data can be any of the following: fixed value data or historical data. Each set of preset data can include at least one preset data, which is not limited here.

[0059] In one application scenario, such as Figure 3 As shown, step 101 may include steps 1011 to 1016.

[0060] Step 1011: Determine whether to start building multiple substation simulation models.

[0061] The control host can determine whether to start building multiple substation simulation models based on whether it receives a test command.

[0062] If a test command is received, it is determined that the construction of multiple substation simulation models will be started, and step 1012 can be executed; if no test command is received, it is determined that the construction of multiple substation simulation models will not be started, and step 1016 can be executed.

[0063] Step 1012: Determine if multiple sets of configuration information already exist.

[0064] If it is determined that there are no multiple sets of configuration information, step 1013 can be executed; if it is determined that there are multiple sets of configuration information, step 1015 can be executed.

[0065] Step 1013: Send the first acquisition command to the Baoxin main station.

[0066] Step 1014: Receive multiple sets of configuration information returned by the main station of Baoxin.

[0067] Step 1015: Send multiple sets of runtime configuration parameters to the simulation container.

[0068] Step 1016: End.

[0069] Step 102: Send a corresponding simulation command to each substation simulation model.

[0070] In this embodiment, after the control host constructs multiple substation simulation models of multiple security and information protection substations based on the simulation container, it can send a corresponding simulation command to each substation simulation model. Each substation simulation model simulates a corresponding security and information protection substation according to a set of preset data carried by the corresponding simulation command, generates a set of simulation data, and sends the set of simulation data to the security and information protection master station. After receiving the set of simulation data, the security and information protection master station performs a simulation test on the corresponding security and information protection substation according to the set of simulation data, obtains a simulation test result, and sends the simulation test result to the control host.

[0071] In some implementations, each simulation instruction can be a first anomaly simulation instruction. After the control host constructs multiple substation simulation models of multiple information protection substations based on the simulation container, it can send a corresponding first anomaly simulation instruction to each substation simulation model. Each substation simulation model performs simulation on a corresponding information protection substation according to a set of preset data carried by the corresponding first anomaly simulation instruction, generates a set of simulation data, and performs interference processing on the set of simulation data to obtain a set of anomaly data. This set of anomaly data is then sent to the information protection master station. After receiving the set of anomaly data, the information protection master station performs simulation testing on the corresponding information protection substation based on the set of anomaly data, obtains a simulation test result, and sends the simulation test result to the control host. Simulating and testing the information protection substations and performing anomaly business processing testing on the information protection master station based on the first anomaly simulation instruction improves the comprehensiveness of testing the power information protection system.

[0072] Interference handling can be any of the following: data missing handling, data out-of-range handling, data type modification, etc., without any limitation here.

[0073] In some implementations, each simulation instruction can be a second abnormal simulation instruction. After the control host constructs multiple substation simulation models of multiple security substations based on the simulation container, it can send a corresponding second abnormal simulation instruction to each substation simulation model. Each substation simulation model performs simulation on a corresponding security substation according to a set of preset data carried by the corresponding second abnormal simulation instruction, generates a set of simulation data, and sends the set of simulation data to the security master station according to the preset abnormal strategy. After receiving the set of simulation data, the security master station performs simulation testing on the corresponding security substation according to the set of simulation data, obtains a simulation test result, and sends the simulation test result to the control host.

[0074] The preset anomaly strategy can be used to characterize abnormal data transmission strategies. For example, the preset anomaly strategy can be delayed transmission, random packet loss transmission, or transmission link interruption, etc., without limitation here. Simulation tests are performed on the power information protection substation based on the second anomaly simulation command, and abnormal service processing tests are performed on the power information protection master station, improving the comprehensiveness of the testing of the power information protection system.

[0075] Step 103: Receive multiple simulation test results returned by the main station of Baoxin.

[0076] In this embodiment, after the control host sends a corresponding simulation command to each substation simulation model, it can receive multiple simulation test results returned by the main power protection and information security station. This enables the testing of the power protection and information security system using multiple substation simulation models and the main power protection and information security station built based on a simulation container, eliminating the need for manual construction of substations and reducing the cost of testing the power protection and information security system. Furthermore, building multiple substations based on the simulation container allows for testing of the power protection and information security system including all substations, ensuring that the test environment is consistent with the actual operating environment of the power protection and information security system, thus improving the accuracy of testing the power protection and information security system.

[0077] Each simulation test result can correspond to a security information substation.

[0078] The solution provided in this application constructs multiple substation simulation models based on a simulation container. Each substation simulation model corresponds to one substation, and the multiple substations are connected to a main station to form a power information protection system. A corresponding simulation command is sent to each substation simulation model, enabling each substation simulation model to simulate the corresponding substation based on a set of preset data carried by the simulation command. This generates a set of simulation data, which is then sent to the main station. The main station then performs simulation tests on the corresponding substation based on each set of simulation data, obtaining a simulation test result. This result is sent to the control host, and multiple simulation test results returned by the main station are received. Each simulation test result corresponds to one substation. This solution enables testing of the power information protection system using multiple substation simulation models and a main station constructed based on a simulation container, eliminating the need for manual construction of substations and reducing the cost of testing the power information protection system. Furthermore, by constructing multiple security and information protection substations based on simulation containers, the power security and information protection system containing all security and information protection substations can be tested. This ensures that the test environment is consistent with the actual operating environment of the power security and information protection system, thereby improving the accuracy of testing the power security and information protection system.

[0079] Please see Figure 4 This document illustrates a flowchart of a power grid security system testing method provided in another embodiment of this application. In a specific embodiment, the power grid security system testing method can be applied to, for example... Figure 1 The control host 300 in the test system of the power information protection system shown below will be used as an example to illustrate the following. Figure 4 The process shown is described in detail. The power information protection system test method may include the following steps 201 to 205.

[0080] Step 201: Construct multiple substation simulation models of multiple information security substations based on the simulation container.

[0081] Step 202: Send a corresponding simulation command to each substation simulation model.

[0082] Step 203: Receive multiple simulation test results returned by the main station of Baoxin.

[0083] In this embodiment, steps 201, 202, and 203 can be referred to the corresponding steps in the foregoing embodiments, and will not be repeated here.

[0084] Step 204: Based on the results of multiple simulation tests, determine whether the business function tests of the Baoxin main station are abnormal.

[0085] In this embodiment, after receiving multiple simulation test results returned by the main station, the control host can determine whether the main station's business function tests are normal based on these results. Judging the main station's business functions based on its business test results improves the accuracy of this judgment.

[0086] When multiple simulation test results include results that characterize abnormal business functions of the Baoxin master station, the business function test of the Baoxin master station is determined to be abnormal; when multiple simulation test results do not include results that characterize abnormal business functions of the Baoxin master station, the business function test of the Baoxin master station is determined to be normal.

[0087] Step 205: When the business function test of the Baoxin main station is determined to be abnormal, a warning message is generated.

[0088] In this embodiment, when the control host determines that the business function test of the power information protection master station is abnormal, it can generate a warning message to remind the user to maintain the business function of the power information protection master station, which helps to improve the user experience during the testing process of the power information protection system.

[0089] The warning message can be any one of the following: text warning message, sound warning message, or light warning message, without any limitation.

[0090] The solution provided in this embodiment constructs multiple substation simulation models based on a simulation container, sends a corresponding simulation command to each substation simulation model, and receives multiple simulation test results returned by the main power protection and information security station. Based on these results, it determines whether the main power protection and information security station's business function tests are abnormal, and generates warning information when an abnormality is detected. This enables testing of the power protection and information security system using multiple substation simulation models and the main power protection and information security station constructed based on a simulation container, eliminating the need for manual construction of substations and reducing the cost of testing the power protection and information security system. Furthermore, constructing multiple substations based on a simulation container allows testing of the entire power protection and information security system, ensuring that the test environment is consistent with the actual operating environment of the power protection and information security system, thus improving the accuracy of testing.

[0091] Furthermore, when the control host determines that the business function test of the power information protection master station is abnormal, it generates a warning message to alert users to maintain the business function of the power information protection master station, which helps to improve the user experience during the testing process of the power information protection system.

[0092] Please see Figure 5 This illustrates a power supply security system testing apparatus 400 provided in one embodiment of this application. The power supply security system testing apparatus 400 can be applied to, for example... Figure 1 The control host 300 in the test system of the power information protection system shown below will be used as an example to illustrate the following. Figure 5 The power information protection system test device 400 shown will be described in detail. The power information protection system test device 400 may include a construction module 401, a first sending module 402 and a first receiving module 403.

[0093] The construction module 401 can be used to construct multiple substation simulation models of multiple security substations based on the simulation container, and each substation simulation model can correspond to one security substation; the first sending module 402 can be used to send a corresponding simulation instruction to each substation simulation model, so that each substation simulation model can simulate the corresponding security substation according to a set of preset data carried by the corresponding simulation instruction, generate a set of simulation data, send a set of simulation data to the security master station, and enable the security master station to perform simulation tests on the corresponding security substation according to each set of simulation data, obtain a simulation test result, and send a simulation test result to the control host; the first receiving module 403 can be used to receive multiple simulation test results returned by the security master station, and each simulation test result can correspond to one security substation.

[0094] In some implementations, the construction module 401 may include an acquisition unit and a first sending unit.

[0095] The acquisition unit can be used to acquire multiple sets of configuration information for multiple security information substations. Each set of configuration information can correspond to one security information substation, and each set of configuration information can include a set of running configuration parameters. The first sending unit can be used to send multiple sets of running configuration parameters to the simulation container so that the simulation container can build multiple substation simulation models based on the multiple sets of running configuration parameters.

[0096] In some implementations, the main station for information security can pre-store multiple sets of configuration information, and the acquisition unit can include a sending sub-unit and a receiving sub-unit.

[0097] The sending subunit can be used to send a first acquisition instruction to the security information master station, so that the security information master station can send multiple sets of configuration information to the control host according to the first acquisition instruction; the receiving subunit can be used to receive multiple sets of configuration information returned by the security information master station.

[0098] In some implementations, the power supply and information security system testing device 400 may also include a determination module.

[0099] The determination module can be used to determine whether multiple sets of configuration information already exist before the sending subunit sends the first acquisition instruction to the security information master station.

[0100] In some implementations, the transmitting subunit may include a transmitting secondary subunit.

[0101] The sending sub-unit can be used to send a first acquisition command to the main station when it is determined that there are no multiple sets of configuration information.

[0102] In some implementations, each set of configuration information may also include a set of communication configuration parameters, and the power supply information protection system test device 400 may also include a second transmission module.

[0103] The second sending module can be used to send a set of corresponding communication configuration parameters to each substation simulation model before the first sending module 402 sends a corresponding simulation command to each substation simulation model, so that each substation simulation model can establish a communication connection with the main station based on the corresponding set of communication configuration parameters.

[0104] In some implementations, the main power information protection station can pre-store multiple sets of preset data, each set of preset data can correspond to a power information protection substation; the power information protection system testing device 400 may also include a third transmitting module and a second receiving module.

[0105] The third sending module can be used to send a second acquisition instruction to the main station before the first sending module 402 sends a corresponding simulation instruction to each substation simulation model, so that the main station can send multiple sets of preset data to the control host according to the second acquisition instruction; the second receiving module can be used to receive multiple sets of preset data returned by the main station.

[0106] In some implementations, each simulation instruction can be a first abnormal simulation instruction, and the first sending module 402 can include a second sending unit.

[0107] The second sending unit can be used to send a corresponding first abnormal simulation instruction to each substation simulation model, so that each substation simulation model can simulate a corresponding information protection substation according to a set of preset data carried by the corresponding first abnormal simulation instruction, generate a set of simulation data, perform interference processing on the set of simulation data to obtain a set of abnormal data, send the set of abnormal data to the information protection master station, and enable the information protection master station to perform simulation test on the corresponding information protection substation according to each set of abnormal data, obtain a simulation test result, and send a simulation test result to the control host.

[0108] The solution provided in this embodiment constructs multiple substation simulation models based on a simulation container. Each substation simulation model corresponds to one substation, and the multiple substations are connected to the main substation to form a power information protection system. A corresponding simulation command is sent to each substation simulation model, enabling each substation simulation model to simulate the corresponding substation based on a set of preset data carried by the simulation command, generating a set of simulation data, which is then sent to the main substation. The main substation then performs simulation tests on the corresponding substation based on each set of simulation data, obtaining a simulation test result, which is then sent to the control host. The main substation also receives multiple simulation test results returned by the main substation, with each result corresponding to a substation. This solution enables testing of the power information protection system using multiple substation simulation models and the main substation constructed based on a simulation container, eliminating the need for manual construction of substations and reducing the cost of testing the power information protection system. Furthermore, by constructing multiple security and information protection substations based on simulation containers, the power security and information protection system containing all security and information protection substations can be tested. This ensures that the test environment is consistent with the actual operating environment of the power security and information protection system, thereby improving the accuracy of testing the power security and information protection system.

[0109] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to in the descriptions of the method embodiments. Any processing method described in the method embodiments can be implemented in the device embodiments through corresponding processing modules, and will not be elaborated upon further in the device embodiments.

[0110] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0111] Please see Figure 6 The diagram illustrates a functional block diagram of an electronic device 500 provided in one embodiment of the present application. The electronic device 500 may include one or more of the following components: a memory 501, a processor 502, and one or more application programs. One or more application programs may be stored in the memory 501 and configured to be executed by one or more processors 502. One or more application programs are configured to perform the methods described in the foregoing method embodiments.

[0112] The memory 501 may include random access memory (RAM) or read-only memory (ROM). The memory 501 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 501 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as building multiple substation simulation models, sending simulation instructions, simulating simulation, generating simulation data, sending simulation data, sending simulation test results, receiving simulation test results, acquiring multiple sets of configuration information, sending multiple sets of configuration information, sending a first acquisition instruction, determining whether multiple sets of configuration information already exist, determining that multiple sets of configuration information do not exist, sending communication configuration parameters, establishing a communication connection, sending a second acquisition instruction, sending multiple sets of preset data, receiving multiple sets of preset data, and interference processing, etc.), and instructions for implementing the various method embodiments described below. The data storage area can also store data created by the electronic device 500 during use (such as the power information protection system test system, control host, simulation container, information protection master station, multiple information protection substations, multiple substation simulation models, power information protection system, simulation instructions, preset data, simulation data, simulation test results, configuration information, running configuration parameters, first acquisition instructions, communication configuration parameters, second acquisition instructions, abnormal simulation instructions, and abnormal data).

[0113] Processor 502 may include one or more processing cores. Processor 502 connects to various parts within the electronic device 500 using various interfaces and lines, and performs various functions and processes data of the electronic device 500 by running or executing instructions, programs, code sets, or instruction sets stored in memory 501, and by calling data stored in memory 501. Optionally, processor 502 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 502 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 502 and may be implemented separately using a communication chip.

[0114] Please refer to Figure 7 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 600 stores program code 601, which can be called by a processor to execute the methods described in the above method embodiments.

[0115] The computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 600 has storage space for program code 601 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 601 may be compressed, for example, in a suitable form.

[0116] Please refer to Figure 8This diagram illustrates a structural block diagram of a computer program product 700 provided in an embodiment of this application. The computer program product 700 includes a computer program / instructions 701, which is stored in a computer-readable storage medium of a computer device. When the computer program product 700 runs on the computer device, the processor of the computer device reads the computer program / instructions 701 from the computer-readable storage medium, and executes the computer program / instructions 701, causing the computer device to perform the methods described in the above method embodiments.

[0117] The solution provided in this embodiment constructs multiple substation simulation models based on a simulation container. Each substation simulation model corresponds to one substation, and the multiple substations are connected to the main substation to form a power information protection system. A corresponding simulation command is sent to each substation simulation model, enabling each substation simulation model to simulate the corresponding substation based on a set of preset data carried by the simulation command, generating a set of simulation data, which is then sent to the main substation. The main substation then performs simulation tests on the corresponding substation based on each set of simulation data, obtaining a simulation test result, which is then sent to the control host. The main substation also receives multiple simulation test results returned by the main substation, with each result corresponding to a substation. This solution enables testing of the power information protection system using multiple substation simulation models and the main substation constructed based on a simulation container, eliminating the need for manual construction of substations and reducing the cost of testing the power information protection system. Furthermore, by constructing multiple security and information protection substations based on simulation containers, the power security and information protection system containing all security and information protection substations can be tested. This ensures that the test environment is consistent with the actual operating environment of the power security and information protection system, thereby improving the accuracy of testing the power security and information protection system.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A testing method for a power information security system, characterized in that, A control host is used in the test system of the power information protection system. The test system of the power information protection system also includes a simulation container and an information protection master station connected to the control host. The test method of the power information protection system includes: Based on the simulation container, multiple substation simulation models of multiple information protection substations are constructed. Each substation simulation model corresponds to one information protection substation. The multiple information protection substations are connected to the information protection master station to form the power information protection system. A corresponding simulation command is sent to each substation simulation model, so that each substation simulation model performs simulation on the corresponding information protection substation according to a set of preset data carried by the corresponding simulation command, generates a set of simulation data, sends the set of simulation data to the information protection master station, and enables the information protection master station to perform simulation test on the corresponding information protection substation according to each set of simulation data, obtains a simulation test result, and sends the simulation test result to the control host. The system receives multiple simulation test results returned by the main security information protection station, and each simulation test result corresponds to one of the security information protection substations.

2. The power information guarantee system testing method according to claim 1, characterized in that, The construction of multiple substation simulation models based on the simulation container includes: Obtain multiple sets of configuration information for the multiple information protection substations, each set of configuration information corresponding to one information protection substation, and each set of configuration information includes a set of operating configuration parameters; Multiple sets of runtime configuration parameters are sent to the simulation container so that the simulation container can construct the multiple substation simulation models based on the multiple sets of runtime configuration parameters.

3. The power supply information guarantee system testing method according to claim 2, characterized in that, The main station of the information security service has pre-stored the multiple sets of configuration information. The step of obtaining the multiple sets of configuration information from the multiple sub-stations of the information security service includes: Send a first acquisition instruction to the security master station, so that the security master station sends the multiple sets of configuration information to the control host according to the first acquisition instruction; Receive the multiple sets of configuration information returned by the main station of the information security service.

4. The power supply information guarantee system testing method according to claim 3, characterized in that, Before sending the first acquisition instruction to the power information security master station, the power information security system testing method further includes: Determine whether the multiple sets of configuration information already exist; Sending the first acquisition instruction to the main station includes: When it is determined that the multiple sets of configuration information do not exist, the first acquisition instruction is sent to the security master station.

5. The power supply information guarantee system testing method according to claim 2, characterized in that, Each set of configuration information also includes a set of communication configuration parameters. Before sending a corresponding simulation command to each substation simulation model, the power information protection system testing method further includes: The corresponding set of communication configuration parameters is sent to each substation simulation model so that each substation simulation model can establish a communication connection with the main station based on the corresponding set of communication configuration parameters.

6. The power information guarantee system testing method according to claim 1, characterized in that, The main station for information protection stores multiple sets of preset data, and each set of preset data corresponds to one of the substations for information protection. Before sending a corresponding simulation command to each substation simulation model, the power information security system testing method further includes: Send a second acquisition instruction to the security master station, so that the security master station sends the multiple sets of preset data to the control host according to the second acquisition instruction; Receive the multiple sets of preset data returned by the main station of the information security system.

7. The power supply information guarantee system testing method according to any one of claims 1 to 6, characterized in that, Each simulation instruction is a first abnormal simulation instruction. Sending a corresponding simulation instruction to each substation simulation model includes: The system sends a corresponding first abnormal simulation instruction to each substation simulation model, so that each substation simulation model can simulate the corresponding information protection substation according to the set of preset data carried by the corresponding first abnormal simulation instruction, generate the set of simulation data, perform interference processing on the set of simulation data to obtain a set of abnormal data, send the set of abnormal data to the information protection master station, and enable the information protection master station to perform simulation testing on the corresponding information protection substation according to each set of abnormal data, obtain the simulation test result, and send the simulation test result to the control host.

8. A power supply information guarantee system testing device, characterized in that, A control host is used in the testing system of the power information guarantee system. The testing system of the power information guarantee system also includes a simulation container and an information guarantee master station connected to the control host. The power information guarantee system testing device includes: The construction module is used to construct multiple substation simulation models of multiple information security substations based on the simulation container, with each substation simulation model corresponding to one information security substation; The first sending module is used to send a corresponding simulation instruction to each substation simulation model, so that each substation simulation model can simulate the corresponding information protection substation according to a set of preset data carried by the corresponding simulation instruction, generate a set of simulation data, send the set of simulation data to the information protection master station, and enable the information protection master station to perform simulation tests on the corresponding information protection substation according to each set of simulation data, obtain a simulation test result, and send the simulation test result to the control host. The first receiving module is used to receive multiple simulation test results returned by the main station of the information security system, and each simulation test result corresponds to one of the substations of the information security system.

9. An electronic device, characterized in that, include: Memory; One or more processors are coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by one or more processors, the one or more applications being configured to perform the power supply security system test method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code, which can be called by a processor to execute the power supply security system testing method as described in any one of claims 1 to 7.