CN101741668A - Backup method for loop network - Google Patents

Backup method for loop network Download PDF

Info

Publication number
CN101741668A
CN101741668A CN200810176414A CN200810176414A CN101741668A CN 101741668 A CN101741668 A CN 101741668A CN 200810176414 A CN200810176414 A CN 200810176414A CN 200810176414 A CN200810176414 A CN 200810176414A CN 101741668 A CN101741668 A CN 101741668A
Authority
CN
China
Prior art keywords
port
loop network
obstruct
interchanger
circuit
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
Application number
CN200810176414A
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.)
Etherwan Systems Inc
Original Assignee
Etherwan Systems Inc
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 Etherwan Systems Inc filed Critical Etherwan Systems Inc
Priority to CN200810176414A priority Critical patent/CN101741668A/en
Publication of CN101741668A publication Critical patent/CN101741668A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a backup method for a loop network. When a line is damaged, an initial blocking port is set to be communicable so as to maintain a smooth network; and after the damaged line is recovered, the blocking port is directly set as one of ports at two ends of the recovered line. The method does not need to send a signal to inform the initial blocking port of resetting blockage so as to save much transmission time, reduce the data transmission loss caused by recovering the damaged line and improve the stability of a loop network system.

Description

The redundant method of loop network
Technical field
The present invention relates to a kind of network redundant method, refer in particular to a kind of loop network redundant method that can prevent that broadcast storm (Broadcast Storm) from taking place.
Background technology
Along with the fast development of present information science and technology, computer network and communication apparatus become many rapidly by the circulation of information, and concerning the incorporated business and the common people's daily life, keep the unimpeded importance of communication and do not say and can explain.Generally speaking, communication network can simple defining be: communication apparatus is interlinked formed overall operation environment.And distinguish with the covering scope size, can be divided into LAN (Local Area Network haply, LAN), MAN (Metropolitan Area Network, MAN) and Wide Area Network (Wide Area Network, WAN) three kinds, wherein LAN (LAN) is the network of covering scope minimum, a normally same office, same the building or same campus is the communication network of scope.
In the world of network, in order to transmit exchange message smoothly mutually, each node of whole network all must be observed identical codes and standards, so communications protocol is just arisen at the historic moment.The communications protocol of network is with (the International Organization forStandardization of International Standards Organization at present, ISO) open communication system interconnect model (the Open SystemInterconnection Model that is formulated, OSI model), and Institute of Electrical and Electronics Engineers IEEE (Institutionof Electrical and Electronics Engineers, the IEEE that IEEE) formulated 802 series are main communications protocol.And Ethernet (Ethernet) is exactly one of present modal LAN structure.
What the network architecture referred to is not the binding topology form (topology) of network, has also comprised the entity transmission mediation device of network, and the access mode of information.Osi model is that some of the network architecture are with reference to notion, the concrete method of implementing is not proposed, and Ethernet in real world (Ethernet), Token Ring network (Token-Ring), ARCnet (Attached ResourceComputer Network), FDDI (Fiber Distributed Data Interface), AppleTalk or the like all are the network architecture communications protocol that depends under the osi model.
And in general, be applied in the network in LAN or the industrial automation system at present, all be provided with network switch (Network Switcher) at each node, and be attached to relevant device via each interchanger, similarly be computer, communication apparatus, terminal equipment etc., so that information exchange functions to be provided.
The binding topology form of the network architecture has a variety of, linear (Line), ring-type (Ring), row's shape (Bus), star (Star), netted (Mesh), tree-shaped (Tree) or the like have been comprised, wherein the connected mode of ring-type be in the network each node be the polyphone join, linking to each other end to end forms closed hoop again, and each node can be by the circuit and the mutual communication of other any node of annular.Yet the transmission of data in the loop network is because of its circuit presents the ring-type circulation, if the endless always circulating transfer in the line of old information, taken network bandwidth, new information can't be transmitted, form the paralysis of network, this phenomenon is called broadcast storm (BroadcastStorm).The method of its solution is exactly to be provided with to intercept port (blocked) on some interchanger nodes of loop network, and not permission information is passed through, so information just can endlessly not hand on.
Because of the transmission characteristic of loop network, one of them node is damaged and is interrupted in network again, and in the time of can't using, other node also can be influenced, even cause network paralysis, therefore guarantees that the unimpeded of circuit is very important.And the redundant method major part of loop network all adopts the algorithm of RapidSpanning Tree Protocol (RSTP) now, allows the stability of circuit improve.In the RSTP algorithm, when the port that is intercepting detects when having other node or circuit to damage in the ring-type circuit, but just the port that is originally intercepting is become PORT COM (forward), it is unimpeded that the whole system circuit can be kept at once; And after node that damages or circuit reparation, but change back the obstruct port port that becomes communication again, be returned to initial state.
But because circuit damages or the transmission of the state of reparation, need the time, and the RSTP algorithm is rapid inadequately in the switching of port status, therefore often causes at port status between transfer period, on the circuit loss of message packet too much, cause the mistake of whole system.
Summary of the invention
Purpose of the present invention makes the loop network redundant more rapid for a kind of redundant method of loop network is provided, and the protection mechanism of the infinite circulation of the transfer of data of preventing is arranged, and can restrain the generation of broadcast storm (Broadcast Storm).
For achieving the above object, the invention provides a kind of redundant method of loop network, have a plurality of interchanger nodes on this loop network, its redundant method step comprises:
The initial condition of decision port, a port is the obstruct port on the setting loop network, but other is a PORT COM;
Damage interruption as circuit, the interchanger at these damaged line two ends sends a circuit and damages information on loop network;
The port of initial barrier is received when this circuit damages information, but port status is set at communication;
The port status that these damaged line two ends are connect is set at obstruct; And
When this damaged line was repaired, the obstruct port that its two ends connect selects one and keep the obstruct state, but another was set at communication.
In other words, the invention provides a kind of loop network redundant method, have a plurality of interchanger nodes on this loop network, plural port is arranged in the interchanger, in order to the mutual polyphone formation ring-type of joining, and other port can link to each other with another network, or connects any device; And more include a storage device in the interchanger, in order to the stores port state.The redundant method step comprises: the initial condition of decision port, a port is for intercepting port (blocked port) on the setting loop network, but other is PORT COM (forward port), method can be MAC (the Media Access Control) address of each port of comparison, or other setting means that defines voluntarily; Damage interruption as circuit, the interchanger at these damaged line two ends is broadcasted a circuit and is damaged information on loop network; Originally the port that intercepts is received when this circuit damages information, but port status is set at communication; The port status that these damaged line two ends are connect is set at obstruct; When this damaged line was repaired, the obstruct port that its two ends connect select one of them to keep the obstruct state, but another was set at communication, and method can be recovery priority, MAC Address size or other selection mode that defines voluntarily of comparison two-port.
Of the present invention being characterized as: when (1) is damaged when circuit, but intercept port can be set at immediately PORT COM (<20ms), but than the RSTP algorithm will intercept the port mouth be set at PORT COM time (>1sec) saving is many; (2) after circuit damage to be repaired, directly be provided with repair circuit two ends port one of them for intercepting port, known RSTP algorithm will be broadcasted and be informed all nodes on the network, then again obstruct place is located at initial place.Because technical development, number of nodes on the network is more and more considerable, in comparison, but the present invention intercepts the switching setting speed of port and PORT COM, more many fast than known, save the very long time that program circuit damages and repairs, and then can reach the purpose that the stability of a system is lost and increased to minimizing citation data.
Above general introduction and ensuing explanation and accompanying drawing all are in order to further specify means that the present invention takes and the effect of reaching.Right appended embodiment and accompanying drawing only provide reference and explanation usefulness, are not to be used for limiting the present invention.
Description of drawings
Fig. 1 is the loop network Organization Chart of an embodiment of the present invention.
Fig. 2 is the initial port setting state flow chart of an embodiment of the present invention.
Fig. 3 is the loop network redundant method flow diagram of an embodiment of the present invention.
Fig. 4, Fig. 5, Fig. 6, Fig. 7 are the loop network redundant method flow schematic diagram of an embodiment of the present invention.
[main element description of reference numerals]
11~15 interchangers
S202~S206 sets the step of port status initial value
The step of S302~S308 loop network redundant method
Embodiment
With reference to Fig. 1, be the loop network simplified schematic diagram of an embodiment of the present invention, in the loop network of present embodiment, five interchangers 11~15 are arranged, and the formation ring-type of joining of contacting mutually is as Fig. 1, and respectively comprise plural port in this interchanger 11~15, in order to be interconnected to form ring-type; In addition, respectively comprised a storage device in the interchanger 11~15, in order to stores port mouth state.Certainly, the node number on the loop network is not limited to five, as long as the node more than three can form the structure of loop network.
Finish when loop network sets up, each node will begin mutual notice, sets the initial port state, and flow chart of steps as shown in Figure 2.The determining method of initial barrier port is the MAC Address (S202) of each port of comparison in the present embodiment; The port that will have maximum MAC address is made as obstruct (S204); Except the port that intercepts, but other port is made as communication (S206), has so just finished the setting of initial value.And the decision of initial barrier port can be any method of definition voluntarily, is not limited to comparison MAC Address size.
Fig. 3 is the embodiment flow chart of redundant method of the present invention, cooperates the present embodiment schematic flow sheet of Fig. 4, Fig. 5, Fig. 6 and Fig. 7 to describe.As the mark of Fig. 4, suppose obstruct place of initial setting, one of them is connected in the port on the loop network for interchanger 11; Then as Fig. 5, if damaging, the circuit that interchanger 13 links to each other with interchanger 14 interrupts, the interchanger 13 and the interchanger 14 at damaged line two ends will send a circuit and damage signal, and all nodes (S302) on the notice loop network, this circuit damage signal and can be arbitrarily the data format of definition voluntarily; When interchanger 11 receives this circuit damage signal then, but the port that intercepts originally is made as communication (S304), the port that changes the interchanger 13 of establishing the damaged line two ends and interchanger 14 is for intercepting (S306), as shown in Figure 6, thus, but each node on the loop network is normal phase intercommunication news still, and do not have the generation of broadcast storm; Come again after if circuit is repaired, the port that the interchanger 13 at reparation circuit two ends links to each other with interchanger 14 is selected one and is kept obstruct, but another is made as communication (S308), as shown in Figure 7, and system of selection can be the speed of comparison two ends port recovery or the size of MAC Address, also can be the selection mode that other defines voluntarily.For example, the port of comparatively fast repairing is kept obstruct, but another is made as communication; Or the port that both MAC Address are bigger keeps obstruct, but another is made as communication.
Of the present invention be characterized as circuit and repair after, intercept port and directly be set at one of them of repairing circuit two ends port, compare with the known signalisation initial barrier place that will send, many citation times have been saved, allow and repair the transmission data loss attenuating that causes, improved the stability of system because circuit damages.
The above is the explanation of specific embodiments of the invention; yet interest field of the present invention should be as the criterion with claim, any those of ordinary skill of the field of the invention can think easily and variation or revise all can be encompassed within the scope of patent protection that this case defines.

Claims (9)

1. the redundant method of a loop network is characterized in that having a plurality of interchanger nodes on this loop network, and its redundant method step comprises:
The initial condition of decision port, a port is the obstruct port on the setting loop network, but other is a PORT COM;
Damage interruption as circuit, the interchanger at these damaged line two ends sends a circuit and damages information on loop network;
The port of initial barrier is received when this circuit damages information, but port status is set at communication;
The port status that these damaged line two ends are connect is set at obstruct; And
When this damaged line was repaired, the obstruct port that its two ends connect selects one and keep the obstruct state, but another was set at communication.
2. the redundant method of loop network according to claim 1 is characterized in that respectively comprising in the interchanger on this loop network a plurality of ports, forms ring-type in order to mutual serial connection.
3. the redundant method of loop network according to claim 1 is characterized in that respectively having comprised in the interchanger on this loop network a storage device, in order to store the state of this each port of interchanger.
4. the redundant method of loop network according to claim 1, the determining method that it is characterized in that this initial barrier port is the MAC Address size of each port of comparison.
5. as the redundant method of loop network as described in the claim 4, the initial barrier port determining method that it is characterized in that this comparison MAC Address, be to select the port that has maximum MAC address, set it and be the initial barrier port, but the port on other loop network then be made as communication.
6. the redundant method of loop network according to claim 1 is characterized in that when damaged line is repaired the system of selection of this obstruct port is the MAC Address size of relatively repairing circuit two ends port.
7. as the redundant method of loop network as described in the claim 6, it is characterized in that the obstruct port selecting method of this comparison MAC Address, be to select to have big MAC Address person in the two-port and keep obstruct, but the another port then is made as communication.
8. the redundant method of loop network according to claim 1 is characterized in that when damaged line is repaired the system of selection of this obstruct port is a recovery speed of relatively repairing circuit two ends port.
9. as the redundant method of loop network as described in the claim 8, it is characterized in that this relatively restores the obstruct port selecting method of speed, be to select it to restore faster port and keep obstruct, but the another port then is made as communication.
CN200810176414A 2008-11-07 2008-11-07 Backup method for loop network Pending CN101741668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810176414A CN101741668A (en) 2008-11-07 2008-11-07 Backup method for loop network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810176414A CN101741668A (en) 2008-11-07 2008-11-07 Backup method for loop network

Publications (1)

Publication Number Publication Date
CN101741668A true CN101741668A (en) 2010-06-16

Family

ID=42464596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810176414A Pending CN101741668A (en) 2008-11-07 2008-11-07 Backup method for loop network

Country Status (1)

Country Link
CN (1) CN101741668A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209552A (en) * 2016-07-15 2016-12-07 浙江宇视科技有限公司 Plug and play network-building method, Apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209552A (en) * 2016-07-15 2016-12-07 浙江宇视科技有限公司 Plug and play network-building method, Apparatus and system

Similar Documents

Publication Publication Date Title
US7440397B2 (en) Protection that automatic and speedily restore of Ethernet ring network
TWI455525B (en) Recovery method for ring-based network
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
CN102821050B (en) A kind of RSTP is applied to the processing method of Single-ring network topology
CN103595626B (en) Method for achieving dynamic path planning in ring network
EP2178249B1 (en) Method of redundancy of ring network
US20130177021A1 (en) Communication device, communication system and communication method
CN101610193A (en) Ethernet ring network finds and generates the method for ring automatically
CN101997735A (en) Monocylic network topology reconstruction method and system thereof
US20140036927A1 (en) Force protection switching method in ethernet ring network
CN101252503B (en) Method and apparatus for switching traffic of looped network
CN102223312B (en) Flow control method and equipment based on link status
CN1825832B (en) Ring rapid spanning tree protocol
CN103107940A (en) Redundant gateway system for device level ring networks
CN102215165B (en) A kind of message processing method of tangent ring networks and Ethernet switch
JP2005110253A (en) Method and apparatus for preventing spanning tree loop during traffic overload condition
CN103916318A (en) Single-loop network implementation method
CN109194592B (en) Method and system for solving island problem in multi-link network
CN101641915A (en) Method for reconfiguring a communication network
CN101741668A (en) Backup method for loop network
CN103840965B (en) Method for enhancing quick fault convergence in RSTP
CN102546345A (en) Method for realizing cross-ring protection of resilient packet ring by use of spanning tree protocol
CN101305549A (en) Detecting inactive links in a communication network
CN102075374A (en) Method and system for reconstructing single-ring network topology
CN104579736A (en) Loop circuit data transmission method and node equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20100616