CN101527642A - Method and device for feeding back and processing multicast routing protocol join failure - Google Patents

Method and device for feeding back and processing multicast routing protocol join failure Download PDF

Info

Publication number
CN101527642A
CN101527642A CN200810065809A CN200810065809A CN101527642A CN 101527642 A CN101527642 A CN 101527642A CN 200810065809 A CN200810065809 A CN 200810065809A CN 200810065809 A CN200810065809 A CN 200810065809A CN 101527642 A CN101527642 A CN 101527642A
Authority
CN
China
Prior art keywords
routing protocol
multicast
multicast routing
message
join failure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200810065809A
Other languages
Chinese (zh)
Inventor
刘晖
曹玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810065809A priority Critical patent/CN101527642A/en
Publication of CN101527642A publication Critical patent/CN101527642A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of communication, and provides a method and a device for feeding back and processing multicast routing protocol join failure. The method for feeding back the multicast routing protocol join failure provided by the embodiment of the invention comprises the following steps: receiving a multicast join message sent by a downstream device; constructing a multicast routing protocol join failure feedback message under the condition of incapacity of normally processing the multicast routing protocol join; and sending the multicast routing protocol join failure feedback message to the downstream device. The method and the device can send the multicast routing protocol join failure feedback message to the downstream device to notify the multicast routing protocol join failure when a routing device cannot normally process the multicast routing protocol join so as to strengthen the user friendliness and the operation and maintenance management of multicast service.

Description

The method and apparatus of a kind of feedback and processing multicast routing protocol join failure
Technical field
The present invention relates to the communications field, relate in particular to the method and apparatus of a kind of feedback and processing multicast routing protocol join failure.
Background technology
Multicasting technology can effectively be saved Internet resources, and the rise of IPTV video traffics such as (Internet ProtocolTelevision, Internet Protocol Televisions) is for multicasting technology provides new arrangement chance.According to the sphere of action of agreement, multicast protocol is divided into igmpinternet and multicast routing protocol usually.
Igmpinternet, IGMP (Internet Group Management Protocol for example, Internet Group Management Protocol) and MLD (Multicast Listener Discovery, Multicast Listener Discovery) run on main frame with multicast router or switch that main frame directly links to each other on, wherein IGMP is applied to IPv4 (Internet Protocol version 4, Internet Protocol version 4) network, MLD is applied to IPv6 (Internet Protocol version 6, Internet Protocol version 6) network.The multicast receiving equipment, for example main frame is announced the multicast group of wishing adding by this agreement, and router is periodically inquired about certain group by this agreement and whether is in active state, promptly whether this network segment still has the member who belongs to certain multicast group, with collection and the maintenance that realizes that the network group membership that networked of institute concerns.Multicast routing protocol, CBT (Core Based Tree for example, multicast protocol based on kernel tree), PIM-SM (Protocol Independent Multicast-Sparse Mode, Protocol Independent Multicast-Sparse Mode), PIM-SSM (Protocol Independent Multicast-Source Specific Mode, the special source protocol independent multicast) and BIDIR-PIM (Bi-directional ProtocolIndependent Multicast, the bidirectional protocol independent multicast) can both run on the router between multicast source and the multicast receiving equipment, set up from multicast source to the multicast forwarding path the multicast receiving equipment by protocol massages between the router.
Existing igmpinternet and multicast routing protocol only provide the multicast receiving equipment normally to add multicast group and have set up the mechanism of multicast transmit tree, but when group adds failure or multicast routing protocol join failure, existing protocol does not provide corresponding feedback mechanism, the feedback information that causes the multicast receiving equipment to obtain to be correlated with causes quality of service can not satisfy professional demands such as IPTV well.
At the problems referred to above, existing solution provides a kind of and has added the feedback mechanism of failing at group, and at igmpinternet, for example IGMPv3 or MLDv2 organize the situation that adds, and adopt the mechanism of clean culture feedback, feed back message and send to multicast entrant clean culture; Other situations then adopt the multicast feedback mechanism, and the feedback message sends to the multicast group address that will add.
The present inventor finds that above-mentioned existing solution only provides IGMP/MLD to organize the feedback mechanism that adds when failing, and the feedback mechanism of multicast routing protocol join failure is not provided.If group adds successfully, and multicast routing protocol join failure, above-mentioned solution still can't be carried out effective feedback to the multicast receiving equipment, and the feedback information that causes the multicast receiving equipment to obtain to be correlated with causes quality of service still can not satisfy professional demands such as IPTV well.
Summary of the invention
One embodiment of the invention provides a kind of method of feeding back multicast routing protocol join failure, comprising: the multicast that the reception upstream device is sent joins message; Can not the normal process multicast routing protocol add fashionable, structure multicast routing protocol join failure feedback message; Send described multicast routing protocol join failure feedback message to described upstream device.
One embodiment of the invention provides a kind of method of feeding back multicast routing protocol join failure, comprising: the multicast that the reception upstream device is sent joins message; Can not the normal process multicast routing protocol add fashionable, structure multicast routing protocol join failure feedback message; Send described multicast routing protocol join failure feedback message to described upstream device.
One embodiment of the invention provides a kind of method of processing multicast routing protocol join failure, comprising: upstream device sends multicast and joins message; Receive first multicast routing protocol join failure feedback message, described first multicast routing protocol join failure feedback message be described upstream equipment or more the routing device of upstream can not the normal process multicast routing protocol add fashionable sending.
One embodiment of the invention provides a kind of routing device that feeds back multicast routing protocol join failure, comprising: receiver module is used to receive multicast routing protocol that upstream device sends and joins message or organize and join message; Judge module, be used for described receiver module receive that described multicast routing protocol joins message or described group join message after, judge whether and can the normal process multicast routing protocol add; The message generation module, be used for described judge module judge can not the normal process multicast routing protocol add fashionable, structure multicast routing protocol join failure feedback message; Sending module, being used for downstream, equipment sends described multicast routing protocol join failure feedback message.
One embodiment of the invention provides a kind of equipment of processing multicast routing protocol join failure, comprising: first sending module is used for upstream device transmission multicast and joins message; Receiver module is used to receive first multicast routing protocol join failure feedback message, described first multicast routing protocol join failure feedback message be described upstream equipment or more the routing device of upstream can not the normal process multicast routing protocol add fashionable sending.
The method and apparatus that the embodiment of the invention provides, can not the normal process multicast routing protocol add fashionable at routing device, equipment sends multicast routing protocol join failure feedback message downstream, announce multicast routing protocol join failure, thereby strengthened the operation management of the user friendly and the multicast service of multicast service.
Description of drawings
Fig. 1 is the schematic network structure in the one embodiment of the invention;
Fig. 2 is the method flow diagram of feedback multicast routing protocol join failure in the one embodiment of the invention;
Fig. 3 is the method flow diagram of feedback multicast routing protocol join failure among another embodiment of the present invention;
Fig. 4 is the routing device structural representation of feedback multicast routing protocol join failure in the one embodiment of the invention;
Fig. 5 is the routing device structural representation of processing multicast routing protocol join failure in one embodiment of the present of invention;
Fig. 6 is the device structure schematic diagram of processing multicast routing protocol join failure in the one embodiment of the invention;
Fig. 7 is the structural representation that adopts the multicast routing protocol join failure feedback message of ICMP encapsulation in one embodiment of the present of invention;
Fig. 8 is the structural representation that adopts the multicast routing protocol join failure feedback message of UDP encapsulation in one embodiment of the present of invention;
Fig. 9 is the structural representation of the multicast routing protocol join failure feedback message that employing expansion PIM mode is constructed in one embodiment of the present of invention.
Embodiment
In one embodiment of the present of invention, the routing device that is positioned at network side is supported multicast routing protocol, the feedback mechanism of multicast routing protocol join failure is provided, for example, when routing device can not the normal process multicast routing protocol add fashionable, send multicast routing protocol join failure feedback message to the multicast receiving equipment, the report multicast routing protocol join failure can also be reported failure cause.Routing device in the embodiment of the invention can be a router, also can be other equipment with routing function.Multicast routing protocol in the embodiment of the invention adds can adopt multiple mode, for example adopts CBT, and perhaps PIM adds etc.
Fig. 1 is the schematic network structure in the one embodiment of the invention, network as shown in Figure 1, comprise router one 11~125 (R111~R125), two-layer equipment 131 and 133, multicast receiving equipment 141 and 143, wherein, router one 11 communicates with multicast source 101, router one 21 can communicate by two-layer equipment 131 and multicast receiving equipment 141, and router one 25 can communicate by two-layer equipment 133 and multicast receiving equipment 143.Wherein, router one 17,119,123,121 and 125 is positioned at the PIM territory; Router one 21 and 125, two-layer equipment 131 and 133, and multicast receiving equipment 141 and 143 is positioned at the IGMP territory.With multicast receiving equipment 143 is example, and it is as follows that IGMP adds and add the feedback procedure of failing:
Multicast receiving equipment 143 is initiated IGMP and is added, two-layer equipment 133 is transmitted IGMP from multicast receiving equipment 143 router one 25 that joins message, when router one 25 can not this IGMP of normal process joins message, router one 25 becomes IGMP and adds failed point, send IGMP and add failure feedback message (Feedback from IGMP join error), be transmitted to multicast receiving equipment 143 via two-layer equipment 133.
With multicast receiving equipment 141 is example, and PIM adds with the feedback procedure that adds failure as follows:
Multicast receiving equipment 141 is initiated IGMP and is added, and two-layer equipment 131 is transmitted IGMP from multicast receiving equipment 141 router one 21 that joins message; When router one 21 can this IGMP of normal process joins message, router one 21 was initiated PIM and is added, and sends PIM to router one 19 and joins message; When router one 19 these PIM of energy normal process join message, send PIM to router one 17 and join message; Router one 17 receives after PIM from router one 19 joins message, if can not normal process, then the interface 151 that joins message from reception PIM sends PIM adding failure feedback messages (Feedbackfrom PIM join error) to router one 19, reaches multicast receiving equipment 141 via router one 21, two-layer equipment 131.For instance, the two-layer equipment here can be a two-layer equipment of supporting IGMP-snooping or IGMP-proxy, for example switch, DSLAM (Digital Subscriber LineAccess Multiplexer, Digital Subscriber Line Access Multiplexer) etc., this two-layer equipment can carry out multicast forwarding to PIM adding failure feedback message; Two-layer equipment also can not supported IGMP-snooping or IGMP-proxy, then can add failure feedback message to PIM and carry out broadcast transmission to multicast receiving equipment 141.In the example depicted in fig. 1, the downstream router of router one 19 only has 1, it is exactly router one 21, but the scheme in the embodiment of the invention goes for the situation that there are a plurality of downstream routers for 19 times in router one, no matter there are what downstream routers, each downstream router all generates to have generated when PIM joins message at hop-by-hop transmits item, can both transmit PIM according to the pass-through mode of data message and add failure feedback message.In an embodiment of the present invention, multicast receiving equipment 141 receives after PIM adds failure feedback message, can resolve this PIM and add failure feedback message, and can handle accordingly, as carry out error reporting, stop multicast and join request etc.Here, router one 17 can not normal process joins message from the PIM of router one 19, reason has multiple, the combination of one or more in for example following situation: this PIM incorrect (version for example that joins message, and/or type, and/or verification and incorrect), on this PIM convergent point address that upstream neighbor information and interface IP address do not match, this PIM joins message of carrying in joining message and the routing device 117 the convergent point address of this group inconsistent, do not have upstream neighbor, do not have the singlecast router of multicast source or convergent point.When not having upstream neighbor or not having the singlecast router of multicast source or convergent point, will cause routing device 117 can not be normally upstream routing device 111 send PIM and join message.
Certainly, be example with multicast receiving equipment 141, it also may be last hop router 121 that PIM adds failed point.Multicast receiving equipment 141 is initiated IGMP and is added, two-layer equipment 131 is transmitted IGMP from multicast receiving equipment 141 router one 21 that joins message, when router one 21 these IGMP of energy normal process join message, router one 21 can be initiated PIM and be added, can not normally initiate PIM when router one 21 adds fashionable, then router one 21 becomes PIM adding failed point, structure PIM adds failure feedback message (Feedback fromPIM join error) and sends, and arrives multicast receiving equipment 141 via two-layer equipment 131.End hop router 121 can not normally be initiated PIM and be added, refer to last hop router 121 can not be normally upstream routing device 119 send PIM and join message, it is multiple to cause the reason of this situation to have, the combination of one or more in for example following situation: do not have upstream neighbor, do not have the singlecast router of multicast source or convergent point, do not have effective RP address.
Example among above-mentioned Fig. 1 has adopted IGMP to add and PIM adds, but is not limited to this, also can adopt other groups to add agreement, for example MLD; Certainly, also can adopt other multicast routing protocols.In addition, Fig. 1 example is that routing device communicates via a two-layer equipment and multicast receiving equipment, but is not limited to this, and for example, routing device can communicate with the multicast receiving equipment, not via two-layer equipment; For another example, there are a plurality of two-layer equipments between routing device and the multicast receiving equipment.
The embodiment of the invention provides a kind of method of feeding back multicast routing protocol join failure, comprising: the multicast that the reception upstream device is sent joins message; Can not the normal process multicast routing protocol add fashionable, structure multicast routing protocol join failure feedback message; Send this multicast routing protocol join failure feedback message to this upstream device.
Fig. 2 is the method flow diagram of feedback multicast routing protocol join failure in the one embodiment of the invention, and as shown in Figure 2, this method comprises:
210, routing device (for example the router one among Fig. 1 17,119) receives the multicast that upstream device sends and joins message, and is that multicast routing protocol joins message here, and for example PIM joins message;
Here, upstream device also is a routing device, can be router, also can be other equipment with routing function;
220, this routing device judges that can the multicast routing protocol that normal process receives join message;
This routing device joins message according to the multicast routing protocol of receiving and the residing state of multicast routing protocol judges whether this multicast routing protocol joins message correct, and whether can continue to join message to the upstream equipment transmission multicast routing protocol of this routing device, for instance, if one or more in the following situation, then the multicast routing protocol that can not normal process receives of this routing device joins message: the multicast routing protocol incorrect (version for example that joins message, and/or type, and/or verification and incorrect), the upstream neighbor information and the interface IP address that carry during multicast routing protocol joins message do not match, there is not upstream neighbor, the singlecast router that does not have multicast source or RP (Rendezvous Point, convergent point), the RP address of this group is inconsistent on the RP address that multicast routing protocol joins message and this routing device.If the multicast routing protocol that this routing device can normal process receives joins message, then process ends; If the multicast routing protocol that can not normal process receives joins message, then carry out 230;
230, generate multicast routing protocol join failure feedback message;
240, equipment sends this multicast routing protocol join failure feedback message downstream.
Upstream device can send by hop-by-hop, downstream until the multicast receiving equipment after receiving this multicast routing protocol join failure feedback message.
Fig. 3 is the method flow diagram of feedback multicast routing protocol join failure among another embodiment of the present invention, and as shown in Figure 3, this method comprises:
310, routing device (for example router one among Fig. 1 21) receives the multicast that upstream device sends and joins message, and is that group joins message here;
Here, upstream device is a two-layer equipment, or the multicast receiving equipment;
320, this routing device judges whether that the group that can normal process receives joins message;
If the group that this routing device can't normal process receives joins message, then process ends; Otherwise, carry out 330;
330, judge that can normally initiate multicast routing protocol adds;
This routing device judges whether that according to the residing state of multicast routing protocol can send multicast routing protocol to the upstream equipment of this routing device joins message, for instance, if one or more in the following situation, then this routing device can not normally be initiated multicast routing protocol and added: do not have upstream neighbor, do not exist multicast source or RP (Rendezvous Point, convergent point) singlecast router, do not have effective RP address.If can normally initiating multicast routing protocol, this routing device adds, then process ends; If can not normal process initiate the multicast routing protocol adding, then carry out 340;
340, generate multicast routing protocol join failure feedback message.
350, equipment sends this multicast routing protocol join failure feedback message downstream.
If upstream device is a two-layer equipment, after then upstream device is received this multicast routing protocol join failure feedback message, can send downstream by hop-by-hop, until the multicast receiving equipment.
Fig. 4 is the routing device structural representation of feedback multicast routing protocol join failure feedback in the one embodiment of the invention, as shown in Figure 4, routing device 400 comprises: receiver module 410 is used to receive multicast routing protocol that upstream device sends and joins message or organize and join message; Judge module 420 is used for receiving after this multicast routing protocol joins message or this group joins message at receiver module 410, judges whether and can the normal process multicast routing protocol add; Message generation module 430, be used for judge module 420 judge can not the normal process multicast routing protocol add fashionable, structure multicast routing protocol join failure feedback message; Sending module 440, being used for downstream, equipment sends this multicast routing protocol join failure feedback message.
In another embodiment of the present invention, this routing device on the basis of the above, also comprise fault processing module 450, being used for judge module 420 judges and can not the normal process multicast routing protocol add fashionable, the reason that parsing can not the normal process multicast routing protocol adds, the generation error report, and/or, the multicast forwarding list item that deletion is relevant.Alternatively, this error reporting is sent to network management device, carry out respective handling by network management device.
Fig. 5 is the routing device schematic diagram of processing multicast routing protocol join failure in the one embodiment of the invention, and as shown in Figure 5, routing device 500 comprises: first sending module 510, and being used for upstream, routing device transmission multicast routing protocol joins message; Receiver module 520, be used to receive first multicast routing protocol join failure feedback message, send when this first multicast routing protocol join failure feedback message is at the upstream routing device or more the routing device of upstream can not this multicast routing protocol of normal process joins message; Second sending module 530, be used for this first multicast routing protocol join failure feedback message of device forwards downstream, perhaps construct second multicast routing protocol join failure feedback message and equipment transmission downstream according to this first multicast routing protocol join failure feedback message.
In another embodiment of the present invention, above-mentioned routing device can also comprise fault processing module 540, is used to resolve this first multicast routing protocol join failure feedback message, the generation error report, and/or, the multicast forwarding list item that deletion is relevant.
Fig. 6 is the device structure schematic diagram of processing multicast routing protocol join failure in the one embodiment of the invention, and as shown in Figure 6, equipment 600 comprises: first sending module 610 is used for upstream device transmission group and joins message; Receiver module 620, be used for receiving group routing protocol join failure feedback message, this multicast routing protocol join failure feedback message is in this upstream equipment or join message back but can not normally initiate multicast routing protocol and add fashionable sending of this group of routing device normal process of upstream more.
In another embodiment of the present invention, equipment 600 can also comprise fault processing module 630, is used to resolve this multicast routing protocol join failure feedback message, the generation error report.
Equipment 600 can be multicast receiving equipment, for example main frame.Equipment 600 also can be two-layer equipment, if two-layer equipment can also comprise second sending module 640 so, is used for this multicast routing protocol join failure feedback message of device forwards downstream.Upstream equipment can be a routing device, also can be two-layer equipment.
Adopt ICMP (Internet Control MessageProtocol in one embodiment of the present of invention, letter newspaper control protocol) encapsulation multicast routing protocol join failure feedback message, with the multicast address that will add is the destination address of multicast routing protocol join failure feedback message, and the interface that joins message by the receiving group Routing Protocol sends multicast routing protocol join failure feedback message.TTL during encapsulation (time to live, time to live) will put an enough big value, guarantees that this multicast routing protocol join failure feedback message can arrive the multicast receiving equipment.ICMP packaged type in the present embodiment is applicable to the PIM protocol suite, comprises PIM-SM, PIM-SSM and BIDIR-PIM agreement.Fig. 7 is the structural representation that adopts the multicast routing protocol join failure feedback message of ICMP encapsulation in the one embodiment of the invention, as shown in Figure 7, adopts the multicast routing protocol join failure feedback message of ICMP encapsulation to comprise:
Version (4bit): version number;
IHL (4bit): Internet Header Length, datagram protocol head length degree;
TOS (8bit): Type of Service, type of service;
Total Length (16bit): total length;
Identification (16bit): sign;
Flags (3bit): flag bit;
Fragment Offset (13bit): field offset amount;
TTL (8bit): Time to Live, be set at the numerical value that can guarantee to arrive the multicast receiving equipment, for example default value is 255;
Protocol (8): be made as the ICMP agreement;
Header Checksum (16bit): header check and;
Source Address (32bit): source address is the interface IP address that generates multicast routing protocol join failure feedback message;
Destination Address (32bit): destination address is the address of the multicast group that will add;
Type (8bit): MULTICAST_FAILURE_FEEDBACK need apply for to IANA (InternetAssigned Numbers Authority, Internet Assigned Number Authority)
Code (8bit): enumerate possible error reason code, for instance, error reason code possibility value is as follows:
Value is 1 expression MSG_VERIFICATION_ERROR, and multicast routing protocol joins message incorrect, for example version, and/or type, and/or verification and incorrect;
Value is 2 expression WRONG_NEIGHBOR_ADDRESS, and the upstream neighbor information and the interface IP address that carry in the message do not match;
Value is 3 expression NO_UPSTREAM_NEIGHBOR, does not have upstream neighbor;
Value is 4 expression NO_UNICAST_ROUTE, does not have the singlecast router of multicast source or RP;
Value is 5 expression RP_INCONSISTENCY, and the RP address of this group is inconsistent on the RP address that multicast routing protocol joins message and this routing device;
Checksum (16bit): verification and;
Multicast Protocol (8): the multicast routing protocol of operation can be PIM-SM, PIM-SSM, BIDIR-PIM;
Reserved (24bit): reserved field.
When adopting ICMP encapsulation multicast routing protocol join failure feedback message, transition routing device (generating routing device and the routing device between the end jumping routing device, for example router one among Fig. 1 19 of first multicast routing protocol join failure feedback message) can be according to common multicast data message forwarding multicasting routing protocol join failure feedback message; The transition routing device can also be resolved this multicast routing protocol join failure feedback message, for example generation error report, the multicast forwarding list item that deletion is relevant etc.Routing device (for example router one among Fig. 1 21) is jumped at the end can two-layer equipment or multicast receiving equipment in subnet send multicast routing protocol join failure feedback message, can also select to resolve this multicast routing protocol join failure feedback message, the generation error report, the multicast forwarding list item that deletion is relevant.Multicast routing protocol join failure feedback message is handled accordingly by the application layer of multicast receiving equipment after arriving the multicast receiving equipment, as the generation error report, stops multicast and joins request etc.
Adopt UDP (user datagram protocol in an alternative embodiment of the invention, User Datagram Protoco (UDP)) encapsulation multicast routing protocol join failure feedback message, with the multicast address that will add is the destination address of multicast routing protocol join failure feedback message, and the interface that joins message by the receiving group Routing Protocol sends multicast routing protocol join failure feedback message.TTL will put an enough big value during encapsulation, guarantees that multicast routing protocol join failure feedback message can arrive the multicast receiving equipment.This UDP packaged type is applicable to the PIM protocol suite, comprises PIM-SM, PIM-SSM and BIDIR-PIM agreement.Fig. 8 is the structural representation that adopts the multicast routing protocol join failure feedback message of UDP encapsulation in one embodiment of the present of invention, as shown in Figure 8, adopts the multicast routing protocol join failure feedback message of UDP encapsulation to comprise:
Version (4bit): version number;
IHL (4bit): Internet Header Length, datagram protocol head length degree;
TOS (8bit): Type of Service, type of service;
Total Length (16bit): total length;
Identification (16bit): sign;
Flags (3bit): flag bit;
Fragment Offset (13bit): field offset amount;
TTL (8bit): Time to Live, be set at the numerical value that can guarantee to arrive the multicast receiving equipment, for example default value is 255;
Protocol (8): be made as udp protocol;
Header Checksum (16bit): header check and;
Source Address (32bit): source address is the interface IP address that generates multicast routing protocol join failure feedback message:
Destination Address (32bit): destination address is the address of the multicast group that will add;
Source Port (16bit): the multicast routing protocol join failure feedback source port number that message adopted;
Destination Port (16bit): the multicast routing protocol join failure feedback destination slogan that message adopted;
Length (16bit): UDP message length;
Checksum (16bit): the verification of UDP message and;
Code (8bit): enumerate possible failure cause code, for instance, code possibility value is as follows:
Value is 1 expression MSG_VERIFICATION_ERROR, and multicast routing protocol joins message incorrect, for example version, and/or type, and/or verification and incorrect;
Value is 2 expression WRONG_NEIGHBOR_ADDRESS, and the upstream neighbor information and the interface IP address that carry in the message do not match;
Value is 3 expression NO_UPSTREAM_NEIGHBOR, does not have upstream neighbor;
Value is 4 expression NO_UNICAST_ROUTE, does not have the singlecast router of multicast source or RP;
Value is 5 expression RP_INCONSISTENCY, and the RP address of this group is inconsistent on the RP address that multicast routing protocol joins message and this routing device;
Multicast Protocol (8bit): the multicast routing protocol of operation can be PIM-SM, PIM-SSM, BIDIR-PIM;
Reserved (16bit): reserved field.
When adopting UDP encapsulation multicast routing protocol join failure feedback message, routing device is jumped at transition routing device, end and two-layer equipment can not resolved this multicast routing protocol join failure feedback content of message, but according to common multicast data message transparent forwarding.Multicast routing protocol join failure feedback message is handled accordingly by the application layer of multicast receiving equipment after arriving the multicast receiving equipment, as the generation error report, stops multicast and joins request etc.
Adopt the mode of expansion PIM to construct multicast routing protocol join failure feedback message in an alternative embodiment of the invention, the interface that joins message by reception PIM sends this multicast routing protocol join failure feedback message, this mode is applicable to the PIM protocol suite, comprise PIM-SM, PIM-SSM and BIDIR-PIM agreement.In this embodiment, PIM is expanded, define new PIM protocol massages type, for example PIM feedback message.When routing device (as the router one among Fig. 1 17) can not normal process PIM joins message, by receive interface (as the interface among Fig. 1 151) that PIM joins message downstream routing device (as the router one among Fig. 1 19) send multicast routing protocol join failure feedback message; Downstream routing device (as the router one among Fig. 1 19) is after receiving the multicast routing protocol join failure feedback message that the upstream routing device is sent, generate new multicast routing protocol join failure feedback message, by receiving interface (as the interface among Fig. 1 153) equipment (as the router one among Fig. 1 21) transmission downstream that PIM joins message.In different networkings, upstream device may not be a router, but two-layer equipment or multicast receiving equipment, the routing device that connects this two-layer equipment so can select to adopt suitable message format, for example ICMP, UDP and IGMP send multicast routing protocol join failure feedback message to clean culture of multicast receiving equipment or multicast.Fig. 9 is the structural representation of the multicast routing protocol join failure feedback message that employing expansion PIM mode encapsulates in one embodiment of the present of invention, and as shown in Figure 9, the multicast routing protocol join failure that adopts expansion PIM mode to encapsulate feeds back message and comprises:
Version (4bit): version number;
IHL (4bit): Internet Header Length, datagram protocol head length degree;
TOS (8bit): Type of Service, type of service;
Total Length (16bit): total length;
Identification (16bit): sign;
Flags (3bit): flag bit;
Fragment Offset (13bit): field offset amount;
TTL (8bit): Time to Live is set at 1;
Protocol (8): be made as the PIM agreement;
Header Checksum (16bit): header check and;
Source Address (4bit): source address is the interface IP address that generates the router of multicast routing protocol join failure feedback message;
Destination Address (32bit): destination address is the ALL-PIM-ROUTERS multicast address;
PIM Ver (4bit): the version number of PIM agreement;
Type (4bit): be the MULTICAST_FAILURE_FEEDBACK of redetermination, need apply for new style number to IANA;
Reserved (8bit): reserved field;
Checksum (16bit): verification and;
Code (8bit): enumerate possible failure cause code, for instance, error code is can value as follows:
Value is 1 expression MSG_VERIFICATION_ERROR, and PIM joins message incorrect, for example version, and/or type, and/or verification and incorrect;
Value is 2 expression WRONG_NEIGHBOR_ADDRESS, and the upstream neighbor information and the interface IP address that carry in the message do not match;
Value is 3 expression NO_UPSTREAM_NEIGHBOR, does not have upstream neighbor;
Value is 4 expression NO_UNICAST_ROUTE, does not have the singlecast router of multicast source or RP;
Value is 5 expression RP_INCONSISTENCY, and the RP address of this group is inconsistent on the RP address that PIM joins message and this routing device;
Multicast Protocol (8bit): the multicast routing protocol of operation can be PIM-SM, PIM-SSM, BIDIR-PIM;
Reserved (16bit): reserved field.
The multicast routing protocol join failure feedback message that adopts expansion PIM mode to construct, can only a jump set send, the downstream routing device is after receiving the multicast routing protocol join failure feedback message that the upstream routing device sends, need to generate new multicast routing protocol join failure feedback message, the source IP address of new multicast routing protocol join failure feedback message is the interface IP address of this downstream routing device, TTL puts 1, and other fields are with identical from the multicast routing protocol join failure of this upstream routing device feedback message.In this embodiment, after transitional facility receives multicast routing protocol join failure feedback message, generate new multicast routing protocol join failure feedback message equipment transmission downstream, and can select to resolve the multicast routing protocol join failure feedback message of receiving, for example generation error report, the multicast forwarding list item that deletion is relevant etc.It is the edge in PIM territory that routing device is jumped at the end, can not generate PIM adding failure feedback message and send to subnet interior two-layer equipment or multicast receiving equipment, send but can adopt UDP, ICMP or IGMP encapsulation multicast routing protocol join failure to feed back the two-layer equipment or the multicast receiving equipment of message in subnet; And can select to resolve its multicast routing protocol join failure of receiving feedback message, for example generation error report sends to network management device, the multicast forwarding list item that deletion is relevant etc.After adopting the multicast routing protocol join failure feedback message of UDP, ICMP or IGMP encapsulation to arrive the multicast receiving equipment, handle accordingly,, stop multicast and join request etc. as the generation error report by the application layer of multicast receiving equipment.
The embodiment of the invention or a part wherein can utilize software to realize, corresponding software programs can be stored in the storage medium that can read, CD for example, hard disk, floppy disk etc.
The embodiment of the invention provides the method and apparatus of a kind of feedback, processing multicast routing protocol join failure, can not the normal process multicast routing protocol add fashionable at routing device, equipment downstream, for example routing device, two-layer equipment, the multicast receiving equipment sends multicast routing protocol join failure feedback message, the announcement multicast routing protocol join failure can also be announced failure cause, thereby strengthen the operation management of the user friendly and the multicast service of multicast service.The multicast feedback system and the message format that are adopted in the some embodiments of the invention, processing mode is simple, can not increase the extra work amount for router.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with the people of this technology in the disclosed technical scope of the present invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.

Claims (22)

1, a kind of method of feeding back multicast routing protocol join failure is characterized in that, comprising:
The multicast that the reception upstream device is sent joins message;
Can not the normal process multicast routing protocol add fashionable, structure multicast routing protocol join failure feedback message;
Send described multicast routing protocol join failure feedback message to described upstream device.
2, the method for claim 1 is characterized in that, described upstream device is two-layer equipment or multicast receiving equipment, and it is that group joins message that described multicast joins message;
Correspondingly, described can not the normal process multicast routing protocol adding, comprising:
After described group of normal process joins message, can not normally initiate multicast routing protocol and add.
3, method as claimed in claim 2 is characterized in that, comprises in the described multicast routing protocol join failure feedback message and can not normally initiate the reason-code that multicast routing protocol adds.
4, method as claimed in claim 3 is characterized in that, described reason-code is used to represent one or more combination of following situation: do not have upstream neighbor, do not have the singlecast router of multicast source or convergent point, do not have effective convergent point address.
5, the method for claim 1 is characterized in that, described upstream device is a routing device, and it is that multicast routing protocol joins message that described multicast joins message;
Correspondingly, described can not the normal process multicast routing protocol adding, comprising:
Can not the described multicast routing protocol of normal process join message.
6, method as claimed in claim 5 is characterized in that, comprises the reason-code that can not the described multicast routing protocol of normal process joins message in the described multicast routing protocol join failure feedback message.
7, method as claimed in claim 6, it is characterized in that described reason-code is used for representing one or more combination of following situation: described multicast routing protocol incorrect, described multicast routing protocol upstream neighbor information and the interface IP address that carries that join message that join message do not match, do not exist upstream neighbor, do not exist the convergent point address of this group on convergent point address that the singlecast router of multicast source or convergent point, described multicast routing protocol join message and the routing device inconsistent.
8, as the described method of the arbitrary claim of claim 1-7, it is characterized in that, also comprise:
The reason that parsing can not the normal process multicast routing protocol adds;
The generation error report, and/or, the multicast forwarding list item that deletion is relevant.
As the described method of the arbitrary claim of claim 1-7, it is characterized in that 9, described structure multicast routing protocol join failure feedback message comprises:
Adopt User Datagram Protoco (UDP) UDP or letter newspaper control protocol ICMP to encapsulate described multicast routing protocol join failure feedback message.
As the described method of the arbitrary claim of claim 5-7, it is characterized in that 10, described structure multicast routing protocol join failure feedback message comprises:
Extended Protocol independent multicast agreement PIM constructs described multicast routing protocol join failure feedback message.
11, a kind of method of processing multicast routing protocol join failure is characterized in that, comprising:
Upstream device sends multicast and joins message;
Receive first multicast routing protocol join failure feedback message, described first multicast routing protocol join failure feedback message be described upstream equipment or more the routing device of upstream can not the normal process multicast routing protocol add fashionable sending.
12, method as claimed in claim 11 is characterized in that, it is that group joins message or multicast routing protocol joins message that described multicast joins message;
Described method also comprises:
Described first multicast routing protocol join failure of device forwards feeds back message downstream, and described first multicast routing protocol join failure feedback message adopts the UDP encapsulation.
13, method as claimed in claim 11 is characterized in that, it is that group joins message or multicast routing protocol joins message that described multicast joins message;
Described method also comprises:
Described first multicast routing protocol join failure of device forwards feeds back message downstream, and described first multicast routing protocol join failure feedback message adopts the ICMP encapsulation.
14, method as claimed in claim 11 is characterized in that, it is that multicast routing protocol joins message that described multicast joins message, and described first multicast routing protocol join failure feedback message is by expansion PIM structure;
Described method also comprises:
The source address of described first multicast routing protocol join failure feedback message is changed to interface IP address, and time to live TTL is changed to 1, obtains second multicast routing protocol join failure feedback message;
Equipment sends described second multicast routing protocol join failure feedback message downstream.
15, as claim 13 or 14 described methods, it is characterized in that, also comprise:
Resolve described first multicast routing protocol join failure feedback message;
The generation error report, and/or, the multicast forwarding list item that deletion is relevant.
16, a kind of routing device that feeds back multicast routing protocol join failure is characterized in that, comprising:
Receiver module is used to receive multicast routing protocol that upstream device sends and joins message or organize and join message;
Judge module, be used for described receiver module receive that described multicast routing protocol joins message or described group join message after, judge whether and can the normal process multicast routing protocol add;
The message generation module, be used for described judge module judge can not the normal process multicast routing protocol add fashionable, structure multicast routing protocol join failure feedback message;
Sending module, being used for downstream, equipment sends described multicast routing protocol join failure feedback message.
17, routing device as claimed in claim 16 is characterized in that, also comprises:
The fault processing module, be used for described judge module judge can not the normal process multicast routing protocol add fashionable, the reason that parsing can not the normal process multicast routing protocol adds, the generation error report, and/or, the multicast forwarding list item that deletion is relevant.
18, a kind of equipment of processing multicast routing protocol join failure is characterized in that, comprising:
First sending module is used for upstream device transmission multicast and joins message;
Receiver module is used to receive first multicast routing protocol join failure feedback message, described first multicast routing protocol join failure feedback message be described upstream equipment or more the routing device of upstream can not the normal process multicast routing protocol add fashionable sending.
19, equipment as claimed in claim 18 is characterized in that, described equipment is routing device;
Described equipment also comprises:
Second sending module, be used for downstream described first multicast routing protocol join failure feedback of device forwards message, perhaps construct second multicast routing protocol join failure feedback message and send to described upstream device according to described first multicast routing protocol join failure feedback message.
20, equipment as claimed in claim 18 is characterized in that, described equipment is two-layer equipment;
Described equipment also comprises:
Second sending module is used for described first multicast routing protocol join failure feedback of device forwards message downstream.
21, equipment as claimed in claim 18 is characterized in that, described equipment is the multicast receiving equipment.
22, as the described equipment of the arbitrary claim of claim 19-21, it is characterized in that, also comprise:
The fault processing module is used to resolve described first multicast routing protocol join failure feedback message, the generation error report, and/or, the multicast forwarding list item that deletion is relevant.
CN200810065809A 2008-03-07 2008-03-07 Method and device for feeding back and processing multicast routing protocol join failure Pending CN101527642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810065809A CN101527642A (en) 2008-03-07 2008-03-07 Method and device for feeding back and processing multicast routing protocol join failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810065809A CN101527642A (en) 2008-03-07 2008-03-07 Method and device for feeding back and processing multicast routing protocol join failure

Publications (1)

Publication Number Publication Date
CN101527642A true CN101527642A (en) 2009-09-09

Family

ID=41095350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810065809A Pending CN101527642A (en) 2008-03-07 2008-03-07 Method and device for feeding back and processing multicast routing protocol join failure

Country Status (1)

Country Link
CN (1) CN101527642A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591943A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Method and system for tracking multicast path by user equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591943A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Method and system for tracking multicast path by user equipment

Similar Documents

Publication Publication Date Title
US7860093B2 (en) Fast multicast convergence at secondary designated router or designated forwarder
CN101291240B (en) Multicast flow transmission method and system
US9992099B2 (en) Protocol independent multicast designated router redundancy
CN100417141C (en) Group broadcasting business realizing method
CN1988507B (en) Method, system and router for repeating multicast data
US20110051727A1 (en) Network based multicast stream duplication and merging
CN101247253A (en) Multi-cast transmission method based on virtual distribution network in IP network
CN100477635C (en) Transmission method and edge apparatus for multicast between fields
CN105099937B (en) A kind of determination method and apparatus of PMTU
KR101344015B1 (en) Join message load control system and the method in network that use PIM-SSM
CN101631043A (en) Multicast fault recovery method, multicast router and system
CN101599841A (en) Realize method, router and the system of multicast
CN109981308A (en) Message transmitting method and device
CN103716169A (en) Point-to-multipoint multicast realization method, network nodes and system
US9288136B2 (en) Method and apparatus for in-band channel change for multicast data
US8006131B2 (en) Activating correct ad-splicer profile in ad-splicer redundancy framework
CN101527642A (en) Method and device for feeding back and processing multicast routing protocol join failure
EP1430645B1 (en) Implementing multicasting
CN101388788A (en) Double layer multicast management method, system and double layer switch
JP4687611B2 (en) Multicast system and control method of multicast system
KR101562225B1 (en) Method and apparatus for preventing unnecessary assert message in network
KR100789379B1 (en) Homegateway and its method for providing multicast traffic control function
EP2192719A1 (en) Method and system for providing source specific multicast service on Ethernet network
KR101557763B1 (en) Method for transferring packet using the overlay multicast
Tran et al. Privacy-preserving multicast to explicit agnostic destinations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090909