A Dual-Master Operation Method and System for a Data Communication Network Shutdown Device
By adopting a dual-main operation method in the data communication gateway and using the synchronous private network connection between the two gateways, the low reliability and missed data transmission in the prior art is solved, and high-reliability data transmission is achieved.
Patent Information
- Application Number
- CN202211506638.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-11-28
AI Technical Summary
The existing dual-machine synchronization method of data communication gateways is low in reliability when processing data missed, and cannot effectively eliminate missed, and will cause system paralysis when the backup machine fails.
The data communication gateway dual-main operation method is adopted, and the real-time data and communication status of each spacer device are obtained through two data communication gateways. If there is an abnormal communication status, another data communication gateway will be used to obtain the data of the abnormal spacer device, and the stability of data transmission is ensured through a synchronous private network connection.
It effectively solves the problem of data missed, improves the reliability of data transmission, avoids the problem of system paralysis due to backup failure, and improves the reliability of the entire system.
Smart Images

Figure CN115865641B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system data communication, and in particular relates to a data communication gateway machine dual-master operation method and system. Background Art
[0002] During the production and operation of substations, power plants and new energy plants, it is necessary to transmit real-time monitoring data of the operation of power grids and power plants to remote control centers and master station systems. These real-time monitoring data mainly include telemetry, telesignaling, remote control and telepulse data. Among them, telesignaling data must avoid retransmission and omission as much as possible.
[0003] The retransmission of telesignaling data will increase the complexity of the maintenance and use of the master station and the read and write load of the real-time database, reducing the timeliness of the telesignaling data; the omission of telesignaling data will cause the status monitored by the master station system to be inconsistent with the actual equipment operation status. Both of the above situations will cause the operation and maintenance personnel to misjudge the current operation status of the smart substation, which will bring great safety hazards to the operation of the power system.
[0004] As a key device for remote monitoring of power systems, data communication gateways play an important role as a bridge in the data transmission process between the master station system and substations, power plants and other stations. They are generally configured in a dual configuration. In order to avoid data retransmission and omission, the dual-machine synchronization method is currently commonly used: the data that has been successfully forwarded by a data communication gateway is synchronized to another gateway to ensure that the other data communication gateway no longer sends the same data to the master station, that is, the data is not retransmitted. Although this method effectively solves the problem of data non-retransmission, data omission can only be solved through a dual redundancy mechanism, and it is impossible to effectively prevent data omission. For example, when the access data of the two gateways are inconsistent, the data transmitted to the master station system are different, that is, omission occurs.
[0005] In order to solve the problem of data leakage, the Chinese invention patent with application publication number CN108111355A discloses a data communication gateway and its method, device, and medium for synchronizing data. Specifically, it discloses that in the master-slave mode, when the communication between the host and the interval layer device is abnormal, the corresponding telesignaling data is obtained by the standby machine and sent to the master station. This method effectively solves the problem of data leakage when facing a master station. However, when the standby machine communicates abnormally with the interval layer device, it will have a serious impact on the entire system and the reliability is low. Summary of the invention
[0006] The object of the present invention is to provide a data communication gateway dual-master operation method and system for solving the problem of low reliability of the data synchronization method in the prior art.
[0007] To achieve the above object, the present invention provides a dual-master operation method for a data communication network shutdown device. The data communication network shutdown device includes a first data communication network shutdown device and a second data communication network shutdown device that are respectively communicatively connected to each substation layer device. The first data communication network shutdown device is communicatively connected to a main station, and the second data communication network shutdown device is communicatively connected to another main station. Both data communication network shutdown devices perform the following steps:
[0008] Obtain the in-station real-time data and communication status of each substation layer device, transmit the obtained in-station real-time data to the corresponding main station, and judge the communication status of each substation layer device;
[0009] If there is a substation layer device with abnormal communication status, obtain the in-station real-time data of the substation layer device with abnormal communication status through the other data communication network shutdown device and transmit it to the corresponding main station.
[0010] The beneficial effects are as follows: In the dual-master operation method of the data communication network shutdown device of the present invention, when there is communication abnormality between the two data communication network shutdown devices, the substation layer device with communication abnormality can be accurately determined, and then the other data communication network shutdown device is used to obtain the in-station real-time data of the substation layer device with communication abnormality, and finally the missing in-station real-time data in the two data communication network shutdown devices is supplemented and sent to the main stations connected to them respectively by the two data communication network shutdown devices. This not only effectively solves the problem of missed transmission, but also avoids the problem of system paralysis caused by the failure of the standby machine in the prior art, and has high reliability.
[0011] Further, both data communication network shutdown devices perform the following steps:
[0012] If there is a substation layer device with abnormal communication status, generate corresponding abnormal communication data;
[0013] Send the abnormal communication data to the other data communication network shutdown device, and obtain the feedback data sent by the other data communication network shutdown device, and transmit the received feedback data to the corresponding main station; the feedback data is the in-station real-time data of the substation layer device with communication abnormality;
[0014] If the abnormal communication data sent by the other data communication network shutdown device is received, determine the corresponding feedback data according to the received abnormal communication data and send it to the other data communication network shutdown device.
[0015] The beneficial effects are as follows: The data communication network shutdown device sends the abnormal communication data to the other data communication network shutdown device, so that it can accurately know that there is a substation layer device with abnormal communication status in the local machine and return the corresponding in-station real-time data, further ensuring the reliability in the data transmission process.
[0016] Further, a synchronous private network connection is adopted between the two data communication network shutdown devices.
[0017] Its beneficial effects are as follows: The two data communication network shutdown devices are connected by a synchronous private network, ensuring that when the data transmission network at other positions of the data communication network shutdown device is abnormal, the two data communication network shutdown devices can still operate normally for information transmission, further improving the stability of data transmission.
[0018] To achieve the above object, the present invention provides a dual-master operation system for a data communication network shutdown device, including a first data communication network shutdown device, a second data communication network shutdown device, and multiple interval layer devices. The first data communication network shutdown device and the second data communication network shutdown device are both connected to each interval layer device; the first data communication network shutdown device is used for communication connection with a first master station, and the second data communication network shutdown device is used for communication connection with a second master station; the first data communication network shutdown device is connected to the second data communication network shutdown device, and both data communication network shutdown devices perform the following steps:
[0019] Obtain the in-station real-time data and communication status of each interval layer device, transmit the obtained in-station real-time data to the corresponding master station, and judge the communication status of each interval layer device;
[0020] If there is an interval layer device with an abnormal communication status, obtain the in-station real-time data of the interval layer device with the abnormal communication status through another data communication network shutdown device and transmit it to the corresponding master station.
[0021] Its beneficial effects are as follows: In the dual-master operation system of the data communication network shutdown device of the present invention, by judging the communication status of each connected interval layer device, the interval layer device with communication abnormality and the missing in-station real-time data are accurately determined. Then, another data communication network shutdown device is used to obtain the in-station real-time data of the interval layer device with communication abnormality, and finally the missing in-station real-time data in the two data communication network shutdown devices is supplemented and sent to the master stations connected to them by the two data communication network shutdown devices respectively. This not only effectively solves the problem of missed transmission, but also avoids the problem of system paralysis caused by the failure of the standby machine in the prior art, and has high reliability.
[0022] Further, both data communication network shutdown devices perform the following steps:
[0023] If there is an interval layer device with an abnormal communication status, generate corresponding abnormal communication data;
[0024] Send the abnormal communication data to another data communication network shutdown device, and obtain the feedback data sent by another data communication network shutdown device, and transmit the received feedback data to the corresponding master station; the feedback data is the in-station real-time data of the interval layer device with communication abnormality;
[0025] If abnormal communication data sent by another data communication network shutdown machine is received, corresponding feedback data is determined according to the received abnormal communication data and sent to the other data communication network shutdown machine.
[0026] Its beneficial effect is that: by sending abnormal communication data to another data communication network shutdown machine, the data communication network shutdown machine can accurately know that there is an interval layer device with abnormal communication status in this machine and return the corresponding in-station real-time data, further ensuring the reliability in the data transmission process.
[0027] Furthermore, a synchronous private network connection is adopted between the two data communication network shutdown machines.
[0028] Its beneficial effect is that: a synchronous private network connection is adopted between the two data communication network shutdown machines, ensuring that when there is an abnormality in the data transmission network at other positions of the data communication network shutdown machine, the two data communication network shutdown machines can still operate normally for information transmission, further improving the stability of data transmission. Description of the Drawings
[0029] Figure 1 It is a schematic structural diagram of the dual-master operation system of the data communication network shutdown machine in the system embodiment of the present invention;
[0030] Figure 2 It is a schematic diagram of dual-machine synchronization between two data communication network shutdown machines in the system embodiment of the present invention;
[0031] Figure 3 It is a communication message format diagram of the dual-machine communication service in the system embodiment of the present invention. Detailed Embodiment
[0032] System Embodiment:
[0033] The schematic structural diagram of the dual-master operation system of the data communication network shutdown machine in this embodiment is as Figure 1 shown, including data communication network shutdown machine A, data communication network shutdown machine B and 4 interval layer devices; data communication network shutdown machine A is connected to master station 1 through link A1, data communication network shutdown machine B is connected to master station 2 through link B2, and the data communication network shutdown machine and the master station communicate based on the IEC104 protocol; data communication network shutdown machine A is connected to 4 interval layer devices through network A, and data communication network shutdown machine B is connected to 4 interval layer devices through network B.
[0034] Among them, the schematic diagram of dual-machine synchronization between data communication network shutdown machine A and data communication network shutdown machine B is as Figure 2As shown in the figure, both the data communication network shutdown device A and the data communication network shutdown device B include: a forwarding master station module, a dual-machine synchronization module, a dual-machine synchronization communication module, an in-station data access module, and a device communication status judgment module; the in-station data access module in the data communication network shutdown device A is in a communication interruption state with the interval layer device 3, that is, the in-station data access module of the data communication network shutdown device A cannot collect the in-station real-time data of the interval layer device 3; the in-station data access module in the data communication network shutdown device B is in a communication interruption state with the interval layer device 2, that is, the in-station data access module of the data communication network shutdown device B cannot collect the in-station real-time data of the interval layer device 2.
[0035] The dual-machine synchronization communication module in the data communication network shutdown device A and the dual-machine synchronization communication module in the data communication network shutdown device B are connected through a synchronization private network and communicate based on the TCP protocol. The communication message format is as Figure 3 shown, including a message start character, a two-byte ASDU (Application Service Data Unit) length, a sending sequence number, a receiving sequence number, a message type, and an application service data field. The message types include: test heartbeat frame, message confirmation frame, communication status frame, telecontrol signal data synchronization frame, and telemetry synchronization data frame; when the message type is a communication status frame, the application service data field of the communication message is shown in Table 1, and the communication status of each interval layer device occupies 1 byte:
[0036] Table 1
[0037]
[0038] When the message type is a telecontrol signal data synchronization frame, the application service data field of the communication message is shown in Table 2. Each telecontrol signal data is 13 bytes, including a 4-byte unique identification index, a 1-byte telecontrol signal value, a 1-byte telecontrol signal quality, and a 7-byte telecontrol signal time stamp:
[0039] Table 2
[0040]
[0041] When the message type is a telemetry synchronization data frame, the application service data field of the communication message is shown in Table 3. Each telemetry data is 13 bytes, including a 4-byte unique identification index, a 1-byte telemetry value, a 1-byte telemetry quality, and a 7-byte telemetry time stamp:
[0042] Table 3
[0043]
[0044] The in-station data access module is respectively connected to the forwarding master station module, the dual-machine synchronization module, the device communication status judgment module, and four substation layer devices; the in-station data access module in Data Communication Gateway A is used to collect the in-station real-time data (including telecontrol signal data and telemetry data) and communication status of substation layer devices 1, 2, and 4, and transmit the in-station real-time data to the forwarding master station module and the dual-machine synchronization module of Data Communication Gateway A, and send the communication status to the device communication status judgment module; the in-station data access module in Data Communication Gateway B is used to collect the in-station real-time data (including telecontrol signal data and telemetry data) of substation layer devices 1, 3, and 4, and transmit the in-station real-time data to the forwarding master station module and the dual-machine synchronization module of Data Communication Gateway B, and send the communication status to the device communication status judgment module.
[0045] The communication status is used to characterize whether the communication between the substation layer device and the in-station data access module is normal, including two situations: normal communication and communication interruption. Specifically, the communication status in this embodiment is transmitted by testing the heartbeat frame.
[0046] The device communication status judgment module is connected to the dual-machine synchronization module; the device communication status judgment module in Data Communication Gateway A is used to process the communication status data of substation layer devices 1-4, determine the substation layer device 3 with communication interruption, generate abnormal communication data, and send the abnormal communication data indicating the communication interruption between Data Communication Gateway A and substation layer device 3 to the dual-machine synchronization module of Data Communication Gateway A; the device communication status judgment module in Data Communication Gateway B is used to process the communication status data of substation layer devices 1-4, determine the substation layer device 2 with communication interruption, and send the abnormal communication data indicating the communication interruption between Data Communication Gateway B and substation layer device 2 to the dual-machine synchronization module of Data Communication Gateway B.
[0047] The dual-machine synchronization module is also respectively connected to the dual-machine synchronization communication module and the forwarding master station module. The dual-machine synchronization module in Data Communication Gateway A is used for: (1) receiving, through the dual-machine synchronization communication module, the abnormal communication data indicating the communication interruption between Data Communication Gateway B and substation layer device 2 sent by Data Communication Gateway B, screening out the in-station real-time data of substation layer device 2, which is the feedback data, and sending it to Data Communication Gateway B; (2) sending, through the dual-machine synchronization communication module, the abnormal communication data indicating the communication interruption between Data Communication Gateway A and substation layer device 3 to Data Communication Gateway B, and receiving the feedback data sent by Data Communication Gateway B, and sending it to the forwarding master station module.
[0048] The dual - machine synchronization module in data communication network shutdown device B is used for: (1) receiving, through the dual - machine synchronization communication module, the abnormal communication data sent by data communication network shutdown device A, which indicates a communication interruption between data communication network shutdown device A and the bay - level device 3, screening out the in - station real - time data of the bay - level device 3, which is the feedback data, and sending it to data communication network shutdown device A; (2) sending, through the dual - machine synchronization communication module, the abnormal communication data indicating a communication interruption between data communication network shutdown device B and the bay - level device 2 to data communication network shutdown device A, receiving the feedback data sent by data communication network shutdown device A, and sending it to the forwarding master - station module.
[0049] The forwarding master - station module of data communication network shutdown device A is connected to master station 1 and is used for sending the in - station real - time data of bay - level devices 1, 2, and 4 sent by the in - station data access module and the in - station real - time data of bay - level device 3 sent by the dual - machine synchronization module to the master station together; the forwarding master - station module of data communication network shutdown device B is connected to master station 2 and is used for sending the in - station real - time data of bay - level devices 1, 3, and 4 sent by the in - station data access module and the in - station real - time data of bay - level device 2 sent by the dual - machine synchronization module to the master station together.
[0050] Method embodiment:
[0051] This method embodiment is directed to the dual - master operation system of data communication network shutdown devices in the above - mentioned system embodiment. The components included in the system and the connection methods and working principles between the components have been introduced in detail in the system embodiment. The basic concept of the dual - master operation method of data communication network shutdown devices adopted by this system is that both data communication network shutdown devices perform the following steps: obtaining the in - station real - time data and communication status of each bay - level device, transmitting the obtained in - station real - time data to the corresponding master station, and judging the communication status of each bay - level device; if there is a bay - level device with abnormal communication status, obtaining the in - station real - time data of the bay - level device with abnormal communication status through another data communication network shutdown device and transmitting it to the corresponding master station. The specific implementation process of this method has been introduced in detail in the system embodiment, and will not be repeated in this method embodiment.
Claims
1. A dual-master operation system for a data communication network shutdown, comprising a first data communication network shutdown device, a second data communication network shutdown device, a first master station, a second master station, and a plurality of bay-level devices. The first data communication network shutdown device is connected to the first master station, the second data communication network shutdown device is connected to the second master station, and both the first data communication network shutdown device and the second data communication network shutdown device are connected to each bay-level device; characterized in that: The first data communication network shutdown is connected to the second data communication network shutdown, and both data communication network shutdowns perform the following steps: Obtain the in-station real-time data and communication status of each bay-level device, transmit the obtained in-station real-time data to the corresponding host, and judge the communication status of each bay-level device; If there is a bay-level device with abnormal communication status, obtain the in-station real-time data of the bay-level device with abnormal communication status through the other data communication network shutdown and transmit it to the corresponding master station; Among them, the data communication network shutdown includes: a forwarding master station module, a dual-machine synchronization module, a dual-machine synchronization communication module, an in-station data access module, and a device communication status judgment module; The dual-machine synchronization communication modules of the two data communication network shutdowns are connected through a synchronization private network and communicate based on the TCP protocol. The communication messages include a remote signal data synchronization frame and a remote measurement synchronization data frame.
2. The dual-master operation system of the data communication network shutdown machine according to claim 1, characterized in that: Both data communication network shutdowns perform the following steps: If there is a bay-level device with abnormal communication status, generate corresponding abnormal communication data; Send the abnormal communication data to the other data communication network shutdown, obtain the feedback data sent by the other data communication network shutdown, and transmit the received feedback data to the corresponding master station; the feedback data is the in-station real-time data of the bay-level device with communication abnormality; If receiving the abnormal communication data sent by the other data communication network shutdown, determine the corresponding feedback data according to the received abnormal communication data and send it to the other data communication network shutdown.
Citation Information
Patent Citations
Real-time communication method and equipment used among multiple main station systems
CN104009976A
Data communication gateway machine and method and apparatus for synchronizing data thereof, and medium
CN108111355A