Distribution network automation terminal online rate monitoring method and device, electronic equipment and storage medium

Through customized online rate monitoring methods and target robot identity verification, 24-hour uninterrupted monitoring and abnormal information reporting of distribution network automation terminals are realized, which solves the problems of low efficiency and human resource occupation in the existing technology, and improves the efficiency of operation and maintenance personnel. Work efficiency and troubleshooting capabilities.

CN118611267APending Publication Date: 2024-09-06GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410870316.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing distribution network automation terminal online rate monitoring relies on manual query, which is inefficient and takes up human resources. It cannot achieve 24-hour uninterrupted monitoring, making it difficult for operation and maintenance personnel to detect and handle faults in a timely manner.

Method used

By configuring a custom online rate monitoring method and target robot identity verification, 24-hour uninterrupted online rate monitoring of distribution network automation terminals is achieved, and abnormal information is automatically extracted and reported in abnormal situations.

Benefits of technology

It liberates human resources, provides real-time information support, improves the work efficiency and fault handling capabilities of operation and maintenance personnel, and reduces the impact of offline time and data loss of distribution network automation terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611267A
    Figure CN118611267A
Patent Text Reader

Abstract

The embodiment of the invention discloses a distribution network automation terminal online rate monitoring method and device, electronic equipment and a storage medium. The method comprises the following steps: configuring a self-defined distribution network automation terminal online rate monitoring mode for a distribution network automation terminal, and carrying out identity verification on a target robot which logs in for the first time; and continuously monitoring the online rate of the distribution network automation terminal according to the online rate monitoring mode of the distribution network automation terminal, and automatically extracting abnormal information and reporting the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal. By adopting the technical scheme of the embodiment of the invention, the target robot is adopted to monitor the online rate of the distribution network automation terminal in real time, manpower resources are liberated, and effective information support is provided for operation and maintenance personnel to process the abnormal distribution network automation terminal. By continuously monitoring the online rate of the distribution network automation terminal, operation and maintenance personnel can find and process problems more timely, the operation and maintenance difficulty is reduced, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of power systems, and in particular to a method, device, electronic device and storage medium for monitoring online rate of distribution network automation terminals. Background Art

[0002] The distribution network automation terminal is an important tool for real-time status monitoring of distribution network lines. It can monitor distribution network faults or abnormal operation, determine the faulty section and quickly isolate the faulty section, promptly restore power supply to users in non-faulty areas, and reduce the area of ​​power outage.

[0003] The distribution network automation terminal establishes communication with the main station through optical fiber, general packet radio service technology, etc. If the terminal loses connection with the main station, the main station will not receive real-time information about the line. When encountering a medium-voltage fault or other special circumstances, the loss of information caused by the terminal being offline will seriously affect the judgment of the automation operation and maintenance personnel on the fault section, thereby reducing the efficiency of emergency repairs. Therefore, the online rate of the distribution network automation terminal is one of the most critical equipment operation indicators for the operation and maintenance personnel. At present, the monitoring of the terminal online rate still relies on manual query, which takes up a lot of time for the operation and maintenance personnel, and can only be monitored during working hours, which is not only inefficient, but also takes up additional human resources.

[0004] Therefore, how to automatically monitor the online rate of distribution network automation terminals is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0005] The embodiments of the present invention provide a method, device, electronic device and storage medium for monitoring the online rate of distribution network automation terminals, so as to realize real-time monitoring of the online rate of distribution network automation terminals, liberate human resources, and provide effective information support for operation and maintenance personnel to handle abnormal distribution network automation terminals.

[0006] In a first aspect, an embodiment of the present invention provides a method for monitoring the online rate of a distribution network automation terminal, comprising:

[0007] A customized online rate monitoring method of the distribution network automation terminal is configured for the distribution network automation terminal, and identity authentication is performed on the target robot that logs in for the first time; wherein the target robot is used to monitor the online rate of the distribution network automation terminal;

[0008] The online rate of the distribution network automation terminal is continuously monitored according to the online rate monitoring method of the distribution network automation terminal, and abnormal information is automatically extracted and reported when the online rate monitoring of the distribution network automation terminal is abnormal.

[0009] In a second aspect, an embodiment of the present invention further provides a distribution network automation terminal online rate monitoring device, comprising:

[0010] The online rate monitoring configuration module is used to configure a customized online rate monitoring mode for the distribution network automation terminal and authenticate the target robot that logs in for the first time; wherein the target robot is used to monitor the online rate of the distribution network automation terminal;

[0011] The online rate monitoring module is used to continuously monitor the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and automatically extract abnormal information and report the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal.

[0012] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0013] one or more processors;

[0014] A storage device for storing one or more programs;

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the distribution network automation terminal online rate monitoring method described in any embodiment of the present invention.

[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for monitoring the online rate of a distribution network automation terminal as described in any embodiment of the present invention.

[0017] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the distribution network automation terminal online rate monitoring method as described in any embodiment of the present invention.

[0018] The embodiment of the present invention provides a method, device, electronic device and storage medium for monitoring the online rate of distribution network automation terminals. The method configures a customized online rate monitoring mode for the distribution network automation terminal and authenticates the target robot that logs in for the first time. The online rate of the distribution network automation terminal is continuously monitored according to the online rate monitoring mode of the distribution network automation terminal, and the abnormal information is automatically extracted and reported when the online rate monitoring of the distribution network automation terminal is abnormal. The technical solution of the embodiment of the present invention is adopted, and the target robot is used to realize uninterrupted online rate monitoring of the distribution network automation terminal, liberates human resources, and provides effective information support for operation and maintenance personnel to handle abnormal distribution network automation terminals. By continuously monitoring the online rate of the distribution network automation terminal, when there is an offline target distribution network automation terminal, the target robot will report the address information, interruption times and communication mode of the offline target distribution network automation terminal in real time; the operation and maintenance personnel can discover and handle problems more timely, optimize human resources and time costs, reduce the difficulty of operation and maintenance, and improve work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present invention. Also, the same reference symbols are used throughout the drawings to represent the same parts. In the drawings:

[0020] Figure 1 This is a flow chart of a method for monitoring the online rate of a distribution network automation terminal provided in Embodiment 1 of the present invention;

[0021] Figure 2 This is a flow chart of a method for monitoring the online rate of a distribution network automation terminal provided in Embodiment 2 of the present invention;

[0022] Figure 3 is a schematic diagram of a user interface constructed by a target robot provided in an embodiment of the present invention;

[0023] Figure 4 It is a schematic diagram of a flow chart of automatic monitoring of online rate of a distribution network automation terminal provided in an embodiment of the present invention;

[0024] Figure 5 is a flow chart of another method for monitoring the online rate of a distribution network automation terminal provided in Embodiment 2 of the present invention;

[0025] Figure 6 It is a structural schematic diagram of a distribution network automation terminal online rate monitoring system provided in an embodiment of the present invention;

[0026] Figure 7 This is a schematic diagram of a cmd file page provided in an embodiment of the present invention;

[0027] Figure 8 It is a structural schematic diagram of a distribution network automation terminal online rate monitoring device provided in an embodiment of the present invention;

[0028] Fig. 9 It is a structural schematic diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0030] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the operations (or steps) as sequential processes, many of the operations (or steps) therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0031] Among them, the acquisition, storage, use and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations.

[0032] Embodiment 1

[0033] Figure 1 This is a flow chart of a method for monitoring the online rate of a distribution network automation terminal provided in the first embodiment of the present invention. This embodiment is applicable to the case of monitoring the online rate of a distribution network automation terminal. The method of this embodiment can be executed by a distribution network automation terminal online rate monitoring device, which can be implemented in hardware and / or software. The device can be configured in a server for monitoring the online rate of a distribution network automation terminal. The method specifically includes the following steps:

[0034] S110. Configure a customized distribution network automation terminal online rate monitoring method for the distribution network automation terminal, and perform identity authentication on the target robot that logs in for the first time.

[0035] The target robot is used to monitor the online rate of the distribution network automation terminal, and the target robot that logs in for the first time performs identity authentication. The identity authentication may refer to inputting an account name, a password, and a verification code.

[0036] The online rate monitoring methods of the distribution network automation terminal include hourly monitoring and custom preset time interval monitoring. The hourly monitoring may refer to online rate monitoring performed once every hour on the hour, regardless of the current time; the custom preset time interval monitoring may refer to monitoring at fixed time intervals starting from the current time, and performing online rate monitoring at intervals according to the custom preset time input by the user.

[0037] The embodiment of the present invention configures a customized online rate monitoring mode for the distribution network automation terminal to achieve 24-hour uninterrupted monitoring. This all-weather monitoring mode ensures that the operation and maintenance personnel can perceive the status of the distribution network automation terminal in a timely manner, understand the operation status of the terminal at the first time, and promptly discover and handle offline problems. This not only reduces the offline time of the distribution network automation terminal, but also can minimize the impact of data loss caused by the offline distribution network automation terminal.

[0038] S120, continuously monitor the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and automatically extract abnormal information and report the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal.

[0039] The online rate monitoring of the target robot is divided into four scenarios, and different processing measures are taken in different online rate monitoring scenarios. The online rate monitoring scenarios include 100% online rate, non-100% online rate, blank online rate monitoring page or online rate abnormality, program execution abnormality or system abnormality. The distribution network automation terminal online rate monitoring abnormality includes at least one of non-100% online rate, blank online rate monitoring page or online rate abnormality, program execution abnormality or system abnormality.

[0040] Optionally, when the online rate monitoring of the distribution network automation terminal is abnormal, different processing measures are taken according to different abnormal situations. For example, if the online rate monitoring of the distribution network automation terminal is abnormal and the online rate is not 100%, it is determined that there is an offline distribution network automation terminal; the address information, terminal times and communication method of the offline distribution network automation terminal are obtained, and the address information, terminal times and communication method of the offline distribution network automation terminal are reported. The operation and maintenance personnel can grasp the abnormal situation in time according to the key information such as the automatically reported address information, interruption times and communication method, preliminarily determine the cause of the offline and formulate reasonable operation and maintenance plans and strategies.

[0041] The embodiment of the present invention provides a method for monitoring the online rate of distribution network automation terminals, configures a customized online rate monitoring method for distribution network automation terminals, and authenticates the identity of the target robot that logs in for the first time; the online rate of the distribution network automation terminal is continuously monitored according to the online rate monitoring method of the distribution network automation terminal, and automatically extracts abnormal information and reports the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal. The technical solution of the embodiment of the present invention is adopted, and the target robot is used to monitor the online rate of the distribution network automation terminal in real time, which frees up human resources and provides effective information support for operation and maintenance personnel to handle abnormal distribution network automation terminals. By continuously monitoring the online rate of the distribution network automation terminal, the operation and maintenance personnel can discover and handle problems more promptly, reduce the difficulty of operation and maintenance, and improve work efficiency.

[0042] Embodiment 2

[0043] Figure 2 The flowchart of a method for monitoring the online rate of a distribution network automation terminal provided in the second embodiment of the present invention. The embodiment of the present invention further optimizes the above embodiment on the basis of the above embodiment, and the embodiment of the present invention can be combined with various optional solutions in one or more of the above embodiments. Figure 2 As shown, the distribution network automation terminal online rate monitoring method provided in the embodiment of the present invention may include the following steps:

[0044] S210: Perform a stress test on the target robot to determine the operation stability and reliability of the target robot.

[0045] Before using the target robot to monitor the online rate of the distribution network automation terminal, a stress test is performed on the target robot to test the operation stability and reliability of the target robot. Figure 3 , select the stress test option and click Run to perform a stress test on the target robot; the stress test can be performed once every 10 seconds.

[0046] S220. Configure a customized distribution network automation terminal online rate monitoring method for the distribution network automation terminal, and perform identity authentication on the target robot that logs in for the first time.

[0047] Among them, see Figure 4 , use the target robot to configure a customized online rate monitoring method for the distribution network automation terminal, and regularly access the automation page. If the target robot logs into the online rate monitoring system for the first time, the target robot needs to be authenticated; if the target robot is not logging in for the first time, the online rate of the distribution network automation terminal can be directly monitored.

[0048] As an optional but non-limiting implementation, the configuration of a customized online rate monitoring method for the distribution network automation terminal and identity authentication of the target robot logging in for the first time include but are not limited to steps A1-A3:

[0049] Step A1: configuring a customized online rate monitoring mode of the distribution network automation terminal for the distribution network automation terminal; the monitoring mode includes hourly monitoring and customized preset time interval monitoring.

[0050] Step A2: If the target robot logs into the online rate monitoring system for the first time, identity authentication is performed on the target robot; wherein the identity authentication information includes an account name, a password, and a verification code.

[0051] Step A3: If the target robot is not logging into the online rate monitoring system for the first time, the target robot can directly enter the online rate monitoring system.

[0052] Among them, the distribution network automation terminal is configured with a customized distribution network automation terminal online rate monitoring mode, and the monitoring mode includes hourly monitoring and customized preset time interval monitoring. Among them, hourly monitoring can refer to performing online rate monitoring once every hour on the hour, regardless of the current time; customized preset time interval monitoring can refer to monitoring at a fixed time interval starting from the current time, and performing online rate monitoring at intervals according to the customized preset time input by the user.

[0053] The identity of the target robot is verified. When the target robot logs in for the first time, the online rate monitoring system needs to enter the target robot's account name, password and verification code before logging in. This requires the target robot to have the ability to recognize verification codes.

[0054] Optionally, the target robot is adapted to operate the distribution network automation terminal online rate monitoring system under the Window system, provides a visual operation interface, and is directly deployed without the need for local installation. It simulates manual operation to input login information and intelligently identifies the verification code to log in to the distribution network automation terminal online rate monitoring system, thereby realizing 24-hour uninterrupted monitoring of the distribution network automation terminal online rate monitoring system.

[0055] S230, continuously monitor the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and automatically extract abnormal information and report the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal.

[0056] The online rate monitoring of the target robot is divided into four scenarios, and different processing measures are taken in different online rate monitoring scenarios. The online rate monitoring scenarios include 100% online rate, non-100% online rate, blank online rate monitoring page or online rate abnormality, program execution abnormality or system abnormality. The distribution network automation terminal online rate monitoring abnormality includes at least one of non-100% online rate, blank online rate monitoring page or online rate abnormality, program execution abnormality or system abnormality.

[0057] As an optional but non-limiting implementation method, the online rate of the distribution network automation terminal is continuously monitored according to the distribution network automation terminal online rate monitoring method, and abnormal information is automatically extracted and reported when the online rate monitoring of the distribution network automation terminal is abnormal, including but not limited to steps B1-B2:

[0058] Step B1: continuously monitor the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and determine the abnormal type of the online rate monitoring of the distribution network automation terminal.

[0059] Step B2: If the online rate of the distribution network automation terminal is not 100%, determine the offline target distribution network automation terminal, automatically extract the abnormal information of the offline target distribution network automation terminal and report the abnormal information; the abnormal information includes the address information, communication mode and offline times of the target distribution network automation terminal.

[0060] Among them, the online rate of the distribution network automation terminal is continuously monitored by adopting the distribution network automation terminal online rate monitoring method. If the online rate is not 100% when it is queried, the offline target distribution network automation terminal is determined; the abnormal information of the offline target distribution network automation terminal is automatically extracted and the abnormal information is reported.

[0061] Optionally, when there is an offline target distribution network automation terminal, the target robot will report in real time key information such as the IP address, number of interruptions and communication method of the offline target distribution network automation terminal, thereby optimizing human resources and time costs, making it easier for operation and maintenance personnel to promptly grasp abnormal situations and preliminarily determine the reasons for the offline target distribution network automation terminal being disconnected, and significantly improving operation and maintenance work efficiency.

[0062] As an optional but non-limiting implementation method, the online rate of the distribution network automation terminal is continuously monitored according to the online rate monitoring method of the distribution network automation terminal, and abnormal information is automatically extracted and reported when the online rate monitoring of the distribution network automation terminal is abnormal, which also includes but is not limited to steps C1-C4:

[0063] Step C1: continuously monitor the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and determine the abnormal type of the online rate monitoring of the distribution network automation terminal.

[0064] Step C2: If the abnormal type of the online rate monitoring of the distribution network automation terminal is that the online rate is greater than non-percentage or the online rate monitoring page is blank, the online rate monitoring page is closed and reopened.

[0065] Step C3: Enter the verification code to enter the online rate monitoring page again. If the online rate monitoring page can be started normally, the online rate of the distribution network automation terminal is monitored again.

[0066] Step C4: If the online rate monitoring page fails to start normally, the number of restarts of the online rate monitoring page is counted, and when the number is greater than a preset restart number threshold, abnormal information is automatically extracted and reported.

[0067] Among them, the online rate monitoring system stays on the query page for too long, or after sending multiple query requests to the server, there is a situation where the online rate cannot be queried, that is, the query return result is empty, or returns abnormal data. This type of problem occurs frequently, and the intervals between occurrences are irregular. It is a high-frequency problem. There are two solutions to this problem. The first is to refresh the page. At this time, the login page may be returned, and there is also a situation where the refreshed page is still a blank page. The second method is to close the browser and reopen it, and try to log in to the system again. In order to simplify the process in the embodiment of the present invention and avoid the situation where a blank web page is returned after multiple refreshes, the response strategy of the target robot when encountering a page anomaly is set to close and reopen the online rate monitoring page.

[0068] See also Figure 5 , when the target robot detects that the type of abnormality in the online rate monitoring of the distribution network automation terminal is at least one of the following: the online rate is greater than 100%, the online rate monitoring page is blank, the program execution is abnormal, or the system is abnormal, the online rate monitoring page will be closed and reopened, and the verification code will be entered to perform the online rate monitoring system again. If the online rate monitoring system is normal, the online rate of the distribution network automation terminal will be re-monitored; if the online rate monitoring system is abnormal, the number of times the online rate monitoring page is restarted will be counted. If the number of restarts is less than the preset restart number threshold, the online rate monitoring page will be restarted; if the number of restarts is greater than the preset restart number threshold, the abnormal information will be automatically extracted and reported.

[0069] Among them, considering that the program may have accidental situations such as the module cannot be loaded, the library function is not executed normally, etc., the target robot needs to have a certain fault handling capability. In an optional scheme of the embodiment of the present invention, if the distribution network automation terminal online rate monitoring abnormality type is at least one of the program execution abnormality or system abnormality, the target robot attempts to escape by itself, and at the same time notifies the operation and maintenance personnel that the monitoring process is abnormal, so that the operation and maintenance personnel can handle it in time.

[0070] In an optional solution of the embodiment of the present invention, if the online rate of the distribution network automation terminal is 100%, the online rate 100% information is reported.

[0071] As an optional but non-limiting implementation, the method further includes but is not limited to steps D1-D2:

[0072] Step D1: monitor the online rate monitoring page to determine whether a pop-up window appears in the online rate monitoring page.

[0073] Step D2: If a pop-up window appears in the online rate monitoring page, locate the position of the close or cancel button of the pop-up window, and click the close or cancel button to close the pop-up window.

[0074] Among them, since various pop-up windows often appear in the operating system, if the pop-up windows cannot be judged and closed or skipped, it will affect the execution of the online rate monitoring task. This requires the target robot to have certain visual recognition and judgment capabilities.

[0075] Optionally, before each operation of the online rate monitoring of the distribution network automation terminal, a pop-up window is identified and closed. If a pop-up window appears in the online rate monitoring page, the close or cancel button of the pop-up window is located, and the close or cancel button of the pop-up window is automatically clicked to close the pop-up window.

[0076] The embodiment of the present invention provides a method for monitoring the online rate of a distribution network automation terminal. By performing a stress test on a target robot, the operating stability and reliability of the target robot are determined; a customized online rate monitoring method of the distribution network automation terminal is configured for the distribution network automation terminal, and identity verification is performed on the target robot that logs in for the first time; the online rate of the distribution network automation terminal is continuously monitored according to the online rate monitoring method of the distribution network automation terminal, and abnormal information is automatically extracted and reported when the online rate monitoring of the distribution network automation terminal is abnormal. The technical solution of the embodiment of the present invention is adopted, and the target robot is used to simulate manual operation to input login information and intelligently identify the verification code to log in to the online rate monitoring system, so as to realize uninterrupted online rate monitoring; when there is an offline target distribution network automation terminal, the target robot will report the address information, interruption times and communication mode of the offline target distribution network automation terminal in real time. It optimizes human resources and time costs, facilitates operation and maintenance personnel to grasp abnormal situations in a timely manner and preliminarily judge the reasons for the terminal disconnection, and significantly improves the efficiency of operation and maintenance work.

[0077] Embodiment 3

[0078] The embodiment of the present invention further optimizes the above embodiment on the basis of the above embodiment, and the embodiment of the present invention can be combined with various optional solutions in one or more of the above embodiments. Figure 6 As shown, an embodiment of the present invention provides a distribution network automation terminal online rate monitoring system, and the distribution network automation terminal online rate monitoring system includes a user interface layer, a judgment layer and an operation layer.

[0079] Among them, the robot is mainly built based on the automation library PyAutoGUI, the OCR library ddddocr and the GUI library PyQt5. The PyAutoGUI library is a free and open source graphical interface automation library that can realize image recognition, control the computer's mouse and keyboard and other functions, thereby realizing the automation of various software and pages. The ddddocr library is a powerful verification code recognition library that has a good recognition effect on various general verification codes. The PyQt5 library is the Python binding of the Qt application framework; Qt is a cross-platform C++ framework that has been widely used in the field of power system software development; PyQt5 uses Qt's rich functions and cross-platform nature to provide users with a wealth of modules and classes, including modules for creating windows and other common GUI elements.

[0080] Optionally, the user interface of the user interface layer is built with PyQt5; the logic judgment layer is used to switch the four scenarios of online rate monitoring and determine whether a fault occurs; the six modules of the operation layer are built with PyAutoGUI, ddddocr and other related libraries. After the function development is completed, the pyinstaller library is used to encapsulate the code into an exe executable program so that users can execute it directly.

[0081] In an optional solution of the embodiment of the present invention, the user interface layer includes a user interface. In the embodiment of the present invention, the PyQt5 library is used to build the user interface, such as Figure 3 As shown, users can customize the online rate monitoring method of distribution network automation terminals, select the monitoring interval by themselves, implement the hourly monitoring strategy or customize the monitoring interval, and can also perform stress testing before formal monitoring.

[0082] In another optional solution of the embodiment of the present invention, the judgment layer includes a logic judgment module to judge and handle exceptions for four online rate monitoring scenarios.

[0083] In another optional solution of the embodiment of the present invention, the operation layer includes an automated operation module, a pop-up window recognition module, a timing module, a verification code recognition module, a data processing module and a fault handling module.

[0084] Optionally, the automation module uses the PyAutoGUI library and other function libraries to define 25 instruction types, such as using the pyautogui.locateCenterOnScreen() and pyautogui.click() functions to locate and click on the image screen; using the pyautogui.moveTo() function to move the mouse; using the pyautogui.hotkey() function to input keyboard combination keys, etc. After the instruction type is defined, an excel file named cmd is used as the front-end console, and the above 25 instruction types are called with the instruction code in the cmd file and executed line by line, such as Figure 7 The 25 functions include: 1-single click, 2-double click, 3-right click, 4-input, 5-wait, 6-scroll wheel, 7-click the current position of the right cursor, 8-press and hold the left button to drag, 9-down arrow key, 10-copy, 11-paste, 12-save, 13-backspace, 14-select all, 15-click the mouse at the setting position, 16-enter, 17-pure mouse movement, 18-time reporting text, 19-name the offline terminal for each hour, 20-process offline terminal files, 21-enter verification code, 22-return to desktop, 23-automatic master station pop-up window judgment, 24-fault information output, 25-special items: judgment.

[0085] Among them, users can directly use cmd files to adjust the target robot code execution logic without modifying the source code; while being flexible, it also has a high degree of customizability, making it convenient for users to test and modify the code running logic, providing convenience for users.

[0086] Optionally, the fault handling module is called when a program execution error occurs. The fault handling module uses the traceback library to extract key error information and then re-inserts it into all functional modules to restart monitoring.

[0087] Optionally, the pop-up window recognition module is used to collect screenshots of all existing pop-up windows, and then use the method of locating images to locate the pop-up window close key or confirmation key and click it to close or skip the pop-up window; and embed the pop-up window recognition, positioning and click operations in four online rate monitoring scenarios, and perform pop-up window recognition, positioning and click operations before executing each operation.

[0088] Optionally, the data processing module is used when an offline target distribution network automation terminal appears. The data processing module uses the pandas library to extract the IP address, communication method and offline times of the offline target distribution network automation terminal, so as to facilitate analysis and judgment by operation and maintenance personnel.

[0089] Optionally, the verification code recognition module is implemented using the Python optical character recognition (OCR) library ddddocr, which has a good verification code recognition effect.

[0090] Optionally, the timing module is used to match the time interval corresponding to the online rate monitoring method selected by the user in the user interface. The stress test can be timed for 10 seconds; hourly monitoring is to perform online rate monitoring once every hour on the hour, regardless of the current time; custom preset time interval monitoring means monitoring at a fixed time interval starting from the current time, and performing online rate monitoring at intervals based on the custom preset time entered by the user.

[0091] The embodiment of the present invention provides a distribution network automation terminal online rate monitoring system, which uses a user interface layer to construct a visual operation interface and customizes the online rate monitoring method to achieve all-weather uninterrupted monitoring. The judgment layer is used to judge the scene in which the system is located, and each module in the operation layer is used to process the monitored abnormal situation. When there is an offline distribution network automation terminal, the target robot will report the IP address, interruption number and communication method of the offline distribution network automation terminal in real time. The key information optimizes human resources and time costs, facilitates operation and maintenance personnel to grasp abnormal situations in time and preliminarily judge the reasons for the terminal disconnection, and significantly improves the efficiency of operation and maintenance work.

[0092] Embodiment 4

[0093] Figure 8This is a schematic diagram of the structure of a distribution network automation terminal online rate monitoring device provided in an embodiment of the present invention. The technical solution of this embodiment can be applied to the situation of distribution network automation terminal online rate monitoring. The device can be implemented by software and / or hardware, and is generally integrated on any electronic device with network communication function, including but not limited to: servers, computers, personal digital assistants and other devices. Figure 8 As shown, the distribution network automation terminal online rate monitoring device provided in this embodiment may include: an online rate monitoring configuration module 810 and an online rate monitoring module 820; wherein,

[0094] The online rate monitoring configuration module 810 is used to configure a customized online rate monitoring mode for the distribution network automation terminal and authenticate the target robot that logs in for the first time; wherein the target robot is used to monitor the online rate of the distribution network automation terminal;

[0095] The online rate monitoring module 820 is used to continuously monitor the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and automatically extract abnormal information and report the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal.

[0096] Based on the above embodiment, optionally, the online rate monitoring configuration module is specifically used to:

[0097] A customized online rate monitoring mode of the distribution network automation terminal is configured for the distribution network automation terminal; the monitoring mode includes hourly monitoring and customized preset time interval monitoring;

[0098] If the target robot logs into the online rate monitoring system for the first time, identity authentication is performed on the target robot; wherein the identity authentication information includes an account name, a password, and a verification code;

[0099] If the target robot is not logging into the online rate monitoring system for the first time, the target robot may directly enter the online rate monitoring system;

[0100] Wherein, before configuring the customized distribution network automation terminal online rate monitoring mode for the distribution network automation terminal, the method further includes:

[0101] A stress test is performed on the target robot to determine the operation stability and reliability of the target robot.

[0102] Based on the above embodiment, optionally, the distribution network automation terminal online rate monitoring abnormality includes at least one of an online rate of non-100%, an online rate greater than non-100%, a blank online rate monitoring page, a program execution abnormality or a system abnormality.

[0103] Based on the above embodiment, optionally, the online rate monitoring module is specifically used to:

[0104] Perform uninterrupted monitoring of the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and determine the abnormal type of the online rate monitoring of the distribution network automation terminal;

[0105] If the online rate of the distribution network automation terminal is not 100%, determine the offline target distribution network automation terminal, automatically extract the abnormal information of the offline target distribution network automation terminal and report the abnormal information; the abnormal information includes the address information, communication method and offline times of the target distribution network automation terminal.

[0106] Based on the above embodiment, optionally, the online rate monitoring module is further specifically used for:

[0107] Perform uninterrupted monitoring of the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and determine the abnormal type of the online rate monitoring of the distribution network automation terminal;

[0108] If the abnormal type of the online rate monitoring of the distribution network automation terminal is that the online rate is greater than non-percentage or the online rate monitoring page is blank, close and reopen the online rate monitoring page;

[0109] Enter the verification code and enter the online rate monitoring page again. If the online rate monitoring page can be started normally, the online rate of the distribution network automation terminal will be monitored again;

[0110] If the online rate monitoring page fails to start normally, the number of restarts of the online rate monitoring page is counted, and when the number is greater than a preset restart number threshold, abnormal information is automatically extracted and reported.

[0111] On the basis of the above embodiment, optionally, the device further includes a pop-up window recognition module, which is specifically used to:

[0112] Monitor the online rate monitoring page to determine whether a pop-up window appears on the online rate monitoring page;

[0113] If a pop-up window appears in the online rate monitoring page, locate the position of a close or cancel button of the pop-up window, and click the close or cancel button to close the pop-up window;

[0114] Among them, before each operation of the distribution network automation terminal online rate monitoring, a pop-up window is identified and closed.

[0115] The distribution network automation terminal online rate monitoring device provided in the embodiment of the present invention can execute the distribution network automation terminal online rate monitoring method provided in any embodiment of the present invention mentioned above, and has the corresponding functions and beneficial effects of executing the distribution network automation terminal online rate monitoring method. For detailed process, please refer to the relevant operations of the distribution network automation terminal online rate monitoring method in the aforementioned embodiment.

[0116] Embodiment 5

[0117] Fig. 9 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

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

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

[0120] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a distribution network automation terminal online rate monitoring method.

[0121] In some embodiments, the distribution network automation terminal online rate monitoring method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the distribution network automation terminal online rate monitoring method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the distribution network automation terminal online rate monitoring method in any other appropriate manner (for example, by means of firmware).

[0122] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0123] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0124] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

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

[0126] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0127] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0128] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0129] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

[0130] Embodiment 6

[0131] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the distribution network automation terminal online rate monitoring method provided in any embodiment of the present application.

[0132] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

Claims

1. A method for monitoring the online rate of distribution network automation terminals, characterized in that: The method comprises: A customized online rate monitoring method of the distribution network automation terminal is configured for the distribution network automation terminal, and identity authentication is performed on the target robot that logs in for the first time; wherein the target robot is used to monitor the online rate of the distribution network automation terminal; The online rate of the distribution network automation terminal is continuously monitored according to the online rate monitoring method of the distribution network automation terminal, and abnormal information is automatically extracted and reported when the online rate monitoring of the distribution network automation terminal is abnormal.

2. The method according to claim 1, characterized in that The method of configuring a customized online rate monitoring method for the distribution network automation terminal and performing identity authentication on the target robot that logs in for the first time includes: A customized online rate monitoring mode of the distribution network automation terminal is configured for the distribution network automation terminal; the monitoring mode includes hourly monitoring and customized preset time interval monitoring; If the target robot logs into the online rate monitoring system for the first time, identity authentication is performed on the target robot; wherein the identity authentication information includes an account name, a password, and a verification code; If the target robot is not logging into the online rate monitoring system for the first time, the target robot may directly enter the online rate monitoring system; Wherein, before configuring the customized distribution network automation terminal online rate monitoring mode for the distribution network automation terminal, the method further includes: A stress test is performed on the target robot to determine the operation stability and reliability of the target robot.

3. The method according to claim 1, characterized in that The distribution network automation terminal online rate monitoring abnormality includes at least one of an online rate of non-100%, an online rate greater than non-100%, a blank online rate monitoring page, a program execution abnormality or a system abnormality.

4. The method according to claim 1, characterized in that: The method of continuously monitoring the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and automatically extracting abnormal information and reporting the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal, includes: Perform uninterrupted monitoring of the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and determine the abnormal type of the online rate monitoring of the distribution network automation terminal; If the online rate of the distribution network automation terminal is not 100%, determine the offline target distribution network automation terminal, automatically extract the abnormal information of the offline target distribution network automation terminal and report the abnormal information; the abnormal information includes the address information, communication method and offline times of the target distribution network automation terminal.

5. The method according to claim 1, characterized in that The method of continuously monitoring the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and automatically extracting abnormal information and reporting the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal, also includes: Perform uninterrupted monitoring of the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and determine the abnormal type of the online rate monitoring of the distribution network automation terminal; If the abnormal type of the online rate monitoring of the distribution network automation terminal is that the online rate is greater than non-percentage or the online rate monitoring page is blank, close and reopen the online rate monitoring page; Enter the verification code and enter the online rate monitoring page again. If the online rate monitoring page can be started normally, the online rate of the distribution network automation terminal will be monitored again; If the online rate monitoring page fails to start normally, the number of restarts of the online rate monitoring page is counted, and when the number is greater than a preset restart number threshold, abnormal information is automatically extracted and reported.

6. The method according to claim 1, characterized in that The method further comprises: Monitor the online rate monitoring page to determine whether a pop-up window appears on the online rate monitoring page; If a pop-up window appears in the online rate monitoring page, locate the position of a close or cancel button of the pop-up window, and click the close or cancel button to close the pop-up window; Among them, before each operation of the distribution network automation terminal online rate monitoring, a pop-up window is identified and closed.

7. A distribution network automation terminal online rate monitoring device, characterized in that: The device comprises: The online rate monitoring configuration module is used to configure a customized online rate monitoring mode for the distribution network automation terminal and authenticate the target robot that logs in for the first time; wherein the target robot is used to monitor the online rate of the distribution network automation terminal; The online rate monitoring module is used to continuously monitor the online rate of the distribution network automation terminal according to the online rate monitoring method of the distribution network automation terminal, and automatically extract abnormal information and report the abnormal information when the online rate monitoring of the distribution network automation terminal is abnormal.

8. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the distribution network automation terminal online rate monitoring method described in any one of claims 1-6.

9. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions, when executed by a computer processor, are used to execute the distribution network automation terminal online rate monitoring method as described in any one of claims 1-6.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for monitoring the online rate of a distribution network automation terminal according to any one of claims 1 to 6 is implemented.