CN101997724A - Method and device for updating multicast forwarding entries - Google Patents

Method and device for updating multicast forwarding entries Download PDF

Info

Publication number
CN101997724A
CN101997724A CN2010105543010A CN201010554301A CN101997724A CN 101997724 A CN101997724 A CN 101997724A CN 2010105543010 A CN2010105543010 A CN 2010105543010A CN 201010554301 A CN201010554301 A CN 201010554301A CN 101997724 A CN101997724 A CN 101997724A
Authority
CN
China
Prior art keywords
message
multicast
link
renewal
primary link
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
CN2010105543010A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2010105543010A priority Critical patent/CN101997724A/en
Publication of CN101997724A publication Critical patent/CN101997724A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for updating multicast forwarding entries to update the improvement of multicast forwarding entries, transmit multicast data in time and shorten the recovery time of the multicast service. The method comprises the following steps of: respectively sending or receiving an updating message through a main chain and a redundant chain; and updating multicast forwarding entries according to a multicast MAC (Media Access Control) address corresponding to a multicast group internet protocol address in the message. The invention also discloses a data transmission method used for realizing the in-time transmission of the multicast data when the main chain is failed. The method comprises the following steps of: switching the main chain service to the redundant chain when the main chain is failed; and transmitting the data according to the existing multicast forwarding entries. The invention also discloses a device for realizing the method.

Description

A kind of method and device that upgrades the multicast forwarding entry
Technical field
The present invention relates to the communications field, particularly a kind of method and device that upgrades the multicast forwarding entry.
Background technology
High speed development along with IP (Internet protocol) multicast service, and the extensive use of Ethernet in metropolitan area network, the scale of double layer network is increasing, make the performance of Ethernet and the focus that reliability has become telecom operators more and more to pay close attention to, therefore the quality of multicast service carrier net in the metropolitan area network is had higher requirement.In the network of switch type, the main means that improve network reliability are to dispose some redundant links, set up ethernet ring network.Like this, when losing efficacy, primary link can use redundant link.Under the situation of using the redundant link backup, when primary link broke down, the ability that network switches to reserve link just became key.
Fig. 1 is an ethernet ring network schematic diagram.Comprise multicast source server 101, first node 102, Section Point 103, the 3rd node 104 and the 4th node 105 and client 106 in this ethernet ring network, wherein, first node 102, Section Point 103, the 3rd node 104 and the 4th node 105 can be routers.First node 102 directly links to each other with multicast source server 101, and client 106 inserts the 4th node 105; First node 102, Section Point 103, the 3rd node 104 and the 4th node 105 are formed ethernet ring network, move according to Spanning-Tree Protocol.First node 102 is the root bridge, and the right side port that removes the 4th node 105 is a disabled ports, is in outside the blocked state, and other all-router ports all are in forwarding state.Under the normal condition, multicast traffic stream promptly along the primary link transmission, arrives subscriber's main station along the left side link transmission.When primary link generation link failure, can recomputate and generate tree, transfer the disabled ports of the 4th node 105 to forwarding state by blocked state, again through the management of IGMP (Internet Group Management Protocol, Internet group management protocol of the multicast group) or MLD (Multicast Listener Discovery, multicast listener discovery) agreement, multicast traffic stream changes along the right side link transmission, promptly, arrive client 106, realize the normal transmission of multicast packet along the redundant link transmission.
In ethernet ring network as shown in Figure 1, the convergence time of multicast service comprises two parts.First is the ethernet ring network link switchover time, promptly from link occurs fault, recomputates to generating tree, transfers disabled ports to the forwarding state spent time, is generally a second level.Second portion is the multicast service reconstruction time.Under the normal condition, because disabled ports only allows BPDU (the Bridge Protocol Data Unit in the Spanning-Tree Protocol, BPDU) message is come in and gone out, so IGMP adds and leave message is only up along primary link, set up or deletion multicast forwarding clauses and subclauses along the road, increase or elimination multicast traffic stream transmission path.When primary link broke down, disabled ports transferred forwarding state to, but did not have the multicast forwarding clauses and subclauses of multicast group correspondence this moment on the redundant link node, therefore need rebuild multicast service by igmp querying and inquiry response.The multicast service reconstruction time depends on IGMP general polling blanking time and query responding time, and maximum reaches 135 seconds.
As seen, in the ethernet ring network, multicast service reconstruction time during link switchover has seriously slowed down the transmission speed of multicast service, when causing primary link to break down, multicast service is quick-recovery soon, multicast packet can't in time transmit, and may occur in the network can't program request or the long problems such as (cutout) of period of reservation of number, can not satisfy the performance requirement of multicast service.
Summary of the invention
The embodiment of the invention provides a kind of method of upgrading the multicast forwarding entry, is used to realize upgrading the improvement of multicast forwarding entry, so as the timely transmission of multicast packet, the recovery time of shortening multicast service.
A kind of method of upgrading the multicast forwarding entry may further comprise the steps:
Send or receive the renewal message respectively by primary link and redundant link;
The multicast forwarding entry is upgraded in multicast media access control MAC address according to the multicast group IP address correspondence in the described message.
A kind of device that upgrades the multicast forwarding entry comprises:
Interface module is used for sending or receive the renewal message respectively by primary link and redundant link;
Update module is used for the multicast media access control MAC address renewal multicast forwarding entry according to the multicast group IP address correspondence of described message.
The embodiment of the invention sends or receives the renewal message respectively by primary link and redundant link; The multicast forwarding entry is upgraded in multicast media access control MAC address according to the multicast group IP address correspondence in the described message.Thereby when breaking down, realized primary link the timely transmission of multicast packet.Because of transmitting the renewal message respectively by primary link and redundant link, redundant link also can conventional maintenance multicast forwarding clauses and subclauses, when primary link breaks down, redundant link carries out transfer of data after needn't setting up the multicast forwarding clauses and subclauses by association message more again, saved the time that rebulids the multicast forwarding clauses and subclauses, made multicast service obtain fast quick-recovery.
Description of drawings
Fig. 1 is an ethernet ring network structural representation in the prior art;
Fig. 2 A is an Ethernet ring network system structural representation in the embodiment of the invention;
Fig. 2 B is the primary structure figure that upgrades the device of multicast forwarding entry in the embodiment of the invention;
Fig. 3 is a detailed structure view of upgrading the device of multicast forwarding entry in the embodiment of the invention;
Fig. 4 is the main flow chart that upgrades the method for multicast forwarding entry in the embodiment of the invention;
Fig. 5 is the detail flowchart that upgrades the method for multicast forwarding entry in the embodiment of the invention during receiving group query message;
When Fig. 6 joins message for receiving group in the embodiment of the invention, upgrade the detail flowchart of the method for multicast forwarding entry:
Fig. 7 is when sending the multicast leave message in the embodiment of the invention, upgrades the detail flowchart of the method for multicast forwarding entry:
Fig. 8 in the embodiment of the invention when primary link breaks down, the detail flowchart of the method for renewal multicast forwarding entry.
Embodiment
The embodiment of the invention sends or receives the renewal message respectively by primary link and redundant link; The multicast forwarding entry is upgraded in multicast media access control MAC address according to the multicast group IP address correspondence in the described message.Thereby when breaking down, realized primary link the timely transmission of multicast packet.Because of transmitting the renewal message respectively by primary link and redundant link, redundant link also can conventional maintenance multicast forwarding clauses and subclauses, when primary link breaks down, redundant link carries out transfer of data after needn't setting up the multicast forwarding clauses and subclauses by association message more again, saved the time that rebulids the multicast forwarding clauses and subclauses, made multicast service obtain fast quick-recovery.
Referring to the Ethernet system shown in Fig. 2 A, this Ethernet system comprises first node 2101, Section Point 2102, the 3rd node 2103, the 4th node 2104, the 5th node 2105 and the 6th node 2106.Wherein, first node 2101 can be a server, Section Point 2102, the 3rd node 2103, the 4th node 2104 and the 5th node 2105 can be router or switch, the 6th node 2106 can be a client, Section Point 102 is the root bridge, and the right side port of the 5th node 2105 is a disabled ports.The node that links to each other with server in can loop is set to root bridge, i.e. host node.Be that the root bridge is an example with Section Point 102 in the embodiment of the invention, the 3rd node 2103, the 4th node 2104 and the 5th node 2105 are from node.On this redundant link a plurality of nodes can be arranged, be not limited to five nodes shown in this figure.Disabled ports can be positioned on arbitrary node, can be that uplink port also can be a downlink port.Uplink port is the message that sends of reception server side or sends the direction of message to server that downlink port is the direction opposite with uplink port.Be uplink port with disabled ports in the embodiment of the invention, and be positioned at the 5th node 2105 and be example.Opening disabled ports, be meant the node at the disabled ports place, is to open the function that multicast joins message and the multicast leave message is passed through this disabled ports on the 5th node 2105 in the embodiment of the invention.
Multicast protocol in the embodiment of the invention can be IGMP (Internet Group Management Protocol, Internet Group Management Protocol) agreement, also can be MLD (Multicast Listener Discovery, multicast listener discovery protocol) agreement is an example with the IGMP agreement all in following content.In the Ethernet Circle of operation Spanning-Tree Protocol, the message of the agreement relevant with multicast service can't pass through disabled ports, be that IGMP protocol massages and MLD protocol massages all can't pass through disabled ports, therefore the disabled ports on the 5th node 2105 is opened, multicast is joined message and the multicast leave message can be passed through this disabled ports.
Wherein, multicast inquiry message, multicast join message and the multicast leave message can be a message in the IGMP agreement, also can be the messages in the MLD agreement.Multicast joins message and the multicast leave message, or multicast joins message, or the multicast leave message all can be described as the renewal message.The multicast inquiry message comprises multicast general polling message, multicast group-specific query message and multicast particular source group polling message, and these messages can arrive each node in the loop.After each receives multicast general polling message from node,, can reply multicast to this multicast general polling message and join message in response as long as the user of any multicast group is arranged on the node; Receive multicast group-specific query message from node, as long as the user of particular multicast group is arranged, can reply multicast to this multicast group-specific query message and join message in response; Receive multicast particular source group polling message from node, as long as there is the user to be ready to receive the data flow of the specific multicast group address of sending from the specific multicast source address, can replys multicast to this multicast particular source group polling message and join message in response; Otherwise do not do response.The multicast inquiry message is sent by the Section Point shown in Fig. 2 A 2102, can periodically send, so Section Point 2102 also can be called the multicast inquiry node.Each all can receive this multicast inquiry message from a termination from node, transmits from the other end, and when host node was received the multicast inquiry message that is sent by oneself once more, the process of transmitting of multicast inquiry message finished.When response multicast inquiry message, only can join message to up transmission multicast, can not send leave message, upstream equipment is confiscated multicast and is joined message in the cycle, think that then the user leaves.
Shown in Fig. 2 B, the device that upgrades the multicast forwarding entry in the embodiment of the invention comprises interface module 2001 and update module 2002.
Interface module 2001 is used for sending or receive the renewal message respectively by primary link and redundant link.Interface module 2001 comprises first port and second port, and first port is corresponding to primary link, and second port is corresponding to redundant link.Interface module 2001 is used for upgrading message by first port in the primary link transmission, and upgrades message by second port in the redundant link transmission.Wherein, transmission comprises transmission and receives, or transmission, or receives.Reach interface module 2001 and be used for receiving the renewal message at primary link, and upgrade message in the redundant link reception by second port by first port.Interface module 2001 receiving group query messages or multicast joins message or the multicast leave message, and be used to send the multicast inquiry message or multicast joins message or the multicast leave message.When primary link broke down, interface module 2001 also was used for continuing the transmission data in the multicast forwarding clauses and subclauses of having set up on according to redundant link on the redundant link.Transfer the state of disabled ports to forwarding state by disabled status, normal process business, transmitting-receiving message.This moment, redundant link continued the transmission data as primary link, and because disabled ports has been opened and has been made the function that multicast inquiry message, multicast join message and the multicast leave message is passed through when primary link is working properly, the multicast forwarding clauses and subclauses identical have been set up with primary link, therefore after primary link breaks down, need not to rebulid the MAC forwarding entry, directly E-Packet according to the MAC forwarding entry of having set up.
Update module 2002 is used for upgrading the multicast forwarding entry according to the multicast mac address of described message.Join message when passing through disabled ports as multicast, the multicast group IP address that update module 2002 is carried in joining message according to multicast, be converted into multicast mac address earlier, whether inquiry has corresponding multicast forwarding clauses and subclauses in the mac address table of self maintained then, wherein, the multicast mac address that obtains after the multicast group IP address transition that corresponding multicast forwarding clauses and subclauses are carried in being meant and MAC Address that the multicast forwarding clauses and subclauses are comprised being arranged in the mac address table and this multicast joins message is identical.If there are not corresponding multicast forwarding clauses and subclauses in mac address table, then according to this multicast mac address and receive that the port numbers that described multicast joins message sets up the multicast forwarding clauses and subclauses, wherein, this port numbers is meant the port numbers that the described multicast received joins message; If corresponding multicast forwarding clauses and subclauses are arranged in mac address table, then inquire about the port numbers that whether has described multicast to carry in joining message in the port set of these multicast forwarding clauses and subclauses, if the port numbers that does not have described multicast to carry in joining message in the port of these multicast forwarding clauses and subclauses set is then added the port numbers that this multicast carries in joining message in the port set of these multicast forwarding clauses and subclauses.Pass through disabled ports as the multicast leave message, and when inquiry does not obtain response, update module 2002 is according to the multicast group IP address of carrying in the multicast leave message, be converted into multicast mac address earlier, whether inquiry has corresponding multicast forwarding clauses and subclauses in the mac address table of self maintained then, if corresponding multicast forwarding clauses and subclauses are arranged in the mac address table of self maintained, then in the port set of these multicast forwarding clauses and subclauses of continuation inquiry whether the port numbers of carrying in the described multicast leave message is arranged, if in the set of the port of these multicast forwarding clauses and subclauses the port numbers of carrying in the described multicast leave message is arranged, then from the port set of these multicast forwarding clauses and subclauses, delete the port numbers of carrying in this multicast leave message, after deleting the port numbers of carrying in this multicast leave message, if the sets of ports of these multicast forwarding clauses and subclauses is combined into sky, then delete this multicast forwarding clauses and subclauses.
As shown in Figure 3, described device can also comprise configuration module 2003, check module 2004 and handover module 2005.
Configuration module 2003 is used for configuration message matching characteristic and sign position.Message matching characteristic by configuration module 2003 configure hardwares or software and sign position join message multicast inquiry message, multicast and the multicast leave message all can be passed through disabled ports.Be that configuration module 2003 is opened disabled ports on redundant link, multicast inquiry message, multicast joined message and the multicast leave message can be passed through this disabled ports.
Configuration module 2003 is provided with corresponding sign position, wherein, can be arranged in the internal memory, also can be arranged in other memory device, for example, forbid the multicast inquiry message, multicast join message and the multicast leave message can be shared a sign position, the multicast inquiry message is forbidden in " 0 " expression, multicast joins message and the multicast leave message is passed through, " 1 " expression allows the multicast inquiry message, multicast joins message and the multicast leave message is passed through, perhaps, the multicast inquiry message, multicast joins message and the corresponding respectively sign position of multicast leave message, " 0 " expression forbids that pairing message passes through, " 1 " expression allows pairing message to pass through, and these three sign positions are provided with respectively.Configuration module 2003 can pass through software setting message matching characteristic, and for example, the message characteristic of IGMP agreement is: IGMP message protocol position 2, purpose MAC (medium access control) address all starts with 01005E.When having only the message matching characteristic that is provided with therewith consistent, message could pass through, and therefore the message matching characteristic is set to consistent with the feature of multicast protocol message.When sending message to be sent, can judge earlier whether the respective identification position is to allow pairing message to pass through, when judged result when being, continue to judge whether the message characteristic of message to be sent is consistent with the message matching characteristic that is provided with, when the message characteristic of message to be sent is consistent with the message matching characteristic of setting, transmit message to be sent by redundant link.
Configuration module 2003 is provided with bottom hardware ACL (Access Control List, Access Control List (ACL)) the message matching characteristic in, matching relationship, condition and query statement have been comprised among the ACL, have only when consistent with the message matching characteristic that is provided with among the ACL, message could pass through, and therefore ACL message matching characteristic is set to consistent with the feature of multicast protocol message.Setting up procedure mainly comprises two steps: one, the message characteristic with multicast protocol passes to ACL, and for example the message characteristic of IGMP agreement is: IGMP message protocol position 2, and purpose MAC (medium access control) address all starts with 01005E; Message coupling action among the ACL is set, if the message characteristic promptly on the disabled ports Inbound satisfies ACL message matched rule, then update notifications module 2002 is upgraded the multicast forwarding entrys, and the described message of notification interface module 2001 transmission; If the message characteristic on the disabled ports Inbound does not satisfy ACL message matched rule, then do not do response.The Inbound of disabled ports is the direction that disabled ports receives message.On the outgoing direction of disabled ports, promptly disabled ports sends the direction of message, then is not subjected to the control of ACL.When receiving message, at first according to the message characteristic of described message, message that has received and the ACL message matching characteristic of presetting are mated, described message characteristic can comprise IGMP message protocol position 2, and target MAC (Media Access Control) address, if the message characteristic of the described message that has received is consistent with default message matching characteristic coupling, determine that then the described message that has received is the multicast inquiry message, multicast joins message or the multicast leave message, update notifications module 2002 is upgraded the multicast forwarding entry, and notification interface module 2001 is transmitted the described message that has received.Every uplink port that the multicast inquiry message is passed through all is multicast routed ports.If have certain node transmission multicast in the multicast information receive direction network to join message, then transmit this multicast to the multicast routed port of other node and join message, all to set up and to safeguard the multicast forwarding clauses and subclauses on each node in network by this node.If disabled ports is a uplink port, after then the multicast inquiry message passed through disabled ports and obtains processing, this disabled ports promptly can be described as multicast path by port.Receive that first multicast of certain multicast group joins message or during last multicast leave message, need transmit this message when each network node, promptly broadcast the group membership variation has taken place to the up direction group of notifications to all multicast routed ports.
Check that module 2004 is used to judge whether message can pass through disabled ports.When disabled ports receives message, whether the message characteristic of checking the message that module 2004 inspections are received is consistent with the message matching characteristic among the ACL that presets, when the message characteristic of the message of determining to be received is consistent with the message matching characteristic among the ACL that presets, the message of determining to be received is handled this message thereby mate action according to pre-configured acl rule message for upgrading message.For example, if IGMP protocol massages, then whether the protocol number of this message is 2, whether target MAC (Media Access Control) address is with the 01005E beginning etc., if check that module 2004 is judged the message characteristic of the message that has received and the message characteristic among the ACL is complementary, determine that then the described message that has received is a multicast inquiry message or multicast joins message or the multicast leave message, allow this message to pass through disabled ports, promptly can update notifications module 2002 upgrade the multicast forwarding entry, and notification interface module 2001 is transmitted the described message that has received according to the pairing multicast mac address in the multicast group IP address of this message.Message coupling action among the described ACL can be, when the message characteristic of the message that has received is consistent with the acl rule message characteristic, update notifications module 2002 is upgraded the multicast forwarding entry, and notification interface module 2001 is transmitted the described message that has received, when when the message characteristic of the message that has received and the message characteristic among the ACL are inconsistent, do not do response.When needs send the multicast inquiry message or multicast joins message or during the multicast leave message from disabled ports, check module 2004 inspection respective identification positions, if the respective identification position is " 1 ", then allow message to pass through, message is sent, if the respective identification position is " 0 ", forbid that then this message passes through disabled ports.
Handover module 2005 is used for when primary link breaks down, and notification interface module 2001 is changed into forwarding state with the state of disabled ports by disabled status, thereby the business transmission is switched to redundant link.
Introduce data transmission method below by flow process.
Referring to Fig. 4, the main method flow process of upgrading the multicast forwarding entry in the embodiment of the invention is as follows:
Step 401: send or receive the renewal message respectively by primary link and redundant link;
Step 402: the multicast forwarding entry is upgraded in the multicast media access control MAC address according to multicast group Internet protocol IP address correspondence in the described message.
Referring to Fig. 5, the embodiment of the invention is the detailed method flow process of receiving group query message:
Step 501: on redundant link, open disabled ports.Open disabled ports, be meant and on the node at disabled ports place, open multicast inquiry message, multicast joins message and the multicast leave message is passed through this disabled ports function.
Step 502: receiving group query message.Wherein, be the port receiving group query message of disabled ports and all the other operate as normal.
Step 503: whether the message characteristic of judging the multicast inquiry message is consistent with ACL message matching characteristic.When judged result when being, continue step 504, otherwise process ends.
Step 504: forwarding multicasting query message.
Step 505: the multicast in the host node transmission cycle joins message or the multicast leave message.
Referring to Fig. 6, the embodiment of the invention is a receiving group when joining message, and upgrades the detailed method flow process of multicast forwarding entry:
Step 601: receive message.
Step 602: judge whether the message that has received is that multicast joins message.When judged result when being, continue step 603, otherwise process ends.
Perhaps this step also can be judge whether the message that has received is the multicast inquiry message, multicast joins message or the multicast leave message in a kind of.Whether the message characteristic of checking the message that module 2004 judgements have received is consistent with the message matching characteristic among the ACL.For example, if the IGMP protocol massages, then whether the protocol number of this message is 2, and whether target MAC (Media Access Control) address is with the 01005E beginning etc.If the message characteristic of the message that has received is consistent with the message matching characteristic among the ACL.Determine that then the message received is that multicast joins message, determine perhaps that the message that has received is the multicast inquiry message, multicast joins message or the multicast leave message in a kind of.
Step 603: join message according to this multicast and to upgrade the multicast forwarding entry.
Inquire about in the port set of multicast forwarding clauses and subclauses of described multicast group address correspondence whether the port numbers of receiving described multicast inquiry message is arranged, receive the port numbers of multicast inquiry message if no, then add this in the port set of the multicast forwarding clauses and subclauses of described multicast group address correspondence; At this moment, multicast packet is to transmit in primary link, because of disabled ports can only make multicast inquiry message, multicast join message and the multicast leave message is passed through, and data is passed through.
Step 604: this multicast joined message transmit.
Referring to Fig. 7, the embodiment of the invention is when sending the multicast leave message, upgrades the detailed method flow process of multicast forwarding entry:
Step 701: judge whether message to be sent is the multicast leave message.When judged result when being, continue step 702, otherwise process ends.
Perhaps this step also can be judge whether message to be sent is the multicast inquiry message, multicast joins message or the multicast leave message in a kind of.Inspection module 2004 judges whether the message characteristic of message to be sent is consistent with default message matching characteristic, and this default message matching characteristic can be to be provided with by software.For example, if the IGMP protocol massages, then whether the protocol number of this message is 2, and whether target MAC (Media Access Control) address is with 01 00 5E beginning etc.If the message characteristic of message to be sent is consistent with default message matching characteristic, determine that then message to be sent is the multicast leave message, determine perhaps that message to be sent is the multicast inquiry message, multicast joins message or the multicast leave message in a kind of.
Step 702: whether the state of judging the respective identification position is the state that allows the multicast leave message to pass through.When judged result when being, continue step 703, otherwise process ends.
The embodiment of the invention is to join message and corresponding respectively three the sign positions of multicast leave message are example with multicast inquiry message, multicast, also can the multicast inquiry message, multicast joins message and the common corresponding sign position of multicast leave message, perhaps can the multicast inquiry message, multicast joins message and the multicast leave message in the corresponding sign position of any two kinds of messages, the corresponding sign position of another kind of message.
Step 703: upgrade the multicast forwarding entry according to this multicast leave message.
After receiving the multicast leave message, can be to descending transmission group-specific query message (at IGMPv2 (Internet group management protocol of the multicast group version 2) user) or particular source group polling message (at IGMPv3 (Internet group management protocol of the multicast group version 3) user), be used for inquiring about and whether also have the user in the multicast group of the multicast group IP address correspondence in the multicast leave message, if do not receive response to this group-specific query message or particular source group polling message, think that the user leaves, then inquire about in the port set of multicast forwarding clauses and subclauses of described multicast group address correspondence whether the port numbers of carrying in the described multicast leave message is arranged, if have, the port numbers of in this multicast leave message of port set deletion of the multicast forwarding clauses and subclauses of described multicast group address correspondence, carrying then, delete after this port numbers, if the sets of ports of the multicast forwarding clauses and subclauses of described multicast group address correspondence is combined into sky, then delete the multicast forwarding clauses and subclauses of this multicast group address correspondence.
Step 704: this multicast leave message is transmitted to the multicast routed port.
When primary link breaks down, need the business of primary link is switched in the redundant link.Referring to Fig. 8, the embodiment of the invention is upgraded the detailed method flow process of multicast forwarding entry for when primary link breaks down:
Step 801: know that primary link breaks down.
Step 802: transfer the state of the disabled ports in the redundant link to forwarding state.After the state with disabled ports transferred forwarding state to, this disabled ports promptly became the port of normal process business, can receive and dispatch message and transmission data.
Step 803: the business of primary link is switched in the redundant link.
Step 804: according to the multicast forwarding clauses and subclauses transmission data of having set up in the redundant link.
Because when the primary link normal transmission, on disabled ports, carried out relative set, multicast inquiry message, multicast are joined message and multicast receives message and can pass through disabled ports, then redundant link and primary link have been realized the renewal to the multicast forwarding clauses and subclauses simultaneously, when primary link breaks down, redundant link can directly transmit, and need not to rebulid again the multicast forwarding clauses and subclauses, saved the time of switching, data transmission procedure is carried out continuously, oversize transmission stagnation behavior can not occur.
The embodiment of the invention sends or receives the message that is used to report multicast user's situation respectively by primary link and redundant link; The multicast forwarding entry is upgraded in multicast media access control MAC address according to the multicast group IP address correspondence in the described message.Thereby when breaking down, realized primary link the timely transmission of multicast packet.Because of when the primary link operate as normal, having opened the disabled ports on the redundant link, this port can conventional maintenance multicast forwarding clauses and subclauses, when primary link breaks down, redundant link carries out transfer of data after needn't rebuliding the multicast forwarding clauses and subclauses by association message more again, save the time that rebulids the multicast forwarding clauses and subclauses, made multicast service obtain fast quick-recovery, reduced the sluggishness of system, make the phenomenon that can not occur the long-time cutout of data in the network, improve network quality.Simultaneously, only be provided with on disabled ports and make the function that multicast inquiry message, multicast join message and the multicast leave message is passed through, and can not make disabled ports transmission data, data can't be passed through disabled ports, avoid the waste of bandwidth.And, on disabled ports, open the function of passing through of multicast inquiry message, make the uplink port of network node can become the dynamic multicast routed port, avoided static configuration multicast routed port, have higher flexibility, reduced the complicated operation degree and the operation expense of network.Method in the embodiment of the invention and device all are suitable for IGMP or MLD.In addition, the embodiment of the invention only needs to be configured on the network node at disabled ports place, and is easy to operation.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computer or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. a method of upgrading the multicast forwarding entry is characterized in that, may further comprise the steps:
Send or receive the renewal message respectively by primary link and redundant link;
The multicast forwarding entry is upgraded in multicast media access control MAC address according to the multicast group Internet protocol IP address correspondence in the described message.
2. the method for claim 1 is characterized in that, upgrade message and comprise that multicast joins message and the multicast leave message, or multicast joins message, or the multicast leave message.
3. the method for claim 1 is characterized in that, sends or receives the step of upgrading message respectively by redundant link and comprise: send or receive the renewal message respectively by the disabled ports on the redundant link.
4. the method for claim 1 is characterized in that, send the renewal message respectively by primary link and redundant link before, also comprise step: the state that identifies the position is set to allow to upgrade the state that message passes through; When the state of sign position during, judge whether message to be sent is to upgrade message for the state that allows to upgrade message and pass through;
Sending the step of upgrading message respectively by primary link and redundant link comprises: when judging message to be sent for the renewal message, send the renewal message respectively by primary link and redundant link.
5. the method for claim 1, it is characterized in that, the step of upgrading the multicast forwarding entry according to the multicast mac address in the described message comprises: the multicast mac address according to the multicast group IP address correspondence in the described renewal message, upgrade the multicast forwarding clauses and subclauses about primary link and redundant link respectively.
6. the method for claim 1 is characterized in that, receive the renewal message respectively by primary link and redundant link before, also comprise step: the message matching characteristic in the access control list ACL is set to consistent with the message characteristic that upgrades message;
Receive the renewal message respectively by primary link and redundant link after, also comprise step: whether the message characteristic of judging the message of receiving is consistent with the message matching characteristic among the ACL; When judged result when being, the message of determining to need to receive is for upgrading message;
When definite message that needs to receive is when upgrading message, according to the multicast mac address renewal multicast forwarding entry of the multicast group IP address correspondence in the described message.
7. the method for claim 1 is characterized in that, also comprises step:
When primary link breaks down, the business of primary link is switched to redundant link;
Carry out transfer of data according to the multicast forwarding clauses and subclauses of having set up on the redundant link.
8. a device that upgrades the multicast forwarding entry is characterized in that, comprising:
Interface module is used for sending or receive the renewal message respectively by primary link and redundant link;
Update module is used for the multicast media access control MAC address renewal multicast forwarding entry according to the multicast group IP address correspondence of described message.
9. device as claimed in claim 8 is characterized in that, also comprises: configuration module, and the state that is used for the sign position is set to allow to upgrade the state that message passes through;
Also comprise: check module, be used for judging when the state of sign position during whether message to be sent is the renewal message for the state that allows to upgrade message and pass through;
Described interface module also is used for sending the renewal message respectively by primary link and redundant link when judging message to be sent for the renewal message.
10. device as claimed in claim 8 is characterized in that, described update module also is used for the multicast mac address according to the multicast group IP address correspondence of described renewal message, upgrades the multicast forwarding clauses and subclauses about primary link and redundant link respectively.
11. device as claimed in claim 8 is characterized in that, also comprises: configuration module, the message matching characteristic that is used for ACL is set to consistent with the message characteristic that upgrades message;
Also comprise: check module to be used for judging whether the message characteristic of the message of receiving consistent with the message matching characteristic of ACL, when judged result when being, determine that the message that needs to receive is the renewal message;
Described update module also is used for when definite message that need receive is the renewal message, according to the multicast mac address renewal multicast forwarding entry of the multicast group IP address correspondence in the described message.
12. device as claimed in claim 8 is characterized in that, also comprises: handover module, be used for when primary link breaks down, the business of primary link is switched to redundant link;
Described interface module also is used for carrying out transfer of data according to the multicast forwarding clauses and subclauses of having set up on the redundant link.
CN2010105543010A 2010-11-22 2010-11-22 Method and device for updating multicast forwarding entries Pending CN101997724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105543010A CN101997724A (en) 2010-11-22 2010-11-22 Method and device for updating multicast forwarding entries

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105543010A CN101997724A (en) 2010-11-22 2010-11-22 Method and device for updating multicast forwarding entries

Publications (1)

Publication Number Publication Date
CN101997724A true CN101997724A (en) 2011-03-30

Family

ID=43787358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105543010A Pending CN101997724A (en) 2010-11-22 2010-11-22 Method and device for updating multicast forwarding entries

Country Status (1)

Country Link
CN (1) CN101997724A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812268A (en) * 2016-04-15 2016-07-27 华为技术有限公司 Rapid multicast convergence method and forwarding device
CN110191051A (en) * 2019-06-05 2019-08-30 北京东土军悦科技有限公司 Layer 2 Multicast network convergence method, apparatus, equipment and storage medium
CN111372144A (en) * 2020-03-23 2020-07-03 北京小鸟科技股份有限公司 Link backup system and method for multicast video code stream
CN117041136A (en) * 2023-10-10 2023-11-10 北京国科天迅科技股份有限公司 Multicast management method, system, device, switch and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101009692A (en) * 2006-01-25 2007-08-01 中兴通讯股份有限公司 Hardware address parsing method and communication processing device, and message processing method
CN101741674A (en) * 2009-12-22 2010-06-16 上海自动化仪表股份有限公司 Method for realizing redundant ring and network recovery in Ethernet
CN101827025A (en) * 2010-04-02 2010-09-08 华为技术有限公司 Communication network multicast protection method, system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009692A (en) * 2006-01-25 2007-08-01 中兴通讯股份有限公司 Hardware address parsing method and communication processing device, and message processing method
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101741674A (en) * 2009-12-22 2010-06-16 上海自动化仪表股份有限公司 Method for realizing redundant ring and network recovery in Ethernet
CN101827025A (en) * 2010-04-02 2010-09-08 华为技术有限公司 Communication network multicast protection method, system and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘茜: "IP组播技术在FTTH/EPON系统中的应用于实现", 《万方平台-学位论文》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812268A (en) * 2016-04-15 2016-07-27 华为技术有限公司 Rapid multicast convergence method and forwarding device
CN105812268B (en) * 2016-04-15 2019-05-03 华为技术有限公司 A kind of method and forwarding device of rapidly converging multicast
CN110191051A (en) * 2019-06-05 2019-08-30 北京东土军悦科技有限公司 Layer 2 Multicast network convergence method, apparatus, equipment and storage medium
CN111372144A (en) * 2020-03-23 2020-07-03 北京小鸟科技股份有限公司 Link backup system and method for multicast video code stream
CN117041136A (en) * 2023-10-10 2023-11-10 北京国科天迅科技股份有限公司 Multicast management method, system, device, switch and storage medium
CN117041136B (en) * 2023-10-10 2024-01-23 北京国科天迅科技股份有限公司 Multicast management method, system, device, switch and storage medium

Similar Documents

Publication Publication Date Title
US8539088B2 (en) Session monitoring method, apparatus, and system based on multicast technologies
US9461841B2 (en) Communication system, communication method, node, and program for node
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
US7778266B2 (en) Switch and network fault recovery method
CN100417141C (en) Group broadcasting business realizing method
US20090213855A1 (en) Method and switch for implementing internet group management protocol snooping
CN103916275A (en) BFD detection device and method
US20100098071A1 (en) Method and network for forwarding packet of resilient packet ring
US20110158241A1 (en) Method and device for transmitting control message based on multi-ring ethernet
CN104980355A (en) Source controllable multicast data transmission method and system thereof under SDN Environment
JP2010263395A (en) Network relay device, and ring network
CN102801632A (en) Unified electoral method of PIM-SM (Protocol Independent Multicast-Sparse Mode) designated router and IGMP (Internet Group Management Protocol) querier
CN101141383A (en) Method, system and two-layered equipment of implementing two-layered multicast forwarding path rapid convergence
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN100488201C (en) Link backup method based on route
EP2472793A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
CN101997724A (en) Method and device for updating multicast forwarding entries
CN102026215A (en) M2M network monitoring method, device and system
CN108601055B (en) Method and system for deploying L3 VPN in L TE mobile backhaul network
CN102185776A (en) Method for rapid convergence of layer 2 multicast of Ethernet and Ethernet system
CN106533771A (en) Network device and control information transmission method
CN107547330B (en) Method and node equipment for transmitting service data
CN100542142C (en) Change the method and apparatus of three-layer network appliance Interface status

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

Application publication date: 20110330