CN113917834A - Redundant switching and data sharing of dual-network dual-communication server - Google Patents

Redundant switching and data sharing of dual-network dual-communication server Download PDF

Info

Publication number
CN113917834A
CN113917834A CN202111192994.8A CN202111192994A CN113917834A CN 113917834 A CN113917834 A CN 113917834A CN 202111192994 A CN202111192994 A CN 202111192994A CN 113917834 A CN113917834 A CN 113917834A
Authority
CN
China
Prior art keywords
communication
machine
standby
data
dual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202111192994.8A
Other languages
Chinese (zh)
Inventor
王国兵
李涛
钟立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Huajian Electrical Equipment Co ltd
Original Assignee
Shanghai Huajian Electrical Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huajian Electrical Equipment Co ltd filed Critical Shanghai Huajian Electrical Equipment Co ltd
Priority to CN202111192994.8A priority Critical patent/CN113917834A/en
Publication of CN113917834A publication Critical patent/CN113917834A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a redundant switching and data sharing method for a dual-network dual-communication server. The information communication between the two communication servers is realized through a special data channel, downlink interfaces of the two communication servers are respectively connected with the communication ports 1 and 2 of the intelligent equipment to acquire data, and data sharing is realized through the Ethernet port, so that the continuity and the stability of uploading data are ensured when any one communication port of the intelligent equipment is in physical fault and the communication servers are switched. The invention can be applied to the monitoring system of a substation, and provides stable and reliable information for a background monitoring system and a DCS (distributed control system) automatic control system.

Description

Redundant switching and data sharing of dual-network dual-communication server
Technical Field
The invention relates to a method for redundant switching and data sharing of a dual-network dual-communication server, which realizes redundant hot standby of the server through a communication channel and realizes data sharing through an Ethernet channel, and relates to the technical field of redundant switching and data sharing of the dual-network dual-communication server.
Background
The layered distributed system of the power substation monitoring system comprises a monitoring layer, a communication service layer and a spacer layer, wherein a communication server is positioned in the communication service layer, acquires RTU data in the spacer layer and uploads the RTU data to the monitoring layer, meanwhile, the command of the monitoring layer is received to carry out remote control opening and closing or remote setting operation on the spacer layer equipment, therefore, the communication server plays a role in starting and stopping in the system, is a key device in the monitoring system, and is a trend to configure a redundant server and dual-communication-port RTU equipment to ensure the uninterrupted operation of the system, aiming at the condition that an uplink channel is a single channel, when the main communication server fails, the switching is not timely, and the standby server does not establish complete communication with the RTU in the switching process, so that a large number of false alarms are caused before the background remote signaling data of the monitoring system is output, and the remote sensing data is changed from a normal value to a value of 0; when the communication of the intelligent equipment communication port connected with the main communication server is interrupted, the main communication server cannot timely operate the equipment and parameters. The invention aims to solve the problems of switching of a communication server, unstable and discontinuous data in the switching process and incapability of updating the data in time when any communication port of an RTU fails, and provides a method for redundant switching and data sharing of a dual-network dual-communication server.
Disclosure of Invention
The invention aims to solve the problems of switching of a communication server, unstable and discontinuous data in the switching process and incapability of updating the data in time when any communication port of an RTU fails, and designs a redundant switching and data sharing method for a dual-network dual-communication server. The technical scheme is as follows: when two servers are powered on and run simultaneously, the states of the host and the standby machine are determined by the set main flag bit and the standby flag bit, the flag bit is the server of the standby machine to execute an initialization task after a period of time delay, the server of the host flag bit is the server of the standby machine to normally execute the task, acquire control right and execute all the work. If the two servers are not started simultaneously, the server is started to form a host, the control right is obtained, all work is executed, the server is started later, the server enters a hot standby state, the host sends heartbeat packets at regular time through the communication channels of the two servers when running to inform the standby machine that the host is executing work and the standby machine needs to be kept in the standby state, and the standby machine replaces all work of the original host to form the host after the standby machine does not receive the heartbeat packets of the host for a period of time continuously. The host computer sends heartbeat packages at regular time through the contact channels of the two servers when running, and the heartbeat packages contain the communication states of all intelligent equipment and fixed value data related to the analog calculation of the equipment: such as CT value, PT value; the main communication server and the standby communication server are respectively communicated with the communication ports 1 and 2 of the RTU in real time, if the communication state between the main heartbeat package and the equipment communication port 1 is normal, the standby machine does not upload the received equipment data to the main machine, if the communication state between the main heartbeat package and the equipment communication port 1 is interrupted, the standby machine uploads the received equipment data to the main machine, the main machine analyzes the data package through an equipment data analysis program to obtain the running state and parameters of the equipment, namely, the data of the standby machine and the main machine are shared; if the master-slave switching happens at this moment, when the slave machine is communicated with the background monitoring system, the data can be consistent with the original host machine, and therefore the stability and the continuity of the data are guaranteed. The invention can be applied to the monitoring system of a substation, and provides stable and reliable information for a background monitoring system and a DCS (distributed control system) automatic control system.
Drawings
FIG. 1 is a schematic diagram of a dual-network dual-server redundant hot standby according to an embodiment of the present invention;
wherein: the communication server A is a main server, the communication server B is a standby server, and the communication server A, B is connected through COM1 and used as a contact interface of the main server and the standby server; the communication server A, B NET port NET1 is connected with the monitoring system background, and NET1 is an uplink network interface; the communication servers A and B COM2 are connected with a DCS system, and the COM2 is an uplink serial interface; the communication server A, B is directly connected with a NET port NET2, NET2 is a data sharing interface of two servers, a 1# link intelligent equipment RTU communication port COM1 is connected with a COM5 of a communication server A, a 28# link intelligent equipment RTU communication port COM1 is connected with a COM32 of the communication server A, a 29# link intelligent equipment RTU communication port COM2 is connected with a COM5 of a communication server B, a 56# link intelligent equipment RTU communication port COM2 is connected with a COM32 of a communication server B, and COM 5-COM 32 are used as downlink interfaces of the communication server;
FIG. 2 is a flow chart of dual-network dual-server data sharing software according to an embodiment of the present invention;
fig. 3 is a software flow chart of a dual-network dual-server switching module according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
Referring to fig. 1, parameters such as an uplink interface, a downlink interface, a contact interface type, a protocol type, an equipment address and the like of a communication server are configured in advance, and the other parameters are the same except for the main and standby marks of the communication server a and the communication server B, wherein the main and standby marks of the communication server a are main, and the communication server B is standby.
Referring to fig. 2, a communication server a serves as a host, an uplink interface of the communication server a obtains a control right for an interface link, responds to query of the uplink interface, and simultaneously sends a polling command to an RTU device communication port 1 on the link to read required device data; the communication server B is used as a standby machine, the uplink interface is kept static, a polling command is sent to the RTU equipment communication port 2 on the downlink, required equipment data is read, when the RTU communication state received from the contact interface is interrupted, the received data packet is forwarded to the communication server A through the shared Ethernet port, the communication server A analyzes the received data packet, so that the state parameters of the RTU equipment are obtained, the data are forwarded to the DCS or the background monitoring system through the uplink interface, and the continuity and the stability of the data are kept.
Referring to fig. 3, the communication server a serves as a host, and sends heartbeat packets at a timing T2 through a contact interface COM 1; the communication server B is used as a standby machine, a time delay T1 is started to execute a contact thread and downlink receiving, when the contact thread of the communication server B receives a heartbeat packet, the communication server A is in a working state, and the communication server B continuously keeps relatively static and does not actively receive and respond to an uplink interface query instruction; and once the contact thread of the communication server B cannot receive the heartbeat packet of the communication server A, counting, and when the timing exceeds T3 and the heartbeat packet of the communication server A is not received all the time, the communication server A is stopped, the communication server B starts an uplink interface to receive a command of a DCS or a background monitoring system and responds to the command, so that the continuity and stability of the whole system are ensured, and the switching work of the main machine and the standby machine is completed.

Claims (4)

1. A method for redundant switching and data sharing of a dual-network dual-communication server is characterized in that: the main machine manages the uplink and the uplink when the dual-communication server normally works, the standby machine uplink communication keeps a relatively static state, when the main machine fails, the standby machine is automatically switched to a working state to become the main machine and take over all work of the original main machine, and when the original main machine fails, the standby machine automatically enters a standby state after being electrified again; when any communication port of the RTU equipment is in physical fault, the communication server acquires data of the other communication port through the Ethernet, and the continuity of system data is kept.
2. The method for redundant switching and data sharing of dual-network dual-communication server as claimed in claim 1, wherein: when two servers are powered on and run simultaneously, the states of a host and a standby machine are determined through the set main zone bit and the standby zone bit, the server with the zone bit as the standby machine executes an uplink communication initialization task after delaying for a period of time, and the server with the zone bit as the host normally executes the task to obtain the uplink communication control right and execute all work; if the two servers are not started at the same time, the server is started to be the host to obtain the uplink communication control right and execute all work, and then the server is started to enter the uplink communication hot standby state.
3. The method for redundant switching and data sharing of dual-network dual-communication server as claimed in claim 1, wherein: the host machine sends heartbeat packets at regular time through the communication channels of the two servers when running to inform the standby machine that the host machine is executing work, the standby machine needs to be kept in a standby state, and after the standby machine does not receive the heartbeat packets of the host machine for a period of time continuously, the standby machine takes over the uplink communication control right of the original host machine to become the host machine, and communication with background equipment is realized.
4. The method for redundant switching and data sharing of dual-network dual-communication server as claimed in claim 1, wherein: the host computer sends heartbeat packages at regular time through the communication channels of the two servers when running, and the heartbeat packages contain the communication states of all intelligent equipment and fixed value data related to the analog calculation of the equipment: such as CT value, PT value; when the host machine communicates with the intelligent equipment communication port 1, the standby machine communicates with the intelligent equipment communication port 2 at the same time, if the communication state of the host machine and the equipment communication port 1 in the heartbeat packet is normal, the standby machine does not upload the received equipment data to the host machine, if the communication state of the host machine and the equipment communication port 1 in the heartbeat packet is interrupted, the standby machine uploads the received equipment data to the host machine, the host machine analyzes the data packet through an equipment data analysis program to obtain the running state and parameters of the equipment, namely, the data of the standby machine and the host machine are shared; if the master-slave switching happens at this moment, when the slave machine is communicated with the background monitoring system, the data can be consistent with the original host machine, and therefore the stability and the continuity of the data are guaranteed.
CN202111192994.8A 2021-10-13 2021-10-13 Redundant switching and data sharing of dual-network dual-communication server Withdrawn CN113917834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111192994.8A CN113917834A (en) 2021-10-13 2021-10-13 Redundant switching and data sharing of dual-network dual-communication server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111192994.8A CN113917834A (en) 2021-10-13 2021-10-13 Redundant switching and data sharing of dual-network dual-communication server

Publications (1)

Publication Number Publication Date
CN113917834A true CN113917834A (en) 2022-01-11

Family

ID=79239925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111192994.8A Withdrawn CN113917834A (en) 2021-10-13 2021-10-13 Redundant switching and data sharing of dual-network dual-communication server

Country Status (1)

Country Link
CN (1) CN113917834A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030048503A (en) * 2001-12-12 2003-06-25 주식회사 엘지이아이 Communication system and method for data synchronization of duplexing server
US20080034112A1 (en) * 2004-09-16 2008-02-07 Tetsuo Imai Method Of Switching Between Network Connection Devices Using Redundancy Protocol And Pseudo Redundant Configuration Setting Means And Network System
CN101997727A (en) * 2010-12-16 2011-03-30 广州智光电气股份有限公司 Device for seamless switching of host and standby of communication management machine and method thereof
CN102170342A (en) * 2011-05-25 2011-08-31 中国长江三峡集团公司 IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration
CN108134700A (en) * 2017-12-22 2018-06-08 南京因泰莱电器股份有限公司 A kind of method for realizing power automation communication data integrality
CN109857034A (en) * 2019-03-01 2019-06-07 中国航空无线电电子研究所 Real-time warm back-up integrated data processing system
CN110784007A (en) * 2019-10-21 2020-02-11 南京南瑞继保电气有限公司 Main and standby machine redundancy method of micro-grid coordination control device
CN112887176A (en) * 2021-04-28 2021-06-01 北京城建智控科技有限公司 Computer interlocking subsystem master-slave switching system based on heartbeat message
CN113032187A (en) * 2021-04-28 2021-06-25 苏州连世创智科技有限公司 High-speed dual-computer hot standby redundancy communication method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030048503A (en) * 2001-12-12 2003-06-25 주식회사 엘지이아이 Communication system and method for data synchronization of duplexing server
US20080034112A1 (en) * 2004-09-16 2008-02-07 Tetsuo Imai Method Of Switching Between Network Connection Devices Using Redundancy Protocol And Pseudo Redundant Configuration Setting Means And Network System
CN101997727A (en) * 2010-12-16 2011-03-30 广州智光电气股份有限公司 Device for seamless switching of host and standby of communication management machine and method thereof
CN102170342A (en) * 2011-05-25 2011-08-31 中国长江三峡集团公司 IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration
CN108134700A (en) * 2017-12-22 2018-06-08 南京因泰莱电器股份有限公司 A kind of method for realizing power automation communication data integrality
CN109857034A (en) * 2019-03-01 2019-06-07 中国航空无线电电子研究所 Real-time warm back-up integrated data processing system
CN110784007A (en) * 2019-10-21 2020-02-11 南京南瑞继保电气有限公司 Main and standby machine redundancy method of micro-grid coordination control device
CN112887176A (en) * 2021-04-28 2021-06-01 北京城建智控科技有限公司 Computer interlocking subsystem master-slave switching system based on heartbeat message
CN113032187A (en) * 2021-04-28 2021-06-25 苏州连世创智科技有限公司 High-speed dual-computer hot standby redundancy communication method

Similar Documents

Publication Publication Date Title
CN103199972B (en) The two-node cluster hot backup changing method realized based on SOA, RS485 bus and hot backup system
CN103647781B (en) Mixed redundancy programmable control system based on equipment redundancy and network redundancy
CN109451065B (en) Soft load balancing and shunting automation system and operation method thereof
CN105450489B (en) The preferential efficient field bus systems of HEBus and communication means for realizing most short message of output
CN104570721B (en) Redundant manipulator master slave mode determines method
CN101483540A (en) Master-slave switching method in high class data communication equipment
CN108134700B (en) Method for realizing electric power automation communication data integrity
CN105610876A (en) Industrial control type automatic network communication protocol converter and communication protocol conversion method
CN104660682A (en) OPC data acquisition and monitoring intelligent terminal based on TD-LTE
GB2536750A (en) Methods and apparatus to provide redundancy in a process control system
US11063855B2 (en) Monitoring of the data transmission in a client/server-based device access system
CN105306605B (en) A kind of double host server systems
CN105698340A (en) Control system of computer room air conditioner, and modular computer room air conditioner system and control method thereof
CN104243239A (en) State inspection method and device for controllers in SDN clusters
CN108199944B (en) Onboard cabin core system of dynamic daisy chain ring network and dynamic positioning method
CN113904802B (en) Mimicry cloud application management method, communication proxy module and cloud application management module
CN102820994A (en) Data exchange device and data exchange method for network isolation environment
CN105007209A (en) RS485-based polling communication method
CN1479452A (en) Method of data on line exchange between main control plate and business plate in main control plate thermal redundancy
CN113917834A (en) Redundant switching and data sharing of dual-network dual-communication server
CN102866698A (en) Human machine interface (HMI) redundant communication method for distributed control system controller
CN103885821B (en) SCADA pre-procesors and its Multi-channel multi-line journey real-time scheduling method
CN103428291A (en) Multi-domain heterogeneous cloud communication platform device
CN102801542A (en) Communication-gateway-based communication redundancy fault-tolerant system
CN107992752B (en) Data processing method and device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20220111

WW01 Invention patent application withdrawn after publication