Functional verification and interoperability test method, system and equipment for intelligent fusion terminal in power distribution network station area, and medium
By constructing a power distribution network testing system and automated verification methods, the problems of incomplete coverage, lack of interoperability, and low automation in integrated terminal testing were solved, realizing full-function scenario-based automated testing and systematic performance evaluation, thereby improving testing efficiency and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUIZHOU POWER GRID CO LTD
- Filing Date
- 2025-12-10
- Publication Date
- 2026-05-15
AI Technical Summary
Existing testing technologies for converged terminals suffer from incomplete functional testing coverage, a lack of interoperability testing methods, and low levels of testing automation, resulting in significant device compatibility issues and poor testing efficiency and repeatability.
A power distribution network testing system is constructed. It is initialized and configured through a test control platform. Combined with a scenario simulation module and a protocol analysis module, test signals with real transformer operating characteristics are generated. The system is then fully automated using an automated test engine to perform verification, build an interoperability test matrix, generate a compatibility report, and establish a multi-dimensional evaluation index system.
It enables fully automated testing of converged terminals across all scenarios, improving testing efficiency and repeatability, systematically identifying and locating interoperability issues between devices, and providing quantitative performance evaluation and improvement suggestions.
Smart Images

Figure CN122052307A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart distribution network equipment testing technology, specifically to methods, systems, equipment, and media for functional verification and interoperability testing of smart integrated terminals in distribution network areas. Background Technology
[0002] With the deepening of the digital transformation of distribution networks, the intelligent converged terminal of the distribution area, as the core equipment for end-point sensing and control of the distribution network, integrates multiple functions such as power metering, data acquisition, edge computing, and load control. However, existing converged terminal testing technologies mainly have the following shortcomings: 1) Incomplete functional testing coverage and lack of scenario-based verification capabilities. Traditional testing of converged terminals primarily verifies single functions, such as metering accuracy or communication capabilities, lacking comprehensive performance verification under complex real-world operating scenarios. Actual transformer substation operation involves various conditions, including load fluctuations, harmonic interference, and communication congestion. These factors can affect the metering accuracy, data acquisition integrity, and timeliness of control command execution of the converged terminal.
[0003] 2) Lack of interoperability testing methods and prominent equipment compatibility issues. Distribution network areas typically deploy equipment from multiple manufacturers, including converged terminals, smart meters, and load control switches. Differences in communication protocol implementation, data format definitions, and interface timing between different manufacturers' equipment lead to difficulties in interoperability.
[0004] 3) Low level of test automation, poor test efficiency and repeatability. Current testing of converged terminals mainly relies on manual operations, including manually configuring test parameters, manually recording test data, and manually judging test results. This testing method suffers from low efficiency, high error rates, and poor repeatability. A complete functional test of a converged terminal often takes several days, and the human factors involved in the testing process are difficult to control, resulting in insufficient consistency and reliability of test results. Summary of the Invention
[0005] In view of the above-mentioned problems, the present invention is proposed.
[0006] Therefore, the present invention aims to achieve full-function scenario-based testing of converged terminals, establish a systematic interoperability testing framework, and realize fully automated execution of the testing process.
[0007] To address the aforementioned technical problems, this invention provides the following technical solution: a method for verifying the functions and interoperability testing of intelligent integrated terminals in distribution network areas, comprising, A distribution network testing system was constructed. The test environment was initialized and configured through a test control platform, simultaneously launching the scenario simulation module and protocol analysis module, and configuring the operating parameters of the distribution areas. The scenario simulation module generated test signals based on the actual operating characteristics of the distribution areas, performed digital-to-analog conversion, and connected the converted signals to the fusion terminal. The metering results from the fusion terminal were read, and metering accuracy was tested. Metering data was simulated to be sent to the fusion terminal through a standard equipment library to test data acquisition and concurrent processing capabilities. Load control commands were issued to the fusion terminal through the test control platform to test control functions and verify edge computing capabilities. The communication process between the fusion terminal and various devices was monitored to verify the consistency of protocol implementation. The fusion terminal was verified using an automated test engine according to predetermined test cases, an interoperability test matrix was constructed, and a compatibility report was generated. All test data were summarized, a multi-dimensional evaluation index system was established, the comprehensive performance score of the fusion terminal was calculated, and a test report was generated.
[0008] As a preferred embodiment of the method for functional verification and interoperability testing of intelligent integrated terminals in distribution network areas according to the present invention, the initialization configuration includes: initializing the test environment through the test control platform, establishing a physical connection and communication link between the integrated terminal under test and the test system, sending a device identification command, defining a device identification vector, and automatically loading the corresponding test case set according to the device identification vector; Simultaneously, the scenario simulation module and the protocol analysis module are started. The scenario simulation module configures the operating parameters of the transformer area according to the test requirements, and the protocol analysis module begins listening to all communication ports. As a preferred embodiment of the method for verifying the function and interoperability testing of the intelligent integrated terminal of the distribution network area described in this invention, the scenario simulation module generates test signals based on the actual operating characteristics of the distribution network area, generates a scenario template, and performs scenario simulation based on the scenario module. The system generates voltage and current signals under normal operating conditions, simulates typical daily load curves of the transformer area, and simulates power quality disturbance scenarios by superimposing disturbance components. The digital signal is converted into an analog voltage and current signal by a power amplifier and a signal generator, and then connected to the metering interface of the fusion terminal to generate a standard signal.
[0009] As a preferred embodiment of the method for functional verification and interoperability testing of the intelligent fusion terminal in the distribution network area described in this invention, the metering accuracy test includes: connecting the generated standard signal to the fusion terminal, reading the metering result of the fusion terminal, and comparing it with the theoretical value. Calculate the theoretical value of active power, calculate the measurement error based on the measured value of active power, evaluate the power metering error, conduct tests based on load point and power factor, and calculate the overall metering accuracy; The results of the metrological accuracy test will be used as the basis for determining whether the fusion terminal meets the metrological requirements.
[0010] As a preferred embodiment of the method for functional verification and interoperability testing of the smart converged terminal in the distribution network area described in this invention, the test data acquisition capability and concurrent processing capability include sending metering data to the converged terminal by simulating smart meters through a standard equipment library. The standard equipment library contains simulations of smart meters from different manufacturers and of different models. Each simulation process generates data packets according to the communication protocol of the corresponding device. Define a data acquisition integrity index, and evaluate the timeliness of data acquisition based on the integrity index by comparing timestamps; under normal communication channel quality conditions, inject communication interference through a scenario simulation module to test the data acquisition capability of the fusion terminal in a harsh communication environment. Define anti-interference capability indicators. For multi-meter concurrent data acquisition scenarios, start simulations of two or more meters simultaneously to test the concurrent processing capability of the fusion terminal and calculate the concurrent processing success rate. The control function test includes: issuing load control commands to the fusion terminal through the test control platform; the load control switch simulation module in the standard equipment library receiving the control commands from the fusion terminal and feeding back the execution status; defining the control command response time; evaluating the control accuracy by comparing the command execution results with the expected results; testing the execution performance of different types of control commands, including real-time control, timed control, and conditional control; and verifying the consistency of the control protocol by checking the control function test results.
[0011] As a preferred embodiment of the method for functional verification and interoperability testing of the intelligent converged terminal in the distribution network area described in this invention, the verification of the consistency of the protocol implementation includes: the protocol analysis module monitoring the communication process between the converged terminal and each device to verify the consistency of the protocol implementation; The formula for verifying the integrity of the protocol message structure is: In the formula, The message format verification results are used to calculate the message format accuracy rate within a specified time period. In the formula, For message format accuracy, Total number of messages; Protocol timing consistency is verified by measuring key timing parameters: In the formula, The result of the timing consistency check. These are measured time parameters. , The time frame specified in the agreement; The fault tolerance capability of the converged terminal is evaluated by injecting communication errors through fault injection techniques. In the formula, For fault recovery rate, The number of communication failures successfully recovered. The total number of injected communication faults; protocol test results. , , Input interoperability testing.
[0012] The beneficial effects of the preferred technical solution in the embodiments of the present invention are as follows: by constructing an interoperability test matrix and multi-device collaborative simulation, the protocol conversion and collaboration capabilities of the terminal and devices from different manufacturers are systematically tested, and a compatibility report is generated, effectively identifying and locating collaboration problems between devices.
[0013] As a preferred embodiment of the method for functional verification and interoperability testing of the intelligent integrated terminal in the distribution network area described in this invention, the verification of the integrated terminal includes testing the collaborative working capability of the integrated terminal with different devices through a multi-manufacturer equipment simulation module in the standard equipment library, and constructing an interoperability test matrix, wherein the elements represent the interoperability test results between the integrated terminal and the standard equipment. Calculate interoperability scores, test the accuracy of protocol conversion for devices with different communication protocols, calculate protocol conversion errors, generate compatibility reports, identify device combinations with interoperability issues, and provide fault symptoms and protocol difference analysis; The multi-dimensional evaluation index system includes a data analysis module that summarizes all test data, calculates the comprehensive performance score of the fusion terminal, and establishes the multi-dimensional evaluation index system: In the formula, The overall performance score is calculated, where each sub-item is scored as follows: Measurement Performance Score. Based on accuracy A Data acquisition performance score Based on integrity and latency : In the formula, Maximum allowable acquisition delay; control performance score Based on accuracy and reliability for Edge computing score Based on prediction accuracy MAPE and detection accuracy for Communication protocol score Based on format correctness and fault recovery rate for , Interoperability score; The weighting coefficients are determined based on the application scenarios of the converged terminals, and the converged terminals are graded according to the comprehensive scores: For converged terminals rated C or unqualified, a problem list and improvement suggestions are automatically generated, with the severity of the problem quantified by the degree of deviation: In the formula, Severity represents the severity of the problem. For the expected score, This is the actual score.
[0014] The beneficial effects of the preferred technical solution in the embodiments of the present invention are as follows: by establishing a quantitative evaluation index system and weight configuration covering multiple dimensions such as measurement, data collection, and control, a comprehensive score and grade assessment of terminal performance can be achieved, and a problem list and improvement suggestions can be automatically generated for unqualified products, thereby improving the systematicness and guidance of the evaluation.
[0015] Another objective of this invention is to provide a system for verifying the functionality and interoperability testing of intelligent integrated terminals in distribution network areas.
[0016] To address the aforementioned technical problems, this invention provides the following technical solution: a functional verification and interoperability testing system for intelligent integrated terminals in distribution network areas, comprising: a test control platform, a scenario simulation module, a standard equipment library, a protocol analysis module, an automated test engine, and a data analysis module; The test control platform constructs a power distribution network test system. It initializes and configures the test environment, starts the scenario simulation module and protocol analysis module, and configures the operating parameters of the transformer substation. The scenario simulation module generates test signals based on the actual operating characteristics of the transformer area, performs digital-to-analog conversion, connects the converted signals to the fusion terminal, reads the metering results from the fusion terminal, and performs metering accuracy testing. The standard equipment library is used to simulate sending metering data to the converged terminal, test the data acquisition and concurrent processing capabilities, and send load control commands to the converged terminal through the test control platform to test the control function and verify the edge computing function. The protocol analysis module monitors the communication process between the converged terminal and each device and verifies protocol consistency. The automated testing engine verifies the converged terminal according to predetermined test cases, constructs an interoperability test matrix, and generates a compatibility report. The data analysis module summarizes all test data, establishes a multi-dimensional evaluation index system, calculates the comprehensive performance score of the fusion terminal, and generates a test report.
[0017] The present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, characterized in that the processor executes the computer program to implement the steps of the method for verifying the function and interoperability testing of the intelligent integrated terminal of the distribution network area.
[0018] The present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the method for verifying the function and interoperability testing of the intelligent integrated terminal of the distribution network area.
[0019] The beneficial effects of this invention are as follows: This invention realizes full-function scenario-based automatic testing of converged terminals. Through the scenario simulation module, it generates real operating conditions of the transformer area, including complex environments such as load fluctuations, power quality disturbances, and communication interference, and comprehensively verifies all functions of the converged terminal, such as metering, data acquisition, control, and edge computing.
[0020] This invention establishes a systematic interoperability testing framework. By simulating equipment from multiple manufacturers using a standard equipment library, an interoperability test matrix is constructed to comprehensively evaluate the compatibility of converged terminals with different devices. The protocol analysis module monitors the communication process in real time, accurately pinpointing the root cause of interoperability problems and providing quantitative data for equipment selection and system integration. This invention achieves a quantitative evaluation of edge computing capabilities. This patent establishes a multi-dimensional evaluation index system for the edge computing functions of converged terminals, encompassing algorithm accuracy, processing latency, and resource consumption. The performance of algorithms such as load forecasting and power quality analysis is verified using standard datasets, ensuring the evaluation results are objective and reliable. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 The above is a flowchart of the method for verifying the function and interoperability testing of a smart integrated terminal in a distribution network area, as provided in one embodiment of the present invention. Detailed Implementation
[0023] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0024] Example 1, referring to Figure 1 This is one embodiment of the present invention, which provides a method for verifying the functionality and interoperability testing of a smart converged terminal in a distribution network area, including: S100. Construct a distribution network test system, initialize and configure the test environment through the test control platform, and start the scenario simulation module and protocol analysis module to configure the operating parameters of the transformer area. The S200 and scenario simulation module generate test signals based on the actual operating characteristics of the transformer area, perform digital-to-analog conversion, connect the converted signals to the fusion terminal, read the metering results from the fusion terminal, and perform metering accuracy testing. S300 simulates sending metering data to the converged terminal through the standard equipment library to test data acquisition and concurrent processing capabilities. It also sends load control commands to the converged terminal through the test control platform to test control functions and verify edge computing functions. S400: Monitor the communication process between the converged terminal and various devices to verify the consistency of protocol implementation; S500 uses an automated testing engine to verify converged terminals according to predetermined test cases, builds an interoperability test matrix, and generates a compatibility report. S600: Summarize all test data, establish a multi-dimensional evaluation index system, calculate the comprehensive performance score of the converged terminal, and generate a test report.
[0025] It should be noted that existing technologies have technical shortcomings such as incomplete test coverage, lack of interoperability verification, and low degree of automation.
[0026] Therefore, to address the aforementioned problems, through steps S100-S600, this invention uses a test control platform to manage and schedule the overall test process. A scenario simulation module generates various realistic operating conditions, a standard equipment library provides reference equipment from different manufacturers, a protocol analysis module monitors and parses the communication process, an automated test engine executes specific test cases, and a data analysis module comprehensively evaluates the test results. The system first generates a test environment including features such as load fluctuations and power quality disturbances through the scenario simulation module. Then, the automated test engine verifies each functional module of the fusion terminal according to predetermined test cases. The protocol analysis module monitors the communication interaction process between devices in real time. Finally, the data analysis module processes all test data to generate a quantitative performance evaluation report and an interoperability compatibility matrix.
[0027] As can be seen from the purpose of this invention, the aim is to construct a comprehensive testing platform encompassing all functional modules such as metering, data acquisition, control, edge computing, and communication. This platform simulates real-world transformer operation scenarios, including load changes, power quality disturbances, and communication channel interference, to comprehensively verify the performance of the converged terminal under complex environments. It designs a multi-vendor equipment collaborative testing scheme, using standardized interoperability test cases to verify the compatibility of the converged terminal with smart meters from different brands, load control equipment, and upper-level master station systems. This resolves the automated detection and location of interoperability issues such as protocol implementation differences, inconsistent data formats, and interface timing mismatches. Furthermore, it develops an automated testing platform to achieve automatic loading of test cases, automatic configuration of test parameters, automatic execution of the test process, automatic judgment of test results, and automatic generation of reports. Through test scripts and standardized test interfaces, testing efficiency and repeatability are significantly improved, reducing the full-function testing time from several days to several hours, while eliminating the influence of human factors on test results.
[0028] Example 2, refer to Figure 1 This is one embodiment of the present invention, which provides a method for verifying the functionality and interoperability testing of a smart converged terminal in a distribution network area, including: In this embodiment of the invention, in S100, a distribution network test system is constructed, the test environment is initialized and configured through a test control platform, and the scenario simulation module and protocol analysis module are started simultaneously to configure the operating parameters of the transformer substations, including the following steps S101-S102: In an embodiment of the present invention, S101, the entire test environment is initialized and configured through the test control platform, including the following steps A1-A3: A1. Establish the physical connection and communication link between the fusion terminal under test and the test system, including the power interface, power metering interface, RS485 communication interface, and Ethernet interface; A2. The test control platform sends a device identification command to read the basic information of the converged terminal, including device type, software version, and function configuration.
[0029] A3. Define the device identifier vector as follows: In the formula, D is the device identifier vector, M is the device model, and V is the software version number. This is the identifier for the i-th functional module.
[0030] In an optional implementation, the initialization configuration in S101 can guide the operator through the physical wiring of the terminal under test by the test control platform. The platform automatically sends a simplified command to the terminal to read the device model, matches the read device model with the internally stored device configuration template library, and after successful matching, the test control platform automatically sends the corresponding standard communication parameters and basic operating parameters required for this test to the terminal under test and the scenario simulation module in batches, completing the environment initialization and defining the device identification vector. In the formula, D is the device identifier vector, M is the device model, and V is the software version number. This is the identifier for the i-th functional module.
[0031] In another optional implementation, the initialization configuration in S101 can also involve the test control platform first checking whether the physical link between the test terminal and the terminal under test is unobstructed via specified interfaces such as Ethernet and RS485. The platform sends a fixed composite query command, requesting the terminal to reply with two key identification information: its manufacturer code and hardware specification code. Based on the received manufacturer and hardware specification codes, the platform selects the corresponding standard parameter group (including the communication protocol type and default address commonly used by the manufacturer's equipment) from the configuration file and defines the device identification vector. In the formula, D is the device identifier vector, M is the device model, and V is the software version number. This is the identifier for the i-th functional module.
[0032] S102. Automatically load the corresponding test case set based on the device identifier vector. The test case coverage calculation formula is as follows: In the formula, C represents the test case coverage, and n represents the total number of functional modules. Let be the weight coefficient of the i-th functional module. Let be the completeness coefficient of the test cases corresponding to the i functional modules; Among them, setting the weight of measurement functions Data collection function weight Control function weights Edge computing function weight Communication function weight .
[0033] The test control platform simultaneously starts the scenario simulation module and the protocol analysis module. The scenario simulation module configures the operating parameters of the test area according to the test requirements, and the protocol analysis module starts listening to all communication ports.
[0034] The initial power grid state parameters generated by the scenario simulation module are passed to the scenario simulation process, while the device identification vector D and coverage C are passed to the automated test engine as the basis for test case selection.
[0035] In this embodiment of the invention, the scenario simulation module in S200 generates a test signal based on the actual operating characteristics of the transformer substation, performs digital-to-analog conversion, connects the converted signal to the fusion terminal, reads the metering results from the fusion terminal, and performs metering accuracy testing, including the following steps S201-S203: S201, the scenario simulation module generates test signals based on the actual operating characteristics of the transformer area, and has built-in a variety of typical scenario templates, including normal operation scenario, load fluctuation scenario, power quality disturbance scenario, and communication anomaly scenario; The formula for generating the voltage signal under normal operating conditions is as follows: In the formula, Let be the instantaneous voltage at time t. The amplitude of the fundamental voltage. Angular frequency, The initial phase angle, The voltage amplitude of the h-th harmonic is... Let H be the phase angle of the h-th harmonic, and H be the highest harmonic order considered.
[0036] Current signal generation takes load variation characteristics into account: In the formula, Let be the instantaneous current at time t. The reference current amplitude, This is the load fluctuation coefficient. The load change function It represents the current phase angle.
[0037] S202, Load variation function simulation of typical daily load curve of the transformer area: In the formula, , This is the load fluctuation amplitude coefficient. The hour is the daily cycle. The hour is the cycle. This is the phase shift.
[0038] Power quality disturbance scenarios are achieved by superimposing disturbance components, and the voltage sag signal is: In the formula, This is a voltage sag signal, where k is the sag amplitude coefficient. This is the start time of the temporary landing. This marks the end of the temporary landing.
[0039] The scenario simulation module converts digital signals into analog voltage and current signals through a power amplifier and signal generator, which are then connected to the metering interface of the fusion terminal to generate standard signal parameters. , The disturbance parameter k is passed to the metrological accuracy test as a reference value. , The data is passed to the anti-interference capability test.
[0040] S203. The system connects the standard voltage and current signals generated in the second step to the fusion terminal, reads the measurement results from the fusion terminal, and compares them with the theoretical values. In an embodiment of the present invention, calculating the theoretical value of active power includes the following step B1: B1. The formula for calculating the theoretical value of active power is: In the formula, is the theoretical value of active power, and T is the integration period.
[0041] In an optional implementation, the calculation of the theoretical value of active power in S203 can be based on the average power method of discrete sampling points. By sampling at equal time intervals, the average value of the instantaneous power at discrete points is calculated as the theoretical value of active power. However, the calculation accuracy will decrease significantly when the sampling rate is insufficient or the signal harmonic content is high.
[0042] In another alternative implementation, the calculation of the theoretical value of active power in S203 can also be based on the frequency division superposition method of spectrum analysis. By analyzing the frequency domain components of the signal, the active power of each harmonic is calculated separately and then summed. However, this implementation has strict requirements on the periodicity of the signal, and its accuracy is difficult to guarantee when analyzing non-steady-state or rapidly changing transient signals.
[0043] The active power measurement value of the converged terminal is recorded as follows: Calculate the measurement error: In the formula, This represents the measurement error of active power.
[0044] In an embodiment of the present invention, evaluating electrical energy metering error includes the following step C1: C1. The error of electricity metering shall be evaluated in accordance with the national standard GB / T 17215: In the formula, For electricity metering error, To integrate terminal measurement of electrical energy, This represents theoretical electrical energy.
[0045] In an optional implementation, the evaluation of power metering error in S203 can be based on an evaluation method that compares standard power pulses, by comparing the power pulses output by the fusion terminal with the reference pulses generated by the standard source of the test system to calculate the error.
[0046] In another alternative implementation, the evaluation of power metering error in S203 can also be based on a standard procedure of comparing frozen power data. Instead of relying on real-time power integral comparison, it uses frozen power data commonly found in the protocol as the evaluation object and compares it with the benchmark frozen power set by the test system.
[0047] Tests were conducted at different load points (5%, 10%, 20%, 50%, 100%, 120% of rated current) and different power factors (1.0, 0.8 capacitive, 0.8 inductive) to calculate the overall metering accuracy. In the formula, A represents the overall measurement accuracy, and N represents the number of test points. Let be the energy metering error at the j-th test point.
[0048] To assess metering performance under harmonic conditions, the system injects harmonic currents of a specific order to verify the harmonic energy metering capability of the fusion terminal. The harmonic active power is: In the formula, The active power of the h-th harmonic is , The effective value of the voltage and current of the h-th harmonic is... is the power factor of the h-th harmonic.
[0049] Results of metrological accuracy test , A is passed to the comprehensive performance evaluation and serves as the basis for determining whether the converged terminal meets the metering requirements; if If so, a detailed diagnostic process will be automatically triggered.
[0050] In this embodiment of the invention, S300 simulates sending metering data to the converged terminal using a standard equipment library to test data acquisition and concurrent processing capabilities. A load control command is then issued to the converged terminal through a test control platform to perform control function testing, while simultaneously verifying edge computing functionality. This includes the following steps S301-S302: S301. The system simulates multiple smart meters through a standard equipment library and sends metering data to the converged terminal. The standard equipment library contains smart meter simulation modules from different manufacturers and models. Each simulation module generates data packets according to the communication protocol of the corresponding device.
[0051] Define data collection integrity metrics: In the formula, To ensure data integrity, To determine the actual number of data frames received by the fusion terminal, The total number of data frames sent for the standard equipment library.
[0052] Timeliness of data collection is assessed through timestamp comparison: In the formula, For data collection latency, To integrate the timestamps of data recorded by the terminal, Timestamps are generated for data in the standard equipment library.
[0053] Under conditions of good communication channel quality, it is required The scenario simulation module injects communication interference, including signal attenuation, burst noise, and channel congestion, to test the data acquisition capability of the fusion terminal in harsh communication environments. Anti-interference capability indicators are defined as follows: In the formula, This is the anti-interference capability coefficient. To ensure data integrity under interference conditions, This ensures data integrity under normal conditions.
[0054] In an embodiment of the present invention, testing data acquisition capabilities and concurrent processing capabilities includes the following step D1: D1. For scenarios involving concurrent data collection from multiple meters, simultaneously launch M meter simulation modules to test the concurrent processing capability of the fusion terminal. The success rate of concurrent processing is: In the formula, To improve the success rate of concurrent processing, M represents the number of meters that were successfully collected, and M represents the total number of concurrent meters.
[0055] In an optional implementation, the concurrent processing capability test in S203 can be based on statistical evaluation of multiple instantaneous error points. After the scenario simulation module outputs a stable standard test signal, instead of immediately performing long-term integration calculations, the instantaneous power values reported by the fusion terminal and the theoretical instantaneous power values generated by the simulation system are read synchronously at multiple preset equally spaced time points. The relative error of instantaneous power at each time point is calculated, and the instantaneous power error values at all time points are statistically analyzed. The average value is calculated as a system deviation estimate, and the standard deviation is calculated as a fluctuation assessment of the measurement result. The average deviation and standard deviation are compared with the corresponding instantaneous parameter error limits in the national metrological regulations to determine whether the measurement accuracy is qualified. However, this implementation focuses on instantaneous response and stability assessment, but the testing process is relatively cumbersome and cannot be directly equated to the final evaluation of power accumulation error in the national standard.
[0056] Results of data acquisition test , , Transmitted to the comprehensive evaluation, at the same time The test results are fed back to the scenario simulation to adjust the concurrency of subsequent tests.
[0057] S302. The system sends load control commands to the converged terminal through the test control platform, including switch control, power limiting control, and time period control. The load control switch simulation module in the standard equipment library receives control commands from the fusion terminal and feeds back the execution status. The control command response time is defined as: In the formula, To control response time, The actual moment the switch operates. When control commands are issued to the converged terminal.
[0058] Control accuracy is evaluated by comparing the execution result of the instruction with the expected result: In the formula, To control accuracy, The number of control commands to be executed correctly. This represents the total number of control commands issued.
[0059] The execution performance of different types of control commands was tested, including immediate control, timed control, and conditional control; for timed control, the time error was: In the formula, To control time errors, This is the predetermined control time.
[0060] In scenarios of communication anomalies, test the control command caching and retransmission mechanism of the converged terminal, and define control reliability indicators: In the formula, To ensure overall control reliability, The final number of instructions successfully executed. This is the maximum allowable time error threshold.
[0061] Control function test results , , The comprehensive evaluation is transmitted and fed back to the protocol analysis module for consistency verification of the control protocol.
[0062] S303, edge computing is one of the core functions of converged terminals, including load forecasting, power quality analysis, and anomaly detection; the accuracy of the algorithm is verified by inputting a standard dataset.
[0063] Taking load forecasting algorithms as an example, the input is a sequence of historical load data. The algorithm outputs predicted values. The formula for evaluating prediction accuracy is: In the formula, For load forecasting error, This represents the actual load value.
[0064] Calculate the mean absolute percentage error (MAPE) of multi-step prediction: In the formula, MAPE is the mean absolute percentage error, and K is the number of prediction steps.
[0065] Edge computing processing latency is measured using timestamps: In the formula, To calculate the delay, When the output result is available, This is the time to receive input data.
[0066] For the power quality analysis algorithm, the system input includes voltage waveform data containing specific disturbances. The algorithm's detection capability is verified, and the detection accuracy is: In the formula, For detection accuracy, TP represents the number of correctly detected disturbances, TN represents the number of correctly identified disturbances, FP represents the number of false alarms, and FN represents the number of missed alarms.
[0067] The system assesses the resource consumption of edge computing, including CPU utilization and memory usage. In the formula, For comprehensive resource utilization rate, For CPU utilization, For memory usage, , These are the weighting coefficients.
[0068] Edge computing test results MAPE , Resource utilization rate is passed to the comprehensive assessment. Used to evaluate the performance of converged terminals when multiple tasks are concurrent.
[0069] In this embodiment of the invention, monitoring the communication process between the converged terminal and each device in S400 and verifying the consistency of the protocol implementation includes the following steps S401-S402: S401, the protocol analysis module monitors the communication process between the converged terminal and various devices, verifies the consistency of protocol implementation, and supports multiple power communication protocols such as DL / T 645, MODBUS, and IEC 104.
[0070] The formula for verifying the integrity of the protocol message structure is: In the formula, This is the message format verification result.
[0071] Statistical analysis of message format accuracy over a certain period of time: In the formula, For message format accuracy, This represents the total number of messages.
[0072] Protocol timing consistency is verified by measuring key timing parameters: In the formula, The result of the timing consistency check. These are measured time parameters. , The time frame specified in the agreement.
[0073] S402. For important protocol features, such as broadcast frame handling, abnormal frame handling, and retransmission mechanisms, the system uses fault injection technology for testing. After injecting communication errors, the fault tolerance capability of the converged terminal is evaluated: In the formula, For fault recovery rate, The number of communication failures successfully recovered. This represents the total number of injected communication faults.
[0074] Protocol test results , , Passed to interoperability testing and comprehensive evaluation.
[0075] In this embodiment of the invention, step S500 utilizes an automated testing engine to verify the converged terminal according to predetermined test cases, constructs an interoperability test matrix, and generates a compatibility report, including the following steps S501-S502: S501. Interoperability testing is a core function of this system. Through the multi-manufacturer equipment simulation module in the standard equipment library, the collaborative working ability of the converged terminal with different devices is tested.
[0076] System build interoperability test matrix Its elements This indicates the interoperability test results between converged terminal i and standard device j: In the formula, m is the number of fusion terminals under test, and n is the number of standard devices.
[0077] The interoperability score is calculated using the following formula: In the formula, The overall score is for interoperability. Establish a success rate for communication (using ), For data interaction accuracy (using ), For functional collaboration success rate (based on) Calculation), weighting coefficients , , .
[0078] S502. For devices with different communication protocols, the system tests the accuracy of protocol conversion. The protocol conversion error is: In the formula, Due to protocol conversion error, The original data values, This is the converted data value.
[0079] The system generates a compatibility report, identifying device combinations with interoperability issues and providing detailed analysis of fault symptoms and protocol differences, along with an interoperability matrix. and overall score Conduct a final evaluation.
[0080] In this embodiment of the invention, step S600 involves summarizing all test data, establishing a multi-dimensional evaluation index system, calculating the comprehensive performance score of the fusion terminal, and generating a test report, including the following steps S601-S602: S601. The data analysis module summarizes all test data from the first eight steps and calculates the overall performance score of the converged terminal. A multi-dimensional evaluation index system is established: In the formula, For the overall performance score, the scores for each sub-item are as follows: Measurement performance score Based on measurement accuracy A: Data Acquisition Performance Score Based on data collection integrity and data acquisition latency : In the formula, The maximum allowable acquisition latency.
[0081] Control performance score Based on control accuracy and control reliability indicators : Edge computing score Based on Mean Absolute Percentage Error (MAPE) and Detection Accuracy : Communication Protocol Score Based on message format accuracy and fault recovery rate : Interoperability score Directly use the calculation from step eight .
[0082] S602. The weighting coefficient is determined based on the application scenario of the converged terminal: For metering terminals ; For control terminals ; In general scenarios, the weight allocation is as follows: , , , , , .
[0083] The converged terminals are rated based on their overall scores: For converged terminals rated C or unqualified, the system automatically generates a problem list and improvement suggestions. Problem severity is quantified by deviation level. In the formula, Severity represents the severity of the problem. The expected score (usually 90 points). This is the actual score.
[0084] The generated test report includes detailed test data, performance curves, interoperability matrices, and improvement suggestions, providing comprehensive technical support for the selection, deployment, and operation and maintenance of converged terminals.
[0085] Example 3 is an embodiment of the present invention, which provides a method for verifying the function and interoperability testing of the intelligent integrated terminal of the distribution network area. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.
[0086] This experiment was conducted based on a converged terminal testing project of a provincial power company. The test subjects were smart converged terminal products from five mainstream manufacturers, with each manufacturer providing three devices for testing.
[0087] The standard equipment library includes 10 models of smart meter simulation modules and 5 models of load control switch simulation modules, covering major domestic equipment manufacturers.
[0088] The scenario simulation module covers the load characteristics of three typical transformer substations: residential electricity, commercial electricity, and industrial electricity, with a simulated load range of 10kW to 500kW.
[0089] The testing cycle is 7 consecutive days, with test cases running automatically around the clock.
[0090] The system executes approximately 120 test cases daily, including basic function tests, performance tests, protocol consistency tests, and interoperability tests.
[0091] The test environment simulated voltage fluctuations of ±10%, harmonic distortion rate of 5%, and communication bit error rate. Real-world working conditions, etc.
[0092] All communication messages, performance data, and abnormal events were recorded during the test, generating a total of approximately 500GB of test data.
[0093] By comparing with traditional manual testing methods, the advantages of this system in terms of testing efficiency and accuracy are verified.
[0094] At the same time, the performance and interoperability differences of equipment from different manufacturers are compared to provide a quantitative basis for equipment selection.
[0095] Validation was performed, as shown in Tables 1-3. Table 1 Comparison of Test Efficiency
[0096] This invention reduces the total testing time from 5 days to 18 hours, increases test case coverage by 167%, reduces manual workload by 93%, automates test report generation, increases test repeatability from 75% to 98%, and eliminates test result differences caused by human factors.
[0097] Table 2 Comparison of Functional Performance Test Results
[0098] Test results show that Manufacturer C's product has the best overall performance, with all indicators meeting the Grade A standard. Manufacturer D's product has deficiencies in data acquisition completeness and control response, with an overall score of only 82.7 points, placing it in Grade C. This system successfully quantified the performance differences between different products, providing an objective basis for procurement decisions.
[0099] Table 3 Interoperability Test Results Matrix
[0100] Interoperability testing revealed compatibility issues between Manufacturer D's product and meter model 3, scoring only 71 points. Protocol analysis revealed deviations in the timing implementation of the DL / T 645 protocol from the standard. Manufacturer C's product exhibited the best interoperability, scoring above 93 points with all tested equipment. These test results prompted Manufacturer D to upgrade and optimize its product firmware.
[0101] Example 4 is an embodiment of the present invention, illustrating the schematic scheme of the method for verifying and testing the functionality and interoperability of intelligent integrated terminals in distribution network areas. It should be noted that the technical solution of the system for verifying and testing the functionality and interoperability of intelligent integrated terminals in distribution network areas belongs to the same concept as the technical solution of the method described above. Details not described in detail in the technical solution of the system for verifying and testing the functionality and interoperability of intelligent integrated terminals in distribution network areas in this embodiment can be found in the description of the technical solution of the method described above.
[0102] This embodiment provides a system for verifying the functionality and interoperability of intelligent integrated terminals in distribution network areas, including: a test control platform, a scenario simulation module, a standard equipment library, a protocol analysis module, an automated test engine, and a data analysis module; The test control platform constructs a power distribution network test system. It initializes and configures the test environment, starts the scenario simulation module and protocol analysis module, and configures the operating parameters of the transformer substation. The scenario simulation module generates test signals based on the actual operating characteristics of the transformer area, performs digital-to-analog conversion, connects the converted signals to the fusion terminal, reads the metering results from the fusion terminal, and performs metering accuracy testing. The standard equipment library is used to simulate sending metering data to the converged terminal, test the data acquisition and concurrent processing capabilities, and send load control commands to the converged terminal through the test control platform to test the control function and verify the edge computing function. The protocol analysis module monitors the communication process between the converged terminal and each device and verifies protocol consistency. The automated testing engine verifies the converged terminal according to predetermined test cases, constructs an interoperability test matrix, and generates a compatibility report. The data analysis module summarizes all test data, establishes a multi-dimensional evaluation index system, calculates the comprehensive performance score of the fusion terminal, and generates a test report.
[0103] This embodiment also provides an electronic device applicable to the method for verifying and testing the functionality and interoperability of intelligent integrated terminals in distribution network areas, comprising: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the method for verifying and testing the functionality and interoperability of intelligent integrated terminals in distribution network areas as proposed in the above embodiment.
[0104] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements the method for verifying the function and interoperability testing of the intelligent integrated terminal for distribution network areas as proposed in the above embodiments.
[0105] The storage medium proposed in this embodiment and the method for verifying the function and interoperability testing of the intelligent integrated terminal of the distribution network area proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0106] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0107] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A method for verifying the functions and interoperability testing of intelligent integrated terminals in distribution network areas, characterized in that: include, A power distribution network testing system is constructed. The test environment is initialized and configured through the test control platform. At the same time, the scenario simulation module and protocol analysis module are started, and the operating parameters of the transformer area are configured. The scenario simulation module generates test signals based on the actual operating characteristics of the transformer substation, performs digital-to-analog conversion, connects the converted signals to the fusion terminal, reads the metering results from the fusion terminal, and performs metering accuracy testing. Metering data was simulated to be sent to the converged terminal through a standard equipment library to test data acquisition and concurrent processing capabilities. Load control commands were sent to the converged terminal through a test control platform to test control functions and verify edge computing functions. Monitor the communication process between the converged terminal and various devices to verify the consistency of protocol implementation; The automated testing engine is used to verify the converged terminal according to the predetermined test cases, build an interoperability test matrix, and generate a compatibility report; All test data are compiled, a multi-dimensional evaluation index system is established, the comprehensive performance score of the converged terminal is calculated, and a test report is generated.
2. The method for functional verification and interoperability testing of intelligent integrated terminals in distribution network areas as described in claim 1, characterized in that: The initialization configuration includes initializing the test environment through the test control platform, establishing a physical connection and communication link between the fusion terminal under test and the test system, sending device identification instructions, defining device identification vectors, and automatically loading the corresponding test case set according to the device identification vectors. Simultaneously, the scenario simulation module and the protocol analysis module are started. The scenario simulation module configures the operating parameters of the station area according to the test requirements, and the protocol analysis module starts listening to all communication ports.
3. The method for functional verification and interoperability testing of intelligent integrated terminals in distribution network areas as described in claim 2, characterized in that: The scenario simulation module generates test signals based on the actual operating characteristics of the transformer substation, generates a scenario template, and performs scenario simulation based on the scenario module. The system generates voltage and current signals under normal operating conditions, simulates typical daily load curves of the transformer area, and simulates power quality disturbance scenarios by superimposing disturbance components. The digital signal is converted into an analog voltage and current signal by a power amplifier and a signal generator, and then connected to the metering interface of the fusion terminal to generate a standard signal.
4. The method for functional verification and interoperability testing of intelligent integrated terminals in distribution network areas as described in claim 3, characterized in that: The metrological accuracy test includes connecting the generated standard signal to the fusion terminal, reading the metrological results from the fusion terminal, and comparing them with the theoretical values. Calculate the theoretical value of active power, calculate the measurement error based on the measured value of active power, evaluate the power metering error, conduct tests based on load point and power factor, and calculate the overall metering accuracy; The results of the metrological accuracy test will be used as the basis for determining whether the fusion terminal meets the metrological requirements.
5. The method for functional verification and interoperability testing of intelligent integrated terminals in distribution network areas as described in claim 4, characterized in that: The test data acquisition and concurrent processing capabilities include sending metering data to the converged terminal by simulating smart meters through a standard equipment library. The standard equipment library contains simulations of smart meters from different manufacturers and of different models. Each simulation process generates data packets according to the communication protocol of the corresponding device. Define a data collection integrity index, and evaluate the timeliness of data collection based on timestamp comparison using the integrity index; Under conditions where the communication channel quality is not poor, communication interference is injected through the scenario simulation module to test the data acquisition capability of the fusion terminal in a poor communication environment. Define anti-interference capability indicators. For multi-meter concurrent data acquisition scenarios, start simulations of two or more meters simultaneously to test the concurrent processing capability of the fusion terminal and calculate the concurrent processing success rate. The control function test includes: issuing load control commands to the fusion terminal through the test control platform; the load control switch simulation module in the standard equipment library receiving the control commands from the fusion terminal and feeding back the execution status; defining the control command response time; evaluating the control accuracy by comparing the command execution results with the expected results; testing the execution performance of different types of control commands, including real-time control, timed control, and conditional control; and verifying the consistency of the control protocol by checking the control function test results.
6. The method for functional verification and interoperability testing of intelligent integrated terminals in distribution network areas as described in claim 5, characterized in that: The consistency verification of the protocol implementation includes the protocol analysis module monitoring the communication process between the converged terminal and each device to verify the consistency of the protocol implementation. The formula for verifying the integrity of the protocol message structure is: In the formula, The message format verification results are used to calculate the message format accuracy rate within a specified time period. In the formula, For message format accuracy, Total number of messages; Protocol timing consistency is verified by measuring key timing parameters: In the formula, The result of the timing consistency check. These are measured time parameters. , The time frame specified in the agreement; The fault tolerance capability of the converged terminal is evaluated by injecting communication errors through fault injection techniques. In the formula, For fault recovery rate, The number of communication failures successfully recovered. The total number of injected communication faults; protocol test results. , , Input interoperability testing.
7. The method for functional verification and interoperability testing of intelligent integrated terminals in distribution network areas as described in claim 6, characterized in that: The verification of the converged terminal includes testing the collaborative working capability of the converged terminal with different devices through the multi-manufacturer equipment simulation module in the standard equipment library, and constructing an interoperability test matrix, where the elements represent the interoperability test results between the converged terminal and the standard equipment. Calculate interoperability scores, test the accuracy of protocol conversion for devices with different communication protocols, calculate protocol conversion errors, generate compatibility reports, identify device combinations with interoperability issues, and provide fault symptoms and protocol difference analysis; The multi-dimensional evaluation index system includes a data analysis module that summarizes all test data, calculates the comprehensive performance score of the fusion terminal, and establishes the multi-dimensional evaluation index system: In the formula, The overall performance score is calculated, where each sub-item is scored as follows: Measurement Performance Score. Based on accuracy A Data acquisition performance score Based on integrity and latency : In the formula, Maximum allowable acquisition delay; control performance score Based on accuracy and reliability for Edge computing score Based on prediction accuracy MAPE and detection accuracy for Communication protocol score Based on format correctness and fault recovery rate for , Interoperability score; The weighting coefficients are determined based on the application scenarios of the converged terminals, and the converged terminals are graded according to the comprehensive scores: For converged terminals rated C or unqualified, a problem list and improvement suggestions are automatically generated, with the severity of the problem quantified by the degree of deviation: In the formula, Severity represents the severity of the problem. For the expected score, This is the actual score.
8. A system for verifying and testing the functionality and interoperability of intelligent integrated terminals in distribution network areas, using the method for verifying and testing the functionality and interoperability of intelligent integrated terminals in distribution network areas as described in any one of claims 1 to 7, characterized in that... include: Test control platform, scenario simulation module, standard equipment library, protocol analysis module, automated test engine, data analysis module; The test control platform constructs a power distribution network test system. It initializes and configures the test environment, starts the scenario simulation module and protocol analysis module, and configures the operating parameters of the transformer substation. The scenario simulation module generates test signals based on the actual operating characteristics of the transformer area, performs digital-to-analog conversion, connects the converted signals to the fusion terminal, reads the metering results from the fusion terminal, and performs metering accuracy testing. The standard equipment library is used to simulate sending metering data to the converged terminal, test the data acquisition and concurrent processing capabilities, and send load control commands to the converged terminal through the test control platform to test the control function and verify the edge computing function. The protocol analysis module monitors the communication process between the converged terminal and each device and verifies protocol consistency. The automated testing engine verifies the converged terminal according to predetermined test cases, constructs an interoperability test matrix, and generates a compatibility report. The data analysis module summarizes all test data, establishes a multi-dimensional evaluation index system, calculates the comprehensive performance score of the fusion terminal, and generates a test report.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method for verifying the function and interoperability testing of the intelligent integrated terminal of the distribution network area as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for verifying the function and interoperability testing of the intelligent integrated terminal of the distribution network area as described in any one of claims 1 to 7.