Method and device for verifying scheduling front channel data
By deploying the verification main program in the substation, automatically controlling the dispatching workstation screenshots and combining them with optical character recognition technology, the problems of inaccurate and burdensome manual verification in data verification between the substation and the dispatching master station were solved, and efficient and accurate automated data verification was achieved.
Patent Information
- Application Number
- CN202211273738.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2042-10-18
AI Technical Summary
In the existing technology, data verification between substations and dispatching master stations mainly relies on manual methods, which is prone to errors and has a heavy workload, resulting in inaccurate verification results.
The main verification program is deployed in the substation to realize automatic data verification by controlling the mouse pointer of the dispatching workstation to automatically scroll and generate screenshot image files, combining optical character recognition technology and point number list comparison.
It improves the accuracy and work efficiency of data verification, reduces the errors and burden of manual verification, and ensures data integrity.
Smart Images

Figure CN115510996B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a method and device for verifying scheduling front-end channel data. Background Art
[0002] At present, monitoring is usually used between substations and dispatching master stations. Since substations are unmanned, in order to ensure the accuracy of data between the substations and the dispatching master station, later staff are required to verify the information of the dispatching master station with the control information of the substation one by one.
[0003] However, manual verification is prone to errors, resulting in inaccurate verification results, and places a heavy workload on dispatching staff. Summary of the Invention
[0004] In view of this, the main purpose of this application is to provide a method and device for verifying scheduling front-end channel data, so as to improve the efficiency and accuracy of data verification.
[0005] A first aspect of the present application provides a method for verifying scheduling front-end channel data, characterized in that the method is executed by a verification main program deployed on a substation, and the method includes:
[0006] Verify that the main program sends a screenshot instruction to the scheduling workstation, so that the scheduling workstation controls the mouse pointer of the scheduling workstation to automatically scroll and take a screenshot of the scheduling front channel data window, and generate a screenshot image file, wherein the screenshot image file contains the first scheduling data on the page where the mouse pointer scrolls;
[0007] Verify that the main program receives the screenshot image file sent by the scheduling workstation;
[0008] The verification main program verifies the first dispatching data with the second dispatching data pre-stored in the substation.
[0009] In some implementations of the first aspect of the present application, the method further includes: a verification main program determining whether the point number of the last row of measurement points in the first scheduling data is consistent with the last point number in the second scheduling data;
[0010] If the point number of the last row of measurement points in the first scheduling data is consistent with the last point number in the second scheduling data, the verification main program sends a stop scrolling instruction to the scheduling workstation, so that the scheduling workstation stops executing the scrolling;
[0011] If the point number of the last row of measurement points in the first scheduling data is inconsistent with the last point number in the second scheduling data, the verification main program triggers the execution of the following steps: the verification main program sends a screenshot instruction to the scheduling workstation.
[0012] In some implementations of the first aspect of the present application, the method further includes: verifying that the main program parses the screenshot image file according to the plain text format CSV to obtain the first scheduling data.
[0013] In some implementations of the first aspect of the present application, the verification main program verifies the first dispatching data with the second dispatching data pre-stored in the substation, including: the verification main program generates a first point number linked list from the first dispatching data, and generates a second point number linked list from the second dispatching data; the verification main program merges the first point number linked list and the second point number linked list, and deletes duplicate items in the first point number linked list and the second point number linked list to obtain a third point number linked list.
[0014] In some implementations of the first aspect of the present application, the verification main program searches the second point number linked list for the first element in the third point number linked list;
[0015] If the verification main program fails to find the first element in the third point number linked list in the second point number linked list, it is determined that the first element in the first point number linked list is a redundant element.
[0016] In certain implementations of the first aspect of the present application, the method further includes: searching for the second element in the third point number linked list in the first point number linked list; if the verification main program does not find the second element in the third point number linked list in the first point number linked list, then the second element is missing in the first point number linked list.
[0017] In some implementations of the first aspect of the present application, the method further includes: verifying that the main program uses the Docker application container engine to load optical character recognition (OCR) to identify the screenshot image file.
[0018] The second aspect of the present application provides a device for verifying scheduling front-channel data, including industrial control equipment and a scheduling workstation, the industrial control equipment and the scheduling workstation are in the same network segment; the industrial control equipment deploys a verification main program, the verification main program is used to execute the method provided by any implementation method in the first aspect of the present application; the scheduling workstation deploys a client program, the client program is used to control the mouse pointer of the scheduling workstation to automatically scroll to take a screenshot of the scheduling front-channel data window, and generate a screenshot image file, the screenshot image file contains the first scheduling data on the page through which the mouse pointer scrolls; the client program is also used to send the screenshot image file to the verification main program.
[0019] A third aspect of the present application provides another device for verifying scheduling front-end channel data, including:
[0020] a sending module, configured to send a screenshot instruction to the scheduling workstation, so that the scheduling workstation controls the mouse pointer of the scheduling workstation to automatically scroll and take a screenshot of the scheduling front channel data window, and generate a screenshot image file, wherein the screenshot image file includes the first scheduling data on the page where the scrolling path of the mouse pointer passes;
[0021] A receiving module, used for receiving the screenshot image file sent by the scheduling workstation;
[0022] The verification module is used to verify the first dispatching data with the second dispatching data pre-stored in the substation.
[0023] In some embodiments of the third aspect of the present application, the device further comprises:
[0024] The judgment module is used to judge whether the point number of the last row of measured points in the first scheduling data is consistent with the last point number in the second scheduling data; if the point number of the last row of measured points in the first scheduling data is consistent with the last point number in the second scheduling data, the verification main program sends a stop scrolling instruction to the scheduling workstation to make the scheduling workstation stop executing scrolling; if the point number of the last row of measured points in the first scheduling data is inconsistent with the last point number in the second scheduling data, the verification main program triggers the execution of the following steps: the verification main program sends a screenshot instruction to the scheduling workstation.
[0025] The parsing module is used to parse the screenshot image file according to the plain text form CSV to obtain the first scheduling data.
[0026] In some implementation methods provided in the third aspect of the present application, the verification module is also used to generate a first point number linked list from the first scheduling data, and generate a second point number linked list from the second scheduling data; merge the first point number linked list and the second point number linked list, and delete duplicate items in the first point number linked list and the second point number linked list to obtain a third point number linked list.
[0027] In some implementations provided in the third aspect of the present application, the apparatus further includes:
[0028] The search module is used to search for the first element in the third dot number chain list in the second dot number chain list; if the first element in the third dot number chain list is not found in the second dot number chain list, the first element in the first dot number chain list is determined to be a redundant element.
[0029] The search module is also used to search for the second element in the third dot number chain list in the first dot number chain list; if the verification main program does not find the second element in the third dot number chain list in the first dot number chain list, the second element is missing in the first dot number chain list.
[0030] In some implementations provided in the first aspect of the present application, the apparatus further includes:
[0031] The recognition module is used to recognize the screenshot image file by using the Docker application container engine to load the optical character recognition (OCR).
[0032] The fourth aspect of the present application provides a computer device including a memory and a processor, wherein the processor is used to execute a program stored in the memory and run a method for verifying scheduling front channel data as provided in any implementation method of the first aspect of the present application.
[0033] Compared with the existing technology, the technical solution provided by this application has the following beneficial effects:
[0034] This application sends instructions to the dispatching workstation through the verification main program, controls the automatic scrolling of the dispatching workstation's mouse pointer, and generates a screenshot image file; wherein, the screenshot image file contains the page that the scrolling path of the mouse pointer passes through; the verification main program verifies the first dispatching data in the screenshot image with the control data pre-stored in the substation. The verification main program is deployed on the substation, and the verification client is deployed on the dispatching workstation, and the verification main program and the verification client are in the same network segment. Automatic scrolling screenshots are achieved by controlling the dispatching workstation through the verification main program, and the generated screenshot image file is verified with the control data pre-stored in the substation, avoiding the situation where the existing technology still uses manual verification methods when the amount of data is large, thereby improving the work efficiency and accuracy of data verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.
[0036] Figure 1 A flowchart of a method for verifying scheduling front-end channel data provided in an embodiment of the present application;
[0037] Figure 2 A flowchart of another method for verifying scheduling front channel data provided by an embodiment of the present application;
[0038] Figure 3 A flowchart of another method for verifying scheduling front channel data provided by an embodiment of the present application;
[0039] Figure 4 A flowchart of another method for verifying scheduling front channel data provided by an embodiment of the present application;
[0040] Figure 5A schematic diagram of the structure of a device for verifying scheduling front-end channel data provided in an embodiment of the present application;
[0041] Figure 6 A schematic diagram of the structure of another device for verifying and scheduling front-end channel data provided in an embodiment of the present application;
[0042] Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0044] The terms "first," "second," "third," "fourth," and the like (if any) in the specification and claims of this application and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0045] The existing power dispatching system still relies on manual verification for consistency verification of front-end channel data on the dispatching side. This method requires staff at the dispatching master station to scroll through the front-end channel data window and compare all measurement point information with the substation control information file one by one to complete the verification. Due to the large amount of data required in actual operations, manual one-by-one comparison places a heavy workload on dispatching staff and is inefficient. The verification process is prone to omissions, posing a potential threat to power grid security.
[0046] In the solution provided in the embodiment of the present application, during the verification process, a verification main program is deployed in the substation to control the dispatching workstation to capture the screen information of the dispatching workstation, and the image information is converted into text form and automatically compared with the control information pre-stored in the substation, thereby eliminating the manpower consumption of manual verification, greatly improving work efficiency, reducing costs, and avoiding the problem that manual verification is more prone to errors.
[0047] In the embodiment of the present application, the process of verifying the scheduling front channel data may include the following devices:
[0048] The substation may include a station-wide monitoring host and system for station monitoring and a dispatching workstation for network maintenance.
[0049] Industrial control equipment, the industrial control equipment deploys a verification main program, and the verification main program is used to control the client program deployed on the scheduling workstation to achieve automatic control.
[0050] The scheduling workstation deploys a client program, wherein the client program is used to control the mouse pointer of the scheduling workstation to automatically scroll to take a screenshot of the scheduling front channel data window and generate a screenshot image file; the client program can also be used to send the screenshot image file to the verification main program.
[0051] It should be noted that the dispatch workstation can also be called a dispatch console. In some embodiments of the present application, the dispatch workstation and the industrial control equipment are in the same network segment. It should be noted that the industrial control equipment can also be other devices used to monitor the operating status of the equipment in real time, and this does not limit the scope of protection of the present application.
[0052] See also Figure 1 , a method for verifying scheduling front channel data provided by an embodiment of the present application includes the following steps:
[0053] S101: The verification main program sends a screenshot instruction to the scheduling workstation, so that the scheduling workstation controls the mouse pointer of the scheduling workstation to automatically scroll to take a screenshot of the scheduling front channel data window and generate a screenshot image file, wherein the screenshot image file includes the first scheduling data on the page where the mouse pointer scrolls;
[0054] The main verification program remotely monitors the dispatch workstation, while the dispatch workstation executes actions and provides feedback to the remote control of the main verification program. It should be noted that data between the main verification program and the dispatch workstation can be transmitted bidirectionally.
[0055] The dispatch front channel data window is a page on the dispatch workstation device. Specifically, the automatic scrolling method can be that the verification main program controls the dispatch workstation's mouse cursor to automatically scroll the scroll bar of the dispatch front channel data window and automatically take a screenshot. Each scroll is taken once, and the point number and information description of all measuring points are retained and uploaded to the verification main program. It can be understood that the scrolling method is intended to ensure that all data is captured.
[0056] The first dispatching data is the dispatching information in the display window of the dispatching workstation, which may be telesignaling data, telemetry data, and the like.
[0057] It should be noted that a virtual button for screenshot can also be set up, and the screenshot command can be linked to the virtual button to automatically locate the page where the measurement point information that needs to be screenshotted is located. When the main program of verification issues the screenshot command, enter the corresponding measurement point information to complete the screenshot of the scheduling front channel data window.
[0058] S102: Verify that the main program receives the screenshot image file sent by the scheduling workstation;
[0059] S103: The verification main program verifies the first dispatching data with the second dispatching data of the substation.
[0060] The second dispatch data may be an Extensible Markup Language (XML) file derived by the verification main program after parsing the substation's original information. It should be noted that the XML file may be mapped into four types of remote data, which are then stored, and the pre-stored second dispatch data may be generated based on the stored four types of remote data. The four types of remote data may be any one or a combination of telemetry data, telesignaling data, remote control data, and remote adjustment data.
[0061] Specifically, the verification benchmark is the substation control information table, which can be pre-stored in the verification main program. In some implementations, the substation point number linked list can also be switched to the control information table in real time when verification is required, and then the verification is performed.
[0062] It should be noted that before verification, this application can identify whether the equipment meets the operating conditions by comparing the operation with the control information. If the identification result is in compliance, the conditions for remote control are met. The deployment and verification procedure is adopted to transform the traditional manual operation that is tedious, repetitive, and prone to errors into an automatic mode with one-button control and automatic execution of the operation process. When a programmed operation process ends, the next operation process is started until the process ends.
[0063] Figure 1 The process shown verifies the dispatching data in the screenshot image file generated by the dispatching workstation against the dispatching data pre-stored in the substation, thereby reducing the possibility of errors caused by verifying only the data of the dispatching workstation.
[0064] See also Figure 2 This application also provides another method for verifying the scheduling front channel data. Because the workstation mouse cursor may become sticky, the scroll command is not executed successfully, resulting in the inability to capture image files for some measurement points. To ensure that the serial number and information description image files of all measurement points are captured, this embodiment of the application adds a comparison to see if the measurement points in the screenshot meet the conditions, which specifically includes the following steps:
[0065] S201: The main verification program determines whether the point number of the last row of measurement points in the first scheduling data is consistent with the last point number in the second scheduling data.
[0066] Specifically, the last row is the last row of the last page of the scheduling front channel data window scrolled during the screenshot operation. The data in the last row is used to ensure that the data scrolled to by the mouse cursor is complete. It should be noted that other comparison methods can also be used to avoid incomplete data in the screenshot image file. For example, the first scheduling data and the second scheduling data can be obtained first, and the length of the first scheduling data can be calculated to determine whether it is consistent with the length of the second scheduling data.
[0067] In other embodiments of the present application, it is also possible to determine whether the content data in the screenshot image file is complete by calculating the content similarity between the first scheduling data and the second scheduling data.
[0068] S202: If the point number of the last row of measurement points in the first scheduling data is consistent with the last point number in the second row of measurement data, the scheduling workstation stops executing the scrolling.
[0069] If the judgment result is consistent, there is no need to execute the subsequent steps to ensure the integrity of the intercepted data, so as to save program resources and will not be repeated here.
[0070] S203: If the point number of the last row of measurement points in the first scheduling data is inconsistent with the last point number in the second scheduling data, the scheduling workstation continues to execute scrolling.
[0071] In some implementations, S203 may be performed periodically.
[0072] The execution order of S202 and S203 can be interchanged or performed simultaneously.
[0073] exist Figure 2 In the embodiment of the present application shown, in order to verify the integrity of the data itself before obtaining the verification result, the data integrity of the screenshot image file before verification is added. In this way, the serial number and information description image file of all measuring points are captured, which is more accurate than the technical solution of manual verification in the existing technology that is prone to data omissions.
[0074] See also Figure 3 This application also provides another method for verifying the scheduling front channel data. After step S102, a parsing process can be added, and the parsed file is used to generate a point number table for subsequent verification and comparison. The method specifically includes the following steps:
[0075] S301: The main verification program parses the screenshot image file according to the plain text format (Comma Separated Values, CSV) to obtain the first scheduling data.
[0076] It should be noted that the parsing form can also be parsed using other formats, which does not affect the execution of the embodiments of the present application.
[0077] S302: Verify that the main program generates a first point number linked list from the first scheduling data, and generates a second point number linked list from the second scheduling data.
[0078] The first point number linked list is for verifying the screenshot image file generated by the main program controlling the display window of the scheduling workstation. It can be understood that the first point number linked list is the point number linked list of the scheduling workstation.
[0079] The second point number linked list corresponds to the point number linked list of the substation. This table can be pre-generated and saved in the substation, or it can be transferred in real time, which does not affect the implementation of this embodiment of the present application.
[0080] S303: Merge the first point number linked list and the second point number linked list, delete duplicate items in the first point number linked list and the second point number linked list, and obtain a third point number linked list.
[0081] For example, the first scheduling data is first exported to generate an XML file as the first point number list, and the first point number list is represented as list_xls. The second scheduling data can also be obtained by parsing the screenshot image file using CSV, and the second point number list is represented as list_csv. The two lists are merged and duplicate items are removed to obtain the list list_combine.
[0082] Specifically, after removing duplicate items, the newly generated linked list can also be re-sorted or processed, which does not affect the implementation of this embodiment of the present application.
[0083] Adding a step to remove duplicates avoids multiple verifications of unnecessary data, which would otherwise create unnecessary redundancy in the database processor. This not only improves data verification efficiency but also increases data accuracy. It is understood that duplicates can occur when the dispatching workstation's point table information is identical to the substation's point table information. If the point table data is identical, no further verification is required.
[0084] The execution order of S302 and S303 can be performed successively or simultaneously.
[0085] S304: The verification main program searches for the first element in the third point number chain list in the second point number chain list; if the verification main program does not find the first element in the third point number chain list in the second point number chain list, it is determined that the first element in the first point number chain list is a redundant element.
[0086] For example, if we traverse each element in list_combine and search for it in list_xls, if it is not found, it means that this element is "redundant". The redundancy here can be understood as the presence of redundant elements in the first point number list. The first point number list can also be understood as the point number list of the scheduling workstation.
[0087] Traversal is a method for screening, searching and concatenating elements, and may also be any other method for querying, such as retrieval, etc., which does not affect the implementation of this embodiment of the present application.
[0088] S305: The verification main program searches the first point number chain list for the second element in the third point number chain list; if the verification main program does not find the second element in the third point number chain list in the first point number chain list, the second element is missing in the first point number chain list.
[0089] For example, traverse each element in list_combine and search in list_csv. If it is not found, it means that this element is "missing". The missing here can be understood as the missing element in the first dot number linked list.
[0090] The execution order of S304 and S305 can be interchanged or performed simultaneously.
[0091] visible, Figure 3 The process shown not only reduces the possibility of multiple verification of data that does not need to be verified, but also improves the efficiency of verifying data.
[0092] See also Figure 4 This application also provides another method for verifying scheduling front-end channel data, which can add an identification step to identify the screenshot image file after it is generated, specifically including the following steps:
[0093] S101: Verify that the main program sends a screenshot instruction to the scheduling workstation so that the scheduling workstation controls the mouse pointer of the scheduling workstation to automatically scroll to take a screenshot of the scheduling front channel data window and generate a screenshot image file. The screenshot image file contains the first scheduling data on the page where the mouse pointer's scrolling path passes.
[0094] S102: The main verification program receives the screenshot image file sent by the scheduling workstation.
[0095] S401: The main verification program uses the Docker application container engine to load the optical character recognition (OCR) to recognize the screenshot image file.
[0096] The verification main program uses the Docker application engine to load the optical character recognition (OCR) text image recognition image file, performs image processing on all the front channel data window screenshots, and obtains the required measurement point number and information description information.
[0097] It should be noted that an image refers to running a program in a Docker container, and an image file is the program to be run. The main purpose of using a Docker container is to recognize text data in an image. In some implementations, the text in the screenshot image file can also be recognized and then the recognized file can be verified, which does not affect the implementation of this embodiment of the application.
[0098] S103: The verification main program verifies the first dispatching data with the second dispatching data of the substation.
[0099] visible, Figure 4 The process shown adds an identification step after generating the screenshot image file before verifying the data, avoiding data omissions caused by directly verifying the screenshot image file and improving the accuracy of subsequent verification.
[0100] like Figure 5 As shown, the embodiment of the present application also provides an example of the composition of a device for verifying scheduling front-end channel data, including an industrial control device 501 and a scheduling workstation 502, and the industrial control device and the scheduling workstation are in the same network segment.
[0101] The dispatching workstation 502 may also be other forms such as power grid dispatching equipment, which is not limited here.
[0102] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the device. In other embodiments, the device may include more or fewer components than shown, or may combine or separate other components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0103] See also Figure 6 The embodiment of the present application further provides a structural block diagram of another device for verifying and scheduling front-end channel data, including:
[0104] The sending module 601 is used to send a screenshot instruction to the scheduling workstation so that the scheduling workstation controls the mouse pointer of the scheduling workstation to automatically scroll and take a screenshot of the scheduling front channel data window, and generate a screenshot image file, wherein the screenshot image file includes the first scheduling data on the page where the mouse pointer scrolls;
[0105] Receiving module 602, used for receiving the screenshot image file sent by the scheduling workstation;
[0106] The verification module 603 is used to verify the first scheduling data with the second scheduling data pre-stored in the substation. The verification module 603 is also used to generate a first point number linked list from the first scheduling data and a second point number linked list from the second scheduling data; merge the first point number linked list and the second point number linked list, and delete the duplicate items in the first point number linked list and the second point number linked list to obtain a third point number linked list.
[0107] In other embodiments of the present application, the device may further include:
[0108] The judgment module is used to judge whether the point number of the last row of measured points in the first scheduling data is consistent with the last point number in the second scheduling data; if the point number of the last row of measured points in the first scheduling data is consistent with the last point number in the second scheduling data, the verification main program sends a stop scrolling instruction to the scheduling workstation to make the scheduling workstation stop executing scrolling; if the point number of the last row of measured points in the first scheduling data is inconsistent with the last point number in the second scheduling data, the verification main program triggers the execution of the following steps: the verification main program sends a screenshot instruction to the scheduling workstation.
[0109] In other embodiments of the present application, the apparatus may further include: a parsing module configured to parse the screenshot image file according to a plain text format CSV to obtain first scheduling data.
[0110] In other embodiments of the present application, the device may also include: a search module for searching for the first element in the third dot number list in the second dot number list; if the first element in the third dot number list is not found in the second dot number list, it is determined that the first element in the first dot number list is a redundant element.
[0111] In some specific embodiments, the search module is also used to search for the second element in the third dot number list in the first dot number list; if the verification main program does not find the second element in the third dot number list in the first dot number list, then the second element is missing in the first dot number list.
[0112] In some other embodiments of the present application, the device may further include: an identification module, configured to identify the screenshot image file by using a Docker application container engine to load optical character recognition (OCR).
[0113] like Figure 7 As shown, the embodiment of the present application further provides a computer device, including: a memory 701, a processor 702;
[0114] Wherein, the memory 701 is used to store programs;
[0115] The processor 702 is used to execute the program in the memory to achieve the above Figures 1 to 4 A method for verifying scheduling front-end channel data is described in.
[0116] Finally, it should be noted that, in the embodiments of the present application, relational terms such as first and second, etc., are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0117] The above description of the disclosed embodiments will enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein, but is to be construed in the widest manner consistent with the principles and novel features disclosed herein.
Claims
1. A method for verifying scheduling front channel data, characterized in that: The method is executed by a verification main program deployed on the substation, and the method includes: Verify that the main program sends a screenshot instruction to the scheduling workstation, so that the scheduling workstation controls the mouse pointer of the scheduling workstation to automatically scroll to take a screenshot of the scheduling front channel data window, and generate a screenshot image file, wherein the screenshot image file contains the first scheduling data on the page where the scrolling path of the mouse pointer passes; The verification main program receives the screenshot image file sent by the scheduling workstation; The verification main program verifies the first dispatching data with the second dispatching data pre-stored in the substation; The main verification program verifies the first dispatching data with the second dispatching data pre-stored in the substation, including: The main verification program generates a first point number linked list from the first scheduling data, and generates a second point number linked list from the second scheduling data; The verification main program merges the first point number linked list and the second point number linked list, and deletes duplicate items in the first point number linked list and the second point number linked list to obtain a third point number linked list.
2. The method according to claim 1, characterized in that The method further comprises: The main verification program determines whether the point number of the last row of measurement points in the first scheduling data is consistent with the last point number in the second scheduling data; If the point number of the last row of measurement points in the first scheduling data is consistent with the last point number in the second scheduling data, the verification main program sends a stop scrolling instruction to the scheduling workstation, so that the scheduling workstation stops executing the scrolling; If the point number of the last row of measurement points in the first scheduling data is inconsistent with the last point number in the second scheduling data, the verification main program triggers the execution of the following steps: the verification main program sends a screenshot instruction to the scheduling workstation.
3. The method according to claim 1, characterized in that The method further comprises: The main verification program parses the screenshot image file according to the plain text format CSV to obtain the first scheduling data.
4. The method according to claim 1, wherein The method further comprises: The main verification program searches the second point number chain list for the first element in the third point number chain list; If the main verification program fails to find the first element in the third dot number linked list in the second dot number linked list, it is determined that the first element in the first dot number linked list is a redundant element.
5. The method according to claim 1, wherein The method further comprises: Searching the first point number linked list for the second element in the third point number linked list; If the verification main program fails to find the second element in the third dot number linked list in the first dot number linked list, then the second element is missing in the first dot number linked list.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The main verification program uses the Docker application container engine to load optical character recognition (OCR) to identify the screenshot image file.
7. A device for verifying scheduling front channel data, characterized in that: It includes industrial control equipment and a dispatching workstation, wherein the industrial control equipment and the dispatching workstation are in the same network segment; The industrial control equipment deployment verification main program is used to execute the method according to any one of claims 1 to 6; The scheduling workstation deploys a client program, the client program is used to control the mouse pointer of the scheduling workstation to automatically scroll to take a screenshot of the scheduling front channel data window, and generate a screenshot image file, the screenshot image file contains the first scheduling data on the page where the scrolling path of the mouse pointer passes; The client program is further configured to send the screenshot image file to the main verification program.
8. A device for verifying scheduling front channel data, characterized in that: include: a sending module, configured to send a screenshot instruction to the scheduling workstation, so that the scheduling workstation controls the mouse pointer of the scheduling workstation to automatically scroll and take a screenshot of the scheduling front channel data window, and generate a screenshot image file, wherein the screenshot image file includes the first scheduling data on the page through which the scrolling path of the mouse pointer passes; A receiving module, configured to receive the screenshot image file sent by the scheduling workstation; a verification module, configured to verify the first dispatching data with second dispatching data pre-stored in the substation; The verification module is specifically used to: Generate a first point number linked list based on the first scheduling data, and generate a second point number linked list based on the second scheduling data; The first point number linked list and the second point number linked list are merged, and duplicate items in the first point number linked list and the second point number linked list are deleted to obtain a third point number linked list.
9. A computer device, characterized in that: The device includes a memory and a processor, and the processor is configured to execute a program stored in the memory and run the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Automatic point aligning and accepting method for front multi-channel interface of power dispatching system
CN112769238A