CN103346944A - Multi-channel looped network node device with multi-point collaboration detection and detection method - Google Patents

Multi-channel looped network node device with multi-point collaboration detection and detection method Download PDF

Info

Publication number
CN103346944A
CN103346944A CN2013102410985A CN201310241098A CN103346944A CN 103346944 A CN103346944 A CN 103346944A CN 2013102410985 A CN2013102410985 A CN 2013102410985A CN 201310241098 A CN201310241098 A CN 201310241098A CN 103346944 A CN103346944 A CN 103346944A
Authority
CN
China
Prior art keywords
message
looped network
node
link
ring
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.)
Granted
Application number
CN2013102410985A
Other languages
Chinese (zh)
Other versions
CN103346944B (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.)
Transcend Communication Inc
Original Assignee
Transcend Communication 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 Transcend Communication Inc filed Critical Transcend Communication Inc
Priority to CN201310241098.5A priority Critical patent/CN103346944B/en
Publication of CN103346944A publication Critical patent/CN103346944A/en
Application granted granted Critical
Publication of CN103346944B publication Critical patent/CN103346944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention relates to a multi-channel looped network node device with multi-point collaboration detection and a detection method. In nodes, at least one node is an assistant node which has a function of starting a message. A master node and the assistant mode detect a link status in a collaboration mode. The master node and the assistant node sequentially or simultaneously start detection messages of a looped network at certain time intervals. The messages started by all the nodes are sequentially forwarded in the loop until the messages return to the nodes starting the messages. A CPU and an ASIC chip of the node device form a plurality of channels according to types of the transmitted messages, and the corresponding special transmission channel is used for each message type. The multi-channel looped network node device with the multi-point collaboration detection has the advantages that the recovery rate of the looped network and reliability of the looped network are obviously improved, operation resources of the CPU of the loop nodes are greatly saved, the phenomenon of packet loss is avoided, and under the condition that operation loads of the looped network nodes are not increased, larger is the size of the looped network, shorter is recovery time of communication when failure happens on the looped network.

Description

Multi-point cooperative detection, multichannel looped network, node apparatus and detection method
Technical field
The application relates to a kind of multi-point cooperative detection, multichannel looped network, node apparatus and detection method.
Background technology
The looped network technology has important function for improving the industrial network reliability, and the looped network international standard has multiple, comprises RFC3619, IEC62439, ITU-G.8032 etc.At present, each manufacturer's looped network implementation is widely different, most looped network schemes are responsible for looped network configuration, cycle transmission looped network detection messages by host node, be responsible for checking direct-connected port Link State, assist to transmit the message that each link point sends from node, detection messages finally raps around to host node, detects thereby finish a ring status.The shortcoming of common looped network scheme is that the looped network resume speed depends on the host node operational capability and to a great extent from node transmission process ability, it is Millisecond that common ring node cpu E-Packets consuming time, and ring node cpu real time execution multitask system, uncertain factor is more, causing easily E-Packets loses, therefore, along with the increase of looped network node number, the resume speed of looped network and reliability all can be a greater impact; In addition, by CPU E-Packet can only detection port direct connected link state from node, if medium conversion equipment or trunking are arranged between the link, then can't detect link failure from node.
For the improvement of these problems, have some progress at present, for example, and CN200710121620.0, application schemes such as CN200710000925.6, wherein CN200710121620.0 has increased the self-healing ability of looped network, but is unrealized dynamic distributed computing; CN200710000925.6 has realized the looped network distributed arithmetic, but need to introduce the hardware high accuracy to the time module, increased system failure point; More than the problem that all exists of two kinds of schemes to be that the more big then looped network of looped network node scale disconnects recovery time more long.
Summary of the invention
The objective of the invention is to solve above-mentioned technical problem of the prior art.
The technical solution used in the present invention is:
A kind of multi-point cooperative detects the looped network of link, and looped network comprises a host node, at least one is from node, and the host node message that can start can E-Packet from node; It is characterized in that described at least one is the chromaffin body point that has the message function that starts concurrently from node; The collaborative Link State that detects of described host node and chromaffin body point, each other with certain hour at interval, the order looped network detection messages that starts, and message order in ring that each node starts is forwarded, until the node that returns this message that starts.
A kind of multi-point cooperative detects the looped network of link, and looped network comprises a host node, at least one is from node, and the host node message that can start can E-Packet from node; It is characterized in that described at least one is the chromaffin body point that has the message function that starts concurrently from node; The collaborative Link State that detects of described host node and chromaffin body point, the looped network detection messages that starts simultaneously each other, and message order in ring that each node starts is forwarded, until the node that returns this message that starts.
Preferably, all are the chromaffin body point that has the message function that starts concurrently from node.
Preferably, described host node is responsible for sending ring configuration detection message, receives ring configuration detection message and fills in self nodal information from node, transmits this message, and realization looped network state is collected;
When looped network just often, described host node sends transmits reset message and ring configuration notification packet, announcement ring status information, chromaffin body point reception message and according to message indicative of settings looped network detection time;
Subsequently, described host node and described chromaffin body dot sequency send or send simultaneously the ring status detection messages at interval;
When link failure, described chromaffin body point sends warning message to described host node; When link-recovery, send the link-recovery message to described host node.
Preferably, looped network node comprises CPU and asic chip.
Preferably, the looped network detection messages is sent out or is transmitted by the asic chip master.
Preferably, the main hair ring net configuration detection message of described host node energy, looped network dispose notification packet and transmit the message that resets, and can lead and send out and forwarding looped network detection messages, can receive and handle link warning message and link-recovery message.
Preferably, described chromaffin body point can be led and send out and forwarding looped network detection messages, chain circuit alarming message and link-recovery message, can transmit looped network configuration detection message, looped network configuration notification packet and transmit the message that resets.
A kind of multi-point cooperative detects the method for looped network, and described looped network comprises a host node, at least one is from node, and the host node message that can start can E-Packet from node; It is characterized in that, make that described at least one becomes the chromaffin body point that has the message function that starts concurrently from node; The collaborative Link State that detects of described host node and chromaffin body point, the looped network detection messages that starts simultaneously each other, and message order in ring that each node starts is forwarded, until the node that returns this message that starts.
A kind of multi-point cooperative detects the method for looped network, and described looped network comprises a host node, at least one is from node, and the host node message that can start can E-Packet from node; It is characterized in that, make that described at least one becomes the chromaffin body point that has the message function that starts concurrently from node; The collaborative Link State that detects of described host node and chromaffin body point, each other with certain hour at interval, the order looped network detection messages that starts, and message order in ring that each node starts is forwarded, until the node that returns this message that starts.
Preferably, make all become the chromaffin body point that has the message function that starts concurrently from node.
Preferably, described host node sends ring configuration detection message, receives ring configuration detection message and fills in self nodal information from node, transmits this message, and realization looped network state is collected;
When looped network just often, described host node sends transmits reset message and ring configuration notification packet, announcement ring status information, chromaffin body point reception message and according to message indicative of settings looped network detection time;
Subsequently, described host node and described chromaffin body dot sequency send or send simultaneously the ring status detection messages at interval;
When link failure, described chromaffin body point sends warning message to described host node; When link-recovery, send the link-recovery message to described host node.
Preferably, described ring configuration detection message enters after the link point, and message will be only by transmitted to CPU, makes respective handling by CPU and sends from the looped network another port more afterwards.
Preferably, described reset message and the ring configuration notification packet transmitted enters after the link point, transmit identical message copy to two inner tracks simultaneously, the ring node cpu is sent on being in first path, and second path is by asic chip message to be forwarded to the looped network another port.
Preferably, described ring status detection messages adopts the asic chip pass-through mode when entering link point, transmit from the looped network another port, send the ring node cpu not, when the origination node of this message along the looped network wraparound to this message, can and stop this message transmissions with this messages transmitted to CPU.
Preferably, adopt the asic chip pass-through mode when described chain circuit alarming message and link-recovery message enter chromaffin body point, transmit from the looped network another port, send the ring node cpu on not, when this message transfers to host node along looped network, can and stop this message transmissions with this messages transmitted to CPU.
Preferably, the described time interval is to be obtained by the ring configuration detection message that described host node master sends out and handled successively by each chromaffin body point, and message comprises parameter: looped network sense cycle Th, link point sequence number Ri; When the ring configuration message was got back to host node, statistics link point total quantity Rc=Ri calculated each link according to Th and Rc and puts assay intervals time T c=Th/Rc successively.
A kind of for realizing the collaborative looped network node device that detects link, comprising: CPU, asic chip is characterized in that described CPU can handle and transmit ring configuration detection message, chain circuit alarming message and link-recovery message; Described asic chip can be transmitted reset message and ring configuration notification packet when CPU processing forward table resets message and ring configuration notification packet; Described asic chip can be led and send out and transmit the ring status detection messages, and can lead, forwarding and handle link warning message and link-recovery message;
The CPU of described node apparatus and the type of message formation different information channel of asic chip according to transmission, these information channels comprise cpu access, by CPU and the parallel passage that constitutes of asic chip, asic chip passage.
A kind of multichannel looped network node device, comprise: CPU, asic chip, it is characterized in that, the CPU of described node apparatus and the type of message formation different information channel of asic chip according to transmission, these information channels comprise cpu access, by CPU and the parallel passage that constitutes of asic chip, asic chip passage; Described asic chip passage is used for transmission looped network detection messages, chain circuit alarming message and link-recovery message.
Preferably, comprising: described CPU can handle and transmit ring configuration detection message, chain circuit alarming message and link-recovery message; Described asic chip can be transmitted reset message and ring configuration notification packet when CPU processing forward table resets message and ring configuration notification packet; Described asic chip can be led and send out and transmit the ring status detection messages, and can lead, forwarding and handle link warning message and link-recovery message.
A kind of for realizing the collaborative looped network node device that detects link, comprise: CPU, asic chip, it is characterized in that, the CPU of described node apparatus can upgrade its time and number of nodes parameter to the looped network configuration message that receives, can and transmit the message that resets according to the looped network configuration notification packet that receives, configuration sends the time parameter of message, empties and transmits; Described node apparatus has the transmission control module that the control message sends at interval at setting-up time, and has the module that the ring detection messages that receives is transmitted; Described node apparatus has two ports, and wherein first port sends message, and second port receives the message that is sent and return around ring from first port by this node.
Preferably, described asic chip is used for transmission looped network detection messages, chain circuit alarming message and link-recovery message.
Preferably, described node apparatus is the chromaffin body point apparatus.
Preferably, described node apparatus is switch.
The technology of the present invention effect is: the resume speed and the reliability that obviously improve looped network.
The asic chip time-delay that E-Packets is very little, reach the microsecond level and postpone, thereby looped network recovery time and looped network node quantity size it doesn't matter.And looped network node quantity is more many, and c is more little for looped network interval T detection time, and then looped network is more short recovery time.
The present invention supports multiple passage pass-through mode, comprises modes such as the forwarding of CPU software and asic chip forwarding, and asic chip is transmitted can finish testing process in hundreds of microseconds, the accidental packet loss problem of effectively avoiding the software pass-through mode to occur.
Need not accurate timing agreement or module between the major-minor node of looped network of the present invention, by the self-adapting synergizing algorithm, can realize the collaborative detection that adapts with network size, under the condition that is not increasing ring node cpu computational burden, can realize that the looped network scale is more big, looped network more short effect recovery time.
The present invention can realize the collaborative detection that adapts with network size, under the very huge condition of link number of spots, if adopt dot interlace or every the mode detection ring net state of a plurality of points, then can avoid too frequent looped network status monitoring,
Can realize that by the asic chip pass-through mode microsecond level is accurately synchronous between the major-minor node of looped network of the present invention, thereby support the co-operation of looped network equipment, for example device synchronization restarts.
The major-minor node of looped network of the present invention need not to detect looped network port link down/link up event, has greatly saved ring node cpu calculation resources.Can't detect the defective of link down/link up event when having avoided physical link to have relaying.
Description of drawings
Fig. 1 is multi-point cooperative ring-network topology figure of the present invention.
Fig. 2 is the link point first passage schematic diagram for transmission ring configuration detection message.
Fig. 3 encircles the link point second channel schematic diagram that disposes notification packet, transmits the message that resets for transmission.
Fig. 4 is the link point third channel schematic diagram for transmission ring status detection messages.
Fig. 5 puts the four-way schematic diagram for the link of transmission link warning message, link-recovery message.
Fig. 6 is multi-point cooperative ring network host node flow chart.
Fig. 7 is multi-point cooperative looped network chromaffin body point flow chart.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the invention is described, but the invention is not restricted to this.Present invention resides in the various schemes described in the specification and by the reasonable combination of the various measures of mentioning in this specification.Relational term of the present invention is as follows:
Host node (Master): specially appointed unique node in a loop, be responsible for each transmission node information in the collecting ring, issue configuration parameter and control command to the chromaffin body point.
Chromaffin body point (Assistant): the node in the looped network except Master, be responsible for requiring to report state information according to host node, and instruct according to the coordination of host node, orderly and independent detection looped network state.Why called after chromaffin body point be for be different from common looped network from node, in the present invention, the chromaffin body point has the function of part host node.
Master port (Main Port): the host node working port, just often be responsible for transfer of data at looped network.
Standby port (backup Port): the host node backup port, when network failure appears in master port, will enable the port and carry out transfer of data.
Ring configuration detection message (Ring check Message): host node regularly sends to looped network, and in order to the collecting ring state information, chromaffin body point receives message and fills in self nodal information, transmits this message.
Ring configuration notification packet (Ring check Message): host node regularly sends to looped network, in order to announcing ring status information, and chromaffin body point reception message and according to message indicative of settings looped network detection time.
Ring status detection messages (Hello Message): host node and chromaffin body point regularly constantly send to looped network, in order to the detection loop health status.
Chain circuit alarming message (Link Warm Message): after the chromaffin body point detects link failure, to the alarm of host node initiation.
Link-recovery message (Linkup Message): after the chromaffin body point detects link failure recovery, to the announcement of host node initiation.
Transmit the message that resets (Reset FDB Message): after host node is confirmed link failure, transmit announcement to the removing that chromaffin body point is initiated.
VLAN: virtual subnet.
Multi-point cooperative looped network of the present invention comprises a host node and a plurality of chromaffin body point.Host node is specially appointed unique node in the ring, is responsible for all chromaffin body dot informations in the collecting ring, issues configuration parameter and control command to the chromaffin body point, the detection ring net state; Chromaffin body point is responsible for carrying out the coordination instruction of host node, and each chromaffin body point also is responsible for the detection ring net state, if detect the looped network state variation, and the literary composition notice of then transmitting messages host node.Host node and chromaffin body point all have transmission, transmit ring status detection messages function, and host node, chromaffin body point can be by sending ring status detection messages independent detection looped network state.Host node and each chromaffin body point are according to certain sequence, and the interval Preset Time sends the ring status detection messages successively.The detection messages that each link point (comprising host node, chromaffin body point, down together) sends is through each descending link point, until getting back to itself.The present invention adopts the adaptive algorithm (described below), make the Preset Time of each link point transmission ring status detection messages relevant with the looped network node quantity size, the looped network scale is more big, and the detection messages Preset Time is more little, thereby increased the frequency that detects, found the inefficacy link more in time.
Along with the increase of detection messages transmission frequency, the forward efficiency of detection messages becomes outstanding problem, so the present invention proposes following solution for this reason: by dividing the way of a plurality of transmission channels, various type of messages use its corresponding dedicated transmission channel.Wherein, the type of message that high-frequency sends is transmitted by link point asic chip, and the message that low frequency sends is transmitted by ring node cpu software.
The looped network message that the link point sends enters next link point, the message that the link point is received comprises at least a in following six kinds of messages, these six kinds of messages are: ring configuration detection message, transmit the message that resets, ring configuration notification packet, the ring status detection messages, chain circuit alarming message, link-recovery message.These six kinds of messages are divided into four kinds of type of messages, and every kind of type of message will be selected corresponding transmission channel, have four kinds of transmission channels, be respectively first, second, third, fourth transmission channel.
First kind of type of message comprises ring configuration detection message, and as shown in Figure 2, this type message enters after the link point, and message will be only by transmitted to CPU, makes respective handling by CPU and sends from the looped network another port more afterwards.
Second kind of type of message comprises transmits reset message and ring configuration notification packet, as shown in Figure 3, this type message enters after the link point, transmit identical message copy to two inner tracks simultaneously, the ring node cpu is sent on being in first path, and second path is by asic chip message to be forwarded to the looped network another port.
The third type of message comprises the ring status detection messages, as shown in Figure 4, adopt the asic chip pass-through mode when entering link point, transmit from the looped network another port, send the ring node cpu not, when the origination node of this message along the looped network wraparound to this message, can and stop this message transmissions with this messages transmitted to CPU.
The 4th kind of type of message comprises chain circuit alarming message and link-recovery message, as shown in Figure 5, when entering chromaffin body point, adopts this type message the asic chip pass-through mode, transmit from the looped network another port, send the ring node cpu not, when this message transfers to host node along looped network, can and stop this message transmissions with this messages transmitted to CPU.
The benefit of dividing the method for transmission channel according to type of message is:
Ring configuration detection message message adopts first transmission channel, can make and respectively encircle node cpu and can both receive and handle message, each link point can obtain required relevant information, host node can be collected looped network integrality information, simultaneously, because the first passage message amount is less and appear at configuration phase, so for the not influence of looped network operation phase performance.
The benefit of second kind of message transmitting method be asic chip E-Packet the time-delay very little, reach the microsecond level, can ignore, thereby almost being received simultaneously, all looped network chromaffin body points transmit reset message and ring configuration notification packet, receive and transmit the message that resets, then all chromaffin body points can begin to empty mac address table immediately, each link point interval Millisecond time of having avoided conventional looped network to adopt the CPU pass-through mode to cause empties mac address table successively, it is consuming time longer to make whole net empty mac address table, and can not empty mac address table synchronously between each link point; According to the work characteristics of Ethernet switch, all switches empty MAC Address simultaneously and are conducive to most network and reach stable state rapidly, avoid network oscillation; Receive ring configuration notification packet, can make all chromaffin body points enter time status synchronously, for the collaborative detection ring net state of a plurality of link points provides the timing benchmark, this advantage will be used hereinafter.
The benefit of the third message transmitting method is that ring status detection messages message amount is many and frequent, the transmission speed of this type message has directly determined looped network to detect performance, adopt the asic chip time-delay that E-Packets very little, reach the microsecond level, can ignore, thereby make looped network detection required time and looped network node quantity size irrelevant, 10 equipment looped networks and 100 equipment looped networks are almost identical detection time.
Because chain circuit alarming message and link-recovery message are the burst messages, this type message need transfer to ring network host node with prestissimo, adopt the asic chip time-delay that E-Packets very little, reach the microsecond level, can ignore, thereby make ring network host node can receive Link State Packet immediately.
The characteristics of comprehensive above four kinds of looped network type of messages and respective transmissions passage, ring status detection messages, chain circuit alarming message, link-recovery message can postpone to transmit with the microsecond level as can be known, can be similar to and think that these three kinds of message transmissions postpone to have nothing to do with the looped network node quantity size, thereby the recovery time of looped network and looped network node quantity size are irrelevant.
The host node of multi-point cooperative looped network of the present invention, chromaffin body are put common detection ring net state, and host node sends ring configuration detection message at initial phase.Message comprises parameter: looped network sense cycle Th, link point sequence number Ri.Wherein, Ri initial value=1.Chromaffin body point receives this message, obtains looped network sense cycle Th, and link point sequence number Ri upgrades this message parameter then, makes Ri=Ri+1, and this message is sent from another looped network port.Each chromaffin body point is handled ring configuration detection message successively, and last chromaffin body point is handled after this message, and this message is transmitted to host node.
Host node is received the ring configuration detection message (comprising parameter Th, Ri) that each chromaffin body point was handled successively, and statistics link point total quantity Rc=Ri calculates each link according to Th and Rc and puts assay intervals time T c=Th/Rc successively.Host node sends ring configuration notification packet, and (comprise parameter Th, Rc Tc), encircles the configuration notification packet and propagates by second transmission channel, and each ring node cpu of this message up sending is forwarded to the looped network another port by asic chip simultaneously.According to the advantage of aforementioned second transmission channel, all chromaffin body points almost receive ring configuration notification packet at one time.
Each chromaffin body point is received after the ring configuration notification packet, according to self node ID Ri and Tc, ring state-detection message sends zero-time Ts=Ri*Tc, pick up counting immediately, waiting for that Ts is after the time, send the ring status detection messages, after message sent, this chromaffin body point repeated to send the ring status detection messages every Th.
The ring status detection messages is by the transmission of the 3rd transmission channel; namely adopt the asic chip pass-through mode to propagate around ring; this message raps around to origination node after the traversal ring node; and transmitted to CPU; owing to adopt the asic chip mode; under the ring normal condition, this message almost can be back to origination node after sending immediately, common looped network can not occur and adopt CPU to transmit the accidental packet loss problem of existing software.
Each link point basic synchronization receives ring configuration notification packet and picks up counting, and is the interval with the Tc time between each link point, sends the ring status detection messages successively, puts in order net state for detection of looped network.
It is unusual to suppose that a certain link of looped network occurs, and namely has a certain link point to send the ring status detection messages through after 0 ~ Tc time, and it is unusual to detect Link State, sends the chain circuit alarming message immediately to host node.If detected unusually by host node self then need not send message, but the warning count value adds 1.The chain circuit alarming message adopts the asic chip pass-through mode by the transmission of the 4th transmission channel, receives destination address and is appointed as host node.
For avoiding the alarm of single link point mistake, host node is received after two (containing) above chain circuit alarming message, standby port is set to forwarding state from blocked state; Send simultaneously and transmit the message that resets (comprising ring status parameters R ingFail).
Transmit the message that resets by the transmission of the 4th transmission channel, adopt the asic chip pass-through mode, give all ring node cpus simultaneously, the chromaffin body point receives that transmitting the message that resets then empties mac address table immediately, and the link point placed the RingFail state, still be the cycle to send the ring status detection messages with Th, if origination node is not at the appointed time for example received along looped network wraparound message in the 1ms, judge that then looped network still is in abnormality, link point is not done any processing.If origination node is at the appointed time for example received the ring status detection messages of wraparound in the 1ms, judge that then looped network switches to normal condition from abnormality, send the link-recovery message immediately.
For avoiding the alarm of single link point mistake, host node is received after two (containing) above link-recovery message, standby port is set to blocked state from forwarding state; Send simultaneously and transmit the message that resets, this message (comprising ring status parameters R ingOK) adopt the asic chip pass-through mode and on give all by way of secondary node cpu, the chromaffin body point receives that transmitting the message that resets then empties mac address table, and the link point placed the RingOK state, still be to send the ring status detection messages cycle with Th, detect and change abnormal state and then send the chain circuit alarming message.
Usually, two key indexs that influence the looped network restorability are: frequency, single ring status that ring status detects are examined required consuming time.Because by second transmission channel transmission ring configuration notification packet, each chromaffin body point almost receives this message (delicate level error is arranged) synchronously, therefore, need not accurate timing agreement or module between each chromaffin body point, by self-adapting synergizing algorithm Tc=Th/Rc, can realize that the looped network node scale is more big, assay intervals Tc is more little between the link point, i.e. ring status detection frequency is more high.Owing to by the 3rd transmission channel transmission ring status detection messages, make each link point can in the microsecond level time, finish the state-detection to whole ring, thereby single ring testing process has nothing to do with the looped network node scale.To sum up, under identical configuration condition, the looped network scale is more big, and the frequency that ring status detects is more high, and the single ring status is examined required the same (microsecond level difference can be ignored) consuming time, thereby looped network is more short recovery time, as shown in Figure 1.
The present invention preferentially adopts the VLAN mode to divide a plurality of transmission channels.According to the functional characteristics of VLAN as can be known, the message that arbitrary port is come under the VLAN, if the match is successful for MAC Address, then this message is forwarded to the specified port of MAC Address, if it fails to match for MAC Address, then this message will be broadcasted away from port under the VLAN.Present embodiment will utilize functionality of vlan to realize four looped network transmission channels, create two control VLAN, and numbering is respectively VLAN1, and VLAN2 creates a service VLAN, is numbered VLAN3.VLAN1 has two looped network ports and CPU place port under its command, and VLAN1 will be for first passage, second channel.VLAN2 has two looped network ports under its command, and VLAN2 will be for third channel, four-way.VLAN3 is service VLAN, by the looped network user according to the actual conditions setting.Host node, chromaffin body point are adopted and are created two control VLAN and service VLAN in the same way, but host node and chromaffin body point are had any different slightly for the set MAC Address of each VLAN.The planning of present embodiment MAC Address is as follows: all link points arrange MAC-1 at VLAN1, and port is appointed as CPU place port under the MAC-1, and MAC-1 will be for first passage; Host node arranges MAC-2 at VLAN1, and port is appointed as CPU place port under the MAC-2, and MAC-2 is used for second channel; The chromaffin body point need not to arrange MAC-2; Each link point arranges the proprietary MAC-3 of each node address at VLAN2, and for example host node is MAC-3A, and the chromaffin body point is followed successively by MAC-3B, MAC-3C etc., for ease of statement, MAC-3 series address is referred to as MAC-3X, port is appointed as CPU place port under the MAC-3X, and MAC-3X is used for third channel; Host node arranges MAC-4 at VLAN2, and port is appointed as CPU place port under the MAC-4, and MAC-4 is used for four-way; The chromaffin body point need not to arrange MAC-4.
The course of work of the present invention is as follows.
After host node starts, carry out initialization operation, obtain configuration parameter, determine that the ring detection messages sends period T h millisecond; The link dotted state is set to the RingInit state.Create VLAN and relevant MAC Address is set by preceding method.Host node is with VLAN1, and the looped network master port of VLAN2, standby port are set to forwarding state, and the looped network standby port of VLAN3 is set to blocked state.The host node state is in the RingInit state.
After chromaffin body point starts, carry out initialization operation, obtain configuration parameter, create VLAN and relevant MAC Address is set by preceding method.The chromaffin body VLAN1 that names a person for a particular job, two ports of the looped network of VLAN2 are set to forwarding state, and two ports of the looped network of VLAN3 are set to forwarding state.The chromaffin body dotted state is in the RingInit state.
Host node sends ring configuration detection message (comprise parameter: looped network sense cycle Th, link point sequence number Ri=1) in VLAN1, the message MAC Address is MAC-1.
Chromaffin body point is received ring configuration detection message at VLAN1, obtains the Th parameter, obtains this node sequence number Ri, upgrades this message parameters R i=Ri+1 then, and this message is sent from another looped network port.Each chromaffin body point is handled ring configuration detection message successively, and last chromaffin body point is handled after this message, and this message is transmitted to host node.
Host node receives that the ring configuration detection message that each chromaffin body point was handled successively (comprises parameter Th, Ri), adds up link point total quantity Rc=Ri, calculate each link according to Th and Rc and put assay intervals time T c=Th/Rc successively.The link dotted state is set to the RingOK state.Host node send ring ring configuration notification packet (comprise parameter Th, Rc, Tc), message address is MAC-2, this message is by the directly propagation in ring of asic chip pass-through mode, message gives each secondary node cpu simultaneously, this message is along around being back to host node.
Each chromaffin body point is after VLAN1 receives ring configuration notification packet, and immediately according to self node ID Ri and Tc, ring state-detection message sends zero-time Ts=Ri*Rc, and the link dotted state is set to the RingOK state.Etc. after the Ts time sends the ring status detection messages, repeat to send the ring status detection messages every Th.
Ring status detection messages address is MAC_3X, and this message is propagated in ring by the asic chip pass-through mode, and message raps around to origination node after the traversal ring node, and transmitted to CPU, stops this message and propagates.Each link point is duration interval detection ring net state successively with Tc.
It is unusual to suppose that a certain link of looped network occurs, unusual through detecting link after 0 ~ Tc duration, the chromaffin body point detects after the looped network abnormal state arbitrarily, send the chain circuit alarming message immediately to host node, the chain circuit alarming message adopts the asic chip pass-through mode, and receiving destination address is the MAC_4 address.Host node detects after the looped network abnormal state, upgrades looped network and detects unusual statistical value Fc=Fc+1, does not send message.
Host node is received the chain circuit alarming message, upgrades looped network and detects unusual statistical value Fc=Fc+1; For avoiding the alarm of single link point mistake, the Fc value judges then that more than or equal to 2 looped network has been in abnormality, and host node VLAN3 looped network standby port is set to forwarding state from blocked state; The link dotted state is set to the RingFail state.Send simultaneously and transmit the message that resets (comprising ring status parameters R ingFail); It is 0 that host node Fc statistical value empties.
Transmit the message that resets (comprising ring status parameters R ingFail), the address is MAC-2, adopt the asic chip pass-through mode, and on give all secondary node cpus, the chromaffin body point receives that transmitting the message that resets then empties mac address table, and the link point is placed the RingFail state, still with Th is the cycle to send the ring status detection messages, detect ring status and continue unusually then no longer to send the chain circuit alarming message, detect ring status and recover normally then to send the link-recovery message.Host node detect the looped network recovering state normal after, upgrade looped network and detect normal statistics value Sc=Sc+1, do not send message.
Host node is received the link-recovery message, upgrades looped network and detects normal statistics value Sc=Sc+1; For avoiding the alarm of single link point mistake, the Sc value judges then that more than or equal to 2 looped network reverts to normal condition from abnormality, and host node VLAN3 looped network standby port is set to blocked state from forwarding state, and it is 0 that the Sc statistical value empties; Send simultaneously and transmit the message that resets (comprising ring status parameters R ingOK).This message adopts the asic chip pass-through mode, and on give all secondary node cpus, the chromaffin body point receives that transmitting the message that resets empties mac address table immediately, and the link point placed the RingOK state, chromaffin body point still is to send the ring status detection messages cycle with Th, detects to change abnormal state and then send the chain circuit alarming message.
As alternative, can adopt ACL(Acces Control List, Access Control List (ACL)) mode reaches the purpose of dividing transmission channel.
Those skilled in the art also can carry out multiple change on the basis of the present invention's design.Such as but not limited to, only a part of node from node is set to the such chromaffin body point of the present invention, that is, make it have main sending out and forwarding capability.Wherein between these chromaffin body points may between be separated with one or more do not have main send out but have the common from node of forwarding capability.
Be the preferred embodiments of the present invention only below, be not limited to the present invention; To those skilled in the art, the present invention can have various changes and variation, and is all within the present invention spirit and principle, any modification of doing, is equal to replacement, improvement etc., all should be included within the scope of the invention.

Claims (10)

1. a multi-point cooperative detects the looped network of link, and looped network comprises a host node, at least one is from node, and the host node message that can start can E-Packet from node; It is characterized in that described at least one is the chromaffin body point that has the message function that starts concurrently from node; The collaborative Link State that detects of described host node and chromaffin body point is each other with certain hour intervening sequences start detection messages or the detection messages that starts simultaneously each other; And the message that each node starts order in ring is forwarded, until the node that returns this message that starts.
2. looped network according to claim 1 is characterized in that, all are the chromaffin body point that has the message function that starts concurrently from node.
3. looped network according to claim 1 and 2 is characterized in that, described host node is responsible for sending ring configuration detection message, receives ring configuration detection message and fills in self nodal information from node, transmits this message, and realization looped network state is collected;
When looped network just often, described host node sends transmits reset message and ring configuration notification packet, announcement ring status information, chromaffin body point reception message and according to message indicative of settings looped network detection time;
Subsequently, described host node and described chromaffin body dot sequency send or send simultaneously the ring status detection messages at interval;
When link failure, described chromaffin body point sends warning message to described host node; When link-recovery, send the link-recovery message to described host node.
4. looped network according to claim 1 and 2 is characterized in that, also have at least one the feature that is selected from following feature: looped network node comprises CPU and asic chip; The looped network detection messages is sent out or is transmitted by the asic chip master; The main hair ring net configuration detection message of described host node energy, looped network dispose notification packet and transmit the message that resets, and can lead and send out and forwarding looped network detection messages, can receive and handle link warning message and link-recovery message; Described chromaffin body point can be led and send out and forwarding looped network detection messages, chain circuit alarming message and link-recovery message, can transmit looped network configuration detection message, looped network configuration notification packet and transmit the message that resets.
5. looped network according to claim 4, it is characterized in that, also have at least one the feature that is selected from following feature: described ring configuration detection message enters after the link point, and message will be only by transmitted to CPU, makes respective handling by CPU and sends from the looped network another port more afterwards; Described reset message and the ring configuration notification packet transmitted enters after the link point, transmit identical message copy to two inner tracks simultaneously, the ring node cpu is sent on being in first path, and second path is by asic chip message to be forwarded to the looped network another port; Described ring status detection messages, adopt the asic chip pass-through mode when entering link point, transmit from the looped network another port, send the ring node cpu on not, when the origination node of this message along the looped network wraparound to this message, can and stop this message transmissions with this messages transmitted to CPU; When entering chromaffin body point, described chain circuit alarming message and link-recovery message adopt the asic chip pass-through mode, transmit from the looped network another port, send the ring node cpu not, when this message transfers to host node along looped network, can and stop this message transmissions with this messages transmitted to CPU; The described time interval is to be obtained by the ring configuration detection message that described host node master sends out and handled successively by each chromaffin body point, and message comprises parameter: looped network sense cycle Th, link point sequence number Ri; When the ring configuration message was got back to host node, statistics link point total quantity Rc=Ri calculated each link according to Th and Rc and puts assay intervals time T c=Th/Rc successively.
6. looped network detection method, it is applicable to according in arbitrary described looped network among the claim 1-5.
7. one kind is used for realizing the collaborative looped network node device that detects link, comprising: CPU, asic chip is characterized in that described CPU can handle and transmit ring configuration detection message, chain circuit alarming message and link-recovery message; Described asic chip can be transmitted reset message and ring configuration notification packet when CPU processing forward table resets message and ring configuration notification packet; Described asic chip can be led and send out and transmit the ring status detection messages, and can lead, forwarding and handle link warning message and link-recovery message;
The CPU of described node apparatus and the type of message formation different information channel of asic chip according to transmission, these information channels comprise cpu access, by CPU and the parallel passage that constitutes of asic chip, asic chip passage.
8. one kind is used for realizing the collaborative looped network node device that detects link, comprise: CPU, asic chip, it is characterized in that, the CPU of described node apparatus can upgrade its time and number of nodes parameter to the looped network configuration message that receives, can and transmit the message that resets according to the looped network configuration notification packet that receives, configuration sends the time parameter of message, empties and transmits; Described node apparatus has the transmission control module that the control message sends at interval at setting-up time, and has the module that the ring detection messages that receives is transmitted; Described node apparatus has two ports, and wherein first port sends message, and second port receives the message that is sent and return around ring from first port by this node.
9. according to claim 7 or 8 described looped network node devices, it is characterized in that also having at least one the feature that is selected from the following feature: described CPU can handle and transmit ring configuration detection message, chain circuit alarming message and link-recovery message; Described asic chip can be transmitted reset message and ring configuration notification packet when CPU processing forward table resets message and ring configuration notification packet; Described asic chip can be led and send out and transmit the ring status detection messages, and can lead, forwarding and handle link warning message and link-recovery message; Described asic chip is used for transmission looped network detection messages, chain circuit alarming message and link-recovery message; Described node apparatus is the chromaffin body point apparatus.
10. according to claim 7 or 8 described looped network node devices, it is characterized in that described node apparatus is switch.
CN201310241098.5A 2013-06-18 2013-06-18 The looped network of multi-point cooperative detection link Active CN103346944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310241098.5A CN103346944B (en) 2013-06-18 2013-06-18 The looped network of multi-point cooperative detection link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310241098.5A CN103346944B (en) 2013-06-18 2013-06-18 The looped network of multi-point cooperative detection link

Publications (2)

Publication Number Publication Date
CN103346944A true CN103346944A (en) 2013-10-09
CN103346944B CN103346944B (en) 2016-07-27

Family

ID=49281720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310241098.5A Active CN103346944B (en) 2013-06-18 2013-06-18 The looped network of multi-point cooperative detection link

Country Status (1)

Country Link
CN (1) CN103346944B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899173A (en) * 2015-04-03 2015-09-09 深圳市前海安测信息技术有限公司 Node network based on node connection chip and information transmission port determining method
CN105072009A (en) * 2015-09-25 2015-11-18 北京博维亚讯技术有限公司 MRP (Media Redundancy Protocol) ring network redundancy processing system and method based on hardware
CN105790902A (en) * 2014-12-22 2016-07-20 研祥智能科技股份有限公司 Redundant network card switching realization method and system
CN105897507A (en) * 2016-03-31 2016-08-24 杭州数梦工场科技有限公司 Node equipment state detection method and node equipment state detection device
CN107026691A (en) * 2017-04-14 2017-08-08 云南电网有限责任公司电力科学研究院 A kind of method and system of automatism isolation distribution optical fiber ring network failure
CN107346604A (en) * 2017-06-01 2017-11-14 重庆世纪之光科技实业有限公司 Meter reading network and its intelligent electric meter and power fail warning monitoring method and device
CN108737142A (en) * 2017-04-21 2018-11-02 华为技术有限公司 A kind of method, node and the mesh network of adjustment nodal test parameter
CN109643108A (en) * 2016-08-31 2019-04-16 依赛彼公司 Technology for network compass and configuration in welding or diced system
CN111817940A (en) * 2020-09-11 2020-10-23 之江实验室 Industrial control ring network system, ring network control protocol and implementation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252426A (en) * 2007-09-11 2008-08-27 北京东土科技股份有限公司 Method for realizing high-reliability distributed redundant looped network
US20090219808A1 (en) * 2008-02-28 2009-09-03 Naoto Ogura Layer-2 ring network system and management method therefor
CN101989934A (en) * 2009-08-06 2011-03-23 中兴通讯股份有限公司 Method and system for data ring network fault detection and location
CN102158383A (en) * 2010-02-11 2011-08-17 华为技术有限公司 Data transmission method, device and system for E1 bidirectional ring network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252426A (en) * 2007-09-11 2008-08-27 北京东土科技股份有限公司 Method for realizing high-reliability distributed redundant looped network
US20090219808A1 (en) * 2008-02-28 2009-09-03 Naoto Ogura Layer-2 ring network system and management method therefor
CN101989934A (en) * 2009-08-06 2011-03-23 中兴通讯股份有限公司 Method and system for data ring network fault detection and location
CN102158383A (en) * 2010-02-11 2011-08-17 华为技术有限公司 Data transmission method, device and system for E1 bidirectional ring network

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790902A (en) * 2014-12-22 2016-07-20 研祥智能科技股份有限公司 Redundant network card switching realization method and system
CN105790902B (en) * 2014-12-22 2020-06-09 研祥智能科技股份有限公司 Method and system for realizing redundant network card switching
CN104899173A (en) * 2015-04-03 2015-09-09 深圳市前海安测信息技术有限公司 Node network based on node connection chip and information transmission port determining method
CN105072009B (en) * 2015-09-25 2018-08-24 北京博维亚讯技术有限公司 A kind of hardware based MRP looped network redundancies processing system and processing method
CN105072009A (en) * 2015-09-25 2015-11-18 北京博维亚讯技术有限公司 MRP (Media Redundancy Protocol) ring network redundancy processing system and method based on hardware
CN105897507A (en) * 2016-03-31 2016-08-24 杭州数梦工场科技有限公司 Node equipment state detection method and node equipment state detection device
CN105897507B (en) * 2016-03-31 2019-09-17 杭州数梦工场科技有限公司 The condition detection method and device of node device
CN109643108A (en) * 2016-08-31 2019-04-16 依赛彼公司 Technology for network compass and configuration in welding or diced system
CN107026691A (en) * 2017-04-14 2017-08-08 云南电网有限责任公司电力科学研究院 A kind of method and system of automatism isolation distribution optical fiber ring network failure
CN108737142A (en) * 2017-04-21 2018-11-02 华为技术有限公司 A kind of method, node and the mesh network of adjustment nodal test parameter
CN108737142B (en) * 2017-04-21 2020-11-06 华为技术有限公司 Method for adjusting node detection parameters, node and mesh network
CN107346604A (en) * 2017-06-01 2017-11-14 重庆世纪之光科技实业有限公司 Meter reading network and its intelligent electric meter and power fail warning monitoring method and device
CN111817940A (en) * 2020-09-11 2020-10-23 之江实验室 Industrial control ring network system, ring network control protocol and implementation method thereof
CN111817940B (en) * 2020-09-11 2021-01-05 之江实验室 Industrial control ring network system and implementation method thereof

Also Published As

Publication number Publication date
CN103346944B (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN103346944A (en) Multi-channel looped network node device with multi-point collaboration detection and detection method
CN101262401B (en) A method for realizing network recovery in loop network
CN100534048C (en) Distributed Ethernet system and method for inspecting fault based thereon
CN101610145B (en) Method and system for realizing synchronous control of distributed system
CN101355466B (en) Method and apparatus for transmitting continuous check information message
CN101247270A (en) System and method for implementing bidirectional forwarding detection
RU2625935C2 (en) Communication device for industrial communication network exploited with excess and method for communication device operating
CN102970157B (en) Link failure processing method, IRF member device and data communication equipment
CN104243239B (en) The condition detection method and device of controller in a kind of SDN clusters
CN105354159A (en) RS485 distributed bus system based control method
CN100450036C (en) Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN102195857A (en) Network topology structure and node information gathering method
CN106549774A (en) A kind of link failure report method and forwarding unit based on software defined network
CN103580886A (en) Packet transport network protection switching device and method
CN103107940B (en) For the redundant gateway system of device level looped network
CN104601394A (en) Business chain connectivity detection method, device and system
CN101378333B (en) System, apparatus and method for transmitting and receiving check information message continuously
CN104135417B (en) A kind of method of the fast quick-recovery of ethernet ring network link down and corresponding ethernet ring network
CN104869028A (en) Network device and loop detection method
CN101094121A (en) Method, system and device for detecting Ethernet links among not direct connected devices
CN103428114A (en) ATCA (advanced telecom computing architecture) 10-gigabit switching board and system
CN102281168A (en) Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection
WO2015168947A1 (en) Path switching method and device
JP2009010668A (en) Communication apparatus, communicating method, communication interface, and program
CN102823194A (en) Operations, administrations and management proxy and a method for handling operations, administrations and management messages

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