CN109600290A - A kind of more main methods coexisted in loop network - Google Patents
A kind of more main methods coexisted in loop network Download PDFInfo
- Publication number
- CN109600290A CN109600290A CN201811612210.0A CN201811612210A CN109600290A CN 109600290 A CN109600290 A CN 109600290A CN 201811612210 A CN201811612210 A CN 201811612210A CN 109600290 A CN109600290 A CN 109600290A
- Authority
- CN
- China
- Prior art keywords
- main website
- priority
- equipment
- main
- message
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L12/437—Ring fault isolation or reconfiguration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of main methods coexisted more in loop network, support that there are multiple main websites in looped network.Equipment for having master station capability, default operating mode can be configured to PRE-M mode, be campaigned for automatically after equipment starting in this way, until generating a unique main website, others are converted into slave station.When main website failure or not in network, the slave station for having master station capability is again introduced into PRE-M mode, campaigns for main website again.When there is new PRM-E equipment to access network, new PRE-M equipment to current master station equipment carry out priority ratio compared with.Realize that there are when multiple main websites, guarantee that looped network can work normally in loop network.
Description
Technical field
The present invention relates to a kind of methods led more and coexisted in the loop network of Ethernet switch composition.
Background technique
Ethernet technology progresses into industrial control field, becomes the component part of automated communication network.Industrial ether
In order to guarantee that the redundancy and maintainability of network, ring network topology structure are largely used, loop network can pass through net
The management of main website realizes that the redundancy of single communication link fails is restored, but when main website failure, redundancy restores function just cannot be real
It is existing.It, can be by configuring multiple main websites, at one of main website in looped network for this purpose, the invention proposes a kind of new methods
In working condition, other main websites are in stand-by state, and when the main website of working condition breaks down, spare main website manages looped network,
The reliability of raising system.
In loop network, the equipment of looped network is formed by central port and physically connects cyclization, but loop network meeting
Form broadcast storm.For this purpose, as shown in Figure 1, main website by obstruction central port realize message do not broadcasted in looped network, loop network
Logically remain open loop situations, meanwhile, main website can also issue link detection message by central port, when detecting some
When link is due to cable or the disconnection of other failures, main website opens the central port of obstruction, can work normally network still, this
It is exactly the redundancy recovery function of the single communication link of looped network.It is multiple since main website realizes link redundancy by obstruction central port
Main website just cannot coexist, because multiple main websites can block multiple central ports, cause looped network to be divided into multistage, entire ring cannot
Realize communication completely.If only using a main website, have the drawback that whole network is due to lacking when main website breaks down
The situation of manager, network will be in unknown situation, affect the reliability of system.
Summary of the invention
For the above defect of the existing technology, it is a primary object of the present invention to overcome the deficiencies in the prior art it
Place discloses a kind of more main methods coexisted in loop network, which is characterized in that the described method includes:
S1: loop network is formed by multiple main websites and slave station, main website and slave station are initialized, and price main website
State be adjusted to PRE-M state;
S2: election contest main website is compared to each other respective priority between each main website two-by-two, priority it is low switch to automatically from
It stands, until selecting highest priority as main website.
Further, slave station and main website are initialized in S1, the progress of general networks device parameter is carried out to main website and slave station
Configuration, and priority parameters are arranged to each main website.
Further, compare priority two-by-two in S2 method particularly includes:
S21: all main websites send the M-TEST message comprising oneself priority to looped network by two central ports, work as master
After station receives the M-TEST message of oneself sending, no longer forward;After PRE-M receives the M-TEST message that other main websites issue,
Priority ratio is carried out compared with sending Negative Acknowledgment message M-TEST-N if receiving priority is lower than oneself priority;If
When the parameter of two priority facilities is the same, compare the MAC Address of equipment, MAC Address is smaller, and the priority of equipment is just
It is higher;
S22: receiving the PRE-M equipment of response message M-TEST-N, will record the MAC Address of high priority PRE-M equipment
And priority, and be slave station by role transforming, and forwarding state is changed into from blocked state in the central port of oneself, it sends simultaneously
M-TOPOLOGY message, all looped network equipment for receiving M-TOPOLOGY message will empty FDB table, and re-start path learning;
The PRE-M equipment of highest priority is converted into main website, continues to send M-TEST message to two central ports.
Further, in step s 2, if main website breaks down or not in network, the slave station with master station capability
It is again introduced into PRE-M mode, campaigns for main website again.
Further, in step S2, when the new equipment in PRE-M mode is added to network, the main website that is newly added
With the main website of work at present carry out priority ratio compared with, select priority it is high be used as main website, priority it is low switch to slave station automatically.
Further, after the main website starting being newly added, after the M-Test message that the main website for receiving work at present is sent, meeting
Priority in message is compared with itself, if higher than oneself, just abandons the role of PRE-M, into the angle of slave station
Color;If lower than oneself, M-TEST-N Negative Acknowledgment message is sent out, the main website of work at present receives Negative Acknowledgment message M-TEST-N
Afterwards, the MAC Address and priority of high priority PRE-M equipment will be recorded, and is slave station by role transforming, and by the ring end of oneself
Mouth changes into forwarding state from blocked state, while sending M-TOPOLOGY message;The PRE-M equipment transition status being newly added is
Main website sends M-TEST message, adapter tube loop network.
It is that the present invention obtains the utility model has the advantages that
The invention proposes more main mechanism coexisted.Support that there are multiple main websites in looped network.For having master station capability
Equipment, default operating mode can be configured to PRE-M mode, be campaigned for automatically after equipment starting in this way, until generating
One unique main website, others are converted into slave station.When main website breaks down or not in network, has the slave station of master station capability
It is again introduced into PRE-M mode, campaigns for main website again.When there is new PRM-E equipment to access network, new PRE-M equipment is to current
Master device carry out priority ratio compared with.Realize that there are when multiple main websites, guarantee that looped network can work normally in loop network.
Detailed description of the invention
Fig. 1 is the single main website ring-like network structure schematic diagram of the present invention;
Fig. 2 is PRE-M loop network schematic diagram;
Fig. 3 is network recovery schematic diagram;
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, right with reference to the accompanying drawings and embodiments
The present invention is described in further detail.It should be appreciated that described herein, specific examples are only used to explain the present invention, and does not have to
It is of the invention in limiting.
More main methods coexisted, method include: in a kind of loop network of the invention
S1: loop network is formed by multiple main websites and slave station, main website and slave station are initialized, and price main website
State be adjusted to PRE-M state;
S2: election contest main website is compared to each other respective priority between each main website two-by-two, priority it is low switch to automatically from
It stands, until selecting highest priority as main website.
Specifically, initializing in S1 to slave station and main website, there are two dedicated for the equipment of composition loop network as shown in Figure 2
Central port, two ports may be at forwarding state or blocked state, and the port in blocked state is unable to forwarding service
Message only forwards cura specialis message, and the port in forwarding state can forward all messages.It is needed before into communication work
Equipment initial configuration is carried out, equipment component is configured as slave station, and 2 central ports of slave station are all in forwarding state.Part
Equipment is configured as main website, and main website original state is PRE-M state.In addition to the conventional network equipment relevant parameter of configuration, such as MAC
Outside address, the priority of main website is also needed to configure for main website.The state of one central port of main website in PRE-M state is resistance
Plug-like state, forwarding service message, another port are not forwarding state, forwarding service message.
Specifically, comparing priority in S2 two-by-two method particularly includes:
All main websites send the M-TEST message comprising oneself priority to looped network by two central ports, when main website is received
After the M-TEST message issued to oneself, no longer forward;After PRE-M receives the M-TEST message that other main websites issue, carry out
Priority ratio is compared with sending Negative Acknowledgment message M-TEST-N if receiving priority is lower than oneself priority;If when two
When the parameter of a priority facility is the same, compare the MAC Address of equipment, MAC Address is smaller, and the priority of equipment is got over
It is high.
The PRE-M equipment for receiving response message M-TEST-N will record the MAC Address of high priority PRE-M equipment and excellent
First grade, and be slave station by role transforming, and forwarding state is changed into from blocked state in the central port of oneself, while sending M-
TOPOLOGY message, all looped network equipment for receiving M-TOPOLOGY message will empty FDB table, and re-start path learning;Such as
Shown in Fig. 3, the PRE-M equipment of highest priority is converted into main website, continues to send M-TEST message to two central ports.
PRE-M equipment is converted into slave station state after looped network work, needs according to the M-Test message for forwarding and receiving,
Monitor and record the survival condition of higher priority devices.When it find the M-Test message time-out that high preference faciltiy is sent when
It waits, it can reenter PRE-M role, and new main website is started to campaign for, and realize the management of mostly main backup and redundancy.
When the new equipment in PRE-M mode is added to network, the main website of the main website and work at present that are newly added into
Row major grade compares, select priority it is high be used as main website, priority it is low switch to slave station automatically.
Specifically, after the equipment starting for the PRE-M mode being newly added, in the M-Test that the main website for receiving work at present is sent
After message, the priority in message can be compared with itself, if higher than oneself, just abandon the role of PRE-M, enter
The role of slave station;If lower than oneself, M-TEST-N Negative Acknowledgment message is sent out, the main website of work at present receives Negative Acknowledgment message M-
After TEST-N, will record high priority PRE-M equipment MAC Address and priority, and by role transforming be slave station, and by oneself
Central port change into forwarding state from blocked state, while sending M-TOPOLOGY message;The PRE-M equipment conversion being newly added
State is main website, sends M-TEST message, adapter tube loop network.
In conclusion the principle of more main methods coexisted is in looped network network, to have in a kind of loop network of the present invention
The equipment of master station capability is configured to PRE-M mode, is campaigned for automatically after equipment starting in this way, unique until generating one
Main website, others are converted into slave station.When main website failure or not in network, the slave station for having master station capability is again introduced into
PRE-M mode, campaigns for main website again.When the new equipment in PRE-M state is added to network, carried out by PRE-M preferential
Grade compares.Election contest is based primarily upon the preconfigured priority of equipment, is compared if priority is identical using MAC Address.
The foregoing is merely a prefered embodiment of the invention, practical range not for the purpose of limiting the invention;If not departing from this
The spirit and scope of invention, modify or equivalently replace the present invention, and should all cover the protection in the claims in the present invention
In range.
Claims (6)
1. a kind of more main methods coexisted in loop network, which is characterized in that the described method includes:
S1: loop network is formed by multiple main websites and slave station, main website and slave station are initialized, and the shape of price main website
State is adjusted to PRE-M state;
S2: election contest main website is compared to each other respective priority between each main website two-by-two, priority it is low switch to slave station automatically, directly
To selecting highest priority as main website.
2. more main methods coexisted in a kind of loop network according to claim 1, which is characterized in that in S1 to slave station and
Main website initialization carries out general networks device parameter to main website and slave station and configures, and priority parameters are arranged to each main website.
3. more main methods coexisted in a kind of loop network according to claim 1, which is characterized in that compare two-by-two in S2
Priority method particularly includes:
S21: all main websites send the M-TEST message comprising oneself priority to looped network by two central ports, when main website is received
After the M-TEST message issued to oneself, no longer forward;After PRE-M receives the M-TEST message that other main websites issue, carry out
Priority ratio is compared with sending Negative Acknowledgment message M-TEST-N if receiving priority is lower than oneself priority;If when two
When the parameter of a priority facility is the same, compare the MAC Address of equipment, MAC Address is smaller, and the priority of equipment is got over
It is high;
S22: receiving the PRE-M equipment of response message M-TEST-N, will record the MAC Address of high priority PRE-M equipment and excellent
First grade, and be slave station by role transforming, and forwarding state is changed into from blocked state in the central port of oneself, while sending M-
TOPOLOGY message, all looped network equipment for receiving M-TOPOLOGY message will empty FDB table, and re-start path learning;It is excellent
The first highest PRE-M equipment of grade is converted into main website, continues to send M-TEST message to two central ports.
4. more main methods coexisted in a kind of loop network according to claim 1, which is characterized in that in step s 2,
If main website breaks down or not in network, the slave station with master station capability is again introduced into PRE-M mode, again election contest master
It stands.
5. more main methods coexisted in a kind of loop network according to claim 1, which is characterized in that in step S2, when
When the new equipment in PRE-M mode is added to network, the main website of the main website being newly added and work at present carries out priority ratio
Compared with, select priority it is high be used as main website, priority it is low switch to slave station automatically.
6. more main methods coexisted in a kind of loop network according to claim 5, which is characterized in that the main website being newly added
It, can be by the priority and the progress of itself in message after the M-Test message that the main website for receiving work at present is sent after starting
Compare, if higher than oneself, just abandon the role of PRE-M, into the role of slave station;If lower than oneself, M-TEST-N is sent out
Negative Acknowledgment message after the main website of work at present receives Negative Acknowledgment message M-TEST-N, will record high priority PRE-M equipment
MAC Address and priority, and be slave station by role transforming, and forwarding state is changed into from blocked state in the central port of oneself,
M-TOPOLOGY message is sent simultaneously;The PRE-M equipment transition status being newly added is main website, sends M-TEST message, adapter tube ring
L network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811612210.0A CN109600290A (en) | 2018-12-27 | 2018-12-27 | A kind of more main methods coexisted in loop network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811612210.0A CN109600290A (en) | 2018-12-27 | 2018-12-27 | A kind of more main methods coexisted in loop network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109600290A true CN109600290A (en) | 2019-04-09 |
Family
ID=65962827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811612210.0A Pending CN109600290A (en) | 2018-12-27 | 2018-12-27 | A kind of more main methods coexisted in loop network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109600290A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333806A (en) * | 2020-11-11 | 2021-02-05 | 大连金盛义电子科技有限公司 | Tunnel wireless redundant relay ring network system unit and system |
CN114089174A (en) * | 2021-10-20 | 2022-02-25 | 平高集团有限公司 | High-voltage switch mechanical characteristic monitoring device and GIS circuit breaker |
CN116938691A (en) * | 2023-09-19 | 2023-10-24 | 钛玛科(北京)工业科技有限公司 | Host computer construction method and system in equipment system network |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1768319A1 (en) * | 2005-09-26 | 2007-03-28 | Huawei Technologies Co., Ltd. | Method of inter-RPR-ring bridge redundancy |
CN101252426A (en) * | 2007-09-11 | 2008-08-27 | 北京东土科技股份有限公司 | Method for realizing high-reliability distributed redundant looped network |
CN101656650A (en) * | 2009-09-17 | 2010-02-24 | 杭州华三通信技术有限公司 | Method and main link device for realizing automatic configuration of Ethernet ring |
US7675869B1 (en) * | 2004-07-06 | 2010-03-09 | Marvell International Limited | Apparatus and method for master election and topology discovery in an Ethernet network |
CN102014001A (en) * | 2010-12-08 | 2011-04-13 | 迈普通信技术股份有限公司 | Method and exchange equipment for realizing fast Ethernet ring |
CN102394787A (en) * | 2011-12-14 | 2012-03-28 | 重庆邮电大学 | Dual-link redundancy control method based on EPA switch |
CN105915426A (en) * | 2016-06-20 | 2016-08-31 | 普联技术有限公司 | Failure recovery method and device of ring network |
-
2018
- 2018-12-27 CN CN201811612210.0A patent/CN109600290A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7675869B1 (en) * | 2004-07-06 | 2010-03-09 | Marvell International Limited | Apparatus and method for master election and topology discovery in an Ethernet network |
EP1768319A1 (en) * | 2005-09-26 | 2007-03-28 | Huawei Technologies Co., Ltd. | Method of inter-RPR-ring bridge redundancy |
CN101252426A (en) * | 2007-09-11 | 2008-08-27 | 北京东土科技股份有限公司 | Method for realizing high-reliability distributed redundant looped network |
CN101656650A (en) * | 2009-09-17 | 2010-02-24 | 杭州华三通信技术有限公司 | Method and main link device for realizing automatic configuration of Ethernet ring |
CN102014001A (en) * | 2010-12-08 | 2011-04-13 | 迈普通信技术股份有限公司 | Method and exchange equipment for realizing fast Ethernet ring |
CN102394787A (en) * | 2011-12-14 | 2012-03-28 | 重庆邮电大学 | Dual-link redundancy control method based on EPA switch |
CN105915426A (en) * | 2016-06-20 | 2016-08-31 | 普联技术有限公司 | Failure recovery method and device of ring network |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333806A (en) * | 2020-11-11 | 2021-02-05 | 大连金盛义电子科技有限公司 | Tunnel wireless redundant relay ring network system unit and system |
CN112333806B (en) * | 2020-11-11 | 2023-02-24 | 大连金盛义电子科技有限公司 | Tunnel wireless redundant relay ring network system unit and system |
CN114089174A (en) * | 2021-10-20 | 2022-02-25 | 平高集团有限公司 | High-voltage switch mechanical characteristic monitoring device and GIS circuit breaker |
CN116938691A (en) * | 2023-09-19 | 2023-10-24 | 钛玛科(北京)工业科技有限公司 | Host computer construction method and system in equipment system network |
CN116938691B (en) * | 2023-09-19 | 2023-12-26 | 钛玛科(北京)工业科技有限公司 | Host computer construction method and system in equipment system network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5350461B2 (en) | Enhanced traffic indication in connection failure management | |
US8203932B2 (en) | Method and system for protection switching in ethernet ring | |
CN102148677B (en) | Method for updating address resolution protocol table entries and core switch | |
US20150288620A1 (en) | Relay System and Switching Device | |
CN101854283B (en) | Communication method and equipment of RPR (Resilient Packet Ring) looped network | |
JP6278818B2 (en) | Relay system and switch device | |
CN101873244B (en) | Automatic multi-loop protection method | |
KR20080109748A (en) | Ring-shaped redundant communication path control method | |
JP2009005053A (en) | Packet ring network system and packet transfer method | |
CN109600290A (en) | A kind of more main methods coexisted in loop network | |
US9019816B2 (en) | Communication system, communication method, and communication apparatus | |
CN103607293B (en) | A kind of flow rate protecting method and equipment | |
CN105915426B (en) | The fault recovery method and device of loop network | |
EP2706706A1 (en) | Backup system of ring network and backup method of ring network | |
WO2016034127A1 (en) | System and method for achieving dual-node interconnection pseudo-wire | |
CN101483571B (en) | RRPP configuring method, system and device | |
JP6375206B2 (en) | Relay system and switch device | |
JP2014116767A (en) | Communication system and network relay device | |
CN101841450A (en) | Method and topological structure for realizing stable communication by forming multiple ring topologies into intersecting ring | |
CN110611590A (en) | Method and system for internet of things gateway communication backup | |
CN102932183B (en) | Double-up link failure processing method and device | |
JP5974911B2 (en) | Communication system and network relay device | |
CN102710492B (en) | Method and device for looped network protection | |
CN106375209B (en) | Building broadband node self-switching device adopting network quality analysis technology | |
CN107547330B (en) | Method and node equipment for transmitting service data |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190409 |