CN101277243A - System, node as well as method for detecting MAC address collision in loop network - Google Patents

System, node as well as method for detecting MAC address collision in loop network Download PDF

Info

Publication number
CN101277243A
CN101277243A CNA2007100888342A CN200710088834A CN101277243A CN 101277243 A CN101277243 A CN 101277243A CN A2007100888342 A CNA2007100888342 A CN A2007100888342A CN 200710088834 A CN200710088834 A CN 200710088834A CN 101277243 A CN101277243 A CN 101277243A
Authority
CN
China
Prior art keywords
node
idle frame
characteristic value
section point
media access
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
CNA2007100888342A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2007100888342A priority Critical patent/CN101277243A/en
Publication of CN101277243A publication Critical patent/CN101277243A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a system, node and detection method for detecting MAC address conflict in ring network. In the detection method, a first node sends a leisure frame; a second node receives the leisure frame, when source media accessing control address of the leisure frame is same with media accessing control address of the second node, the second node compares characteristic value carried by the leisure frame with self characteristic value, when characteristic value of the leisure frame is different from characteristic value of the second node, the second node reports detecting media accessing control address conflict. Media accessing control address conflict in ring network can be detected by using the scheme provided by the invention, condition of media accessing control address conflict can be reported to the node and network manager, consequently, media accessing control address conflict can be detected efficiently, and running efficiency of ring network can be increased.

Description

Detect system, node and the detection method of MAC Address conflict in the looped network
Technical field
The present invention relates in looped network the detection of address conflict, refer in particular to a kind of system, node and detection method that in looped network, detects the MAC Address conflict.
Background technology
Stretch grouped data ring (RPR, Resilient Packet Ring) agreement is to be operated in inventionthe open systems interconnection (OSI, Open Systems Interconnection) medium access control (MAC of the protocol stack second layer, Media Access Control) agreement is a kind of novel MAC agreement that data service transmits of optimizing on loop configuration.The RPR agreement can adapt to multiple physical layer, can run on Synchronous Optical Network/synchronous digital network (SONET/SDH), Ethernet (Ethernet) and dense wave division multipurpose (DWDM, DenseWavelength Division Multiplexing) on the system, transmit multiple business types such as data, speech, image effectively, so that flexible and efficient metropolitan area network solution to be provided.
Network based on the RPR agreement is the fiber optic loop of a two-way rotation, and a plurality of RPR nodes (station) can be arranged on the looped network, and each RPR node all adopts system's MAC Address of one 48 to identify as its local address.These above-mentioned RPR nodes can utilize the clean culture destination address that frame is sent to the node of an appointment, also can utilize the multicast destination address that frame is sent to a plurality of nodes, and each node can be checked the type of the frame received.If this frame is a unicast type, node is checked the target MAC (Media Access Control) address that encapsulates in this frame, if the target MAC (Media Access Control) address in this frame is the MAC Address of this node, then this frame is served three layers and handles; If target MAC (Media Access Control) address is not the MAC Address of this node, then be left intact, continuation is sent to next node with this frame.If this frame is a broadcast type, node is checked the source MAC that encapsulates in this frame, if source MAC is the MAC Address of this node, then this frame is abandoned; Otherwise, return corresponding information or operate accordingly to the node that sends this frame according to the type of the frame that is received.
In the RPR agreement,, think that then this RPR looped network restrains if there is not link failure in the RPR looped network; Otherwise, think that this RPR looped network do not restrain.In the prior art; the general topology protection (TP that triggers broadcast type by each node; Topology and Protection) frame and Transmission Convergence (TC; Transmission Convergence) frame and detect the RPR looped network according to the information returned and whether restrain; promptly after the RPR looped network is finished the foundation of link; each node in the RPR looped network all will trigger TP frame and TC frame automatically, and according to each node the feedback information of received TP frame and TC frame be detected in this RPR looped network whether have link failure.If in the RPR looped network, there are two or more RPR nodes to have identical MAC Address, promptly have MAC Address when conflict, these nodes with identical MAC Address are still judged TP, the TC frame whether this TP, TC frame send for this node according to the source MAC in received TP, the TC frame.For example: when certain node A is receiving by the TP that another Node B sent that has with the identical MAC Address of node A, during the TC frame, node A will be at above-mentioned TP, find the source MAC identical in the TC frame with the self MAC address, at this moment, node A will think above-mentioned TP, the TC frame is the TP that is sent by self, the TC frame, therefore will carry out discard processing and can not continue these frames are transmitted to next node these frames, thereby caused losing of frame, and node A can not send the information that link failure occurs to webmaster, makes webmaster to learn and has occurred the situation that MAC Address is conflicted in the looped network.
Therefore, above-mentioned testing mechanism of the prior art can only be checked out other link failure that whether exists in the RPR looped network except that the MAC Address conflict, and can't detect whether there is the MAC Address conflict in the RPR looped network.
Summary of the invention
In view of this, the main purpose of the embodiment of the invention is to provide a kind of system, node and detection method that detects the Media Access Control address conflict in looped network, thereby can detect the MAC Address conflict in the RPR looped network in looped network.
For achieving the above object, the technical scheme of the embodiment of the invention is achieved in that
The embodiment of the invention provides a kind of method that detects the Media Access Control address conflict in looped network, and this method comprises: first node sends idle frame; Section Point receives described idle frame; When the Media Access Control address of the source of described idle frame Media Access Control address and described Section Point is identical, characteristic value of carrying in the more described idle frame of described Section Point and the characteristic value of self, when the characteristic value of characteristic value in the described idle frame and described Section Point was inequality, described Section Point report detected the Media Access Control address conflict.
The embodiment of the invention provides a kind of system that detects the Media Access Control address conflict in looped network, it is characterized in that this system comprises: first node and Section Point; Described first node sends idle frame; Described Section Point receives described idle frame; When the Media Access Control address of the source Media Access Control address of the received idle frame of described Section Point and described Section Point is identical, characteristic value of carrying in the more described idle frame of described Section Point and the characteristic value of self, when the characteristic value of characteristic value in the described idle frame and described Section Point was inequality, described Section Point report detected the Media Access Control address conflict.
The embodiment of the invention also provides a kind of node that detects the Media Access Control address conflict in looped network, it is characterized in that this node comprises: sending module and detection module; Described sending module sends to idle frame in the looped network; The Media Access Control address of source Media Access Control address and described node self in the idle frame that described detection module relatively receives from looped network, when described two addresses are identical, the characteristic value of carrying in the more received idle frame of described detection module and the characteristic value of described node self, when described two characteristic values were inequality, described detection module report detected the Media Access Control address conflict.
In summary, the embodiment of the invention provides a kind of system, node and detection method that detects the Media Access Control address conflict in looped network, by above-mentioned method, can detect the MAC Address conflict in the looped network, and can the situation of MAC Address conflict be reported this node and webmaster by message mechanism, thereby can the MAC Address conflict that be occurred in the looped network effectively be detected, improve the operational efficiency of looped network.
Description of drawings
Fig. 1 is the form schematic diagram of former idle frame of the prior art.
Fig. 2 be in the embodiment of the invention node to the process chart of idle frame.
Fig. 3 is the form schematic diagram of the idle frame after the expansion in the embodiment of the invention.
Fig. 4 is the form schematic diagram of the idle frame after the expansion in another embodiment of the present invention.
Fig. 5 be in the embodiment of the invention node to the another kind of process chart of idle frame.
Fig. 6 is the structural representation that detects the system of MAC Address conflict in the embodiment of the invention.
Fig. 7 is the structural representation that detects the node of MAC Address conflict in the embodiment of the invention.
Embodiment
A built-in sending module and detection module in the node of the embodiment of the invention in looped network, node sends idle frame by sending module, and in advance characteristic value is set in the idle frame that it sent, and with the characteristic value of described characteristic value as this node; When node detects the Media Access Control address of the source Media Access Control address and node self in the idle frame that is received when identical by described detection module, characteristic value in the idle frame that the node that receives described idle frame is received by described detection module comparison and the characteristic value of self detect whether there is the Media Access Control address conflict.
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
For the convenience that illustrates, in following embodiment, above-mentioned looped network is that example describes with stretch grouped data ring (RPR) all.
Fig. 1 is the form schematic diagram of former idle frame of the prior art, and as shown in Figure 1, as the agreement of the second layer, the form of (Idle) frame of defined free time of RPR agreement comprises five following fields:
1) life cycle (TTL, Time To Live) field: this field is phase information for survival, and length is 8 (bit), the maximum hop count of TTL information representation Idle frame on the RPR looped network.In repeating process, the Idle frame is every through a node, and the value of the TTL of this Idle frame subtracts 1; When the value of the TTL of Idle frame is 0, by present node this Idle frame is taken out from the RPR looped network and to abandon.In the RPR agreement, the Idle frame just is used for no-load speed, only need transmit between two nodes, so the initial value of the ttl field of Idle frame is 1.
2) basic controlling (baseControl) field: length is 8bit, the storage frame control information, and node can be distinguished the type of frame according to above-mentioned frame control information.In addition, can be by the value of ring sign (RI) bit in this field be set, thus which ring indicating services should insert from, make this Idle frame direction according to appointment in the RPR looped network send.
3) source MAC (saCompact) field: this field is the information of source MAC, and length is 48bit.Node can be that system's MAC Address of 48bit is written in the source MAC field of the Idle frame that is sent out as source MAC with the length of this node before sending the Idle frame.
4) idle payload (idlePayload) field: this field length is 32bit, and in the standard of IEEE 802.17 working groups definition, the idlePayload field of Idle frame all is filled to 0.
5) Frame Check Sequence (FCS, Frame Check Sequence) field: this field is a checking sequence that length is 32bit.
In the RPR agreement, the Idle frame is used to carry out simultaneous operation between adjacent node.Node in the RPR looped network is when receiving any one frame, the capital is checked the baseControl field of the frame that received, when the frame that receives when checking out was the Idle frame, node directly abandoned this Idle frame after carrying out the corresponding synchronous operation, and this Idle frame is not done any processing.And in the technical scheme of the embodiment of the invention, by Idle frame of the prior art is expanded, the Idle frame after the feasible expansion can be used to detect the MAC Address conflict in the RPR looped network.
In the technical scheme of the embodiment of the invention, each node in the RPR looped network is provided with the Idle frame that will send in advance, and promptly node is provided with a characteristic value in the Idle frame that it sent, simultaneously with the characteristic value of above-mentioned characteristic value as this node.Above-mentioned characteristic value can be arranged in the idlePayload field of Idle frame; Perhaps, can increase a new field in the Idle frame also is arranged on above-mentioned characteristic value in the field that increases newly.Specifically, above-mentioned characteristic value can have following several form:
1) above-mentioned characteristic value can be a random number.
Described random number can be generated by random function, and the length of random number can be 30 (bit) or 32.Because described random number is generated by random function, therefore in the ideal case, the probability that two two identical length of nodes generation in the same sense cycle are 30 random number is 2 -30* 2 -30=2 -60, less than 10 -18And three nodes to produce three identical length be that the probability of 30 random number will be less than 10 -27Because above-mentioned probability is very little, therefore as can be known, in actual conditions, the different length that node produced is that 30 random number must be different; In like manner, the different length that node produced is that 32 random number also must be different.So the set above-mentioned characteristic value of different nodes must be different.
2) above-mentioned characteristic value can be producer's sign of node, and the part of producer's MAC Address of node.
In the RPR looped network, the manufacturer that forms the network equipment of node all is provided with producer's sign and producer's MAC Address in the above-mentioned network equipment.Each producer all has unique producer's sign, and different producers has different producer's signs; And all having unique producer's MAC Address by the equipment of same manufacturer production, the different equipment of same manufacturer production has different producer's MAC Address.Therefore, a part that can above-mentioned characteristic value be set to producer's MAC Address of producer's sign of node and node.In actual application, in order to distinguish different producers, guarantee that each producer all has unique producer's sign, an available byte (8bit) is stored described producer sign.Because the value of a byte can be set to 255 different numerical value, so this byte can be 255 different producers unique sign is provided; If producer outnumbers 255, then can choose two or more bytes and store producer's sign.The part of described producer MAC Address can be back 24 of producer's MAC Address of this node.Because the producer of different manufacturers sign is different, and the distinct device of same producer has different producer's MAC Address, and therefore, by above-mentioned setting, the set characteristic value of different nodes also must be different.
3) above-mentioned characteristic value can be the node name of this section point.
Described node name can be the actual name that the node of above-mentioned characteristic value is set, and promptly according to corresponding transformation rule in the prior art actual name of node is converted to corresponding numerical value, for example binary numerical value, and with this numerical value as characteristic value.In actual applications, the length of described node name can be 1~127 byte.In the case, though may need the length of former Idle frame is carried out suitable expansion, thereby increased the length of Idle frame, but because in the actual detected process, the quantity of the above-mentioned such Idle frame that is sent is few, therefore and the triggered time is fast, can not produce clearly influence to the message transmission rate in the whole network.Because in the RPR looped network, different nodes has different node names, therefore by above-mentioned setting, the set characteristic value of different nodes also is different.
In the technical scheme of the embodiment of the invention, the purpose that above-mentioned characteristic value is set is to detect whether have the MAC Address conflict in the RPR looped network, promptly all nodes all carry out aforesaid setting to the Idle frame that is sent in looped network, and after will sending in the RPR looped network through the Idle frame of the above-mentioned setting form by broadcasting, the node in the RPR looped network can whether whether identical the detection exists the MAC Address conflict by the characteristic value in the Idle frame that is relatively received and the characteristic value of node self.
For example: if in the RPR looped network, there are two nodes with identical MAC Address, node A and Node B, two nodes all carry out aforesaid setting to the Idle frame that is sent, and will send in the RPR looped network by the form of broadcasting through the Idle frame of above-mentioned setting.When node A receives the Idle frame of the above-mentioned setting of process that Node B sends, after the MAC Address of source MAC in the Idle frame that node A receives detecting and node A self is identical, node A does not abandon this Idle frame, but continues to detect the characteristic value in the Idle frame that is received; When node A detects the characteristic value of the characteristic value and node A self in the Idle frame that is received when identical, node A judges just that above-mentioned Idle frame sends for self, therefore above-mentioned Idle frame is abandoned; And the characteristic value that detects characteristic value in the Idle frame that is received and node A self as node A is not simultaneously, then node A judges in the RPR looped network and exists and other identical node of node A self MAC address, promptly have the MAC Address conflict, so can there be the MAC Address conflict in node A by modes such as message mechanisms in node A or webmaster report looped network; In like manner, other node in Node B and the RPR network all can be by the MAC Address conflict in the above-mentioned detection step detection looped network.
Fig. 2 be in the embodiment of the invention node to the process chart of idle frame.As shown in Figure 2, the method for above-mentioned detection MAC Address conflict can be detailed is divided into step as described below:
Step 201, node receives the Idle frame;
Step 202, node compares source MAC in the received Idle frame and the MAC Address of this node, if two addresses are inequality, then execution in step 203; Otherwise, execution in step 204;
Step 203, node continues to be forwarded to next node with received Idle frame, returns execution in step 201;
Step 204, node compares characteristic value in the received Idle frame and the characteristic value of this node self, if two characteristic value differences, then execution in step 206; Otherwise, execution in step 205.
Step 205, node abandons received Idle frame, returns execution in step 201;
Step 206 occurs the MAC Address conflict by modes such as message mechanisms to described node or the webmaster report that receives above-mentioned Idle frame, returns execution in step 201.
After above-mentioned detection step, detected whether there is the MAC Address conflict in the RPR looped network.In addition, aforesaid detection to the MAC Address conflict all is just to trigger under the situation that looped network is not restrained.
In the technical scheme of the embodiment of the invention, also can come the process of whether carrying out above-mentioned detection MAC Address conflict is controlled by control information further is set.To being provided with of control information two kinds of following forms can be arranged:
1) node is before sending the above-mentioned Idle frame that is provided with characteristic value, and node is provided with control information in the described Idle frame that is provided with characteristic value.
Control information can be arranged in the idlePayload field of the Idle frame that is provided with characteristic value.For example, node is provided with an extension bits EF (Extend Flag) in the idlePayload field of the Idle frame that is provided with characteristic value, and with the value of this extension bits as control information.Extension bits can be any two of idlePayload field that are provided with the Idle frame of characteristic value, and is for example, high preceding 2.It is a master data frame that the effect of extension bits is to identify an Idle frame, still is the Idle frame that a growth data frame promptly is provided with extension bits.For example: under default situations, be " 00 ", represent that then this Idle frame is the master data frame if the value of the extension bits of an Idle frame is control information; If the value of the extension bits of an Idle frame is control information is " 11 ", represent that then this Idle frame is the growth data frame.
In actual application, node can all be arranged on above-mentioned characteristic value and control information in the idlePayload field of Idle frame, the Idle frame after the formation expansion as shown in Figure 3.As shown in Figure 3, node is set to extension bits with the highest preceding 2 of the idlePayload field of former Idle frame, with the value of this extension bits as control information, and after the extension bits of above-mentioned Idle frame, the random number that is generated by random function that a length is set the is 30bit position (a Unique Mark) that makes a check mark is as the characteristic value of Idle frame.
In another embodiment, node can all be arranged on above-mentioned characteristic value and control information in the Idle frame, the Idle frame after formation another expansion as shown in Figure 4.As shown in Figure 4, the front two that node is adjacent in the byte of the source MAC back in the former Idle frame is set to extension bits, with the value of this extension bits as control information; Then, node will be adjacent to 8 of above-mentioned extension bits back and be set to keep a position R, and will be adjacent to 6 of keeping R back, position and be set to node name length (len) field, be used for the length of identification nodes name; Then, 1~127 byte that node is adjacent to len field back is set to a node name, promptly node name is converted to corresponding numerical value according to corresponding transformation rule in the prior art, for example binary numerical value, and this numerical value is set to the characteristic value of above-mentioned Idle frame; At last, node is provided with the FCS field that length is four bytes (32bit) after node name.
2) node is before receiving the Idle frame, and the net control device in the RPR looped network sends control information for described node.
In actual application, above-mentioned control information can be built in the net control device in the above-mentioned RPR looped network, and described net control device can send control information by built-in operating system.For example, net control device can pass through its built-in operating system, allows the user select whether to carry out the MAC Address collision detection with the pattern of order line.When the user selected to carry out the MAC Address collision detection, by above-mentioned net control device node being sent an order that detects was control information, thereby triggered the detection that node carries out the MAC Address conflict.These orders can be common network configuration orders, each producer or user can be decided by that sending above-mentioned order when in which way is control information according to actual conditions, thereby make that node can be that control information judges whether to carry out the MAC Address collision detection according to this order.
Setting by aforesaid control information, node in the RPR looped network can judge whether to carry out the detection of MAC Address conflict according to above-mentioned control information, carry out the detection of MAC Address conflict if desired, then node can judge whether to exist the MAC Address conflict according to the characteristic value of characteristic value in the Idle frame that is received and node self, thereby finishes the detection to the MAC Address conflict.
Fig. 5 is an another kind of process chart to idle frame in the embodiment of the invention.As shown in Figure 5, the method for above-mentioned detection MAC Address conflict can be detailed is divided into step as described below:
Step 501, node receives the Idle frame;
Step 502, node judges whether the Idle frame that is received is carried out the detection that MAC Address is conflicted according to control information, if do not detect, then execution in step 503; Otherwise, execution in step 504;
Step 503, node abandons received Idle frame, returns execution in step 501;
Step 504, node compares source MAC in the received Idle frame and the MAC Address of this node, if two addresses are inequality, then execution in step 505; Otherwise, execution in step 506;
Step 505, node continues to be forwarded to next node with received Idle frame, returns execution in step 501;
Step 506, node compares characteristic value in the received Idle frame and the characteristic value of this node self, if two characteristic value differences, then execution in step 507; Otherwise, return execution in step 503.
Step 507 occurs the MAC Address conflict by modes such as message mechanisms to this node or webmaster report, returns execution in step 501.
After above-mentioned detection step, node can judge whether that needs carry out the detection of MAC Address conflict according to control information; And when needs carry out the above-mentioned detection of MAC Address conflict, detect whether there is the MAC Address conflict in the RPR looped network according to two above-mentioned characteristic values of characteristic value in the Idle frame that is received and node self.In addition, more than detection described in each embodiment to the MAC Address conflict, all are just triggerings under the situation that looped network is not restrained.
In the prior art, when the Idle frame on the RPR looped network whenever passes through a RPR node, the value of this Idle frame ttl field all will subtract 1, receive this Idle frame if never have node in the RPR looped network, then when the value of the TTL of this Idle frame is 0, by the node of this Idle frame of current reception this Idle frame is taken out from the RPR looped network and to abandon.In the technical scheme of the embodiment of the invention, can above-mentioned value of passing through the ttl field of the Idle frame of expanding be set to 255, like this, even the source MAC of this Idle frame in the process that sends owing to variation has taken place in error of transmission, this Idle frame was peeled off from the RPR looped network in 0 o'clock, thereby the frame of having avoided making a mistake is absorbed in endless loop in looped network, thus the problem of waste system resource.
In addition, the value of the ring sign bit in the baseControl field of the Idle frame of the above-mentioned expansion of process that node also can be sent is set to 0, make the Idle frame that is expanded only send along looped network, thereby improved the transmission speed and the efficiency of transmission of network toward a direction.
In addition, when the enterprising line data of the link of RPR looped network transmits, also need the situation of considering that link may break down.Similar with prior art, in the technical scheme of the embodiment of the invention, for in the detection that the MAC Address conflict occurs also guaranteeing under the situation of link failure realizing, node can be sent out fast 4 Idle frames in the cycle soon at the Idle of RPR looped network frame, and the transmission between two Idle frames of acquiescence can be set to 10ms blanking time; This is fast when sending out in cycle last Idle frame when sending, and node starts timer, and the time of timer be set to 500ms, thereby guarantee that node restarts the next fast cycle of sending out after waiting for 500ms, continue to send the Idle frame.When starting another fast cycle, node will generate a new random number by random function, and new random number is sent out the characteristic value of all Idle frames that are sent out in cycle soon as this.That is to say that all in same fast the cycle are sent out the Idle frame and all have identical characteristic value, the Idle frame that is sent out in the different fast cycle is the value of taking on a different character then.In addition, the value of ttl field that also can the Idle frame is set to 255, is absorbed in endless loop with the Idle frame of avoiding making a mistake in looped network.By aforesaid setting,, also can realize detection to the MAC Address conflict even when in looped network, link failure occurring.
In actual conditions, because different producers is to the required precision difference of time, and the transmission rate of frame in looped network also has certain difference, therefore, the above-mentioned data such as time of sending out transmission blanking time of giving tacit consent between the number of the frame that is sent in the cycle, two frames and timer an Idle frame fast are just as a reference, and user or producer can determine concrete numerical value according to actual conditions.
In addition, for not supporting the above-mentioned node of Idle frame through expansion, described node to the processing mode of above-mentioned Idle frame through expansion with identical to common processing mode without the Idle frame of expanding.
Fig. 6 is the structural representation that detects the system of MAC Address conflict in the embodiment of the invention.As shown in Figure 6, the system 601 of detection MAC Address conflict comprises first node 602 and Section Point 603 in the embodiment of the invention.Described first node 602 sends idle frame to stretch grouped data ring 600, wherein, includes the characteristic value of first node in the idle frame that first node sent; Described Section Point 603 receives the idle frame that sends from stretch grouped data ring 600, and detects whether there is the Media Access Control address conflict according to received idle frame with aforesaid detection method.
Fig. 7 is the structural representation that detects the node of MAC Address conflict in the embodiment of the invention.As shown in Figure 7, the node 701 of detection MAC Address conflict comprises sending module 702, detection module 703 and warning processing module 704 in the embodiment of the invention.Described sending module 702 sends idle frame to stretch grouped data ring 600, comprises the characteristic value of this node in the idle frame that is sent; Described detection module 703 receives the idle frame that stretch grouped data rings 600 send to node 701, and the MAC Address of the source MAC in the more received idle frame and described node 701 self; When described two MAC Address are identical, the characteristic value of the characteristic value of carrying in the more received idle frame of detection module 703 and described node 701 self, when described two characteristic values were inequality, detection module 703 detected the MAC Address conflict to the warning processing module 704 or the webmaster report of described node 701.
In the node of the embodiment of the invention, described detection module 703 also can judge whether and need carry out the MAC Address collision detection to received idle frame according to received control information.Wherein, described control information can be the control information that is arranged in the idle frame that is sent by described sending module 702, also can be the control information that other net control device sends for described detection module 703 in the looped network.
As mentioned above, according to the system, node and the detection method that in stretch grouped data ring, detect the Media Access Control address conflict that the embodiment of the invention provided, can detect the conflict of MAC Address in the RPR looped network, and can report to node or webmaster by modes such as message mechanisms and the MAC Address conflict occurs, thereby realized MAC Address conflict among the RPR is effectively detected, improved the operational efficiency of RPR looped network.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. one kind is detected the method that Media Access Control address conflicts in looped network, it is characterized in that this method comprises:
First node sends idle frame; Section Point receives described idle frame; When the Media Access Control address of the source of described idle frame Media Access Control address and described Section Point is identical, characteristic value of carrying in the more described idle frame of described Section Point and the characteristic value of self, when the characteristic value of characteristic value in the described idle frame and described Section Point was inequality, described Section Point report detected the Media Access Control address conflict.
2. method according to claim 1 is characterized in that, the characteristic value of carrying in the described idle frame is arranged in the idle payload field of described idle frame.
3. method according to claim 1 and 2 is characterized in that described characteristic value is random number.
4. method according to claim 3 is characterized in that, the length of described random number is 30 or 32.
5. method according to claim 1 and 2 is characterized in that, the characteristic value of carrying in the described idle frame is producer's sign of described first node, and the part of producer's Media Access Control address of described first node; Described self characteristic value is producer's sign of Section Point, and the part of producer's Media Access Control address of described Section Point.
6. method according to claim 1 and 2 is characterized in that, the characteristic value of carrying in the described idle frame is the node name of first node; Described self characteristic value is the node name of Section Point.
7. method according to claim 1 is characterized in that, the method that described Section Point report detects the Media Access Control address conflict also further comprises: report to this node or webmaster by message mechanism.
8. method according to claim 1 is characterized in that, before described first node sent idle frame, this method also comprises: described first node was provided with control information in described idle frame.
9. method according to claim 1 is characterized in that, before described Section Point received idle frame, this method also comprised: the net control device in the looped network sends control information for described Section Point.
10. according to Claim 8 or 9 described methods, it is characterized in that when described Section Point received idle frame, this method also comprised: described Section Point judges whether to carry out the detection of Media Access Control address conflict according to described control information.
11. method according to claim 8 is characterized in that, described control information is arranged in the idle payload field of idle frame.
12. method according to claim 1 is characterized in that, before described first node sent idle frame, the value of the lifetime field in the idle frame that described first node sent was set to 255.
13. method according to claim 1 is characterized in that, before described first node sent idle frame, described first node was provided with the value of the ring sign bit in the control field in the idle frame that is sent, makes this idle frame only send toward a direction.
14. method according to claim 1 is characterized in that: when the method for described detection node Media Access Control address conflict is applied to looped network and does not restrain.
15. a system that detects the Media Access Control address conflict in looped network is characterized in that this system comprises: first node and Section Point;
Described first node sends idle frame;
Described Section Point receives described idle frame;
When the Media Access Control address of the source Media Access Control address of the received idle frame of described Section Point and described Section Point is identical, characteristic value of carrying in the more described idle frame of described Section Point and the characteristic value of self, when the characteristic value of characteristic value in the described idle frame and described Section Point was inequality, described Section Point report detected the Media Access Control address conflict.
16. a node that detects the Media Access Control address conflict in looped network is characterized in that this node comprises: sending module and detection module;
Described sending module sends to idle frame in the looped network;
The Media Access Control address of source Media Access Control address and described node self in the idle frame that described detection module relatively receives from looped network, when described two addresses are identical, the characteristic value of carrying in the more received idle frame of described detection module and the characteristic value of described node self, when described two characteristic values were inequality, described detection module report detected the Media Access Control address conflict.
17. device according to claim 16 is characterized in that, described node also comprises a warning processing module; When described detection module detected the Media Access Control address conflict, described detection module was reported to described warning processing module.
CNA2007100888342A 2007-03-28 2007-03-28 System, node as well as method for detecting MAC address collision in loop network Pending CN101277243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100888342A CN101277243A (en) 2007-03-28 2007-03-28 System, node as well as method for detecting MAC address collision in loop network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100888342A CN101277243A (en) 2007-03-28 2007-03-28 System, node as well as method for detecting MAC address collision in loop network

Publications (1)

Publication Number Publication Date
CN101277243A true CN101277243A (en) 2008-10-01

Family

ID=39996272

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100888342A Pending CN101277243A (en) 2007-03-28 2007-03-28 System, node as well as method for detecting MAC address collision in loop network

Country Status (1)

Country Link
CN (1) CN101277243A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320302A (en) * 2014-10-30 2015-01-28 杭州华三通信技术有限公司 Detecting method and device for RPR topology inconformity
CN104540152A (en) * 2014-11-27 2015-04-22 中国科学技术大学苏州研究院 Method and system for detecting transmission conflict in wireless network
CN106211089A (en) * 2016-06-30 2016-12-07 深圳市金溢科技股份有限公司 A kind of car networked system, communication means and car-mounted terminal
CN106941634A (en) * 2017-05-18 2017-07-11 烽火通信科技股份有限公司 The method and system of OLT loopback detections in a kind of GPON systems
CN107896348A (en) * 2017-12-28 2018-04-10 深圳市源拓光电技术有限公司 A kind of optical port organizes the optical fiber switch and its data transmission method of ring automatically
CN114500117A (en) * 2022-04-15 2022-05-13 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320302A (en) * 2014-10-30 2015-01-28 杭州华三通信技术有限公司 Detecting method and device for RPR topology inconformity
CN104540152A (en) * 2014-11-27 2015-04-22 中国科学技术大学苏州研究院 Method and system for detecting transmission conflict in wireless network
CN106211089A (en) * 2016-06-30 2016-12-07 深圳市金溢科技股份有限公司 A kind of car networked system, communication means and car-mounted terminal
CN106941634A (en) * 2017-05-18 2017-07-11 烽火通信科技股份有限公司 The method and system of OLT loopback detections in a kind of GPON systems
CN106941634B (en) * 2017-05-18 2020-07-14 烽火通信科技股份有限公司 O L T loopback detection method and system in GPON system
CN107896348A (en) * 2017-12-28 2018-04-10 深圳市源拓光电技术有限公司 A kind of optical port organizes the optical fiber switch and its data transmission method of ring automatically
CN114500117A (en) * 2022-04-15 2022-05-13 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics
CN114500117B (en) * 2022-04-15 2022-07-05 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics

Similar Documents

Publication Publication Date Title
CN100571165C (en) A kind of method of finding automatically based on topological structure of multi-service transmission looped network
CA2459286C (en) Method for supporting sdh/sonet aps on ethernet
US8339969B2 (en) Distributed ethernet system and method for detecting fault based thereon
CN101409666B (en) Ring network, ring network topology discovering method and node
CN101277243A (en) System, node as well as method for detecting MAC address collision in loop network
US20030152027A1 (en) Packet protection method and transmission device in ring network, and program therefor
CN101771610B (en) Transport multiprotocol label switching network (T-MPLS) system and link protection method
CN1744479A (en) Method of setting up a backup path in a transport network
JP2004112803A (en) Oam function discovery method in ethernet (r) passive optical subscriber network
CN100518142C (en) Method for preventing network interruption caused by address aging and time inconformity
CN101459536A (en) Port configuration method and switching device
CN107465622B (en) Method for realizing network topology discovery by utilizing LLDP
KR101313965B1 (en) Method and device for classifying media access control address based on ethernet ring network
US20200358525A1 (en) Hardware-based protection group switching method and optical communication equipment
CN100352226C (en) Method for realizing M:N looped network protection switching operation
CN101207545B (en) Method and system for detection of repeat media access control address on elastic grouping ring
CN112738259A (en) Ethernet data transmission method, device, equipment and storage medium
CN101217445B (en) A method of loop generation protection and Ethernet ring system
CN1274117C (en) Method of preventing formation of timing loop in synchronous network
CN101646105A (en) Method, system and equipment for service recovery
CN101505258B (en) Method and apparatus for implementing service protection
CN101997724A (en) Method and device for updating multicast forwarding entries
CN100450063C (en) Multi-ring interconnect transmission method of resilient packet ring based on loop identifier router
CN1144401C (en) Hierarchical synchronization system
CN101582848A (en) Cross-ring protection method and system of resilient packet ring (RPR)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20081001