Test system and method for a relay protection device

By combining the test platform module, data forwarding module, and equipment test module, the problem of low testing efficiency and accuracy of relay protection equipment is solved, and efficient and accurate test result generation is achieved.

CN119689106BActive Publication Date: 2026-01-23CHINA SOUTHERN POWER GRID COMPANY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411728731.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2026-01-23
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

The testing efficiency and accuracy of relay protection equipment are low, making it difficult to maintain the correctness and reliability of its operation over a long period of time.

Method used

The test platform module, data forwarding module, and device testing module are combined. The device testing module collects initial test data, the data forwarding module performs data conversion and processing, and the test platform module performs data analysis based on a multi-task processing mechanism to generate test results.

Benefits of technology

It improves the testing efficiency and accuracy of relay protection equipment, ensures the accuracy and timeliness of data, and optimizes resource utilization and analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689106B_ABST
    Figure CN119689106B_ABST
Patent Text Reader

Abstract

The application discloses a kind of test system and method of relay protection equipment.The system includes: the device test module is connected with the data forwarding module, for collecting the initial test data that relay protection equipment executes at least one test task feedback, the initial test data is uploaded to the data forwarding module;The data forwarding module is connected with the test platform module, for receiving the initial test data, the initial test data is carried out data conversion processing, to obtain the test data to be analyzed, the test data to be analyzed is sent to test platform module;The test platform module is used for receiving the test data to be analyzed based on multi-task processing mechanism data analysis, to obtain data analysis result, based on the data analysis result determines the test result corresponding to the relay protection equipment.The automatic test of relay protection equipment is realized, and the test efficiency and accuracy of relay protection equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of automation testing, in particular to a test system and method for a relay protection device. BACKGROUND

[0002] Relay protection devices play an indispensable role in the safe and stable operation of power systems.

[0003] When a fault occurs in a power system, the relay protection device must be able to quickly and accurately determine the fault condition at the first time, timely issue an alarm signal, and automatically perform the operation of removing the fault, so as to minimize the damage to the running equipment in the system caused by the fault, and reduce the negative impact of the fault on the entire power system, thereby maintaining the normal operation order of the power system. Therefore, in order to practically ensure that the relay protection device always maintains the correctness and reliability of the work in the long-term operation process, it has become a crucial task to carry out comprehensive and in-depth testing work at each key stage of the development, production, installation and operation of the device. SUMMARY

[0004] The present application provides a test system and method for a relay protection device to ensure that the relay protection device always maintains the correctness and reliability of the work in the long-term operation process.

[0005] According to an aspect of the present application, a test system for a relay protection device is provided, which includes a test platform module, a data forwarding module and a device test module; wherein,

[0006] The device test module is connected with the data forwarding module, and is configured to collect initial test data fed back by the relay protection device in executing at least one test task, and upload the initial test data to the data forwarding module.

[0007] The data forwarding module is connected with the test platform module, and is configured to receive the initial test data, perform data conversion processing on the initial test data to obtain to-be-analyzed test data, and send the to-be-analyzed test data to the test platform module.

[0008] The test platform module is configured to perform data analysis on the to-be-analyzed test data received based on a multi-task processing mechanism to obtain a data analysis result, and determine a test result corresponding to the relay protection device based on the data analysis result.

[0009] According to another aspect of the present application, there is provided a method for testing a relay protection device, the method being applied to a testing system of the relay protection device, the testing of the relay protection device comprising a testing platform module, a data forwarding module and a device testing module, wherein the method for testing the relay protection device comprises:

[0010] The device testing module is configured to collect initial testing data fed back by the relay protection device in performing at least one testing task, and upload the initial testing data to the data forwarding module;

[0011] The data forwarding module is configured to receive the initial testing data, perform data conversion processing on the initial testing data to obtain to-be-analyzed testing data, and send the to-be-analyzed testing data to the testing platform module;

[0012] The testing platform module is configured to perform data analysis on the to-be-analyzed testing data received based on a multi-task processing mechanism to obtain a data analysis result, and determine a testing result corresponding to the relay protection device based on the data analysis result.

[0013] According to another aspect of the present application, there is provided an electronic device, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein

[0016] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method for testing the relay protection device according to any one of the embodiments of the present application.

[0017] According to another aspect of the present application, there is provided a computer readable storage medium, the computer readable storage medium storing computer instructions for enabling a processor to perform the method for testing the relay protection device according to any one of the embodiments of the present application when executed by the processor.

[0018] The technical scheme of the embodiment of the application, through the device test module connected with the data forwarding module, is used for collecting initial test data fed back by a relay protection device in executing at least one test task, and uploading the initial test data to the data forwarding module; real-time collection of initial test data generated in the test task execution process ensures the accuracy and timeliness of the data; then, through the data forwarding module connected with the test platform module, the initial test data is received, data conversion processing is performed on the initial test data to obtain to-be-analyzed test data, and the to-be-analyzed test data is sent to the test platform module; the initial test data is converted and processed to obtain to-be-analyzed test data with unified format and easy analysis, which provides convenience for subsequent data analysis; finally, through the test platform module, data analysis is performed on the received to-be-analyzed test data based on a multi-task processing mechanism to obtain a data analysis result, and a test result corresponding to the relay protection device is determined based on the data analysis result. Multiple to-be-analyzed test data can be processed at the same time, and the efficiency and throughput of data analysis are improved. The problems of low test efficiency and low accuracy of the relay protection device are solved, and the beneficial effects of improving the test efficiency and accuracy of the relay protection device are achieved.

[0019] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0021] Figure 1 is a structural schematic diagram of a relay protection device test system provided by the first embodiment of the application;

[0022] Figure 2a is a structural schematic diagram of a relay protection device test system provided by the second embodiment of the application;

[0023] Figure 2b is a structural schematic diagram of an optional example of a relay protection device test system provided by the second embodiment of the application;

[0024] Figure 2c is a structural schematic diagram of a test platform layer of an optional example of a relay protection device test system provided by the second embodiment of the application;

[0025] Figure 2d is a structural schematic diagram of a high-speed communication architecture of an optional example of a test system of a relay protection device according to Embodiment Two of the present application;

[0026] Figure 2e is a sample flow chart of processor communication of an optional example of a test system of a relay protection device according to Embodiment Two of the present application;

[0027] Figure 3 is a flow chart of a test method of a relay protection device according to Embodiment Three of the present application;

[0028] Figure 4 is a structural schematic diagram of an electronic device implementing a test method of a relay protection device according to the present application. DETAILED DESCRIPTION

[0029] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.

[0030] It should be noted that the terms “first”, “second”, and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms “include” and “have” and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0031] Embodiment One

[0032] Figure 1 A structural schematic diagram of a test system of a relay protection device according to Embodiment One of the present application is provided, as shown in Figure 1 The system includes a test platform module 110, a data forwarding module 120, and a device test module 130.

[0033] The device test module 110 is connected with the data forwarding module 120, and is configured to collect initial test data fed back by a relay protection device in executing at least one test task, and upload the initial test data to the data forwarding module 120; the data forwarding module 120 is connected with the test platform module 130, and is configured to receive the initial test data, perform data conversion processing on the initial test data to obtain to-be-analyzed test data, and send the to-be-analyzed test data to the test platform module 130; and the test platform module 130 is configured to perform data analysis on the to-be-analyzed test data received based on a multi-task processing mechanism to obtain a data analysis result, and determine a test result corresponding to the relay protection device based on the data analysis result.

[0034] The test task can be understood as a test task of the relay protection device issued by the interactive interface. The initial test data can be understood as the to-be-analyzed test data. The to-be-analyzed test data can be understood as original data directly generated by the device under test (such as the relay protection device) in executing a specific test task in the device test process without any processing or conversion. The to-be-analyzed test data can be understood as test data waiting for data analysis after data processing.

[0035] Specifically, the device test module collects initial test data fed back by the relay protection device after executing a series of test tasks. The initial test data is uploaded to the data forwarding module. The initial test data can include current, voltage, switch state, and fault indication, and other key information. The data forwarding module is responsible for receiving the initial test data from the device test module, and performing a series of preprocessing operations such as data cleaning, format conversion, data verification, etc. on the initial test data to obtain to-be-analyzed test data. The test platform module starts a data analysis process based on a multi-task processing mechanism, which can include multiple steps such as data preprocessing, feature extraction, model training, prediction analysis, etc. The target information related to the performance, state or behavior of the relay protection device is extracted for subsequent evaluation and decision-making. After in-depth analysis, the test platform module generates a data analysis result. The data analysis result can be presented in the form of charts, reports, and logs, and contains detailed information about device performance, fault mode, potential risks, etc. Based on the data analysis result, a test result corresponding to the relay protection device is further determined. The test result can include the qualified / unqualified state of the device, the performance level, the fault type and location, etc.

[0036] Optionally, the test platform module comprises a priority determination unit, a data division unit, a data analysis unit and a test result determination unit, wherein the priority determination unit is configured to determine a time priority corresponding to each test task respectively in a case where the test data to be analyzed fed back by the relay protection device in executing a plurality of test tasks is received; the data division unit is configured to divide the test data to be analyzed fed back by the plurality of test tasks into first test data to be analyzed and second test data to be analyzed based on the time priority and a preset time priority division threshold; the data analysis unit is configured to analyze the first test data to be analyzed based on a first processor core to obtain a first data analysis result, and analyze the second test data to be analyzed based on a second processor core to obtain a second data analysis result; and the test result determination unit is configured to determine a test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result.

[0037] Among them, the first test data to be analyzed can be understood as the test data to be analyzed of non-real-time tasks, and the second test data to be analyzed can be understood as the test data to be analyzed of real-time tasks.

[0038] Specifically, the priority determination unit determines a time priority for each test task when receiving the test data to be analyzed fed back by the relay protection device after executing a plurality of test tasks. The time priority can be set based on the urgency, importance, expected completion time, and other factors of the test task. Each test task is evaluated based on a preset priority evaluation rule and assigned a corresponding priority value. The priority value can be a number, level, or category for subsequent data division and processing. The data division unit divides the test data to be analyzed fed back by the plurality of test tasks into first test data to be analyzed and second test data to be analyzed based on the time priority provided by the priority determination unit and a preset time priority division threshold. It ensures that high-priority test data can be processed and analyzed first. Compare the time priority of each test task with the preset threshold. If the time priority is higher than or equal to the threshold, the corresponding test data is divided into first test data to be analyzed; if the time priority is lower than the threshold, the corresponding test data is divided into second test data to be analyzed. The data analysis unit uses different processor cores to analyze the divided test data to be analyzed. For the first test data to be analyzed, a first processor core is used for analysis and a first data analysis result is obtained; for the second test data to be analyzed, a second processor core is used for analysis and a second data analysis result is obtained. It ensures that high-priority tasks can be processed faster. The data analysis unit can include multiple data processing channels or threads, each associated with a specific processor core. When receiving test data to be analyzed, the unit will assign it to the corresponding processing channel or thread for processing according to the category of the data (first or second test data to be analyzed). The test result determination unit determines the test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result provided by the data analysis unit. Finally, a test result report is generated, which lists the results of each test task and the overall evaluation in detail.

[0039] In the embodiments of the present application, the test platform module can efficiently process and analyze data from a plurality of test tasks of the relay protection device, ensure that high-priority tasks are processed first, and optimize resource utilization and improve analysis efficiency.

[0040] Optionally, the first processor core and the second processor core are integrated in one processor. The first processor core and the second processor core interact with each other based on an asymmetric multiprocessing framework.

[0041] Optionally, the test platform module includes a report display unit, wherein the report display unit is configured to generate a test report based on the test result after determining the test result corresponding to the relay protection device, and display the test report.

[0042] Specifically, after the test platform module completes data analysis on all test tasks and determines the test results corresponding to the relay protection device, the report display unit automatically generates a test report according to the test results. The report can include test tasks, test data, data analysis results, and test result summaries, etc. The generated test report is displayed to the user through the interactive interface.

[0043] In the embodiment of the application, the report display unit is responsible for generating and displaying the test report, so that the user can clearly and intuitively view the results of the test process, and the user's use experience is improved.

[0044] Optionally, the system further comprises a time calibration module.

[0045] The time calibration module is configured to determine initial acquisition time data corresponding to the initial test data, and calibrate the initial acquisition time data based on a time calibrator to obtain target acquisition time data corresponding to the initial test data.

[0046] The initial acquisition time data can be understood as the time data of acquiring the initial test data. The target acquisition time data can be understood as the time data of acquiring the initial test data after calibration.

[0047] Specifically, the time calibration module obtains initial acquisition time data associated with the initial test data from the device test module or the data forwarding module. The initial acquisition time data records the specific time when the test data is acquired. The initial acquisition time data is calibrated based on the built-in time calibrator. The time error caused by device clock deviation, network delay or other factors is eliminated, so as to ensure the accuracy and consistency of the time data. After calibration, the time calibration module generates target acquisition time data corresponding to the initial test data. The time calibration module can include one or more time calibrators for providing a standard time reference. These calibrators can maintain their accuracy by periodically synchronizing with an external time source (such as a network time server).

[0048] In the embodiment of the application, the time calibration module can eliminate the time error caused by device clock deviation or other factors, thereby improving the accuracy of the time data. The calibrated time data can be consistent throughout the system, which helps to ensure the accuracy and reliability of data analysis, test report generation and other tasks. The time calibration module provides necessary time reference and calibration functions.

[0049] Optionally, the test platform module comprises an instruction set processor, and the data forwarding module comprises an FPGA logic processor; the instruction set processor and the FPGA logic processor are connected through a PCIe communication bus.

[0050] The instruction set processor is configured to process preset instructions, and further configured to process instructions with a length less than or equal to a preset length.

[0051] Optionally, the device testing module comprises a power amplifier, the power amplifier is integrated with a current power device and a voltage power device; the data forwarding module further comprises a digital-to-analog converter and an analog-to-digital converter; the power amplifier is connected with the digital-to-analog converter and the analog-to-digital converter respectively.

[0052] The technical scheme of the embodiment of the application is characterized in that the device testing module is connected with the data forwarding module, and is configured to collect initial test data fed back by a relay protection device during execution of at least one test task, and upload the initial test data to the data forwarding module; the initial test data generated during execution of a test task is collected in real time, so that the accuracy and timeliness of the data are ensured; then, the data forwarding module is connected with the test platform module, and is configured to receive the initial test data, perform data conversion processing on the initial test data to obtain test data to be analyzed, and send the test data to be analyzed to the test platform module; the initial test data is converted to obtain test data to be analyzed which is uniform in format and easy to analyze, thereby providing convenience for subsequent data analysis; finally, the test platform module is configured to perform data analysis on the test data to be analyzed received based on a multi-task processing mechanism, to obtain a data analysis result, and determine a test result corresponding to the relay protection device based on the data analysis result. The test data to be analyzed can be processed simultaneously, so that the efficiency and throughput of data analysis are improved. The problems of low test efficiency and low accuracy of the relay protection device are solved, and the beneficial effects of improving the test efficiency and accuracy of the relay protection device are achieved.

[0053] Embodiment two

[0054] Figure 2a A structure diagram of a test system of a relay protection device is provided for the embodiment two of the application, the embodiment is optimized on the basis of the above-mentioned embodiment, and the test system of the relay protection device provided by the embodiment comprises a test platform module 210, a data forwarding module 220, a transmission strategy determination module 230 and a device testing module 240.

[0055] The transmission strategy determination module 230 is configured to acquire first network state data, determine a data type of the test data to be analyzed for each test data to be analyzed, determine a transmission priority corresponding to the test data to be analyzed based on the data type, and determine an initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network state data, wherein the network state data comprises at least one of network delay, packet loss rate and bandwidth utilization rate.

[0056] The transmission priority can be understood as a strategy level of setting different transmission priority levels according to the importance and urgency of the test data to be analyzed. The first network state data can be understood as historical network state data.

[0057] Specifically, the transmission strategy determination module obtains network state data in real time from a network monitoring system or a network state data source, including key indicators such as network delay, packet loss rate and bandwidth utilization. For each test data to be transmitted, identify its data type, such as binary files, etc. Different data types have different requirements for network performance, so the transmission strategy needs to be formulated according to the data type. Based on the data type and business requirements, each test data to be analyzed will be assigned a transmission priority. The priority may be determined based on factors such as data real-time, importance, file size, and user requests. Combined with the transmission priority and the first network state data, an initial data transmission strategy is formulated. The initial data transmission strategy includes transmission rate adjustment, data compression use, transmission protocol selection, data segmentation and parallel transmission, etc.

[0058] In the embodiments of the present application, by dynamically adjusting the transmission strategy, network resources are more effectively utilized, ensuring the priority transmission of critical data, while reducing network congestion and bandwidth waste. By selecting appropriate transmission rate, compression method and transmission protocol, the delay and bandwidth occupancy of data transmission can be reduced, and the overall efficiency of data transmission can be improved.

[0059] Optionally, the system further comprises a transmission strategy adjustment module, wherein,

[0060] The transmission strategy adjustment module is configured to obtain second network state data, and adjust the initial data transmission strategy based on the second network state data to obtain a target data transmission strategy corresponding to the test data to be analyzed.

[0061] The second network state data can be understood as real-time network state data. The target data transmission strategy can be understood as the adjusted data transmission strategy.

[0062] Specifically, according to the real-time situation of network bandwidth, the rate of data transmission is dynamically adjusted to avoid network congestion and data loss. According to the size of the data packet and the network delay situation, it is determined whether to split the data into smaller data packets for transmission to reduce the packet loss rate and improve the transmission efficiency. When data packet loss occurs, the retransmission strategy is adjusted according to the real-time state of the network, such as the number of retransmissions, the retransmission interval, etc., to ensure the integrity of the data. According to the urgency and importance of the data, different transmission priorities are set for different data packets to ensure that critical data can be transmitted in priority.

[0063] In the embodiment of the present application, by comprehensively considering real-time network state data and initial data transmission strategy, the transmission strategy adjustment module can generate a target data transmission strategy corresponding to the test data to be analyzed. The optimization of data transmission in the current network environment helps to improve the efficiency and reliability of data transmission, and reduce the risk of network congestion and data loss.

[0064] The technical scheme of the embodiment of the present application, through the transmission strategy determination unit, acquires the first network state data, determines the data type of each test data to be analyzed, determines the transmission priority corresponding to the test data to be analyzed based on the data type, and determines the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network state data. Through the transmission strategy determination unit, the first network state data is acquired, and the data type, transmission priority and initial data transmission strategy of each test data to be analyzed are determined, which can optimize the data transmission efficiency, improve the network resource utilization rate, and enhance the reliability and stability of data transmission.

[0065] Figure 2b A structural schematic diagram of an optional example of a test system of a relay protection device is provided. As shown in the figure, Figure 2b The system includes a test platform layer, a device control layer and a hardware process layer, 1 is an ARM processor, 2 is a first processor core, which carries a human-computer interaction linux system, 3 is an inter-core communication component, 4 is a second processor core, which carries an RT-Thread real-time processing system, 5 is a PCIe communication bus, 6 is an FPGA logic processing unit, 7 is a DAC digital-analog converter, 8 is an analog-digital converter, and 9 is a voltage and current power amplifier.

[0066] The system is divided into a test platform layer, a device control layer and a hardware process layer from the perspective of architecture, and each layer interacts with signals and data through a standardized interface, so as to achieve a good balance between performance and power consumption, mutual cooperation of each functional unit, and a minimum resource consumption.

[0067] Figure 2c A structural schematic diagram of a test platform layer of an optional example of a test system of a relay protection device is provided. As shown in the figure, Figure 2cThe test platform layer is shown in the design mode of asymmetric multiprocessing (one CPU with multiple processing cores: each core runs tasks independently, each core is isolated from each other, and each core runs different operating systems). The Linux system is equipped with a cross-platform Qt application, and the RT-Thread system is equipped with a relay protection real-time processing algorithm. The two systems communicate and interact based on the MailBox or IRQ mode. Fast data interaction between the application and the real-time processing unit is realized. It is completed in one CPU, which greatly improves the safety and reliability of data interaction, and also reduces the power consumption under the multi-CPU mode.

[0068] The human-computer interaction Linux system occupies one core of the ARM chip, runs the non-real-time part, and is responsible for processing human-computer interaction, including display and operation response of the graphical user interface, analysis and execution of user instructions; data storage management, including storage, reading, updating and backup of test data, configuration files, program codes and the like; complex data analysis and processing, including but not limited to statistical analysis and waveform processing of test results; data exchange tasks with external devices to ensure stable communication with external computers, servers and the like; calculation of voltage and current output parameters according to the type of protection device and test requirements, and the calculation process comprehensively considers the characteristics of the device, test standards and user settings.

[0069] The RT-Thread real-time processing system is used for control operation of the RTOS real-time part. The RTOS runs on another core of the ARM chip, is responsible for real-time monitoring of hardware states, including but not limited to real-time collection and analysis of temperature, voltage, current and the like, and timely discovery of abnormal conditions, and the monitoring frequency is dynamically adjusted according to the importance and real-time requirements of the hardware device; cooperates with the FPGA to complete fast processing and transmission of data, including conversion of calculation results into a suitable protocol format to meet the communication requirements of different hardware devices, data forwarding to accurately transmit data between hardware modules, real-time message transmission to realize real-time communication with protection devices and the like, accurate acquisition of switch state information of the hardware device through switch value collection, and adjustment of output parameters of the power amplifier module according to test requirements, including but not limited to rapid adjustment of power, frequency, phase and the like when simulating different fault scenarios.

[0070] Based on the multi-task interaction mechanism, an asymmetric multiprocessing framework is constructed, so that the first processor core and the second processor core interact with each other based on the asymmetric multiprocessing framework.

[0071] Figure 2d A structural diagram of a high-speed communication architecture of an optional example of a test system of a relay protection device is provided. As shown in FIG. 1, the test system of the relay protection device includes a first processor core and a second processor core. Figure 2dAs shown, the test platform layer and the device control layer adopt an architecture of ARM instruction set processor + FPGA logic processor + PCIe communication bus high-speed communication, and the ARM instruction set processor and the FPGA logic processor are connected based on the high-speed PCIe bus.

[0072] Figure 2e A sample flowchart of processor communication of an optional example of the test system of the relay protection device is provided. Figure 2e As shown, the communication process between the ARM instruction set processor and the FPGA logic processor includes: the ARM end configures direct memory access (DMA), including setting the source address / destination address and the data size, while the FPGA end implements the PCIe endpoint (EP) function; the ARM end starts the DMA transmission through the ioctl command, and uses the PCIe to carry the data in the FPGA block random access memory (BRAM) to the double data rate synchronous dynamic random access memory; the FPGA end responds to the read / write request of the PCIe base address register (BAR0) from the PCIe root complex (RC); the FPGA end caches the data received by the PCIe BAR0 to the BRAM of the FPGA, and enters the logic processing unit; the FPGA end completes the conversion of the data to the hardware signal according to the logic algorithm.

[0073] The hardware control layer includes a power amplifier, and the power amplifier is integrated with a current power device and a voltage power device.

[0074] The technical scheme of the embodiment of the application can separate and encapsulate different functional modules through layered design, reduce the coupling degree between systems, and improve the stability and reliability of the system.

[0075] Embodiment three

[0076] Figure 3A flowchart of a test method of a relay protection device is provided for Embodiment Three of the present application. The present embodiment can be applied to the case of testing a relay protection device. The method can be applied to the testing of a relay protection device. The testing system of the relay protection device can be implemented in the form of hardware and / or software. Specifically, the testing system of the relay protection device comprises a test platform module, a data forwarding module, and a device test module. The data forwarding module is connected to the test platform module and the device test module, respectively. The instruction sending module is connected to the load regulation module, as shown in Figure 3 The test method of the relay protection device comprises the following steps.

[0077] In S310, the device test module collects initial test data fed back by the relay protection device in executing at least one test task and uploads the initial test data to the data forwarding module.

[0078] In S320, the data forwarding module receives the initial test data, processes the initial test data to obtain to-be-analyzed test data, and sends the to-be-analyzed test data to the test platform module.

[0079] In S330, the test platform module analyzes the to-be-analyzed test data received based on a multi-task processing mechanism to obtain a data analysis result and determines a test result corresponding to the relay protection device based on the data analysis result.

[0080] Optionally, the data analysis based on the multi-task processing mechanism and the determination of the test result corresponding to the relay protection device based on the data analysis result comprise the following steps.

[0081] In the case where the to-be-analyzed test data fed back by the relay protection device in executing multiple test tasks is received, a time priority corresponding to each test task is determined by a priority determination unit.

[0082] The to-be-analyzed test data fed back by the multiple test tasks is divided into first to-be-analyzed data and second to-be-analyzed data based on the time priority and a preset time priority division threshold by a data division unit.

[0083] The first to-be-analyzed data is analyzed based on a first processor core to obtain a first data analysis result by a data analysis unit. The second to-be-analyzed data is analyzed based on a second processor core to obtain a second data analysis result.

[0084] The test result determination unit determines a test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result.

[0085] Optionally, the first processor core and the second processor core interact data based on an asymmetric multiprocessor framework.

[0086] Optionally, after determining the test result corresponding to the relay protection device, the method further comprises: generating a test report based on the test result by a report display unit, and displaying the test report.

[0087] Optionally, before sending the test data to be analyzed to the test platform module, the method further comprises:

[0088] The transmission strategy determination module acquires first network state data, determines a data type of the test data to be analyzed for each test data to be analyzed, determines a transmission priority corresponding to the test data to be analyzed based on the data type, and determines an initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network state data, wherein the network state data comprises at least one of network delay, packet loss rate, and bandwidth utilization rate.

[0089] Optionally, after determining the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network state data, the method further comprises:

[0090] The transmission strategy adjustment module acquires second network state data, adjusts the initial data transmission strategy based on the second network state data to obtain a target data transmission strategy corresponding to the test data to be analyzed.

[0091] Optionally, the method further comprises:

[0092] The time calibration unit module determines initial collection time data corresponding to the initial test data, and calibrates the initial collection time data based on a time calibrator to obtain target collection time data corresponding to the initial test data.

[0093] Optionally, the test platform module comprises an instruction set processor, and the data forwarding module comprises an FPGA logic processor; the instruction set processor and the FPGA logic processor are connected through a PCIe communication bus.

[0094] Optionally, the device test module comprises a power amplifier, the power amplifier is integrated with a current power device and a voltage power device; the data forwarding module further comprises a digital-to-analog converter and an analog-to-digital converter; the power amplifier is connected with the digital-to-analog converter and the analog-to-digital converter, respectively.

[0095] The technical scheme of the embodiment of the present application, through the device test module connected with the data forwarding module, is used for collecting initial test data fed back by the relay protection device in executing at least one test task, and uploading the initial test data to the data forwarding module; real-time collection of initial test data generated in the test task execution process ensures the accuracy and timeliness of the data; then, through the data forwarding module connected with the test platform module, the initial test data is received, data conversion processing is performed on the initial test data to obtain test data to be analyzed, and the test data to be analyzed is sent to the test platform module; the initial test data is converted and processed to obtain test data to be analyzed which is uniform in format and easy to analyze, thereby providing convenience for subsequent data analysis; finally, through the test platform module, data analysis is performed on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and a test result corresponding to the relay protection device is determined based on the data analysis result. Multiple test data to be analyzed can be processed at the same time, thereby improving the efficiency and throughput of data analysis. The problems of low test efficiency and low accuracy of the relay protection device are solved, and the beneficial effects of improving the test efficiency and accuracy of the relay protection device are achieved.

[0096] Embodiment Four

[0097] Figure 4 A structural diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0098] As Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected to the at least one processor 11 in communication. The memory stores computer programs executable by the at least one processor 11, and the processor 11 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 12 or loaded into the random access memory (RAM) 13 from the storage unit 18. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0099] Various components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, a speaker, etc., a storage unit 18, such as a magnetic disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0100] The processor 11 can be various general and / or special-purpose processing components having processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the method of testing a method relay protection device.

[0101] In some embodiments, the method of testing a method relay protection device can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method of testing a method relay protection device described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the method of testing a method relay protection device by any other appropriate means, such as by means of firmware.

[0102] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a load programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0103] Computer programs used to implement the processes of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program, when executed, can cause instructions defined in the flow charts and / or block diagrams to be implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package and partially on a remote machine or entirely on a remote machine or server.

[0104] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0105] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0106] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0107] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0108] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in sequence, or executed in a different order, as long as the desired results of the present disclosure are achieved, and the present disclosure is not limited herein.

[0109] The specific embodiments described above are not intended to be limiting, and persons skilled in the art will appreciate that various modifications, combinations, sub-combinations and alternatives can be made to the specific embodiments without departing from the spirit and principles of the disclosure. Accordingly, the disclosure is not limited to the specific embodiments described above, but only by the scope of the appended claims.

Claims

1. A testing system for relay protection equipment, characterized in that, include: The test platform module, data forwarding module, and device test module are included; among them, The equipment testing module is connected to the data forwarding module and is used to collect initial test data fed back from the relay protection equipment when it performs at least one test task, and upload the initial test data to the data forwarding module. The data forwarding module is connected to the test platform module and is used to receive the initial test data, perform data conversion processing on the initial test data to obtain the test data to be analyzed, and send the test data to be analyzed to the test platform module. The test platform module is used to perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain data analysis results, and to determine the test results corresponding to the relay protection device based on the data analysis results. The test platform module includes a priority determination unit, a data partitioning unit, a data analysis unit, and a test result determination unit, wherein... The priority determination unit is used to determine the time priority corresponding to each test task when receiving the test data to be analyzed fed back by the relay protection device for executing multiple test tasks. The data partitioning unit is used to divide the test data to be analyzed from multiple test tasks into first data to be analyzed and second data to be analyzed based on the time priority and a preset time priority partitioning threshold. The data analysis unit is used to analyze the first data to be analyzed based on the first processor core to obtain a first data analysis result, and to analyze the second data to be analyzed based on the second processor core to obtain a second data analysis result. The test result determination unit is used to determine the test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result. The data forwarding module includes a transmission strategy determination unit, wherein, The transmission strategy determination unit is used to acquire first network status data, determine the data type of each test data to be analyzed, determine the transmission priority corresponding to the test data to be analyzed based on the data type, and determine the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network status data, wherein the network status data includes at least one of network latency, packet loss rate and bandwidth utilization. The data forwarding module includes a transmission strategy adjustment unit, wherein, The transmission strategy adjustment unit is used to acquire second network status data and adjust the initial data transmission strategy based on the second network status data to obtain a target data transmission strategy corresponding to the test data to be analyzed.

2. The system according to claim 1, characterized in that, The first processor core and the second processor core interact with each other based on an asymmetric multiprocessing framework.

3. The system according to claim 1, characterized in that, The testing platform module includes a report display unit, wherein... The report display unit is used to generate a test report based on the test results after determining the test results corresponding to the relay protection device, and to display the test report.

4. The system according to claim 1, characterized in that, The device testing module includes a time calibration unit; wherein... The time calibration unit is used to determine the initial acquisition time data corresponding to the initial test data, and to calibrate the initial acquisition time data based on the time calibrator to obtain the target acquisition time data corresponding to the initial test data.

5. The system according to claim 1, characterized in that, The test platform module includes an instruction set processor, and the data forwarding module includes an FPGA logic processor; the instruction set processor and the FPGA logic processor are connected via a PCIe communication bus.

6. The system according to claim 5, characterized in that, The device testing module includes a power amplifier, which integrates current power devices and voltage power devices; the data forwarding module also includes a digital-to-analog converter and an analog-to-digital converter; the power amplifier is connected to the digital-to-analog converter and the analog-to-digital converter respectively.

7. A test method for relay protection equipment, characterized in that, A testing system for relay protection equipment, wherein the testing of the relay protection equipment includes: a test platform module, a data forwarding module, and a device testing module, wherein the data forwarding module is connected to both the test platform module and the device testing module, and wherein the testing method for the relay protection equipment includes: The device testing module collects initial test data from the relay protection device as it executes at least one test task, and uploads the initial test data to the data forwarding module. The data forwarding module receives the initial test data, performs data conversion processing on the initial test data to obtain the test data to be analyzed, and sends the test data to be analyzed to the test platform module. The test platform module performs data analysis on the received test data based on a multi-task processing mechanism to obtain data analysis results, and determines the test results corresponding to the relay protection device based on the data analysis results. The process of performing data analysis on the received test data based on a multi-task processing mechanism to obtain data analysis results, and determining the test results corresponding to the relay protection device based on the data analysis results, includes: The priority determination unit determines the time priority corresponding to each test task when it receives test data to be analyzed from the relay protection device performing multiple test tasks. The data partitioning unit divides the test data to be analyzed from multiple test tasks into first data to be analyzed and second data to be analyzed based on the time priority and the preset time priority partitioning threshold. The data analysis unit analyzes the first data to be analyzed based on the first processor core to obtain a first data analysis result, and analyzes the second data to be analyzed based on the second processor core to obtain a second data analysis result. The test result determination unit determines the test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result. Before sending the test data to be analyzed to the test platform module, the following steps are also included: The transmission strategy determination module acquires first network status data, determines the data type of each test data to be analyzed, determines the transmission priority corresponding to the test data to be analyzed based on the data type, and determines the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network status data. The network status data includes at least one of network latency, packet loss rate, and bandwidth utilization. After determining the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network status data, the method further includes: The transmission strategy adjustment module acquires second network status data and adjusts the initial data transmission strategy based on the second network status data to obtain a target data transmission strategy corresponding to the test data to be analyzed.

Citation Information

Patent Citations

  • Method and device of optimizing database

    CN108268546A

  • Load balancing method, device and system in lossless network of data center and medium

    CN116055404A