Method for concurrently controlling relay protection tester by mobile terminal based on dynamic link library

By using a mobile terminal based on a dynamic link library to control a relay protection tester in parallel, automated parallel testing of multiple testers in a smart substation was achieved, solving the problems of low efficiency and inaccurate results caused by manual testing and improving testing efficiency and accuracy.

CN121476792APending Publication Date: 2026-02-06SICHUAN POWER TRANSMISSION & TRANSFORMATION CONSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511758585.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-27
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

In existing smart substations, the determination of test results relies on manual intervention, which has high technical requirements, low testing efficiency, and cannot automatically test multiple secondary devices under test at the same time. Furthermore, there are deviations in test results caused by changes in the position of maintenance pressure plates or changes in set values.

Method used

A mobile terminal based on dynamic link library is used to control the relay protection tester in parallel. By writing dynamic link library and state sequence, the mobile control unit and the relay protection tester are automatically connected and data is analyzed. It supports the parallel operation of multiple testers. Combined with MQTT protocol and heartbeat detection, communication is stable and test data is collected and analyzed in real time.

Benefits of technology

It reduces the professional technical requirements for operators, improves testing efficiency and accuracy, and can automatically test multiple devices simultaneously, ensuring the accuracy and reliability of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121476792A_ABST
    Figure CN121476792A_ABST
Patent Text Reader

Abstract

The invention discloses a method for parallel control of a relay protection tester by a mobile terminal based on a dynamic link library. The parallel control method comprises the following steps: S1, compiling the dynamic link library; s2, compiling a state sequence of all test items; s3, according to the number and model of the relay protection testers in the to-be-tested environment, realizing an addition test function between the mobile control unit and the dynamic link library file; s4, the relay protection tester carries out loading according to the configuration file; and S5, the relay protection tester carries out an actual dosage test on the to-be-tested secondary equipment. According to the invention, the unified control of relay protection testers of different manufacturers and different models is realized through the technology of dynamically expanding the dynamic link library by mainly utilizing the modular design. According to the invention, the system can flexibly adapt to the characteristics of various relay protection testers, so that the purpose of automatic dosage testing is achieved. According to the invention, a highly flexible, extensible and efficient solution is provided for relay protection testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of testing secondary equipment under test in intelligent substations, specifically to a method for using a mobile terminal to control a relay protection tester based on a dynamic link library. This method is an automatic testing method for the secondary equipment under test using a mobile terminal to control a relay protection tester based on a dynamic link library. Background Technology

[0002] In existing smart substations, the determination of test results for test items mostly requires the participation of inspection personnel. At the same time, this method has the following limitations: (1) it requires high technical skills from the test personnel; (2) the test process requires a lot of working time; and (3) it is impossible for a single person to perform automatic testing on multiple secondary devices under test at the same time.

[0003] Meanwhile, the automatic judgment method for the test results of the test items does not consider the following situation: when the maintenance pressure plate of the secondary equipment under test is displaced or the set value is changed during the test, it will cause the subsequent test results to deviate from the expected results, and there may be signal omissions or signal errors, resulting in inaccurate judgment results.

[0004] Therefore, there is an urgent need for a new device and / or method to solve the above problems. Summary of the Invention

[0005] To address the aforementioned shortcomings in existing technologies, this invention provides a method for parallel control of a relay protection tester by a mobile terminal based on a dynamic link library, which solves the problems of high technical requirements for technicians and low testing efficiency in existing testing methods.

[0006] To achieve the above objectives, the present invention adopts the following technical solution.

[0007] A method for parallel control of a relay protection tester by a mobile terminal based on a dynamic link library includes the following steps:

[0008] S1. Compile a dynamic link library according to the technical specifications for the general interface of automatic testing of relay protection;

[0009] S2. Write the state sequence for all test items. The state sequence includes:

[0010] (1) Definition, type, attributes, and action value of standard signals;

[0011] (2) Switching method, duration, triggering demonstration, aperiodic component decay time constant, and GPS triggering time of state sequence nodes;

[0012] (3) The group, number of channels, AC / DC attributes, channel amplitude, channel angle, and channel frequency of voltage and current under the state node;

[0013] S3. Determine the number and model of relay protection testers in the environment to be tested. Through a predefined mapping relationship, the mobile control unit loads the dynamic link library file corresponding to the protection tester to realize the one-to-one or one-to-many incremental testing function between the mobile control unit and the dynamic link library file.

[0014] S4. After the mobile control unit confirms the start of the test, it selects the edited control algorithm according to the dynamic link library component corresponding to the test item and downloads the connection configuration file to the relay protection tester. The relay protection tester loads the clock synchronization parameter configuration, the general parameter configuration of the sampling value, the sampling value configuration, and the GOOSE configuration according to the configuration file. Among them, the GOOSE configuration includes the publishing and subscription settings of GOOSE messages.

[0015] S5. After the relay protection tester is successfully loaded with configuration, the mobile control unit will download the connection configuration file corresponding to the relay protection tester and dynamic link library to the relay protection tester. After loading the connection configuration file, the relay protection tester will select the corresponding functional test according to the description value in the connection configuration file and perform the actual additional test on the secondary equipment under test.

[0016] S6. After the relay protection tester successfully increases the quantity, it collects and filters the message information of the secondary device under test in real time. The filtered information is then pushed to the mobile control unit via a wireless network.

[0017] S7 The mobile control unit analyzes the data sent by different relay protection testers and adjusts the test parameters according to the analysis results. Then, it controls the relay protection tester to carry out the next stage of testing or decides to stop the test, and finally completes the automatic verification of the secondary equipment under test.

[0018] This method is based on the connection and communication of the mobile control unit, relay protection tester, dynamic link library components and communication module.

[0019] In step S1, control algorithms and test cases are established for relay protection testers from different manufacturers and of different models, forming part of the dynamic link library.

[0020] In step S1, a dynamic link library is written according to the technical specifications of the general interface for automatic testing of relay protection. The dynamic link library file should be consistent with the underlying API of the operating system and be able to export standard C language interfaces.

[0021] The standard C language interface includes the following general function interfaces: start online, send configuration parameters, send test parameters, start test, manually trigger, stop test, get results, and get exception information. The return value of each function is a 4-byte boolean type, hereinafter referred to as bool32. Its value range is false and true. For development environments where the bool32 type is not defined, false is defined as 0 and true as 1. According to this specification, the manufacturer of the relay protection tester needs to write the corresponding dynamic link library.

[0022] In step S3, the loaded dynamic link library file supports dynamic expansion. This dynamic link library file supports immediate loading and unloading, ensuring optimal utilization of system resources.

[0023] In step S3, a deep scan of the relay protection tester is performed to identify its manufacturer, model, and firmware version. Each relay protection tester has a corresponding dynamic link library file; the dynamic link library file is based on dynamic link library technology and reflection mechanism, and it includes the control algorithm, test cases, and communication protocol adaptation layer for that relay protection tester.

[0024] In step S3, the mobile control unit will quickly locate the corresponding dynamic link library file from its internally stored dynamic link library repository through hash lookup and version matching.

[0025] In step S5, the mobile control unit loads the corresponding dynamic link library into the relay protection tester; the dynamic link library contains control algorithms designed for the corresponding relay protection tester and scenario; after determining the control algorithm corresponding to the relay protection tester, the mobile control unit automatically generates the corresponding connection configuration file; the connection configuration file includes clock synchronization parameters, sampling value parameters, and GOOSE configuration.

[0026] In step S6, the mobile control unit establishes a communication link with the relay protection tester based on the dynamic link library. After the connection is established, the mobile control unit needs to perform heartbeat detection on the communication connection and actively send heartbeat test messages to all relay protection testers at set intervals. After receiving the response message, the corresponding relay protection tester will immediately respond and push a heartbeat response message to the mobile control unit. After receiving the heartbeat response message, the mobile control unit will maintain the communication connection with the corresponding relay protection tester and display the connection status in real time.

[0027] In step S6, if the mobile control unit does not receive a heartbeat response message for the corresponding relay protection test before sending the next heartbeat test message, it determines that the communication connection with the corresponding relay protection tester is in a communication diagnostic state. In the case of communication diagnostics, the mobile control unit will attempt to reconnect and restore communication in the background of the program. After attempting a set number of times, it will persist the corresponding communication parameters, test data, test status, and time, and display the corresponding disconnection information and possible reasons in the mobile control unit, marking it as a disconnected state.

[0028] The communication between the mobile control unit and the relay protection tester adopts the MQTT protocol; each relay protection tester is assigned a unique identifier, which serves as the identity credential of the corresponding relay protection tester during communication. The mobile control unit can accurately identify and exchange data with a specific relay protection tester based on the unique identifier.

[0029] The mobile control unit performs in-depth analysis of the messages sent from the relay protection tester based on the dynamic link library file and the preset state sequence. Through parsing and matching of the messages, the mobile control unit can automatically identify the state of the secondary equipment under test and verify the correctness of the test procedure.

[0030] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0031] (1) By using dynamic link libraries, this invention allows one mobile control unit to control multiple relay protection testers simultaneously, thereby improving the efficiency of the testing process;

[0032] (2) The present invention controls the relay protection tester to perform additional testing by using a mobile control unit, which lowers the technical threshold, reduces the professional technical requirements for operators, and makes the testing process more user-friendly.

[0033] (3) This invention analyzes the data sent by the relay protection tester to analyze the status of the equipment being tested, such as the setting value and the maintenance pressure plate. If there are changes during the experiment, the experiment will be terminated, which improves the accuracy and reliability of the test data. Attached Figure Description

[0034] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be considered as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort. In the drawings:

[0035] Figure 1A flowchart of a method for controlling a relay protection tester using a mobile terminal based on a dynamic link library is provided.

[0036] Figure 2 Network architecture diagram for mobile control unit, relay protection tester, and secondary device under test;

[0037] Figure 3 This is a schematic diagram illustrating the process of connecting and testing the mobile control unit with the relay protection tester via a dynamic link library.

[0038] Figure 4 This is a schematic diagram illustrating the details of the state sequence established based on the test project;

[0039] Figure 5 A schematic diagram showing the results of connecting the relay protection tester;

[0040] Figure 6 This is a schematic diagram of communication between a mobile terminal and a relay protection tester.

[0041] Figure 7 This is a timing diagram for testing mobile control units, dynamic link libraries, and relay protection testers.

[0042] Figure 8 This is a schematic diagram showing the displacement of the hard pressure plate during the experiment. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.

[0044] To facilitate understanding and implementation of the present invention by those skilled in the art, the present invention will be further described in detail below with reference to embodiments. It should be understood that the embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0045] Example 1

[0046] As shown in the figure, this embodiment provides a method for controlling a relay protection tester using a mobile terminal based on a dynamic link library (DLL). The method involves a mobile terminal, a DLL, and a relay protection tester. The mobile terminal contains a mobile control unit. The mobile control unit and the relay protection tester are connected wirelessly. The relay protection tester outputs the analog signal / GOOSE message required for the action to the secondary device under test (DUT). The DUT transmits the MMS / GOOSE message to the mobile terminal. The network architecture is as follows. Figure 2 As shown.

[0047] The method includes the following steps.

[0048] Step 1: Based on the technical specifications for the general interface of automatic relay protection testing, develop adaptive dynamic link libraries for relay protection testers of different manufacturers and models. These dynamic link libraries contain control algorithms to meet the testing needs of different devices, and provide eight basic general interfaces (the eight basic general interfaces are: start online, send configuration parameters, send test parameters, start test, manual trigger, stop test, get results, and get exception information). Figure 3 The overall online and experimental procedures are presented.

[0049] Step 2: Following the standardized operating procedure, meticulously prepare the state sequence information for all test items, including triggering methods, state durations, and various parameter settings for the voltage and current increments for each state sequence node. Figure 4 As shown. Specifically, according to the standard operating instructions, detailed state sequence information for all test items is compiled, including the definition, type, attributes, and action value of the standard signal; the switching method, duration, trigger demonstration, aperiodic component decay time constant, and GPS trigger time of the state sequence nodes; and the group, number of channels, AC / DC attributes, channel amplitude, channel angle, and channel frequency of the voltage and current under the state node. This state sequence information provides detailed guidance for subsequent testing.

[0050] Step 3: The operator selects the experimental items in the standard operating instructions on the operation interface of the mobile control unit and assigns the corresponding experimental item tasks to the relay protection tester for additional testing. Multiple experimental items can be assigned to multiple relay protection testers.

[0051] Step 4: The mobile control unit analyzes the field environment, identifies the number and model of the relay protection testers, loads the required dynamic link libraries and supports dynamic expansion, enabling one mobile control unit to control multiple testers.

[0052] Step 4.1: When the mobile control unit starts up, it initializes its built-in multi-thread manager and WebSocket communication module. Simultaneously, it opens a user interface to display upcoming operations and status information.

[0053] Step 4.2: The mobile control unit scans all devices on site via a wireless network and uses a preset identification algorithm to identify each relay protection tester through its hardware address or other unique identifiers (such as MAC address or serial number), displaying the results to the user in a table format, such as... Figure 5 As shown.

[0054] Step 4.3: Based on the identified model, the mobile control unit loads the corresponding dynamic link library for each tester in parallel in a multi-threaded environment.

[0055] Step 4.4: For each tester, the mobile control unit establishes a persistent bidirectional communication channel via WebSocket for sending control commands and receiving status messages, such as... Figure 6 As shown.

[0056] Specifically, by analyzing the on-site environment, the number and model of relay protection testers are determined, the required dynamic link library (DLL) files are identified, and the necessary DLLs are loaded into the mobile control unit through predefined mapping relationships. The DLL files support dynamic expansion. The mobile control unit loads the corresponding DLLs according to the established relationships and establishes communication connections between the mobile control unit and one or more relay protection testers based on the selected DLLs. This enables one mobile control unit to simultaneously control multiple relay protection testers for incremental testing.

[0057] As described above, the mobile control unit determines the model and quantity of field relay protection testers by analyzing the field environment. The mobile control unit first performs a deep scan of the field relay protection testers to identify their manufacturers, models, and firmware versions. Each relay protection tester has a corresponding dynamic link library (DLL) file. These files, based on DLL technology and reflection mechanisms, contain the control algorithm, test cases, and communication protocol adaptation layer for that specific tester. Once the tester's model and firmware version are identified, the mobile control unit quickly locates the corresponding DLL file from its internally stored DLL repository through hash lookup and version matching. This DLL file supports real-time loading and unloading, ensuring optimal utilization of system resources. If a matching library file is found, it is dynamically loaded into the control unit's runtime environment, ready for subsequent testing.

[0058] In this application, the dynamic link library supports dynamic expansion and adopts a highly modular and plug-in design framework, combining dynamic linking technology (DLL technology) and reflection mechanisms to ensure the system's flexibility and scalability. This design strategy means that when a new model of relay protection tester is introduced to the field, users can not only easily add new plug-in modules to the mobile control unit, but also ensure system stability and compatibility, avoiding the risks associated with large-scale system upgrades. Furthermore, when a new model of relay protection tester is introduced to the field, users can manually upload the corresponding library files to the mobile control unit through a simple graphical user interface. These library files have undergone rigorous safety and performance testing. Once the library files are successfully added and verified, the mobile control unit automatically loads and initializes these libraries, making it ready to control the newly introduced tester, thus achieving true plug-and-play functionality.

[0059] Step 5: After the dynamic link library is loaded and linked with the relay protection tester, click "Start Experiment." The mobile control unit will then operate the relay protection tester to begin the experiment according to the rules. The timing diagram is as follows: Figure 7 As shown.

[0060] Step 6: After clicking "Start Increased Quantity Test", the mobile control unit will download the configuration parameters and test parameters files to the corresponding relay protection tester through the interface for sending configuration parameters and test parameters provided by the dynamic link library file. After receiving the files, the relay protection tester will immediately load the configuration parameters and test parameters and return a response message to the mobile control unit indicating successful loading, and wait for subsequent control commands.

[0061] Step 7: After receiving the response information that the mobile control unit has successfully loaded, it will send a start test command through the start test interface of the dynamic link library file. After successfully receiving the start test command, the relay protection tester will directly perform actual output on the secondary device under test according to the previously loaded configuration parameters and test parameters.

[0062] Specifically, after the relay protection tester successfully loads its configuration, the mobile control unit downloads the connection configuration file corresponding to the relay protection tester and its dynamic link library to the relay protection tester. The mobile control unit then downloads the test parameter file via the dynamic link library component. After loading the connection configuration file, the relay protection tester selects the corresponding functional test based on the described values ​​in the configuration file and executes the actual additional test on the secondary equipment under test. In this step, the mobile control unit loads the corresponding dynamic link library into the relay protection tester. The dynamic link library contains control algorithms designed for the corresponding relay protection tester and scenario. After determining the control algorithm corresponding to the relay protection tester, the mobile control unit automatically generates a connection configuration file. The connection configuration file is a comprehensive set of parameters, including but not limited to clock synchronization parameters, sampling value parameters, and GOOSE configuration. This file is then transferred and downloaded to each relay protection tester.

[0063] Step 8: The relay protection tester will acquire the MMS / GOOSE message sent by the secondary device under test during the increase process, and respond to the corresponding message in real time with the mobile control unit. The mobile control unit will analyze the results of this increase experiment based on the real-time message to determine whether the results are correct.

[0064] Furthermore, the judgment rules are as follows:

[0065] Judgment Rule 1: During the experiment, the maintenance hard pressure plate of the secondary equipment under test must not change position; if any inconsistency exists, the subsequent experiment will be terminated, the result of this experiment will be judged as incorrect, and the user will be notified. Figure 8 As shown.

[0066] Judgment Rule 2: The MMS / GOOSE messages sent are sorted by time stamp and then counted. If there are errors in the timing of actions, multiple actions, or no actions, they are considered as experimental errors.

[0067] During this process, the mobile control unit establishes a communication connection with the relay protection tester based on the dynamic link library. After the connection is established, the mobile control unit needs to perform heartbeat detection on the communication connection and actively send a heartbeat test message to all relay protection test groups every 3 seconds. After receiving the response message, the relevant relay protection tester will immediately respond and push a heartbeat response message to the mobile control unit. After receiving the heartbeat response message, the mobile control unit will maintain the communication connection with the corresponding relay protection tester and display the connection status in real time.

[0068] If the mobile control unit does not receive a heartbeat response message for the corresponding relay protection test before sending the next heartbeat test message, it determines that the communication connection with the corresponding relay protection tester is in a communication diagnostic state. In the communication diagnostic state, the mobile control unit will attempt to reconnect and restore communication in the background program. After seven attempts, it will persist the corresponding communication parameters, test data, test status, and time, and display the corresponding disconnection information and possible reasons in the mobile control unit, marking it as disconnected.

[0069] In this application, to ensure data integrity and accuracy, a lightweight persistence strategy is employed within the mobile control unit when the network environment is unstable or interrupted, using an embedded database, SQL-Lite, for data storage. Test data is not lost during network interruptions, and testing can continue once the network is restored.

[0070] In this application, the communication between the mobile control unit and the relay protection tester adopts the MQTT (Message Queuing Telemetry Transport) protocol. This protocol is a lightweight publish / subscribe model, particularly suitable for low-bandwidth and unstable network environments. To ensure uninterrupted communication between each relay protection tester and the mobile control unit, each tester is assigned a unique identifier, which serves as its identity credential during communication. During communication, the mobile control unit can accurately identify and exchange data with the specific relay protection tester based on the unique identifier.

[0071] Furthermore, the mobile control unit can perform in-depth analysis of messages sent from the relay protection tester by combining dynamic link library files and preset state sequences. Through message parsing and matching, the mobile control unit can automatically identify the status of the test device and verify the correctness of the test procedure, ensuring that each step of the operation meets expectations.

[0072] Step 9: The mobile control unit adjusts the test parameters based on the analysis results, and then controls the relay protection tester to carry out the next stage of testing or decides to stop the test, thus completing the automatic verification of the secondary equipment under test.

[0073] Throughout the experiment, the relay protection tester is responsible for collecting various parameters of the secondary equipment under test in real time, such as set values ​​and pressure plate status, and transmitting this information to the mobile control unit. The mobile control unit displays this data to the user in an intuitive way, allowing the user to have a clear understanding of the experimental status. Only after the user confirms that the data is correct will the next stage of the increased testing begin. If the pressure plate status is being inspected or the set value is being changed during the experiment, the mobile control unit will automatically control the relay protection tester to terminate the test and prompt the user that "pressure plate displacement has occurred, experiment terminated."

[0074] In this application, the mobile control unit provides a direct control interface, allowing users to adjust test parameters through simple operations and send control commands to the relay protection tester to modify the corresponding test parameters in real time. This two-way communication and real-time control strategy ensures the continuity and accuracy of the experiment, while improving its efficiency and reliability.

[0075] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

[0076] The specific embodiments described herein are merely illustrative examples of the invention. Those skilled in the art can make various modifications, additions, or substitutions to the described embodiments without departing from the spirit of the invention or exceeding the scope defined outside the appended claims.

Claims

1. A method for parallel control of a relay protection tester by a mobile terminal based on a dynamic link library, characterized in that, Includes the following steps: S1. Compile a dynamic link library according to the technical specifications for the general interface of automatic testing of relay protection; S2. Write the state sequence for all test items; S3. Determine the number and model of relay protection testers in the environment to be tested. Through a predefined mapping relationship, the mobile control unit loads the dynamic link library file corresponding to the protection tester to realize the one-to-one or one-to-many incremental testing function between the mobile control unit and the dynamic link library file. S4. After the mobile control unit confirms the start of the test, the mobile control unit selects the edited control algorithm according to the dynamic link library component corresponding to the test item, and downloads the connection configuration file to the relay protection tester. The relay protection tester loads clock synchronization parameter configuration, general sampling value parameter configuration, sampling value configuration, and GOOSE configuration according to the configuration file; among them, the GOOSE configuration includes the publishing and subscription settings for GOOSE messages; S5. After the relay protection tester is successfully loaded with configuration, the mobile control unit will download the connection configuration file corresponding to the relay protection tester and dynamic link library to the relay protection tester. After loading the connection configuration file, the relay protection tester will select the corresponding functional test according to the description value in the connection configuration file and perform the actual additional test on the secondary equipment under test. S6. After the relay protection tester successfully increases the quantity, it collects and filters the message information of the secondary device under test in real time, and pushes the filtered information to the mobile control unit. S7 The mobile control unit analyzes the data sent by different relay protection testers and adjusts the test parameters according to the analysis results. Then, it controls the relay protection tester to carry out the next stage of testing or decides to stop the test, and finally completes the automatic verification of the secondary equipment under test.

2. The method according to claim 1, characterized in that, In step S1, a dynamic link library is written according to the technical specifications of the general interface for automatic testing of relay protection. The dynamic link library file should be consistent with the underlying API of the operating system and be able to export standard C language interfaces.

3. The method according to claim 2, characterized in that, The standard C language interface includes the following general function interfaces: start online, send configuration parameters, send test parameters, start test, manually trigger, stop test, get results, and get exception information.

4. The method according to claim 1, characterized in that, In step S2, the state sequence of all test items is written, and the state sequence includes: (1) Definition, type, attributes, and action value of standard signals; (2) Switching method, duration, triggering demonstration, aperiodic component decay time constant, and GPS triggering time of state sequence nodes; (3) The group, number of channels, AC / DC attributes, channel amplitude, channel angle, and channel frequency of voltage and current under the state node.

5. The method according to claim 1, characterized in that, In step S3, the loaded dynamic link library file supports dynamic expansion.

6. The method according to claim 1, characterized in that, In step S5, the mobile control unit loads the corresponding dynamic link library into the relay protection tester; the dynamic link library contains control algorithms designed for the corresponding relay protection tester and scenario; after determining the control algorithm corresponding to the relay protection tester, the mobile control unit automatically generates the corresponding connection configuration file; the connection configuration file includes clock synchronization parameters, sampling value parameters, and GOOSE configuration.

7. The method according to claim 1, characterized in that, In step S6, the mobile control unit establishes a communication link with the relay protection tester based on the dynamic link library. After the connection is established, the mobile control unit needs to perform heartbeat detection on the communication connection and actively send heartbeat test messages to all relay protection testers at set intervals. After receiving the response message, the corresponding relay protection tester will immediately respond and push a heartbeat response message to the mobile control unit. After receiving the heartbeat response message, the mobile control unit will maintain the communication connection with the corresponding relay protection tester and display the connection status in real time.

8. The method according to claim 7, characterized in that, In step S6, if the mobile control unit does not receive a heartbeat response message for the corresponding relay protection test before sending the next heartbeat test message, it determines that the communication connection with the corresponding relay protection tester is in a communication diagnostic state. In the case of communication diagnostics, the mobile control unit will attempt to reconnect and restore communication in the background of the program. After attempting a set number of times, it will persist the corresponding communication parameters, test data, test status, and time, and display the corresponding disconnection information and possible reasons in the mobile control unit, marking it as a disconnected state.

9. The method according to claim 1, characterized in that, The communication between the mobile control unit and the relay protection tester adopts the MQTT protocol; each relay protection tester is assigned a unique identifier, which serves as the identity credential of the corresponding relay protection tester during communication. The mobile control unit can accurately identify and exchange data with a specific relay protection tester based on the unique identifier.

10. The method according to any one of claims 1 to 9, characterized in that, The mobile control unit performs in-depth analysis of the messages sent from the relay protection tester based on the dynamic link library file and the preset state sequence. Through parsing and matching of the messages, the mobile control unit can automatically identify the state of the secondary equipment under test and verify the correctness of the test procedure.