Real-time data forwarding system and method for power dispatching automation system
Technical Field
The invention relates to a real-time data forwarding system and method for a power dispatching automation system, and belongs to the technical field of power automation.
Background
At present, the wide application of big data technology in six links of transmission, transformation, regulation, distribution and use of the smart grid becomes a key core technology for promoting the innovative development of the smart grid. An enterprise-level data platform based on a cloud architecture is produced in the power industry, and a real-time data cloud platform facing the field of power grid dispatching is a more typical enterprise-level data platform. The method is characterized in that real-time data real-time query service of the regional power grid is one of core functions of a cloud platform, the regional power grid is divided into 2 levels of the whole country and the provinces, real-time data of the regional power grid at the present stage are distributed and stored in each level of scheduling system, and the cloud platform gathers the real-time data of the whole network in a mode that each scheduling system forwards the real-time data to the cloud platform.
The current scheduling system forwards data through IEC-104/DL476 protocol, and the idea of the mode is as follows: configuration information such as a data point table, protocol parameters and the like is agreed and manually input into a scheduling system and a cloud platform database respectively, the scheduling system acquires data from an SCADA application real-time base, packages the data into protocol messages and then sends the protocol messages to the cloud platform through a TCP/IP protocol. The disadvantages are that: the data forwarding has larger time delay and high complexity of data forwarding configuration, and can not meet the requirements of fast convergence and maintenance-free of cloud platform data.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, provides a real-time data forwarding system and a real-time data forwarding method for a power dispatching automation system, and solves the technical problems that data forwarding in the prior art is prolonged, configuration complexity is high, and the requirements of fast convergence and maintenance-free of cloud platform data cannot be met.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: a real-time data forwarding system of a power dispatching automation system comprises the power dispatching automation system, a real-time data cloud platform, a TCP message collector and a TCP message forwarding server, wherein the TCP message collector is connected with a transmission layer of a data acquisition server of the power dispatching automation system;
the TCP message collector acquires a real-time data message from a transmission layer of a data acquisition server of the power dispatching automation system and pushes the real-time data message to a message bus; and the TCP message forwarding server acquires the real-time data message through the message bus and forwards the real-time data message to the data acquisition server of the real-time data cloud platform.
The TCP message forwarding server comprises a TCP message forwarding module and a protocol configuration synchronization module;
TCP message forwarding module: transmitting the real-time data message from a transmission layer, a network layer, a link layer and a physical layer of a TCP message forwarding server to a physical layer of a data acquisition server of a real-time data cloud platform through a TCP/IP protocol;
protocol configuration synchronization module: extracting protocol configuration from a database of the power dispatching automation system, and synchronizing the protocol configuration to an application layer of a data acquisition server of a real-time data cloud platform;
and the data acquisition server of the real-time data cloud platform analyzes the real-time data message according to the protocol configuration acquired by the application layer.
The TCP message collector is a plug-in of the data acquisition server.
The invention also provides a real-time data forwarding method of the power dispatching automation system, and the real-time data messages output by the plant station are transmitted to a transmission layer of a data acquisition server of the power dispatching automation system and then are transmitted to the data acquisition server of the real-time data cloud platform through the TCP message forwarding server.
The specific method for acquiring the real-time data message by the TCP message forwarding server is as follows:
monitoring a transmission layer of a data acquisition server of the power dispatching automation system in real time, acquiring a real-time data message from the transmission layer of the data acquisition server of the power dispatching automation system, and pushing the real-time data message to a message bus of the power dispatching automation system;
the TCP message forwarding server obtains the real-time data message from the message bus.
The method for forwarding the real-time data message to the real-time data cloud platform by the TCP message forwarding server comprises the following steps:
and sending the real-time data message from a transmission layer, a network layer, a link layer and a physical layer of the TCP message forwarding server to a physical layer of a data acquisition server of the real-time data cloud platform through a TCP/IP protocol.
The real-time data forwarding method of the power dispatching automation system further comprises the following steps:
the TCP message forwarding server extracts protocol configuration from a database of the power dispatching automation system, the protocol configuration is synchronously and directly sent to an application layer of a data acquisition server of the real-time data cloud platform, and the data acquisition server of the real-time data cloud platform analyzes the real-time data messages according to the acquired protocol configuration.
Compared with the prior art, the invention has the following beneficial effects: data forwarding does not pass through an application layer of the power dispatching automation system, so that data forwarding logic is simplified, and data forwarding time delay is shortened; real-time data messages carried in the TCP messages are organized according to an electric power telecontrol communication protocol (such as IEC104/DL476), and a data acquisition module (application layer) of the real-time data cloud platform directly adopts the protocol configuration of the electric power dispatching automation system to analyze the real-time data messages, so that additional configuration is not required to be constructed, and the complexity of data forwarding configuration is reduced; the real-time data cloud platform takes the power dispatching automation system as a medium, receives real-time data indirectly from a plant station, completely senses the change process of power grid operation data, and improves the application analysis capability of the cloud platform.
Drawings
Fig. 1 is a block diagram of a real-time data forwarding system of an automatic power dispatching system according to the present invention.
Detailed Description
The real-time data forwarding logic of the power dispatching automation system (called dispatching system for short) is lowered from an application layer of a TCP/IP five-layer model to a transmission layer, the dispatching system receives real-time power grid operation data from a plant station based on a TCP/IP protocol, and after the data reaches the transmission layer of the dispatching system, the data is controlled to be continuously transmitted to two directions, one is longitudinally transmitted to the application layer of the dispatching system, and the other is transversely distributed to the transmission layer of a real-time data cloud platform (called cloud platform for short). By adopting the data forwarding system and the method provided by the invention, data forwarding does not pass through the application layer of the scheduling system, forwarding logic is simplified, and data forwarding time delay is shortened; real-time data messages carried in the TCP messages are organized according to an electric power telecontrol communication protocol (such as IEC104/DL476), and a data acquisition module (application layer) of the real-time data cloud platform directly adopts the protocol configuration of the scheduling system to analyze the real-time data messages, so that extra configuration is not required to be constructed, and the complexity of data forwarding configuration is reduced.
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
As shown in fig. 1, the real-time data forwarding system of the power dispatching automation system provided by the invention comprises a data acquisition server, a real-time data cloud platform, a TCP message collector and a TCP message forwarding server, wherein the TCP message forwarding server comprises a TCP message forwarding module and a protocol configuration synchronization module. The TCP message collector is connected with the transmission layer of the data acquisition server and is connected with the TCP message forwarding module through a message bus. And the protocol configuration synchronization module is connected with a database of the power dispatching automation system and a data acquisition module (application layer) of the real-time data cloud platform. The TCP message collector is designed as a plug-in, and the message collection process has no influence on the data acquisition service of the dispatching system.
The TCP message (including a real-time data message) is sent by a factory station, and is transmitted to a transmission layer of a TCP/IP five-layer model of a data acquisition server of a scheduling system through a power scheduling data network, and then is continuously transmitted to two directions, one path of the TCP message is continuously transmitted to an application layer of the TCP/IP five-layer model of the data acquisition server of the scheduling system, the other path of the TCP message is acquired by a TCP message collector, the TCP message collector pushes the real-time data message in the TCP message to a message bus, a TCP message forwarding module acquires the real-time data message through the message bus, the real-time data message is transmitted to a physical layer of the data acquisition server of a real-time data cloud platform from the transmission layer, a network layer, a link layer and the physical layer of the TCP message forwarding server through a TCP/IP protocol, and then is sequentially transmitted to the. The protocol configuration synchronization module extracts protocol configuration from a database of the dispatching system and then sends a data acquisition module (application layer) of a data acquisition server of the real-time data cloud platform, and the data acquisition module (application layer) of the real-time data cloud platform directly adopts the protocol configuration of the power dispatching automation system to analyze the real-time data messages without constructing additional configuration.
The real-time data forwarding method of the power dispatching automation system can be realized by adopting the forwarding system, and comprises the following steps:
monitoring a transmission layer of a data acquisition server of the power dispatching automation system in real time, acquiring a real-time data message from the transmission layer of the data acquisition server of the power dispatching automation system, and pushing the real-time data message to a message bus of the power dispatching automation system;
the TCP message forwarding server acquires a real-time data message from a message bus, transmits the real-time data message from a transmission layer, a network layer, a link layer and a physical layer of the TCP message forwarding server to a physical layer of a data acquisition server of a real-time data cloud platform through a TCP/IP protocol, and then sequentially transmits the real-time data message to the link layer, the network layer and an application layer of the data acquisition server of the real-time data cloud platform;
and extracting protocol configuration from a database of the power dispatching automation system, synchronously and directly sending the protocol configuration to an application layer of a data acquisition server of the real-time data cloud platform, and analyzing the real-time data message by the real-time data cloud platform according to the protocol configuration acquired by the application layer.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.