Power consumption information acquisition terminal fault monitoring method, device, medium and system

By building a virtual environment and configuration operation protocol, complex on-site practical problems and coupling problems are solved, and efficient and low-cost fault monitoring and diagnosis are achieved.

CN120185998APending Publication Date: 2025-06-20QINGDAO ITECHENE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510390662.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

During the research and development and troubleshooting of power consumption information collection terminals, complex and changeable on-site practical problems and a large number of auxiliary equipment make coupling problems difficult to detect and verify, and the fault reproduction is difficult and costly.

Method used

By building a virtual environment, using virtual devices and connection ports to simulate complex real environments, configure operation protocols and timing design, automate fault monitoring and troubleshooting, and record and analyze communication data between virtual devices.

Benefits of technology

It realizes the reproduction of fault sites in the laboratory, reduces the cost of monitoring environment construction and labor investment, and efficiently and at low cost to diagnose coupled problems, simplifying the operation process in complex testing environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120185998A_ABST
    Figure CN120185998A_ABST
Patent Text Reader

Abstract

The invention discloses a power utilization information acquisition terminal fault monitoring method, equipment, a medium and a system, and relates to the field of information acquisition terminal fault monitoring. The method comprises the following steps of: presetting equipment faults, including faults generated by custom of a tester and actual operation, and simultaneously setting a plurality of faults to monitor a coupling type problem; building a virtual environment containing virtual equipment and connection ports according to the fault, wherein the connection ports are divided into persistent ports and variable ports; configuring an operation protocol containing an operation time sequence for the virtual equipment; running the virtual device according to the protocol until a preset fault occurs or a preset number of times is reached; and finally, recording and analyzing communication data among the virtual devices. The invention further provides equipment for implementing the method and a readable storage medium for storing related computer programs. The system has the advantages of being capable of simulating a complex real environment, reducing monitoring cost and human input, achieving automatic monitoring through sequential design, being flexible in port configuration and being capable of simulating a large number of times.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fault monitoring of information collection terminals, and particularly to a method, device, medium and system for fault monitoring of power consumption information collection terminals. Background Art

[0002] In the research and development and production process of State Grid power consumption information collection terminals, such as products like Energy Control Special Transformer (ECU) and collectors, although the national standard tests of the equipment cover targeted function and performance tests, there are still "oversights" for complex and changeable on-site actual problems. Limited by the changeable on-site environment and the large number and variety of attached devices in the test-hanging site, there are usually thousands of attached devices in such a system, and it is often difficult to troubleshoot and verify coupling problems. Moreover, in this case, the difficulty and cost of fault reproduction are relatively high. If problems are directly troubleshot in the original system, it will cause a batch of devices to fail or even become paralyzed, affecting the normal power information measurement and control needs of users in the area. Summary of the Invention

[0003] To solve the above problems, the present invention provides a method for fault monitoring of power consumption information collection terminals, including the following processes: Preset device faults; Build a virtual environment according to the device faults. The virtual environment includes virtual devices and connection ports, and is used to simulate complex and difficult-to-reproduce real environments; Configure an operating protocol for each virtual device. The operating protocol includes an operating time sequence. By configuring the time sequence for the actions of the virtual devices, a large number of repeated automated fault monitoring and troubleshooting are completed; Run the virtual devices according to the operating protocol until the preset device faults occur or the preset number of repetitions is reached; Record and analyze the communication data between the virtual devices during the running process.

[0004] Preferably, the device faults include device faults defined by testers and device faults generated during actual operation.

[0005] More preferably, when detecting, multiple device faults are preset simultaneously, and coupling problems in complex scenarios can be monitored.

[0006] On the basis of the above solution, the connection ports include persistent ports and variable ports. The persistent ports are preset and unchanged ports, and the variable ports need to be reconfigured and connected every time the virtual environment runs. Combined with the above operating protocol, they can be automatically configured and connected according to the requirements of the operating time sequence.

[0007] The second aspect of the present invention provides a device for fault monitoring of power consumption information collection terminals, including: A device for presetting device faults; A device for building a virtual environment according to device failures, where the virtual environment includes virtual devices and connection ports; A device for configuring an operating protocol for each virtual device, where the operating protocol includes an operating time sequence; A device for operating virtual devices according to the operating protocol until a preset device failure occurs or a preset number of times is repeated; A device for recording and analyzing communication data between virtual devices during the operation process.

[0008] The third aspect of the present invention provides a computer-readable storage medium storing a runnable computer program, which, when running, implements the above-mentioned method for monitoring failures of an electricity consumption information collection terminal.

[0009] The fourth aspect of the present invention provides a system for monitoring failures of an electricity consumption information collection terminal, including: A preprocessing module for presetting device failures; A virtual environment building module for building a virtual environment according to device failures, where the virtual environment includes virtual devices and connection ports; A real device module for connecting to real devices; A protocol module for configuring an operating protocol for each virtual device, where the operating protocol includes an operating time sequence and operating instructions; A simulation module for operating virtual devices according to the operating protocol and recording communication data between virtual devices until a preset device failure occurs or a preset number of times is repeated; A recording and output module for recording and analyzing communication data between virtual devices during the operation process.

[0010] Preferably, an operating protocol can be configured for real accessory devices, and in the simulation module, virtual devices and real accessory devices are simultaneously operated according to the operating protocol to meet applications in multiple scenarios.

[0011] The advantages of the present invention are as follows: 1. By building a virtual environment with virtual devices and connection ports, complex real environments and test environments that are difficult to reproduce in reality can be simulated, such as an operating environment with thousands of accessory devices connected. Using the virtual environment to simulate the real test environment can conveniently reproduce the fault scene in the laboratory, greatly reducing the cost of building the monitoring environment and the investment in human resources; 2. Since problems occurring in complex environments are usually coupled problems, this solution simultaneously sets multiple device failures and corresponding operating protocols to simulate the real environment, and can efficiently and low-cost diagnose coupled problems; 3. The time-sequential design is used for automated monitoring, simplifying the operation process in complex test environments; 4. Divide the ports into persistent ports and variable ports. The persistent ports are connected through a fixed communication protocol and do not need to be changed, and can be automatically connected each time. While the variable ports do not have a common communication protocol, and the port information of the variable ports can be automatically configured each time according to the running timing and running instructions to achieve the effect of high-degree-of-freedom and a large number of repeated simulations; 5. When building the virtual environment, it supports setting virtual devices and connecting real attached devices at the same time, can take into account both simple and complex scenarios, and has a wide range of applications. Description of the Drawings

[0012] Figure 1 It is the overall flowchart of the present invention.

[0013] Figure 2 It is a schematic diagram of the process of building the virtual environment. Detailed Embodiments

[0014] The present invention will be further described below in conjunction with the detailed embodiments and the drawings.

[0015] As Figure 1 shown, the method for monitoring the faults of the power consumption information collection terminal includes: Preset the device faults to be monitored; Build a virtual environment according to the set device faults, and the virtual environment includes virtual devices and connection ports; Configure an operating protocol for the virtual devices in the virtual environment, and the operating protocol includes running timing and running instructions; Run the virtual devices according to the running timing, and judge whether the preset device faults occur. If not, then judge whether the specified number of times has been run. If the specified number of times has not been run, repeat this step; If the preset device faults occur or the specified number of times has been run, analyze the communication data between the virtual devices recorded during the running process to complete the device fault monitoring.

[0016] In other embodiments, the number of running times is not specified, and the virtual devices are repeatedly run until device faults occur. This monitoring method can monitor latent device faults including the degree of aging.

[0017] In the conventional development and test environment, it is necessary to manually build the device operating environment. In some scenarios where the environment is relatively simple, the number of attached devices is small, and the types are single, the real scenario can be used; but more abnormal problems come from complex operating environments, and it is difficult to use real attached devices to build in such cases; in this embodiment, the central control virtual environment configuration and simulation of attached device hardware are used instead, so that the simulation environment can be built according to the needs of development and test personnel.

[0018] As Figure 2As shown in the figure, a virtual device configuration module, a communication port preset module, a logic programmable module, and a data flow monitoring module are designed in the central control software.

[0019] Before operation, first configure the attributes of the virtual device in the virtual device configuration module, such as the type, quantity, and communication port of the virtual device; Then, set the communication port types as persistent ports and variable ports in the communication port preset module. Among them, the persistent ports are configured as preset unchangeable connection ports, such as the 232 port and 485 port for maintaining monitoring functions, the 645 port or 698 port for interacting with the central control software. These ports can be used permanently once preset, and can automatically reconnect even if the target device restarts or the port reconnects due to other reasons; The variable ports need to be actively connected frequently according to the timing requirements. Such ports are usually custom ports required in the test and need to configure information such as different models of attached devices or communication protocols of different meter supply companies.

[0020] Perform timed logical configuration on the above virtual devices and variable ports through the logic programmable module, such as restarting the device 1000 times, and after each restart, connecting to the specified port through the specified connection protocol according to the settings. It can meet the test requirements under different preset scenarios.

[0021] During operation, the data flow monitoring module outputs and records the communication data between the central control software and the target device in real time, and records the execution results of each test process to ensure that the data results are visible during the pre-test or the reproduction of the coupling problem scenario.

[0022] The connection method between the central control software and the acquisition terminal is through a 4G network or an Ethernet connection, and the connection port is the above-mentioned 645 persistent port or 698 persistent port. SSH or FTP debugging instructions can be configured through the network connection to complete the initialization and debugging of the central control software for the acquisition terminal, and monitor and further configure the functions of the acquisition terminal through a 232 hub or a 458 hub; Build a virtual environment through a private protocol. During the construction of the simulation environment of the attached device, configure the functions and debug and monitor the virtual device through a 232 port hub and a 485 port hub; In this embodiment, the 232 port hub further connects to a three-phase power control relay through a custom protocol to control the current and voltage flowing through the virtual device to simulate the current and voltage fluctuations in the actual circuit; The 485-port hub is further connected to a signal generator, a virtual meter board card, and a pulse generator through a custom protocol. The signal generator is used to measure data such as frequency, waveform, and output level signals in a virtual environment. The virtual meter board card is used to simulate virtual devices, such as a large number of meters. The pulse generator is used to generate signals with different waveforms or cut off power for high-frequency virtual devices to simulate usage states in different situations or meet the testing needs of testers.

[0023] In other embodiments, the signal generator, the virtual meter board card, the pulse generator, and the power control relay are replaced with other devices that simulate real-time states in analog circuits, such as voltage followers and power amplifiers.

[0024] The acquisition terminal has ports for connecting real attached devices, which are used to directly connect real attached devices. The real attached devices and virtual devices can operate simultaneously under the control of the central control software, providing scalable and multi-scenario applications.

[0025] Specifically, the real attached devices can be meter devices such as carrier meters and 485 meters.

[0026] In other embodiments, the 4G network is replaced with other wireless connection methods, such as 2G, 3G, and Bluetooth.

[0027] In other embodiments, the acquisition terminal is only connected to real attached devices, and the test is controlled through the central control software and the central control host computer, which is used for fault monitoring and troubleshooting in simple scenarios.

[0028] In other embodiments, the acquisition terminal is only connected to virtual devices, and the test is controlled through the central control software and the central control host computer. The test environment can be built according to the needs of testers. The presence of virtual devices greatly improves the flexibility of building the test environment.

[0029] The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.

[0030] Although the specific implementation manners of the present invention have been described above, it is not a limitation to the protection scope of the present invention. Those skilled in the art should understand that based on the technical solutions of the present invention, various modifications or deformations that can be made without creative labor by those skilled in the art are still within the protection scope of the present invention.

Claims

1. A method for monitoring faults of a power consumption information collection terminal, characterized in that: The process includes: Preset device failures; Building a virtual environment according to the device failure, the virtual environment including a virtual device and a connection port; Configure an operation protocol for each of the virtual devices, wherein the operation protocol includes an operation sequence and an operation instruction; Running the virtual devices according to the operation protocol and recording the communication data between the virtual devices until a preset device failure occurs or is repeated a preset number of times; The communication data between the virtual devices during operation is recorded and analyzed.

2. A method for monitoring faults of a power consumption information collection terminal according to claim 1, characterized in that: The device failures include customized device failures and device failures generated during actual operation.

3. A method for monitoring faults of a power consumption information collection terminal according to claim 1, characterized in that: A plurality of the device faults are preset at the same time.

4. A method for monitoring faults of a power consumption information collection terminal according to claim 1, characterized in that: The connection port includes a persistent port and a variable port.

5. A power consumption information collection terminal fault monitoring device, characterized in that: include: Device for presetting equipment failures; A device for building a virtual environment according to the device failure, wherein the virtual environment includes a virtual device and a connection port; A device for configuring an operation protocol for each of the virtual devices, wherein the operation protocol includes an operation sequence and an operation instruction; A device for operating virtual devices according to the operating protocol and recording communication data between virtual devices until a preset device failure occurs or is repeated a preset number of times; A device for recording and analyzing communication data between each of the virtual devices during operation.

6. A method for monitoring faults of a power consumption information collection terminal according to claim 5, characterized in that: The device failures include customized device failures and device failures generated during actual operation.

7. A method for monitoring faults of a power consumption information collection terminal according to claim 5, characterized in that: A plurality of the device faults are preset at the same time.

8. A method for monitoring faults of a power consumption information collection terminal according to claim 5, characterized in that: The connection port includes a persistent port and a variable port.

9. A computer-readable storage medium, characterized in that: An executable computer program is stored, and when the computer program is executed, any one of claims 1 to 4 is completed.

10. A power consumption information collection terminal fault monitoring system, characterized in that: include: Pre-processing module, used to pre-set equipment failures; A virtual environment building module, used to build a virtual environment according to the device failure, wherein the virtual environment includes a virtual device and a connection port; Real device module, used to connect to real devices; A protocol module, used to configure an operation protocol for each of the virtual devices, wherein the operation protocol includes an operation sequence and an operation instruction; A simulation module, used for running virtual devices according to the operation protocol and recording communication data between virtual devices until a preset device failure occurs or is repeated a preset number of times; The recording output module is used to record and analyze the communication data between the virtual devices during operation.