CN101494549B - Method for transmitting multicast data by RPR and RPR node - Google Patents

Method for transmitting multicast data by RPR and RPR node Download PDF

Info

Publication number
CN101494549B
CN101494549B CN2009100787285A CN200910078728A CN101494549B CN 101494549 B CN101494549 B CN 101494549B CN 2009100787285 A CN2009100787285 A CN 2009100787285A CN 200910078728 A CN200910078728 A CN 200910078728A CN 101494549 B CN101494549 B CN 101494549B
Authority
CN
China
Prior art keywords
rpr
node
igmp
multicast group
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100787285A
Other languages
Chinese (zh)
Other versions
CN101494549A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009100787285A priority Critical patent/CN101494549B/en
Publication of CN101494549A publication Critical patent/CN101494549A/en
Application granted granted Critical
Publication of CN101494549B publication Critical patent/CN101494549B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for transmitting multicast data on a resilient packet ring (RPR) and a RPR node. The establishment of a forward table containing the corresponding relation between a multicast group and a receiving node is realized on the RPR node which carries out upper ring processing to the message query of an internet group management protocol, thus leading the RPR node to being capable of determining a shortest forward path corresponding to the multicast group according to the topology information of the forward table and the RPR, determining that the last receiving node in the shortest forward path is a stripping node and leading the transmitted multicast data of the multicast group to stop transmission on the RPR at the stripping node. The invention can save more bandwidth of the RPR, which is occupied in the transmission process of the multicast data.

Description

A kind of RPR goes up the method and the RPR node of multicast data transmission
Technical field
The present invention relates to the network communications technology, particularly a kind of Resilient Packet Ring (RPR) goes up the method and the RPR node of multicast data transmission.
Background technology
RPR is a kind of new media access control (MAC) layer protocol of IEEE 802.17 working groups definition, have less than the 50ms protection switch, multiple technologies characteristics such as topological automatic discovering and high bandwidth utilization.RPR is reciprocal dicyclo topological structure, and ring and outer shroud in two rings can be called can both transmit data, and wherein, the transmission direction of outer shroud is a clockwise direction, and the transmission direction of interior ring is counterclockwise.
Node on the RPR is commonly referred to the RPR node, and the message on the RPR is carried out following operation: go up ring (insert), down ring (copy), cross ring (transit) and reject (strip) and operate.Wherein, last ring is meant that the RPR node will be inserted in the RPR net from the outer message of RPR, following ring is meant that the RPR node message that RPR is online gives the upper strata and process, cross ring and be meant that the RPR node is transmitted to next RPR node with the message on the RPR, reject and be meant the forwarding of message on RPR that stops on the RPR.The topology information that the RPR node is collected RPR by Topology Discovery generates and safeguards topological database.Wherein, the topology information of RPR net comprises: the MAC Address of the putting in order of the RPR interstitial content of RPR net, RPR net state, RPR node, each RPR node etc.
RPR supports the forwarding of multicast message, multicast message for last ring, the RPR node can encapsulate the expansion frame on the multicast message that receives, wherein comprise fields such as life span (TTL), RPR source MAC, RPR purpose MAC, in existing the realization, TLL is filled to default value, for example is filled to 255, RPR source MAC is filled to the MAC Address of source RPR node, and RPR purpose MAC is filled to multicast mac address.
In the prior art, for the transmission course of multicast data message as shown in Figure 1, suppose that RPR node A receives the multicast data message from network node G, this multicast data message is gone up ring to be handled, this multicast data message is transmitted by interior ring or outer shroud, suppose to transmit by outer shroud, if RPR Node B and RPR node D exist main frame to add this multicast group, then RPR Node B and RPR node D are receiving node, descending ring to handle and cross ring to the data message handles, and after ring is handled down, be transmitted to corresponding main frame, and other RPR node descends to encircle to handle and cross the ring processing to the data message, and is abandoning data message after following ring is handled.That is to say that this multicast data message transmits via RPR Node B, C, D, E, F, is 0 until getting back to RPR node A or ttl value.As can be seen, in the said method of prior art, multicast packet need be 0 o'clock getting back to source RPR node or ttl value, just carry out strip operation, and in fact only need transfer to RPR node D just can carry out strip operation in the networking as shown in Figure 1, has obviously wasted RPR node D to the bandwidth between the RPR node G.
Summary of the invention
In view of this, the invention provides method and RPR node that a kind of RPR goes up multicast data transmission, so that save the bandwidth of the RPR that takies in the muticast data transmission process.
A kind of RPR goes up the method for multicast data transmission, and this method comprises:
A, Internet Group Management Protocol igmp querying message gone up a RPR node that ring handles and receives IGMP member relation report message at a certain multicast group after, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, and set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group;
B, a described RPR node determine this multicast group the shortest pairing forward-path according to the described topology information of transmitting with RPR, and determine that last receiving node in this shortest forward-path is for peeling off node;
C, a described RPR node transmit the multicast packet of this multicast group according to the shortest described forward-path, and the described node of peeling off carries out lift-off processing to the multicast packet of this multicast group.
A kind of RPR node, this RPR node comprises: IGMP message process unit, path determining unit and data transmission unit;
Described IGMP message process unit, after being used for the igmp querying message gone up ring and handle, when receiving the IGMP member relation report message at a certain multicast group, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, and set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group;
Described path determining unit is used for the topology information transmitted with RPR according to described, determines this multicast group the shortest pairing forward-path, and determines that last receiving node in this shortest forward-path is for peeling off node;
Described data transmission unit is used for transmitting according to the shortest described forward-path the multicast packet of this multicast group, and notifies the described node of peeling off that the multicast packet of this multicast group is carried out lift-off processing.
As can be seen from the above technical solutions, method provided by the present invention and RPR node, realize comprising the foundation of transmitting of corresponding relation between multicast group and the receiving node on the RPR node that ring is handled on the igmp querying message is carried out, make this RPR node to transmit with the topology information of RPR and determine this multicast group the shortest pairing forward-path according to this, and determine last receiving node in this shortest forward-path for peeling off node, make the multicast packet of this multicast group of transmitting peel off node and go out to terminate in transmission on the RPR at this.This mode makes the transmission of multicast packet only along the shortest forward-path, postback the RPR node that gives this multicast packet or treat that TLL just carries out lift-off processing, the obviously bandwidth of saving the RPR that takies in the muticast data transmission process more from being kept at 0 o'clock such as 255 default value and needn't transmit.
Description of drawings
Fig. 1 is the schematic diagram that transmits multicast data message in the prior art on RPR;
Fig. 2 is a main method flow chart provided by the invention;
The schematic diagram that on RPR, transmits multicast data message that Fig. 3 provides for the embodiment of the invention;
The detailed method flow chart that Fig. 4 provides for the embodiment of the invention;
The structure chart of the RPR node that Fig. 5 provides for the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Fig. 2 is a main method flow chart provided by the invention, and as shown in Figure 2, this method mainly comprises:
Step 201: after the RPR node that ring on Internet Group Management Protocol (IGMP) query message is handled receives IGMP member relation report message at a certain multicast group, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group.
Step 202: a RPR node is determined this multicast group the shortest pairing forward-path according to the topology information of above-mentioned corresponding relation and RPR, and last receiving node in definite this shortest forward-path is for peeling off node.
Step 203: a RPR node transmits the multicast packet of this multicast group according to the shortest forward-path of determining, peels off node the multicast packet of this multicast group is carried out lift-off processing.
Need to prove that said method provided by the present invention is mainly used in the situation that igmp querying message and multicast packet encircle on same RPR node.
Below in conjunction with specific embodiment said method is described in detail.Be example with networking shown in Figure 3 below, networking structure shown in Figure 3 is identical with networking structure shown in Figure 1, is transmitted to corresponding main frame after ring is handled under RPR Node B and RPR node D place need be to multicast packets.The detailed method flow chart that Fig. 4 provides for the embodiment of the invention, as shown in Figure 4, this method can may further comprise the steps:
After step 401:RRP node A listens to the igmp querying message of network node G transmission, if this IGMP group message need be gone up ring and handle, be forwarded to RPR after then this igmp querying message encapsulates, and self be set to query node at place VLAN.
If the RPR node receives by non-RPR port (being common port) and all arrive the igmp querying message, and if this non-RPR port and RPR port belong to same Virtual Local Area Network, then can determine to go up and encircle processing this igmp querying message.
When the RPR node encircles the igmp querying message of handling and is forwarded to RPR on will needing after, if this RPR node is an ordinary node at this VLAN, then this RPR node is set to the query node at this VLAN, the port that receives the igmp querying message is added in the router port list, start ageing timer at this port.If this RPR node is a query node at this VLAN, and do not comprise the port that receives the igmp querying message in the router port list as yet, then this port is added in the router port list, start ageing timer at this port.If this RPR node is a query node at this VLAN, and comprised the port that receives the igmp querying message in the router port list, then at this port replacement ageing timer.When ageing timer then after, this port is deleted from router port list.
Step 402: after other RPR node listens to the igmp querying message, carried out ring and the processing of ring down according to normal flow.
Other RPR node receives the igmp querying message from RPR, because the igmp querying message all needs to carry out ring and the processing of ring down for other RPR node, promptly transmits by all of the port, therefore, carries out according to existing normal flow.
When step 403:RPR Node B and RPR node D receive the IGMP member relation report message at a certain multicast group (IGMPmembership report message) of main frame transmission by non-RPR port (being common port), encapsulate the back and transmit RPR.
As shown in Figure 3, if after main frame 1 and main frame 2 receive igmp querying message at certain multicast group, all need to add this multicast group, then can send IGMP member relation report message to connected RPR node.
If receiving, the RPR node needs to go up the IGMP member relation report message that ring is handled, promptly receive the IGMP member relation report message that main frame sends by common port, be forwarded to RPR after encapsulating, the RPR source MAC of RPR Node B and RPR node D encapsulation is respectively the MAC Address of self, that is to say that RPR Node B and RPR node D are the receiving node of this multicast group.
Step 404: after receiving IGMP member relation report message as the RPR node A of this multicast group query node at this multicast group, RPR source MAC according to IGMP member relation report message, determine that receiving node is RPR Node B and D, the corresponding relation between this multicast group and the receiving node is stored in transmits.
When the ordinary node on the RPR receives IGMP member relation report message, carried out ring and ring processing down, and will descend the IGMP member relation report message after ring is handled to abandon, promptly only transmit by the RPR port, do not transmit by other port, prevent that the IGMP member relation report message of moving on other main frame from suppressing mechanism, make and to know that RPR goes up other receiving node of existence.After for example the RPR Node B receives the IGMP member relation report message that sends from RPR node D, if be transmitted to main frame 1 by generic interface, suppress mechanism owing to moved IGMP member relation report message on the main frame 1, then main frame 1 no longer sends IGMP member relation report message, then RPR node A then can't receive the IGMP member relation report message that the RPR Node B sends as receiving node, therefore, among the present invention, each RPR node is no longer transmitted IGMP member relation report message by common port.
After RPR node A receives IGMP member relation report message, transmit by the all-router port among the RPR place VLAN in the router side oral thermometer.
After RPR node A receives IGMP member relation report message, if the RPR source MAC of this IGMP member relation report message is the MAC Address of RPR Node B, then judge the corresponding relation that whether has comprised in transmitting between this multicast group and the RPR Node B, if do not have, then corresponding relation between this multicast group and the RPR Node B is stored in as forwarding-table item and transmits, and start ageing timer at this forwarding-table item; If exist, the ageing timer of this forwarding-table item of then resetting.When the ageing timer of this forwarding-table item then after, delete this forwarding-table item.If the RPR source MAC of this IGMP member relation report message is the MAC Address of RPR node D, also carry out similar operations.
Step 405:RPR node A determines the shortest forward-path of this multicast group correspondence according to corresponding relation in transmitting and the topology information of RPR, and notifies last receiving node in this shortest forward-path as the node of peeling off of this multicast group.
RPR node A can be behind the setting duration that foundation is transmitted, trigger to determine the operation of short forward-path, this setting duration can guarantee that all the RPR nodes among the RPR all receive the igmp querying message, and IGMP member relation report message is sent to RPR node A, for example can be provided with several milliseconds.Also can be after receiving the multicast packet that sends to this multicast group, trigger and determine the operation of short forward-path.
Determine that the operation of short forward-path can be specially: according to transmitting all receiving nodes of determining this multicast group correspondence, when determining in all receiving nodes, to finish transmission through the path of minimum hop count as the shortest forward-path.In networking shown in Figure 3, the RPR node is RPR Node B and RPR node D according to the receiving node that forwarding-table item can find out this multicast group, and can determine that according to network topological information along the path of outer shroud transmission be A-B-C-D, the jumping figure of process is 3 jumpings, path along interior ring transmission is A-F-E-D-C-B, the jumping figure of process is 5 jumpings, therefore, can determine that the shortest forward-path is for to transmit along outer shroud, and last receiving node in this path is RPR node D, and D is defined as peeling off node with this RPR node.
In addition,, then can select according to default selection strategy if determine along the jumping figure of the transmission path of outer shroud and interior ring identically, for example optional wherein one, perhaps according to the default setting selection etc.
RPR node A notice RPR node D can include but not limited to wherein a kind of in following two kinds at least as the mode of peeling off node:
First kind of mode: RPR node A sends notification packet to RPR node D, carry the information of multicast group information and last receiving node in this notification packet, wherein the information of last receiving node can be the information of short forward-path or the mac address information of RPR node D etc.After RPR node D receives this notification packet, determine from the node of peeling off as this multicast group.
The second way: RPR node A according to this shortest forward-path the jumping figure of process, this jumping figure subtracted one value and is encapsulated in the multicast packet of transmission as the value of TTL.For example, the value of TTL can be filled to 2 is encapsulated in the multicast packet of transmission.Receive TTL and be the RPR node of 0 multicast packet, after ring is handled under to this multicast packet, this multicast packet is carried out lift-off processing, promptly no longer be transmitted to next PRP node.
After step 406:RPR node D receives multicast packet at above-mentioned multicast group,, also this multicast packet is carried out lift-off processing except this multicast packet being descended ring handles.
As can be seen, by said method, multicast packet begins to transmit along outer shroud from RPR node A, and transfers to RPR node D end, both guaranteed that all members in this multicast group received this multicast packet, also saved RPR node D to the bandwidth between the node F.
If RPR node A receives the IGMP member relation report message of RPR source MAC for the MAC Address of other RPR node, then with this RPR node as receiving node, and renewal forwarding-table item, being about to corresponding relation between this multicast group and this receiving node is added on as forwarding-table item and transmits, and go to execution in step 405, promptly carry out determining of shortest path again, and determine peel off node and change the time, notice RPR node D is not as the node of peeling off of this multicast group.
If the IGMP that RPR node A receives at this multicast group leaves group message (IGMP leavegroup message), then leave the definite corresponding receiving node of RPR source MAC of group message according to this IGMP.Judge that corresponding relation between this multicast group and the receiving node whether in transmitting, if there is no, then abandons this IGMP and leaves the group message.If exist, then RPR node A transmits this IGMP by the all-router port of this VLAN correspondence and leaves the group message; In addition, because whether RPR node A does not know this receiving node and also exists other main frame still in this multicast group, therefore, do not delete the forwarding-table item of the corresponding relation of this multicast group and receiving node in transmitting, but the ageing timer of this forwarding-table item of resetting.If after ageing timer arrives, with this forwarding-table item deletion.For example, main frame 2 and main frame 3 have all added this multicast group, main frame 2 has sent IGMP to RPR node D and has left the group message, after RPR node A receives this leave message, can not determine whether RPR node D also connects other main frame still in this multicast group, the ageing timer of the forwarding-table item that corresponding relation constituted between the MAC Address of this multicast group of then resetting and RPR node, because main frame 3 is still in this multicast group, still can periodically send IGMP member relation report message, the ageing timer of this forwarding-table item can in time be reset, can be not deleted.
After certain forwarding-table item is deleted, also can go to execution in step 405, promptly carry out determining of shortest path again, and determine peel off node and change the time, notice RPR node D is not as the node of peeling off of this multicast group.
After the IGMP that receives this multicast group for other ordinary node leaves the group message, carried out that ring is handled and down ring handle, and the IGMP of ring processing down leaves the group packet loss, promptly do not transmit by other common port.
In addition, RPR node A is behind the igmp querying message that receives by router port at this multicast group, the capital ageing timer of this router port of resetting, if the ageing timer of router port then, then this router port is deleted from router port list, if when RPR node A is empty at the router port list at this VLAN, revert to ordinary node from query node at this VLAN.
More than be the detailed description that method provided by the present invention is carried out, below RPR node provided by the present invention be described in detail.The structure chart of the RPR node that Fig. 5 provides for the embodiment of the invention, as shown in Figure 5, this RPR node can comprise: IGMP message process unit 500, path determining unit 510 and data transmission unit 520.
IGMP message process unit 500, after being used for the igmp querying message gone up ring and handle, when receiving the IGMP member relation report message at a certain multicast group, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, and set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group.
Path determining unit 510 is used for the topology information transmitted with RPR according to above-mentioned, determines this multicast group the shortest pairing forward-path, and determines that last receiving node in this shortest forward-path is for peeling off node.
Data transmission unit 520 is used for determining that according to path determining unit 510 the shortest forward-paths transmit the multicast packet of this multicast group, and notice is peeled off node the multicast packet of this multicast group is carried out lift-off processing.
Wherein, above-mentioned IGMP message process unit 500 can specifically comprise: go up ring and handle subelement 501, state and subelement 502, tabulation are set set up subelement 503 and transmit and set up subelement 504.
Last ring is handled subelement 501, be used for receiving the igmp querying message by non-RPR port, and this non-RPR port and RPR port is when belonging to same VLAN, this igmp querying message is gone up encircled processing, and to state subelement 502 transmit statuss are set notice is set.
State is provided with subelement 502, is used to the state of receiving and is provided with when notifying, and this RPR node is set to the query node at above-mentioned VLAN.
Subelement 503 is set up in tabulation, is used for adding non-RPR port at this VLAN router port list, starts the ageing timer of non-RPR port.
Transmit and set up subelement 504, be used for when this RPR node is query node, if when receiving the IGMP member relation report message at multicast group, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, and set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group.
Further, subelement 503 is set up in tabulation, can also be used for when last ring processing subelement 501 receives the igmp querying message once more by non-RPR port the ageing timer of non-RPR port of resetting; When the ageing timer of non-RPR port then after, should from router port list, delete by non-RPR port.
State is provided with subelement 502, can also be used for when router port list is sky this RPR node being returned to ordinary node from the query node at this VLAN.
More preferably, IGMP message process unit 500 can also be used for when this RPR node is ordinary node, if receive IGMP member relation report message, carries out ring and ring processing down, and abandons down the IGMP member relation report message after ring is handled.
More preferably, transmit and set up subelement 504, before foundation comprises transmitting of corresponding relation between this multicast group and the receiving node, can also be used for judging and transmit the corresponding relation that whether exists between this multicast group and the receiving node, if not, then continue to carry out to set up the operation of transmitting that comprises corresponding relation between this multicast group and the receiving node, and the ageing timer of this corresponding relation of resetting; If, the ageing timer of this corresponding relation of then resetting.
Wherein, path determining unit 510 can be after the IGMP message process unit be set up the setting duration transmit, and perhaps after this RPR node receives the multicast packet of multicast group, carries out the operation of determining the pairing the shortest forward-path of this multicast group.
Particularly, path determining unit 510 can be according to above-mentioned all receiving nodes of determining this multicast group correspondence of transmitting in determining minimum forward-path process, and the path of process minimum hop count is as the shortest forward-path when determining to finish transmission in receiving node.
Wherein, when path determining unit 510 is two at the shortest forward-path of determining, optional wherein one or select wherein one according to default setting.
Particularly, data transmission unit 520 is peeled off in the process of node in notice, can send notification packet by last receiving node in the shortest forward-path, is the node of peeling off of multicast group to notify this receiving node; Perhaps, according to the shortest forward-path the jumping figure of process subtract one value and be encapsulated in the multicast packet of transmission as the value of TTL.
Accordingly, described data transmission unit, when also being used to receive TTL and being 0 multicast packet, descend ring to handle to this multicast packet after, this multicast packet is carried out lift-off processing.
In addition, IGMP message process unit 500 may further include: leave message is handled subelement 505, after being used to receive IGMP at multicast group and leaving the group message, determine that this IGMP leaves the pairing receiving node of RPR source MAC of group message, judge that corresponding relation between this multicast group and this receiving node is whether in transmitting, if not, then abandon this IGMP and leave the group message; If then transmits this IGMP and leave the group message, and notify list is set up the ageing time of subelement 503 these router ports of replacement by the all-router port in the router port list.
Transmit when changing when above-mentioned, path determining unit 510 redefines the shortest forward-path, and determine peel off node and change the time, notify the former node of peeling off to withdraw from the state of peeling off node.
By above description as can be seen, method provided by the present invention and RPR node, realize comprising the foundation of transmitting of corresponding relation between multicast group and the receiving node on the RPR node that ring is handled on the igmp querying message is carried out, make this RPR node to transmit with the topology information of RPR and determine this multicast group the shortest pairing forward-path according to this, and determine last receiving node in this shortest forward-path for peeling off node, make the multicast packet of this multicast group of transmitting peel off node and go out to terminate in transmission on the RPR at this.This mode makes the transmission of multicast packet only along the shortest forward-path, postback the RPR node that gives this multicast packet or treat that TLL just carries out lift-off processing, the obviously bandwidth of saving the RPR that takies in the muticast data transmission process more from being kept at 0 o'clock such as 255 default value and needn't transmit.
In addition,, make that minimum RPR node receives this multicast data message among the RPR, strengthened the muticast data transmission process safe to a certain extent because this method makes multicast data message transmit according to the shortest forward-path.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (18)

1. the method for multicast data transmission on the RPR is characterized in that this method comprises:
A, Internet Group Management Protocol igmp querying message gone up a RPR node that ring handles and receives IGMP member relation report message at a certain multicast group after, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, and set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group;
B, a described RPR node determine this multicast group the shortest pairing forward-path according to the described topology information of transmitting with RPR, and determine that last receiving node in this shortest forward-path is for peeling off node;
C, a described RPR node transmit the multicast packet of this multicast group according to the shortest described forward-path, and the described node of peeling off carries out lift-off processing to the multicast packet of this multicast group.
2. method according to claim 1, it is characterized in that, also comprised before described steps A: a described RPR node receives the igmp querying message by non-RPR port, and this non-RPR port and RPR port belong to same virtual LAN VLAN, then this igmp querying message being gone up ring handles, and a RPR node is set at the query node of described VLAN, described non-RPR port is added in the router port list at described VLAN, start the ageing timer of described non-RPR port;
When receiving the igmp querying message once more by described non-RPR port, the ageing timer of described non-RPR port of resetting; When the ageing timer of described non-RPR port then after, described non-RPR port is deleted from described router port list; When described router port list was sky, a described RPR node returned to ordinary node from the query node at described VLAN.
3. method according to claim 1 and 2, it is characterized in that, this method also comprises: when other RPR node except a described RPR node receives IGMP member relation report message, carry out ring and ring processing down, and abandoned down the IGMP member relation report message after ring is handled.
4. method according to claim 1 and 2, it is characterized in that, set up described in the steps A comprise the transmitting of corresponding relation between this multicast group and the receiving node before, also comprise: judge the corresponding relation that whether has existed in described the transmitting between this multicast group and the receiving node, if not, then continue to carry out the step of transmitting that described foundation comprises corresponding relation between this multicast group and the receiving node, and the ageing timer of this corresponding relation of resetting; If, the ageing timer of this corresponding relation of then resetting.
5. method according to claim 1 and 2 is characterized in that, a described RPR node is carried out described step B after setting up the described setting duration of transmitting; Perhaps,
A described RPR node is carried out described step B after receiving the multicast packet of described multicast group.
6. method according to claim 1 and 2, it is characterized in that, determine described in the step B that this multicast group the shortest pairing forward-path specifically comprises: a described RPR node is according to described all receiving nodes of determining described multicast group correspondence of transmitting, and the path of process minimum hop count is as the shortest forward-path when determining to finish transmission in all receiving nodes; When the shortest forward-path of determining is two, optional wherein one or select wherein one according to default setting.
7. method according to claim 1 and 2, it is characterized in that, also comprise after step B: a described RPR node last receiving node in the shortest described forward-path sends notification packet, is the node of peeling off of described multicast group to notify this receiving node; Perhaps,
A described RPR node according to the shortest described forward-path the jumping figure of process subtract one value and be encapsulated in the RPR encapsulated frame life span ttl field of the multicast packet that transmits among the step C, after the RPR node that receives TTL and be 0 multicast packet descends ring to handle to multicast packet, multicast packet is carried out lift-off processing.
8. method according to claim 2, it is characterized in that, this method also comprises: a described RPR node receives after IGMP at described multicast group leaves the group message, determine that this IGMP leaves the pairing receiving node of RPR source MAC of group message, judge that corresponding relation between this multicast group and this receiving node is whether in transmitting, if not, then abandon this IGMP and leave the group message; If, then transmit this IGMP and leave the group message by the all-router port in the described router port list, and the ageing time of this router port of resetting.
9. according to claim 1,2 or 8 described methods, it is characterized in that, transmit when changing, go to execution in step B when described, and determine peel off node and change the time, notify the former node of peeling off to withdraw from the state of peeling off node.
10. a RPR node is characterized in that, this RPR node comprises: IGMP message process unit, path determining unit and data transmission unit;
Described IGMP message process unit, after being used for the igmp querying message gone up ring and handle, when receiving the IGMP member relation report message at a certain multicast group, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, and set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group;
Described path determining unit is used for the topology information transmitted with RPR according to described, determines this multicast group the shortest pairing forward-path, and determines that last receiving node in this shortest forward-path is for peeling off node;
Described data transmission unit is used for transmitting according to the shortest described forward-path the multicast packet of this multicast group, and notifies the described node of peeling off that the multicast packet of this multicast group is carried out lift-off processing.
11. RPR node according to claim 10 is characterized in that, described IGMP message process unit comprises: go up ring and handle subelement, state and subelement, tabulation are set set up subelement and transmit and set up subelement;
The described ring of going up is handled subelement, be used for receiving the igmp querying message by non-RPR port, and when this non-RPR port and RPR port belong to same VLAN, this igmp querying message is gone up ring handle, and to described state the subelement transmit status is set notice is set;
Described state is provided with subelement, is used to receive described state and is provided with when notifying, and this RPR node is set to the query node at described VLAN; When router port list is sky, this RPR node is returned to ordinary node from the query node at described VLAN;
Subelement is set up in described tabulation, be used for after described state is provided with this RPR node of subelement and is set to query node at described VLAN, described non-RPR port is added in the router port list at described VLAN, start the ageing timer of described non-RPR port; When described upward ring processing subelement receives the igmp querying message once more by described non-RPR port, the ageing timer of described non-RPR port of resetting; When the ageing timer of described non-RPR port then after, described non-RPR port is deleted from described router port list;
Transmit and set up subelement, be used for when this RPR node is query node, if when receiving the IGMP member relation report message at described multicast group, with the pairing RPR node of RPR source MAC of this IGMP member relation report message receiving node, and set up and comprise transmitting of corresponding relation between this multicast group and the receiving node as this multicast group.
12. according to claim 10 or 11 described RPR nodes, it is characterized in that, described IGMP message process unit, also be used for when this RPR node is ordinary node, if receive IGMP member relation report message, carry out ring and ring processing down, and abandoned down the IGMP member relation report message after ring is handled.
13. RPR node according to claim 11, it is characterized in that, described transmitting set up subelement, before foundation comprises transmitting of corresponding relation between this multicast group and the receiving node, also be used for judging the described corresponding relation that whether exists between this multicast group and the receiving node of transmitting, if not, then continue to carry out the operation of transmitting that described foundation comprises corresponding relation between this multicast group and the receiving node, and the ageing timer of this corresponding relation of resetting; If, the ageing timer of this corresponding relation of then resetting.
14. according to claim 10 or 11 described RPR nodes, it is characterized in that, described path determining unit is after described IGMP message process unit is set up the described setting duration of transmitting, perhaps after this RPR node receives the multicast packet of described multicast group, carry out the described operation of determining the pairing the shortest forward-path of this multicast group.
15. according to claim 10 or 11 described RPR nodes, it is characterized in that, described path determining unit is according to described all receiving nodes of determining described multicast group correspondence of transmitting, and the path of process minimum hop count is as the shortest forward-path when determining to finish transmission in receiving node; When the shortest forward-path of determining is two, optional wherein one or select wherein one according to default setting.
16., it is characterized in that described data transmission unit last receiving node in the shortest described forward-path sends notification packet, is the node of peeling off of described multicast group to notify this receiving node according to claim 10 or 11 described RPR nodes; Perhaps, according to the shortest described forward-path the jumping figure of process subtract one value and be encapsulated in the multicast packet of transmission as the value of TTL;
Described data transmission unit, when also being used to receive TTL and being 0 multicast packet, descend ring to handle to this multicast packet after, this multicast packet is carried out lift-off processing.
17. RPR node according to claim 11, it is characterized in that, described IGMP message process unit also comprises: leave message is handled subelement, after being used to receive IGMP at described multicast group and leaving the group message, determine that this IGMP leaves the pairing receiving node of RPR source MAC of group message, judge that corresponding relation between this multicast group and this receiving node whether in described transmitting, if not, then abandons this IGMP and leaves the group message; If then transmit this IGMP and leave the group message, and notify described tabulation to set up the subelement ageing time of this router port of resetting by the all-router port in the described router port list.
18. according to claim 10,11,13 or 17 described RPR nodes, it is characterized in that transmit when changing when described, described path determining unit redefines the shortest forward-path, and determine peel off node and change the time, notify the former node of peeling off to withdraw from the state of peeling off node.
CN2009100787285A 2009-03-02 2009-03-02 Method for transmitting multicast data by RPR and RPR node Expired - Fee Related CN101494549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100787285A CN101494549B (en) 2009-03-02 2009-03-02 Method for transmitting multicast data by RPR and RPR node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100787285A CN101494549B (en) 2009-03-02 2009-03-02 Method for transmitting multicast data by RPR and RPR node

Publications (2)

Publication Number Publication Date
CN101494549A CN101494549A (en) 2009-07-29
CN101494549B true CN101494549B (en) 2011-07-06

Family

ID=40924970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100787285A Expired - Fee Related CN101494549B (en) 2009-03-02 2009-03-02 Method for transmitting multicast data by RPR and RPR node

Country Status (1)

Country Link
CN (1) CN101494549B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299840A (en) * 2010-06-25 2011-12-28 深圳市邦彦信息技术有限公司 Generation algorithm of multicast transmission path based on RPR (resilient packet ring)
CN102983984B (en) * 2011-09-05 2015-05-13 盛科网络(苏州)有限公司 Method and system for solution of aging of multicast entries
CN102595248B (en) * 2012-01-18 2014-02-26 杭州华三通信技术有限公司 Multicast forwarding table item maintaining method and protocol independent multicast router
CN104579834B (en) * 2014-12-31 2018-01-05 武汉中元华电科技股份有限公司 A kind of method that forward-path is constructed in power system
CN104579982B (en) * 2015-01-06 2018-07-20 新华三技术有限公司 A kind of Layer 2 Multicast data message forwarding method and device
CN106330645B (en) * 2015-06-16 2020-06-05 中兴通讯股份有限公司 Method and device for fast convergence of Ethernet ring multicast Proxy mode service
CN105357126A (en) * 2015-11-12 2016-02-24 国电南瑞科技股份有限公司 Lookup table optimization method for parallel redundancy protocol (PRP)/high reliable seamless redundancy (HSR) message dropping algorithm
CN105763373A (en) * 2016-03-03 2016-07-13 杭州华三通信技术有限公司 Flooding message forwarding method and device
CN106789520B (en) * 2016-12-26 2019-11-22 中核控制系统工程有限公司 A kind of high speed failure safe multi-node communication networks
JP7211213B2 (en) 2019-03-29 2023-01-24 株式会社デンソー Relay device and relay method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874285A (en) * 2005-05-30 2006-12-06 华为技术有限公司 Method and equipment for implementing broadcast or multicast on elastic packet ring
CN101087243A (en) * 2006-06-05 2007-12-12 华为技术有限公司 Method and device for limiting multicast range in RPR

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874285A (en) * 2005-05-30 2006-12-06 华为技术有限公司 Method and equipment for implementing broadcast or multicast on elastic packet ring
CN101087243A (en) * 2006-06-05 2007-12-12 华为技术有限公司 Method and device for limiting multicast range in RPR

Also Published As

Publication number Publication date
CN101494549A (en) 2009-07-29

Similar Documents

Publication Publication Date Title
CN101494549B (en) Method for transmitting multicast data by RPR and RPR node
US7869439B1 (en) Varying packet switch behavior based on a quantity of virtual interfaces associated with a virtual switch
CN100525312C (en) A method and device for MAC frame forwarding
CN101557343B (en) Detecting and protecting method of double-layer loop in VRRP topological network
CN101610221B (en) IP unicast smoothly switching method during STP switch and device thereof
CN102197627A (en) Improved convergence of multicast traffic
CN101771618A (en) Host routing reachable method and system in access ring of packet transport network
CN100561990C (en) A kind of digital home gateway device and processing method thereof
CN100435528C (en) Method for reducing learning of media accessing control address in network
EP2422493B1 (en) Media access control bridging in a mesh network
WO2016101546A1 (en) Method and device for implementing operations, administration and maintenance function
CN103560962A (en) Method for automatically updating host routing table entries of Ethernet switch and switch
CN108028801A (en) A kind of ARP realization method and device based on SDN
CN103873333A (en) Ring network three-layer convergence method and device
CN102801622B (en) A kind of retransmission method of data message and retransmission unit
CN102624620B (en) A kind of transmission system of the Ethernet transmission method based on token frame
CN102231712A (en) Method for load sharing on encoder and encoder
CA2310907C (en) Creating a spanning tree of a network including clusters
CN101800701A (en) Multicasting route control method based on centralized control
EP2479942B1 (en) Method and system for discovering ring network protection information
CN100450068C (en) Multicast group maintaining method
CN102480471B (en) Method for realizing QoS (quality of service) processing in monitoring RRPP (rapid ring protection protocol) ring and network node
CN101488873B (en) Multicast joining method and system
CN107733724B (en) Configuration method and device of ring network and ring network
CN103532954B (en) The coding network system at a kind of data-oriented center and method of work thereof

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110706

Termination date: 20200302

CF01 Termination of patent right due to non-payment of annual fee