Distributed relay protection automatic test system, method, device, equipment and medium
By designing a distributed relay protection automatic test system, using the combination of test cloud platform and distributed terminals, the problem of poor universality of existing systems is solved, compatibility with multiple devices is achieved, testing preparation time is reduced, and testing is improved Efficiency and standardization level.
Patent Information
- Application Number
- CN202411542052.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-18
AI Technical Summary
The existing distributed relay protection automatic testing system has poor versatility and is difficult to be compatible with multiple devices, resulting in high application cost of automated testing, which limits its widespread promotion.
A distributed relay protection automatic testing system was designed, including a test cloud platform and multiple distributed terminals. By combining operating terminals and executing terminals, flexible compatibility with multiple testers and multiple relay protection devices is achieved. And manage test cases and data through the cloud platform, supporting online storage, editing and testing.
It achieves compatibility with a variety of testers and relay protection devices, reduces the preparation time of the test environment, improves the testing efficiency and standardization level, and significantly improves the flexibility and adaptability of the system.
Smart Images

Figure CN119471111A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relay protection device testing, and in particular to a distributed relay protection automatic testing system, method, device, equipment and medium. Background Art
[0002] Relay protection devices are widely used in power generation, transmission, substation, distribution and other fields. They are mainly used to protect large equipment such as transformers and generators to ensure the stable operation of the power grid. Due to their importance, these devices need to undergo rigorous testing during research and development, production, testing and field use. At present, the testing of relay protection devices has been basically automated, but the existing automatic testing system has poor versatility and is difficult to be compatible with a variety of devices, resulting in a high application cost of automated testing, which limits its widespread promotion.
[0003] Existing automatic test systems are divided into two categories: one is the system developed by the tester manufacturer, which supports a variety of relay protection devices but is not compatible with testers from other manufacturers; the other is the system developed by the relay protection device manufacturer, which supports a variety of testers but is not compatible with relay protection devices from other manufacturers. In addition, these systems are usually stand-alone applications or their simple network upgrade versions, resulting in a low degree of test case sharing and reuse, further limiting the improvement of test efficiency.
[0004] Therefore, the current distributed relay protection automatic test system has the following main problems: testers and relay protection devices from different manufacturers are difficult to be compatible, which limits the use of testers; test cases and data are difficult to share and reuse, which increases the test preparation time; the system lacks scalability and is difficult to adapt to changes in new equipment and new protocol communications, affecting the flexibility and adaptability of the system.
[0005] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0006] The present invention provides a distributed relay protection automatic test system, method, device, equipment and medium, thereby effectively solving the problems in the background technology.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is: a distributed relay protection automatic test system, including: a test cloud platform and multiple sets of distributed terminals, the distributed terminal software includes an operation terminal and an execution terminal; The test cloud platform includes a database and application services, wherein the database is used to store data, protocol communication data, relay protection information point table data and test case data, and the application service is used to respond to the distributed terminal's test case editing, execution, data query and report generation service requests, and provide the database read and write interface; The operation terminal is connected to the test cloud platform through the network, and controls the execution terminal downward. The operation terminal provides a human-computer interaction interface for configuring, editing, executing and querying test operations, and sends human-computer operation requests to the test cloud platform or the execution terminal, and receives, processes and displays the data returned by the test cloud platform or the execution terminal; The execution terminal communicates with the operation terminal upward to respond to the operation terminal command, and communicates with the tester and relay protection device downward to control the instruments and equipment. The execution terminal receives the data returned by the tester and the relay protection device and sends the data upward to the operation terminal.
[0008] Furthermore, the database is used to store the following data objects, including: Tester data objects, protocol communication data objects, test case objects, test result objects and basic data objects; The application service is used to respond to the operation terminal request and perform the following functions: Edit basic data, edit tester data objects, edit protocol communication data objects, edit test case objects, obtain current test case object data, process test results, data query and test report services.
[0009] Furthermore, the operation terminal provides a human-computer interaction interface, and the functions of the human-computer interaction interface include: Basic data maintenance, tester data object editing, protocol communication data object editing, relay protection information point table editing, test case editing, test case execution, test result display, test result query and test report generation and display.
[0010] Furthermore, the execution terminal supports multiple testers and multiple communication protocols and provides a flexible expansion interface, and each of the tester and the communication protocol has a unique identifier.
[0011] The present invention also includes a distributed relay protection automatic test method, which is used in the distributed relay protection automatic test system as described above, and the method includes the following steps: S10: configure the basic data required for the test, including the tester, protocol communication and relay protection device information point table; S20: Based on the basic data, configure a feature identifier, a communication channel, an input channel, an output channel and a test command parameter for the tester, and store the tester data object in the database; S30: configuring the feature identifier and the test command parameter, and storing the protocol communication data object in the database to ensure that the protocol communication data can be correctly transmitted; S40: creating an information point table object for the relay protection device according to the protocol communication, used to identify data objects in the relay protection device, and storing the information point table in the database; S50: Based on the configuration of the tester data object and the information point table, edit the test case on the operation terminal, set the global variables, tester, protocol communication and device under test, generate an executable test case project, and ensure that the test case is compatible with the device and protocol; S60: The test case is triggered to be executed through the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task; S70: The execution terminal collects test result data and returns it to the operation terminal for analysis and comparison. The operation terminal generates a test report and displays the test results, and uploads the test report to the test cloud platform. The test cloud platform stores the test report in the database for subsequent query and analysis.
[0012] Further, in steps S10, S20, and S30, corresponding configuration operations are performed only when the basic data, the tester data object, or the protocol communication data object is added or modified.
[0013] Furthermore, in step S30, the protocol communication command includes an identifier, a description and structured parameters, the identifier and unified structured parameters are agreed upon by the system, and the operation types of the structured parameters include: reading current set values, modifying set values, event reporting and reading sampled values.
[0014] Further, the tester, the protocol communication and the relay protection device respectively perform test command operations related to the data objects configured in step S20, step S30 and step S40; The test command sequence is composed of multiple groups of test commands combined in a time sequence, and the execution time sequence is determined by the grouping parameters and the test command delay parameters. The test commands come from the tester commands configured in step S20 and the protocol communication commands configured in step S30.
[0015] Further, in step S60, the test case execution is triggered by the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task. The test case execution steps include: S61: Triggering the execution of a test case through the operation terminal interface; S62: the operation terminal requests the test cloud platform for the test command sequence data of the current group, and the test cloud platform generates a corresponding test command sequence and returns it to the operation terminal; S63: the operation terminal sends the test command sequence data to the execution terminal, and the execution terminal calls the tester to communicate with the protocol according to the test command identifier; S64: The tester and the protocol communication convert the test command sequence data into corresponding communication messages, and send them to the tester or the relay protection device; S65: The tester or the relay protection device responds to the communication message and returns the test result data to the execution terminal; S66: the execution terminal returns the test result data to the operation terminal, the operation terminal extracts the test data, compares the test results, generates a test report, displays the test report, and uploads the test report to the cloud platform; S67: After the test cloud platform receives the test report, the test report service stores the data into the database; S68: After receiving the test result data in step S66, the operation terminal continues to issue test command sequences to be executed until all test tasks are completed.
[0016] The present invention also includes a distributed relay protection automatic test device, using the above method, including: Configure the basic data module, which is used to configure the basic data required for the test, including the tester, protocol communication and relay protection device information point table; A tester data object configuration module is used to configure a feature identifier, a communication channel, an input channel, an output channel and a test command parameter for the tester based on the basic data, and store the tester data object in the database; A protocol communication data object configuration module is used to configure the feature identifier and the test command parameter, and store the protocol communication data object in the database to ensure that the protocol communication data can be correctly transmitted; A module for creating a relay protection device information point table object is used to create an information point table object for the relay protection device according to the protocol communication, to identify data objects in the relay protection device, and to store the information point table in the database; A test case editing module, for editing test cases on the operation terminal based on the configuration of the tester data object and the information point table, setting global variables, tester, protocol communication and device under test, generating executable test case projects, and ensuring that the test cases are compatible with the device and protocol; An execution test case module is used to trigger the execution of the test case through the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task; A module for processing test results and generating test reports is used for the execution terminal to collect test result data and return it to the operation terminal for analysis and comparison. The operation terminal generates a test report and displays the test results, and uploads the test report to the test cloud platform. The test cloud platform stores the test report in the database for subsequent query and analysis.
[0017] The present invention also includes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. Furthermore, when the processor executes the computer program, the method described above is implemented.
[0018] The present invention also includes a storage medium on which a computer program is stored. Further, when the computer program is executed by a processor, the method as described above is implemented.
[0019] The beneficial effects of the present invention are: 1. Propose a data object model of tester, protocol communication, relay protection device information and test case, and use the operation terminal configuration interface and execution terminal plug-in technology to achieve flexible compatibility with multiple testers and multiple relay protection devices, solving the problem that the current test cases for testers and devices under test cannot be reused; 2. The test terminal can be easily connected to the cloud platform, and existing test cases can be selected or new test cases can be edited online, which greatly reduces the preparation time of the test environment; 3. The system has the characteristics of online storage, online editing, online testing and real-time acquisition of test data, which significantly improves the standardization and digitization level of relay protection testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 This is the hardware composition diagram of the distributed relay protection automatic test system; Figure 2 This is the block diagram of the distributed relay protection automatic test system; Figure 3 It is a flowchart of the distributed relay protection automatic testing method; Figure 4 Execute flow chart for test cases; Figure 5 It is a structural schematic diagram of a distributed relay protection automatic test device; Figure 6 A schematic diagram of the structure of a computer device. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0023] like Figures 1 to 2 As shown: a distributed relay protection automatic test system, including: a test cloud platform and multiple distributed terminals, the distributed terminal is a general-purpose computer, and the distributed terminal software includes an operation terminal and an execution terminal; The test cloud platform is deployed in a private cloud, and distributed terminals access the test cloud platform through the network; The test cloud platform includes a database and application services. The database is used to store data, protocol communication data, relay protection information point table data and test case data. The application service is used to respond to distributed terminal test case editing, execution, data query and report generation service requests, and provide database read and write interfaces; The test cloud platform includes a database and application services. The cloud platform uses MySql database to store data. The application service includes an internal database access interface, an application service module and an external service request interface. The application service module includes test case editing, execution, data query and report generation services. The external service request interface uses the RestFul interface; The operation terminal accesses the test cloud platform through the network and controls the execution terminal. The operation terminal provides a human-computer interaction interface for configuring, editing, executing and querying test operations, and sends human-computer operation requests to the test cloud platform or the execution terminal, and receives, processes and displays the data returned by the test cloud platform or the execution terminal. Specifically, the operation terminal uses a cross-platform web browser, and the operation terminal sends requests to the cloud platform and receives return data through the RestFul interface. The operation terminal communicates with the execution terminal through the webSocket interface. The execution terminal communicates with the operation terminal upwards and responds to the operation terminal commands, and communicates with the tester and relay protection device downwards to control the instruments and equipment. The execution terminal receives the data returned by the tester and relay protection device and sends the data upwards to the operation terminal.
[0024] A tester, protocol communication, relay protection device information and test case data object model is proposed. The operation terminal configuration interface and execution terminal plug-in technology are used to achieve flexible compatibility with multiple testers and multiple relay protection devices, solving the current problem that test cases for testers and devices under test cannot be reused. The test terminal can be easily connected to the cloud platform, and existing test cases can be selected or new test cases can be edited online, which greatly reduces the preparation time of the test environment. The system has the characteristics of online storage, online editing, online testing and real-time collection of test data, which significantly improves the standardization and digitization level of relay protection testing.
[0025] The system combines the test cloud platform with distributed terminals to support the intercommunication of multiple testers and relay protection devices. Testers, protocol data, and relay protection information point tables can all be managed through the cloud platform, which means that compatibility with devices from different manufacturers and different protocols can be achieved, solving the problem that the existing system can only support devices from specific manufacturers.
[0026] The test cloud platform includes a database for storing test cases, protocols, relay protection information point tables and other data. Through the access of the operating terminal, test cases and data can be shared and reused among different distributed terminals, which significantly reduces the repeated editing of test cases, improves testing efficiency, and solves the limitations of high difficulty in sharing and reuse in existing systems.
[0027] The system adopts a distributed architecture, and the execution terminal can be flexibly expanded through plug-in technology. It can add corresponding testers and protocol communication modules according to new test requirements and protocol updates without changing the main system. This enhances the scalability and flexibility of the system and can adapt to the access of new equipment or new protocols in the future.
[0028] The operation terminal is responsible for configuring, editing, executing and querying test cases, and directly issuing commands through the cloud platform or execution terminal, which simplifies the test process. Since the system has the functions of online storage, online testing and real-time data collection, the operator can easily perform parallel operations on multiple terminals, which greatly reduces the time for test preparation and execution and improves test efficiency.
[0029] Test data and report generation services are integrated in the cloud platform. Through unified database management, test results can be queried and analyzed in real time through the operation terminal, and test reports can be automatically generated. This centralized data management and analysis capability improves the standardized management of test data and facilitates subsequent data comparison and traceability.
[0030] In this embodiment, the database is used to store the following data objects, including: Tester data objects, protocol communication data objects, test case objects, test result objects and basic data objects; Application services are used to respond to terminal requests and perform the following functions: Edit basic data, edit tester data objects, edit protocol communication data objects, edit test case objects, obtain current test case object data, process test results, data query and test report services.
[0031] The database stores a variety of data objects. The modular storage of these objects enables the system to flexibly manage different types of data and improve the standardization level of data management. By separately storing different data types, the system can easily query, modify and use data, avoid data confusion and improve operational efficiency. The application service provides a variety of functional systems that greatly improve the configurability and scalability of the test, adapt to the needs of different devices and protocols, facilitate the reuse and modification of test cases, and reduce the time and workload of test preparation.
[0032] Among them, the operation terminal provides a human-computer interaction interface, and the functions of the human-computer interaction interface include: Basic data maintenance, tester data object editing, protocol communication data object editing, relay protection information point table editing, test case editing, test case execution, test result display, test result query and test report generation and display.
[0033] By integrating all functions through the human-computer interaction interface, users can complete various operations such as data maintenance, test execution and result analysis in one intuitive interface. This design greatly simplifies the complex operation process, improves the user experience, reduces the technical requirements for operators, and increases the ease of use of the system.
[0034] As a preferred embodiment of the above, the execution terminal supports multiple testers and multiple protocol communications, and provides a flexible expansion interface, each tester and protocol communication has a unique identifier. The execution terminal adopts a dynamic plug-in DLL method. When adding a tester or protocol communication, it is sufficient to add the corresponding plug-in DLL file without modifying the main program, reducing the dependence on the system core, facilitating the expansion and update of the system, and improving its ability to adapt to new devices and new protocols; this ensures that the system is compatible with devices from different manufacturers and supports multiple protocol standards, solving the problem of incompatibility between devices from different manufacturers in the existing system and improving the versatility of the system.
[0035] The present invention also includes a distributed relay protection automatic test method, which is used in the distributed relay protection automatic test system as described above. Figure 3 As shown, the method comprises the following steps: S10: configure the basic data required for the test, including the tester, protocol communication and relay protection device information point table; S20: Based on the basic data, configure a feature identifier, a communication channel, an input channel, an output channel and a test command parameter for the tester, and store the tester data object in a database; The tester feature identifier is provided by the execution terminal plug-in module; The AC channel parameters consist of a channel identifier, description, and standard channel type. The channel identifier is provided by the tester manufacturer. The standard channel types are Ua, Ub, Uc, Ux, Ia, Ib, Ic, and Ix. The input channel parameters consist of a channel identifier, description, and standard channel type. The channel identifier is provided by the tester manufacturer, and the standard channel type is BIn. The channel parameters are composed of channel identifier, description and standard channel type. The channel identifier is provided by the tester manufacturer, and the standard channel type is Bout. S30: configuring feature identifiers and test command parameters, and storing protocol communication data objects in a database to ensure that protocol communication data can be correctly transmitted; S40: creating an information point table object for the relay protection device according to the protocol communication, used to identify the data objects in the relay protection device, and storing the information point table in the database; Information point table, which is a data object reference under DL / T 860 specification; S50: Based on the configuration of the tester data object and the information point table, edit the test case on the operation terminal, set the global variables, tester, protocol communication and the device under test, generate an executable test case project, and ensure that the test case is compatible with the device and the protocol; Global variables are used to represent data in the test command sequence, such as transformation ratio, accuracy requirements, sensitivity angle, etc. Usually these data change with the relay protection device; S60: The test case execution is triggered by the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task; S70: The execution terminal collects test result data and returns it to the operation terminal for analysis and comparison. The operation terminal generates a test report and displays the test results, and uploads the test report to the test cloud platform. The test cloud platform stores the test report in a database for subsequent query and analysis.
[0036] Through the process design of steps S10 to S70, the method realizes the full process management of automated testing, automatically configures test data, automatically executes test tasks, automatically collects and processes test results, and automatically generates and stores test reports, which reduces manual intervention, improves test efficiency and the degree of automation of the test process, and ensures that the test process is more efficient and standardized. Flexible configuration of basic data: Through the configuration of basic data, testers, protocol communications, and relay protection device information point tables in S10-S40, users can flexibly adjust the test configuration to ensure that the system can adapt to the needs of different testers and protocol communications, thereby improving the flexibility and adaptability of the system.
[0037] Editing and customizing test cases: The test case editing function in S50 enables users to flexibly define test parameters and execution conditions according to different test requirements, generate executable test case projects, ensure that the test can accurately cover the compatibility of required devices and protocols, and improve the accuracy of the test.
[0038] Automatically generate test command sequences: Through S60, the test cloud platform automatically generates test command sequences to ensure the orderly execution of test tasks. The execution terminal accurately controls the tester and relay protection device according to the commands, automatically executes test tasks, and improves the efficiency and consistency of test execution.
[0039] Automatic collection and analysis of test results: The execution terminal in S70 automatically collects test result data and performs analysis and comparison, reducing the workload of manual data collection and ensuring data accuracy and consistency.
[0040] This distributed relay protection automatic testing method is highly automated, flexible in configuration, precise in execution, and has powerful data management capabilities. It can significantly improve test efficiency, reduce human operational errors, and provide reliable technical support for subsequent data query and test report analysis. The system has strong adaptability and scalability, and can cope with changes in a variety of equipment and protocols to meet testing requirements in different scenarios.
[0041] As a preference for the above embodiment, in steps S10, S20, and S30, corresponding configuration operations are performed only when basic data, tester data objects, or protocol communication data objects are added or modified.
[0042] By explicitly performing configuration operations only when adding or modifying basic data, tester data objects, or protocol communication data objects, repeated configuration is avoided, unnecessary resource consumption is reduced, and the operating efficiency of the system is significantly improved, which is especially suitable for scenarios where frequent testing is required.
[0043] In this embodiment, in step S30, the protocol communication command includes an identifier, a description and a structured parameter, the identifier and the unified structured parameter are agreed upon by the system, and the operation types of the structured parameter include: reading the current set value, modifying the set value, event reporting and reading the sampled value.
[0044] By uniformly defining identifiers and structured parameters in the system, the standardization of communication commands is ensured. Different devices and protocols can perform tasks according to unified parameters, which enhances the compatibility of the system. This enables the system to support communication between different devices and realize interoperability between devices from different manufacturers.
[0045] Wherein, the tester, protocol communication and relay protection device are respectively based on the data objects configured in step S20, step S30 and step S40; The test command sequence is composed of multiple groups of test commands combined in time sequence. The execution time sequence is determined by the grouping parameters and the test command delay parameters. The test commands come from the tester commands configured in step S20 and the protocol communication commands configured in step S30.
[0046] This solution ensures that the test system is compatible with multiple devices and protocol communication standards by configuring the tester, protocol communication and relay protection device data objects in different steps, and ensures that data exchange and command execution between different devices can be standardized through unified configuration of data objects.
[0047] As a preferred embodiment of the above, in step S60, the test case execution is triggered by the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task, such as Figure 4 As shown, the test case execution steps include: S61: Triggering the execution of the test case through the operation terminal interface; S62: The operation terminal requests the test cloud platform for the test command sequence data of the current group, and the test cloud platform generates a corresponding test command sequence and returns it to the operation terminal; S63: the operation terminal sends the test command sequence data to the execution terminal, and the execution terminal calls the tester and protocol communication according to the test command identifier; S64: The tester and protocol communication convert the test command sequence data into corresponding communication messages and send them to the tester or relay protection device; S65: The tester or relay protection device responds to the communication message and returns the test result data to the execution terminal; S66: The execution terminal returns the test result data to the operation terminal, and the operation terminal extracts the test data, compares the test results, generates a test report, displays the test report, and uploads the test report to the cloud platform; S67: After the test cloud platform receives the test report, the test report service stores the data into the database; S68: After receiving the test result data in step S66, the operation terminal continues to issue test command sequences to be executed until all test tasks are completed.
[0048] Query test data, including querying and displaying test data by test task, date, tester, etc. Test reports include word, pdf and json formats, and test reports in specified formats can be generated through report templates.
[0049] This method triggers the execution of test cases through the operation terminal, and the test cloud platform automatically generates a test command sequence, and the execution terminal automatically controls the operation of the tester and relay protection device. The entire process is highly automated, which reduces manual operations, improves the efficiency of test execution, and ensures the standardization and consistency of the test process.
[0050] The generation, transmission, conversion of test command sequences into communication messages, and control of the execution of the tester are all carried out through standardized processes. The standardized command structure and data transmission process ensure the consistency and accuracy of data during the test process and reduce errors caused by manual operations.
[0051] After the tester or relay protection device executes the test command, it can return the test results to the execution terminal in real time. The execution terminal transmits the test result data back to the operation terminal for data extraction and comparison, ensuring timely data feedback during the test process. The test results can be quickly processed and analyzed, shortening the feedback time.
[0052] After the test is completed, the system automatically generates a test report and uploads it to the test cloud platform for storage. The automatically generated test report avoids the workload of manual report writing, ensures the accuracy and consistency of the report, and provides good data support for subsequent queries and analysis.
[0053] The present invention also includes a distributed relay protection automatic test device, using the above method, such as Figure 5 As shown, including: Configure the basic data module, which is used to configure the basic data required for the test, including the tester, protocol communication and relay protection device information point table; A tester data object configuration module is used to configure a feature identifier, a communication channel, an input channel, an output channel and test command parameters for the tester based on the basic data, and store the tester data object in a database; A protocol communication data object configuration module is used to configure feature identifiers and test command parameters, and store protocol communication data objects in a database to ensure that protocol communication data can be correctly transmitted; A module for creating a relay protection device information point table object is used to create an information point table object for the relay protection device according to protocol communication, to identify data objects in the relay protection device, and to store the information point table in a database; The test case editing module is used to edit the test case on the operation terminal based on the configuration of the tester data object and information point table, set the global variables, tester, protocol communication and device under test, generate an executable test case project, and ensure that the test case is compatible with the device and protocol; The test case execution module is used to trigger the test case execution through the operation terminal. The test cloud platform generates the corresponding test command sequence. The execution terminal controls the tester and relay protection device according to the command to execute the test task; The module for processing test results and generating test reports is used to execute the terminal to collect test result data and return it to the operation terminal for analysis and comparison. The operation terminal generates a test report and displays the test results, and uploads the test report to the test cloud platform. The test cloud platform stores the test report in the database for subsequent query and analysis.
[0054] The present invention also includes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above method is implemented.
[0055] The present invention also includes a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method as described above is implemented.
[0056] See also Figure 6 A computer device 400 provided in an embodiment of the present application includes: a processor 410 and a memory 420, wherein the memory 420 stores a computer program executable by the processor 410, and when the computer program is executed by the processor 410, the above method is executed.
[0057] The embodiment of the present application further provides a storage medium 430 on which a computer program is stored. When the computer program is run by the processor 410, the above method is executed.
[0058] Among them, the storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0059] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0060] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0061] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0062] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0063] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0064] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0065] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0066] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. Distributed relay protection automatic test system, characterized in that: include: A test cloud platform and multiple distributed terminals. The distributed terminal software includes operation terminals and execution terminals. The test cloud platform includes a database and application services, wherein the database is used to store data, protocol communication data, relay protection information point table data and test case data, and the application service is used to respond to the distributed terminal's test case editing, execution, data query and report generation service requests, and provide the database read and write interface; The operation terminal is connected to the test cloud platform through the network, and controls the execution terminal downward. The operation terminal provides a human-computer interaction interface for configuring, editing, executing and querying test operations, and sends human-computer operation requests to the test cloud platform or the execution terminal, and receives, processes and displays the data returned by the test cloud platform or the execution terminal; The execution terminal communicates with the operation terminal upward to respond to the command of the operation terminal, and communicates with the tester and the relay protection device downward to control the instruments and equipment. The execution terminal receives the data returned by the tester and the relay protection device and sends the data upward to the operation terminal.
2. The distributed relay protection automatic test system according to claim 1 is characterized in that: The database is used to store the following data objects, including: Tester data objects, protocol communication data objects, test case objects, test result objects and basic data objects; The application service is used to respond to the operation terminal request and perform the following functions: Edit basic data, edit tester data objects, edit protocol communication data objects, edit test case objects, obtain current test case object data, process test results, data query and test report services.
3. The distributed relay protection automatic test system according to claim 1 is characterized in that: The operation terminal provides a human-computer interaction interface, and the functions of the human-computer interaction interface include: Basic data maintenance, tester data object editing, protocol communication data object editing, relay protection information point table editing, test case editing, test case execution, test result display, test result query and test report generation and display.
4. The distributed relay protection automatic test system according to claim 1 is characterized in that: The execution terminal supports multiple testers and multiple protocol communications and provides a flexible expansion interface. Each of the testers and protocol communications has a unique identifier.
5. A distributed relay protection automatic testing method, characterized in that: Used in a distributed relay protection automatic test system as claimed in any one of claims 1 to 4, the method comprises the following steps: S10: configure the basic data required for the test, including the tester, protocol communication and relay protection device information point table; S20: Based on the basic data, configure a feature identifier, a communication channel, an input channel, an output channel and a test command parameter for the tester, and store the tester data object in the database; S30: configuring the feature identifier and the test command parameter, and storing the protocol communication data object in the database to ensure that the protocol communication data can be correctly transmitted; S40: creating an information point table object for the relay protection device according to the protocol communication, used to identify data objects in the relay protection device, and storing the information point table in the database; S50: Based on the configuration of the tester data object and the information point table, edit the test case on the operation terminal, set the global variables, tester, protocol communication and device under test, generate an executable test case project, and ensure that the test case is compatible with the device and protocol; S60: The test case is triggered to be executed through the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task; S70: The execution terminal collects test result data and returns it to the operation terminal for analysis and comparison. The operation terminal generates a test report and displays the test results, and uploads the test report to the test cloud platform. The test cloud platform stores the test report in the database for subsequent query and analysis.
6. The distributed relay protection automatic testing method according to claim 5 is characterized in that: In steps S10, S20, and S30, corresponding configuration operations are performed only when the basic data, the tester data object, or the protocol communication data object is newly added or modified.
7. The distributed relay protection automatic testing method according to claim 5 is characterized in that: In step S30, the protocol communication command includes an identifier, a description and a structured parameter, wherein the identifier and the unified structured parameter are agreed upon by the system, and the operation types of the structured parameter include: reading current set value, modifying set value, event reporting and reading sampled value.
8. The distributed relay protection automatic testing method according to claim 5, characterized in that: The tester, the protocol communication and the relay protection device respectively execute test command operations related to the data objects configured in step S20, step S30 and step S40; The test command sequence is composed of multiple groups of test commands combined in a time sequence, and the execution time sequence is determined by the grouping parameters and the test command delay parameters. The test commands come from the tester commands configured in step S20 and the protocol communication commands configured in step S30.
9. The distributed relay protection automatic testing method according to claim 5, characterized in that: In step S60, the test case execution is triggered by the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task. The test case execution steps include: S61: Triggering the execution of a test case through the operation terminal interface; S62: the operation terminal requests the test cloud platform for the test command sequence data of the current group, and the test cloud platform generates a corresponding test command sequence and returns it to the operation terminal; S63: the operation terminal sends the test command sequence data to the execution terminal, and the execution terminal calls the tester to communicate with the protocol according to the test command identifier; S64: The tester and the protocol communication convert the test command sequence data into corresponding communication messages, and send them to the tester or the relay protection device; S65: The tester or the relay protection device responds to the communication message and returns the test result data to the execution terminal; S66: the execution terminal returns the test result data to the operation terminal, the operation terminal extracts the test data, compares the test results, generates a test report, displays the test report, and uploads the test report to the cloud platform; S67: After the test cloud platform receives the test report, the test report service stores the data into the database; S68: After receiving the test result data in step S66, the operation terminal continues to issue test command sequences to be executed until all test tasks are completed.
10. A distributed relay protection automatic test device, characterized in that: Using the method according to any one of claims 5 to 9, comprising: Configure the basic data module, which is used to configure the basic data required for the test, including the tester, protocol communication and relay protection device information point table; A tester data object configuration module is used to configure a feature identifier, a communication channel, an input channel, an output channel and a test command parameter for the tester based on the basic data, and store the tester data object in the database; A protocol communication data object configuration module is used to configure the feature identifier and the test command parameter, and store the protocol communication data object in the database to ensure that the protocol communication data can be correctly transmitted; A module for creating a relay protection device information point table object is used to create an information point table object for the relay protection device according to the protocol communication, to identify data objects in the relay protection device, and to store the information point table in the database; A test case editing module, for editing test cases on the operation terminal based on the configuration of the tester data object and the information point table, setting global variables, tester, protocol communication and device under test, generating executable test case projects, and ensuring that the test cases are compatible with the device and protocol; An execution test case module is used to trigger the execution of the test case through the operation terminal, the test cloud platform generates a corresponding test command sequence, and the execution terminal controls the tester and the relay protection device according to the command to execute the test task; A module for processing test results and generating test reports is used for the execution terminal to collect test result data and return it to the operation terminal for analysis and comparison. The operation terminal generates a test report and displays the test results, and uploads the test report to the test cloud platform. The test cloud platform stores the test report in the database for subsequent query and analysis.
11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 5 to 9 is implemented.
12. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 5 to 9 is implemented.
Citation Information
Cited By
Automatic test system and method for broadband oscillation monitoring control device
CN120972849A