Heterogeneous distributed debugging system

Through the heterogeneous distributed debugging system, the problems of low access efficiency and poor installation and debugging quality of distribution IoT terminal equipment in the digital distribution network are solved, efficient debugging of different types of equipment is achieved, and the expansion capability and compatibility of the system are improved.

CN119757902AActive Publication Date: 2025-04-04SHENZHEN POWER SUPPLY BUREAU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411806809.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-04
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

In the construction of digital distribution networks, the access efficiency of distribution IoT terminal equipment is low and the installation and debugging quality is poor, making it difficult to achieve intelligent equipment management.

Method used

A heterogeneous distributed debugging system is proposed, including a main control screen, a power distribution terminal debugging screen and an intelligent gateway debugging screen. Through the communication bus connection, heterogeneous distributed debugging of different types of power distribution IoT terminal devices is realized.

Benefits of technology

It improves the expansion capability and compatibility of debugging systems, and enhances the debugging efficiency of IoT terminals of different types and performance indicators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119757902A_ABST
    Figure CN119757902A_ABST
Patent Text Reader

Abstract

The invention provides a heterogeneous distributed debugging system which comprises a main control screen, at least one power distribution terminal debugging screen and at least one intelligent gateway debugging screen. The main control screen is used for acquiring a test instance; when it is detected that the test operation is started, running the test software to start a test thread for each to-be-tested debugging screen in the test instance; the power distribution terminal debugging screen is used for executing a test case for the power distribution terminal according to the test thread to determine a first test report; and the intelligent gateway debugging screen is used for executing a test case for the corresponding intelligent gateway according to the test thread to determine a second test report. Thus, the main control screen in the heterogeneous distributed debugging system manages the debugging screens corresponding to the different test instruments by obtaining the test examples, then parallel operation of the power distribution terminal debugging screen and the intelligent gateway debugging screen is achieved, each debugging screen works independently, the debugging efficiency is improved, and the overall debugging time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital power distribution technology, and in particular to a heterogeneous distributed debugging system. Background Art

[0002] With the advancement of digital distribution network construction, a large number of distribution IoT terminal devices and data need to be connected to the IoT platform to realize intelligent equipment management, improve equipment access efficiency and provide unified access standards.

[0003] However, in the actual construction of digital distribution networks, due to the obvious gap between the distribution network and the main network in terms of equipment level, automation level, and basic management, there are problems such as low efficiency and poor installation and commissioning quality in the access process of distribution IoT terminal equipment and the standardized installation, commissioning and acceptance process. Summary of the invention

[0004] The present application proposes a heterogeneous distributed debugging system, in order to realize heterogeneous distributed debugging for different types of power distribution IoT terminal devices, improve the scalability of the debugging system and the compatibility with IoT terminals of different types and different performance indicators, thereby improving the debugging efficiency of the debugging system.

[0005] The embodiment of the present application provides a heterogeneous distributed debugging system, which includes a main control screen, at least one power distribution terminal debugging screen and at least one intelligent gateway debugging screen, wherein the main control screen is connected to the power distribution terminal debugging screen and the intelligent gateway debugging screen via a communication bus;

[0006] A main control screen is used to obtain a test instance, the test instance is used to indicate at least one debugging screen to be tested, and at least one test instrument, terminal type and test case corresponding to each debugging screen to be tested, the terminal type is used to indicate that the test instrument is a power distribution terminal or an intelligent gateway, the debugging screen to be tested is a power distribution terminal debugging screen or an intelligent gateway debugging screen, and the test case is used to indicate a test item for the corresponding test instrument; and, when the start of the test operation is detected, the test software is run to start a test thread for each debugging screen to be tested in the test instance;

[0007] The power distribution terminal debugging screen is used to execute the test case for the corresponding power distribution terminal according to the test thread to determine the first test report, and the first test report includes the test results corresponding to the test items for each power distribution terminal;

[0008] The intelligent gateway debugging screen is used to execute the test case for the corresponding intelligent gateway according to the test thread to determine the second test report, and the second test report includes the test results corresponding to the test items of each intelligent gateway.

[0009] In a possible embodiment, the heterogeneous distributed debugging system further includes a debugging platform body component and a power distribution terminal;

[0010] The power distribution terminal debugging screen is also used to execute test cases to send debugging instructions to the debugging platform body components;

[0011] The debugging platform body component is used to output a test signal to the power distribution terminal to perform a simulation operation according to the debugging instruction, and the simulation operation is used to simulate the input signal received by the power distribution terminal in the operating environment of the power distribution master station;

[0012] The power distribution terminal debugging screen is also used to obtain power distribution terminal data of the power distribution terminal and determine the first test report according to the power distribution terminal data.

[0013] In a possible embodiment, the test station body component includes a recorder, a multi-function meter, a power source, an input interface, and an output interface. The test signal includes a first analog signal and a second analog signal. The first analog signal is used to simulate the voltage and current input to the distribution terminal by the power distribution master station under the operating environment, and the second analog signal is used for the analog digital output in the power distribution master station.

[0014] A power source, configured to receive a debugging instruction, convert the debugging instruction into a first analog signal, and output the first analog signal to a power distribution terminal;

[0015] An oscilloscope, used for performing high-frequency filtering on the first analog signal output by the functional source to determine a reference voltage waveform and a reference current waveform, and sending the reference voltage waveform and the reference current waveform to a power distribution terminal debugging screen;

[0016] An output interface is used to receive a debugging instruction, convert the debugging instruction into a second analog signal, and output the second analog signal to the power distribution terminal;

[0017] The multifunctional meter is used to collect the first analog signal to determine the reference voltage value corresponding to the voltage inputted by the power distribution master station and the reference current value corresponding to the current inputted by the power distribution master station, and to send the reference current value and the reference voltage value to the power distribution terminal debugging screen.

[0018] The input interface is used to obtain the switch control information output by the distribution terminal after performing the simulation operation, and to send the switch control information to the distribution terminal debugging screen.

[0019] In a possible embodiment, the test items corresponding to the power distribution terminal include wave recording function and parameter measurement accuracy; the power distribution terminal debugging screen is also used for:

[0020] Determine the actual voltage waveform, the actual current waveform, the actual current value and the actual voltage value according to the power distribution terminal information;

[0021] Determine a reference voltage waveform and a reference current waveform as reference waveforms, and determine a reference current value and a reference voltage value as reference values;

[0022] Comparing the actual voltage waveform and the actual current waveform according to the reference waveform to determine the test result for the waveform recording function; and,

[0023] The actual current value and the actual voltage value are compared with the reference value to determine the test result for the parameter measurement accuracy.

[0024] In a possible embodiment, the power distribution terminal is connected to the power distribution terminal debugging screen via a telecontrol communication protocol, and the test platform body component is connected to the power distribution terminal debugging screen via a platform body network.

[0025] In a possible embodiment, the heterogeneous distributed debugging system further includes a debugging platform component and a cloud platform;

[0026] The intelligent gateway debugging screen is also used to execute test cases to send debugging instructions to the debugging platform body components;

[0027] The debugging platform component is used to output a test signal to the intelligent gateway according to the debugging instruction;

[0028] The cloud platform is used to collect the smart gateway data output by the smart gateway after receiving the test signal, and upload the smart gateway data to the smart gateway debugging screen;

[0029] The intelligent gateway debugging screen is also used to determine the second test report according to the intelligent gateway data through the test software.

[0030] In a possible embodiment, the debugging platform body component includes a multi-function meter, a power source, an output interface and an intelligent sensor, and the test signal includes a third analog signal and a fourth analog signal, the third analog signal is used to simulate the voltage and current input by the intelligent gateway in the operating environment, and the fourth analog signal is used to simulate the switch signal input by the intelligent gateway in the operating environment;

[0031] A power source, used for converting the debugging instruction into a third analog signal, and outputting the third analog signal to the smart gateway and the smart sensor;

[0032] An intelligent sensor, configured to determine a first reference voltage value corresponding to the voltage and a second reference current value corresponding to the voltage according to the third analog signal, and send the first reference voltage value and the first reference current value to the intelligent gateway;

[0033] The intelligent gateway is used to send the first reference voltage value and the first reference current value to the intelligent gateway debugging screen;

[0034] An interface is opened to convert the debugging instruction into a fourth analog signal and output the fourth analog signal to the intelligent gateway;

[0035] The multifunctional meter is used for collecting the third analog signal to determine the second reference voltage value corresponding to the voltage and the second reference current value corresponding to the current, and sending the second reference voltage value and the second reference current value to the intelligent gateway debugging screen.

[0036] In a possible embodiment, the test items include parameter measurement accuracy and sensor data accuracy; the intelligent gateway debugging screen is also used to:

[0037] Determine the actual current value and the actual voltage value according to the smart gateway data;

[0038] Determine a second reference voltage value and a second reference current value as reference values;

[0039] comparing the actual current value and the actual voltage value according to the reference value to determine the test result for the parameter measurement accuracy; and,

[0040] According to a preset power source setting value, a first reference voltage value and a first reference current value are compared to determine a test result for the accuracy of the sensor data.

[0041] In a possible embodiment, the intelligent gateway is connected to the cloud platform via a message queue telemetry transmission protocol, the cloud platform is connected to the intelligent gateway debugging screen via a message queue telemetry transmission protocol, and the debugging platform component is connected to the intelligent gateway debugging screen via a platform network.

[0042] In a possible embodiment, the main control screen includes a report analysis module, a test case determination module, a test case editing module, and an instance generation module;

[0043] A report analysis module, used to perform statistical analysis operations to generate report analysis results according to the first test report and / or the second test report uploaded by the debugging screen to be tested;

[0044] A test case determination module, used to determine initial test cases based on the report analysis results;

[0045] A test case editing module, for responding to a case editing operation on the main control screen to update the initial test case to determine an updated test case;

[0046] The instance generation module is used to determine the test instance to be executed for the debugging screen to be tested according to the updated test case.

[0047] In the embodiment of the present application, the heterogeneous distributed system includes a main control screen, at least one power distribution terminal debugging screen and at least one intelligent gateway debugging screen. Among them, by deploying a server in the main control screen to run the test software, the main control screen can obtain test instances suitable for different types of power distribution IoT terminal devices, and then control the corresponding power distribution terminal debugging screen and intelligent gateway debugging screen through the test instance to execute test cases for the corresponding types of power distribution terminals, thereby obtaining test reports, reducing the investment and operation and maintenance costs of the distribution network, and enabling the heterogeneous distributed system to meet the debugging needs of different IoT terminals. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 It is a structural diagram of a heterogeneous distributed debugging system provided in an embodiment of the present application;

[0050] Figure 2 It is a structural diagram of a test instance model provided in an embodiment of the present application;

[0051] Figure 3 It is a structural schematic diagram of a closed-loop test of a power distribution terminal provided in an embodiment of the present application;

[0052] Figure 4 It is a structural diagram of an intelligent network closed loop test provided by an embodiment of the present application;

[0053] Figure 5 It is a structural schematic diagram of a main control screen provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0055] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0056] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0057] In the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent the following three situations: A exists alone; A and B exist at the same time; B exists alone. Among them, A and B can be singular or plural.

[0058] In the embodiment of the present application, the symbol " / " can indicate that the objects associated with each other are in an "or" relationship. In addition, the symbol " / " can also indicate a division sign, that is, performing a division operation. For example, A / B can indicate A divided by B.

[0059] In the embodiments of the present application, "at least one item" or similar expressions refer to any combination of these items, including any combination of single items or plural items, and refer to one or more, and multiple refers to two or more. For example, at least one item of a, b, or c can represent the following seven situations: a, b, c, a and b, a and c, b and c, a, b, and c. Among them, each of a, b, and c can be an element or a set containing one or more elements.

[0060] In the embodiments of the present application, "equal to" can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. When equal to is used in conjunction with greater than, it is not used in conjunction with less than; when equal to is used in conjunction with less than, it is not used in conjunction with greater than.

[0061] Please refer to the following Figure 1 , Figure 1 Schematic diagram of a heterogeneous distributed debugging system provided in an embodiment of the present application. Figure 1As shown, the connection relationship between each terminal device and the terminal device in the heterogeneous distributed debugging system is as follows: the heterogeneous distributed debugging system 100 includes a main control screen 110, at least one distribution terminal debugging screen 120 and at least one intelligent gateway debugging screen 130. Each distribution terminal debugging screen 120 and each intelligent gateway debugging screen 130 are connected to the main control screen 110. In addition, since in the actual digital distribution network construction work, the distribution IoT terminal equipment also includes other IoT terminals other than the distribution terminal and the intelligent gateway. In order to meet the debugging needs of other IoT terminals in the actual scene, the heterogeneous distributed debugging system 100 provided in this application also includes at least one other IoT terminal debugging screen 140. Among them, since the number, type, and performance parameters of the corresponding signal source contained in each debugging screen are different, the heterogeneous distributed debugging system 100 is configured with a server in the main control screen 110, which is used to deploy the test software of the management debugging system, and complete the management of the debugging screen through the communication bus, so as to realize the parallel operation of different types of debugging screens such as the distribution terminal debugging screen and the intelligent gateway debugging screen. Afterwards, the main control screen 110 obtains the test instance through the deployed test software to control the corresponding power distribution terminal debugging screen 120, the intelligent gateway debugging screen 130, and the other IoT terminal debugging screens 140 to independently carry out debugging work, and then obtain the test report of the corresponding test instrument to be debugged to complete the debugging work. Among them, the number of different debugging screens can be increased or decreased separately according to demand, and they are independent of each other and do not affect the system debugging function.

[0062] In order to explain the heterogeneous distributed debugging system provided by the present application in more detail, the following further introduces the following: Figure 1 Each terminal device in the heterogeneous distributed debugging system 100 is shown.

[0063] Specifically, the heterogeneous distributed debugging system includes a main control screen, at least one power distribution terminal debugging screen and at least one intelligent gateway debugging screen, and the main control screen is connected to the power distribution terminal debugging screen and the intelligent gateway debugging screen through a communication bus;

[0064] A main control screen is used to obtain a test instance, where the test instance is used to indicate at least one debug screen to be tested, and at least one test instrument, terminal type and test case corresponding to each debug screen to be tested, where the terminal type is used to indicate that the test instrument is a power distribution terminal or an intelligent gateway, and the debug screen to be tested is a power distribution terminal debug screen or an intelligent gateway debug screen, and the test case is used to indicate test items for the corresponding test instrument; and, when the start of a test operation is detected, the test software is run to start a test thread for each debug screen to be tested in the test instance.

[0065] Among them, compared with the power distribution terminal debugging screen and the intelligent gateway debugging screen, in the heterogeneous distributed debugging system, the main control screen is configured with a dedicated server to run the test software for deploying and managing the debugging system. By running the test software to realize the relevant functions of the above-mentioned main control screen, that is, obtaining the test instance, the management of the corresponding debugging screen is completed through the communication bus, and then the parallel operation of different types of debugging screens is realized. After starting the test operation of the corresponding instrument to be tested in the power distribution master station, each corresponding debugging screen will be configured with a corresponding test thread by the test software to execute the corresponding test case.

[0066] Among them, it should be noted that the heterogeneous distributed debugging system provided by the present application adopts the "1+N+M" architecture, "1" represents the control screen, "N" represents the number of debugging screens of the power distribution terminal, and "M" represents the number of debugging screens of the intelligent gateway. N and M can be values ​​of the same size or values ​​of different sizes. The specific number of debugging screens other than the main control screen needs to be associated with the type and number of test instruments to be debugged in the power distribution master station. The number of different debugging screens can be increased or decreased separately according to demand, and they are independent of each other and do not affect the system debugging function.

[0067] For example, see Figure 2 , Figure 2 Schematic diagram of a test example model provided in the embodiment of the present application. Figure 2 As shown, a test instance is used to control n debugging screens to be tested, each debugging screen to be tested corresponds to n test instruments, and the terminal types of these test instruments include intelligent gateways, power distribution terminals, and other IoT terminals. The test instance controls the corresponding n debugging screens to be tested to execute corresponding independent test cases for the corresponding n test instruments. Among them, the test instance borrows the concept of object-oriented, which is used to indicate n real debugging screens (i.e., debugging screens to be tested) built based on the test instance model. Furthermore, the test case corresponding to each debugging screen to be tested contains multiple test items, and each test item contains specific test steps and input data, and expected output. The role of the test item is to control the debugging screen to test a certain function of the corresponding test instrument to be tested, and then compare the obtained feedback output with the expected output to determine the test result corresponding to the test item, and finally obtain the test report of the corresponding test instrument based on the test case feedback (i.e., the first test report and the second test report). During the testing process of the corresponding debugging screen to be tested, each debugging screen to be tested will perform an independent closed-loop test on the test instrument according to the test thread and the corresponding test case. Specifically, if it is a distribution terminal, the test software will provide software functions of simulating the distribution master station and the corresponding closed-loop test; if it is an intelligent gateway, the test software will build a corresponding closed-loop test with the cloud platform.

[0068] The power distribution terminal debugging screen is used to execute the test case for the corresponding power distribution terminal according to the test thread to determine the first test report, which includes the test results corresponding to the test items for each power distribution terminal.

[0069] Among them, the test items for the distribution terminal indicated in the test case of the distribution terminal need to be set according to the function of the distribution terminal and the purpose of the test. The function of the distribution terminal is to collect data, monitor the status and control operations of the equipment (such as switches, knife switches, etc.) in the distribution network. For example, it can collect electrical parameters such as voltage, current, power, etc. of the distribution transformer in real time, and can control the action of the switch in certain abnormal conditions (such as overload, short circuit) to achieve functions such as fault isolation. The test purpose corresponding to the test item should focus on testing the accuracy of its data collection, the reliability and timeliness of the control command. For example, whether the voltage data collected by the tested distribution terminal is consistent with the actual voltage value, and whether it can be accurately executed when receiving the remote control switch opening and closing command and whether the action time is within the specified range.

[0070] Furthermore, based on the functions and test purposes of the above-mentioned power distribution terminal, the test items in the test case may include the following test contents: 1. Electrical performance test, i.e., voltage and current accuracy test, and functional factor test, i.e., by changing the nature of the load, testing the accuracy of the power distribution terminal in collecting parameters such as power factor; 2. Control function test, including remote control test and local control test, which respectively correspond to the test of the control of the power distribution terminal by the master station system, and the test of the manual operation control of the power distribution terminal locally; 3. Communication function test, i.e., checking whether the communication between the power distribution terminal and the intelligent gateway or master station is normal. Test data can be sent to check whether the data can be transmitted correctly and whether the communication protocol meets the requirements.

[0071] The intelligent gateway debugging screen is used to execute the test case for the corresponding intelligent gateway according to the test thread to determine the second test report, and the second test report includes the test results corresponding to the test items of each intelligent gateway.

[0072] Among them, the test items for the smart gateway indicated in the test case of the smart gateway need to be set according to the function of the smart gateway and the purpose of the test. The function of the smart gateway is to serve as a bridge connecting different networks and devices. It can perform protocol conversion and data forwarding on the data collected by the distribution terminal, and transmit the data of the distribution network to the master station system or the cloud platform. At the same time, it can also receive control instructions from the master station or the cloud and forward them to the distribution terminal. For example, it can convert the distribution terminal data from multiple communication protocols into unified Ethernet protocol data, and then send it to the upper management system. The purpose of the test is to test the accuracy of its protocol conversion, the integrity and security of data forwarding. For example, test whether the smart gateway can correctly convert the data of one protocol into the data format of another protocol, whether data loss or errors will occur when forwarding a large amount of data, and whether the data security can be guaranteed during the network communication process to prevent the data from being stolen or tampered with.

[0073] Furthermore, based on the functions and test purposes of the above-mentioned smart gateway, the test items in the test case may include the following test contents: 1. Protocol conversion test, that is, testing multiple input protocols; 2. Data forwarding test, that is, testing the data forwarding and testing the efficiency of data forwarding; 3. Security performance test, including network security test and data encryption test, the purpose is to check whether the smart gateway has security functions such as firewall and intrusion detection, and if sensitive data transmission is involved, test whether the smart gateway can encrypt the data and whether the encryption algorithm meets the security standards.

[0074] Furthermore, since the functions and performances of different types of IoT terminals vary greatly, using only one debugging screen in a traditional debugging system cannot meet the debugging requirements of all IoT terminals, or it is necessary to unify the types of all test screens before officially carrying out the debugging work, but this will reduce the debugging efficiency for the power distribution master station, increase the debugging cost, and reduce the scalability of the debugging system. In the architecture constructed by the heterogeneous distributed debugging system provided by the present application, the composition of each debugging screen can be different, and the output performance indicators of the programmable power source of the key equipment can also be different, and the terminal type of the corresponding test instrument can be different, thereby realizing the parallel operation of different debugging screens and meeting the testing requirements of multiple IoT terminals of different types.

[0075] See also Figure 3 , Figure 3 This is a schematic diagram of a closed-loop test of a power distribution terminal provided in an embodiment of the present application. Figure 3 The following describes the closed-loop test process for the power distribution terminal 320 performed by the power distribution terminal debugging panel 120:

[0076] In a possible embodiment, the heterogeneous distributed debugging system 100 also includes a debugging platform body component 310 and a distribution terminal 320; the distribution terminal debugging screen 120 is also used to execute test cases to send debugging instructions to the debugging platform body component 310; the debugging platform body component 310 is used to output test signals to the distribution terminal 320 according to the debugging instructions to perform simulation operations, and the simulation operations are used to simulate the input signals received by the distribution terminal 320 in the operating environment of the distribution master station; the distribution terminal debugging screen 120 is also used to obtain distribution terminal data of the distribution terminal, and determine the first test report based on the distribution terminal data.

[0077] Among them, the debugging platform body component is the terminal device that the distribution terminal debugging screen needs to connect to test the corresponding test instrument (i.e., the distribution terminal). The distribution terminal debugging screen runs test software, which has the function of simulating the distribution master station when debugging the distribution terminal. The specific test steps are: the distribution terminal debugging screen executes the test case to send a debugging instruction to the debugging platform body component, and the debugging platform body component will output a test signal to the distribution terminal according to the debugging instruction to perform a simulation operation, that is, to realize the above-mentioned function of simulating the distribution master station. During the process of the distribution terminal performing the simulation operation, the distribution terminal debugging screen will obtain the distribution terminal data to determine the first test report.

[0078] Furthermore, in this embodiment, by adding a test platform body component, the test platform body component can output a test signal to the distribution terminal according to the debugging instruction, simulating its input signal in the operating environment of the distribution master station, so that the distribution terminal can be tested under similar real working conditions, thereby improving the reliability of actual applications. In addition, the distribution terminal debugging screen can automatically execute test cases and send debugging instructions, saving time and labor costs and improving testing efficiency. In addition, by automatically acquiring distribution terminal data and generating a first test report, human errors are reduced, which facilitates timely evaluation of distribution terminal performance and functions, and accelerates research and development or debugging progress. The test software on the distribution terminal debugging screen can be expanded and upgraded as needs change, thereby improving system testing capabilities and applicability.

[0079] It can be seen that in this example, by adding a debugging platform component to the heterogeneous distributed debugging system, the distribution terminal debugging screen can realize independent closed-loop testing for the distribution terminal, and the closed-loop test can simulate the real environment, provide an efficient testing process, improve the efficiency of the debugging system in testing the distribution terminal, and improve the flexibility and comprehensiveness of the test through software testing.

[0080] In a possible embodiment, the test platform body component 310 includes a recorder 311, a multi-function meter 312, a power source 313, an input interface 314, and an output interface 315. The test signal includes a first analog signal and a second analog signal. The first analog signal is used to simulate the voltage and current input from the power distribution master station to the power distribution terminal under the operating environment, and the second analog signal is used for the analog digital output in the power distribution master station; the power source 313 is used to receive the debugging instruction, and convert the debugging instruction into the first analog signal, and output the first analog signal to the power distribution terminal; the recorder 311 is used to The first analog signal output by the functional source is subjected to high-frequency filtering to determine the reference voltage waveform and the reference current waveform, and the reference voltage waveform and the reference current waveform are sent to the debugging screen of the distribution terminal; the output interface 315 is used to receive the debugging instruction, convert the debugging instruction into the second analog signal, and output the second analog signal to the distribution terminal; the multi-function meter 312 is used to collect the first analog signal to determine the reference voltage value corresponding to the voltage input by the distribution master station and the reference current value corresponding to the current input by the distribution master station, and send the reference current value and the reference voltage value to the debugging screen of the distribution terminal. The input interface 314 is used to obtain the switch control information output by the distribution terminal after performing the analog operation, and send the switch control information to the debugging screen of the distribution terminal.

[0081] When debugging starts, the power distribution terminal debugging screen runs the test software to send debugging instructions to the debugging platform components, and the debugging platform components will output test signals (i.e. Figure 3 The current, voltage (first analog signal), switch position and other signals (second analog signal) shown are then injected into the distribution terminal, and the test thread of the test software running in the distribution terminal debugging screen will collect real-time data from the distribution terminal. At the same time, the multi-function meter will collect the current and voltage data (i.e., the first analog signal) output by the power source in real time to determine the reference voltage value and the reference current value, and upload these data to the test software of the distribution terminal debugging screen. The recorder will perform high-frequency recording of the first analog signal output by the power source. After executing the corresponding data processing process, the recorder, the multi-function meter, and the input interface will feed back the collected data to the distribution terminal debugging screen. The test software running on the distribution terminal debugging screen will evaluate the distribution terminal based on the feedback data to generate a first test report.

[0082] It can be seen that in this example, through the data processing process of each sub-component in the test platform body component, it is possible to fully simulate the input signal of the distribution master station to the distribution terminal, and then accurately output a variety of test signals, realize signal processing, collection and switch control information acquisition and transmission, and improve the efficiency and accuracy of the test software's subsequent test execution on the distribution terminal.

[0083] In one possible embodiment, the test items corresponding to the distribution terminal 320 include a recording function and parameter measurement accuracy; the distribution terminal debugging screen 120 is also used to: determine the actual voltage waveform, the actual current waveform, the actual current value and the actual voltage value according to the distribution terminal information; determine the reference voltage waveform and the reference current waveform as the reference waveform, and determine the reference current value and the reference voltage value as the reference value; based on the reference waveform, compare the actual voltage waveform and the actual current waveform to determine the test results for the recording function; and, based on the reference value, compare the actual current value and the actual voltage value to determine the test results for the parameter measurement accuracy.

[0084] Among them, through the data processing process and data transmission process of the sub-components in the above-mentioned test console body components, the test software will subsequently use the values ​​collected by the multi-function meter as a benchmark (that is, determine the reference current value and the reference voltage value as the benchmark value), and compare the real-time values ​​collected from the distribution terminal (that is, the actual current value and the actual voltage value) with the benchmark value to obtain the test results for the parameter measurement accuracy; using the waveform of the recorder as a benchmark (that is, determine the reference voltage waveform and the reference current waveform as the benchmark waveform), compare the waveform summoned from the distribution terminal (that is, the actual voltage waveform and the actual current waveform) with the benchmark waveform to obtain the test results for the recording function.

[0085] Among them, the test thread of the test software run by the distribution terminal debugging screen is tested item by item according to the test case, each test is automatically performed, and all test items are automatically completed by the test software running on the distribution terminal debugging screen. Finally, data analysis operations are performed based on the real-time distribution terminal information of the distribution terminal collected in the test to determine the test results, and finally the test results of each test item are summarized into the first test report. After that, the operation and maintenance personnel can use the content of the first test report to know the quality of the distribution terminal and whether the operation of the corresponding distribution master station is stable. In addition, the first test report can also provide direction for the optimization and maintenance of the distribution terminal. If the test results of the recording function are not ideal, the developer can optimize the recording algorithm or hardware acquisition module in a targeted manner. For the problem of parameter measurement accuracy, the sensor accuracy, signal processing circuit and other parts can be checked. In addition, during the long-term operation of the distribution terminal, regular test conclusions can help the operation and maintenance personnel to promptly discover equipment with degraded performance and perform maintenance or replacement in advance. And, when building a complex power automation system, the distribution terminal needs to be integrated with other equipment (such as monitoring systems, protection devices, etc.). The waveform recording function and parameter measurement accuracy results in the test conclusion can verify the compatibility of the distribution terminal with other equipment. For example, only when the parameter measurement accuracy of the distribution terminal meets the system requirements, the data interaction between it and the monitoring system can ensure the normal operation of the system and avoid system failures caused by data mismatch.

[0086] It can be seen that in this example, through the test of the distribution terminal by the debugging platform body component, the distribution terminal debugging screen can accurately determine the test of the corresponding test items for the distribution terminal, and perform functional evaluation of the corresponding test items, thereby improving the practicality of the debugging system and improving the stability and comprehensiveness of the terminal test.

[0087] In a possible embodiment, the power distribution terminal 320 is connected to the power distribution terminal debugging screen 120 via a telecontrol communication protocol, and the test platform component 310 is connected to the power distribution terminal debugging screen 120 via a platform network.

[0088] Among them, the distribution terminal and the distribution terminal debugging screen are connected through the telecontrol communication protocol, that is, the distribution terminal debugging screen obtains the distribution terminal data through the Far East communication protocol. Among them, the Far East communication protocol can be specifically the IEC60870-5-104 protocol, which is used for data transmission in power system automation. It stipulates the rules and formats of data communication between the remote control station and the controlled station in the power system. A variety of data verification methods are used in this protocol to ensure the accuracy of the data. In addition, in order to cope with network failures and other situations, the protocol also stipulates the mechanism of link maintenance and reconnection. When the communication link is interrupted, the devices of both parties can try to re-establish the connection and continue data transmission after the connection is restored. This helps to improve the reliability of the entire power communication system and ensure that the dispatching center can continuously obtain the operating information of the substation equipment. The telecontrol communication protocol (such as the IEC60870-5-104 protocol) provides standardized rules for data transmission between the distribution terminal 320 and the distribution terminal debugging screen 120. This enables accurate transmission of telemetry (such as electrical parameters such as voltage and current), telesignaling (such as switch status), and remote control (such as circuit breaker control) between them. For example, when testing the telemetry function of the distribution terminal, the distribution terminal 320 can stably send the collected high-precision voltage and current data to the distribution terminal debugging screen 120 in accordance with the format and sequence specified in the protocol to ensure the accuracy and integrity of the data.

[0089] Among them, the platform network refers to a network system built in a laboratory, test environment or R&D scenario. It is mainly used to simulate the actual network environment or as an experimental platform to test, verify and study network-related devices, protocols, applications, etc.

[0090] It can be seen that in this example, the telecontrol communication protocol provides standard rules for data transmission between the distribution terminal and the debugging panel, and can accurately and stably transmit various types of data such as telemetry, telesignaling, remote control, and remote adjustment to ensure the accuracy and integrity of the data. And with the remote control function supported by the telecontrol communication protocol, the debugging personnel can remotely operate the distribution terminal at the distribution terminal debugging panel through instructions that comply with the protocol. The debugging platform body components and the distribution terminal debugging panel are connected through the platform body network, and cooperate with the connection between the distribution terminal and the debugging panel based on the telecontrol communication protocol, which can build a complete and efficient test architecture to meet the diverse testing needs of the distribution terminal and improve the test efficiency and stability.

[0091] See also Figure 4 , Figure 4 This is a schematic diagram of a structure of an intelligent network closed loop test provided by an embodiment of the present application. Figure 4 The following describes the closed-loop test process for the smart gateway 420 performed by the smart gateway debugging screen 130:

[0092] In a possible embodiment, the heterogeneous distributed debugging system 100 also includes a debugging platform component 310 and a cloud platform 410; the intelligent gateway debugging screen 130 is also used to execute test cases to send debugging instructions to the debugging platform component 310; the debugging platform component 310 is used to output a test signal to the intelligent gateway 420 according to the debugging instruction; the cloud platform 410 is used to collect the intelligent gateway data output by the intelligent gateway 420 after receiving the test signal, and upload the intelligent gateway data to the intelligent gateway debugging screen 130; the intelligent gateway debugging screen 130 is also used to determine a second test report according to the intelligent gateway data through the test software.

[0093] Among them, the debugging platform body component is the terminal device that the intelligent gateway debugging screen needs to connect to test the corresponding test instrument (i.e., the intelligent gateway). The intelligent gateway debugging screen runs test software, which is used to send debugging instructions to the debugging platform body component according to the test case when debugging the intelligent gateway. The specific test steps are: the intelligent gateway debugging screen executes the test case to send debugging instructions to the debugging platform body component. The debugging platform body component will output a test signal to the intelligent gateway according to the debugging instruction to perform the test operation. At the same time, the cloud platform will collect the intelligent gateway data output by the intelligent gateway during the test in real time. The test software running on the intelligent gateway debugging screen retrieves the intelligent gateway data collected on the cloud platform to determine the second test report. IoT device status data refers to the data collected from the IoT device ( Figure 4The figure shows various data collected by the smart gateway to describe the operating status of the device itself. It includes basic status information of the device, such as whether the device is turned on, connection status (whether it is connected through Wi-Fi, Bluetooth or other communication methods, and whether the connection is stable). Taking the smart meter as an example, its status data includes whether the meter is measuring normally and whether the communication module is working normally. It also covers performance-related data of the device, such as sensor accuracy data (such as the deviation between the temperature measured by the temperature sensor and the actual temperature) and resource usage of the device (such as processor usage and memory occupancy). For an IoT gateway with data processing function, the status data can include information such as its CPU usage and remaining memory space, which can reflect the workload and performance bottleneck of the device. In addition, there is also fault-related data of the device, such as fault code, fault occurrence time, fault frequency, etc. When a motor-controlled IoT device fails, it can send a fault code through the status data to inform the operation and maintenance personnel whether the fault is caused by motor overload, phase loss or other problems. Among them, the intelligent gateway debugging screen can automatically execute test cases and send debugging instructions through the setting of the debugging platform body components, saving time and labor costs and improving testing efficiency. In addition, by automatically acquiring the data of the power distribution terminal and generating the first test report, human errors are reduced, the performance and function of the power distribution terminal are evaluated in a timely manner, and the progress of R&D or debugging is accelerated. The test software on the power distribution terminal debugging screen can be expanded and upgraded as the demand changes, improving the system testing capability and applicability.

[0094] It can be seen that in this example, by adding a debugging platform component to the heterogeneous distributed debugging system, the intelligent gateway debugging screen can realize independent closed-loop testing for the intelligent gateway, and the closed-loop test can test the intelligent gateway in turn with preset test items, providing an efficient testing process, improving the efficiency of the debugging system testing the power distribution terminal, and improving the flexibility and comprehensiveness of the test through software testing.

[0095] In a possible embodiment, the debugging platform body component includes a multi-function meter 312, a power source 313, an output interface 315 and an intelligent sensor 430, and the test signal includes a third analog signal and a fourth analog signal. The third analog signal is used to simulate the voltage and current input by the intelligent gateway 420 in the operating environment, and the fourth analog signal is used to simulate the switch signal input by the intelligent gateway 420 in the operating environment; the power source 313 is used to convert the debugging instruction into the third analog signal, and output the third analog signal to the intelligent gateway 420 and the intelligent sensor 430; the intelligent sensor 430 is used to determine the first reference voltage value corresponding to the voltage and the first reference current value corresponding to the current according to the third analog signal; the intelligent gateway 420 is used to send the first reference voltage value and the first reference current value to the intelligent gateway debugging screen 130; the output interface 315 is used to convert the debugging instruction into the fourth analog signal, and output the fourth analog signal to the intelligent gateway 420; the multi-function meter 312 is used to collect the third analog signal to determine the second reference voltage value corresponding to the voltage and the second reference current value corresponding to the current, and send the second reference voltage value and the second reference current value to the intelligent gateway debugging screen 130.

[0096] Among them, during debugging, the intelligent gateway debugging screen runs the test software under the test thread to issue debugging instructions to the debugging platform body component (i.e., the power source and the output interface), and the debugging platform body component (i.e., the power source and the output interface) outputs a test signal according to the debugging instruction, wherein the test signal includes a third analog signal and a fourth analog signal, the third analog signal is the voltage and current sent by the power source to simulate the input of the intelligent gateway in the operating environment, and the fourth analog signal is the switch signal sent by the output interface to simulate the input of the intelligent gateway in the operating environment. And, the switch signal is a digital signal, which has only two states, usually represented by "0" and "1", and these two states correspond to the two opposite states of "open" and "closed", "on" and "off", "yes" and "no" in the physical system. The specific type of the switch signal can be a remote signal, that is, the state signal of the remote device is collected and transmitted. These state signals such as switch position (open, close), knife switch state, equipment fault alarm signal, etc. are all typical switch states, that is, there are only two states.

[0097] Furthermore, after the test platform body component outputs the test signal, the third analog signal is injected into the smart gateway or the smart sensor, and the fourth analog signal is injected into the smart sensor, and the cloud platform forwards the collected smart gateway data to the test software. At the same time, the multi-function meter collects the current and voltage data output by the power source in real time and sends it to the test software. And after receiving the third analog signal, the smart sensor will send the current and voltage data it collected (i.e., the first reference voltage value and the first reference current value) to the smart gateway, and then the smart gateway will upload the current and voltage data together with the smart gateway data to the cloud platform, and then the cloud platform will forward it to the smart gateway debugging screen.

[0098] It can be seen that in this example, by debugging the data processing process of each sub-component in the platform body component, it is possible to fully input the input signal corresponding to the preset test item to the smart gateway, and then accurately collect the smart gateway output smart gateway data to determine the device status of the smart gateway, realize signal processing, collection and switch control information acquisition and transmission, and improve the efficiency and accuracy of the test software's subsequent test execution on the smart gateway.

[0099] In one possible embodiment, the test items include parameter measurement accuracy and sensor data accuracy; the smart gateway debugging screen is also used to: determine the actual current value and the actual voltage value based on the smart gateway data; determine the second reference voltage value and the second reference current value as the reference value; based on the reference value, compare the actual current value and the actual voltage value to determine the test result for the parameter measurement accuracy; and, based on a preset power source setting value, compare the first reference voltage value and the first reference current value to determine the test result for the sensor data accuracy.

[0100] Among them, the test software uses the value collected by the multi-function meter (i.e., the second reference current value and the second reference voltage value) as the reference value, and compares the real-time value of the intelligent gateway forwarded from the cloud platform (i.e., the reference voltage value and the reference current value determined according to the intelligent gateway data) with the reference value to obtain the test result of the parameter measurement accuracy; for the value injected into the sensor, the power source setting value is used as a reference, and the real-time value of the sensor collected by the intelligent gateway forwarded from the cloud platform (i.e., the first reference current value and the first reference voltage value collected by the intelligent sensor forwarded by the intelligent gateway) is compared to obtain the test result of the test item (the test item here is a test item specially set for the sensor. It should be noted that the test software performs tests item by item according to the test case, each test is performed automatically, all test items are also automatically tested, and the test results corresponding to each test item are obtained, which are finally summarized into the second test report corresponding to the intelligent gateway.

[0101] Among them, after the main control screen obtains the second test report sent back by the intelligent gateway debugging screen, the operation and maintenance personnel can perform the following work according to the second test report: 1. Product quality control: verify the functional integrity, quantify the performance indicators, determine whether it meets the standards and specifications, and accurately evaluate the product quality. 2. Assist in system construction: provide guidance for system integration, clarify the compatibility with various types of equipment, and ensure the stable integration and smooth operation of the Internet of Things system. 3. Fault operation and maintenance support: serve as a key basis for troubleshooting, help accurately locate problems; help operation and maintenance personnel to formulate maintenance strategies based on this and reduce the occurrence of faults.

[0102] It can be seen that in this example, through the test of the intelligent gateway by the debugging platform body component, the intelligent gateway debugging screen can accurately determine the test of the corresponding test items for the distribution terminal, and perform functional evaluation of the corresponding test items, thereby improving the practicality of the debugging system and improving the stability and comprehensiveness of the terminal test.

[0103] In a possible embodiment, the intelligent gateway is connected to the cloud platform via a message queue telemetry transmission protocol, the cloud platform is connected to the intelligent gateway debugging screen via a message queue telemetry transmission protocol, and the debugging platform component is connected to the intelligent gateway debugging screen via a platform network.

[0104] Among them, the Message Queuing Telemetry Transport (MQTT) is a lightweight, publish / subscribe-based message transmission protocol. It is designed for message transmission between IoT devices and between IoT devices and servers, and aims to achieve efficient data transmission in low-bandwidth, high-latency or unstable network environments. Compared with other transmission protocols, since the smart gateway needs to connect devices of multiple different protocols in the IoT system, the smart gateway can convert device messages of different protocols into MQTT message format for message transmission. And the publish-subscribe mode of MQTT is very suitable for the smart gateway to coordinate communication between devices. Devices can publish their own status messages on the smart gateway, and other devices can obtain these messages by subscribing to the corresponding topics. In addition, the smart gateway can use MQTT to cross different network areas to achieve communication between devices. The MQTT protocol also uses a lightweight message format, which can reduce the network bandwidth usage for the smart gateway. Especially in the IoT environment, when a large number of devices transmit data at the same time, this lightweight feature can effectively avoid network congestion.

[0105] Furthermore, the communication connection between the cloud platform and the intelligent gateway debugging screen can also select different transmission protocols according to the type of message transmitted. For example, the video applies the GB / T28181-2016 protocol (video transmission), the file applies the HTTPS protocol, and the message applies the MQTT protocol. Among them, GB / T 28181-2016 is the national standard for the information transmission, exchange, and control technical requirements of my country's public security video surveillance network system. It stipulates the networking architecture, communication protocol structure, transmission requirements, etc. between devices in the video surveillance system. This standard enables video surveillance devices from different manufacturers to be interconnected and facilitates the effective transmission and sharing of video data. The significance of this is to ensure that the cloud platform and the intelligent gateway debugging screen can receive and process video data from various video source devices that meet the standards, realize the integration of the video surveillance system, avoid compatibility issues caused by differences in equipment brands and models, and facilitate unified management of video surveillance services, including video storage, playback, real-time viewing, etc., to improve the reliability and stability of the system. Among them, HTTPS (Hypertext Transfer Protocol Secure) is a hypertext transfer security protocol. It adds an encryption layer on the basis of HTTP protocol, and uses encryption technology to ensure the confidentiality, integrity and authentication of data during transmission. For example, when transmitting some sensitive configuration files or user authorization files, HTTPS can prevent the file content from being stolen or tampered with during network transmission. The significance of this design is that security is crucial for file transmission, especially for the transmission of privacy information. The encryption mechanism of HTTPS can effectively protect the file content from being illegally obtained, ensure the security of file transmission, and the HTTPS protocol can also improve the identity authentication function, so that the cloud platform and the intelligent gateway debugging screen can confirm each other's identity, prevent security threats such as man-in-the-middle attacks, and ensure that the file transmission is carried out between trusted parties. Finally, the significance of applying the MQTT protocol to message transmission is that in the IoT environment, there are a large number of devices and frequent message transmission. The lightweight characteristics of MQTT can reduce the occupation of network bandwidth, thereby providing efficient message transmission. And considering that IoT devices may work in an environment with poor network conditions, MQTT can work normally under low bandwidth and unstable network conditions, which makes the message communication between the cloud platform and the intelligent gateway debugging screen more stable and reliable, which helps to achieve efficient operation of the IoT system.

[0106] Among them, the platform network refers to a network system built in a laboratory, test environment or R&D scenario. It is mainly used to simulate the actual network environment or as an experimental platform to test, verify and study network-related devices, protocols, applications, etc.

[0107] It can be seen that in this example, by setting the transmission protocol between terminal devices in the heterogeneous distributed debugging system, effective multi-party connection can be achieved, which is conducive to data transmission and debugging, ensures efficient and stable operation of the system, and improves the efficiency of the system in performing closed-loop testing.

[0108] In one possible embodiment, the main control screen includes a report analysis module, a test case determination module, a test case editing module and an instance generation module; the report analysis module is used to perform statistical analysis operations to generate report analysis results based on the first test report and / or the second test report uploaded by the debugging screen to be tested; the test case determination module is used to determine the initial test case based on the report analysis results; the test case editing module is used to respond to the case editing operation for the main control screen to update the initial test case to determine the updated test case; the instance generation module is used to determine the test instance to be executed for the debugging screen to be tested based on the updated test case.

[0109] Among them, see Figure 5 , Figure 5 Schematic diagram of the structure of a main control screen provided in an embodiment of the present application. Figure 5 As shown, the main control screen 110 includes four functional modules, namely, a report analysis module 501, a test case determination module 502, a test case editing module 503 and an instance generation module 504. The main control screen 110 integrates multiple key modules to work together. The report analysis module 501 is used to receive the first test report (the corresponding test instrument is the power distribution terminal) and the second test report (the corresponding test instrument is the intelligent gateway) from the test debugging screen, and then the main control screen 110 analyzes the data by using statistical analysis methods to output report analysis results. In addition, the test case determination module 502 accurately locks the initial test case based on the report analysis results; afterwards, the test case editing module 503 can also display the initial test case to the operator in a visual way, and respond to the editing instructions initiated by the operator on the main control screen in a human-computer interaction way, flexibly adjust the initial test case, and then determine the updated test case. Finally, the instance generation module finally plans the test instance that the test debugging screen to be tested will be put into practice according to the updated case, forming a stable and orderly closed-loop operation process throughout the process.

[0110] Furthermore, the main control screen 110 can realize the following functions through the data processing operations of four functional modules: 1. Accurate test planning: relying on report analysis to explore the value of past test data, so that subsequent test cases can be formulated to fit the actual operation scenarios of the test instruments, and then accurately locate the potential problems and common problems that may exist in the test instruments corresponding to the debugging screen to be tested, avoid blind testing, and improve the pertinence of the test. 2. Flexible test adjustment: The test case editing module gives manual intervention capabilities. In the face of complex and changing scenarios, special test requirements or emergencies, operators can optimize cases in real time to ensure that the test keeps pace with the times and covers all aspects, and improve the flexibility and adaptability of the test. 3. Efficient test execution: The instance generation module generates test instances to be executed with one click, directly guides the subsequent test work, reduces the time-consuming manual arrangement of test processes, and combines the advantages of previous precise planning and flexible adjustment to accelerate the test progress in all directions, improve the overall test efficiency, and help products to iterate quickly and operate the system efficiently. 4. Closed-loop control of test process: Starting from report analysis, through case determination and editing to instance generation, a complete test management closed loop is formed. The information flow and instruction flow are clear and smooth throughout the process, which is conducive to controlling the test quality, realizing the standardization and regularization of the test process, reducing human errors, and ensuring the credibility and effectiveness of the test results.

[0111] Exemplarily, the operator can set the content of the test items in the test case on the main control screen. For example, the test items for the parameter measurement error of the IoT terminal can specifically include voltage basic error, current basic error, frequency basic error, active basic error, reactive basic error, and power factor basic error. And the operator can also set the parameter configuration of the scoring mechanism corresponding to the test results of each test item, such as setting the error value between the error levels corresponding to each basic error, and so on.

[0112] It can be seen that in this example, the main control screen realizes the automation and refinement of a new round of test case generation process through the setting of multiple functional modules. It can efficiently determine and update test cases based on test report feedback, generate accurate test instances, and improve the test efficiency and effectiveness of heterogeneous distributed debugging systems in performing testing work on IoT terminals.

[0113] It can be seen that in the present application, the heterogeneous distributed debugging system provided by the present application sets up a server on the main control screen, and then allows the server to obtain test instances to manage the debugging screens corresponding to different test instruments, thereby realizing the parallel operation of the distribution terminal debugging screen and the intelligent gateway debugging screen, and allowing each debugging screen to work relatively independently, thereby improving debugging efficiency and reducing overall debugging time.

[0114] Furthermore, the present application also provides a power distribution master station, which includes any one of the heterogeneous distributed systems mentioned in the above embodiments.

[0115] It should be understood that all solutions and products implemented based on the above-mentioned heterogeneous distributed debugging system should fall within the protection scope of this application.

[0116] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0117] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A heterogeneous distributed debugging system, characterized in that: The heterogeneous distributed debugging system includes a main control screen, at least one power distribution terminal debugging screen and at least one intelligent gateway debugging screen, and the main control screen is connected to the power distribution terminal debugging screen and the intelligent gateway debugging screen through a communication bus; The main control screen is used to obtain a test instance, wherein the test instance is used to indicate at least one debugging screen to be tested, and at least one test instrument, terminal type and test case corresponding to each debugging screen to be tested, wherein the terminal type is used to indicate that the test instrument is a power distribution terminal or an intelligent gateway, and the debugging screen to be tested is the power distribution terminal debugging screen or the intelligent gateway debugging screen, and the test case is used to indicate a test item for the corresponding test instrument; and, when the start of the test operation is detected, running the test software to start a test thread for each of the debugging screens to be tested in the test instance; The power distribution terminal debugging screen is used to execute the test case for the corresponding power distribution terminal according to the test thread to determine a first test report, wherein the first test report includes a test result corresponding to the test item for each of the power distribution terminals; The intelligent gateway debugging screen is used to execute the test case for the corresponding intelligent gateway according to the test thread to determine a second test report, wherein the second test report includes the test results corresponding to the test items of each of the intelligent gateways.

2. The heterogeneous distributed debugging system according to claim 1, characterized in that: The heterogeneous distributed debugging system also includes a debugging platform component and the power distribution terminal; The power distribution terminal debugging screen is also used to execute the test case to send debugging instructions to the debugging platform body component; The debugging platform body component is used to output a test signal to the power distribution terminal according to the debugging instruction to perform a simulation operation, wherein the simulation operation is used to simulate an input signal received by the power distribution terminal in the operating environment of the power distribution master station; The power distribution terminal debugging screen is further used to obtain power distribution terminal data of the power distribution terminal, and to determine the first test report according to the power distribution terminal data.

3. The heterogeneous distributed debugging system according to claim 2, characterized in that: The test station body assembly includes an oscilloscope, a multi-function meter, a power source, an input interface, and an output interface. The test signal includes a first analog signal and a second analog signal. The first analog signal is used to simulate the voltage and current input from the power distribution master station to the power distribution terminal under the operating environment. The second analog signal is used for analog digital output in the power distribution master station. The power source is used to receive the debugging instruction, convert the debugging instruction into the first analog signal, and output the first analog signal to the power distribution terminal; The oscilloscope is used to perform high-frequency filtering on the first analog signal output by the functional source to determine a reference voltage waveform and a reference current waveform, and to send the reference voltage waveform and the reference current waveform to the power distribution terminal debugging screen; The output interface is used to receive the debugging instruction, convert the debugging instruction into the second analog signal, and output the second analog signal to the power distribution terminal; The multifunctional meter is used to collect the first analog signal to determine a reference voltage value corresponding to the voltage inputted by the power distribution master station and a reference current value corresponding to the current inputted by the power distribution master station, and to send the reference current value and the reference voltage value to the power distribution terminal debugging screen; The input interface is used to obtain the switch control information output by the power distribution terminal after executing the simulation operation, and to send the switch control information to the debugging screen of the power distribution terminal.

4. The heterogeneous distributed debugging system according to claim 3, characterized in that: The test items corresponding to the power distribution terminal include wave recording function and parameter measurement accuracy; the power distribution terminal debugging screen is also used for: Determine the actual voltage waveform, the actual current waveform, the actual current value and the actual voltage value according to the power distribution terminal information; Determine the reference voltage waveform and the reference current waveform as reference waveforms, and determine the reference current value and the reference voltage value as reference values; According to the reference waveform, comparing the actual voltage waveform and the actual current waveform to determine a test result for the waveform recording function; and According to the reference value, the actual current value and the actual voltage value are compared to determine a test result for the parameter measurement accuracy.

5. The heterogeneous distributed debugging system according to claim 2, characterized in that: The power distribution terminal is connected to the power distribution terminal debugging screen via a telecontrol communication protocol, and the test platform body component is connected to the power distribution terminal debugging screen via a platform body network.

6. The heterogeneous distributed debugging system according to claim 1, characterized in that: The heterogeneous distributed debugging system also includes a debugging platform component and a cloud platform; The intelligent gateway debugging screen is also used to execute the test case to send debugging instructions to the debugging platform body component; The debugging platform component is used to output a test signal to the intelligent gateway according to the debugging instruction; The cloud platform is used to collect the smart gateway data output by the smart gateway after receiving the test signal, and upload the smart gateway data to the smart gateway debugging screen; The intelligent gateway debugging screen is also used to determine the second test report according to the intelligent gateway data through the test software.

7. The heterogeneous distributed debugging system according to claim 6, characterized in that: The debugging platform body component includes a multi-function meter, a power source, an output interface and an intelligent sensor, and the test signal includes a third analog signal and a fourth analog signal, the third analog signal is used to simulate the voltage and current input by the intelligent gateway in the operating environment, and the fourth analog signal is used to simulate the switch signal input by the intelligent gateway in the operating environment; The power source is used to convert the debugging instruction into the third analog signal, and output the third analog signal to the smart gateway and the smart sensor; The intelligent sensor is used to determine a first reference voltage value corresponding to the voltage and a first reference current value corresponding to the current according to the third analog signal, and send the first reference voltage value and the first reference current value to the intelligent gateway; The intelligent gateway is used to send the first reference voltage value and the first reference current value to the intelligent gateway debugging screen; The output interface is used to convert the debugging instruction into the fourth analog signal, and output the fourth analog signal to the intelligent gateway; The multifunctional meter is used to collect the third analog signal to determine a second reference voltage value corresponding to the voltage and a second reference current value corresponding to the current, and to send the second reference voltage value and the second reference current value to the intelligent gateway debugging screen.

8. The heterogeneous distributed debugging system according to claim 7, characterized in that: The test items include parameter measurement accuracy and sensor data accuracy; the intelligent gateway debugging screen is also used for: Determine the actual current value and the actual voltage value according to the smart gateway data; Determine the second reference voltage value and the second reference current value as reference values; According to the reference value, comparing the actual current value and the actual voltage value to determine a test result for the parameter measurement accuracy; and, According to a preset power source setting value, the first reference voltage value and the first reference current value are compared to determine a test result for the accuracy of the sensor data.

9. The heterogeneous distributed debugging system according to claim 6, characterized in that: The intelligent gateway is connected to the cloud platform via a message queue telemetry transmission protocol, the cloud platform is connected to the intelligent gateway debugging screen via the message queue telemetry transmission protocol, and the debugging platform body component is connected to the intelligent gateway debugging screen via a platform body network.

10. The heterogeneous distributed debugging system according to claim 2 or 6, characterized in that: The main control screen includes a report analysis module, a test case determination module, a test case editing module and an instance generation module; The report analysis module is used to perform statistical analysis operations to generate report analysis results according to the first test report and / or the second test report uploaded by the debugging screen to be tested; The test case determination module is used to determine the initial test case according to the report analysis result; The test case editing module is used to respond to the case editing operation on the main control screen to update the initial test case to determine the updated test case; The instance generation module is used to determine the test instance to be executed for the debugging screen to be tested according to the updated test case.

Citation Information

Patent Citations

  • Test system architecture for intercommunication and interconnection of multiple types of terminals

    CN114710418A

  • Distribution internet-of-things terminal adjusting and testing system

    CN117812121A