Method and device for simulating test of high-level application function of fusion terminal and storage medium

By building simulation models of primary components and establishing relationships between secondary components, simulation data is generated to simulate advanced application environments of fusion terminals. This solves the problem of insufficient advanced application testing environments and enables efficient simulation testing and problem discovery.

CN115904931BActive Publication Date: 2026-07-03STATE GRID JIANGSU ELECTRIC POWER CO LTD RESEARCH INSTITUTE +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
STATE GRID JIANGSU ELECTRIC POWER CO LTD RESEARCH INSTITUTE
Filing Date
2022-09-09
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In existing technologies, advanced applications of converged terminals lack an integrated closed-loop simulation testing environment, which cannot fully simulate actual operating scenarios, making it difficult to detect hidden problems.

Method used

By building a primary component simulation model, generating primary simulation data, converting it into secondary simulation data, building a converged terminal network topology, inputting advanced application test cases, transmitting data using communication protocols, determining whether the test data is qualified, and generating a test report.

Benefits of technology

It enables comprehensive testing of advanced applications in a virtual environment, uncovers hidden problems, improves processing power and data transmission efficiency, and ensures the stable operation of advanced applications in real-world environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115904931B_ABST
    Figure CN115904931B_ABST
Patent Text Reader

Abstract

This invention relates to the field of power distribution network technology, and in particular to a simulation test method, device, and storage medium for advanced application functions of a converged terminal. The test method includes the following steps: building a simulation model with primary components, generating primary simulation data, converting the primary simulation data into secondary simulation data based on the relationship between primary and secondary components, building the network topology of the converged terminal and secondary components, and identifying the set of secondary simulation data required by the advanced application mounted in the converged terminal; configuring the advanced application simulation function in the converged terminal; inputting advanced application test cases into the converged terminal; using the secondary simulation data set as an input source and transmitting it to the advanced application through a communication protocol; generating test data after the advanced application runs, determining whether the test data is qualified, outputting the determination result, and completing the test task. This invention can simulate the situations encountered by advanced applications in actual operation and effectively verify the advanced applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power distribution network technology, and in particular to a simulation test method, device and storage medium for advanced application functions of integrated terminals. Background Technology

[0002] In power systems, especially in distribution networks, power supply companies have installed numerous operational monitoring and metering instruments and equipment in low-voltage distribution substations (hereinafter referred to as distribution substations) to monitor the operational status of electrical equipment and collect electrical energy data. Through successive technological upgrades and functional refinements, the operational monitoring and metering equipment currently installed and used in distribution substations is of many different types, operating independently and making it difficult to share data. Furthermore, closer analysis reveals that a significant proportion of their functions are identical, and the necessary hardware components for these functions are also redundant. This has resulted in an increasingly heavy workload for power supply companies in the installation, data processing, equipment management, and maintenance of distribution substation operational monitoring and metering equipment.

[0003] As a secondary device integrating multiple functions, the intelligent fusion terminal helps to integrate and display various operational monitoring data. Currently, there is a lack of an integrated closed-loop simulation testing environment for advanced applications of fusion terminals. The functions and communication protocols of advanced applications can only be tested by building a physical simulation environment. The difference between advanced and basic applications is that basic applications are only responsible for basic data acquisition and protocol conversion, while advanced applications need to perform logical operations after collecting basic data information and make application analyses based on accurate data judgments. However, due to limitations in the operating environment and physical equipment, the construction of a physical simulation environment can only be limited to simple testing and cannot fully simulate various scenarios under actual operation. During the testing process, due to the input source and operating data, it is impossible to accurately input the zero-critical values ​​required by advanced applications, which is not conducive to discovering hidden problems in advanced applications. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a method, device and storage medium for simulating and testing advanced application functions of integrated terminals, which can effectively test advanced applications by realistically simulating the usage environment of advanced applications and help to discover hidden problems in advanced applications.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows: a simulation testing method for advanced application functions of a converged terminal includes the following steps:

[0006] A simulation model with primary components is built, primary simulation data is generated, and the primary simulation data is converted into secondary simulation data based on the relationship between primary and secondary components. A network topology of the fusion terminal and secondary components is built, and the set of secondary simulation data to be collected by the advanced applications mounted in the fusion terminal is identified.

[0007] Configure advanced application simulation functionality within the fusion terminal;

[0008] Input advanced application test cases into the converged terminal;

[0009] The secondary simulation dataset is used as the input source and transmitted to the advanced application through a communication protocol. After the advanced application runs, it generates test data, determines whether the test data is qualified, outputs the determination result, writes a test report, and completes the test task.

[0010] Furthermore, the generation of the simulation data specifically includes the following steps:

[0011] Identify the primary components in the power distribution network, build a simulation model with primary components according to component type, draw the primary component primitives, and define the primitive type and name;

[0012] The simulation model is configured with a first output channel to support the output of corresponding data;

[0013] A primary topology with adjustable load and dynamic change is built using primary components. Based on the connection relationship of the primary components, primary simulation data is output through the first output channel to provide feedback on the operating status of the primary components.

[0014] Furthermore, the generation of the secondary simulation dataset specifically includes the following steps:

[0015] Identify the secondary components in the power distribution network, draw the secondary component diagrams, and define the diagram types and names;

[0016] By using a topology analysis, a component list is obtained, and secondary primitives are associated with primary primitives.

[0017] By establishing the relationship between primary and secondary components and configuring the second output channel based on the ratio of changes in the primary and secondary components, secondary simulation data can be output.

[0018] The system determines the primary simulation data required for the advanced applications mounted in the fusion terminal, and outputs the secondary simulation data required for the secondary simulation data through the second output channel.

[0019] Furthermore, the specific steps for configuring advanced application simulation functions within the converged terminal include the following:

[0020] Obtain the converged terminal and determine the advanced applications that need to be installed on the converged terminal;

[0021] Determine the advanced application installation environment, define the advanced application upload method, and install the advanced application into the converged terminal through pre-installation;

[0022] Define the communication protocols commonly used by advanced applications;

[0023] Import the advanced application model file and configuration file, and parse the advanced application model file and configuration file;

[0024] Configure the secondary components required by the advanced application according to the test requirements, and build a simulation data transmission method between the advanced application and the secondary components according to the communication protocol.

[0025] Furthermore, the specific steps for inputting advanced application test cases into the converged terminal include the following:

[0026] Determine the application functions and output results of advanced applications, and clarify the relationship between basic data and application functions in advanced applications;

[0027] Summarize the functional test items for advanced applications and define the test item content;

[0028] Define each test case.

[0029] Furthermore, the communication protocol uses MQTT communication to subscribe to the output data body of each advanced application and automatically retrieves the output data from the message bus.

[0030] Furthermore, the specific procedures for determining whether test data is qualified include:

[0031] The system compares the test values ​​preset in the test cases with the output data of the advanced application. By setting a threshold range, the system determines that the secondary simulation data is qualified when it falls within the threshold range, and unqualified when it exceeds the threshold range.

[0032] Furthermore, the simulation data is a set of power data that simulates the dynamic changes of current under a stable voltage.

[0033] This application also discloses a simulation and testing device for advanced application functions of a converged terminal, comprising:

[0034] The simulation data generation module is used to build a simulation model with primary components, generate primary simulation data, convert the primary simulation data into secondary simulation data based on the relationship between primary and secondary components, build the network topology of the fusion terminal and secondary components, and confirm the set of secondary simulation data to be collected by the advanced applications mounted in the fusion terminal.

[0035] The configuration module is used to configure the advanced application simulation function within the fusion terminal.

[0036] The input module is used to input advanced application test cases into the converged terminal;

[0037] The processing module is used to take the secondary simulation dataset as the input source, transmit it to the advanced application through the communication protocol, generate test data after the advanced application runs, determine whether the test data is qualified, output the judgment result, write the test report, and complete the test task.

[0038] This application also discloses a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the simulation test method for advanced application functions of converged terminals as described in any of the preceding claims.

[0039] The beneficial effects of this invention are as follows: By using a converged terminal simulation platform, this invention, on the one hand, shields the general hardware platform of the converged terminal and uses a virtualized software platform as a carrier, which facilitates the deployment of advanced applications. On the other hand, the test platform needs to provide power distribution system-level simulation, which can simulate the actual operating environment and various communication interfaces required by advanced applications. This ensures that advanced applications of the converged terminal do not need to be additionally compiled during the entire testing process, which facilitates data transmission, improves processing capabilities, facilitates the operation of advanced applications, and allows for the timely detection of problems in advanced applications. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is the data simulation process in the embodiments of the present invention;

[0042] Figure 2 This is a schematic diagram illustrating the configuration for setting up advanced application simulation functionality in an embodiment of the present invention;

[0043] Figure 3 This is the architecture of the advanced function simulation test platform for the fusion terminal in this embodiment of the invention. Detailed Implementation

[0044] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0045] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly attached to the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or there may be an intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only possible implementation.

[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0047] like Figure 1-3 The simulation model with primary components is constructed, primary simulation data is generated, and the primary simulation data is converted into secondary simulation data based on the relationship between primary and secondary components. The network topology of the fusion terminal and secondary components is constructed, and the set of secondary simulation data to be collected by the advanced applications mounted in the fusion terminal is confirmed.

[0048] Configure advanced application simulation functionality within the converged terminal;

[0049] Input advanced application test cases into the converged terminal;

[0050] The secondary simulation dataset is used as the input source and transmitted to the advanced application through a communication protocol. After the advanced application runs, it generates test data, determines whether the test data is qualified, outputs the determination result, writes a test report, and completes the test task.

[0051] This embodiment is based on the understanding that the converged terminal itself is a secondary device, and it also needs to collect a large amount of data from other secondary controllers. Therefore, a secondary communication topology network needs to be built. Since the data from other secondary controllers is affected by the data from primary components, a simulation system needs to be built using primary components. By simulating a real-world usage environment, primary simulation data is generated. Then, through a primary-secondary component data conversion model, the primary simulation data is converted into secondary simulation data. This secondary simulation data serves as the data source required by the advanced applications integrated within the converged terminal, meeting the testing requirements of these advanced applications. Subsequently, by configuring advanced application simulation functionality within the converged terminal, the advanced applications are installed and run within the virtual converged terminal. Advanced application test cases are then input into the converged terminal, and the advanced application runtime analysis data is transmitted to the simulation test cases. The data source data from the simulation test cases is compared and verified with the advanced application runtime analysis data to validate the test results of the advanced applications. This implementation of advanced application simulation testing helps identify problems with the advanced applications, ensuring long-term stable operation in real-world environments and the accuracy of the generated data.

[0052] As a further disclosure of the above embodiments, such as Figure 1 As shown, the specific steps involved in generating simulation data are as follows:

[0053] Analyze the primary wiring methods in each distribution area of ​​the distribution network, sort out the primary components carried in the main wiring of the distribution network, build a simulation model with primary components according to the component type, draw the primary component elements, and define the element type and name, such as line switch elements, transformer elements, load switch elements, phase switching elements, charging pile elements, reactive power compensation elements, photovoltaic elements, inverter elements, etc.

[0054] Configure the first output channel in the simulation model and support the output of corresponding data, such as telemetry data: current, voltage, active power, reactive power, and remote signaling data: switch position status, etc.

[0055] A primary topology with adjustable load and dynamic change is built using primary components. Based on the connection relationship of the primary components, primary simulation data is output through the first output channel to provide feedback on the operating status of the primary components. This primary simulation data can simulate telemetry data such as power that dynamically changes with current under stable voltage.

[0056] The generation of the secondary simulation dataset includes the following steps:

[0057] Identify and classify the secondary components in the power distribution network, draw the secondary component diagrams, and define the type and name of the diagrams, such as: photovoltaic controller, charging pile controller, smart meter, phase switching controller, energy storage controller, smart circuit breaker, reactive power compensation controller, on-load tap changer, etc.

[0058] By using a topology analysis, a component list is obtained, and secondary primitives are associated with primary primitives.

[0059] By establishing the relationship between primary and secondary components and configuring the second output channel based on the ratio of changes in primary and secondary component data, such as configuring the transformation ratio of primary data current and voltage data, the output of secondary simulation data can be supported.

[0060] The system determines the primary simulation data required for advanced applications within the fusion terminal, and outputs the secondary simulation data required through the second output channel.

[0061] Similarly, such as Figure 2 The diagram illustrates the specific steps for configuring advanced application simulation capabilities within a converged terminal, including the following:

[0062] Obtain the converged terminal and determine the advanced applications that need to be installed on the converged terminal. Multiple advanced applications with different usage needs can be installed on the converged terminal. Therefore, it is necessary to confirm the name of the advanced application that needs to be installed on each converged terminal according to the usage needs.

[0063] Determine the advanced application installation environment, define the advanced application upload method, and install the advanced applications into the converged terminal through pre-installation;

[0064] Define the communication protocols commonly used by advanced applications, and perform protocol conversion preprocessing in simulation testing. Define the communication protocols that need to be associated when advanced applications are installed.

[0065] Import advanced application model files and configuration files, parse the advanced application model files and configuration files, and modify their configurations. The input parameter field names of the advanced application must be consistent with the parameter field names of the simulation output. At the same time, import the configuration file with modified parameters into the advanced application.

[0066] Configure the secondary components required by the advanced application according to the test requirements, and build a simulation data transmission method between the advanced application and the secondary components according to the communication protocol.

[0067] The purpose of this configuration is mainly to integrate advanced applications into the converged terminal. Since advanced applications are similar to apps, and the converged terminal is the system on which they run, in order for the advanced applications to run, they need to be installed in the converged terminal. At the same time, a communication protocol needs to be established between the advanced applications and the secondary components so that the secondary simulation data can be input into the advanced applications.

[0068] like Figure 3 As shown in the above embodiment, the specific steps for inputting advanced application test cases into the converged terminal include the following:

[0069] Determine the application functions and output results of advanced applications, and clarify the relationship between basic data and application functions in advanced applications;

[0070] Summarize the functional test items for advanced applications, define the test item content, including appearance and structure inspection tests, security tests, functional tests, and performance tests, and formulate detailed test points for different advanced applications;

[0071] Define each test case. For example, the measurement class defines its test object, setpoint, actual value, error range, error rate, etc. The signal class defines its test object, setpoint, output information, accuracy, etc. The control class defines its test object, output information, accuracy, etc.

[0072] like Figure 3 As shown, after configuring the advanced application, it is necessary to test the advanced application and verify the test results, specifically as follows:

[0073] Simulation data is used as the input source and transmitted to the advanced application via a communication protocol. Based on the functions of the advanced application, the result data is placed as the output data in the simulation test message bus of the fusion terminal.

[0074] The simulation test uses MQTT communication to subscribe to the output data topic of each advanced application and automatically retrieves the output data from the message bus;

[0075] By comparing the test values ​​preset in the test cases with the output data of the advanced application, and by setting a threshold range, the system determines that the secondary simulation data is qualified when it falls within the threshold range, and unqualified when it exceeds the threshold range. The system also determines the input and output results of the zero point through visualization, which is more effective in verifying the advanced application functions based on the data.

[0076] Write the output data of the advanced application and the results of the judgment into the test report to complete the test task.

[0077] Those skilled in the art should know that the embodiments of this application can be provided as methods, devices, storage media or electronic device products. Therefore, the embodiments of this application can be completely hardware embodiments, hardware and software combined embodiments or pure software embodiments. The following describes the simulation test device for advanced application functions of integrated terminals in the embodiments of this application. The device embodiments in the following text correspond to the method embodiments in the above text. Those skilled in the art can understand the implementation process in the following text based on the above description. It will not be described in detail here.

[0078] A simulation and testing device for advanced application functions of a converged terminal, comprising:

[0079] The simulation data generation module is used to build a simulation model with primary components, generate primary simulation data, convert the primary simulation data into secondary simulation data based on the relationship between primary and secondary components, build the network topology of the fusion terminal and secondary components, and confirm the set of secondary simulation data to be collected by the advanced applications mounted in the fusion terminal.

[0080] The configuration module is used to configure advanced application simulation functions within the integrated terminal.

[0081] The input module is used to input advanced application test cases into the converged terminal.

[0082] The processing module is used to take the secondary simulation dataset as the input source, transmit it to the advanced application through the communication protocol, generate test data after the advanced application runs, determine whether the test data is qualified, output the judgment result, write the test report, and complete the test task.

[0083] In another aspect of the present invention, a computer-readable storage medium is also provided, which stores computer instructions that, when executed by a processor, implement the simulation test method for advanced application functions of a converged terminal as described in any of the foregoing embodiments.

[0084] This application may also take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of this application can be implemented using various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0085] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0086] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0087] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0088] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0089] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A simulation testing method for advanced application functions of a converged terminal, characterized in that, Includes the following steps: A simulation model with primary components is built, primary simulation data is generated, and the primary simulation data is converted into secondary simulation data based on the relationship between primary and secondary components. A network topology of the fusion terminal and secondary components is built, and the set of secondary simulation data to be collected by the advanced applications mounted in the fusion terminal is identified. Configure advanced application simulation functionality within the fusion terminal; Input advanced application test cases into the converged terminal; The secondary simulation dataset is used as the input source and transmitted to the advanced application through a communication protocol. After the advanced application runs, it generates test data, determines whether the test data is qualified, outputs the determination result, writes a test report, and completes the test task. The generation of simulation data specifically includes the following steps: Identify the primary components in the power distribution network, build a simulation model with primary components according to component type, draw the primary component primitives, and define the primitive type and name; The simulation model is configured with a first output channel to support the output of corresponding data; A primary topology with adjustable load and dynamic change is built using primary components. Based on the connection relationship of the primary components, primary simulation data is output through the first output channel to provide feedback on the operating status of the primary components. The generation of the secondary simulation dataset specifically includes the following steps: Identify the secondary components in the power distribution network, draw the secondary component diagrams, and define the diagram types and names; By using a topology analysis, a component list is obtained, and secondary primitives are associated with primary primitives. By establishing the relationship between primary and secondary components and configuring the second output channel based on the ratio of changes in the primary and secondary components, secondary simulation data can be output. The system determines the primary simulation data required for the advanced applications mounted in the fusion terminal, and outputs the secondary simulation data required for the secondary simulation data through the second output channel. The specific steps for inputting advanced application test cases into the converged terminal include the following: Determine the application functions and output results of advanced applications, and clarify the relationship between basic data and application functions in advanced applications; Summarize the functional test items for advanced applications and define the test item content; Define each test case; The specific steps for configuring advanced application simulation functionality within the converged terminal include the following: Obtain the converged terminal and determine the advanced applications that need to be installed on the converged terminal; Determine the advanced application installation environment, define the advanced application upload method, and install the advanced application into the converged terminal through pre-installation; Define the communication protocols commonly used by advanced applications; Import the advanced application model file and configuration file, and parse the advanced application model file and configuration file; Configure the secondary components required by the advanced application according to the test requirements, and build a simulation data transmission method between the advanced application and the secondary components according to the communication protocol.

2. The simulation test method for advanced application functions of converged terminals according to claim 1, characterized in that, The communication protocol uses MQTT communication to subscribe to the output data body of each advanced application and automatically retrieves the output data from the message bus.

3. The simulation test method for advanced application functions of converged terminals according to claim 1, characterized in that, The specific procedures for determining whether test data is qualified include: The system compares the test values ​​preset in the test cases with the output data of the advanced application. By setting a threshold range, the system determines that the secondary simulation data is qualified when it falls within the threshold range, and unqualified when it exceeds the threshold range.

4. The simulation test method for advanced application functions of converged terminals according to claim 1, characterized in that, The simulation data is a set of power data that simulates the dynamic changes of current under a stable voltage.

5. A simulation and testing device for advanced application functions of a fusion terminal, characterized in that, The simulation test method for advanced application functions of converged terminals as described in claim 1 includes: The simulation data generation module is used to build a simulation model with primary components, generate primary simulation data, convert the primary simulation data into secondary simulation data based on the relationship between primary and secondary components, build the network topology of the fusion terminal and secondary components, and confirm the set of secondary simulation data to be collected by the advanced applications mounted in the fusion terminal. The configuration module is used to configure the advanced application simulation function within the fusion terminal. The input module is used to input advanced application test cases into the converged terminal; The processing module is used to take the secondary simulation dataset as the input source, transmit it to the advanced application through the communication protocol, generate test data after the advanced application runs, determine whether the test data is qualified, output the judgment result, write the test report, and complete the test task.

6. A computer-readable storage medium, characterized in that, The computer-readable storage contains computer instructions, which, when executed by a processor, implement the simulation test method for advanced application functions of a converged terminal as described in any one of claims 1-4.