A method and system for automatic pointing of a relay subscriber station based on a substitution pattern
Patent Information
- Application Number
- CN202610836719.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-10
- Publication Date
- 2026-09-22
AI Technical Summary
通过创新的基于取代模式的自动对点测试方法,解决了传统保信子站对点测试工作效率低、易出错、浪费人力物力等技术难题,实现了保信子站测试技术的标准化、自动化与智能化,对于提升变电站二次系统运维水平、保障电网安全稳定运行具有重要的现实意义和应用价值
提高缺陷检出率:通过“取代-回送”闭环比对,可全面定位转发表错位、品质位丢失、突发上送遗漏等隐蔽缺陷,漏检率较传统方法显著降低。
Smart Images

Figure CN122801560A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system secondary equipment protection and commissioning technology, and in particular to an automatic point-to-point method for protection and information substations based on a replacement mode, and also to an automatic point-to-point system for protection and information substations based on a replacement mode. Background Technology
[0002] With the rapid development of smart grid construction, the automation level of substations is constantly improving, and the relay protection and fault information management system is playing an increasingly important role in the safe and stable operation of the power grid. The relay protection and fault information management system mainly consists of a relay protection and fault information master station, relay protection and fault information substations, and protection devices. Among them, the relay protection and fault information substations, as the intermediate link connecting the relay protection and fault information master station and the protection devices in the station, undertake key functions such as data acquisition, protocol conversion, and information forwarding.
[0003] The protection information substation communicates with the protection devices through the station control layer network, collecting information such as remote signaling, telemetry, and setting values from the protection devices. This information is then transmitted to the protection information master station via the dispatch data network, enabling centralized monitoring, management, and fault analysis of all protection devices in the substation. To ensure the accuracy and completeness of the data collected by the protection information substation, point-to-point testing must be conducted after the construction, expansion, and maintenance of the substation to verify the correctness of the substation's forwarding table configuration and the accuracy of the data transmission. Currently, the verification of the protection information substation configuration mainly involves artificially creating various signal changes at the substation site by actually shorting the input terminals of the protection devices and adjusting analog current and voltage values. The corresponding signals are then checked at the protection information master station or the substation's human-machine interface to see if they are transmitted correctly. This method has the following main drawbacks: (1) Low testing efficiency: It requires the cooperation of multiple people, one person to operate on-site and one person to monitor in the background. The single test cycle is long, and the whole station test of a large substation often takes several days. (2) Test items are easily missed: relying on the experience of testers, it is easy to miss or mistest; (3) High human and material costs: Multiple trips to the site are required, resulting in significant transportation, accommodation, and human resource costs; (4) Poor test safety: Frequent operation of the equipment poses a risk of accidental contact, affecting the safety of the equipment. (5) Lack of closed-loop automatic testing mechanism: Only the signal output of the protection device side is verified or only the data reception of the main station side is verified, failing to form a complete closed-loop test of "protection device - substation - main station"; and it is difficult to quickly locate the fault point on the protection device side, the substation side or the communication link side.
[0004] Therefore, there is an urgent need for an automatic point-to-point testing method for information security substations based on the MMS replacement model. This method should construct a complete testing environment through simulation technology to achieve standardization, automation, and high reusability of the testing process, thereby solving the aforementioned problems of existing technologies. Summary of the Invention
[0005] To address the aforementioned problems in the prior art, this invention proposes an automatic point-to-point testing method for substations based on a substitution pattern, and also presents an automatic point-to-point testing system for substations based on a substitution pattern. Through this innovative automatic point-to-point testing method based on a substitution pattern, the technical difficulties of low efficiency, error-proneness, and waste of manpower and resources in traditional substation point-to-point testing are solved. This achieves standardization, automation, and intelligence in substation testing technology, and has significant practical significance and application value for improving the operation and maintenance level of substation secondary systems and ensuring the safe and stable operation of the power grid.
[0006] The above-mentioned technical problems of the present invention are mainly solved by the following technical solutions: An automatic point-to-point system for information protection substations based on a replacement pattern includes a simulation protection client, a simulation information protection master station, a model reading module, a static verification module, an automatic point-to-point testing module, a report generation module, a parsing module, and an instantiation module; the simulation protection client is connected to the protection device within the station, and the simulation information protection master station is connected to the information protection substations within the station; The model reading module drives the simulation protection client to dynamically acquire the model structure information of the protection devices in the station and invoke the protection devices in the station. The model reading module also drives the simulation protection master station to dynamically acquire the configuration of the protection substations in the station. The parsing module parses the point table forwarding file of the protection manufacturer to obtain the test point data list and forwarding table. The static verification module performs static verification on the configuration information of the protection substations in the station acquired by the simulation protection master station based on the test point data list. The instantiation module drives the simulation protection client to instantiate the test points in the test point data list one by one according to the model structure information; the simulation protection client sends the replacement enable signal to the protection device in the station in sequence according to the instantiated test points; after the replacement enable signal is sent, the simulation protection client is initialized. The automatic point-to-point test module drives the simulation protection client to output test replacement signals to the protection device in the station according to the instantiated test points. The expected data of the test replacement signals converted by the forwarding table is saved in the automatic point-to-point test module. The protection device in the station transmits the response signal to the protection information substation in the station. At the same time, the simulation protection information master station collects the feedback signals of the protection information substation in the station. The automatic point-to-point test module completes the automatic point-to-point test by comparing the consistency between the feedback signal received by the simulation protection information master station and the corresponding saved expected data. The report generation module receives and summarizes the automatic point-to-point test results and generates a test report.
[0007] An automatic peer-to-peer method for information security substations based on a substitution pattern, utilizing an automatic peer-to-peer system for information security substations based on a substitution pattern as described above, includes the following steps: Step 1: Construct an automatic point-to-point system for information protection substations based on the replacement mode, and connect the automatic point-to-point system for information protection substations based on the replacement mode to the information protection substations and protection devices within the station respectively; Step 2: The simulation protection client dynamically acquires the model structure information of the protection devices within the station and invokes the protection devices within the station; the simulation protection master station invokes the protection substations within the station and dynamically acquires the configuration of the protection substations within the station. The configuration of the protection substations within the station includes group information and item information; the parsing module parses the point table forwarding file of the protection manufacturer to obtain the test point data list; the static verification module performs static verification on the configuration of the protection substations within the station acquired by the simulation protection master station based on the test point data list. Step 3: The instantiation module drives the simulation protection client to instantiate the test points in the test point data list one by one according to the dynamically acquired model structure information of the protection device in the station; then the simulation protection client sends the replacement enable signal to the corresponding test point of the protection device in the station according to the instantiated test point; after the replacement enable signal is sent, the test point of the protection device in the station is initialized according to the instantiated test point. Step 4: The simulation protection client outputs test replacement signals to the test points of the protection device within the station based on the instantiated test points in the test point data list. The expected data obtained by converting the test replacement signals through the forwarding table in the point table forwarding file is saved in the automatic point-to-point test module. The simulation protection master station receives feedback signals from the protection substations within the station. The automatic point-to-point test module completes the automatic point-to-point test by comparing the feedback signals received by the simulation protection master station with the corresponding saved expected data. The report generation module receives and summarizes the automatic point-to-point test results and generates a test report. The expected data includes the group number, item number, and subVal expected value.
[0008] As described above, step 1 specifically includes the following steps: Step 1.1: Construct an automatic point-to-point system for information protection substations based on the replacement pattern, including a simulation protection client, a simulation information protection master station, a model reading module, a static verification module, an automatic point-to-point testing module, a report generation module, an instantiation module, and a parsing module; Step 1.2: Connect the simulation protection client to the protection device inside the station, and connect the simulation information protection master station to the information protection substation inside the station; The simulation protection client connects to the protection device within the station, and the specific operation is as follows: Step 1.2.A1: The parsing module of the automatic point-to-point system for the protection substation based on the replacement mode parses the communication parameter file of the monitoring background device to obtain the communication configuration information of the protection device in the station, including: IED name, IED description, IP address, subnet mask, and port number; Step 1.2.A2: The simulation protection client establishes a network communication connection with the protection device in the station through a SOCKET socket based on the IP address, subnet mask, and port number of the protection device in the station. Step 1.2.A3: The simulation protection client establishes a service communication connection with the protection device within the station based on the IEC61850MMS protocol; The connection between the simulated data security master station and the data security sub-stations within the station is as follows: Step 1.2.B1: The parsing module parses the Baoxin master station configuration file and extracts the communication parameters of the Baoxin master station, including IP address, subnet mask, and port number; Step 1.2.B2: The simulated security master station establishes a network communication connection with the security substations within the station through SOCKET sockets based on the security master station's IP address, subnet mask, and port number. Step 1.2.B3: Based on the established communication connection, the simulated security master station implements service communication connection with the security substations within the station based on the IEC60870-5-103 protocol.
[0009] As described above, in step 2, the simulation protection client dynamically obtains the model structure information of the protection device within the station and invokes the protection device within the station. The specific operation is as follows: Step 2.1.A1: The simulation protection client uses the IEC61850MMS protocol browsing service function to traverse the model structure information of the protection devices in the station layer by layer, and initializes the corresponding system database sub-library based on the read model structure information of the protection devices in the station. The simulation protection client reads the model structure information of the protection device in the station in the following order: server, logical device LD, logical node LN, data object DO, and data attribute DA. The hierarchical structure of the model structure information of the protection device in the station is as follows from top to bottom: IED information of the server, LD device node information, LN logical node information, DO data object information, and DA data attribute information, which is denoted as IED->LD->LN->DO->DA hierarchy. S2.1.A2, The simulation protection client issues a general call command, obtains the current running value of DA value under all data attributes DA of the current protection device based on the model structure information of the protection device in the station, and updates the system database sub-library corresponding to the simulation protection client; The simulation of dynamically obtaining the configuration of the security service substations within the main station includes the following steps: Step 2.1.B1: The simulated security master station reads the group configuration summary information in the configuration module of the security substation within the station through the IEC60870-5-103 protocol; The group configuration summary information includes: the group type name, group number, and the number of entries included in each group; Step 2.1.B2: The simulated security master station, based on the group number, summons the corresponding group information and the entry information under each group to the security substation within the station through the IEC60870-5-103 general service command, and initializes the system database corresponding to the simulated security master station.
[0010] As described in step 2 above, the parsing module parses the point table forwarding file of the security information provider to obtain the test point data list; the static verification module performs static verification on the configuration of the security information provider substations obtained by the simulated security information provider main station based on the test point data list. The specific process is as follows: Step 2.2.1: The parsing module parses the point table forwarding file provided by the security software manufacturer to obtain the test point data list; the data of each test point in the test point data list includes: MMS reference address, test group number, test item number, and test point description; Step 2.2.2: Traverse the test point data list. Based on the test group number and test item number of each test point in the test point data list, sequentially search for the corresponding group number and item number with the same value in the system database sub-database of the simulation information assurance master station: For each test point, if a group number with the same value as the test group number in the test point data list is found in the sub-database of the system database corresponding to the simulation security master station, and an entry number with the same value as the test entry number in the test point data list is found under the found group number, then the test point description corresponding to the test point is compared with the entry description in the sub-database of the system database corresponding to the simulation security master station. If the descriptions are consistent, the test point is marked as correctly configured; otherwise, the security sub-station within the station is marked as not configuring the relevant test points according to the standard description. If the database sub-database corresponding to the main station of the simulation security main station does not simultaneously find a group number with the same value as the test group number of the test point in the test point data list, and an entry number under the group number with the same value as the test entry number, then mark that the security sub-station within the station is missing the configuration of the corresponding test point; The static verification module transmits the static verification result report information to the report generation module through the corresponding database sub-database, or directly transmits the static verification result report information to the report generation module.
[0011] As described above, the simulation protection client instantiates each test point in the test point data list one by one based on the dynamically acquired model structure information, specifically including the following steps: Step 3.1.1: Use regular expressions to split the MMS parameters corresponding to each test point into MMS parameter information group data. The MMS parameter information group data includes: IED name, device node LD, logical node LN, data object DO, and data attribute DA. Step 3.1.2: In the system database sub-database corresponding to the simulation protection client, the model structure information is searched according to the hierarchy IED->LD->LN->DO->DA. The search is performed to find the IED name, device node LD reference path, logical node LN reference path, data object DO reference path, and data attribute DA reference path that match the data content of each MMS reference information group. If found, the points in the site protection device with the same IED name, device node LD reference path, logical node LN reference path, data object DO reference path, and data attribute DA reference path as the MMS reference information group data content are designated as test points. All DA types under the corresponding data object DO are saved, completing the test point instantiation. If no information matching the MMS reference information group data content is found in the database sub-database corresponding to the simulation protection client, the corresponding test point is marked as instantiation failed, and an instantiation failure report is sent to the report generation module. DA types include: stVal actual state value, subEna substitution enable, subVal substitution value, q quality, and t time scale.
[0012] As described above, the simulation protection client sequentially sends replacement enable signals to the corresponding test points of the protection device within the station based on the instantiated test points. After the replacement enable signals are sent, the values of the test points corresponding to the protection device within the station are initialized based on the instantiated test points. The specific steps include the following: Step 3.2.1: The simulation protection client traverses all instantiated test points and sends the replacement enable signal of the effective state to the corresponding test point of the protection device in the station; Step 3.2.2: After all instantiated test points have been replaced and enabled, the simulation protection client traverses all instantiated test points and sends initialization replacement signals to the corresponding test points of the protection device in the station, so that the DA value of each test point is initialized.
[0013] As mentioned above, step 4 of the automatic point-to-point test specifically includes the following steps: Step 4.1.1: The simulation protection client outputs the test replacement signal corresponding to the test point to the protection device in the station. At the same time, the automatic point test module uses the forwarding table in the point table forwarding file to convert the test replacement signal into the corresponding expected data and save it. The expected data includes the group number, the item number, and the expected value of subVal. The simulation protection master station starts to listen to the transmission behavior of the protection substation and receives the feedback signal transmitted by the protection substation in the station in real time. Step 4.1.2: The simulation master station extracts group information from the feedback signal, including: group number, entry number, entry value, and time stamp; the automatic point-to-point test module performs consistency verification between the group number, entry number, and entry value in the group information of the feedback signal and the expected group number, entry number, and subVal value in the expected data, and detects whether the delay of the received feedback signal exceeds the delay threshold based on the time stamp.
[0014] As described above, step 4.1.2 specifically includes the following steps: Step 4.1.2.1: The simulation protection client sends a test replacement signal to the protection device within the station and reads the subVal readback value from the protection device side. If no subVal readback value is received within the preset readback value reception waiting time, it will be marked as a protection device replacement service timeout. If the received subVal readback value is inconsistent with the subVal replacement value sent by the simulation protection client within the preset readback value reception waiting time, it is marked as an abnormality of the protection device replacement service. If the subVal readback value matches the subVal replacement value sent by the simulation protection client, then further check the time difference between receiving the subVal readback value and sending the test replacement signal from the simulation protection client. , When time difference If the delay time is less than the preset protection device delay threshold, proceed to step 4.1.2.2; When time difference If the delay exceeds the preset protection device delay threshold, the protection device delay is marked as out of range, and step 4.1.2.2 is executed. Step 4.1.2.2: The automatic point-to-point test module compares the entry values in the feedback signal received by the simulation master station with the expected subVal value of the automatic point-to-point test module. If the simulated information security master station does not receive a feedback signal from the information security substation within the preset master station receiving waiting time, it is marked as an internal information security substation forwarding timeout. If, within the preset master station receiving waiting time, the simulated security signal master station receives a feedback signal from the security signal substation within the station, but the value of the entry in the feedback signal is inconsistent with the expected value of subVal of the automatic point-to-point test module, it is marked as an abnormal forwarding configuration of the security signal substation within the station. If, within the preset master station receiving waiting time range, the simulated protection master station receives a feedback signal from the internal protection substation, and the entry value of the feedback signal received by the simulated protection master station matches the expected subVal value of the automatic point-to-point test module, and the delay of the internal protection device is below the preset protection device delay threshold, then the time corresponding to the timestamp of the feedback signal received by the simulated protection master station is further calculated, and the time when the simulated protection client sends the test replacement signal is subtracted to obtain the time difference. , If time difference If the delay is less than the preset upper limit for the main station's reception delay, then the test point is marked as normal. If time difference If the delay is greater than or equal to the preset maximum delay limit for the main station to receive data, then the delay from the protection device to the substation is marked as a delay. Among them, the preset main station receiving waiting time is greater than the upper limit of the main station receiving delay; Step 4.1.2.3: The automatic point-to-point test module transmits the report information of the automatic point-to-point test results to the report generation module through the corresponding database sub-library, or directly transmits the report information of the automatic point-to-point test results to the report generation module.
[0015] As mentioned above, a test report should include at least: a description of each test point, the test result for each test point, the total number of test points, statistics on the overall test pass rate, and a detailed list of anomalies.
[0016] Compared with existing technologies, the present invention has the following outstanding advantages: Improve defect detection rate: Through the "replacement-return" closed-loop comparison, hidden defects such as misalignment of forwarding sheets, loss of quality positions, and sudden omissions in forwarding can be fully located, and the missed detection rate is significantly reduced compared with traditional methods.
[0017] Saves labor costs: No need to go to the station for short-circuiting or connect testers, significantly reducing the number of on-site personnel. According to the power grid maintenance quota, the annual travel expenses are significantly reduced.
[0018] Improve testing efficiency: One-click distribution of MMS replacement sequences and rapid automatic generation of site-wide reports significantly shorten the overall testing cycle.
[0019] Enhanced data traceability: Each replacement value, timestamp, and feedback value are simultaneously captured and archived, and a dual-format report (CSV + HTML) is output to meet the requirements of digital operation and maintenance auditing.
[0020] Ensuring operational safety: The replacement of the value-tracking quality level allows the main station to automatically identify simulation data, eliminating accidental remote control adjustments; zero wiring and zero short circuits on-site, achieving "zero violation" testing. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of the structure of an automatic point-to-point testing method for information security substations based on replacement patterns according to the present invention.
[0022] Figure 2 This is a flowchart of an automatic point-to-point testing method for a security information substation based on a substitution pattern, according to the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and do not constitute a limitation on the scope of protection of this invention.
[0024] Example 1:
[0025] An automatic peer-to-peer system for information security substations based on a replacement pattern, such as Figure 1 As shown, it includes: a simulation protection client, a simulation protection master station, a model reading module, a static verification module, an automatic point-to-point testing module, a report generation module, a parsing module, an instantiation module, and a system database. The simulation protection client connects and interacts with the protection devices within the station based on the IEC61850 MMS protocol. The simulation protection master station connects and interacts with the protection substations within the station based on the IEC60870-5-103 protocol. The protection devices within the station and the protection substations within the station are connected through the station control layer network. The parsing module parses the communication parameter file of the monitoring backend device and the configuration file of the protection master station, respectively extracting the communication configuration information of the protection device in the station and the communication parameters of the protection master station; the simulated protection client establishes a network communication connection with the protection device in the station based on the communication parameters of the protection device in the station and based on the IEC61850 MMS protocol; the simulated protection master station connects with the protection substation in the station based on the communication parameters of the protection master station and based on the IEC60870-5-103 protocol.
[0026] The parsing module also parses the point table forwarding file from the security information provider to obtain the test point data list and forwarding table. The model reading module drives the simulation protection client to dynamically obtain the model structure information of the protection device in the station and invoke the protection device in the station. The model reading module also drives the simulation security information master station to dynamically obtain the configuration of the security information substation in the station. The static verification module performs static verification on the configuration of the security information substation in the station obtained by the simulation security information master station based on the test point data list, thereby verifying whether the configuration of the security information substation in the station is configured according to the point table forwarding file.
[0027] The instantiation module drives the simulation protection client to instantiate the test points in the test point data list one by one according to the model structure information; the simulation protection client sends the replacement enable signal to the protection device in the station in sequence according to the instantiated test points; after the replacement enable signal is sent, the simulation protection client is initialized. The automatic point-to-point test module drives the simulation protection client to output test replacement signals to the protection device in the station based on the instantiated test points. The expected data of the test replacement signals converted by the forwarding table is saved in the automatic point-to-point test module. The protection device in the station transmits the response signal to the protection information substation in the station. At the same time, the simulation protection information master station collects the feedback signals of the protection information substation in the station. The automatic point-to-point test module completes the automatic point-to-point test by comparing the consistency between the feedback signal received by the simulation protection information master station and the corresponding saved expected data. The report generation module receives and summarizes the automatic point-to-point test results and generates a test report. The test report supports export in multiple formats and remote upload.
[0028] The automatic point-to-point system for the information security substation based on the replacement mode can be deployed on an industrial tablet PC or a cloud server, supporting both offline independent operation and online collaborative debugging modes, and has good cross-platform compatibility and scalability.
[0029] This embodiment selects a 220kV smart substation as the test site. The test scope of this substation includes all test points configured in the protection and information control substation. All test point type groups include: analog quantity, switch quantity, alarm, setting value, setting range, fault quantity, etc. The communication protocol between the protection and information control substation and the protection device in the substation under test is the IEC61850 MMS protocol, and the communication protocol with the protection and information control master station is the IEC60870-5-103 protocol. The protection device in the substation is a new generation of digital relay protection device for smart substations, supporting the MMS replacement function.
[0030] Example 2
[0031] An automatic peer-to-peer method for information security substations based on replacement patterns, such as... Figure 2 As shown, an automatic point-to-point system for information security substations based on a replacement pattern, as described in Example 1, is used.
[0032] Step 1: Construct an automatic point-to-point system for information protection substations based on the replacement mode, and connect the automatic point-to-point system for information protection substations based on the replacement mode to the information protection substations and protection devices within the station.
[0033] Step 1.1: Construct an automatic point-to-point system for information protection substations based on the replacement pattern, including a simulation protection client, a simulation information protection master station, a model reading module, a static verification module, an automatic point-to-point testing module, a report generation module, an instantiation module, and a parsing module.
[0034] The simulated protection client and the simulated protection master station are two core components of the automatic point-to-point system for protection substations based on the replacement mode: the simulated protection client connects and communicates with the protection devices within the station, simulating personnel operating the protection devices and generating various signal changes. The simulated protection master station simulates a remote protection master station device, connects and communicates with the protection substations within the station, and dynamically acquires the configuration and feedback signals of the protection substations.
[0035] Step 1.2: Connect the simulation protection client to the protection device within the station, and connect the simulation information protection master station to the information protection substation within the station. This includes the following steps: A. Establish connection between the simulation protection client and the on-site protection device: Step 1.2.A1: The parsing module of the automatic point-to-point system for the protection substation based on the replacement mode parses the communication parameter file of the monitoring backend device (file name: ied.xlsx) to obtain the communication configuration information of the protection device in the station, including: IED name, IED description, IP address, subnet mask, and port number.
[0036] In this embodiment, the parsing module uses an xls table parser to extract the IED name, IED description, IP address, subnet mask, and port number of all protection devices within the substation. Here, IED stands for Intelligent Electronic Device, a core device in smart grid and substation automation systems. It integrates multiple functions such as protection, measurement, control, and communication, and is a key device for realizing the intelligence and digitalization of the power grid.
[0037] Step 1.2.A2: The simulation protection client establishes a network communication connection with the protection device in the station through a SOCKET socket based on the IP address, subnet mask, and port number of the protection device in the station.
[0038] Step 1.2.A3: The simulation protection client establishes a service communication connection with the protection device within the station based on the IEC61850 MMS protocol (this embodiment uses the libiec61850 protocol stack). This connection supports services such as dynamic retrieval of model structure information of the protection device within the station, uploading of test report information, reading and writing of setpoints (interaction of information such as alarms, setpoints, remote signaling, telemetry, pressure plates, and protection events), and file transfer.
[0039] B. Implement the connection between the simulated information security master station and the information security sub-stations within the station: Step 1.2.B1: The parsing module parses the Baoxin master station configuration file (filename: channel.xml) and extracts the communication parameters of the Baoxin master station, including: IP address, subnet mask, and port number. In this embodiment, the IP address, subnet mask, and port number of the Baoxin master station are extracted through an XML parser.
[0040] Step 1.2.B2: The simulated security master station establishes a network communication connection with the security substations within the station through a SOCKET socket, based on the security master station's IP address, subnet mask, and port number.
[0041] Step 1.2.B3: Based on the established communication connection, the simulation master station implements service communication connections with the substations within the station using the IEC60870-5-103 protocol (this embodiment uses the libiec60870 protocol stack). This supports services such as dynamic configuration requests, analog quantity transmission, switch quantity transmission, and setpoint quantity transmission from the simulation master station to the substations within the station.
[0042] Step 2: Dynamic acquisition and static verification of the model.
[0043] The simulation protection client dynamically acquires the model structure information of the protection devices within the station and invokes the protection devices within the station; the simulation protection master station invokes the protection substations within the station and dynamically acquires the configuration of the protection substations within the station. The configuration of the protection substations within the station includes group information and item information; the parsing module parses the point table forwarding file of the protection manufacturer to obtain the test point data list; the static verification module performs static verification on the configuration of the protection substations within the station acquired by the simulation protection master station based on the test point data list.
[0044] Step 2.1: Simulate the main station of the information protection system to dynamically obtain the configuration of the information protection substations within the station; simulate the protection client to dynamically obtain the model structure information of the protection device within the station.
[0045] A. The simulation protection client dynamically acquires the model structure information of the protection device within the station online: Step 2.1.A1: The simulation protection client uses the IEC61850 MMS protocol browsing service function to traverse the model structure information of the protection devices in the station layer by layer (for navigation when the simulation protection client sends signals to the protection devices in the station later), and initializes the corresponding system database sub-library based on the read model structure information of the protection devices in the station.
[0046] The simulation protection client reads the model structure information of the protection device within the site in the following order: Server, Logical Device (LD), Logical Node (LN), Data Object (DO), and Data Attribute (DA). The resulting hierarchical structure of the protection device's model structure information, from top to bottom, is: IED information belonging to the Server, LD device node information, LN logical node information, DO data object information, and DA data attribute information, denoted as IED->LD->LN->DO->DA hierarchy. The specific content of each level is as follows: 1. The IED information belonging to the Server mainly includes: IED name, IED description, and the number of LD device nodes under the IED information.
[0047] 2. The device node LD information mainly includes: LD reference path, LD description, and the number of LN logical nodes under the device node LD.
[0048] 3. Logical node (LN) information mainly includes: LN reference path, LN description, and the number of DO data objects under the logical node (LN).
[0049] 4. The information of a data object (DO) mainly includes: DO reference path, DO description, and the number of DA data attributes under the data object DO.
[0050] 5. Data attribute (DA) information mainly includes: DA reference path, DA description, DA type, and DA value.
[0051] Based on the model structure information of the protection devices within the station, the simulation protection client obtains other information at each level except for the DA value.
[0052] S2.1.A2: The simulation protection client issues a general call command, obtains the current running value of the DA value under the DA information of all data attributes of the current protection device based on the model structure information of the protection device in the station, and initializes the system database sub-library corresponding to the simulation protection client.
[0053] B. The simulated security information master station calls upon the security information substations within the station to dynamically obtain the configuration of the security information substations within the station. The hierarchical structure of the configuration of the security information substations within the station is as follows: group information and item information.
[0054] Step 2.1.B1: The simulated security master station reads the group configuration summary information in the configuration module of the security substation within the station through the IEC60870-5-103 protocol.
[0055] The group configuration summary information includes: the group type name, group number, and the number of entries included in each group.
[0056] In this embodiment, the group types include: device configuration, line configuration, bus configuration, switch configuration, setting value, status quantity, analog quantity, fault quantity, etc.; among which, the device configuration information is specific to each protection device in the station and mainly includes: device setting value, device analog quantity, soft pressure plate, device switch quantity description, device self-test information description, device event description, etc.
[0057] Step 2.1.B2: The simulation master station, based on the group number, summons the corresponding group information and the entry information under each group to the substations within the station through the IEC60870-5-103 general service command, and initializes the system database sub-database corresponding to the simulation master station.
[0058] Group information includes: group number, group type name, group description, and number of entries under the group.
[0059] Group Number: This is a numerical sequence number that divides the information uploaded by all protection devices within the station into several logical groups based on function or physical location. Functional logical groups include: device identification information in one group, parameter information in another, distance protection information in another, zero-sequence protection information in another, current information in another, voltage information in another, power information in another, circuit breaker location information in another, and disconnector status information in another, etc.
[0060] Group Description: The system database is initialized by the simulation security master station based on dynamically acquired data.
[0061] Group type name: For different groups, the corresponding group type name is one of the following: device configuration, line configuration, bus configuration, switch configuration, setting value, status quantity, analog quantity, fault quantity, etc.; device configuration includes: device setting value, device analog quantity, soft pressure plate, device switch quantity description, device self-test information description, device event description, etc.
[0062] For each entry, the entry information includes: entry number, entry description, entry data type, and entry value.
[0063] Entry number: A sequential number used to distinguish different data objects within the same group, which, together with the group number, constitutes a unique address identifier for the data object. The group number enables classification management, while the entry number enables precise location; together, they form the protocol's information addressing system.
[0064] The data type of the entry can be one of the following types: single point, double point, or floating point.
[0065] The entry values include: actual value, default value, dimensions, range, step size, etc.
[0066] Entry Description: This refers to a specific object, such as an analog quantity group. The "Phase A Current" and "Phase B Current" below are entry descriptions.
[0067] Complete group information, and item information under the group information, such as: Group number: 1, Group description: #1 Main transformer protection PST-1200U, Group type name: Device configuration, Number of entries under the group: 1; Corresponding entry information includes: Entry number: 1, Entry description: Phase A high voltage side current, Entry data type: floating point, Entry value: 1250.5A.
[0068] Based on the dynamically acquired group information and the item information under the group information, the simulation security master station can initialize the corresponding system database sub-base. The set values, set value ranges, specific contents of analog quantities, specific contents of status quantities, and alarm contents of the security sub-stations can be extracted from the item information. Among them, the item value data corresponding to the set values, set value ranges, etc. are obtained by actively reading, while the item value data corresponding to the analog quantities, status quantities, alarms, etc. are obtained by passively receiving the data sent by the security sub-stations within the station.
[0069] Step 2.2: Static verification of the configuration of the information security substation within the station: The consistency of the configuration of the internal information security substations dynamically obtained from the simulation main station with the test point data list obtained through the information security vendor's point table forwarding file is verified. The verification mainly involves ensuring a one-to-one correspondence between the group number, item number, and item description configured in the internal information security substations and the group number, item number, and test point description in the test point data list. The specific process is as follows: Step 2.2.1: The parsing module of the automatic point-to-point system based on the replacement mode parses the point table forwarding file provided by the security information provider to obtain the test point data list. The data for each test point in the test point data list includes: MMS reference address, test group number, test item number, and test point description.
[0070] This embodiment parses the point table forwarding file (filename: pointParm.xls) provided by the security information provider, and extracts the test point data list from the point table forwarding file using an xls table parser. The data for each test point includes: MMS parameters (e.g., CL2201CTRL / CBAutoCSWI1.Pos.stVal, from which IED information, LD device node information, LN logic node information, DO data object information, and DA data attribute information corresponding to the test point can be extracted, which are used as navigation information when sending and receiving information between the security information substation and the simulation security information master station), group number (e.g., 2), item number (e.g., 1), and test point description (e.g., furnace 221 switch).
[0071] Among them, the MMS reference address corresponds to the signal trigger address on the protection device in the station of the automatic point-to-point system for the protection substation based on the replacement mode, and the test group number and test item number correspond to the feedback address of the protection substation in the station that receives the feedback signal from the protection substation in the station of the automatic point-to-point system for the protection substation based on the replacement mode, forming a closed-loop test of "signal triggering - protection substation processing - signal verification".
[0072] Step 2.2.2: Traverse the test point data list. Based on the test group number and test item number of each test point in the test point data list, sequentially search for the corresponding group number and item number with the same value in the system database sub-database of the simulation information assurance master station: For each test point, if a group number with the same value as the test group number in the test point data list is found in the sub-database of the system database corresponding to the simulation security master station, and an entry number with the same value as the test entry number in the test point data list is found under the found group number, then the test point description corresponding to the test point is compared with the entry description in the sub-database of the system database corresponding to the simulation security master station. If the descriptions are consistent, the test point is marked as correctly configured; otherwise, the security sub-station within the station is marked as not configuring the relevant test points according to the standard description.
[0073] If the database sub-database corresponding to the main station of the simulation security guarantee main station does not simultaneously find a group number with the same value as the test group number of the test point in the test point data list, and an entry number under the group number with the same value as the test entry number, it indicates that the security guarantee sub-station within the station is missing a test point, and the corresponding test point configuration is marked as missing in the security guarantee sub-station within the station.
[0074] The static verification module transmits the static verification result report information (including the markers corresponding to the test points in step 2.2.2) to the report generation module through the corresponding database sub-library, or directly transmits the static verification result report information to the report generation module.
[0075] Step 3: Instantiation and initial state setting of test points.
[0076] The instantiation module drives the simulation protection client to instantiate the test points in the test point data list one by one according to the dynamically acquired model structure information of the protection device in the station. Then, the simulation protection client sends replacement enable signals to the corresponding test points of the protection device in the station according to the instantiated test points. After the replacement enable signals are sent, the corresponding test points of the protection device in the station are initialized with values according to the instantiated test points.
[0077] Step 3.1, instantiating the MMS parameter of the test point: The MMS parameters in the test point data list are split using regular expressions. The resulting MMS parameter information group data includes: IED name, device node LD, logical node LN, data object DO, and data attribute DA. The split MMS parameter information group data is then sequentially searched in the corresponding sub-database of the simulation protection client. If a match is found, the test point can be instantiated, and the simulation protection client can send the corresponding signal to the corresponding measurement point of the protection device within the station. If no matching information is found in the corresponding sub-database of the simulation protection client, the corresponding test point is marked as instantiation failed and saved. The specific steps include the following: Step 3.1.1: Use regular expressions to split the MMS parameters corresponding to each test point into MMS parameter information group data. The MMS parameter information group data includes: IED name, device node LD, logical node LN, data object DO, and data attribute DA.
[0078] For example, the result of splitting the MMS reference CL2201CTRL / CBAutoCSWI1.Pos.stVal is: CL2201, CTRL, CBAutoCSWI1, Pos, stVal, where: IED name: CL2201, Device node LD reference path: CTRL, Logical node LN reference path: CBAutoCSWI1, Data object DO reference path: Pos, Data attribute DA reference path: stVal.
[0079] Step 3.1.2: In the system database sub-database corresponding to the simulation protection client, the model structure information is searched according to the hierarchy IED->LD->LN->DO->DA. The search is performed to find the IED name, device node LD reference path, logical node LN reference path, data object DO reference path, and data attribute DA reference path that match the data content of each MMS reference information group. If a match is found, the corresponding test point can be instantiated. Points in the station protection device with the same IED name, device node LD reference path, logical node LN reference path, data object DO reference path, and data attribute DA reference path as the MMS reference information group data content are designated as test points. The simulation protection client can send signals to the corresponding test points of the station protection device and save all DA types under the corresponding data object DO, thus completing the test point instantiation. If no information matching the MMS reference information group data content is found in the database sub-database corresponding to the simulation protection client, the corresponding test point cannot be instantiated. The corresponding test point is marked as instantiation failed, and an instantiation failure report is sent to the report generation module.
[0080] The DA types include: stVal actual state value, subEna substitution enable, subVal substitution value, q quality, t timescale, etc. Among them, subEna substitution enable indicates whether substitution is enabled. If subEna substitution enable is active in the substitution signal, the value of the corresponding type signal at the measuring point of the protection device within the station is equal to the subVal substitution value. If subEna is inactive, the value of the corresponding type signal at the measuring point of the protection device within the station is the value of the actual corresponding type signal generated or detected by the data object in real time. The subVal substitution value is the set substitution value. q quality indicates the quality of the data object being substituted. The q quality bits identify whether the value of each type of signal corresponding to the data object has been successfully substituted to the subVal substitution value. Test points are classified according to data type: single-point, double-point, floating-point, etc.
[0081] Step 3.2, Initial state settings for test points: The simulation protection client iterates through all instantiated test points and sends the replacement enable signal of the effective state to the corresponding test point of the protection device in the station. After all test points in the protection device in the station have been replaced and enabled, the simulation protection client iterates through all test points and sends the initial state signal to the corresponding test point of the protection device in the station.
[0082] Step 3.2.1: The simulation protection client traverses all instantiated test points and sends the valid state replacement enable signal to the corresponding test point of the protection device in the station.
[0083] For example: Substitute address: CL2201CTRL / CBAutoCSWI1.Pos.subEna; the DA parameter for sending substitute enable is "subEna", which represents the substitute enable setting. A value of 1 indicates that substitute enable is active, and a value of 0 indicates that substitute enable is inactive. Specifically, substitute enable: using the "Substitute service" defined in the IEC 61850 MMS standard, the "value source" of a certain data object (telemetry, telesignaling, etc.) of the protection device is switched to "forced writing by the client".
[0084] Step 3.2.2: After all instantiated test points have been replaced and enabled, the simulation protection client iterates through all instantiated test points and sends an initialization replacement signal to the corresponding test points of the protection device within the station, thus initializing the DA value of each test point. In this embodiment, CL2201CTRL / CBAutoCSWI1.Pos.subVal is sent, where the DA parameter to be replaced is "subVal". When the test point data type is single-point, the subVal replacement value is 0, representing initialization; when the test point is dual-point, the subVal replacement value is 1, representing initialization; and when the test point is floating-point, the subVal replacement value is 0, representing initialization.
[0085] The purpose of setting the initial state is to ensure that each test point changes during automatic testing of the information security substation. The goal is to ensure that subsequent automatic tests send values different from the initial state value.
[0086] Step 4: Automatic test of closed-loop information transmission and reception at the Baoxin substation and generation of a test report; The simulation protection client of the automatic point-to-point system for the protection substation based on the substitution mode outputs test substitution signals to the test points of the protection device within the station according to the instantiated test points in the test point data list. The expected data obtained by converting the test substitution signals through a forwarding table is saved in the automatic point-to-point test module. The simulation protection master station receives feedback signals from the protection substations within the station. The automatic point-to-point test module compares the feedback signals received by the simulation protection master station with the corresponding saved expected data to complete the automatic point-to-point test and generate a test report. The expected data includes the group number, item number, and expected subVal value. The report generation module receives and summarizes the automatic point-to-point test results and generates a test report. During the test execution process, after starting the automatic test, the system executes the following test items: Step 4.1, Automatic Point-to-Point Test: According to the type of signal used for testing replacement signals, signal transmission tests are divided into: alarm information transmission test, setting information transmission test, remote signaling information transmission test, telemetry information transmission test, pressure plate information transmission test, and protection event information transmission test. (When sending test replacement signals on the protection device side within the station, specific signals can be selected through the settings of device node LD, logic node LN, and data object DO, thereby limiting the corresponding test replacement signal type; in the feedback signals sent from the protection substation within the station to the simulation protection master station, the item description includes the specific signal name, and the item value corresponds to the value of the specific signal.)
[0087] The simulation protection client iterates through all instantiated test points sequentially and performs automated point-to-point testing as follows: Step 4.1.1: Based on the test point type, the simulation protection client outputs the test replacement signal corresponding to the test point to the protection device in the station. At the same time, the automatic point test module uses the forwarding table in the point table forwarding file to convert the test replacement signal into the corresponding expected data and save it. The expected data includes the group number, the entry number, and the expected subVal value. The simulation protection master station starts listening to the uploading behavior of the protection substation in the station and receives the feedback signal uploaded by the protection substation in the station through the IEC60870-5-103 message in real time.
[0088] In this embodiment, the simulation protection client sends a test substitution signal corresponding to "Furnace 221 Switch" to the station protection device via MMS messages. The MMS address of the test substitution signal is CL2201CTRL / CBAutoCSWI1.Pos.subVal, and the subVal substitution value is "action". Upon receiving the test substitution signal, the station protection device forwards it to the station's information protection substation. The substation converts the test substitution signal into a feedback signal via a forwarding table and forwards it to the simulation information protection master station. For the test substitution signal: when the test point data type is single-point, a subVal substitution value of 1 represents an action; when the test point is double-point, a subVal substitution value of 2 represents an action; when the test point data type is floating-point, a non-zero subVal substitution value represents an action. During this process, the station protection device converts the subVal substitution value sent by the simulation protection client into the stVal actual state value, which is then converted into a feedback signal by the station's information protection substation and sent to the simulation information protection master station.
[0089] Step 4.1.2: After the simulation master station receives the feedback signal sent by the substation within the station via the IEC60870-5-103 message, it extracts group information from the feedback signal, including: group number, entry number, entry value, and timestamp. The automatic point-to-point test module performs consistency verification between the group information in the feedback signal and the corresponding expected data, and evaluates the rationality of the reception timing. Specifically, the data consistency verification checks the consistency between the group number, entry number, and entry value in the group information of the feedback signal and the expected group number, entry number, and subVal value in the expected data; the rationality evaluation of the reception timing detects whether the delay of receiving the feedback signal exceeds the delay threshold based on the timestamp. If all the above criteria are met, the test at this stage is considered passed; otherwise, the test point is marked as abnormal, and abnormal data and the reason for failure are sent to the report generation module.
[0090] The alternative testing method involves a long link including "signal sending end → in-station protection device → in-station signal protection substation → signal protection master station". Failure in any link will result in test failure. Traditionally, the signal sending end is handled by test personnel, making it difficult to quickly pinpoint the fault location—whether it's on the in-station protection device side, the in-station signal protection substation side, or the communication link side. For example, traditional manual testing only allows setting signal transmission on the in-station protection device and manually checking the status on the in-station signal protection substation's human-machine interface to see if it matches the preset transmission signal. If the signal displayed by the in-station signal protection substation is inconsistent with the sent signal, or if the in-station signal protection substation does not receive a signal, it's impossible to determine whether the fault lies in the transmission of the in-station protection device or the reception of the in-station signal protection substation. If the remote physical signal protection master station displays a failed or incorrect reception signal, it's even more difficult to troubleshoot the specific fault. This invention can perform fault point troubleshooting, data consistency verification, and reasonableness assessment of reception timing through segmented testing, specifically including the following process: Step 4.1.2.1, First closed-loop verification – Confirmation of the effectiveness of the replacement of the protection device on the station side.
[0091] The simulation protection client sends a test replacement signal to the protection device within the station and reads the subVal readback value from the protection device side to verify the first closed loop of "replacement write - device local effect": If no subVal readback value is received within the preset readback value reception waiting time, it is marked as a protection device replacement service timeout.
[0092] If the received subVal readback value is inconsistent with the subVal replacement value sent by the simulation protection client within the preset readback value reception waiting time, it is marked as an abnormality of the protection device replacement service.
[0093] If the subVal readback value matches the subVal replacement value sent by the simulation protection client, then further check the time difference between receiving the subVal readback value and sending the test replacement signal from the simulation protection client. , When time difference If the delay is less than the preset protection device delay threshold, it means that the delay of the protection device in the station is below the preset protection device delay threshold, and step 4.1.2.2 is executed; When time difference If the delay exceeds the preset protection device delay threshold, the protection device delay is marked as out of range, and step 4.1.2.2 is executed.
[0094] Step 4.1.2.2, Second closed-loop verification – Substation forwarding consistency confirmation.
[0095] At this point, the protection device within the station has taken effect. The automatic point-to-point test module compares the entry values in the feedback signal received by the simulated signal protection master station with the expected subVal value of the automatic point-to-point test module to verify the second closed loop of the "device-substation" connection. If the simulated information security master station does not receive a feedback signal from the information security substation within the preset master station receiving waiting time, it is marked as an internal information security substation forwarding timeout, indicating that there may be a fault in the internal information security substation's receiving or forwarding. If, within the preset master station receiving waiting time, the simulated security signal master station receives a feedback signal from the security signal substation within the station, but the value of the entry in the feedback signal is inconsistent with the expected value of subVal of the automatic point-to-point test module, it is marked as an abnormal forwarding configuration of the security signal substation within the station. If, within the preset master station receiving waiting time range, the simulated protection master station receives a feedback signal from the internal protection substation, and the entry value of the feedback signal received by the simulated protection master station matches the expected subVal value of the automatic point-to-point test module, and the delay of the internal protection device is below the preset protection device delay threshold, then the time corresponding to the timestamp of the feedback signal received by the simulated protection master station is further calculated, and the time when the simulated protection client sends the test replacement signal is subtracted to obtain the time difference. , If time difference If the delay is less than the preset upper limit for the main station's reception delay, then the test point is marked as normal. If time difference If the delay is greater than or equal to the preset upper limit of the main station's reception delay, then the delay from the protection device to the substation is flagged. In this embodiment, the preset upper limit of the main station's reception delay is 500 milliseconds.
[0096] Among them, the preset master station receiving waiting time is greater than the master station receiving delay limit. Step 4.1.2.3: The automatic point-to-point test module transmits the report information of the automatic point-to-point test results (including the markers corresponding to the test points in steps 4.1.2.1 to 4.1.2.2) to the report generation module through the corresponding database sub-library, or directly transmits the report information of the automatic point-to-point test results to the report generation module.
[0097] This invention uses segmented verification, and the system automatically generates fault location tags (such as "device replacement anomaly," "substation forwarding missing," "communication timeout," etc.), replacing the traditional manual segment-by-segment troubleshooting and reducing fault location time from hours to minutes. If a signal point test fails and is marked in red, the substation manufacturer will check and modify the configuration of the substation within the station before retesting until the test point succeeds.
[0098] Step 4.2: Test Report Generation After the closed-loop automated testing is completed (i.e., all test points have been tested), the report generation module automatically generates a structured test report. The test report includes at least: a description of each test point, the test result for each test point, the total number of test points, overall test pass rate statistics, and a detailed list of anomalies. This ensures that the testing process is traceable and the results are auditable.
[0099] In this embodiment, the test report mainly includes the following: Summary of test results: total number of test points, pass rate, failure rate, total test time, and tester information.
[0100] Detailed test results: description of each test point, MMS reference address, group number, entry number, test status (pass or fail), test time, and test result.
[0101] Summary of test errors: Records information on all test failures and the reasons for the test failures.
[0102] The report format supports exporting to multiple formats such as Word, PDF, and Excel.
[0103] It should be noted that the embodiments described in this invention are merely illustrative of the spirit of the invention. Those skilled in the art to which this invention pertains can make various modifications or additions to the described embodiments or use similar methods to substitute them, without departing from the spirit of the invention or exceeding the scope defined by the appended claims.
Claims
1. An automatic point-to-point system for information security substations based on a replacement pattern, characterized in that, It includes a simulation protection client, a simulation information protection master station, a model reading module, a static verification module, an automatic point-to-point testing module, a report generation module, a parsing module, and an instantiation module; The simulation protection client is connected to the protection device inside the station, and the simulation information protection master station is connected to the information protection substation inside the station. The model reading module drives the simulation protection client to dynamically acquire the model structure information of the protection devices in the station and invoke the protection devices in the station. The model reading module also drives the simulation protection master station to dynamically acquire the configuration of the protection substations in the station. The parsing module parses the point table forwarding file of the protection manufacturer to obtain the test point data list and forwarding table. The static verification module performs static verification on the configuration information of the protection substations in the station acquired by the simulation protection master station based on the test point data list. The instantiation module drives the simulation protection client to instantiate each test point in the test point data list according to the model structure information; The simulation protection client sends replacement enable signals to the protection device in the station in sequence according to the instantiated test points. After the replacement enable signals are sent, the simulation protection client is initialized. The automatic point-to-point test module drives the simulation protection client to output test replacement signals to the protection device in the station according to the instantiated test points. The expected data of the test replacement signals converted by the forwarding table is saved in the automatic point-to-point test module. The protection device in the station transmits the response signal to the protection information substation in the station. At the same time, the simulation protection information master station collects the feedback signals of the protection information substation in the station. The automatic point-to-point test module completes the automatic point-to-point test by comparing the consistency between the feedback signal received by the simulation protection information master station and the corresponding saved expected data. The report generation module receives and summarizes the automatic point-to-point test results and generates a test report.
2. An automatic point-to-point method for information security substations based on a substitution pattern, utilizing the automatic point-to-point system for information security substations based on a substitution pattern as described in claim 1, characterized in that, The steps include the following: Step 1: Construct an automatic point-to-point system for information protection substations based on the replacement mode, and connect the automatic point-to-point system for information protection substations based on the replacement mode to the information protection substations and protection devices within the station respectively; Step 2: The simulation protection client dynamically obtains the model structure information of the protection device in the station and summons the protection device in the station; the simulation protection master station summons the protection substation in the station and dynamically obtains the configuration of the protection substation in the station. The configuration of the protection substation in the station includes group information and entry information; the parsing module parses the point table forwarding file of the protection manufacturer to obtain the test point data list; The static verification module performs static verification on the configuration of the internal security substations obtained by the simulation security master station based on the test point data list; Step 3: The instantiation module drives the simulation protection client to instantiate the test points in the test point data list one by one according to the dynamically acquired model structure information of the protection device in the station; then the simulation protection client sends the replacement enable signal to the corresponding test point of the protection device in the station according to the instantiated test point; after the replacement enable signal is sent, the test point of the protection device in the station is initialized according to the instantiated test point. Step 4: The simulation protection client outputs test replacement signals to the test points of the protection device within the station based on the instantiated test points in the test point data list. The expected data obtained by converting the test replacement signals through the forwarding table in the point table forwarding file is saved in the automatic point-to-point test module. The simulation protection master station receives feedback signals from the protection substations within the station. The automatic point-to-point test module completes the automatic point-to-point test by comparing the feedback signals received by the simulation protection master station with the corresponding saved expected data. The report generation module receives and summarizes the automatic point-to-point test results and generates a test report. The expected data includes the group number, item number, and subVal expected value.
3. The automatic point-to-point method for information security substations based on replacement patterns according to claim 2, characterized in that, Step 1 specifically includes the following steps: Step 1.1: Construct an automatic point-to-point system for information protection substations based on the replacement pattern, including a simulation protection client, a simulation information protection master station, a model reading module, a static verification module, an automatic point-to-point testing module, a report generation module, an instantiation module, and a parsing module; Step 1.2: Connect the simulation protection client to the protection device inside the station, and connect the simulation information protection master station to the information protection substation inside the station; The simulation protection client connects to the protection device within the station, and the specific operation is as follows: Step 1.2.A1: The parsing module of the automatic point-to-point system for the protection substation based on the replacement mode parses the communication parameter file of the monitoring background device to obtain the communication configuration information of the protection device in the station, including: IED name, IED description, IP address, subnet mask, and port number; Step 1.2.A2: The simulation protection client establishes a network communication connection with the protection device in the station through a SOCKET socket based on the IP address, subnet mask, and port number of the protection device in the station. Step 1.2.A3: The simulation protection client establishes a service communication connection with the protection device within the station based on the IEC61850 MMS protocol; The connection between the simulated data security master station and the data security sub-stations within the station is as follows: Step 1.2.B1: The parsing module parses the Baoxin master station configuration file and extracts the communication parameters of the Baoxin master station, including IP address, subnet mask, and port number; Step 1.2.B2: The simulated security master station establishes a network communication connection with the security substations within the station through SOCKET sockets based on the security master station's IP address, subnet mask, and port number. Step 1.2.B3: Based on the communication connection, the simulated security master station implements service communication connection with the security substations within the station based on the IEC60870-5-103 protocol.
4. The automatic point-to-point method for information security substations based on replacement patterns according to claim 2, characterized in that, In step 2, the simulation protection client dynamically acquires the model structure information of the protection device within the station and invokes the protection device within the station. The specific operation is as follows: Step 2.1.A1: The simulation protection client uses the IEC61850 MMS protocol browsing service function to traverse the model structure information of the protection devices in the station layer by layer, and initializes the corresponding system database sub-library based on the read model structure information of the protection devices in the station. The order in which the simulation protection client reads the model structure information of the protection device within the station is as follows: server, logical device LD, logical node LN, data object DO, and data attribute DA; The hierarchical structure of the model structure information of the obtained site protection device is as follows from top to bottom: IED information of the server, LD device node information, LN logical node information, DO data object information, and DA data attribute information, which is denoted as IED->LD->LN->DO->DA hierarchy; S2.1.A2, The simulation protection client issues a general call command, obtains the current running value of DA value under all data attributes DA of the current protection device based on the model structure information of the protection device in the station, and updates the system database sub-library corresponding to the simulation protection client; The simulation of dynamically obtaining the configuration of the security service substations within the main station includes the following steps: Step 2.1.B1: The simulated security master station reads the group configuration summary information in the configuration module of the security substation within the station through the IEC60870-5-103 protocol; The group configuration summary information includes: the group type name, group number, and the number of entries included in each group; Step 2.1.B2: The simulated security master station, based on the group number, summons the corresponding group information and the entry information under each group to the security substation within the station through the IEC60870-5-103 general service command, and initializes the system database corresponding to the simulated security master station.
5. The automatic point-to-point method for information security substations based on replacement patterns according to claim 2, characterized in that, In step 2, the parsing module parses the point table forwarding file of the security information provider to obtain the test point data list; the static verification module performs static verification on the configuration of the security information provider substations obtained by the simulated security information provider main station based on the test point data list. The specific process is as follows: Step 2.2.1: The parsing module parses the point table forwarding file provided by the security software manufacturer to obtain the test point data list; the data of each test point in the test point data list includes: MMS reference address, test group number, test item number, and test point description; Step 2.2.2: Traverse the test point data list. Based on the test group number and test item number of each test point in the test point data list, sequentially search for the corresponding group number and item number with the same value in the system database sub-database of the simulation information assurance master station: For each test point, if a group number with the same value as the test group number in the test point data list is found in the sub-database of the system database corresponding to the simulation security master station, and an entry number with the same value as the test entry number in the test point data list is found under the found group number, then the test point description corresponding to the test point is compared with the entry description in the sub-database of the system database corresponding to the simulation security master station. If the descriptions are consistent, the test point is marked as correctly configured; otherwise, the security sub-station within the station is marked as not configuring the relevant test points according to the standard description. If the database sub-database corresponding to the main station of the simulation security main station does not simultaneously find a group number with the same value as the test group number of the test point in the test point data list, and an entry number under the group number with the same value as the test entry number, then mark that the security sub-station within the station is missing the configuration of the corresponding test point; The static verification module transmits the static verification result report information to the report generation module through the corresponding database sub-database, or directly transmits the static verification result report information to the report generation module.
6. The automatic point-to-point method for information security substations based on replacement patterns according to claim 5, characterized in that, The simulation protection client instantiates each test point in the test point data list one by one based on the dynamically acquired model structure information, specifically including the following steps: Step 3.1.1: Use regular expressions to split the MMS parameters corresponding to each test point into MMS parameter information group data. The MMS parameter information group data includes: IED name, device node LD, logical node LN, data object DO, and data attribute DA. Step 3.1.2: In the system database sub-database corresponding to the simulation protection client, the model structure information is searched according to the hierarchy IED->LD->LN->DO->DA. The search is performed to find the IED name, device node LD reference path, logical node LN reference path, data object DO reference path, and data attribute DA reference path that match the data content of each MMS reference information group. If found, the points in the site protection device with the same IED name, device node LD reference path, logical node LN reference path, data object DO reference path, and data attribute DA reference path as the MMS reference information group data content are designated as test points. All DA types under the corresponding data object DO are saved, completing the test point instantiation. If no information matching the MMS reference information group data content is found in the database sub-database corresponding to the simulation protection client, the corresponding test point is marked as instantiation failed, and an instantiation failure report is sent to the report generation module. DA types include: stVal actual state value, subEna substitution enable, subVal substitution value, q quality, and t time scale.
7. The automatic point-to-point method for information security substations based on replacement patterns according to claim 2, characterized in that, The simulation protection client sequentially sends replacement enable signals to the corresponding test points of the protection device within the station based on the instantiated test points. After the replacement enable signals are sent, the client initializes the values of the test points corresponding to the protection device within the station based on the instantiated test points. The specific steps include the following: Step 3.2.1: The simulation protection client traverses all instantiated test points and sends the replacement enable signal of the effective state to the corresponding test point of the protection device in the station; Step 3.2.2: After all instantiated test points have been replaced and enabled, the simulation protection client traverses all instantiated test points and sends initialization replacement signals to the corresponding test points of the protection device in the station, so that the DA value of each test point is initialized.
8. The automatic point-to-point method for information security substations based on replacement patterns according to claim 2, characterized in that, Step 4, the automatic point-to-point testing, specifically includes the following steps: Step 4.1.1: The simulation protection client outputs the test replacement signal corresponding to the test point to the protection device in the station. At the same time, the automatic point test module uses the forwarding table in the point table forwarding file to convert the test replacement signal into the corresponding expected data and save it. The expected data includes the group number, the item number, and the expected value of subVal. The simulation protection master station starts to listen to the transmission behavior of the protection substation and receives the feedback signal transmitted by the protection substation in the station in real time. Step 4.1.2: The simulation master station extracts group information from the feedback signal, including: group number, entry number, entry value, and time stamp; the automatic point-to-point test module performs consistency verification between the group number, entry number, and entry value in the group information of the feedback signal and the expected group number, entry number, and subVal value in the expected data, and detects whether the delay of the received feedback signal exceeds the delay threshold based on the time stamp.
9. The automatic point-to-point method for information security substations based on replacement patterns according to claim 2, characterized in that, Step 4.1.2 specifically includes the following steps: Step 4.1.2.1: The simulation protection client sends a test replacement signal to the protection device within the station and reads the subVal readback value from the protection device side. If no subVal readback value is received within the preset readback value reception waiting time, it will be marked as a protection device replacement service timeout. If the received subVal readback value is inconsistent with the subVal replacement value sent by the simulation protection client within the preset readback value reception waiting time, it is marked as an abnormality of the protection device replacement service. If the subVal readback value matches the subVal replacement value sent by the simulation protection client, then further check the time difference between receiving the subVal readback value and sending the test replacement signal from the simulation protection client. , When time difference If the delay time is less than the preset protection device delay threshold, proceed to step 4.1.2.2; When time difference If the delay exceeds the preset protection device delay threshold, the protection device delay is marked as out of range, and step 4.1.2.2 is executed. Step 4.1.2.2: The automatic point-to-point test module compares the entry values in the feedback signal received by the simulation master station with the expected subVal value of the automatic point-to-point test module. If the simulated information security master station does not receive a feedback signal from the information security substation within the preset master station receiving waiting time, it is marked as an internal information security substation forwarding timeout. If, within the preset master station receiving waiting time, the simulated security signal master station receives a feedback signal from the security signal substation within the station, but the value of the entry in the feedback signal is inconsistent with the expected value of subVal of the automatic point-to-point test module, it is marked as an abnormal forwarding configuration of the security signal substation within the station. If, within the preset master station receiving waiting time range, the simulated protection master station receives a feedback signal from the internal protection substation, and the entry value of the feedback signal received by the simulated protection master station matches the expected subVal value of the automatic point-to-point test module, and the delay of the internal protection device is below the preset protection device delay threshold, then the time corresponding to the timestamp of the feedback signal received by the simulated protection master station is further calculated, and the time when the simulated protection client sends the test replacement signal is subtracted to obtain the time difference. , If time difference If the delay is less than the preset upper limit for the main station's reception delay, then the test point is marked as normal. If time difference If the delay is greater than or equal to the preset maximum delay limit for the main station to receive data, then the delay from the protection device to the substation is marked as a delay. Among them, the preset main station receiving waiting time is greater than the upper limit of the main station receiving delay; Step 4.1.2.3: The automatic point-to-point test module transmits the report information of the automatic point-to-point test results to the report generation module through the corresponding database sub-library, or directly transmits the report information of the automatic point-to-point test results to the report generation module.
10. The automatic point-to-point method for information security substations based on replacement patterns according to claim 2, characterized in that, The test report shall include at least: a description of each test point, the test result of each test point, the total number of test points, the overall test pass rate statistics, and a detailed list of anomalies.