CN110191051A - Layer 2 Multicast network convergence method, apparatus, equipment and storage medium - Google Patents
Layer 2 Multicast network convergence method, apparatus, equipment and storage medium Download PDFInfo
- Publication number
- CN110191051A CN110191051A CN201910487241.6A CN201910487241A CN110191051A CN 110191051 A CN110191051 A CN 110191051A CN 201910487241 A CN201910487241 A CN 201910487241A CN 110191051 A CN110191051 A CN 110191051A
- Authority
- CN
- China
- Prior art keywords
- message
- host
- multicast
- general polling
- network
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000004044 response Effects 0.000 claims abstract description 32
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 2
- 230000015654 memory Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 11
- 125000003367 polycyclic group Chemical group 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000002776 aggregation Effects 0.000 description 5
- 238000004220 aggregation Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- DWSYCUKCNSVBRA-UHFFFAOYSA-N 4-(5-methylsulfonyltetrazol-1-yl)phenol Chemical compound CS(=O)(=O)C1=NN=NN1C1=CC=C(C=C1)O DWSYCUKCNSVBRA-UHFFFAOYSA-N 0.000 description 3
- 101710167643 Serine/threonine protein phosphatase PstP Proteins 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000013024 troubleshooting Methods 0.000 description 3
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000452 restraining effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/028—Dynamic adaptation of the update intervals, e.g. event-triggered updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of Layer 2 Multicast network convergence method, apparatus, equipment and storage mediums.The Layer 2 Multicast network include require to report his or her problems within a prescribed time and in a prescribed place access destination network device and the host that is connect with the destination network device by network loop, the host is multicast source host or program request person's host, the described method includes: after destination network device detects failure message, before the arrival of original I GMP general polling message sending cycle, IGMP general polling message is sent to host, sends response message to trigger host;Destination network device updates the forwarding-table item of multicast packet according to the response message received.Technical solution provided in an embodiment of the present invention accelerates the generation and convergence rate of the multicast forwarding path in Layer 2 Multicast network, reduces host to the perceptibility of network link failure.
Description
Technical field
The present embodiments relate to technical field of multicast more particularly to a kind of Layer 2 Multicast network convergence method, apparatus, set
Standby and storage medium.
Background technique
With the development of communication technology, the data transmission frequencies between host are higher and higher, for improve data transfer effect
Rate, Layer 2 Multicast network come into being.
Existing Layer 2 Multicast network, usually using internet group management monitoring protocols (Internet Group
Management Protocol Snooping, IGMP-Snooping), by listening to the group sent between router and host
Protocol massages are broadcast, the forwarding-table item of multicast packet is established, the forwarding of multicast packet is managed and controlled according to the list item of foundation, are realized
Layer 2 Multicast.
In the prior art, when, there are when link failure, multicast packet can't be automatically brought to new in Layer 2 Multicast network
It is forwarded on multicast forwarding path, but when the sending cycle of IGMP general polling message arrives, it is sent out to program request person's host
IGMP general polling message is sent, and receives the response message of program request person's host, is established after new forwarding-table item, it could be new
Multicast data forwarding on forward-path, this causes the restraining multicast transmitting path speed in Layer 2 Multicast network slower, program request person
Host can obviously perceive network link failure.
Summary of the invention
The present invention provides a kind of Layer 2 Multicast network convergence method, apparatus, equipment and storage medium, to accelerate Layer 2 Multicast
The generation and convergence rate of multicast forwarding path in network reduce host to the perceptibility of network link failure.
In a first aspect, the embodiment of the invention provides a kind of Layer 2 Multicast network convergence method, the Layer 2 Multicast network
Destination network device including access of requiring to report his or her problems within a prescribed time and in a prescribed place and the host being connect with the destination network device by network loop, the master
Machine is multicast source host or program request person's host, which comprises
After the destination network device detects failure message, arrive in original I GMP general polling message sending cycle
Before, IGMP general polling message is sent to the host, sends response message to trigger the host;
The destination network device updates the forwarding-table item of multicast packet according to the response message received.
Optionally, the failure message includes Bridge Protocol Data Unit BPDU message;
Correspondingly, it after the destination network device detects failure message, is sent in original I GMP general polling message
Before period arrives, IGMP general polling message is sent to the host, comprising:
After destination network device detects BPDU message, it is arrived in original I GMP general polling message sending cycle
Before, IGMP general polling message is sent to the host.
Optionally, the failure message includes link failure Link-Down message;
Correspondingly, it after the destination network device detects failure message, is sent in original I GMP general polling message
Before period arrives, IGMP general polling message is sent to the host, comprising:
After destination network device detects Link-Down message, arrived in original I GMP general polling message sending cycle
Before coming, IGMP general polling message is sent to the host.
Optionally, it after the destination network device detects failure message, is sent in original I GMP general polling message
Before period arrives, IGMP general polling message is sent to the host, comprising:
After the destination network device detects failure message, new transmission week is set for IGMP general polling message
Phase, and when new sending cycle arrives, IGMP general polling message is sent to the host;
Wherein, the new sending cycle is less than the original I GMP general polling message sending cycle.
Optionally, it when new sending cycle arrives, after sending IGMP general polling message to the host, also wraps
It includes:
The sending cycle of the IGMP general polling message is reset to the original I GMP and led to by the destination network device
With query message sending cycle.
Second aspect, the embodiment of the invention also provides a kind of Layer 2 Multicast network convergence device, the Layer 2 Multicast net
Network include require to report his or her problems within a prescribed time and in a prescribed place access destination network device and the host that is connect with the destination network device by network loop, it is described
Host is multicast source host or program request person's host, described device include:
Query message sending module sends week in original I GMP general polling message after detecting failure message
Before phase arrives, IGMP general polling message is sent to the host, sends response message to trigger the host;
Forwarding-table item update module, for updating the forwarding-table item of multicast packet according to the response message received.
Optionally, the failure message includes Bridge Protocol Data Unit BPDU message;
Correspondingly, the query message sending module, after detecting BPDU message specifically for destination network device,
Before original I GMP general polling message sending cycle arrives, IGMP general polling message is sent to the host.
Optionally, the failure message includes link failure Link-Down message;
Correspondingly, the query message sending module, specifically for destination network device detect Link-Down message it
Afterwards, before the arrival of original I GMP general polling message sending cycle, IGMP general polling message is sent to the host.
The third aspect, the embodiment of the invention also provides a kind of network equipment, the network equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the Layer 2 Multicast network convergence method provided such as any embodiment of that present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the Layer 2 Multicast network convergence method provided such as any embodiment of that present invention when the program is executed by processor.
Method provided in an embodiment of the present invention is applied to destination network device and and target network including access of requiring to report his or her problems within a prescribed time and in a prescribed place
In the Layer 2 Multicast network for the host that equipment is connected by network loop, destination network device be able to detect that failure message it
Afterwards, before the arrival of original I GMP general polling message sending cycle, transmission IGMP general polling message to host, it is,
Link failure is perceived by failure message, and then triggers and sends IGMP general polling message, rather than until original I GMP is logical
When being arrived with query message sending cycle, IGMP general polling message is just sent, so that the sending time point of query message be mentioned
Before, and then update the forwarding-table item of multicast packet according to the response message of host in advance, fast implement network convergence, reduce
Perceptibility of the host to network link failure.
Detailed description of the invention
Fig. 1 a is the structural schematic diagram of one of embodiment of the present invention one Layer 2 Multicast network;
Fig. 1 b is the flow chart of one of embodiment of the present invention one Layer 2 Multicast network convergence method;
Fig. 2 is the flow chart of one of embodiment of the present invention two Layer 2 Multicast network convergence method;
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three Layer 2 Multicast network convergence device;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
The present embodiment provides a kind of Layer 2 Multicast network convergence method, this method is applicable to supervise using internet group management
It listens in the Layer 2 Multicast network of agreement, when link failure, in realization network the case where the fast convergence of multicast forwarding path.Two
Layer multicast network include require to report his or her problems within a prescribed time and in a prescribed place access destination network device and the host that is connect with destination network device by network loop,
The host is multicast source host or program request person's host.Access of requiring to report his or her problems within a prescribed time and in a prescribed place refers to that two central ports of the network equipment are linked into difference
Aggregation node.Require to report his or her problems within a prescribed time and in a prescribed place in Layer 2 Multicast network access the network equipment in embodiments of the present invention be known as destination network device.
Destination network device is provided with the first central port and the second central port, and different by the first central port and the access of the second central port
Aggregation node.In addition, destination network device is additionally provided with third port, third port can connect with the network equipment or terminal
It connects.In Layer 2 Multicast network, destination network device is connect at least two other network equipments (aggregation node), network consisting
Loop, host are connected to destination network device by network loop.
In the present embodiment, host can be multicast source host either program request person's host, multicast source host and refer to transmission group
The host of multicast data, program request person's host refer to the host for obtaining multicast packet.Destination network device, which refers to, opens the Internet group pipe
It manages monitoring protocols and inquires IGMP-Snooping Query function, the network equipment of IGMP general polling message can be sent, converge
Node, which refers to, is not turned on IGMP-Snooping Query function, and the other networks that cannot send IGMP general polling message are set
It is standby.It only include a destination network device, including at least two other network equipments in Layer 2 Multicast network.
The network equipment in the present embodiment is all Layer 2 switch, is worked in data link layer, can be according to media interviews
Control address (Media Access Control, MAC) is forwarded multicast packet.Also, the Layer 2 Multicast network operation
Multicast protocol is IGMP-Snooping, i.e., all-network equipment has been switched on IGMP-Snooping function, for managing and controlling
Multicast group processed.Destination network device opens internet group management monitoring protocols and inquires IGMP-Snooping Query function, can
IGMP general polling message is sent, to obtain the information that host was added or exited multicast group, and then realizes network convergence;And it is other
The network equipment is not turned on IGMP-Snooping Query function, cannot send IGMP general polling message.
Fig. 1 a is the structural schematic diagram of one of embodiment of the present invention Layer 2 Multicast network, as shown in Figure 1a, two layers of group
The network equipment that network includes three annular connections is broadcast, multicast source host is connect with network equipment A (i.e. destination network device), point
The person's of broadcasting host 1 is connect with network equipment C (i.e. other network equipments).Net is accessed in the port 1 (i.e. the first central port) of network equipment A
The port 2 (i.e. the second central port) of network equipment C, network equipment A are linked into network equipment B, it is seen then that network equipment A requires to report his or her problems within a prescribed time and in a prescribed place access
Layer 2 Multicast network, then network equipment A is destination network device.Network equipment C and network equipment B is that network equipment A connects respectively
Two aggregation nodes entered, the third port of network equipment A can connect multicast source host, also can connect except aggregation node it
The outer network equipment.As can be seen that being deposited between multicast source host and program request person's host 1 from the Layer 2 Multicast network shown in Fig. 1 a
In two conversion links, respectively multicast source host-network equipment A-network equipment C-program request person's host 1, multicast source master
Machine-network equipment A-network equipment B-network equipment C-program request person's host 1.Specifically, when host is program request person's host
1, multicast source host is directly connected to network equipment A, when data flow flows to program request person's host 1 from multicast source host, multicast source master
Conversion link between machine and program request person's host 1 is respectively multicast source host-> network equipment A-> network equipment C-> program request
Person's host 1, multicast source host-> network equipment A-> network equipment B-> network equipment C-> program request person host 1.When host is
Multicast source host, program request person's host 1 are directly connected to network equipment A, and data flow flows to program request person's host 1 from multicast source host
When, the conversion link between multicast source host and program request person's host 1 is respectively that multicast source host-> network equipment C-> network is set
Standby A-> program request person's host 1, multicast source host-> network equipment C-> network equipment B-> network equipment A-> program request person host
1。
Fig. 1 a also shows another program request person's host 2, is connected to a network equipment (i.e. network equipment with multicast source host
When A), to guarantee link failure, network equipment A will not be broadcasted multicast packet to the whole network.
Method provided in this embodiment can be executed by Layer 2 Multicast network convergence device, which can be by software
And/or the mode of hardware is realized, and generally can integrate in the network device, specially above-mentioned access and the unlatching IGMP- of requiring to report his or her problems within a prescribed time and in a prescribed place
In the destination network device of Snooping Query function, such as the destination network device in Fig. 1 a.Specifically, with reference to Fig. 1 b,
This method may include steps of:
After step 110, destination network device detect failure message, in original I GMP general polling message sending cycle
Before arrival, IGMP general polling message is sent to host, sends response message to trigger host.
In the present embodiment, Layer 2 Multicast network uses the network protection agreement of anti-loops generation.When the loop in network
When there is link failure, such as cable fault or port failure between the network equipment, the network equipment can detect link event
Barrier, and failure message is sent according to network protection agreement, to notify other network equipments to enable reserve link, realize that network is received
It holds back, guarantees the normal forwarding of multicast packet.
In a kind of situation, destination network device detects link failure, generates failure message, and failure message is sent to
Other network equipments;In another case, other network equipments detect link failure, failure message is generated, and by failure report
Text is directly or indirectly sent to destination network device, and then destination network device detects failure message.Whether which kind of situation
Under, after destination network device detects failure message, before the arrival of original I GMP general polling message sending cycle, send
IGMP general polling message is to host, rather than when original I GMP general polling message sending cycle arrives, just transmission
IGMP general polling message.
In conjunction with Fig. 1 a, by taking host is program request person's host 1 as an example, after network equipment A detects failure message, in original I GMP
Before general polling message sending cycle arrives, IGMP general polling message, touching are sent to program request person's host 1 by normal link
It sends out program request person's host 1 and issues igmp-join message to network equipment A.
Step 120, destination network device update the forwarding-table item of multicast packet according to the response message received.
After destination network device sends IGMP general polling message to program request person's host 1, receives program request person's host 1 and send
Response message the forwarding-table item of multicast packet is updated, according in new forwarding-table item and according to the response message received
Forward-path multicast packet is forwarded, realize network convergence.Wherein, response message (i.e. igmp-join message) is packet
The IGMP report message of at least one group record is included, each group of record includes the multicast group address and group at 1 place of program request person's host
Broadcast the map listing of source host address.
Method provided in an embodiment of the present invention is applied to destination network device and and target network including access of requiring to report his or her problems within a prescribed time and in a prescribed place
In the Layer 2 Multicast network for the host that equipment is connected by network loop, destination network device be able to detect that failure message it
Afterwards, before the arrival of original I GMP general polling message sending cycle, transmission IGMP general polling message to host, it is,
Link failure is perceived by failure message, and then triggers and sends IGMP general polling message, rather than until original I GMP is logical
When being arrived with query message sending cycle, IGMP general polling message is just sent, so that the sending time point of query message be mentioned
Before, and then update the forwarding-table item of multicast packet according to the response message of host in advance, fast implement network convergence, reduce
Perceptibility of the host to network link failure.
Embodiment two
Fig. 2 is a kind of flow chart of Layer 2 Multicast network convergence method provided by Embodiment 2 of the present invention.The present embodiment is logical
Two kinds of specific network protection agreements are crossed, the transmission process of IGMP general polling message is described in detail.
In an optional embodiment, Layer 2 Multicast network uses Spanning-Tree Protocol.Spanning-Tree Protocol may include: to generate
Tree protocol (Spanning Tree Protocol, STP), Rapid Spanning Tree Protocol (Rapid Spanning Tree
Protocol, RSTP) and Multiple Spanning Tree Protocol (Multiple Spanning Tree Protocol, MSTP), wherein
RSTP and MSTP is the new Spanning-Tree Protocol based on STP, and compared with STP, RSTP and MSTP are when network structure changes
Network can be restrained faster.Correspondingly, failure message includes BPDU message;The BPDU message includes topological Notification of Changes TCN
Message, topology change confirmation TCA message or topology change TC message.
In another embodiment, Layer 2 Multicast network uses the polycyclic protection handoff protocol of Ethernet.Ethernet is polycyclic
Protection handoff protocol may include: the polycyclic protection technique of Ethernet (Ethernet Ring Protection Switching,
ERPS), rapid ring protection protocol (Rapid Ring Protection Protocol, RRPP) and resilient packet ring
(Resilient Packet Ring, RPR) agreement.Correspondingly, failure message includes link failure (Link-Down) message.
In conjunction with Fig. 2, by taking host is program request person's host as an example, method provided in this embodiment the following steps are included:
Step 200 starts.Continue to execute step 210 or step 220.Wherein, step 210 is adapted to Layer 2 Multicast net
Network uses the case where Spanning-Tree Protocol, and step 220 is suitable for Layer 2 Multicast network using the polycyclic protection handoff protocol of Ethernet
Situation.
After step 210, destination network device detect BPDU message, in original I GMP general polling message sending cycle
Before arrival, IGMP general polling message is sent to program request person's host, sends response message to trigger program request person's host.After
It is continuous to execute step 230.
Specifically, BPDU message includes TCN message, TCA message or TC message, and TCN message is that the network equipment is detecting
What the network equipment of the upstream link failure Shi Xiangqi was sent;Wherein, detect that the network equipment of link failure can be other nets
Network equipment, is also possible to destination network device, when the network equipment detects link failure, generate TCN message, and be sent to
The network equipment in the direction of the connected network equipment of multicast source host, that is, the network equipment of its upstream.TCA message is that network is set
For when detecting TCN message, sent to the sender of TCN message;Correspondingly, detect that the network equipment of TCN message can
To be other network equipments, it is also possible to destination network device.TC message is that the network equipment being connected with multicast source host is being examined
When measuring TCN message, sent to the whole network.In the present embodiment, after destination network device detects any BPDU message, all
IGMP general polling message can be sent to host before the arrival of original I GMP general polling message sending cycle.
After step 220, destination network device detect Link-Down message, sent out in original I GMP general polling message
Before sending the period to arrive, IGMP general polling message is sent to program request person's host, sends response to trigger program request person's host
Message.
Wherein, it when Link-Down message is that the network equipment detects port shutdown, is sent to the network equipment of its upstream
's.It detects that the network equipment of port shutdown can be other network equipments, is also possible to destination network device, works as the network equipment
When detecting port shutdown, Link-Down message is generated, and be sent to the direction for the network equipment being connected with multicast source host
The network equipment, that is, the network equipment of its upstream.In the present embodiment, after destination network device detects Link-Down message,
Before the arrival of original I GMP general polling message sending cycle, IGMP general polling message is sent to host.
Step 230, destination network device update the forwarding-table item of multicast packet according to the response message received.
Below with reference to Fig. 1 a, it is described in detail under above two network protection agreement, the process of Layer 2 Multicast network convergence.
In Layer 2 Multicast netinit, the network parameter of Layer 2 Multicast network is configured first.Specifically, by 1 port,
2 ports, 3 ports and 6 ports are set as forwarding state, can forward any data, set obstruction shape for 4 ports and 5 ports
State is only capable of sending control message, such as BPDU message and Link-Down message, is unable to multicast data forwarding.Layer 2 Multicast network
The network protection agreement of operation can be set to Spanning-Tree Protocol or the polycyclic protection handoff protocol of Ethernet.
Then, each network equipment establishes forwarding-table item.Specifically, program request person's host 1 sends IGMP report to network equipment C
Message, with receiving multicast data.Received IGMP report message is forwarded to the 1 of network equipment A by 6 ports by network equipment C
Port.Network equipment C establishes forwarding-table item according to IGMP report message, and forwarding-table item instruction network equipment C is connect by 6 ports
Receive multicast packet;Meanwhile network equipment A establishes forwarding-table item according to IGMP report message, which indicates network equipment A
Pass through 1 port multicast data forwarding;Also, network equipment B establishes forwarding-table item according to IGMP report message, that is, establishes and pass through
The alternate communication link between multicast source host and program request person's host 1 is realized in 5 ports, and then realizes multicast source host and program request person
Host 1 sends data by multicast.
Then, it is assumed that Layer 2 Multicast network uses Spanning-Tree Protocol, then the chain between network equipment A and network equipment C
After road is broken down, Spanning-Tree Protocol recalculates forward-path, and when network equipment C detects link failure, TCN message is sent out
It send after agreeing to topology change to the network equipment A being connected with multicast source host, network equipment A, TC message is sent to the whole network
The network equipment.Since network equipment A is Root Bridge, and open IGMP-Snooping Query function, therefore, network equipment A
TC message and IGMP general polling message are sent to the whole network simultaneously, after network equipment B receives IGMP general polling message, by it
It is forwarded to network equipment C, network equipment C updates the routed port of itself according to IGMP general polling message, while IGMP being led to
It is transmitted to program request person's host 1 with query message, sends response message to trigger program request person's host 1.
Assuming that Layer 2 Multicast network uses the polycyclic protection handoff protocol of Ethernet, then network equipment A and network equipment C it
Between link break down after, the polycyclic protection handoff protocol of Ethernet recalculates forward-path, and network equipment C detects link
When failure, Link-Down message is sent to network equipment A, network equipment A leads to Common-Flush-FDB message and IGMP
It is sent to the whole network simultaneously with query message, network equipment C updates the routing of itself according to the IGMP general polling message received
Port, while IGMP general polling message is transmitted to program request person's host 1, response message is sent to trigger program request person's host 1.
Finally, destination network device receives the response message that program request person's host 1 is sent, and according to the response report received
Text, updating forwarding-table item to be forwarded according to the new forward-path in new forwarding-table item to multicast packet realizes multicast
The fast convergence of forward-path, has been completed at the same time business convergence.
In the present embodiment, Layer 2 Multicast network can use Spanning-Tree Protocol or the polycyclic protection handoff protocol of Ethernet,
To prevent loops generation, regardless of the method that can provide through this embodiment is realized that IGMP is general and is looked into using which kind of agreement
The transmission in advance for asking message enables the present embodiment to be suitable for using Spanning-Tree Protocol or Ethernet polycyclic protection switching association
The Layer 2 Multicast network of view, it is applied widely.
It is IGMP after destination network device detects failure message in each optional embodiment of above-described embodiment
New sending cycle is arranged in general polling message, and when new sending cycle arrives, sends IGMP general polling message to point
The person's of broadcasting host;Wherein, new sending cycle is less than original I GMP general polling message sending cycle.
The present embodiment is there are two types of troubleshooting mode it can be selected that sending week in original I GMP general polling message to realize
Before phase arrives, IGMP general polling message is sent to program request person's host.The first troubleshooting mode, destination network device inspection
When measuring failure message, 0 is set by the new sending cycle of IGMP general polling message, i.e. destination network device is detecting
IGMP general polling message is sent when link failure at once, quickly to update forwarding-table item, keeps multicast forwarding environment restoration normal.
After sending IGMP general polling message in order to avoid destination network device, still according to the message sending cycle after setting 0, continue
IGMP general polling message is constantly sent, the forwarding of central processing unit (Central Processing Unit, CPU) is aggravated
Burden, then after sending IGMP general polling message, destination network device resets the sending cycle of IGMP general polling message
For original I GMP general polling message sending cycle.
Second of troubleshooting mode is IGMP general polling message after destination network device detects failure message
New sending cycle is set, new sending cycle is the numerical value for being less than original I GMP general polling message sending cycle greater than 0,
That is waiting one to be less than original I GMP general polling message sending cycle after destination network device detects link failure
Duration after retransmit IGMP general polling message, also, destination network device will also be determined according to new sending cycle later
When send IGMP general polling message, in network link failure, reduce the time for realizing network convergence.Certainly, in order to subtract
The forwarding burden of light CPU, destination network device, can also be by IGMP general polling report after sending IGMP general polling message
The sending cycle of text resets to the original I GMP general polling message sending cycle, to send out according to the longer originally transmitted period
Send query message.
Embodiment three
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three Layer 2 Multicast network convergence device.The present embodiment
It is applicable in the Layer 2 Multicast network using internet group management monitoring protocols, when link failure, realizes multicast in network
The case where fast convergence of forward-path.Wherein, Layer 2 Multicast network includes the require to report his or her problems within a prescribed time and in a prescribed place destination network device and and mesh of access
The host that the mark network equipment is connected by network loop, the host are multicast source host or program request person's host.
As shown in figure 3, the Layer 2 Multicast network convergence device is applied to provide the target of Layer 2 Multicast network convergence service
In the network equipment, which includes: query message sending module 310 and forwarding-table item update module 320;
Query message sending module 310 is sent after detecting failure message in original I GMP general polling message
Before period arrives, IGMP general polling message is sent to the host, sends response message to trigger the host;
Forwarding-table item update module 320 updates multicast packet for destination network device according to the response message received
Forwarding-table item.
Method provided in an embodiment of the present invention is applied to destination network device and and target network including access of requiring to report his or her problems within a prescribed time and in a prescribed place
In the Layer 2 Multicast network for the host that equipment is connected by network loop, destination network device be able to detect that failure message it
Afterwards, before the arrival of original I GMP general polling message sending cycle, transmission IGMP general polling message to host, it is,
Link failure is perceived by failure message, and then triggers and sends IGMP general polling message, rather than until original I GMP is logical
When being arrived with query message sending cycle, IGMP general polling message is just sent, so that the sending time point of query message be mentioned
Before, and then update the forwarding-table item of multicast packet according to the response message of host in advance, fast implement network convergence, reduce
Perceptibility of the host to network link failure.
Optionally, the failure message includes Bridge Protocol Data Unit BPDU message;
Correspondingly, query message sending module 310 can be specifically used for, after detecting BPDU message, in original I GMP
Before general polling message sending cycle arrives, IGMP general polling message is sent to the host.
Optionally, the failure message includes link failure Link-Down message;
Correspondingly, query message sending module 310 can be specifically used for, and detect Link- for destination network device
After Down message, before the arrival of original I GMP general polling message sending cycle, IGMP general polling message is sent to institute
State host.
Optionally, query message sending module 310 can be specifically used for, and the destination network device detects failure message
Later, new sending cycle is set for IGMP general polling message, and when new sending cycle arrives, sends that IGMP is general to be looked into
Message is ask to the host;
Wherein, new sending cycle is less than original I GMP general polling message sending cycle.
Optionally, query message sending module 310 is also used to, and when new sending cycle arrives, sends that IGMP is general to be looked into
After asking message to the host, the sending cycle of the IGMP general polling message is reset to institute by the destination network device
State original I GMP general polling message sending cycle.
Layer 2 Multicast network convergence device provided by the embodiment of the present invention can be performed any embodiment of that present invention and be provided
The Layer 2 Multicast network convergence method applied to equipment, have the corresponding functional module of execution method and beneficial effect.
Example IV
It is a kind of structural schematic diagram for network equipment that the embodiment of the present invention four provides referring to Fig. 4, Fig. 4, as shown in figure 4,
The equipment includes processor 410, memory 420, input unit 430 and output device 440;The quantity of processor 410 in equipment
It can be one or more, in Fig. 4 by taking a processor 410 as an example;Processor 410, memory 420, input dress in equipment
Setting 430 can be connected with output device 440 by bus or other modes, in Fig. 4 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, if the corresponding program instruction/module of Layer 2 Multicast network convergence method in the embodiment of the present invention is (for example, two
Query message sending module 310 and forwarding-table item update module 320 in layer converging multicast network device).Processor 410 passes through
Software program, instruction and the module being stored in memory 420 are run, thereby executing the various function application and number of equipment
According to processing, that is, realize above-mentioned Layer 2 Multicast network convergence method.
Processor 410 realizes a kind of Layer 2 Multicast network convergence method, and the Layer 2 Multicast network includes access of requiring to report his or her problems within a prescribed time and in a prescribed place
Destination network device and the host being connect with the destination network device by network loop, the host are multicast source host
Or program request person's host, which comprises
After the destination network device detects failure message, arrive in original I GMP general polling message sending cycle
Before, IGMP general polling message is sent to the host, sends response message to trigger the host;
The destination network device updates the forwarding-table item of multicast packet according to the response message received.
Memory 420 can mainly include storing program area and storage data area, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This
Outside, memory 420 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into one
Step includes the memory remotely located relative to processor 410, these remote memories can pass through network connection to equipment.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving the number or character information of input, and generate with the user setting of equipment with
And the related key signals input of function control.Output device 440 may include that display screen etc. shows equipment.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, is stored thereon with computer instruction, the meter
A kind of Layer 2 Multicast network convergence method is realized in the instruction of calculation machine when being executed by processor, the Layer 2 Multicast network includes requiring to report his or her problems within a prescribed time and in a prescribed place to connect
The destination network device entered and the host being connect with the destination network device by network loop, the host are multicast source
Host or program request person's host, which comprises
After the destination network device detects failure message, arrive in original I GMP general polling message sending cycle
Before, IGMP general polling message is sent to the host, sends response message to trigger the host;
The destination network device updates the forwarding-table item of multicast packet according to the response message received.
Certainly, a kind of computer readable storage medium provided by the embodiment of the present invention, computer instruction are executable not
It is limited to method operation as above, can also be performed in Layer 2 Multicast network convergence method provided by any embodiment of the invention
Relevant operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
The method that standby (can be personal computer, server or the network equipment etc.) executes each embodiment of the present invention.
It is worth noting that, in the embodiment of above-mentioned Layer 2 Multicast network convergence device, included each unit and mould
Block is only divided according to the functional logic, but is not limited to the above division, and is as long as corresponding functions can be realized
It can;In addition, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection model being not intended to restrict the invention
It encloses.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of Layer 2 Multicast network convergence method, which is characterized in that the Layer 2 Multicast network includes the target of access of requiring to report his or her problems within a prescribed time and in a prescribed place
The network equipment and the host being connect with the destination network device by network loop, the host be multicast source host or
Program request person's host, which comprises
After the destination network device detects failure message, it is arrived in original I GMP general polling message sending cycle
Before, IGMP general polling message is sent to the host, sends response message to trigger the host;
The destination network device updates the forwarding-table item of multicast packet according to the response message received.
2. the method according to claim 1, wherein the failure message includes Bridge Protocol Data Unit BPDU
Message;
Correspondingly, after the destination network device detects failure message, in original I GMP general polling message sending cycle
Before arrival, IGMP general polling message is sent to the host, comprising:
After destination network device detects BPDU message, before the arrival of original I GMP general polling message sending cycle, hair
Send IGMP general polling message to the host.
3. the method according to claim 1, wherein the failure message includes link failure Link-Down report
Text;
Correspondingly, after the destination network device detects failure message, in original I GMP general polling message sending cycle
Before arrival, IGMP general polling message is sent to the host, comprising:
After destination network device detects Link-Down message, it is arrived in original I GMP general polling message sending cycle
Before, IGMP general polling message is sent to the host.
4. method according to claim 1-3, which is characterized in that the destination network device detects failure report
After text, before the arrival of original I GMP general polling message sending cycle, transmission IGMP general polling message to the host,
Include:
After the destination network device detects failure message, new sending cycle is set for IGMP general polling message, and
When new sending cycle arrives, IGMP general polling message is sent to the host;
Wherein, the new sending cycle is less than the original I GMP general polling message sending cycle.
5. according to the method described in claim 4, it is characterized in that, when new sending cycle arrives, send that IGMP is general to be looked into
After inquiry message to the host, further includes:
The sending cycle of the IGMP general polling message is reset to that the original I GMP is general to be looked by the destination network device
Ask message sending cycle.
6. a kind of Layer 2 Multicast network convergence device, which is characterized in that the Layer 2 Multicast network includes the target of access of requiring to report his or her problems within a prescribed time and in a prescribed place
The network equipment and the host being connect with the destination network device by network loop, the host be multicast source host or
Program request person's host, described device include:
Query message sending module arrives after detecting failure message in original I GMP general polling message sending cycle
Before coming, IGMP general polling message is sent to the host, sends response message to trigger the host;
Forwarding-table item update module, for updating the forwarding-table item of multicast packet according to the response message received.
7. device according to claim 6, which is characterized in that the failure message includes Bridge Protocol Data Unit BPDU
Message;
Correspondingly, the query message sending module, after detecting BPDU message specifically for destination network device, original
Before IGMP general polling message sending cycle arrives, IGMP general polling message is sent to the host.
8. device according to claim 6, which is characterized in that the failure message includes link failure Link-Down report
Text;
Correspondingly, the query message sending module, after detecting Link-Down message specifically for destination network device,
Before the arrival of original I GMP general polling message sending cycle, IGMP general polling message is sent to the host.
9. a kind of network equipment, which is characterized in that the network equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as Layer 2 Multicast network convergence method as claimed in any one of claims 1 to 5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as Layer 2 Multicast network convergence method as claimed in any one of claims 1 to 5 is realized when execution.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910487241.6A CN110191051A (en) | 2019-06-05 | 2019-06-05 | Layer 2 Multicast network convergence method, apparatus, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910487241.6A CN110191051A (en) | 2019-06-05 | 2019-06-05 | Layer 2 Multicast network convergence method, apparatus, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110191051A true CN110191051A (en) | 2019-08-30 |
Family
ID=67720473
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910487241.6A Pending CN110191051A (en) | 2019-06-05 | 2019-06-05 | Layer 2 Multicast network convergence method, apparatus, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110191051A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113794656A (en) * | 2021-08-25 | 2021-12-14 | 新华三信息安全技术有限公司 | Message forwarding method and device |
| CN115865850A (en) * | 2022-11-30 | 2023-03-28 | 广西壮族自治区信息中心 | Message processing method, device, equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101009628A (en) * | 2007-01-09 | 2007-08-01 | 杭州华为三康技术有限公司 | Update method and device for multicast list in the change of switching network topology |
| CN101141383A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | A method, system, and layer-2 device for realizing rapid convergence of layer-2 multicast forwarding paths |
| US20090245248A1 (en) * | 2008-03-31 | 2009-10-01 | Peter Arberg | Method and apparatus for providing resiliency in multicast networks |
| CN101635671A (en) * | 2008-07-25 | 2010-01-27 | 华为技术有限公司 | Method, system and equipment for accelerating multicast convergence |
| CN101997724A (en) * | 2010-11-22 | 2011-03-30 | 中兴通讯股份有限公司 | Method and device for updating multicast forwarding entries |
-
2019
- 2019-06-05 CN CN201910487241.6A patent/CN110191051A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101141383A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | A method, system, and layer-2 device for realizing rapid convergence of layer-2 multicast forwarding paths |
| CN101009628A (en) * | 2007-01-09 | 2007-08-01 | 杭州华为三康技术有限公司 | Update method and device for multicast list in the change of switching network topology |
| US20090245248A1 (en) * | 2008-03-31 | 2009-10-01 | Peter Arberg | Method and apparatus for providing resiliency in multicast networks |
| CN101635671A (en) * | 2008-07-25 | 2010-01-27 | 华为技术有限公司 | Method, system and equipment for accelerating multicast convergence |
| CN101997724A (en) * | 2010-11-22 | 2011-03-30 | 中兴通讯股份有限公司 | Method and device for updating multicast forwarding entries |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113794656A (en) * | 2021-08-25 | 2021-12-14 | 新华三信息安全技术有限公司 | Message forwarding method and device |
| CN113794656B (en) * | 2021-08-25 | 2023-11-07 | 新华三信息安全技术有限公司 | Message forwarding method and device |
| CN115865850A (en) * | 2022-11-30 | 2023-03-28 | 广西壮族自治区信息中心 | Message processing method, device, equipment and storage medium |
| CN115865850B (en) * | 2022-11-30 | 2024-11-05 | 广西壮族自治区信息中心 | Message processing method, device, equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2553886B1 (en) | Aggregating data traffic from access domains | |
| EP2996287B1 (en) | Method for notifying information of pe device and pe device | |
| JP5691703B2 (en) | Multicast network system | |
| JP5543462B2 (en) | Improved convergence of multicast traffic | |
| US7940700B2 (en) | Method of distributing multiple spanning tree protocol configuration | |
| EP3188409A1 (en) | Oam mechanisms for evpn active-active services | |
| CN105162704B (en) | Method and device for multicast replication in overlay network | |
| EP2843906B1 (en) | Method, apparatus, and system for data transmission | |
| WO2020020144A1 (en) | Link switching method, link switching device, network communication system and computer readable storage medium | |
| US20140226525A1 (en) | Safe Multicast Distribution with Predictable Topology Changes | |
| CN101488879B (en) | Failure protection method and apparatus in network appliance for Ethernet spanning tree protocol | |
| US20170331641A1 (en) | Deployment Of Virtual Extensible Local Area Network | |
| WO2017028586A1 (en) | Service message multicast method and device | |
| US9350628B2 (en) | Dynamic management of maintenance association membership in a computer network | |
| WO2017036180A1 (en) | Packet processing method and device | |
| CN101800742B (en) | Method for updating and processing upstream information of routing device, routing devices and network system | |
| US20160352570A1 (en) | Interconnecting networks | |
| US20070226325A1 (en) | Virtual private network service status management | |
| CN101483571A (en) | RRPP configuring method, system and device | |
| CN110191051A (en) | Layer 2 Multicast network convergence method, apparatus, equipment and storage medium | |
| CN109743250A (en) | Transmission method, first network equipment and second network equipment of multicast message | |
| CN103685029A (en) | Method and equipment for forwarding messages in rapid ring protection protocol networking | |
| CN101141383A (en) | A method, system, and layer-2 device for realizing rapid convergence of layer-2 multicast forwarding paths | |
| CN109995541B (en) | A kind of multicast data sending method and node device | |
| CN111447130B (en) | A connection detection session creation method, network device and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190830 |
|
| RJ01 | Rejection of invention patent application after publication |