CN109995541A - A kind of multicast packet sending method and node device - Google Patents

A kind of multicast packet sending method and node device Download PDF

Info

Publication number
CN109995541A
CN109995541A CN201711486779.2A CN201711486779A CN109995541A CN 109995541 A CN109995541 A CN 109995541A CN 201711486779 A CN201711486779 A CN 201711486779A CN 109995541 A CN109995541 A CN 109995541A
Authority
CN
China
Prior art keywords
node
message
multicast
node equipment
node device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711486779.2A
Other languages
Chinese (zh)
Other versions
CN109995541B (en
Inventor
赵金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201711486779.2A priority Critical patent/CN109995541B/en
Publication of CN109995541A publication Critical patent/CN109995541A/en
Application granted granted Critical
Publication of CN109995541B publication Critical patent/CN109995541B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

A kind of multicast packet sending method and node device, this method comprises: the first multicast packet that first node equipment sends multicast source is sent to client by primary link, the primary link is in advance to be the first node equipment to the link configured between second node equipment, the first node equipment is connect with the multicast source, and the second node equipment is connect with client;The first node equipment to the second node equipment is also configured with reserve link, at least one third node device and the first node equipment on the reserve link are able to use broadcast mode and send multicast packet;First node equipment receives Signal Fail SF message, and the SF message is used to indicate the primary link and breaks down and start the broadcast mode for triggering the first node equipment and at least one described third node device;The first node equipment broadcasts the second multicast packet received after receiving the SF message.

Description

A kind of multicast packet sending method and node device
Technical field
The present invention relates to field of communication technology more particularly to a kind of multicast packet sending method and node devices.
Background technique
In order to carry out link backup in ethernet switched network, network reliability is improved, usually using redundant link, and it is superfluous Remaining link can generate loop on exchange network, lead to broadcast storm and media access control layer (Media Access Control, MAC) phenomena of the failure such as address table is unstable, so as to cause user communication quality is poor or even communication disruption.
In order to solve loop problem caused by using redundant link, two layers of broken ring can be affixed one's name in the upper side of composition looped network Agreement, for example, Ethernet Circle pretection switch (Ethernet Ring Protection Switching, ERPS) agreement, two The broken ring agreement of layer in looped network by being arranged choke point, and choke point can separate all messages and pass through, to block the superfluous of loop Remaining link, prevents broadcast storm.
Referring to FIG. 1, by taking two layers of broken ring agreement are ERPS agreement as an example, to two layers in the prior art broken ring agreement Working method is described:
Node device A, node device B, node device C and node device D constitute a looped network, node device A and visitor The connection of family end, node device D are connect with routing device.There are two paths, a roads Tiao Wei between node device D- node device A Diameter D-C-A, another is path D-B-A.Assuming that choke point is arranged between node device A and node device B.When loop is in When normal operating conditions, a multicast list is prestored in node device D, node device C, is path D-C-A, as node device D After the multicast packet for receiving routing device transmission, then according to the multicast list prestored, which is sent to node and is set Then standby C is sent multicast packet to node device A by node device C, finally by node device A by multicast packet send to Client.Due to being provided with choke point between node device A and node device B, chain road where the D-B-A of path The delivery of node device no-protocol message leads to no multicast list, section when D-C-A breaks down when path, on the D-B-A of path Point device basis first receives Signal Fail (signal fail, the SF) report sent by the node device on the D-C-A of path Text unblocks point, then routing device is waited to retransmit Internet Group Management Protocol (Internet Group Management Protocol, IGMP) querying command (query) will be with the order then after receiving the query order Corresponding feedback information is sent to node device D, so that multicast list corresponding with path D-B-A is established, finally according to foundation New multicast list send multicast packet.
Since the period that routing device sends querying command is longer, usually 60s or 125s etc., and node device pair The querying command, which respond, is usually also required to 10s or so, therefore, if there is link failure during multicast data transmission When, it is temporarily longer the time required to newly-built multicast list, when may cause multicast service interruption or larger muticast data transmission appearance Prolong, influences the performance of multicast service.
Summary of the invention
The embodiment of the present application provides a kind of multicast packet sending method and node device, exists in the prior art to solve If when there is link failure during multicast data transmission, due to longer and cause the time required to temporarily creating multicast list Multicast service the technical issues of interrupting or muticast data transmission occurs compared with long time delay, influencing the performance of multicast service.
In a first aspect, provide a kind of multicast packet sending method, this method comprises: first node equipment receive and its After the first multicast packet that the multicast source of connection is sent, matched by being in advance the first node equipment between second node equipment The primary link set sends first multicast packet to the second node equipment connecting with client, to pass through the second node Equipment sends first multicast packet to the client;Wherein, which goes back between the second node equipment Configured with reserve link, the primary link and the reserve link constitute loop, at least one third node on the reserve link is set The standby and first node equipment is able to use broadcast mode and sends multicast packet, passes through the primary link in the first node equipment During sending the client for first multicast packet, at least one third node device and the first node equipment Broadcast mode be in close state;Then, it during which sends multicast packet by the primary link, connects Receive Signal Fail SF message, the SF message be used to indicate the primary link break down and the SF message for trigger this One node device and at least one third node device start the broadcast mode, so that the first node equipment will receive The second multicast packet received after the SF message, is broadcasted by the reserve link to the second node equipment, and by this Two node devices send second multicast packet to the client.
It in the above-mentioned technical solutions, is first at least one third node device in first node equipment and reserve link Configuration broadcast ability, when just after the primary link of multicast data transmission breaks down, then enabling first node equipment and spare chain The broadcast-capable of the node device of road;Then, first node equipment just will receive after determining that primary link breaks down Multicast packet is broadcasted on reserve link, and then is broadcasted to second node equipment, finally should by the second node equipment Multicast packet is sent to client, in this way, after primary link breaks down, it, can be by group without waiting for newly-built multicast list Multicast data is sent to client quickly, can reduce time delay when muticast data transmission, improves the performance of multicast service.
In a kind of possible embodiment, which pre-establishes multicast list corresponding with primary link, After the first node equipment receives the first multicast packet, then the main chain road direction client is passed through based on the multicast list prestored End sends first multicast packet.
In the above-mentioned technical solutions, node device, can be according to the multicast table prestored in the primary link fault-free on loop Item carries out the forwarding of multicast packet.
In a kind of possible embodiment, which meets condition in the second multicast packet that judgement receives Afterwards, second multicast packet can just be broadcasted, which is the purpose media access control layer MAC of second multicast packet The initial character string of address is preset characters string.
In the above-mentioned technical solutions, due to there are many data types that are sent on loop, for example, multicast number can be sent According to, unicast data can also be sent, it therefore, can first basis after first node equipment receives the data sent by multicast source The initial character string of the target MAC (Media Access Control) address of the data judges whether it is multicast packet, then uses broadcaster if it is multicast packet Formula is sent.
In a kind of possible embodiment, when the second multicast packet received is carried out the broadcast phase by the first node equipment Between, due to the routing device meeting periodicity sending igmp querying message being connect with multicast source, sent when reaching the routing device At the time of igmp querying message, which then receives igmp querying message, and then removing into the reserve link should At least one third node device outside first node equipment and the second node equipment forwards the igmp querying message, should Igmp querying message is forwarded to client, when response message corresponding with igmp querying message is sent to second section by client The response message is fed back to the first node by least one third node device and set by point device, second node equipment Standby, which, then according to the response message, establishes corresponding with the reserve link after receiving the response message New multicast list, and after broadcast mode closing, the multicast source is sent out by the reserve link based on the new multicast list The third multicast packet come is sent to the client.
In the above-mentioned technical solutions, during first node the second multicast packet of device broadcasts, first node equipment is then Can according to the igmp querying message and client that routing device is sent to the response message of the igmp querying message, establish with The multicast list of reserve link, in this way, the transmission of multicast packet synchronous can be carried out with the foundation of multicast list, so as to subtract Time delay when few muticast data transmission.
In a kind of possible embodiment, it is pre- which determines that the duration for broadcasting second multicast packet is equal to If after duration, closing the broadcast mode of itself, wherein the first node equipment is connect with the multicast source by routing device, should When preset duration is the interval that the routing device sends Internet Group Management Protocol igmp querying message to the first node equipment Node device in the long and reserve link forwards the sum of the duration of response message corresponding with the igmp querying message, the sound Answer message for client generation.
In the above-mentioned technical solutions, due to broadcast multicast data when a length of router to the first node equipment send because The interval duration of special net igmpinternet igmp querying message and node device forwarding and the igmp querying in the reserve link The sum of the duration of the corresponding response message of message, in such manner, it is possible to guarantee when first node equipment and at least one third node After device end broadcast, new multicast list can centainly establish during broadcast.
In a kind of possible embodiment, when the second multicast packet received is carried out the broadcast phase by the first node equipment Between, if the fault recovery on primary link, which receives the extensive of the fault recovery being used to indicate in the primary link Multiple NR message, then, after node device blocks blocking interface again on reserve link, first node equipment reception is used for Indicate that the block ports on the reserve link are in the looped network protection switching recovery NRRB message of blocked state, then the first node Equipment reactivates the multicast list prestored, and when receiving four multicast packet of multicast source transmission, by the 4th group Multicast data is sent to the client by the primary link based on the multicast list prestored.
In the above-mentioned technical solutions, due to the usually not primary link such as the communication quality of reserve link, occupied bandwidth It is good, therefore, in order to guarantee the effective use of resource, after first node equipment receives NR message during broadcast, Ke Yichong Newly it is switched to the transmission that primary link carries out multicast packet.
In a kind of possible embodiment, when the first node equipment is during broadcasting second multicast packet, really When receiving the recovery NR message sent by the node device in the primary link surely, the broadcast mode of itself is closed.
After first node equipment receives NR message during broadcast, then broadcast mode can be closed, can saved wide Broadcast resource.
Second aspect provides a kind of multicast packet sending method, this method comprises: the first node connecting with multicast source is set Standby the first multicast packet for sending multicast source is sent to client by primary link, which is first node equipment and the The communicating link of two node devices, the second node equipment are the node device connecting with the client, wherein first Node device to second node equipment includes the primary link and reserve link, and the primary link and the reserve link constitute loop, Third node device is located on reserve link, and, the third node device and the first node equipment are able to use broadcast mould Formula sends multicast packet, sends first multicast packet to by the primary link in first node equipment the process of the client In, the broadcast mode of the third node device and the first node equipment is in close state, and in the communication process, works as third Node device, which receives, to be used to indicate primary link and breaks down Signal Fail SF message, then starts the broadcast mode, in this way, when should Third node device just carries out second multicast packet wide when receiving the second multicast packet after receiving the SF message It broadcasts, until second multicast packet is broadcasted to the second node equipment, and by doing second node equipment for the second multicast number According to being sent to the client.
It in the above-mentioned technical solutions, is first at least one third node device configuration broadcast ability, when transmission group After the primary link of multicast data breaks down, then the broadcast-capable of third node device is enabled, so that first node equipment be sent The second multicast packet broadcasted on reserve link, finally by the second node equipment by second multicast packet send to Client, can be by reserve link by multicast without waiting for newly-built multicast list in this way, after primary link breaks down Data are sent to client quickly, can reduce time delay when muticast data transmission, improve the performance of multicast service.
In a kind of possible embodiment, during the third node device is broadcasted second multicast packet, Three node devices can receive the igmp querying message of the first node device forwards, which is and the first node What the routing device of equipment connection was sent, then the igmp querying message is sent to connected to it the by the third node device Four node devices or the second node equipment, until the igmp querying message is sent to client, and by the second node equipment Or response message of the client to the igmp querying message is forwarded to the third node device, third section by the fourth node equipment The response message is then sent to the first node equipment after receiving the response message by point device, so that the first node Equipment establishes new multicast list corresponding with the reserve link according to the response message, and sends in first node equipment When third multicast packet, which is sent for the third multicast packet based on the new multicast list.
In the above-mentioned technical solutions, it during first node the second multicast packet of device broadcasts, can be set according to routing The igmp querying message and client that preparation is sent establish the multicast with reserve link to the response message of the igmp querying message List item, in this way, the transmission of multicast packet synchronous can be carried out with the foundation of multicast list, so as to reduce muticast data transmission When time delay.
In a kind of possible embodiment, it is pre- which determines that the duration for broadcasting second multicast packet is equal to If after duration, closing the broadcast mode of itself, wherein the preset duration be the routing device to the first node equipment send because The interval duration of special net igmpinternet igmp querying message is forwarded with the node device in the reserve link and is looked into the IGMP The sum of the duration of the corresponding response message of message is ask, which is client generation.
In the above-mentioned technical solutions, due to broadcast multicast data when a length of router to the first node equipment send because The interval duration of special net igmpinternet igmp querying message and node device forwarding and the igmp querying in the reserve link The sum of the duration of the corresponding response message of message, in such manner, it is possible to guarantee when first node equipment and at least one third node After device end broadcast, new multicast list can centainly establish during broadcast.
In a kind of possible embodiment, when the third node device is during broadcasting second multicast packet, really When receiving the recovery NR message sent by the node device in the primary link surely, the broadcast mode of itself is closed.
After third node device receives NR message during broadcast, then broadcast mode can be closed, can saved wide Broadcast resource.
The third aspect provides a kind of first node equipment, which, which has, realizes above-mentioned first aspect method The function of middle first node equipment behavior.The function can also be executed corresponding soft by hardware realization by hardware Part is realized.The hardware or software include one or more modules corresponding with above-mentioned function.
It include processor and memory, the processor in the structure of the first node equipment in a possible design It is configured as that the device is supported to execute corresponding function in above-mentioned first aspect method, which is used to couple with processor, It saves necessary program instruction and data.
Fourth aspect provides a kind of third node device, which, which has, realizes above-mentioned second aspect method The function of middle third node device behavior.The function can also be executed corresponding soft by hardware realization by hardware Part is realized.The hardware or software include one or more modules corresponding with above-mentioned function.
It include processor and memory, the processor in the structure of the third node device in a possible design It is configured as that the device is supported to execute corresponding function in above-mentioned second aspect method, which is used to couple with processor, It saves necessary program instruction and data.
5th aspect, provides a kind of computer storage medium, for storing for executing above-mentioned first aspect, second party Any one design, the function of above-mentioned first aspect and above-mentioned the of any one design, second aspect of face, first aspect Computer software instructions used in the function of two aspects, and include for executing above-mentioned first aspect, second aspect, first aspect Any one design, second aspect any one design, the method for above-mentioned first aspect and above-mentioned second aspect side Program designed by method.
6th aspect, the embodiment of the present application provide a kind of computer program product, which includes Instruction, when the instruction is run on computers, so that the computer executes above-mentioned first aspect, second aspect, first party Any one design in face and any one design of second aspect.
7th aspect, the embodiment of the present application also provides a kind of chip system, which includes processor, for branch First node equipment is held to realize method described in above-mentioned first aspect and third node device is supported to realize above-mentioned second aspect The method, for example, generating or handling data and/or information involved in the above method.In a kind of possible design, The chip system further includes memory, and the memory is for saving the necessary program instruction of page layout device and data.It should Chip system, can be made of chip, also may include chip and other discrete devices.
Detailed description of the invention
Fig. 1 is the first networking mode schematic diagram of two layers of looped network;
Fig. 2 is second of networking mode schematic diagram of two layers of looped network;
Fig. 3 is the flow chart of multicast packet sending method provided by the embodiments of the present application;
Fig. 4 is the stream of the execution step of the multicast packet sending method that provides after step 307 in the embodiment of the present application Cheng Tu;
Fig. 5 is that the another kind of the multicast packet sending method that provides after step 307 executes step in the embodiment of the present application Rapid flow chart;
Fig. 6 is a kind of structural schematic diagram of the first node equipment provided in the embodiment of the present application;
Fig. 7 is a kind of structural schematic diagram of the third node device provided in the embodiment of the present application;
Fig. 8 is another structural schematic diagram of node device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or" unless otherwise specified.
The embodiment of the present application provides a kind of multicast packet sending method and node device, this method can be applied to deployment two In the ethernet switched network of layer looped network protection agreement, which can be ERPS agreement, Spanning-Tree Protocol (Spanning Tree Protocol, STP) or Multiple Spanning Tree Protocol (Multiple Spanning Tree Protocol, MSTP) etc..There are many networking modes for disposing the ethernet switched network of two layers of looped network protection agreement, for example, as shown in Figure 1 The monocycle networking structure being made of node device A, node device B, node device C and node device D, is also possible to such as Fig. 2 Shown in intersecting ring networking structure, Fig. 2 interior joint equipment A, node device B, node device C, node device D and node device E constitutes a looped network, and node device A, node device B, node device C, node device D and node device F constitute another Looped network, the intersection of the two looped networks, it is of course also possible to be other networking modes, it is numerous to list herein.It below will be with two layers of looped network For protection agreement is ERPS agreement, networking mode is monocycle networking structure shown in FIG. 1, to two layers of looped network protections association of deployment The ethernet switched network of view is introduced.
Node device A, node device B, node device C and node device D in the exchange network constitute ERPS ring, should Node device A- node device D can be interchanger, router or hub etc. for being responsible for data processing and data forwarding Etc. functions equipment.Node device A configures three ports, respectively port 1, port 2 and port 3, and node device B configures end Mouth 4 and port 5, node device C configure port 6 and port 7, and node device D configures port 8, port 9 and port 10.Wherein, Node device A is connect by port 1 with client, is connect by port 2 and port 6 with node device C, and passes through port 3 And port 4 is connect with node device B, node device B is connect by port 5 and port 9 with node device D, and node device C passes through Port 7 and port 8 are connect with node device D, and node device D then passes through port 10 and communicated with multicast source, multicast source and section At least one router can be set between point device D, as shown in Figure 1, then port 10 is connect with the router.Wherein, port 4 Possess the port (Owner), the port being connected with port 4 for ring protection link (Ring Protection Link Owner, RPL) 3 be the port RPL neighbours (neighbour), and the link between port 3 and port 4 is RPL, when the port RPL Owner is blocked When, which can separate all messages.In the case where the ERPS looped network operates normally, the port RPL owner and RPL The port neighbour can be all blocked, to prevent loops generation.
ERPS looped network is by multicast list come multicast data forwarding.When being built at the beginning of the ERPS looped network, it is connect with node device D Router can to the node device of ERPS looped network send Internet Group Management Protocol (Internet Group Management Protocol, IGMP) querying command (query), after the node device on ERPS looped network receives the query message, by this Query message is forwarded to client, after client is to the query message response, generate IGMP report message, then again by The IGMP report message is fed back to the node device for sending the query message by the node device on ERPS looped network, that is, is routed Device, so that node device D, node device C obtain and store multicast list, i.e. road by the interactive process to the query message Diameter D-C-A.Since port 4 is the port RPLOwner, it is in blocked state, therefore, the path D-B-A comprising port 4 then can not It is interacted according to the query message, so that the multicast list with path D-B-A will not be formed.In this way, working as multicast source transmission group When multicast data, then by path D-C-A corresponding with multicast list, multicast packet is sent to client for ERPS looped network.
As it can be seen that the transmission of multicast packet is carried out according to the multicast list of storage in the prior art, when the group with storage When broadcasting the corresponding link of list item and breaking down, then ERPS looped network needs to re-establish new multicast list.And multicast list is built It is vertical be using by being realized by the way of being interacted between the report of the query message of router side and client-side protection message, And router can only the periodicity sending query message, therefore, if there is link failure during multicast data transmission, It is temporarily longer the time required to newly-built multicast list, it may cause multicast service interruption or muticast data transmission occur compared with long time delay, Influence the performance of multicast service.
In consideration of it, the embodiment of the present application provides a kind of multicast packet sending method, this method comprises: first node equipment exists After receiving the first multicast packet that multicast source connected to it is sent, by being in advance the first node equipment to second node The primary link configured between equipment sends first multicast packet to the second node equipment connecting with client, to pass through The second node equipment sends first multicast packet to the client;Wherein, the first node equipment is to the second node Reserve link is also configured between equipment, the primary link and the reserve link constitute loop, at least one on the reserve link Third node device and the first node equipment are able to use broadcast mode and send multicast packet, logical in the first node equipment Cross during first multicast packet sends the client by the primary link, at least one third node device and this The broadcast mode of one node device is in close state;Then, which sends multicast packet by the primary link During, receive Signal Fail SF message, the SF message be used to indicate the primary link break down and the SF message use Start the broadcast mode in the triggering first node equipment and at least one third node device, thus the first node equipment The second multicast packet that will be received after receiving the SF message, is broadcasted to the second node by the reserve link and is set It is standby, and sent second multicast packet to the client by the second node equipment.
It in the above-mentioned technical solutions, is first at least one third node device in first node equipment and reserve link Configuration broadcast ability, when just after the primary link of multicast data transmission breaks down, then enabling first node equipment and spare chain The broadcast-capable of the node device of road;Then, first node equipment just will receive after determining that primary link breaks down Multicast packet is broadcasted on reserve link, and then is broadcasted to second node equipment, finally should by the second node equipment Multicast packet is sent to client, in this way, after primary link breaks down, it, can be by group without waiting for newly-built multicast list Multicast data is sent to client quickly, can reduce time delay when muticast data transmission, improves the performance of multicast service.
Technical solution provided by the embodiments of the present application is introduced with reference to the accompanying drawing, during following introduction, incite somebody to action this The technical solution that application provides is applied in ERPS looped network shown in Fig. 1, and is the node device in Fig. 1 with first node equipment D, second node equipment is the node device A in Fig. 1, for third node device is node device B.
Referring to FIG. 3, being the flow chart of multicast packet sending method provided by the embodiments of the present application, the description of the process is such as Under:
Step 301: the first multicast packet that node device D sends multicast source is sent to client by primary link.
It include both links, i.e. path D-C- between node device D and node device A in ERPS looped network shown in Fig. 1 The corresponding link of A and the corresponding link of path D-B-A.Since the port 4 of node device D is arranged to the port RPL Owner, Therefore, D-C-A corresponding link in path is known as primary link, D-B-A corresponding link in path is known as reserve link.
In ERPS looped network when fault-free, node device D then leads to when receiving the first multicast packet of multicast source transmission Link corresponding with the multicast list prestored is crossed to send first multicast packet to client.The multicast list can be at this When ERPS looped network is just built, is established by the query message that router is sent, be then then stored in node device D and node In equipment C, in this way, when node device D receives the first multicast packet of router forwarding, it is determined that the multicast list prestored For the routing iinformation of primary link, to sending the first multicast packet to node device C, then node device C is then according to itself The multicast list of storage, determination send first multicast packet to node device A, then by node device A by this first group Multicast data is sent to client, realizes the transmission of the first multicast packet.
Step 302: node device A and node device C sends Signal Fail SF message, and the SF message is used to indicate institute Primary link is stated to break down.
ERPS looped network is during sending the first multicast packet using primary link, if primary link breaks down, for example, section Link between point device C and node device A breaks down or event occurs for some port of node device C and node device A Barrier, for example, port 6 is broken down, node device A and node device C then inform that other nodes in the ERPS looped network are set The variation of standby ring status, i.e. node device A send Signal Fail (signal fail, SF) message, Yi Jijie to node device B Point device C sends the SF message to node device D, to notify node device D and the node device B primary link to send failure.
Step 303: node device D receives Signal Fail SF message.
When node device D receives the SF message of node device C transmission, it is determined that primary link breaks down.
Since ERPS looped network is the transmission for carrying out multicast packet according to the multicast list of storage under unfaulty conditions, because This can then be handled the multicast list of storage after node device D receives the SF message.For example, can be by multicast Presentation is deleted, and can also set disabled status for multicast list, in this way, when node device D is determining that primary link breaks down It afterwards, then will not be further according to multicast list multicast data forwarding.It should be noted that the process handled multicast list is can Step is selected, that is, is not required execution.
Step 304: node device B receives Signal Fail SF message, releases the port RPL Owner.
After then other node devices into the ERPS looped network send SF message by node device A and node device C, section Point device B then receives the SF message sent by node device A, so that it is determined that primary link breaks down.
After node device B determines that primary link breaks down, primary link can not send multicast packet, at this point, node device B The blocked state of the port RPL Owner, i.e. unlatching port 4 are then released, at this point, reserve link D-B-A is then in the conductive state.
It should be noted that the embodiment of the present application to the execution of step 303 and step 304 sequence with no restriction, that is, walk Rapid 303 can be performed simultaneously with step 304, be also possible to execute step 304 again after execution step 303, naturally it is also possible to be It executes step 304 and executes step 303 again later, specific execution is sequentially according to the networking structure and link state of ERPS looped network To determine.
Step 305: node device D opens broadcast mode, the second multicast that will be received after receiving the SF message Data are broadcasted.
When node device D is after receiving the SF message, the second multicast packet is received, then by second multicast packet It is broadcasted in port 8 and port 9, since the corresponding primary link in port 8 breaks down, so that second multicast packet is in master Chain road is blocked.And fault-free and port 4 unblock state on the corresponding reserve link in port 9, thus second multicast Data can be broadcasted on reserve link.Certainly, since primary link breaks down, node device D is receiving second group After multicast data, second multicast packet can also be only broadcasted on port 9, it is possible to reduce the waste of broadcast resource.
It in the embodiment of the present application, can be pre- in order to make the node device on ERPS looped network can be realized the broadcast capability It is first the node device configuration broadcast function on the ERPS looped network.For example, can be the node device D of the ERPS looped network and standby With the node device B configuration broadcast function of chain road, it is of course also possible to which all node devices on the ERPS looped network are all configured Broadcast capability.Further, it is the normal operating conditions for guaranteeing the ERPS looped network, ERPS can also be configured for the broadcast capability and opened It closes, when ERPS switch is in the open state, then the node device with broadcast capability opens broadcast capability, at this point, opening wide As long as the node device of multicast function receives multicast packet, the multicast packet can be all sent in the form of broadcast.When ERPS is switched When being in close state, then the node device with broadcast capability then closes broadcast capability, at this point, the node device is according to multicast List item sends multicast packet.
It should be noted that ERPS switch is in close state, when ERPS ring when ERPS looped network is under non-failure conditions Net breaks down, for example, node device A and node device C sends SF message, the SF to node device B and node device D Message can be also used for enabling the ERPS switch of node device D and node device B, so that starter node equipment D and node are set The broadcast mode of standby B.
In the embodiment of the present application, it before node device D is broadcasted second multicast packet, can also be performed down State process:
Step 306: the second multicast packet that node device D judgement receives meets condition;Wherein, the condition be this second The initial character string of the purpose media access control layer MAC Address of multicast packet is preset characters string.
Since the data sent simultaneously in the ERPS looped network are possible, there are many types, such as can send unicast data simultaneously And multicast packet, it is of course also possible to be other kinds of data, and different types of data have different hairs in ERPS looped network Mode is sent, the method in the embodiment of the present application is only applicable to the transmission process to multicast packet, and therefore, node device D is also needed pair The data received after receiving SF message are judged judge whether the data are multicast packet, such as, it can be determined that it connects Whether the purpose MAC of the data received is preset characters string corresponding with multicast packet, such as the preset characters string is 01005E, If meeting the condition, node device D determines that the data being currently received are the second multicast packet, thus by the second multicast number According to being broadcasted, otherwise, then sent by the sending method of the data of corresponding data type.
It should be noted that step 306 can be optional step, that is, it is not necessarily meant to execution.For example, pre-set Multicast packet is only sent on the ERPS looped network, is necessarily multicast packet in the data that node device D is received, in this case, Step 306 need not be then executed, this is not restricted.
Step 307: node device B starts the broadcast mode, and will broadcast receiving second multicast packet.
Node device B then opens broadcast mode after the SF message for receiving node device A transmission.It is set when receiving node After standby D passes through the second multicast packet that port 9 is broadcasted, then second multicast packet is broadcasted to node device A by port 4, To which second multicast packet be sent to the client by node device A.
In this way, without waiting for newly-built multicast list, multicast packet can be sent out quickly after primary link breaks down It send to client, time delay when muticast data transmission can be reduced, improve the performance of multicast service.
In the embodiment of the present application, after step 307, data transmission method for uplink provided by the embodiments of the present application can also be wrapped Following steps are included, referring to FIG. 4, the flow chart of the execution step for the method in the embodiment of the present application after step 307, it should Process is described as follows:
Step 401: node device D receives igmp querying message.
In the specific implementation process, the igmp querying message, that is, query message, the query message with multicast source by connecting Router send.The router periodicity sending query message, such as the period can be 60s.
Node device D waits the router to send the query message during broadcasting second multicast packet.Example Such as, 10s receives SF message after node device once sends the query message on the router, then node device D is being received 50s after to SF message then receives the query message sent by the router again.
Step 402: node device D forwards the igmp querying message to node device B.
After node device D receives the query message, then the query message is sent to node device B.
Step 403:, should to node device A forwarding after the igmp querying message of node device B receiving node equipment D forwarding Igmp querying message.
Certainly, if being also set up between node device B and node device A by other node devices, for example, fourth node is set Standby, then the query message is sent to the fourth node equipment by node device B, is then reported the query by fourth node equipment Text is forwarded to node device A.In the embodiment of the present application, it is said so that node device B is connected directly with node device A as an example It is bright.
Step 404: node device A is sent to client after receiving the IGMP message, by the IGMP message, and by client End feeds back to node device B to the response message IGMP report message of the IGMP message.
Step 405: the response message is fed back to node device D after receiving the response message by node device B.
Node device B then establishes the group between node device A after receiving the intermediate response message of node device A List item, i.e. path B-A are broadcast, and generates new response message and is sent to node device D.
Step 406: node device D receives the response message sent by node device B, establishes corresponding with the reserve link New multicast list.
After node device D receives the response message of node device B transmission, then new multicast is established according to the response message List item, i.e. path D-B-A.
Step 407: node device D and node device B, which is determined, closes broadcast mode.
In the embodiment of the present application, node device D and node device B determines whether to close according to the duration of broadcast wide Broadcast mode.After node device D and node device B determines that the duration for broadcasting second multicast packet is equal to preset duration, close The broadcast mode of itself, wherein the preset duration sends Internet Group Management Protocol igmp querying to node device D for router Node device in the interval duration and the reserve link of message forwards response message corresponding with the igmp querying message The sum of duration, the response message are client generation.For example, the period that router sends query message is 60s, node device D, it is 20s that node device B and node device A, which forwards the total duration of response message corresponding with the query message, then this is default Shi Changwei 60+20=80s.
Due to preset duration be router to node device D send Internet Group Management Protocol igmp querying message interval Node device in duration and the reserve link forwards the sum of the duration of response message corresponding with the igmp querying message, this Sample can guarantee that after node device D and node device B terminate broadcast, new multicast list centainly can be in the broadcast phase Between establish.
Specifically, a timer can be respectively set in node device D and node device B, two timers Time synchronization.After node device D and node device B opens broadcast capability, it can open and determine in respective equipment simultaneously When device, thus to broadcast time carry out timing.After when the timer times out, then broadcast capability is closed.It is of course also possible to only in node Timer is set in equipment D, and the closing of the broadcast capability of node device B is then controlled by node device D, and node device is worked as When timer expiry in D, then node device D sends control information to node device B, and node device B is receiving the control After information, then broadcast capability is closed.
Step 408: after node device D and node device B closes broadcast mode, by the new multicast list, by group The third multicast packet that the source of broadcasting is sent is sent to client.
After node device D, node device B close broadcast mode, then according to the new multicast table established during broadcast , it is sent in the third multicast packet closed and received after broadcast mode.Specifically, when node device D is closing broadcast Third multicast packet is received after mode, then according to new multicast list, third multicast packet is sent to node device B, so Deutomerite point device B sends the third multicast packet to node device A, finally by node device A by the third multicast data sending It send to client.To which the transmission link of multicast packet is switched to reserve link by primary link.
In practical applications, the channel quality of usual primary link is better than the channel quality of reserve link or the band of primary link It is wider than the bandwidth of reserve link, therefore, if after the fault recovery of primary link, it can be by the link of the transmission multicast packet again It is secondary to be switched on primary link.Specifically, after the fault recovery between node device A and node device C, node device A with And node device C then sends to node device B and node device D and restores message (No Request, NR), node device B connects After receiving the NR message, the port RPL Owner is blocked again, and other node devices on ERPS looped network send ring Net pretection switch restores (No Request RPL Blocked, NRRB) message, informs that choke point is blocked again, at this point, Node device D received multicast packet will then be broadcasted again after receiving NRRB message, that is, by the multicast packet then from Node device D is broadcasted from port 8, after then node device C receives the multicast packet from port 7, from port 6 carry out by The multicast packet is broadcasted to node device A, is finally sent the multicast packet to client by node device A.In the broadcast phase Between, node device A, node device C and node device D have re-established the corresponding multicast list of primary link, work as broadcast After, then it again switches to primary link and sends multicast packet.This by reserve link be switched to primary link process and it is above-mentioned by The process that primary link is switched to reserve link is similar, specifically please refers to the description in Fig. 3-Fig. 4, details are not described herein.
In method described in Fig. 4, the time needed for the recovery of the failure between node device A and node device C is longer, Just restore after broadcast mode closing, and in practical applications, the fault recovery institute between node device A and node device C The time needed can also be shorter, for example, the failure is just restored during broadcast, in this case, in the embodiment of the present application Method can also include the following steps after step 307, referring to FIG. 5, being the method in the embodiment of the present application in step The flow chart of execution step after rapid 307, the process are described as follows:
Step 501: node device A and node device C then sends NR message to node device B and node device D;Its In, the NR message is used to indicate the fault recovery in the primary link.
Just restore when the failure between node device A and node device C does not reach preset duration in broadcast duration, this When, node device A then sends NR message to node device B, and node device C then sends NR message to node device D.
Step 502: node device D closes the broadcast mode of itself after receiving NR message.
Step 503: node device B is also switched off the broadcast mode of itself after receiving NR message, and by RPL Owner Port blocks again.
Step 504: node device B sends looped network protection switching to node device D and restores NRRB message, wherein described NRRB message is used to indicate the blocking interface in the reserve link and is in blocked state.
Step 505: node device D reactivates what primary link transmission was sent by multicast source after receiving NRRB message 4th multicast packet.
A kind of possible implementation, node device D can control the use state of the multicast list prestored, when When node device D receives SF message, then the use state that the multicast list prestored is arranged is disabled status, in such case Under, node device D is not available the multicast list then;After node device receives NRRB message, then the group prestored is set The use state for broadcasting list item is initiate mode, at this point, node device D then can be again according to the multicast list transmission group that this is prestored Multicast data.In this way, after node device D receives NRRB message, then the multicast list that can will be prestored in node device D, i.e. road Diameter D-C-A is adjusted to initiate mode by disabled status.Then, node device D then will be received after receiving NRRB message Four multicast packets are sent to node device C, are then sent the 4th multicast packet to node device A by node device C, most The 4th multicast packet is sent to client by node device A afterwards, so as to reduce switching when ERPS looped network breaks down The complexity of link.
In the above-mentioned technical solutions, by the way that by the node device configuration broadcast ability on looped network, breaking down in looped network is needed When carrying out link switching and needing switchback after fault recovery, the multicast packet that the node device on looped network is received is in ring The broadcast that certain time is carried out on other node devices of net sends prolonging for multicast packet when can reduce the switching of looped network state When, realization is switched fast, and then can reduce the packet loss time, improves the performance of multicast service.
In above-mentioned embodiment provided by the present application, the embodiment of the present application is mentioned from the angle of each node device on looped network The multicast packet sending method of confession is described.It is understood that each node device on looped network is above-mentioned in order to realize Function, it comprises execute the corresponding hardware configuration of each function and/or software module.Those skilled in the art should be easy to , it is realized that unit described in conjunction with the examples disclosed in the embodiments of the present disclosure and algorithm steps, the application can be with hardware Or the combining form of hardware and computer software is realized.Some function drives hardware actually with hardware or computer software Mode executes, specific application and design constraint depending on technical solution.Professional technician can be to each specific Application use different methods to achieve the described function, but this realize it is not considered that exceeding scope of the present application.
Fig. 6 shows a kind of possible structural schematic diagram of first node equipment 600.The first node equipment 600 can be with The function of first node equipment involved in realization above.The first node equipment 600 may include receiving module 601 and hair Send module 602.Wherein, receiving module 601 can be used for executing step 303 or reality shown in Fig. 4 in embodiment shown in Fig. 3 Apply the step 401 in example, and/or other processes for supporting techniques described herein.Sending module 602 is for executing figure Step 402 and step 405 in step 301, step 305 or embodiment shown in Fig. 4 in 3 the embodiment described, and/or use In the other processes for supporting techniques described herein.Wherein, all phases for each step that above method embodiment is related to are inside the Pass Hold the function description that can quote corresponding function module, details are not described herein.
Fig. 7 shows a kind of possible structural schematic diagram of third node device 700.The third node device 700 can be with Attach most importance in realization the function of the third node device being related to.The third node device 700 may include receiving module 701, processing Module 702 and sending module 703.Wherein, receiving module 701 can be used for executing the step in embodiment shown in Fig. 3 304, and/or other processes for supporting techniques described herein.Processing module 702 can be used for executing shown in Fig. 3 Step 503 in step 307 or embodiment shown in Fig. 4 in embodiment in step 407 or embodiment shown in fig. 5, and/or For supporting other processes of techniques described herein.Sending module 703 can be used for executing in embodiment shown in Fig. 3 Step 504 in step 307 or step 405 or embodiment shown in fig. 5 in embodiment shown in Fig. 4, and/or for supporting this Other processes of technology described in text.Wherein, all related contents for each step that above method embodiment is related to can be with The function description of corresponding function module is quoted, details are not described herein.
In the embodiment of the present application, first node equipment 600 and the corresponding each function division of third node device 700 are each The form of a functional module is presented, alternatively, can be presented in the form of integrated model split each functional module.This In " module " can refer to application-specific integrated circuit (application-specific integrated circuit, ASIC), execute the processor and memory of one or more softwares or firmware program, integrated logic circuit and/or other can be with The device of above-mentioned function is provided.
In a simple embodiment, those skilled in the art is it is contemplated that can also be by first node equipment 600 And any one node device in third node device 700 is realized by structure as shown in Figure 8.
As shown in figure 8, node device 800 may include: memory 801, processor 802, system bus 803 and communication Interface 804.Wherein, processor 802, memory 801 and communication interface 804 are connected by system bus 803, memory 801 It can be set in processor 802, memory 801 and processor 802 can be realized by chip.Memory 801 is for storing Computer executed instructions, when node device 800 is run, processor 802 executes the computer execution that memory 801 stores and refers to It enables, so that node device 800 executes embodiment, embodiment shown in Fig. 4 and embodiment shown in fig. 5 shown in Fig. 3.Specifically Implementation method can refer to above and attached drawing in associated description, details are not described herein again.Wherein, communication interface 804 can be receipts Send out device or independent receiver and transmitter.Optionally, star structure or other knots also can be used in system bus 803 The attachment device of structure is replaced, and this is not restricted.
In one example, receiving module 601 and sending module 602 can be with the communication interfaces 804 in corresponding diagram 8.
In one example, receiving module 701 and sending module 703 can be located with the communication interface 804 in corresponding diagram 8 Managing module 702 can be with the processor 802 in corresponding diagram 8.Processing module 702 can in the form of hardware/software form be embedded in or Independently of in the memory 801 of node device 800.
Optionally, node device 800 can be field programmable gate array (field-programmable gate Array, FPGA), special integrated chip (application specific integrated circuit, ASIC), system core Piece (system on chip, SoC), central processing unit (central processor unit, CPU), network processing unit (network processor, NP), digital signal processing circuit (digital signal processor, DSP), microcontroller Device (micro controller unit, MCU) can also use programmable controller (programmable logic Device, PLD) or other integrated chips.Alternatively, communication device 900 is also possible to individual network element, for example, the network equipment or Person's terminal device.
Node device provided herein can be a kind of chip system, may include at least one in the chip system A chip also may include other discrete devices.The chip system can be placed in node device, support the node device Complete multicast packet sending method provided in the embodiment of the present application.
The embodiment of the present application provides a kind of computer storage medium, and instruction is stored in the computer storage medium, when When described instruction is run on computers, so that the computer executes aforementioned multicast packet sending method.
The embodiment of the present application provides a kind of computer program product, and the computer program product includes instruction, works as institute Instruction is stated when running on computers, so that the computer executes aforementioned multicast packet sending method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another readable storage medium storing program for executing, for example, the computer instruction can To pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line from a web-site, computer, server or data center (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode is into another web-site, computer, server or data The heart is transmitted.The computer readable storage medium can be any usable medium or include that computer can access The data storage devices such as one or more usable mediums integrated server, data center.The usable medium can be magnetism Medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium are (for example, solid state hard disk Solid State Disk (SSD)) etc..
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (24)

1. a kind of multicast packet sending method characterized by comprising
The first multicast packet that first node equipment sends multicast source is sent to client by primary link;Wherein, the master Link is in advance to be the first node equipment to the link configured between second node equipment, the first node equipment and institute Multicast source connection is stated, the second node equipment is connect with client;
The first node equipment is to the reserve link for being also configured with the primary link between the second node equipment, the master Link and the reserve link constitute loop, at least one third node device and the first segment on the reserve link Point device is able to use broadcast mode and sends multicast packet, passes through the primary link for first multicast in first node equipment During data are sent to the client, the broadcast of at least one described third node device and the first node equipment Mode is in close state;
First node equipment receives Signal Fail SF message, and the SF message is used to indicate the primary link and breaks down, and The SF message starts the broadcast mode for triggering the first node equipment and at least one described third node device;
The first node equipment broadcasts the second multicast packet received after receiving the SF message, so that At least one third node device on the reserve link receives the second multicast packet of the first node device broadcasts After continue to broadcast, until broadcast is to the second node equipment, and by the second node equipment by second multicast packet It is sent to the client.
2. the method according to claim 1, wherein the first multicast number that first node equipment sends multicast source Client is sent to according to by primary link, comprising:
The first node equipment determines that the multicast list itself prestored is and the associated routing iinformation of the primary link;
The first node equipment passes through the primary link after receiving first multicast packet, based on the multicast list First multicast packet is sent to the client.
3. method according to claim 1 or 2, which is characterized in that in the first node equipment by second multicast Before data are broadcasted, the method also includes:
The second multicast packet that the first node equipment judgement receives meets condition;Wherein, the condition is described second The initial character string of the purpose media access control layer MAC Address of multicast packet is preset characters string.
4. method according to any one of claim 1-3, which is characterized in that the first node equipment will receive After the second multicast packet received after the SF message is broadcasted, the method also includes:
The first node equipment receives igmp querying message, wherein the first node equipment and the multicast source pass through road It is connected by equipment, the igmp querying message is what the routing device was sent;
The first node equipment into the reserve link in addition to the first node equipment and the second node equipment At least one third node device forward the igmp querying message;
The first node equipment receives being sent by least one described third node device with the igmp querying message pair The response message answered;
The first node equipment establishes new multicast list corresponding with the reserve link according to the response message, with And institute is sent for the third multicast packet that the multicast source is sent by the reserve link based on the new multicast list State client.
5. method according to any one of claim 1-3, which is characterized in that the first node equipment will receive After the second multicast packet received after the SF message is broadcasted, the method also includes:
The first node equipment, which receives, restores NR message;Wherein, the NR message is used to indicate the failure in the primary link Restore;
The first node equipment receives looped network protection switching and restores NRRB message;Wherein, the NRRB message is used to indicate institute The blocking interface stated in reserve link is in blocked state;
The first node equipment reactivates the multicast list prestored, and in the 4th multicast for receiving the multicast source transmission When data, the 4th multicast packet is sent to the client by the primary link based on the multicast list prestored End;Wherein, the multicast list prestored is and the associated routing iinformation of the primary link.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
After the first node equipment determines that the duration for broadcasting second multicast packet is equal to preset duration, the wide of itself is closed Broadcast mode, wherein the first node equipment is connect with the multicast source by routing device, and the preset duration is the road From equipment to the first node equipment send Internet Group Management Protocol igmp querying message interval duration with it is described spare Node device in link forwards the sum of the duration of response message corresponding with the igmp querying message, and the response message is The client generates.
7. according to the method described in claim 5, it is characterized in that, in the first node equipment by second multicast packet After being broadcasted, the method also includes:
During broadcasting second multicast packet, determination is received by the primary link first node equipment When the recovery NR message that node device is sent, the broadcast mode of itself is closed;Wherein, the NR message is used to indicate the main chain The fault recovery on road.
8. a kind of multicast packet sending method characterized by comprising
Third node device receives Signal Fail SF message, and the SF message is used to indicate primary link and breaks down, the main chain Road is first node equipment and the communicating link of second node equipment, the first node equipment multicast source is sent the One multicast packet is sent to client by the primary link, and the first node equipment is the node connecting with the multicast source Equipment, the second node equipment are the node device connecting with the client;
The first node equipment is to the reserve link for being also configured with the primary link between the second node equipment, the master Link and the reserve link constitute loop, and the third node device is located on the reserve link, and the third node is set The standby and described first node equipment is able to use broadcast mode and sends multicast packet, passes through the main chain in first node equipment During first multicast packet is sent the client by road, the third node device and the first node are set Standby broadcast mode is in close state;
The third node device starts the broadcast mode;
The third node device received second multicast packet will broadcast after receiving the SF message, until will Second multicast packet is broadcasted to the second node equipment, and by the second node equipment by second multicast packet It is sent to the client.
9. according to the method described in claim 8, it is characterized in that, the third node device will receive the SF message After received second multicast packet is broadcasted later, the method also includes:
The third node device receives the igmp querying message of the first node device forwards, wherein the first node Equipment is connect with the multicast source by routing device, and the igmp querying message is what the routing device was sent;
The third node device is to igmp querying message described in fourth node equipment or the second node device forwards;Its In, the fourth node equipment is between the third node device and the second node equipment;
The third node device receives sending with the IGMP by the fourth node equipment or the second node equipment The corresponding response message of query message;
The third node device sends the response message to the first node equipment, so that the first node equipment root According to the response message, new multicast list corresponding with the reserve link is established, and based on the new multicast list The client is sent by the third multicast packet that the multicast source is sent by the reserve link.
10. method according to claim 8 or claim 9, which is characterized in that the method also includes:
After the third node device determines that the duration for broadcasting second multicast packet is equal to preset duration, the wide of itself is closed Broadcast mode, wherein the first node equipment is connect with the multicast source by routing device, and the preset duration is the road From equipment to the first node equipment send Internet Group Management Protocol igmp querying message interval duration with it is described spare Node device in link forwards the sum of the duration of response message corresponding with the igmp querying message, and the response message is The client generates.
11. method according to claim 8 or claim 9, which is characterized in that in the third node device by second multicast After data are broadcasted, the method also includes:
The third node device determines the fault recovery of the primary link during broadcasting second multicast packet When, close the broadcast mode of itself.
12. a kind of first node equipment, which is characterized in that including processor and communication interface, in which:
The communication interface, under the control of the processor, the first multicast packet that multicast source is sent to be passed through main chain Road is sent to client;Wherein, the primary link be in advance be that the first node equipment is configured between second node equipment Link, the first node equipment connect with the multicast source, and the second node equipment is connect with client;
The first node equipment is to the reserve link for being also configured with the primary link between the second node equipment, the master Link and the reserve link constitute loop, at least one third node device and the first segment on the reserve link Point device is able to use broadcast mode and sends multicast packet, passes through the primary link for described first in the first node equipment During multicast packet is sent to the client, at least one described third node device and the first node equipment Broadcast mode is in close state;
The communication interface is also used under the control of the processor, receives Signal Fail SF message, and the SF message is used for Indicate the primary link break down and the SF message for trigger the first node equipment and it is described at least one the Three node devices start the broadcast mode;And by the second multicast packet received after receiving the SF message into Row broadcast, so that at least one third node device on the reserve link receives the of the first node device broadcasts Continue to broadcast after two multicast packets, until broadcast is to the second node equipment, and by the second node equipment by described the Two multicast packets are sent to the client.
13. equipment according to claim 12, which is characterized in that the processor is controlling the communication interface for multicast When the first multicast packet that source is sent is sent to client by primary link, prestored specifically for the determination first node equipment Multicast list be and the associated routing iinformation of the primary link;
The communication interface is used for after receiving first multicast packet, passes through the primary link based on the multicast list First multicast packet is sent to the client.
14. equipment according to claim 12 or 13, which is characterized in that control of the communication interface in the processor Under, before second multicast packet is broadcasted, the processor is also used to:
Judge that the second multicast packet received meets condition;Wherein, the condition is the purpose matchmaker of second multicast packet The initial character string of body access control layer MAC Address is preset characters string.
15. equipment described in any one of 2-14 according to claim 1, which is characterized in that the communication interface will receive After the second multicast packet received after the SF message is broadcasted, it is also used to receive under the control of the processor Igmp querying message, wherein the first node equipment is connect with the multicast source by routing device, the igmp querying report Text is what the routing device was sent;
The communication interface is also used under the control of the processor first node that removes into the reserve link and sets Standby at least one third node device with outside the second node equipment forwards the igmp querying message;
The communication interface is also used to receive under the control of the processor and be sent by least one described third node device Response message corresponding with the igmp querying message;
The processor is also used to establish new multicast list corresponding with the reserve link according to the response message, with And be also used to control the communication interface based on the new multicast list will be described by the reserve link for the processor The third multicast packet that multicast source is sent is sent to the client.
16. equipment described in any one of 2-14 according to claim 1, which is characterized in that the communication interface will receive After the second multicast packet received after the SF message is broadcasted, it is also used to receive under the control of the processor Restore NR message;Wherein, the NR message is used to indicate the fault recovery in the primary link;
The communication interface, which is also used to receive looped network protection switching under the control of the processor, restores NRRB message;Wherein, The NRRB message is used to indicate the blocking interface in the reserve link and is in blocked state;
The processor is also used to reactivate the multicast list prestored, and receives the multicast source hair in the communication interface When four multicast packet sent, controls the communication interface and lead to the 4th multicast packet based on the multicast list prestored It crosses the primary link and is sent to the client;Wherein, the multicast list prestored is and the associated routing of the primary link Information.
17. equipment according to claim 15, which is characterized in that the processor is also used to:
After determining that the duration for broadcasting second multicast packet is equal to preset duration, the broadcast mould of the first node equipment is closed Formula, wherein the first node equipment is connect with the multicast source by routing device, and the preset duration is that the routing is set The standby interval duration to first node equipment transmission Internet Group Management Protocol igmp querying message and the reserve link In node device forward the sum of the duration of corresponding with igmp querying message response message, the response message is described Client generates.
18. equipment according to claim 16, which is characterized in that the processor is also used to:
During the first node equipment broadcasts second multicast packet by the communication interface, by described When communication interface receives the recovery NR message sent by the node device in the primary link, the first node equipment is closed Broadcast mode;Wherein, the NR message is used to indicate the fault recovery of the primary link.
19. a kind of third node device, which is characterized in that including processor and communication interface, in which:
The communication interface receives Signal Fail SF message under the control of the processor, and the SF message is used to indicate master Link breaks down, and the primary link is first node equipment and the communicating link of second node equipment, the first segment Point device sends client by the primary link for the first multicast packet that multicast source is sent, and the first node equipment is The node device connecting with the multicast source, the second node equipment are the node device connecting with the client;
The first node equipment is to the reserve link for being also configured with the primary link between the second node equipment, the master Link and the reserve link constitute loop, and the third node device is located on the reserve link, and the third node is set The standby and described first node equipment is able to use broadcast mode and sends multicast packet, passes through the main chain in first node equipment During first multicast packet is sent the client by road, the third node device and the first node are set Standby broadcast mode is in close state;
The processor, for starting the wide of the third node device after confirming that the communication interface receives SF message Broadcast mode;
The communication interface under the control of the processor, will after receiving the SF message received second multicast number According to being broadcasted, until second multicast packet is broadcasted to the second node equipment, and by the second node equipment Second multicast packet is sent to the client.
20. equipment according to claim 19, which is characterized in that the communication interface will receive the SF message it After received second multicast packet is broadcasted afterwards, it is also used to receive the first node under the control of the processor and sets The igmp querying message of standby forwarding, wherein the first node equipment is connect with the multicast source by routing device, described Igmp querying message is what the routing device was sent;
The communication interface is also used under the control of the processor turn to fourth node equipment or the second node equipment Send out igmp querying message described;Wherein, the fourth node equipment is located at the third node device and sets with the second node Between standby;
The communication interface is also used to receive under the control of the processor by the fourth node equipment or second section The response message corresponding with the igmp querying message that point device is sent;
The processor is also used to send the response message to the first node equipment by the communication interface, so that institute It states first node equipment and new multicast list corresponding with the reserve link is established according to the response message, and be based on The new multicast list sends the client for the third multicast packet that the multicast source is sent by the reserve link End.
21. equipment described in 9 or 20 according to claim 1, which is characterized in that the processor is also used to:
After determining that the duration for broadcasting second multicast packet is equal to preset duration, the broadcast mould of the third node device is closed Formula, wherein the first node equipment is connect with the multicast source by routing device, and the preset duration is that the routing is set The standby interval duration to first node equipment transmission Internet Group Management Protocol igmp querying message and the reserve link In node device forward the sum of the duration of corresponding with igmp querying message response message, the response message is described Client generates.
22. equipment described in 9 or 20 according to claim 1, which is characterized in that the processor is also used to:
During the third node device broadcasts second multicast packet, the fault recovery of the primary link is determined When, close the broadcast mode of the third node device.
23. a kind of computer readable storage medium, which is characterized in that instruction is stored on the medium, when its on computers When operation, so that computer realizes such as the described in any item methods of claim 1-7 or 8-11.
24. a kind of computer program product, the computer program product includes instruction, when described instruction is transported on computers When row, so that the computer executes such as the described in any item methods of claim 1-7 or 8-11.
CN201711486779.2A 2017-12-29 2017-12-29 Multicast data sending method and node equipment Expired - Fee Related CN109995541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711486779.2A CN109995541B (en) 2017-12-29 2017-12-29 Multicast data sending method and node equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711486779.2A CN109995541B (en) 2017-12-29 2017-12-29 Multicast data sending method and node equipment

Publications (2)

Publication Number Publication Date
CN109995541A true CN109995541A (en) 2019-07-09
CN109995541B CN109995541B (en) 2021-08-31

Family

ID=67110427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711486779.2A Expired - Fee Related CN109995541B (en) 2017-12-29 2017-12-29 Multicast data sending method and node equipment

Country Status (1)

Country Link
CN (1) CN109995541B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338357A (en) * 2021-12-13 2022-04-12 阿里巴巴(中国)有限公司 Method and device for transmitting data message in network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009669A (en) * 2007-01-05 2007-08-01 杭州华为三康技术有限公司 A method and system and route device for transmitting the multicast message
CN101499950A (en) * 2008-01-30 2009-08-05 华为技术有限公司 Service provider backbone transmission ring multicast method, multicast ring network and node equipment
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof
US20120092983A1 (en) * 2009-03-13 2012-04-19 Zte Corporation Method and device for classifying media access control address based on ethernet ring network
CN105812152A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Ethernet ring network fault notification method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009669A (en) * 2007-01-05 2007-08-01 杭州华为三康技术有限公司 A method and system and route device for transmitting the multicast message
CN101499950A (en) * 2008-01-30 2009-08-05 华为技术有限公司 Service provider backbone transmission ring multicast method, multicast ring network and node equipment
US20120092983A1 (en) * 2009-03-13 2012-04-19 Zte Corporation Method and device for classifying media access control address based on ethernet ring network
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof
CN105812152A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Ethernet ring network fault notification method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338357A (en) * 2021-12-13 2022-04-12 阿里巴巴(中国)有限公司 Method and device for transmitting data message in network
CN114338357B (en) * 2021-12-13 2024-05-14 阿里巴巴(中国)有限公司 Method and device for transmitting data message in network

Also Published As

Publication number Publication date
CN109995541B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US7440414B2 (en) Communication relay device with redundancy function for line in network in accordance with WAN environment and communication system using the same
US8588060B2 (en) E-spring (G.8032) interworking to provide access protection
US7944815B2 (en) System and method for network recovery from multiple link failures
US9036561B2 (en) Dual-homing protection
KR101385377B1 (en) Method, apparatus and system for forwarding data
EP3039830B1 (en) Network switching systems and methods
US20110188499A1 (en) Point-to-multipoint path implementation in a multicast virtual private network
CN109327318B (en) SDN management network architecture and method for establishing SDN management network
WO2014176975A1 (en) Method and system for information interaction among systems in the same end in drni
CN102325037A (en) Method and system for switching pseudo-wire dual-homing network and dual-homing operator equipment
WO2010022576A1 (en) A control packet transmission method and apparatus based on multi-ring ethernet
CN103607293B (en) A kind of flow rate protecting method and equipment
EP2658177B1 (en) Method for detecting tunnel faults and traffic engineering node
WO2014201903A1 (en) Collaboration method and system in distributed resilient network interconnect system
WO2014029282A1 (en) Cross-domain protection interacting method and system
WO2010121459A1 (en) Method and system for implementing protection and recovery in automatically switching optical network
WO2016101546A1 (en) Method and device for implementing operations, administration and maintenance function
WO2011131069A1 (en) Binding links detection method and distributed device
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
WO2014075594A1 (en) Service transmission protection method and device based on intersecting ring of multi-ring structure network
US20120269056A1 (en) Method, device, and system for protecting semi-ring network
CN104883337B (en) The implementation method and device of looped network user security
CN109995541A (en) A kind of multicast packet sending method and node device
CN112995002A (en) Switch ring network design method, switch and storage medium
CN109067632B (en) RPR intersecting ring logic port state switching method and device

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210831

Termination date: 20211229

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