CN100469036C - An implementation method for industrial Ethernet fast-speed redundancy - Google Patents

An implementation method for industrial Ethernet fast-speed redundancy Download PDF

Info

Publication number
CN100469036C
CN100469036C CNB2007100030416A CN200710003041A CN100469036C CN 100469036 C CN100469036 C CN 100469036C CN B2007100030416 A CNB2007100030416 A CN B2007100030416A CN 200710003041 A CN200710003041 A CN 200710003041A CN 100469036 C CN100469036 C CN 100469036C
Authority
CN
China
Prior art keywords
state
port
link
central
central port
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
CNB2007100030416A
Other languages
Chinese (zh)
Other versions
CN101079781A (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CNB2007100030416A priority Critical patent/CN100469036C/en
Publication of CN101079781A publication Critical patent/CN101079781A/en
Application granted granted Critical
Publication of CN100469036C publication Critical patent/CN100469036C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a realizing method of rapid reserving design of redundant looped network of industrial Ethernet, which comprises the following steps: presetting a main station, multiple secondary stations in the looped network; setting TEST report to transmit periodically through main station equipment under normal condition; detecting the report; maintaining the logic breakpoint in the main station of the topology in the entire network; detecting the adjacent joint looped port conditions of the breakpoint when the joint on the network is broken; opening original blocked port through main equipment; refreshing MAC address list through all joints on the network; changing the data route in the network until steady state; finishing the course within 100ms.

Description

A kind of implementation method of Industrial Ethernet fast-speed redundancy
Technical field
The present invention relates to the quick switching technique of Industrial Ethernet redundancy loop field, be meant the implementation method of the redundancy backup design of a kind of monocycle and tangent rings especially.
Background technology
The communication pattern of various fieldbus had been adopted in industry spot communication in the past; But because the communication protocol of each manufacturer has nothing in common with each other, the equipment of each manufacturer carries out interconnected the biggest problem that becomes industrial trade, up to the ethernet technology success of maturation is applied to industrial trade, the interconnected reality that just becomes of each vendor equipment; Yet ethernet technology is formed the technology that existing STP, the RSTP of redundant network employing switched in several seconds to tens seconds, can not satisfy the time demand of industry spot network reconstruct, the defective that the technology of developing a kind of fast-speed redundancy is improved Ethernet becomes needs the another one difficult problem that solves.
DT-ring fast-speed redundancy technology is improved on the technical foundation of the ieee802.1d of maturation and is formed, the message format of employing standard, the criterion of communicating by letter efficiently makes the speed of switching of network when forming looped network satisfy the demand of industry spot networking to internet security, reliability fully by the method for bringing up to this realization redundant looped network of 100ms. in original tens seconds.This is a kind of method of simple and efficient realization redundant looped network.
Summary of the invention:
In view of this, the invention provides a kind of fast replacing method of ethernet redundancy looped network.Technical scheme of the present invention is achieved in that in order to achieve the above object
1. the present invention adopts the mode that sets in advance main website, slave station, in a ring main website, a plurality of slave stations can only be set.
2. the present invention adopts the pattern that sets in advance the central port, and each switch can be provided with a multiple central port of 2, and two ports forming same ring are set in the same territory, and the DT-ring agreement has been stipulated 32 territories at most.All central ports of forming the master-salve station device of same ring must be in same territory, promptly territory ID number identical; Can form network topology structures such as monocycle, tangent rings so support the industrial switch of DT-ring agreement.
3. the present invention has adopted the standard message form of IEEE 802.1d on message format, comes looped network is controlled.
4. when adopting industrial switch of the present invention to form redundant looped network, by the topology change of master station device maintaining network; Two central port ports of acquiescence of master station device are in the Forward state, a port is in the Block state; Be in the port of Forward state, can transmitting and receiving service message and TEST message, the port that is in the Block state receives only the TEST message.Master station device sent a TEST message every 1 second, when looped network just often, the port that is in the Block state can received a TEST message at interval 1 second.This moment, the loop network with physics disconnected in master node place logic, made service message not form ring in network, cleared up the generation except that network storm.
5. adopt device of the present invention, the state of the cpu of each device central port of poll in 10ms; Communication media between the node in the loop network breaks, as Fig. 2, two device ring ports of slave station A, B change, the central port converts LINK-Down to by LINK-UP, slave station A, B are immediately with the Link_Down incident, be forwarded on the net from the another one central port, refresh the central port MAC Address simultaneously one time.And the port that is in LINK-Down is set to the BLOCK state.Other slave units receive the control message of Link Down, E-Packet earlier, refresh the central port mac address table one time.
6. after master station device is received the control message of Link Down, at first open be in originally the Block state from port, but do not block master port, the node of master station device in network sends the message of network topological change, and master station device refreshes the central port mac address table of oneself;
7. receive the message of the topology change that master station device sends from station arrangement in the network, refresh the MAC Address of slave station device ring port.
8. master station device can continue regularly to send the TEST message from master port.
9. after finding the loop link-recovery from station arrangement A, B in the territory, send the control message of Link Up at once to the central port that is in the Forward state; That faces mutually transmits after receiving the control message of Link Up immediately from station arrangement; After master station device received the control message of Link Up in the territory, the master and slave port to master station device sent topology changed messages simultaneously, and master station device is set to the Block state from port then, refreshes the mac address table of own central port simultaneously.
10. after receiving the message of topology change from station arrangement, open the central port that is in the Block state originally, make this port be in the Forward state, refresh the MAC Address of own central port simultaneously.
11. network recovery is to just making state, master station device return to the state that a central port is in Forward, a central port is in the Block state; All states that is in Forward from two central ports of station arrangement.
12. main equipment is received the TEST message in the territory, at blocking data message from port.Main equipment refreshes the mac address table of own central port, and sends mac address table renewal message, makes slave unit refresh the mac address table of its central port.
13. in addition, agreement can also provide timeout mechanism that slave unit loop integrality is detected.
14. adopt the present invention can form tangent looped network, network topology constitutes as Fig. 3.
Description of drawings
Fig. 1 monocycle state
Fig. 2 looped network off-state
Fig. 3 tangent rings topology
Fig. 4 main website state machine
Fig. 5 slave station state machine
Embodiment
For making the present invention clearer, above agreement can be divided into master and slave station state and describe respectively; Below respectively its state machine is described in detail.
The main website agreement
There is three state in main website, is respectively initial state, ring-open state and ring-off status; By protocol massages and our station central port State Control transferring protocol state.No matter be in which kind of state, main website all can send the TEST message to the main ring port, is used for the detection loop state.
Initial state: the state when the central port has only to be LINK-UP, do not need agreement that protocol massages is carried out any processing, a detection ring port LINK-UP incident is behind inferior central port LINK-UP, forward state to ring-off status, it is the BLOCK state that time central port is set simultaneously.
ID Event CONDITION ACTION NEXT-STATE
1 Link-up Has only a central port Link-up NULL Self
2 Link-up Two central port Link-up are arranged Current Link-up port is set to time central port; State is set to BLOCK Ring-off status
3 Receive protocol massages; Type is Link-up NULL NULL NULL
Ring-off status: DT-RING ring connection status physically; Each port status on the ring all is the LINK-UP state, and this moment is Cheng Huan physically.
ID Event CONDITION ACTION NEXT-STATE
1 Link-down The main ring port FDB table on the clear central port; It is forwarding state that time central port is set; Send protocol massages to inferior central port, type changes for opening up to mend; Initial state
2 Link-down Inferior central port NULL Initial state
3 Receive protocol massages, type is Link-down NULL Time central port forwarding state is set; Send protocol massages to the central port, type changes for opening up to mend. Ring-Kai state
4 Receive protocol massages, type is Link-up NULL NULL Ring-off status
5 The TEST message is overtime NULL Time central port forwarding state is set sends protocol massages, type changes for opening up to mend. Ring-Kai state
Ring-Kai state: DT-RING ring connection status physically; Port on the ring has at least one to be the LINK-DOWN state; Main ring can not receive the own TEST message that sends from the main ring port this moment.
ID Event CONDITION ACTION NEXT-STATE
1 Receive the TEST message NULL The secondary ring port status is set to blocked state and sends protocol massages from inferior central port; Type changes for opening up to mend Encircle-close state
2 Receive protocol massages; Type of message is NULL The secondary ring port status is set to blocked state Encircle-close state
Link-up Send protocol massages from inferior central port; Type changes for opening up to mend
3 Link-down The main ring port The secondary ring port status is set to forwarding state time central port and becomes main ring port transmission protocol massages automatically; Type of message changes for opening up to mend Initial state
4 Link-down Inferior central port NULL Initial state
The slave station agreement
Slave station has three state, is respectively initial state, stands-forwarding state and station-blocked state; By protocol massages and our station central port State Control transferring protocol state.
Initial state:
State when the central port has only one to be LINK-UP does not need agreement that protocol massages is carried out any processing, a detection ring port LINK-UP/DOWN incident, and behind two central port LINK-UP, protocol status is leapt to station-blocked state.
ID Event CONDITION ACTION NEXT-STATE
1 Link-up Has only a central port Link-up NULL Initial state
2 Link-up Two central port Link-up are arranged This port block is set sends linkup protocol massages startup repeating timer Stand-blocked state
3 Receive protocol massages-all NULL NULL Initial state
4 Link-Down NULL Port Block is set Initial state
5 Repeating timer is overtime NULL Clear mac address table Initial state
Stand-forwarding state:
Stable state after the slave station central port all is Link-up, port all is in stable state.
ID Event CONDITION ACTION NEXT-STATE
1 Receive protocol massages, type of message is a test packet NULL The transmitted test message Self
2 Receive protocol massages, type changes for opening up to mend NULL Transmit this message and remove central port FDB Self
3 Port Link-down NULL Send protocol massages to the Link-up central port, type of message is that the clear FDB table of Link-down starts repeating timer Initial state
4 Repeating timer is overtime NULL Clear FDB table
Stand-blocked state:
This is an interim state, when slave station is in initial state, is checked through port Link-up incident, after this port is set is BLOCK, wait for that main website is with the secondary ring port shutdown after, forward state to station-forwarding state.
ID Event CONDITION ACTION NEXT-STATE
1 Receive protocol massages, type changes for opening up to mend NULL Port is set transmits clear central port FDB Stand-forwarding state
2 Repeating timer is overtime NULL Port is set transmits clear central port FDB Stand-forwarding state
3 Port Link-down NULL Send protocol massages to the Link-up central port, type of message is Link-down Initial state

Claims (4)

  1. Ethernet under the industrial environment fast, reliable redundant looped network switch method for designing, it is characterized in that specifying main website in the looped network/from station arrangement; Two central port ports of acquiescence of master station device are in the Forward state, a port is in the Block state; Be in the state of Forward from two central ports of station arrangement; Master station device sends the TEST message by the Forward status port, and the port of Block state detects the TEST message; The state of the cpu of each device central port of poll in 10ms; Communication media between the device in the loop network breaks, two the device ring ports on medium both sides of breaking change, the central port converts LINK-DOWN to by LINK-UP, break two devices on medium both sides immediately with the LINK-DOWN incident, be forwarded on the net from the another one central port, refresh the central port MAC Address simultaneously one time; Master station device is received from the central port and is received the incident that neighboring devices is transmitted, and at first opens the central port that is in the Block state, makes this port be in the Forward state, and the message of delivery network topology change, master station device refresh the central port mac address table of oneself; Refresh MAC Address receive the message of the topology change that master station device sends from station arrangement after; Whole topology change reaches the stable state time less than 100ms to reconstituting.
  2. 2. method according to claim 1, it is characterized in that, two central ports of master station device are configured to Forward state, Block state respectively, central port by the Forward state sends the TEST message, send once 1 second, central port by the Block state receives the TEST message, and the central port of Block state receives only the TEST message, does not receive other messages.
  3. 3. method according to claim 1 is characterized in that, under stable state, all two central ports from station arrangement all are in the Forward state.
  4. 4. method according to claim 1, it is characterized in that, all from station arrangement all at the LINK-UP, the state of LINK-DOWN of two central ports of monitoring, when LINK-UP, the generation of LINK-DOWN incident are arranged in the network, the device that the incident that monitors takes place is transmitted event earlier, refreshes the MAC Address of this device then; When adjacent other receives the incident of forwarding from station arrangement by the central port, same first forwarding incident refreshes the MAC Address of this device then.
CNB2007100030416A 2007-02-01 2007-02-01 An implementation method for industrial Ethernet fast-speed redundancy Active CN100469036C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100030416A CN100469036C (en) 2007-02-01 2007-02-01 An implementation method for industrial Ethernet fast-speed redundancy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100030416A CN100469036C (en) 2007-02-01 2007-02-01 An implementation method for industrial Ethernet fast-speed redundancy

Publications (2)

Publication Number Publication Date
CN101079781A CN101079781A (en) 2007-11-28
CN100469036C true CN100469036C (en) 2009-03-11

Family

ID=38907023

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100030416A Active CN100469036C (en) 2007-02-01 2007-02-01 An implementation method for industrial Ethernet fast-speed redundancy

Country Status (1)

Country Link
CN (1) CN100469036C (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227372B (en) * 2008-02-21 2010-09-08 杭州华三通信技术有限公司 Ether ring net protection method, transmission node and host node
CN101488897B (en) * 2009-02-25 2012-11-28 北京东土科技股份有限公司 Zero packet loss technique implementing method when fast redundancy reverse occurs
CN101827008A (en) * 2009-03-04 2010-09-08 中兴通讯股份有限公司 Method for controlling refreshing frequency of Ethernet address table
CN101651596B (en) * 2009-09-27 2011-06-29 迈普通信技术股份有限公司 Method for accelerating switching during Ethernet automatic protection switching failure
CN101907879B (en) * 2010-03-12 2012-07-04 大连理工大学 Industrial control network redundancy fault-tolerant system
CN102404177A (en) * 2011-11-28 2012-04-04 浙江网新技术有限公司 Method for networking train ring network
CN103297257B (en) 2012-02-27 2016-10-19 北京东土科技股份有限公司 A kind of implementation method of redundant network
CN102647298B (en) * 2012-04-23 2018-11-06 南京中兴软件有限责任公司 A kind of method and device for realizing data transmission based on double layer network tangent rings
CN103124235A (en) * 2013-01-18 2013-05-29 武汉迈威实达软件有限公司 MS-ring Ethernet redundancy access algorithm
CN103281229A (en) * 2013-05-03 2013-09-04 杭州正嘉数控设备有限公司 Motion control bus communication method based on Ethernet physical layer
CN103825754B (en) * 2013-08-01 2017-04-12 国家电网公司 Ring network multipoint fault discovery and recovery processing method
CN103685079A (en) * 2014-01-02 2014-03-26 武汉迈威实达软件有限公司 Self-adaptive Ethernet single-loop network algorithm
CN105323171B (en) * 2014-07-09 2019-01-08 北京东土科技股份有限公司 A kind of network equipment removes the method and device of mac address table
CN105141494A (en) * 2015-07-15 2015-12-09 上海埃德电子股份有限公司 Low-cost Ethernet single-ring network system and method
CN105282001A (en) * 2015-12-10 2016-01-27 深圳市源拓光电技术有限公司 Network opening method for industrial Ethernet switch
CN105959172B (en) * 2016-07-19 2019-01-18 浪潮(北京)电子信息产业有限公司 A kind of the redundant network management method and platform of group system
CN107026691B (en) * 2017-04-14 2020-02-11 云南电网有限责任公司电力科学研究院 Method and system for automatically isolating power distribution optical fiber ring network fault
CN112311618B (en) * 2019-08-02 2022-05-17 北京东土科技股份有限公司 Test method and test equipment of network switching equipment
CN110557296A (en) * 2019-09-30 2019-12-10 中国船舶重工集团公司第七0七研究所 Dual-unit server redundant network system
CN111159089B (en) * 2019-12-30 2022-03-29 北京和利时系统集成有限公司 Equipment communication method and system under redundant host link collision mode
CN113162778B (en) * 2020-01-07 2023-09-19 中国科学院沈阳自动化研究所 Method for high-speed industrial Ethernet main station redundancy
CN112714461B (en) * 2021-01-29 2022-05-31 四川安迪科技实业有限公司 DAMA satellite network central station protection switching method
CN114448801A (en) * 2021-12-23 2022-05-06 东莞市李群自动化技术有限公司 Method, network topology, device and storage medium for creating real-time channel group

Also Published As

Publication number Publication date
CN101079781A (en) 2007-11-28

Similar Documents

Publication Publication Date Title
CN100469036C (en) An implementation method for industrial Ethernet fast-speed redundancy
CN101262401B (en) A method for realizing network recovery in loop network
JP5073812B2 (en) Distributed Ethernet system and method for detecting faults based on the system
CN102082695B (en) Hot standby redundancy network system and redundancy realization method
CN102014001B (en) Method and exchange equipment for realizing fast Ethernet ring
CN101141381B (en) Network node and method of reducing medium access control address learning in looped network thereof
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN102394787A (en) Dual-link redundancy control method based on EPA switch
CN100454880C (en) Method and system of realizing rig network protection
CN103107940B (en) For the redundant gateway system of device level looped network
CN102291290A (en) Method and system for failure detection and connection of Ethernet ring network
CN102055658B (en) Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking
CN102932183B (en) Double-up link failure processing method and device
CN103227725A (en) Method and device for dual-server backup of firewall
CN102891769A (en) Link fault informing method and apparatus
CN101989930B (en) Method and switching equipment for realizing Ethernet double loop
JP5491623B2 (en) Address refresh method and system
CN110635940B (en) Main/standby switching method of EAPS Ethernet ring network
CN104135417A (en) Quick recovery method for ethernet ring network link interruption and corresponding ethernet ring network
CN101534234B (en) Interworking Ethernet ring network protection method and system
CN101641915B (en) Method for reconfiguring a communication network
CN101848128B (en) Method, system and topological structure for realizing stabilized communication among multi-ring topologies
CN100550812C (en) Improve method, system and the node device of dependability of fast looped network
CN102868605A (en) Looped network data protection method and device
CN101237319A (en) Time synchronization method in Ethernet ring network and Ethernet ring system

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
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Gao Xiaoli

Document name: Medal of patent certificate