Substation communication checking method and device, storage medium and electronic equipment
By receiving substation information points and determining the transmission cycle based on time delay, the problem of unsatisfactory communication verification efficiency between the substation and the main station is solved, and the safety and efficient verification of power grid operation are achieved.
Patent Information
- Application Number
- CN202510212694.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-05-27
AI Technical Summary
In the prior art, the communication verification efficiency between the substation and the main station is not ideal, resulting in an increase in the safety risk of power grid operation.
By receiving multiple information points sent by the substation, the transmission cycle between the main station and the substation is determined based on the information transmission delay, and the test is carried out in the predetermined point table information sequence, and the consistency of the test results and point table information is checked to determine the communication status of the substation.
It realizes precise control of the transmission cycle of information points, improves the efficiency of substation communication and verification, and ensures the safety of power grid operation.
Smart Images

Figure CN120050307A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power detection technology, and in particular to a substation communication verification method, device, storage medium and electronic equipment. Background Art
[0002] With the rapid development of the power industry, the scale of the power grid continues to expand, the network structure is becoming increasingly complex, and the safety risks of power grid operation are also increasing. Any small fault may trigger a chain reaction, leading to serious consequences such as large-scale power outages. Therefore, accurate verification of the information of the power grid centralized control automation system has become a key link to ensure the safe operation of the power grid.
[0003] At present, the verification of information in electric centralized control automation system often adopts manual verification method, which is inefficient, difficult to ensure accuracy, and has a large workload and high labor intensity. Automatic verification is realized by the cooperation between station-side test equipment and master-station test equipment. The station-side test equipment sends information according to the point table sequence, and the master-station test equipment receives the information in sequence and verifies the image, thereby completing the automatic information point-to-point work according to the point table sequence.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a substation communication verification method, device, storage medium and electronic device to at least solve the technical problem of unsatisfactory communication verification efficiency between the substation and the master station existing in the related art.
[0006] According to one aspect of an embodiment of the present application, a substation communication verification method is provided, including: receiving multiple information points sent by the substation; determining a sending cycle for testing between a master station and the substation based on information transmission delays corresponding to the multiple information points, wherein the master station is used to perform control processing on the substation; testing the substation using a sending cycle according to a measurement point sequence indicated by a predetermined point table information to obtain a test result; verifying the consistency of the test result and the point table information to determine the communication status of the substation.
[0007] Optionally, multiple information points respectively carry a sending timestamp marked when the substation sends it, and the method also includes: marking each received information point to obtain a receiving timestamp corresponding to the multiple information points; based on the sending timestamps and receiving timestamps corresponding to the multiple information points, determining the information transmission delay corresponding to the multiple information points.
[0008] Optionally, based on the information transmission delays corresponding to multiple information points, the sending period for testing the master station and the substation is determined, including: processing the information transmission delays corresponding to multiple information points to obtain an average delay; processing the average delay according to a predetermined multiple to obtain a sending period.
[0009] Optionally, according to the order of measuring points indicated by the predetermined point table information, a sending cycle is used to test the substation to obtain test results, including: in the case of multiple substations, according to the identifications corresponding to the multiple substations, based on the point table information corresponding to the multiple substations, sorting them, and determining the test process for cross-testing the multiple substations; according to the test process, using the sending cycles corresponding to the multiple substations to obtain the test results corresponding to the multiple substations.
[0010] Optionally, the master station is provided with a master station test device, and the substation is provided with a station-end test device, and the master station test device and the station-end test device communicate with each other in an encrypted manner by wire or wirelessly.
[0011] Optionally, the master station test equipment and the station-end test equipment are respectively provided with a timing interface. Before receiving multiple information points sent by the substation, the method also includes: obtaining a reference time through the timing interface of the master station test equipment; using the reference time, adjusting the time baseline of the master station test equipment and the time baseline of the station-end test equipment to the same state.
[0012] Optionally, the master station test equipment also includes a test logic control unit to check the consistency of the test results and the point table information and determine the communication status of the substation, including: using the test logic control unit to perform text recognition and / or image recognition on the test results to obtain identification information; when the identification information is consistent with the point table information, determining that the communication status is normal.
[0013] According to another aspect of an embodiment of the present application, a substation communication verification device is provided, including: a receiving module for receiving multiple information points sent by the substation; a period determination module for determining the sending period for testing between the master station and the substation based on the information transmission delays corresponding to the multiple information, wherein the master station is used to perform control processing on the substation; a testing module for testing the substation using the sending period according to the measurement point sequence indicated by the predetermined point table information to obtain the test result; and a verification module for verifying the consistency between the test result and the point table information to determine the communication status of the substation.
[0014] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the substation communication verification methods.
[0015] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the substation communication verification methods.
[0016] In the embodiment of the present application, multiple information points sent by the substation are received; based on the information transmission delays corresponding to the multiple information points, the sending cycle for testing between the master station and the substation is determined, wherein the master station is used to perform control processing on the substation; according to the order of measurement points indicated by the predetermined point table information, the sending cycle is used to test with the substation to obtain the test results; the consistency of the test results and the point table information is verified to determine the communication status of the substation. The purpose of accurately controlling the sending cycle of the information points and automatically performing communication verification at the master station is achieved, and the technical effect of improving the verification efficiency of communication verification of the substation is achieved, thereby solving the technical problem of unsatisfactory communication verification efficiency between the substation and the master station existing in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 is a flow chart of an optional substation communication verification method provided according to an embodiment of the present application;
[0019] Figure 2 It is a station-side test equipment architecture diagram of an optional substation communication verification method provided according to an embodiment of the present application;
[0020] Figure 3 It is a master station test equipment architecture diagram of an optional substation communication verification method provided in an embodiment of the present application;
[0021] Figure 4 It is a principle block diagram of an optional substation communication verification method provided according to an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of an optional substation communication verification device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] The automated point-to-point work provided in the related technology still has deficiencies, for example: there is no information exchange between the station-side test equipment and the master station test equipment, the test cannot be started at the same time, and there is no time reference. The station-side test equipment sends sequentially by manually setting the time delay. The time setting process increases the overall test time, which is not conducive to improving the efficiency of information point-to-point verification. There is no information exchange between the master station test equipment and the terminal test equipment, and it is impossible to realize the automated information verification of a master station test equipment and multiple station-side test equipment.
[0026] In response to the above problems, an embodiment of the present application provides an embodiment of a method for substation communication verification. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] Figure 1 is a flow chart of a substation communication verification method according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0028] Step S102, receiving multiple information points sent by the substation;
[0029] It can be understood that the master station can be provided with a master station test device, and start receiving multiple information points sent by the station-side test device set by the substation according to the preset point table (i.e., point table information). The information points are sent in a fixed order, and each information point carries a timestamp recorded by the station-side test device when sending, which is used to identify the sending time of the information point.
[0030] In an optional embodiment, the master station is provided with a master station test device, and the substation is provided with a station-end test device. The master station test device and the station-end test device communicate with each other in an encrypted manner by wire or wirelessly.
[0031] It can be understood that the master station is equipped with master station test equipment, while the substation is equipped with station-side test equipment. Encrypted communication is used between the master station test equipment and the station-side test equipment to ensure the confidentiality and integrity of information during transmission. The communication method can be carried out through wired or wireless communication. When the physical distance between the master station and the substation is close, such as in the same venue, the master station test equipment and the station-side test equipment can be directly connected through wired communication methods such as network cables or optical fibers, which has the advantages of high speed, stability and low latency. When the distance between the master station and the substation is far, such as distributed in different geographical locations, the master station test equipment and the station-side test equipment can be connected through 4 / 5G wireless communication. It provides extremely high flexibility and convenience in long-distance communication, and with the development of 5G technology, its transmission speed and stability are also constantly improving. Whether it is wired or wireless communication, encrypted communication is used to interact to prevent data from being intercepted or tampered with by a third party during transmission.
[0032] Through the above settings, encrypted communication can effectively prevent the leakage of sensitive information in the external network and ensure the security of power grid automation information during transmission. It supports synchronous testing between a master station test device and multiple station-side test devices, so that the automation information of multiple substations can be verified at the same time, which significantly improves the overall efficiency and scope of the verification work.
[0033] Optionally, Figure 2 is a station-side test equipment architecture diagram of an optional substation communication verification method provided in an embodiment of the present application, such as Figure 2 As shown, the station-side test equipment consists of a station-side data communication unit, a station-side clock synchronization unit, a station-side test logic control unit and a station-side data interaction unit.
[0034] The station-side data communication unit is an interactive communication module between the terminal test equipment and the main station test equipment;
[0035] The station-side clock synchronization unit is an input module for receiving external standard time;
[0036] The station-side test logic control unit is the main logic unit for the station-side test equipment to perform tests at fixed time intervals based on the point table information after obtaining the point table;
[0037] The station-side data exchange unit is a digital communication module for the station-side test equipment to communicate with the telecontrol device. Currently, it mainly uses 104 protocol (ie IEC 60870-5-104) and 61850 protocol (ie IEC 61850).
[0038] The 104 protocol is used for long-distance data transmission between a remote terminal unit, also known as a remote terminal unit (RTU) or an intelligent electronic device (IED) and a master station (such as a dispatch center). The 104 protocol implements data communication through a TCP / IP (Transmission Control Protocol / Internet Protocol) network, and defines the format and encoding of data transmission and the control mechanism during the communication process. It uses the TCP / IP protocol and is suitable for long-distance communication and network environments. It supports data verification and error detection to ensure the accuracy of information transmission. Through the retransmission mechanism, it ensures that data is fully transmitted even when the network is in poor condition. Telecontrol devices are usually deployed on-site at power facilities such as substations and power plants. They are responsible for collecting operating data of on-site equipment (such as circuit breakers, transformers, protection devices, etc.), including telemetry (such as voltage, current, power, etc.), telesignaling (such as switch position, alarm signals, etc.) and remote control (such as switch operation, equipment control, etc.) information, and then send these data to the master station through the communication network for dispatching.
[0039] The functions of the telecontrol device include: collecting various operating data and status information of the on-site equipment, such as voltage, current, power, temperature, position status, etc. According to the received control instructions, the on-site equipment is operated accordingly, such as switching circuits, adjusting equipment parameters, etc. A local human-machine interface is provided to allow on-site operation and maintenance personnel to view equipment status and historical data, and to operate and troubleshoot equipment.
[0040] The 61850 protocol is an object-oriented communication protocol that aims to use a set of standardized methods to describe the functions, data and communications of substation automation equipment, thereby achieving interoperability between equipment from different manufacturers. The 61850 protocol includes: Information model: used to describe the functions, status and parameters of the equipment, and all IEDs follow this model. Communication service mapping: defines the mapping relationship between the information model and specific communication services, including GOOSE (Generic Object Oriented Substation Event) for fast event transmission, MMS (Manufacturing Message Specification) for complex control and data exchange, and SMV (Sampled Measured Value) for the transmission of analog data.
[0041] Figure 3 is a master station test equipment architecture diagram of an optional substation communication verification method provided in an embodiment of the present application, such as Figure 3 As shown, the master station test equipment is also composed of a master station data communication unit, a master station clock synchronization unit, a master station test logic control unit and a master station data interaction unit.
[0042] The master station data communication unit is an interactive communication module between the master station test equipment and the terminal test equipment;
[0043] The master station clock synchronization unit is an input module for receiving external standard time;
[0044] The main station test logic control unit is the main module of the main station test equipment's graphic analysis function and information verification and judgment function. It judges the information according to the point table information. At the same time, the test logic control unit is also the main module of the communication logic control between the main station test equipment and the station-side test equipment.
[0045] The master station data interaction unit is the interaction module between the master station test equipment and the master station background. This communication is an interaction protocol provided by the master station manufacturer. The master station background is mainly responsible for the core control, data processing and information management functions of the power automation system, and is the information hub and control center of the entire system. The master station background receives information point data from the station-side test equipment and telecontrol devices by connecting to the data interaction unit of the master station test equipment. These data include telemetry, telesignaling and telecontrol information. The master station background needs to process these data in real time, including data parsing, storage and analysis, to monitor the operating status of the power system.
[0046] In an optional embodiment, the master station test equipment and the station-end test equipment are respectively provided with a timing interface. Before receiving multiple information points sent by the substation, the method also includes: obtaining a reference time through the timing interface of the master station test equipment; using the reference time, adjusting the time baseline of the master station test equipment and the time baseline of the station-end test equipment to the same state.
[0047] It can be understood that both the master station test equipment and the station-side test equipment are equipped with a timing interface to achieve time synchronization between the two devices and ensure the accuracy and consistency of automated information verification. Before starting to receive multiple information points sent by the substation, the master station test equipment uses its timing interface to receive accurate reference time signals from an external reference time server. After the master station test equipment obtains the reference time, it will adjust its own time baseline to be consistent with the reference time through its timing interface. This reference time is a reference for time synchronization of all devices, with high accuracy, and can ensure that the master station and all substations operate under a unified time scale.
[0048] Through the above steps, the master station test equipment and the station-side test equipment can be synchronized to the same time baseline before starting the automated information verification. When the station-side test equipment starts to send information points, the master station test equipment can accurately record the reception time of the information points, eliminating the verification errors caused by the differences in the time bases of different devices. Time synchronization can ensure the accurate execution of the automated information verification process, such as the sending cycle and receiving order of information points. All these time-related parameters are based on the same reference time, thereby improving the accuracy and predictability of the verification process.
[0049] Optionally, it is configured as an integrated detection system, which is composed of a master station test device and one (or more) station-side test devices. A time synchronization interface is added to the master station test device and the station-side test device to receive external reference time. The master station test device can communicate via wired (network cable or optical fiber, when the distance is short, such as in the same laboratory) or wireless (using 4 / 5G communication, when the distance is far, such as in two different substations), and the station-side test device and the master station test device communicate and interact, and information interaction increases data encryption.
[0050] The station-side test equipment and the main station test equipment form an automated information verification system. The automated system information intelligent verification system integrates multiple artificial intelligence technologies such as text and image recognition, automatic screen jump, remote control automatic operation, etc., to realize the automatic verification of the information of the power grid centralized control automation system;
[0051] The station-side test equipment is equipped with a GPS / B code / 1588 timing interface, which can receive external standard time. The master station test equipment is equipped with a GPS / B code / 1588 timing interface, which can receive external standard time. GPS (Global Positioning System) and B code (B Time Code, a time coding standard) provide a high-precision global unified time reference, while the 1588 protocol (IEEE 1588 Precision Time Protocol) allows devices in the network to perform precise time synchronization, maintaining nanosecond-level time synchronization accuracy even over long distances. Through these timing interfaces, real-time time reference synchronization can be achieved between devices, ensuring that the sending and receiving times of information points are accurately marked during the automated information verification process, thereby improving the accuracy and reliability of the verification.
[0052] In an optional embodiment, the master station test equipment also includes a test logic control unit to check the consistency of the test results and the point table information and determine the communication status of the substation, including: using the test logic control unit to perform text recognition and / or image recognition on the test results to obtain identification information; when the identification information is consistent with the point table information, determining that the communication status is normal.
[0053] It can be understood that the master station test equipment not only has the ability to receive and record automated information points, but also integrates a test logic control unit, which is responsible for the verification of automated information points, identifies the text and / or image content in the test results, and compares it with the preset point table information to evaluate the communication status between the substation and the master station. After receiving the information point sent by the substation test equipment, the test logic control unit of the master station test equipment uses the pre-trained text recognition and image recognition technology to parse the text description and image content in the information point, generate corresponding identification information, and can quickly and accurately extract the key data of the information point. After the identification information is generated, the test logic control unit will compare the identification information with the pre-prepared point table information. The point table information contains the expected text description and image content, as well as the correct format and structure of these contents. The purpose of the comparison is to verify whether the received information point fully meets the preset point table standard. If the identification information is completely consistent with the point table information, the test logic control unit will determine that the communication status between the substation and the master station is normal, which means that the transmission of the information point is accurate. On the contrary, if the identification information is different from or missing from the point table information, the test logic control unit will mark the test as failed and may trigger further troubleshooting or repair mechanisms.
[0054] Step S104, based on the information transmission delays respectively corresponding to the multiple information points, determining the transmission cycle for the master station and the substation to perform the test, wherein the master station is used to perform the control processing on the substation;
[0055] It can be understood that the master station test equipment set up in the master station will calculate the information transmission delay from sending to receiving for each information point.
[0056] In an optional embodiment, multiple information points respectively carry a sending timestamp marked when the substation sends it, and the method also includes: marking each received information point to obtain a receiving timestamp corresponding to the multiple information points; based on the sending timestamps and receiving timestamps corresponding to the multiple information points, determining the information transmission delay corresponding to the multiple information points.
[0057] It can be understood that the information point is not only the communication content between the substation and the master station, but also carries the time attribute, namely the sending timestamp and receiving timestamp. The introduction of this timestamp mechanism allows the master station to accurately measure the transmission delay of each information point, thereby evaluating the performance and stability of the overall communication system. When the substation sends the information point through the station-side test equipment, each information point will be automatically marked with a sending timestamp at the moment it is sent. This timestamp records the departure time of the information point on the substation side and provides a starting point for subsequent delay calculations. After the master station test equipment receives the information point, it immediately stamps it with a receiving timestamp to record the exact time when the information point arrives at the master station. This timestamp provides a reference time for the end point of the transmission process of each information point, and together with the sending timestamp, it constitutes the basis for calculating the transmission delay.
[0058] By comparing the sending timestamp and receiving timestamp of each information point, the master station test equipment can calculate the transmission delay of the information point from the substation to the master station. This delay not only includes the network transmission time, but also may include the processing time on the substation side and the master station side. In the test scenario of a remote substation, the timestamp mechanism overcomes the uncertainty of the delay caused by the geographical distance, ensuring that the reliability and accuracy of the test results can be guaranteed regardless of the distance between the substation and the master station.
[0059] In an optional embodiment, based on the information transmission delays corresponding to multiple information points, the sending period for testing the master station and the substation is determined, including: processing the information transmission delays corresponding to the multiple information points to obtain an average delay; processing the average delay according to a predetermined multiple to obtain a sending period.
[0060] It can be understood that, first, the master station test equipment collects the sending and receiving timestamps of all information points, and calculates the transmission delay of each information point based on these timestamps. Subsequently, all these transmission delays are statistically analyzed to calculate the average delay T1. The average delay represents the average time taken for an information point to be sent from the substation to the master station, and is an indicator for evaluating the baseline performance of network transmission. Based on the calculated average delay T1, the master station test equipment will multiply T1 according to a predetermined multiplication factor N (preferably N is set to be greater than 1, such as 1.5 or 2), and the obtained information point sending period T = N * T1 is used as the time interval for the station-side test equipment to send information points, ensuring that each information point has enough time to be successfully received by the master station during the transmission process, avoiding information point overlap or loss due to network delays or processing time fluctuations.
[0061] By setting a sending cycle slightly longer than the average delay, it is possible to minimize unnecessary waiting time while ensuring reliable transmission of information points, thereby improving the overall efficiency of automated information verification. This strategy of dynamically adjusting the sending cycle makes the test process more compact, reduces redundant time, and speeds up verification.
[0062] Step S106, testing the substation using a sending cycle according to the order of the test points indicated by the predetermined point table information to obtain a test result;
[0063] It can be understood that the station-side test equipment set up in the substation starts to interact with the master station in accordance with the measurement point sequence indicated by the point table information according to the sending cycle. The master station test equipment set up in the master station records the time of receiving the information point according to the point table information and the preset sequence, and performs corresponding processing and verification.
[0064] In an optional embodiment, the test points are tested with the substation in the order indicated by the predetermined point table information using a sending cycle to obtain test results, including: in the case of multiple substations, according to the identifications corresponding to the multiple substations, based on the point table information corresponding to the multiple substations, the multiple substations are sorted to determine a test process for cross-testing the multiple substations; according to the test process, the sending cycles corresponding to the multiple substations are used to obtain the test results corresponding to the multiple substations.
[0065] It can be understood that each substation is assigned a unique ID number for identification in the master station test equipment. The point table information of each substation is collected, and the point table information lists in detail the trigger value, transmission format and order of the automation information points that need to be verified. Based on the above-collected substation ID identification and point table information, the master station test equipment performs intelligent sorting through the integrated test logic control unit to determine the optimal test process for cross-testing multiple substations. Cross-testing means that the master station test equipment will interact with multiple station-end test equipment through wired or wireless means, control each station-end equipment to send information points in its specific order, and synchronously receive and verify them on the master station side. For each substation, the master station test equipment will dynamically calculate an optimal sending cycle based on the information transmission delay between the station-end equipment and the master station. This cycle will ensure the accurate reception of information points during transmission, while minimizing unnecessary waiting time and improving test efficiency. The master station test equipment controls the station-end equipment to send information points according to the test process, and receives and processes these information points accordingly. The test results of each substation will be analyzed based on its specific transmission cycle and point table sequence, and finally a corresponding test report will be generated, including the transmission and reception time of each information point, verification results and potential fault points.
[0066] Through cross-testing and personalized sending cycle settings, this embodiment can significantly improve the efficiency of automated information verification for multiple substations. The precise time synchronization between the station-side equipment and the master station and the intelligent scheduling based on ID identification make the test process more compact, reduce unnecessary waiting time, and speed up the test.
[0067] It should be noted that it is assumed that automatic information verification is required for substations A, B, and C. Without cross-testing, each substation needs to be tested separately in turn, which will take a long time. After cross-testing, the master station test equipment first synchronizes the time of the three substations, and plans an alternating test process based on their respective point table information and information point sending cycles. For example, the information point sending cycle of substation A is T1, B is T2, and C is T3. The master station equipment can be arranged to start verifying the information points of substation A at the same time within T1, and then perform in-depth testing on substation B in the next cycle T2. At the same time, substations A and C are in a state of waiting or executing other test tasks. In this way, the overall test process is more compact, which helps to improve efficiency.
[0068] Step S108, checking the consistency of the test result and the point table information, and determining the communication status of the substation.
[0069] It can be understood that the master station is set as the master station test equipment will check all the received information points to see if the content of the information points is consistent with the point table information, and whether the order of receiving the information points is as expected. If the test results of all information points are completely consistent with the point table information, then it can be determined that the communication status between the substation and the master station is good; otherwise, there may be a communication problem, which needs further investigation and repair.
[0070] Optionally, the above-mentioned verification processing of the test results and point table information can be performed by the main station test equipment set in the main station test equipment. It can also be completed by the main station test equipment through the client set in the main station background, through interaction with the remote server. The client takes screenshots according to the calibration configured measurement point point number sequence and measurement point trigger cycle and transmits them to the server. The server extracts the screenshot information through the text and image recognition library, and then generates the verification results through logical judgment. After all measurement points are verified, the server automatically generates a verification result report for the entire station information.
[0071] Through the above step S102, multiple information points sent by the substation are received; step S104, based on the information transmission delays corresponding to the multiple information points, the sending cycle of the test between the master station and the substation is determined, wherein the master station is used to perform control processing on the substation; step S106, according to the measurement point sequence indicated by the predetermined point table information, the sending cycle is used to test with the substation to obtain the test result; step S108, the consistency of the test result and the point table information is checked to determine the communication status of the substation. The purpose of accurately controlling the sending cycle of the information point and automatically performing communication verification at the master station is achieved, and the technical effect of improving the verification efficiency of the communication verification of the substation is achieved, thereby solving the technical problem of unsatisfactory communication verification efficiency between the substation and the master station existing in the related technology.
[0072] Based on the above embodiments and optional embodiments, the present application proposes an optional implementation mode: Figure 4 is a principle block diagram of an optional substation communication verification method provided according to an embodiment of the present application, such as Figure 4 As shown, it is applied to automatic verification of automated information in centralized control stations. The centralized control station is the master station, and the plant station is the substation at the station end. The detection system consists of a master station test device and one (or more) station end test devices. The master station test device and the station end test device are equipped with a time synchronization interface to receive external reference time. The master station test device can communicate via wired (network cable or optical fiber, when the distance is short, such as in the same laboratory) or wireless (using 4 / 5G communication, when the distance is far, such as in two different substations), and the station end test device and the master station test device communicate and interact, and the information interaction increases data encryption.
[0073] The station-side test equipment and the main station test equipment form an automated information verification system. The automated system information intelligent verification system integrates multiple artificial intelligence technologies such as text and image recognition, automatic screen jump, remote control automatic operation, etc., to realize the automatic verification of the information of the power grid centralized control automation system;
[0074] The station-side test equipment has a GPS / B code / 1588 timing interface and can receive external standard time;
[0075] The main station test equipment has a GPS / B code / 1588 time synchronization interface and can receive external standard time;
[0076] The station-end device has an independent ID (Identification) number. When a master station test device is connected to multiple terminal test devices, the master station test device can communicate and interact with the station-end test device through a unique ID number;
[0077] The station-side equipment tests and sends the automation information points at fixed intervals. Through the station-side test equipment and the main station test equipment, the communication between the telecontrol device and the main station background is obtained, and the most efficient sending time is automatically formed;
[0078] The main station test equipment communicates with multiple terminal test equipment, can automatically control the sending order of multiple station-end test equipment, and realize automated sequential testing to improve test efficiency.
[0079] The process of automated information verification can be handled in the following steps:
[0080] Step S1, collect the information of the substation to be verified, including the substation monitoring information table XLS file (Excel Spreadsheet) that has been reviewed and approved, the wiring diagram screen file (SVG or G language format), the telesignaling, telemetry, and remote control data table model file (including the mapping relationship between the keyword ID and the 104 point number), and the front-end real-time database table file (CSV or TXT format). SVG (Scalable Vector Graphics) is an XML-based vector graphics format used to describe two-dimensional graphics and graphic effects. The wiring diagram screen file uses the SVG format to facilitate the clear display of wiring diagram information on devices of different sizes and resolutions. G language (Graphical Exchange Language) is a standard format for exchanging graphical models of power systems, and is often used to describe the topological structure and equipment connection relationship of power networks. The wiring diagram screen file may be stored in the G language format to facilitate the exchange and processing of graphic data in the power automation system. The 104 point number refers to the information point number in the IEC 60870-5-104 protocol. In the telesignaling, telemetering, and telecontrol data table model files, the 104 dot notation is used to map with the keyword ID to achieve precise control and verification of substation automation information. CSV (Comma-Separated Values) is a file format used to store tabular data, where columns are separated by commas and rows are separated by line breaks. The front-end real-time database table file may use the CSV format to facilitate the import and export of real-time data. TXT (Text File) is a plain text file format that can be used to store various text data. Similar to CSV, TXT files can also be used to store data in real-time database tables to facilitate data reading and processing.
[0081] Step S2, establish a communication relationship between the master station test device and the terminal test device. The master station test device identifies whether it is the terminal test device of the current test connection through the unique ID number.
[0082] Step S3, test the communication delay between the terminal test device and the main station test device, use the terminal test device to send multiple information points, mark the sending timestamp, receive the information points at the main station test device, mark the timestamp, calculate the time delay from the same information point sent by the terminal test device to the reception of the main station device, repeat multiple test points, and obtain the average delay T1. And take 1.5 times the average delay as the terminal test device information point sending cycle time T.
[0083] Step S4, configure the measurement point trigger value of the substation section to be verified, set the measurement point trigger period T, export the trigger project XML file, and send it to the station end test equipment through the master station test equipment.
[0084] Step S5, after the system configuration is ready, the master station test device and the terminal test device set the same start time, and the master station test device sends the start time to the terminal test device. When the start time is reached, the terminal test device starts to send the first information point, and the master station test device starts to record. After T time, the terminal test device sends the second information point, and the master station starts to record the second information point, and so on.
[0085] Step S6, information verification and telecontrol simulation signal triggering start synchronously. The client takes screenshots according to the calibration configured measurement point number sequence and measurement point trigger cycle and transmits them to the server. The server extracts the screenshot information through the text and image recognition library, and then generates the verification result through logical judgment. After all measurement points are verified, the server automatically generates the whole station information verification result report.
[0086] Step S7: the master station test equipment notifies the station end test equipment that the test is finished.
[0087] If there are multiple station-side test devices, the master station device needs to configure the mapping relationship between multiple station-side test devices and send the test configuration to the station-side test devices. The master station test device communicates with the terminal test device, obtains the ID numbers of multiple station-side test devices, and arranges the working sequence of the station-side test devices. The master station test device manages the test process in a unified manner to realize the serialized test operation of multiple station-side test devices. When the first terminal test device is finished, the master station test device controls to jump to step S3 and start a new terminal test device test, and so on.
[0088] The above optional implementation method achieves at least the following effects: adding an external standard time interface so that the test terminal device and the test main station device are under the same time reference, and can realize single-side control test on the main station side or the station side, without the need for cooperation of multiple people, to realize automatic detection. Through the interaction between the station-side test device and the main station test device, the optimal test delay between the terminal test device and the station-side test device is analyzed to improve the test efficiency. It can realize the sequential test of docking one main station test device with multiple terminal test devices, and can improve the work efficiency of multi-station information verification. It inherits all the advantages of automatic information verification without affecting the existing tests, and improves and perfects on the basis of the existing tests to improve the work efficiency of automatic information verification.
[0089] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0090] In this embodiment, a substation communication verification device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the terms "module" and "device" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0091] According to an embodiment of the present application, a device embodiment for implementing a substation communication verification method is also provided. Figure 5 is a schematic diagram of a substation communication verification device according to an embodiment of the present application, such as Figure 5 As shown, the above-mentioned substation communication verification device includes: a receiving module 502, a period determination module 504, a testing module 506, and a verification module 508. The device is described below.
[0092] The receiving module 502 is used to receive multiple information points sent by the substation;
[0093] The cycle determination module 504 is connected to the receiving module 502 and is used to determine the transmission cycle of the master station and the substation for testing based on the information transmission delays corresponding to the multiple information points, wherein the master station is used to perform control processing on the substation;
[0094] The test module 506 is connected to the cycle determination module 504 and is used to perform a test with the substation using a sending cycle according to the order of the test points indicated by the predetermined point table information to obtain a test result;
[0095] The verification module 508 is connected to the test module 506 and is used to verify the consistency of the test results and the point table information and determine the communication status of the substation.
[0096] In a substation communication verification device provided by an embodiment of the present application, a receiving module 502 is set to receive multiple information points sent by the substation; a period determination module 504 is connected to the receiving module 502, and is used to determine the sending period of the master station and the substation for testing based on the information transmission delays corresponding to the multiple information points, wherein the master station is used to perform control processing on the substation; a test module 506 is connected to the period determination module 504, and is used to test the substation using the sending period according to the measurement point sequence indicated by the predetermined point table information to obtain the test result; a verification module 508 is connected to the test module 506, and is used to verify the consistency of the test result and the point table information, and determine the communication status of the substation. The purpose of accurately controlling the sending period of the information point and automatically performing communication verification at the master station is achieved, and the technical effect of improving the verification efficiency of the communication verification of the substation is achieved, thereby solving the technical problem of unsatisfactory communication verification efficiency between the substation and the master station existing in the related technology.
[0097] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0098] It should be noted that the receiving module 502, the period determination module 504, the testing module 506, and the checking module 508 correspond to steps S102 to S108 in the embodiment, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the modules as part of the device can be run in a computer terminal.
[0099] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0100] The above-mentioned substation communication verification device may also include a processor and a memory, and the receiving module 502, the period determination module 504, the test module 506, the verification module 508, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0101] The processor includes a kernel, which retrieves the corresponding program unit from the memory. There can be one or more kernels. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0102] An embodiment of the present application provides a non-volatile storage medium on which a program is stored. When the program is executed by a processor, a substation communication verification method is implemented.
[0103] The embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program stored in the memory and can be run on the processor. When the processor executes the program, the following steps are implemented: receiving multiple information points sent by the substation; determining the sending cycle for testing the master station and the substation based on the information transmission delays corresponding to the multiple information, wherein the master station is used to perform control processing on the substation; testing the substation using the sending cycle according to the order of measurement points indicated by the predetermined point table information to obtain the test results; verifying the consistency of the test results and the point table information to determine the communication status of the substation. The device in the present application can be a server, a PC, etc.
[0104] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: receiving multiple information points sent by a substation; determining a sending cycle for testing a master station and a substation based on information transmission delays corresponding to the multiple information points, wherein the master station is used to perform control processing on the substation; testing the substation using a sending cycle according to a measurement point sequence indicated by a predetermined point table information to obtain a test result; and verifying the consistency of the test result and the point table information to determine the communication status of the substation.
[0105] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0106] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0107] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0109] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0110] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0111] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0112] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0113] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0114] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A substation communication verification method, characterized in that: include: Receive multiple information points sent by the substation; Determine a transmission period for testing between the master station and the substation based on information transmission delays corresponding to the multiple information points, wherein the master station is used to perform control processing on the substation; According to the order of the measuring points indicated by the predetermined point list information, the transmission cycle is used to perform the test with the substation to obtain the test result; The consistency of the test result and the point table information is checked to determine the communication status of the substation.
2. The method according to claim 1, characterized in that The multiple information points respectively carry a sending timestamp marked when the substation sends the information, and the method further includes: Marking each received information point to obtain receiving timestamps corresponding to the multiple information points respectively; Based on the sending timestamps and receiving timestamps respectively corresponding to the multiple information points, the information transmission delays respectively corresponding to the multiple information points are determined.
3. The method according to claim 1, characterized in that The determining, based on the information transmission delays respectively corresponding to the plurality of information points, a transmission cycle for the master station and the substation to perform the test comprises: Processing the information transmission delays respectively corresponding to the plurality of information points to obtain an average delay; The average delay is processed according to a predetermined multiple to obtain the sending period.
4. The method according to claim 1, characterized in that The step of performing the test with the substation in the order of the test points indicated by the predetermined point table information and using the sending cycle to obtain the test result includes: In the case where there are multiple substations, the multiple substations are sorted according to their corresponding identifiers and based on the point table information respectively corresponding to the multiple substations, to determine a test process for cross-testing the multiple substations; According to the test process, the sending cycles respectively corresponding to the multiple substations are adopted to obtain the test results respectively corresponding to the multiple substations.
5. The method according to any one of claims 1 to 4, characterized in that: The master station is provided with a master station test device, and the substation is provided with a station-end test device. The master station test device and the station-end test device perform encrypted communication in a wired or wireless manner.
6. The method according to claim 5, characterized in that The master station test equipment and the station end test equipment are respectively provided with a time synchronization interface. Before receiving the multiple information points sent by the substation, the method further includes: Obtaining the reference time through the time synchronization interface of the master station test equipment; The reference time is used to adjust the time baseline of the master station test equipment and the time baseline of the station-end test equipment to the same state.
7. The method according to claim 5, characterized in that The master station test equipment also includes a test logic control unit, and the checking of the consistency between the test result and the point table information and determining the communication status of the substation includes: Using the test logic control unit, performing text recognition and / or image recognition on the test result to obtain identification information; When the identification information is consistent with the point table information, it is determined that the communication status is normal.
8. A substation communication verification device, characterized in that: include: A receiving module, used for receiving multiple information points sent by the substation; A cycle determination module, used to determine the transmission cycle of the master station and the substation for testing based on the information transmission delays respectively corresponding to the multiple information points, wherein the master station is used to perform control processing on the substation; A test module, used to perform a test with the substation using the sending cycle according to the order of the test points indicated by the predetermined point table information to obtain a test result; The verification module is used to verify the consistency between the test result and the point table information, and determine the communication status of the substation.
9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the substation communication verification method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the substation communication verification method described in any one of claims 1 to 7.