Converter station operation data extraction method, system and device and storage medium

By running the simulated mouse script automatic switching and screenshot interface in the converter station monitoring system, the operation data is extracted, and the resource waste and system load problems caused by manual operations in traditional methods are solved, and efficient and automatic data extraction is achieved.

CN119828926AInactive Publication Date: 2025-04-15GUANGZHOU INST OF TECH

Patent Information

Application Number
CN202411892625.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional converter station operation data extraction methods rely on manual operations, resulting in large workloads, high error rates, and requires a large amount of human resources, resulting in waste of resources. At the same time, it increases the consumption of the converter station monitoring system resources, which easily leads to full load of processors.

Method used

By pre-generating simulation mouse scripts, dividing the display interface of the converter station monitoring system, simulate the mouse click switching monitoring interface, and screenshot and image recognition of the monitoring interface of the display area to extract operation data.

Benefits of technology

It reduces the use of the converter station monitoring system resources, avoids a large number of real-time data outgoing in seconds, prevents processor full load, improves data extraction efficiency, and reduces the complexity of manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119828926A_ABST
    Figure CN119828926A_ABST
Patent Text Reader

Abstract

The invention discloses a converter station operation data extraction method, system and device and a storage medium, and the key points of the technical scheme are that a simulation mouse script is generated in advance, and the step of generating the simulation mouse script in advance comprises the substeps: dividing a display interface of a converter station monitoring system in advance, obtaining a display area for displaying the monitoring interface and a switching area for switching the monitoring interface, and clicking the switching area through a simulation mouse to switch the monitoring interface of the display area; sending a starting command, wherein the starting command is used for triggering a simulation mouse script on the converter station monitoring system to operate; receiving a monitoring interface displayed in the display area, and performing screenshot on the monitoring interface to obtain a monitoring image; and carrying out image identification on the monitoring image, and extracting corresponding operation data. According to the invention, occupation of converter station monitoring system resources can be reduced, transmission of a large amount of second-level real-time data is avoided, and full load of a converter station monitoring system processor is prevented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of converter station operation data extraction, and in particular relates to a converter station operation data extraction method, system, device and storage medium. Background Art

[0002] As the scale of my country's power grid continues to expand, the safe and reliable operation of converter stations is of vital importance, and the operating status of power equipment is a key factor in determining its safe and stable operation. The converter station monitoring system can clearly display the equipment operation data, through which fault analysis and diagnosis can be carried out. Through manual monitoring and analysis, power failures can be discovered in time, providing decision-making conditions for timely disposal and avoiding power outages.

[0003] The traditional method of extracting converter station operating data is to manually transcribe the operating data, and it is necessary to regularly switch the corresponding data recorded in each monitoring interface. The recording workload is large, the error rate is high, it is time-consuming and the work is mechanical. In addition, due to the characteristics of real-time power supply, it is required to monitor the equipment status 24 hours a day, and three shifts are required. In order to ensure the continuity and accuracy of monitoring, at least two operation and maintenance personnel, one main and one backup, are required to carry out the monitoring work, resulting in a waste of human resources.

[0004] In order to solve the above problems, new projects can generally enhance the performance of the original monitoring system, and add dedicated servers for data analysis to reduce the workload and work pressure of the monitoring personnel. However, most of the converter stations currently in operation have not yet reached the transformation period, and implementing overall transformation in advance will cause great waste. In addition, since the design idea of ​​the converter station monitoring system pursues greater stability and reliability, only the DC control function and data display function are realized, so the converter station monitoring system has few functions and weak performance, and the processor load rate is generally around 80%. If the real-time data analysis function is added to the original converter station monitoring system, it will cause the processor to be fully loaded, affecting the original DC control function and causing the entire DC transmission system to shut down. If the real-time data is sent out, a large amount of real-time data sent out in seconds will also cause the monitoring system processor to be fully loaded. Summary of the invention

[0005] The object of the present invention is to provide a method, system, device and storage medium for extracting converter station operation data, which can reduce the occupation of converter station monitoring system resources, avoid the transmission of a large amount of real-time data at the second level, and prevent the converter station monitoring system processor from being fully loaded.

[0006] A first aspect of the present invention provides a method for extracting converter station operation data, comprising:

[0007] Pre-generating a simulated mouse script, the pre-generating simulated mouse script comprising: pre-dividing a display interface of a converter station monitoring system to obtain a display area for displaying the monitoring interface and a switching area for switching the monitoring interface, and switching the monitoring interface of the display area by simulating a mouse clicking on the switching area;

[0008] Sending a start command, wherein the start command is used to trigger the operation of a simulated mouse script on a converter station monitoring system;

[0009] Receiving a monitoring interface displayed in the display area, taking a screenshot of the monitoring interface, and obtaining a monitoring image;

[0010] Perform image recognition on the monitoring image to extract corresponding operation data.

[0011] In some embodiments, the receiving the monitoring interface displayed in the display area and taking a screenshot of the monitoring interface includes:

[0012] After sending a first interval time preset by the start command, taking a screenshot of the first monitoring interface received to obtain a monitoring image, wherein the first interval time is determined according to the transmission time of the start command, the execution time of the simulated mouse script and the switching time;

[0013] After the second interval time preset by the screenshot of the previous monitoring image, the received monitoring interface is screenshotted to obtain the monitoring image, until all interface tags are traversed to obtain the first cycle monitoring image, and the second interval time is determined according to the simulated mouse script execution time, the switching time and the screenshot time;

[0014] At every preset third interval, a screenshot of the monitoring interface of the next cycle is received to obtain the monitoring image of the next cycle until the cycle stop condition is reached. The third interval is determined based on the script execution time, switching time and screenshot time of all monitoring interfaces within a cycle.

[0015] In some embodiments, the first interval time is greater than the sum of the transmission time of the start command, the simulated mouse script execution time and the switching time, the second interval time is greater than the sum of the simulated mouse script execution time, the switching time and the screenshot time, and the third interval time is greater than the sum of the script execution time, the switching time and the screenshot time of all monitoring interfaces within a period.

[0016] In some embodiments, the switching area includes a plurality of interface labels, each interface label corresponds to a different monitoring interface; the switching of the monitoring interface of the display area by simulating a mouse click on the switching area includes:

[0017] Determine the interface label to be selected corresponding to the monitoring interface to be switched according to the preset switching order;

[0018] The central pixel point of the to-be-selected interface label is used as the pixel point for simulating a mouse click, and a simulated mouse click operation is performed on the pixel point to complete the switching of the monitoring interface.

[0019] In some embodiments, after obtaining each period monitoring screen, identifying the abnormal situation specifically includes the following steps:

[0020] Determine whether the number of monitoring screens in each cycle is consistent with the number of interface labels;

[0021] If there is any inconsistency, a warning message will be issued and the abnormal situation will be recorded;

[0022] If they are consistent, it is determined whether the operating data corresponding to the cycle monitoring screen is abnormal. If so, a warning message is issued and the identified abnormal data is recorded. If not, it is determined that the operating data corresponding to the cycle monitoring screen is normal.

[0023] In some embodiments, after performing image recognition on the monitoring image and extracting the corresponding operation data, the method further includes:

[0024] Classifying the monitoring images of all periods according to the interface labels to obtain multiple image sets corresponding to multiple interface labels one by one;

[0025] A change analysis graph of the operating data is generated based on the operating data of each image set.

[0026] In some embodiments, performing image recognition on the monitoring image to extract corresponding operation data includes:

[0027] Preprocessing the monitoring image to obtain a processed image;

[0028] Locating a text area in the processed image according to an interface label corresponding to the processed image;

[0029] The text area is segmented and recognized, and the corresponding operation data is extracted.

[0030] A second aspect of the present invention provides a converter station operation data extraction system, comprising:

[0031] A script generation module, used to generate the simulated mouse script, specifically used to pre-divide the display interface of the converter station monitoring system, obtain a display area for displaying the monitoring interface and a switching area for switching the monitoring interface, and switch the monitoring interface of the display area by clicking the switching area with a simulated mouse;

[0032] A command sending module, used for sending a start command, wherein the start command is used for triggering the operation of a simulated mouse script on a converter station monitoring system;

[0033] A screenshot receiving module, used for receiving the monitoring interface displayed in the display area, taking a screenshot of the monitoring interface, and obtaining a monitoring image;

[0034] The data extraction module is used to perform image recognition on the monitoring image and extract corresponding operation data.

[0035] A third aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0036] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0037] The technical solution provided by the present invention has the following advantages and effects: by running a mouse simulation script in the converter station monitoring system, the occupation of the converter station monitoring system resources is reduced, the normal operation of the converter station monitoring system will not be affected, and there is no need to synchronize all monitoring interfaces to the extraction system. Only the switched monitoring interface is synchronized to the extraction system. Compared with the method of externally sending all real-time data in the prior art, the external sending of a large amount of real-time data at the second level is avoided, and the processor of the converter station monitoring system is prevented from being fully loaded. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flow chart of the method for extracting converter station operation data provided by the present invention;

[0039] Figure 2 It is a connection diagram of the converter station monitoring system and the converter station operation data extraction system provided by the present invention;

[0040] Figure 3 It is a structural block diagram of the converter station operation data extraction system provided by the present invention;

[0041] Figure 4 It is a diagram of the internal structure of a computer device provided in an embodiment of the present invention.

[0042] Explanation of reference numerals: 100, monitoring system host; 200, display; 300, extraction system host; 400, video distributor. DETAILED DESCRIPTION

[0043] In order to facilitate the understanding of the present invention, specific embodiments of the present invention will be described in more detail below with reference to the accompanying drawings.

[0044] Unless otherwise specified or defined, the "first, second..." used in this article is merely used to distinguish names and does not represent a specific quantity or order.

[0045] Unless specifically stated or defined otherwise, the term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0046] It should be noted that, in this document, “fixed to” or “connected to” may mean directly fixing or connecting to an element, or indirectly fixing or connecting to an element.

[0047] like Figure 1 As shown, this embodiment provides a method for extracting converter station operation data, including the following steps S1 to S4:

[0048] Step S1, pre-generating a simulated mouse script, wherein the pre-generating simulated mouse script comprises: pre-dividing a display interface of a converter station monitoring system to obtain a display area for displaying the monitoring interface and a switching area for switching the monitoring interface, and switching the monitoring interface of the display area by clicking the switching area with a simulated mouse;

[0049] Step S2, sending a start command, wherein the start command is used to trigger the operation of a simulated mouse script on the converter station monitoring system;

[0050] Step S3, receiving the monitoring interface displayed in the display area, taking a screenshot of the monitoring interface, and obtaining a monitoring image;

[0051] Step S4: Perform image recognition on the monitoring image to extract the corresponding operation data. In practical applications, the operation data includes monitoring data such as voltage, current and power, and equipment status data such as switches and knife switches. By performing image recognition on the monitoring image and analyzing the key information in the monitoring image, it is convenient to timely discover and handle abnormal situations.

[0052] In practical applications, such as Figure 2 As shown, the converter station monitoring system includes a monitoring system host and a display. The monitoring system host sends the switched monitoring interface to the display and the extraction system host (i.e., the host of the converter station operation data extraction system) synchronously through a video distributor. The converter station monitoring system and the converter station operation data extraction system are connected by video cables and connecting cables. They do not have network communication functions, which can play a good isolation role and will not increase network security risks. The display interface of the display is used to display the operation data of the converter station. The display area and the switching area of ​​the display interface are divided in advance to facilitate the subsequent simulation of mouse clicking on the switching area to achieve the switching of the monitoring interface.

[0053] In practical applications, the start command is triggered by an optocoupler relay, which plays a role of electrical isolation and reduces time delay. The switching area includes multiple interface labels, each of which corresponds to a different monitoring interface. By simulating a mouse click on different interface labels, the display interface of the converter station monitoring system can be automatically switched to the corresponding monitoring interface, and the monitoring interface is synchronized to the extraction system. The extraction system completes the screenshot, which effectively improves the efficiency of operating data extraction and reduces the complexity of manual operation. The present application only synchronizes the switched monitoring interface to the extraction system. Compared with the prior art method of externalizing all real-time data, there is no need to synchronize all monitoring interfaces to the extraction system, which avoids the externalization of a large amount of real-time data at the second level and prevents the converter station monitoring system processor from being fully loaded.

[0054] Furthermore, the switching area includes a plurality of interface labels, each of which corresponds to a different monitoring interface; the switching of the monitoring interface of the display area by simulating a mouse click on the switching area includes:

[0055] Determine the interface label to be selected corresponding to the monitoring interface to be switched according to the preset switching order;

[0056] The central pixel point of the to-be-selected interface label is used as the pixel point for simulating a mouse click, and a simulated mouse click operation is performed on the pixel point to complete the switching of the monitoring interface.

[0057] In actual applications, the switching order is pre-set. The switching order of the monitoring interface can be set according to the importance of the monitoring interface and the degree of correlation between the operating data displayed on the monitoring interface. Multiple interface labels can be arranged in the switching area according to the switching order.

[0058] Further, the receiving the monitoring interface displayed in the display area and taking a screenshot of the monitoring interface includes:

[0059] After sending a first interval time preset by the start command, taking a screenshot of the first monitoring interface received to obtain a monitoring image, wherein the first interval time is determined according to the transmission time of the start command, the execution time of the simulated mouse script and the switching time;

[0060] After the second interval time preset by the screenshot of the previous monitoring image, the received monitoring interface is screenshotted to obtain the monitoring image, until all interface tags are traversed to obtain the first cycle monitoring image, and the second interval time is determined according to the simulated mouse script execution time, the switching time and the screenshot time;

[0061] At every preset third interval, a screenshot of the monitoring interface of the next cycle is received to obtain the monitoring image of the next cycle until the cycle stop condition is reached. The third interval is determined based on the script execution time, switching time and screenshot time of all monitoring interfaces within a cycle.

[0062] In actual applications, the first interval time is greater than the sum of the transmission time of the start command, the execution time of the simulated mouse script and the switching time. The transmission time of the start command is usually less than 50ms. The time required for the display interface to display the screen after the monitoring interface is switched is less than 10ms. The script execution time is less than 10ms. The first interval time can be set to 100ms, which is greater than the sum of the transmission time of the start command, the execution time of the simulated mouse script and the switching time. It can prevent the screen from being missed due to the screen not being displayed after the interface is switched, and prevent the screen from being switched after the interface is switched, resulting in erroneous screenshots. After sending the start command, the converter station monitoring system starts to run the simulated mouse script, and simulates the mouse clicking the first interface label according to the switching order to complete the switching of the monitoring interface. In order to reduce missed screenshots and erroneous screenshots, the system screenshot is extracted 100ms after the start command is sent to obtain the monitoring image of the monitoring interface.

[0063] After taking a screenshot of the first monitoring image, simulate the mouse clicking on the next interface label according to the switching order to complete the switching of the monitoring interface. The second interval time is determined according to the simulated mouse script execution time, switching time and screenshot time. Normally, the script execution time is less than 10ms, the switching time is less than 10ms, and the screenshot time is less than 30ms. The second interval time can be set to 200ms. After the second interval time of taking a screenshot of the first monitoring image, start taking a screenshot of the next monitoring interface to obtain the next monitoring image. Then, according to the switching order, switch and take screenshots of the remaining monitoring interfaces in turn to complete the screenshots of all monitoring interfaces and obtain the first cycle of monitoring images.

[0064] After obtaining the monitoring image of the first cycle, that is, after completing the screenshot of the last monitoring interface in the first cycle, start switching and taking screenshots of the monitoring interface in the next cycle according to the switching order. The third interval time is determined according to the number of monitoring interfaces, script execution time, switching time, and screenshot time. The third interval time is greater than the sum of the script execution time, switching time, and screenshot time of all monitoring interfaces in one cycle. The third interval time can be set to 300ms. After the third interval time of switching the monitoring image in the previous cycle, start switching and taking screenshots of the monitoring interface of the next cycle to obtain the monitoring image of the next cycle, and realize the cyclic collection of monitoring images in sequence until the cycle stop condition is reached, and then stop taking screenshots of the monitoring images. The cycle stop condition can be the number of cycles or the cycle time.

[0065] Furthermore, performing image recognition on the monitoring image to extract corresponding operation data includes:

[0066] Preprocessing the monitoring image to obtain a processed image;

[0067] Locating a text area in the processed image according to an interface label corresponding to the processed image;

[0068] The text area is segmented and recognized, and the corresponding operation data is extracted.

[0069] In practical applications, before recognition, the image is preprocessed, such as denoising, enhancement, binarization and other operations, to improve the recognition accuracy. Different interface labels correspond to different text areas in the monitoring image, and the same type of interface labels correspond to fixed text areas in the monitoring image. The text area in the processed image is located according to the interface label corresponding to the processed image to quickly and accurately locate the text area in the image, and then the text area is further segmented into single characters, and the segmented single characters are analyzed and compared to be identified as specific characters. The identified characters are output as editable text in the original arrangement order to realize the extraction of operating data, which greatly reduces the workload of manual review and improves the efficiency of monitoring the operating data of the converter station.

[0070] Furthermore, after performing image recognition on the monitoring image and extracting the corresponding operation data, the method further includes:

[0071] Classifying the monitoring images of all periods according to the interface labels to obtain multiple image sets corresponding to multiple interface labels one by one;

[0072] A change analysis graph of the operating data is generated based on the operating data of each image set.

[0073] In practical applications, monitoring images are classified according to interface labels, and monitoring images with the same interface label are classified together to form multiple image sets corresponding to multiple interface labels. The operating data corresponding to the monitoring images in the image set are arranged according to the screenshot sequence to generate a change analysis chart of the operating data. Anomaly detection is performed on the change analysis chart, such as treating the operating data that exceeds the normal threshold as abnormal data, thereby realizing the monitoring of the converter station operating data.

[0074] Furthermore, after obtaining each cycle monitoring screen, the abnormal situation is identified, which specifically includes the following steps:

[0075] Determine whether the number of monitoring screens in each cycle is consistent with the number of interface labels;

[0076] If there is any inconsistency, a warning message will be issued and the abnormal situation will be recorded;

[0077] If they are consistent, it is determined whether the operating data corresponding to the cycle monitoring screen is abnormal. If so, a warning message is issued and the identified abnormal data is recorded. If not, it is determined that the operating data corresponding to the cycle monitoring screen is normal.

[0078] In actual applications, by judging whether the number of monitoring screens and the number of interface labels in each cycle are consistent, it is possible to judge whether there are any abnormalities in the monitoring screens obtained by screenshots. If the number of monitoring screens and the number of interface labels in a cycle are inconsistent, it means that there are missed screenshots or wrong screenshots, and a warning message is sent to the operation and maintenance personnel to troubleshoot the problem in time. At the same time, the system will automatically record abnormal situations to provide a basis for subsequent troubleshooting. If the number of monitoring screens and the number of interface labels are consistent in a cycle, the operation data is further analyzed to determine whether the operation data corresponding to the monitoring screens in the cycle has abnormalities such as duplication. If so, a warning message is sent to the operation and maintenance personnel to ensure the efficient and accurate operation of the system.

[0079] The converter station operation data extraction method of the present invention reduces the occupation of converter station monitoring system resources by running a mouse simulation script in the converter station monitoring system, does not affect the normal operation of the converter station monitoring system, and does not need to synchronize all monitoring interfaces to the extraction system. Only the switched monitoring interface is synchronized to the extraction system. Compared with the prior art method of externally sending all real-time data, the external sending of a large amount of real-time data at the second level is avoided, and the converter station monitoring system processor is prevented from being fully loaded.

[0080] like Figure 3 As shown, an embodiment of the present invention further provides a converter station operation data extraction system, comprising:

[0081] The script generation module 10 is used to generate the simulated mouse script, which is specifically used to pre-divide the display interface of the converter station monitoring system to obtain a display area for displaying the monitoring interface and a switching area for switching the monitoring interface, and to switch the monitoring interface of the display area by clicking the switching area with a simulated mouse;

[0082] A command sending module 20, used for sending a start command, wherein the start command is used for triggering the operation of a simulated mouse script on a converter station monitoring system;

[0083] A screenshot receiving module 30 is used to receive the monitoring interface displayed in the display area, take a screenshot of the monitoring interface, and obtain a monitoring image;

[0084] The data extraction module 40 is used to perform image recognition on the monitoring image and extract corresponding operation data.

[0085] In some embodiments, the screenshot receiving module includes the following units not shown in the figure:

[0086] A first interface screenshot unit, used to screenshot a received first monitoring interface to obtain a monitoring image after a first interval time preset by sending a start command, wherein the first interval time is determined according to a transmission time of the start command, an execution time of a simulated mouse script, and a switching time;

[0087] A first cyclic screenshot unit is used to screenshot the received monitoring interface to obtain the monitoring image after a preset second interval time of the previous monitoring image is screenshotted, until the first cycle monitoring image is obtained after traversing all interface tags, and the second interval time is determined according to the simulated mouse script execution time, the switching time and the screenshot time;

[0088] The second cyclic screenshot unit is used to take a screenshot of the monitoring interface of the next cycle received every preset third interval time to obtain the monitoring image of the next cycle until the cycle stop condition is reached. The third interval time is determined based on the script execution time, switching time and screenshot time of all monitoring interfaces within a cycle.

[0089] In some embodiments, the first interval time is greater than the sum of the transmission time of the start command, the simulated mouse script execution time and the switching time, the second interval time is greater than the sum of the simulated mouse script execution time, the switching time and the screenshot time, and the third interval time is greater than the sum of the script execution time, the switching time and the screenshot time of all monitoring interfaces within a period.

[0090] In some embodiments, the switching area includes a plurality of interface tags, each interface tag corresponds to a different monitoring interface; the script generation module includes the following units not shown in the figure:

[0091] A label determination unit, used to determine the to-be-selected interface label corresponding to the monitoring interface to be switched according to a preset switching order;

[0092] The click switching unit is used to use the central pixel point of the to-be-selected interface label as the pixel point for simulating a mouse click, perform a simulated mouse click operation on the pixel point, and complete the switching of the monitoring interface.

[0093] In some embodiments, the converter station operation data extraction system further includes an abnormality identification module, which is used to identify abnormal situations after obtaining each period monitoring screen, and specifically includes the following units not shown in the figure:

[0094] A judging unit, used for judging whether the number of monitoring screens in each cycle is consistent with the number of interface labels, if not, executing the first branch unit, if consistent, executing the second branch unit;

[0095] The first branch unit is used to issue warning information and record abnormal conditions;

[0096] The second branch unit is used to determine whether the operation data corresponding to the periodic monitoring screen is abnormal, if so, execute the third branch unit, if not, execute the fourth branch unit;

[0097] The third branch unit is used to issue a warning message and record the identified abnormal data;

[0098] The fourth branch unit is used to determine whether the operation data corresponding to the periodic monitoring screen is normal.

[0099] In some embodiments, after the screenshot module is switched, the following units not shown in the figure are also included:

[0100] An image classification unit, used to classify monitoring images of all periods according to the interface labels to obtain multiple image sets corresponding to multiple interface labels one by one;

[0101] The analysis chart generating unit is used to generate a change analysis chart of the operation data according to the operation data of each image set.

[0102] In some embodiments, the screenshot switching module includes the following units not shown in the figure:

[0103] An image preprocessing unit, used to preprocess the monitoring image to obtain a processed image;

[0104] A text positioning unit, used to locate the text area in the processed image according to the interface label corresponding to the processed image;

[0105] The segmentation and recognition unit is used to perform character segmentation and recognition on the text area and extract corresponding operation data.

[0106] Each module of the converter station operation data extraction system can be implemented in whole or in part by software, hardware, or a combination thereof. Each module and unit can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0107] like Figure 4 As shown, an embodiment of the present invention discloses a computer device, including a memory and a processor, wherein the memory stores a computer program;

[0108] The computer device may be a server, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the converter station operation data extraction method described in the above embodiments is implemented.

[0109] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0110] An embodiment of the present invention further discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the converter station operation data extraction method described in the above embodiments.

[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A method for extracting converter station operation data, characterized in that: The following steps are involved: Pre-generating a simulated mouse script, the pre-generating simulated mouse script comprising: pre-dividing a display interface of a converter station monitoring system to obtain a display area for displaying the monitoring interface and a switching area for switching the monitoring interface, and switching the monitoring interface of the display area by simulating a mouse clicking on the switching area; Sending a start command, wherein the start command is used to trigger the operation of a simulated mouse script on a converter station monitoring system; Receiving a monitoring interface displayed in the display area, taking a screenshot of the monitoring interface, and obtaining a monitoring image; Perform image recognition on the monitoring image to extract corresponding operation data.

2. The method for extracting converter station operation data according to claim 1, characterized in that: The receiving the monitoring interface displayed in the display area and taking a screenshot of the monitoring interface includes: After sending a first interval time preset by the start command, taking a screenshot of the first monitoring interface received to obtain a monitoring image, wherein the first interval time is determined according to the transmission time of the start command, the execution time of the simulated mouse script and the switching time; After the second interval time preset by the screenshot of the previous monitoring image, the received monitoring interface is screenshotted to obtain the monitoring image, until all interface tags are traversed to obtain the first cycle monitoring image, and the second interval time is determined according to the simulated mouse script execution time, the switching time and the screenshot time; At every preset third interval, a screenshot of the monitoring interface of the next cycle is received to obtain the monitoring image of the next cycle until the cycle stop condition is reached. The third interval is determined based on the script execution time, switching time and screenshot time of all monitoring interfaces within a cycle.

3. The method for extracting converter station operation data according to claim 2, characterized in that: The first interval time is greater than the sum of the transmission time of the start command, the simulated mouse script execution time and the switching time; the second interval time is greater than the sum of the simulated mouse script execution time, the switching time and the screenshot time; the third interval time is greater than the sum of the script execution time, the switching time and the screenshot time of all monitoring interfaces within a cycle.

4. The method for extracting converter station operation data according to claim 1, characterized in that: The switching area includes a plurality of interface labels, each interface label corresponding to a different monitoring interface; The monitoring interface of switching the display area by simulating a mouse click on the switching area includes: Determine the interface label to be selected corresponding to the monitoring interface to be switched according to the preset switching order; The central pixel point of the to-be-selected interface label is used as the pixel point for simulating a mouse click, and a simulated mouse click operation is performed on the pixel point to complete the switching of the monitoring interface.

5. The method for extracting converter station operation data according to claim 4, characterized in that: After obtaining each cycle monitoring screen, identify the abnormal situation, which specifically includes the following steps: Determine whether the number of monitoring screens in each cycle is consistent with the number of interface labels; If there is any inconsistency, a warning message will be issued and the abnormal situation will be recorded; If they are consistent, it is determined whether the operating data corresponding to the cycle monitoring screen is abnormal. If so, a warning message is issued and the identified abnormal data is recorded. If not, it is determined that the operating data corresponding to the cycle monitoring screen is normal.

6. The method for extracting converter station operation data according to claim 4, characterized in that: After performing image recognition on the monitoring image and extracting the corresponding operation data, the method further includes: Classifying the monitoring images of all periods according to the interface labels to obtain multiple image sets corresponding to multiple interface labels one by one; A change analysis graph of the operating data is generated based on the operating data of each image set.

7. The method for extracting converter station operation data according to any one of claims 4 to 6, characterized in that: The performing image recognition on the monitoring image to extract corresponding operation data includes: Preprocessing the monitoring image to obtain a processed image; Locating a text area in the processed image according to an interface label corresponding to the processed image; The text area is segmented and recognized, and the corresponding operation data is extracted.

8. The converter station operation data extraction system is characterized by: include: A script generation module, used to generate the simulated mouse script, specifically used to pre-divide the display interface of the converter station monitoring system, obtain a display area for displaying the monitoring interface and a switching area for switching the monitoring interface, and switch the monitoring interface of the display area by clicking the switching area with a simulated mouse; A command sending module, used for sending a start command, wherein the start command is used for triggering the operation of a simulated mouse script on a converter station monitoring system; A screenshot receiving module is used to receive the monitoring interface displayed in the display area, take a screenshot of the monitoring interface, and obtain a monitoring image; The data extraction module is used to perform image recognition on the monitoring image and extract corresponding operation data.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Parameter identification method and system for non-contact converter station workstation equipment

    CN112183194A

  • Converter station operation monitoring system, method and device, computer equipment and medium

    CN114069865A

  • Indra air traffic control secondary radar monitoring alarm parameter acquisition method

    CN117437583A

Cited By

  • Automatic monitoring method for dispatching system based on plug-in service

    CN120743671A

  • An Automated Monitoring Method for a Scheduling System Based on Add-on Services

    CN120743671B