CN102170342B - IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration - Google Patents

IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration Download PDF

Info

Publication number
CN102170342B
CN102170342B CN 201110136084 CN201110136084A CN102170342B CN 102170342 B CN102170342 B CN 102170342B CN 201110136084 CN201110136084 CN 201110136084 CN 201110136084 A CN201110136084 A CN 201110136084A CN 102170342 B CN102170342 B CN 102170342B
Authority
CN
China
Prior art keywords
port
control system
supervisory control
data
standby
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.)
Active
Application number
CN 201110136084
Other languages
Chinese (zh)
Other versions
CN102170342A (en
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.)
China Three Gorges Corp
Original Assignee
China Three Gorges Corp
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 China Three Gorges Corp filed Critical China Three Gorges Corp
Priority to CN 201110136084 priority Critical patent/CN102170342B/en
Publication of CN102170342A publication Critical patent/CN102170342A/en
Application granted granted Critical
Publication of CN102170342B publication Critical patent/CN102170342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration. A first monitoring system server and a second monitoring system sever which are adopted as monitoring systems of a master station are divided into a host machine and a standby machine; and four ports of the host machine and the standby machine are named as A1, A2, B1 and B2 respectively, wherein, one of the four port is a main port, the other three ports are standby ports, the four ports are peer-to-peer, and the switching sequence of control right is A1,A2, B1, B2, A1, A2..., thereby forming a logical ring. A channel state and a control right belonging state which are needed when the four ports of the monitoring system are switched are obtained from a real time database of the monitoring system, the port is suspended for preset time after the control right is received, and then the control right is switched. Data is all broadcasted firstly and is written into the real time database by a broadcast. The IEC 104 communication SOE (sequence of event) data is ensured to be transmitted in each channel simultaneously by the policy provided by the method under the configuration with two host machines and four channels of the monitoring system, and the consistency and the integrality of the IEC104 communication data can be ensured under all conditions.

Description

IEC104 communication main/standby switching method under a kind of highly redundant configuration
Technical field
The present invention relates to the IEC104 communication main/standby switching method under a kind of highly redundant configuration, belong to the computer supervisory control system field.
Background technology
At present, computer supervisory control system and ancillary equipment IEC104 communication connection mode are fairly simple, generally adopt the unit binary channels to connect, and the method realizes that difficulty is lower, stable.But redundancy is lower, can not satisfy the large hydropower station supervisory control system to the requirement of stability and reliability.
Summary of the invention
The invention provides the IEC104 communication main/standby switching method under a kind of highly redundant configuration, solved under the common unit binary channels connection that adopts of IEC104 communication, redundancy is lower, can not satisfy the large hydropower station supervisory control system to the problem of stability and reliability requirement.
For solving the problems of the technologies described above, the technical scheme that the present invention takes is: the IEC104 communication main/standby switching method under a kind of highly redundant configuration, relate to as the two-server of the supervisory control system of main website with as two main frames of the telemechanical apparatus of slave station, consisted of by following methods:
1) supervisory control system is used for realizing that the first and second supervisory control system servers of IEC104 communication are divided into main frame and standby host, and respectively with four port called afters of two-shipper A1, A2, B1, B2, wherein, one is master port, namely has the port of control; Its excess-three is individual to be standby port, does not namely have the port of control; Four port equities, the order that control is switched is A1, A2, B1, B2, A1, A2 ..., consist of logic box.
2) supervisory control system port disconnection detection: whenever send out a test frame through one section Preset Time supervisory control system to telemechanical apparatus, test frame obtains replying and illustrates that then this port is normal; Otherwise retry connects once, can't be communicated with to think that this port disconnects; This moment, the monitoring server control switched to next normal port with automatic sequence.All monitor fault such as four ports, control rests on works as front port, does not switch, and after a port recovers, namely presses the acquire the right of control of logic box order.
3) the supervisory control system master port is broadcasted after receiving SOE data (a kind of switching value categorical data that comprises time scale information) immediately, upgrades the real-time data base value and form logout being added to the system event table by broadcasting.
4) standby port is received not broadcast after the SOE data and is directly deposited buffering area in, and after postponing one section Preset Time, and every SOE data and system event table comparison once if having identically, then abandons this SOE data; If variant, and these SOE data do not exist in the system event table, illustrate that there is the possibility of the event of losing in current master port, program will start control by turns automatically, and to switch standby port to be master port.
5) the SOE data received of the standby port of supervisory control system are if surpass Preset Time with this standby current supervisory control system server system time difference that is connected of port then abandon.
6) required during four ports of switching monitoring system: channel status, control home state all obtain from the supervisory control system real-time data base.
7) telemechanical apparatus comprises two main frames: the first main frame and the second main frame, four ports of two main frames connect respectively four ports of supervisory control system two servers.
8) communications status of telemechanical apparatus and subordinate equipment indication, take telemechanical apparatus the first main frame as example, the communicate status information of it and subordinate equipment adopts on the COS categorical data (a kind of switching value categorical data that does not comprise time scale information) and delivers to the supervisory control system server; When telemechanical apparatus the first main frame during to the subordinate equipment communication failure, communication failure information only can send to it and connect supervisory control system Service-Port A1, B1, this moment, A2, B2 can not receive the communication indication, and the active and standby machine sign of usage monitoring system server is filtered one group with the COS communication information that this moment, two-port was received; Telemechanical apparatus the second main frame is connected to supervisory control system Service-Port A2, B2, send identical with telemechanical apparatus the first main frame with filter method on the communications status data.
9) when the supervisory control system server is received the equipment sent from telemechanical apparatus or subordinate's channel failure information, show that namely this link is down state, but because the data that this supervisory control system server is received are more than other channel data, rule according to the 4th, this passage should be upgraded to master port, this switching that will make the mistake.For avoiding analogue to occur, when formulating IEC104 communication data table, tables of data has been divided into device Diagnostic district (COS categorical data, only contain this machine information of telemechanical server, this machine information of offside telemechanical server is reserved, and makes the communication table structure in full accord) and communication data district (SOE data type).Supervisory control system on send the judgement of data bulk switching controls power only to carry out according to communication data district (SOE data type).
10) one section Preset Time of time-out carried out the control switching again after standby port had just switched to master port.
11) data of sending on all (SOE or COS data) are upgraded the supervisory control system real-time data base by broadcasting after being first broadcasting again.
It is related that the described first or second supervisory control system server activestandby state and control passage do not exist, and supervisory control system server host and standby host all have the right to obtain master control power passage.
The described first or second supervisory control system server I EC104 configuration file is consistent.
IEC104 communication main/standby switching method beneficial effect under a kind of highly redundant configuration of the present invention is as follows:
1, four port equities of supervisory control system two-shipper, the order that control is switched is A1, A2, B1, B2, A1, A2 ..., consist of logic box.This principle assurance control is switched by established principle.
When 2, four ports of supervisory control system two-shipper all disconnected simultaneously, control was parked in a last port, and after a port recovered, this port was namely pressed logic box acquire the right of control in a circle.When this principle guaranteed to recover after four ports disconnect simultaneously again, control can correctly obtain.
If when 3, sending the SOE data on the standby port of supervisory control system and the first or second supervisory control system server system time difference surpass 10 minutes and just abandon.Send row on preventing from overstocking for a long time after a large amount of SOE data to relatively, consuming time oversize, and cause the sudden increase of program of supervisory control system operand.
4, required during four ports of switching monitoring system: channel status, control home state all obtain from the supervisory control system real-time data base.Guarantee that the normative reference of switching is consistent, guarantee the consistency of moving.
5, telemechanical apparatus is indicated subordinate equipment communication, the telemechanical apparatus main frame adopts on the COS categorical data subordinate equipment communications status data value and send, can be different from the SOE data, prevent owing to the not reciprocity control mistake that causes of telemechanical apparatus two main-machine communication fault values is switched.Simultaneously, the telemechanical apparatus indication (COS categorical data) of communicating by letter with subordinate equipment is judged the state of two telemechanical apparatus main frames for supervisory control system, and guarantees that by switching monitoring system server port control the telemechanical apparatus main frame that the supervisory control system server connects is normal to subordinate equipment communication.
6, use one group of the COS type communication information filtering that active and standby machine sign receives port, prevent that alert event from repeating.
7, standby port has just switched to and has suspended one section Preset Time behind the master port and carry out control again and switch, and prevents from being upgraded to behind the master port not broadcasting and just by other ports control is snatched away, and guarantees that this port can have grace time to stablize control.
8, the data of sending on all (SOE or COS data) are upgraded the supervisory control system real-time data base by broadcasting after being first broadcasting again, keep the consistency of supervisory control system server two-shipper real-time data base value.
9, the first or second supervisory control system server I EC104 configuration file is consistent, when all data of station server IEC104 configuration file are lost fully therein, and still can be from another station server copy.
10, under the two main frame four-way configurations of supervisory control system, realize the simultaneously transmission in each passage of IEC104 communication SOE data, and can guarantee in all cases consistency and the integrality of IEC104 communication data.
Description of drawings
Fig. 1 is system network architecture figure of the present invention;
Fig. 2 is the switch logic figure of system of the present invention.
Embodiment
The lower IEC104 of a kind of highly redundant configuration main/standby switching method of communicating by letter relates to as the two-server of the supervisory control system of main website with as two main frames of the telemechanical apparatus of slave station, is made of following methods:
1), the first and second supervisory control system servers of supervisory control system are divided into main frame and standby host, respectively with four port called afters of two-shipper A1, A2, B1, B2, wherein, one is master port, namely has the port of control; Its excess-three is individual to be standby port, does not namely have the port of control; Four port equities, the order that control is switched is A1, A2, B1, B2, A1, A2 ..., consist of logic box.
2), supervisory control system port disconnection detection: every 500ms supervisory control system is sent out a test frame to telemechanical apparatus, and test frame obtains replying and illustrates that then this port is normal; Otherwise retry connects once, can't be communicated with to think that this port disconnects; When four ports all disconnected simultaneously, control was parked in a last port, and after a port recovered, this port was namely pressed logic box acquire the right of control in a circle.
3), the supervisory control system master port receives immediately broadcasting after the SOE data, upgrades the real-time data base value and form logout being added to the system event table by broadcasting.
4), standby port receives not broadcast after the SOE data and directly deposits buffering area in, and after postponing 10s, every SOE data 500ms and system event table are compared once, if having identically, then abandon this SOE data; If variant, and these SOE data do not exist in the system event table, start control by turns, and to switch standby port to be master port.
5), the SOE data received of the standby port of supervisory control system, if surpass 10 minutes with this standby current supervisory control system server system time difference that is connected of port then abandon.
6), required during four ports of switching monitoring system: channel status, control home state all obtain from the supervisory control system real-time data base.
7), telemechanical apparatus comprises two main frames: the first main frame and the second main frame, four ports of two main frames connect respectively four ports of supervisory control system two servers.
8), the telemechanical apparatus indication of communicating by letter with subordinate equipment, take telemechanical apparatus the first main frame as example, adopt on the COS type (a kind of switching value categorical data that does not comprise time scale information) with the data value such as subordinate equipment communications status and to deliver to the supervisory control system server, telemechanical apparatus the first main frame is to the subordinate equipment communication failure, only can send to it connects supervisory control system Service-Port A1, B1 in the communication indication, this moment, A2, B2 can not receive the communication indication, and the active and standby machine sign of usage monitoring system server is filtered one group with the COS communication information that this moment, two-port was received; Telemechanical apparatus the second main frame is connected to supervisory control system Service-Port A2, B2, send identical with telemechanical apparatus the first main frame with filter method on the communications status data.
9) time-out 2s carried out the control switching again after, standby port had just switched to master port.
10) data of, sending on all (SOE or COS data) are upgraded the supervisory control system real-time data base by broadcasting after being first broadcasting again.
It is related that the described first or second supervisory control system server activestandby state and control passage do not exist, and supervisory control system server host and standby host all have the right to obtain master control power passage.
The described first or second supervisory control system server I EC104 configuration file is consistent, when all data of station server IEC104 configuration file are lost fully therein, and still can be from another station server copy.
Operation principle:
1), the first and second supervisory control system servers adopt IEC 60870-5-104 communication protocol to communicate by letter with telemechanical apparatus, and transmit telecontrol information;
2), one of supervisory control system server is as the IEC60870-5-104 communication main station, operation IEC60870-5-104 communication protocol main website program is finished the foundation of communication connection, calls in real time remote measurement and the remote signalling data of telemechanical apparatus, and issues remote regulating and guidance command;
3), telemechanical apparatus is as the communication slave station, operation IEC60870-5-104 communication protocol slave station program is monitored the connection request of communication main station, receives real time data calling and the control command of IEC60870-5-104 communication protocol main website, and replys;
4), remote measurement and the remote signalling real time data sent on the telemechanical apparatus, receive the guidance command that supervisory control system issues and also return confirmation message.

Claims (3)

1. the lower IEC104 of the highly redundant configuration main/standby switching method of communicating by letter relates to as the two-server of the supervisory control system of main website with as two main frames of the telemechanical apparatus of slave station, it is characterized in that: be made of following methods:
1), supervisory control system is used for realizing that the first and second supervisory control system servers of IEC104 communication are divided into main frame and standby host, respectively with four port called afters of two-shipper A1, A2, B1, B2, wherein, one is master port, namely has the port of control, and its excess-three is individual to be standby port, the port that does not namely have control, four port equities, the order that control is switched is A1, A2, B1, B2, A1, A2 ..., consist of logic box;
2), supervisory control system port disconnection detection: whenever send out a test frame through one section Preset Time supervisory control system to telemechanical apparatus, test frame obtains replying and illustrates that then this port is normal, otherwise retry connects once, can't be communicated with and think that this port disconnects, this moment, the monitoring server control switched to next normal port with automatic sequence, if four ports all monitor fault, control rests on works as front port, do not switch, after a port recovers, namely press the acquire the right of control of logic box order;
3), the supervisory control system master port receives immediately broadcasting after the SOE data, upgrades the real-time data base value and form logout being added to the system event table by broadcasting, described SOE data are the switching value categorical datas that comprise time scale information;
4), the standby port of supervisory control system is received not broadcast after the SOE data and is directly deposited buffering area in, and after postponing one section Preset Time, every SOE data and system event table comparison once, if have identically, then abandon this SOE data, if variant, and these SOE data do not exist in the system event table, illustrate that there is the possibility of the event of losing in current master port, program will start control by turns automatically, and switching should standby port be master port;
5), the SOE data received of the standby port of supervisory control system, if surpass Preset Time with this standby current supervisory control system server system time difference that is connected of port then abandon;
6), required during four ports of switching monitoring system: channel status, control home state all obtain from the supervisory control system real-time data base;
7), telemechanical apparatus comprises two main frames: the first main frame and the second main frame, four ports of two main frames connect respectively four ports of supervisory control system two servers,
8), the communications status indication of telemechanical apparatus and subordinate equipment, take telemechanical apparatus the first main frame as example, it with the communicate status information employing COS categorical data of subordinate equipment on deliver to the supervisory control system server; When telemechanical apparatus the first main frame during to the subordinate equipment communication failure, communication failure information only can send to it and connect supervisory control system Service-Port A1, B1, this moment, A2, B2 can not receive the communication indication, the active and standby machine sign of usage monitoring system server is filtered one group with the COS communication information that this moment, two-port was received, telemechanical apparatus the second main frame is connected to supervisory control system Service-Port A2, B2, send identically with telemechanical apparatus the first main frame with filter method on the communications status data, described COS data are the switching value categorical datas that do not comprise time scale information;
9), when the supervisory control system server is received the equipment sent from telemechanical apparatus or subordinate's channel failure information, show that namely this link is down state, but because the data that this supervisory control system server is received are more than other channel data, when formulating IEC104 communication data table, tables of data has been divided into device Diagnostic district and communication data district, supervisory control system on send the judgement of data bulk switching controls power only to carry out according to the communication data district;
10) one section Preset Time of time-out carried out the control switching again after, the standby port of supervisory control system had just switched to master port;
11) data of, sending on all are upgraded the supervisory control system real-time data base by broadcasting after being first broadcasting again.
2. the IEC104 communication main/standby switching method under a kind of highly redundant according to claim 1 disposes, it is characterized in that: the first or second supervisory control system server activestandby state and control passage do not exist related, and supervisory control system server host and standby host all have the right to obtain master control power passage.
3. the IEC104 communication main/standby switching method under a kind of highly redundant according to claim 1 disposes, it is characterized in that: the first or second supervisory control system server I EC104 configuration file is consistent.
CN 201110136084 2011-05-25 2011-05-25 IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration Active CN102170342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110136084 CN102170342B (en) 2011-05-25 2011-05-25 IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110136084 CN102170342B (en) 2011-05-25 2011-05-25 IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration

Publications (2)

Publication Number Publication Date
CN102170342A CN102170342A (en) 2011-08-31
CN102170342B true CN102170342B (en) 2013-01-30

Family

ID=44491332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110136084 Active CN102170342B (en) 2011-05-25 2011-05-25 IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration

Country Status (1)

Country Link
CN (1) CN102170342B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944787B (en) * 2014-04-30 2015-09-30 国家电网公司 The two net pattern handoff testing method of intelligent substation station level
CN104113436B (en) * 2014-07-09 2018-02-06 浪潮(北京)电子信息产业有限公司 Double multipath server monitoring methods, device and system
CN105353751B (en) * 2015-12-14 2018-01-30 重庆川仪自动化股份有限公司 HMI controller redundancy switch-over control methods
CN108399112B (en) * 2018-01-23 2021-08-24 中电和瑞科技有限公司 Redundancy method, redundancy management apparatus, server, and computer-readable storage medium
CN108964984B (en) * 2018-06-13 2021-04-20 南京南瑞继保电气有限公司 Seamless switching method for redundant channel of power system main station and sub station communication
CN109613909B (en) * 2018-11-23 2020-08-04 深圳供电局有限公司 Stability control host testing method and system
CN111142945B (en) * 2019-11-28 2023-06-13 中国航空工业集团公司西安航空计算技术研究所 Master and slave channel dynamic switching method for dual-redundancy computer
CN111688762B (en) * 2020-06-02 2022-06-17 通号城市轨道交通技术有限公司 Reverse cutting method and device for urban rail interlocking control display
CN111697696A (en) * 2020-06-05 2020-09-22 国网福建省电力有限公司 Substation anti-error system and method based on anti-error double-host mode operation
CN112286041B (en) * 2020-09-09 2023-02-03 许继集团有限公司 Switching method and switching control system for electrical equipment redundancy monitoring device
CN113917834A (en) * 2021-10-13 2022-01-11 上海华建电力设备股份有限公司 Redundant switching and data sharing of dual-network dual-communication server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546472A (en) * 2009-04-29 2009-09-30 安徽省电力公司芜湖供电公司 Integrated universal simulation test system and implement method for electric network scheduling and electric quantity collection
CN101783811A (en) * 2009-01-19 2010-07-21 上海华建电力设备股份有限公司 Automatically-monitored data transmission method of transformer substation
CN101871417A (en) * 2010-06-03 2010-10-27 武汉四创自动控制技术有限责任公司 IEC61850-based digital water turbine speed control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9401839B2 (en) * 2008-04-04 2016-07-26 Schweitzer Engineering Laboratories, Inc. Generation and control of network events and conversion to SCADA protocol data types

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783811A (en) * 2009-01-19 2010-07-21 上海华建电力设备股份有限公司 Automatically-monitored data transmission method of transformer substation
CN101546472A (en) * 2009-04-29 2009-09-30 安徽省电力公司芜湖供电公司 Integrated universal simulation test system and implement method for electric network scheduling and electric quantity collection
CN101871417A (en) * 2010-06-03 2010-10-27 武汉四创自动控制技术有限责任公司 IEC61850-based digital water turbine speed control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《基于IEC104规约的电力远动测试系统的设计与实现》;刘连浩 等;《现代计算机》;20080531(第5期);第107-109页 *
刘连浩 等.《基于IEC104规约的电力远动测试系统的设计与实现》.《现代计算机》.2008,(第5期),第107-109页.

Also Published As

Publication number Publication date
CN102170342A (en) 2011-08-31

Similar Documents

Publication Publication Date Title
CN102170342B (en) IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration
US20130007319A1 (en) Method and system for implementing redundant network interface modules in a distributed i/o system
CN101631011B (en) Hotspare method and system suitable for device for processing and forwarding IP media stream in real time
CN203027276U (en) Dual-machine hot standby platform
CN108134700B (en) Method for realizing electric power automation communication data integrity
CN103297309A (en) Communication device for a redundantly operable industrial communication network and method for operating the communication device
CN104317679B (en) A kind of SCADA system is based on the communication fault-tolerance method of thread redundancy
CN109857034B (en) Real-time hot backup comprehensive data processing system
CN110677282B (en) Hot backup method of distributed system and distributed system
CN205158001U (en) Redundant control system of special high -pressure diesel generating set of data center
CN101631238B (en) Code stream switching equipment for supporting PID replacement and programs on-demand broadcasting, method thereof and system thereof
CN104216361A (en) State monitoring system for secondary device
CN110795280A (en) Remote double-activity disaster recovery system based on mysql asynchronous and bidirectional
CN103001802B (en) Ether port failure self-repairing method and system
CN102084220B (en) Method for remotely reading electric meters
CN206100062U (en) Based on incessant communication device of car networking systems real -time data
CN103067205B (en) Under same Host Administration, share the RT and backup RT changing method of same address
CN110053650B (en) Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN101659271A (en) Method for connecting station ATS with interlocking subsystem
CN108234154B (en) Airborne switching network equipment fault monitoring method
CN109600253A (en) The double network interface redundancy backup methods of double hosts
CN101659270A (en) Method for connecting station ATS with station ATO
CN105024845A (en) Wind power plant integrated terminal redundancy method
CN110716827B (en) Hot backup method suitable for distributed system and distributed system
CN113315235A (en) Multi-unit fault accurate positioning method adopting annular optical fiber communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant