CN104243305A - Fault processing method and device of multicast service - Google Patents

Fault processing method and device of multicast service Download PDF

Info

Publication number
CN104243305A
CN104243305A CN201410508516.7A CN201410508516A CN104243305A CN 104243305 A CN104243305 A CN 104243305A CN 201410508516 A CN201410508516 A CN 201410508516A CN 104243305 A CN104243305 A CN 104243305A
Authority
CN
China
Prior art keywords
message
data message
main management
management plate
pim
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
CN201410508516.7A
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.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201410508516.7A priority Critical patent/CN104243305A/en
Publication of CN104243305A publication Critical patent/CN104243305A/en
Pending legal-status Critical Current

Links

Abstract

An embodiment of the invention provides a fault processing method and device of a multicast service, relates to the technical field of communication, and solves the problem of multicast message forwarding interruption caused by the fact that the PIM-SM protocol operated on an E-BSR fails and the PIM-SM protocol cannot restart gracefully in an appointed time. The method includes: by a main managing board, determining whether to perform graceful restart or not; if so, constructing a message according to pre-stored first data information, wherein the first data information includes the data information of a candidate bootstrap router (C-BSR), the data information of a candidate rendezvous point (C-RP) and the data information of the PIM Hello message; transmitting the message to neighboring equipment, wherein the message includes the BSM message and the PIM Hello message. The method is applicable to data transmission of multicast networks.

Description

A kind of fault handling method of multicast service and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of fault handling method and device of multicast service.
Background technology
Multicast is a kind of point-to-multipoint IP transmission technology, and its basic thought is: when multicast source sends multicast message to a certain multicast group, only need to send a multicast message, the all-network node in this multicast group just can be made to receive identical multicast message.This feature of multicast effectively can save the network bandwidth, reduce offered load.At present, Protocol Independent Multicast-Sparse Mode agreement (Protocol Independent Multicast-Sparse Mode, be called for short PIM-SM) becomes one of most widely used Routing Protocol in multicast network because of its good autgmentability.Be illustrated in figure 1 the basic framework figure of PIM-SM multicast network.Wherein, router-A is source Designated Router (Designated Router is called for short DR), router B is convergent point (Rendezvous Point, be called for short RP), router C and router D is receiving terminal DR, and recipient A and recipient B is the main frame in a certain multicast group.
In PIM-SM multicast network, the transmitting procedure of message is as shown in Figure 1: router C and router D is first by Internet igmpinternet (Internet Group Management Protocol, be called for short IGMP) manage the user of receiving terminal and initiate to add the request of certain multicast group, to set up shared tree to router B; Then, multicast source sends multicast message, and when multicast message arrives router-A, router-A finds corresponding router B according to the address of multicast group, and multicast message is packaged into logon message and unicasts to router B; After router B receives this logon message, this logon message of decapsulation, takes out multicast message wherein and along generated shared tree, this multicast message is forwarded to recipient A and recipient B; Finally, the router B receiving this logon message sends to router-A and joins request, and sets up shortest path tree; After shortest path tree has been set up, what multicast message just can not add encapsulation along shortest path tree has been sent to router B, until when router B receives the multicast message do not encapsulated, stops encapsulation multicast message.After this, multicast message just can send to router B along the shortest path tree established, then along shared tree, multicast message is sent to recipient by router B.
The transmitting procedure of message as can be seen from above-mentioned PIM-SM multicast network, RP is the nucleus equipment that multicast message forwards, and it carry the convergence of multicast message.For this reason, the election of existing PIM-SM agreement to RP provides a set of election mechanism, this election mechanism is specially: in PIM-SM multicast network, configure multiple candidate bootstrap router (Candidate-BSR, be called for short C-BSR), the mode that each C-BSR is spread by hop-by-hop is by the information of self, as IP address, other routers in the information notification PIM-SM multicast networks such as priority, receive the C-BSR router of this information according to the election algorithm in the PIM-SM agreement of self-operating, elect optimum BootStrap Router (Elected-BSR, be called for short E-BSR).Simultaneously, also need in PIM-SM multicast network, configure multiple candidate's convergent point (Candidate-RP, be called for short C-RP), these C-RP boot to E-BSR clean culture advertisement message, comprise the multicast address that the address of C-RP and C-RP can serve in this advertisement message.The message that these send over by E-BSR collects and is a RP collection (RP-Set) and is encapsulated in the Bootstrap message (Bootstrap Message, be called for short BSM) of E-BSR and hop-by-hop is diffused into each router.Now, each router preserves same RP collection.After source router receives multicast message, obtain the RP for the service of this multicast message according to the election algorithm of the RP in the PIM-SM agreement of self-operating, then forward this multicast message according to the message transmission procedure shown in Fig. 1.
Can drawing from above-mentioned election mechanism, in order to elect suitable RP, just needing E-BSR in network can reliably working; Once the PIM-SM agreement that E-BSR in network runs breaks down, just cannot elect suitable RP, and then the transmission of message cannot be carried out, cause multicast message to forward and stop.At present, the multicast message brought between age at failure in order to the PIM-SM agreement solving operation on E-BSR forwards the problem stopped, Graceful Restart technology can be adopted to restart operating in the PIM-SM agreement that E-BSR runs, to recover the fault that PIM-SM agreement occurs.But the Graceful Restart process of PIM-SM agreement; need the protocol status maintaining neighbor device within the time of specifying (i.e. the keep-alive time of neighbor device protocol status); if Graceful Restart can not complete within the time that this is specified; the protocol status of neighbor device will lose efficacy, and finally caused multicast message to forward cutout.
Summary of the invention
The embodiment of the present invention provides a kind of fault handling method and device of multicast service, and after the PIM-SM association row in order to solve view fortune on E-BSR breaks down, PIM-SM agreement fails to complete Graceful Restart at the appointed time, causes multicast message to forward the problem of cutout.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments provides a kind of fault handling method of multicast service, comprising:
Main management plate determines whether to carry out Graceful Restart;
When carrying out Graceful Restart if determine, then according to the first data message structure message prestored, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIM hello packet;
Send described message to neighbor device, described message comprises BSM message and PIM hello packet.
Optionally, described method also comprises: determine whether described Graceful Restart terminates;
If described Graceful Restart terminates, then delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
Optionally, described method also comprises: receive the fault-finding message sent from management board;
If when described main management plate does not break down, send response message to described from management board.
Optionally, described method also comprises: described first data message that transmission stores or described second data message from management board, store described first data message or the second data message from management board to described described in making.
Second aspect, embodiments provides a kind of fault handling method of multicast service, comprising:
According to the data message structure message prestored, described in the data message that prestores comprise the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet, described in the data message that prestores be that main management plate sends;
Send described message to neighbor device, described message comprises BSM message and PIM hello packet.
Optionally, before the data message structure message that described basis prestores, described method also comprises:
The switching message that receiving equipment manager sends; Or,
Send fault-finding message to described main management plate; If do not receive the response message that described main management plate sends in Preset Time, then determine that described main management plate breaks down.
Optionally, described determine that described main management plate breaks down after, described method also comprises:
Stop fault keep-alive timer, and continue to send described fault-finding message to described main management plate, until receive the response message of described main management plate transmission, then stop structure message, and startup separator keep-alive timer.
The third aspect, embodiments provides a kind of main management plate, comprising:
Determination module, carries out Graceful Restart for determining whether;
Constructing module, if when determining to carry out Graceful Restart for described determination module, then according to the first data message structure message prestored, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIM hello packet;
Sending module, for sending the message of described constructing module structure to neighbor device, described message comprises BSM message and PIM hello packet.
Optionally, described main management plate also comprises: memory module;
Described determination module, also for determining whether described Graceful Restart terminates;
Described memory module, if terminate for described determination module determination Graceful Restart, then delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
Optionally, described main management plate also comprises: receiver module;
Described receiver module, for receiving the fault-finding message sent from management board;
Described sending module, if when also not breaking down for described main management plate, sends response message to described from management board.
Optionally, described sending module, also for sending described first data message of storage or described second data message to described from management board, to make describedly to store described first data message or described second data message from management board.
Fourth aspect, embodiments provides a kind of from management board, comprising:
Constructing module, for constructing message according to the data message prestored, the described data message prestored comprises the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet, described in the data message that prestores be that main management plate sends;
Sending module, for sending the message of described constructing module structure to neighbor device, described message comprises BSM message and PIM hello packet.
Optionally, describedly also to comprise from management board: receiver module;
Described receiver module, for before described constructing module is according to the data message structure message prestored, the switching message that receiving equipment manager sends; Or,
Described sending module, also for sending fault-finding message to main management plate;
Described determination module, if the response message also not receiving the transmission of described main management plate for described receiver module in Preset Time, then determines that described main management plate breaks down.
Optionally, describedly also to comprise from management board: processing module;
Described processing module, after determining that at described determination module described main management plate breaks down, stops fault keep-alive timer;
Described sending module, also for when described processing module stops fault keep-alive timer, sends described fault-finding message to described main management plate, until described receiver module receives the response message that described main management plate sends;
Described constructing module, also for stopping structure message when described receiver module receives described response message, described processing module, also for startup separator keep-alive timer.
The processing method of a kind of multicast service fault that the embodiment of the present invention provides and device, when the PIM-SM agreement that main management plate runs breaks down, when needing to carry out Graceful Restart to PIM-SM agreement, the first data message structure message that main management plate can prestore according to self; Wherein, the first data message comprises the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet; The message of structure is BSM message and PIM hello packet.By the BSM message constructed according to the first data message prestored and PIM hello packet are sent to neighbor device, the protocol status of the neighbor device that upgrades in time and neighbor state.Like this; even if PIM-SM agreement is in operation break down; fail to complete Graceful Restart within the time of specifying; main management plate still can construct according to the data message prestored and send BSM message and PIM hello packet, and the E-BSR keep-alive time thus can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time.So because E-BSR keep-alive time and PIM Hello neighbor keep-alive time do not exceed the time limit, the election that still can complete RP of the E-BSR of fault, ensures that multicast message can correctly forward.Solve on E-BSR run PIM-SM agreement break down after, PIM-SM agreement fails to complete Graceful Restart at the appointed time, cause multicast message forward cutout problem.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the basic framework figure of PIM-SM multicast network in prior art;
The flow chart of the fault handling method of a kind of multicast service that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the fault handling method of the another kind of multicast service that Fig. 3 provides for the embodiment of the present invention;
The fault handling method flow chart of the another kind of multicast service that Fig. 4 provides for the embodiment of the present invention;
The fault handling method flow chart of the another kind of multicast service that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of main management plate that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the another kind of main management plate that Fig. 7 provides for the embodiment of the present invention;
A kind of structural representation from management board that Fig. 8 provides for the embodiment of the present invention;
The another kind that Fig. 9 provides for the embodiment of the present invention is from the structural representation of management board;
The entity apparatus schematic diagram of a kind of main management plate that Figure 10 provides for the embodiment of the present invention;
A kind of entity apparatus schematic diagram from management board that Figure 11 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Embodiments provide a kind of fault handling method of multicast service, the method can be used for the router adopting main management plate design, also can be used for the router adopting principal and subordinate's management board design.As shown in Figure 2, the method comprises:
Step 201, main management plate determine whether to carry out Graceful Restart.
Wherein, described main management plate is the main management plate of E-BSR, and PIM-SM agreement operates on the main management plate of E-BSR, so, the main management plate of E-BSR determines whether to carry out Graceful Restart, and the main management plate for E-BSR determines that its PIM-SM agreement run is the need of Graceful Restart.Concrete, can judge according to the practical operation situation of the PIM-SM agreement that E-BSR main management plate runs.If the PIM-SM agreement that E-BSR main management plate runs is run and do not broken down, then PIM-SM agreement is without the need to carrying out Graceful Restart; If the PIM-SM agreement that E-BSR main management plate runs breaks down, then illustrate that PIM-SM agreement needs to carry out Graceful Restart.Example, when PIM-SM agreement is in running, when there is the fault of low memory, main management plate can carry out Graceful Restart according to this fault message.
If when step 202 is determined to carry out Graceful Restart, then according to the first data message structure message prestored, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIM hello packet.
Concrete, the data message of C-BSR comprises: BSR address, BSR priority, BSR role and BSR state.Concrete, knowing in network behind each BSR address and BSR priority, just E-BSR can be elected according to the election algorithm in PIM-SM agreement; BSR role refers to this configuration of routers to be that C-BSR does not still configure C-BSR; BSR state refers to whether the router being configured to C-BSR is E-BSR or C-BSR etc.The data message of C-RP comprises: RP address, RP-Set, RP priority belonging to it and RP keep-alive time.The data message of PIM hello packet comprises: interface identity mark (Generation Identity is called for short Gen ID), the second address list.Wherein, Gen ID represents the identity information of neighbor device, if Gen ID changes, illustrates that neighbor device changes; Second address list is for searching the neighbor device of down hop.
Step 203, send described message to neighbor device, described message comprises BSM message and PIM hello packet.
The fault handling method of the multicast service described in integrating step 201-203, concrete, when the PIM-SM agreement that E-BSR main management plate runs breaks down, when needing to carry out Graceful Restart to PIM-SM agreement, main management plate can according to the first data message structure BSM message and the PIM hello packet prestored, by the BSM message constructed according to the first data message prestored and PIM hello packet are sent to neighbor device, the protocol status of the neighbor device that can upgrade in time and neighbor state.Like this, when multicast message arrives the E-BSR of restarting because of fault, main management plate according to the protocol status of the neighbor device upgraded and neighbor state, can continue forwarding multicasting message, thus ensures that multicast message there will not be cutout in the process forwarded.
Optionally, as shown in Figure 3, after execution of step 201-step 203, the fault handling method of described multicast service can also comprise:
Step 204, determine whether described Graceful Restart terminates.
Concrete, whether Graceful Restart terminates the main management plate of E-BSR, whether completes convergence by the PIM-SM agreement that E-BSR main management plate runs, and also namely whether PIM-SM protocol malfunctions is recovered to determine.If PIM-SM protocol malfunctions is recovered, illustrate that Graceful Restart terminates, then perform step 205; If PIM-SM protocol malfunctions is not recovered, illustrate that Graceful Restart does not terminate, then continue to perform step 202-step 204.
If the described Graceful Restart of step 205 terminates, then delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
Wherein, the first data message is before main management plate Graceful Restart, the data message of C-BSR that main management plate stores, the data message of candidate's convergent point C-RP and the data message of PIM hello packet.Second data message is after main management plate Graceful Restart terminates, the data message of the C-BSR that main management plate stores again, the data message of candidate's convergent point C-RP and the data message of PIM hello packet.
After the PIM-SM protocol grace rebooting that main management plate runs terminates, partial data may be had and lose.Such as, RP information data deletes, and neighboring device information deletes, or other may situation.Now, if do not upgrade the first data message prestored, the first data message and actual data message that prestore just may be caused, the situation that namely the second data message is inconsistent.So main management plate needs the first data message prestored to delete, and again stores the second data message.Like this, just can ensure that the data message that main management plate stores is accurate, and then the correctness of the BSM message that main management plate utilizes these data messages to construct and PIM hello packet can be ensured.
The processing method of a kind of multicast service fault that the embodiment of the present invention provides, when the PIM-SM agreement that E-BSR main management plate runs breaks down, when needing to carry out Graceful Restart to PIM-SM agreement, now, the first data message that main management plate can prestore according to self constructs message; Wherein, the first data message comprises the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet; The message of structure is BSM message and PIM hello packet.By the BSM message constructed according to the first data message prestored and PIM hello packet are sent to neighbor device, the protocol status of the neighbor device that just can upgrade in time and neighbor state.Like this; even if after the PIM-SM agreement that E-BSR main management plate runs breaks down; PIM-SM agreement failed to complete Graceful Restart within the time of specifying; main management plate still can construct according to the data message prestored and send BSM message and PIM hello packet, and the E-BSR keep-alive time thus can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time.So because E-BSR keep-alive time and PIM Hello neighbor keep-alive time do not exceed the time limit, the election that still can complete RP of the E-BSR of fault, ensures that multicast message can correctly forward.Solve on E-BSR run PIM-SM agreement break down after, PIM-SM agreement fails to complete Graceful Restart at the appointed time, cause multicast message forward cutout problem.
Embodiment two
The fault handling method of a kind of multicast service that the embodiment of the present invention provides, the method is applied to the router adopting double-pipe type plate Redundancy Design mode, and this double-pipe type plate comprises main management plate and from management board.As shown in Figure 4, when the PIM-SM agreement that E-BSR main management plate runs is determined to need to carry out Graceful Restart, step 401-step 405 can be performed, wherein, step 401-step 405 is identical with the step 201-step 205 in embodiment one, specifically can description in reference example one, do not repeat them here; Further, main management plate, while carrying out Graceful Restart, also performs step 406-407.Concrete,
Step 401, main management plate determine whether to carry out Graceful Restart.
If when step 402 is determined to carry out Graceful Restart, then according to the first data message structure message prestored, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIM hello packet.
Step 403, send described message to neighbor device, described message comprises BSM message and PIM hello packet.
Step 404, determine whether described Graceful Restart terminates.
If Graceful Restart terminates, namely PIM-SM protocol malfunctions is recovered, then perform step 405; If Graceful Restart does not terminate, namely PIM-SM protocol malfunctions is not recovered, then continue to perform step 402-step 404.
If the described Graceful Restart of step 405 terminates, then delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
Step 406, receive from management board send fault-finding message.
Wherein, described fault-finding message is construct from management board according to the data message prestored, and for dissimilar protocol function, can construct dissimilar fault-finding message from management board.
If when the described main management plate of step 407 does not break down, send response message to described from management board.
Concrete, main management plate receives the fault-finding message sent from management board, and judges whether the agreement operation of self breaks down according to this fault-finding message.If do not break down, then main management plate sends response message to from management board, like this, does not break down from management board according to the response message determination main management plate received; If break down, then main management plate does not send response message, like this, does not receive response message from management board, thus determines that main management plate breaks down.By this method, just according to the response message whether receiving the transmission of main management plate, can determine whether main management plate breaks down from management board.
Optionally, for the router adopting double-pipe type plate Redundancy Design mode, before step 401, the method that the embodiment of the present invention provides can also comprise:
Described first data message that step 400, transmission store is to from management board, described from described first data message of management board storage to make.
Concrete, the first data message stored can send to from management board by main management plate.Wherein, the first data message is before main management plate Graceful Restart, the data message of C-BSR that main management plate stores, the data message of candidate's convergent point C-RP and the data message of PIM hello packet.
Optionally, after step 405, the method that the embodiment of the present invention provides also comprises:
Described second data message that step 408, transmission store is to from management board, described from described second data message of management board storage to make.
Wherein, the second data message is after main management plate Graceful Restart terminates, the data message of the C-BSR that main management plate stores again, the data message of candidate's convergent point C-RP and the data message of PIM hello packet.
The processing method of a kind of multicast service fault that the embodiment of the present invention provides, when the PIM-SM protocol malfunctions that main management plate runs, when needing to carry out Graceful Restart to PIM-SM agreement, the first data message structure message that main management plate can prestore according to self; Wherein, the first data message comprises the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet; The message of structure is BSM message and PIM hello packet.By the BSM message constructed according to the first data message prestored and PIM hello packet are sent to neighbor device, the protocol status of the neighbor device that just can upgrade in time and neighbor state.Like this; even if after the PIM-SM protocol malfunctions of the upper operation of E-BSR; PIM-SM agreement failed to complete Graceful Restart within the time of specifying; main management plate still can construct according to the data message prestored and send BSM message and PIM hello packet, and the E-BSR keep-alive time thus can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time.So because E-BSR keep-alive time and PIM Hello neighbor keep-alive time do not exceed the time limit, the E-BSR that PIM-SM agreement breaks down still can complete the election of RP, ensure that multicast message can correctly forward.Solve the PIM-SM agreement of operation on E-BSR after breaking down, PIM-SM agreement fails to complete Graceful Restart at the appointed time, causes multicast message to forward the problem of cutout.Further, when after the PIM-SM protocol grace rebooting that main management plate runs, its data message stored may change, now need again the data message after storage change, and send to from management board, from management board before the data message receiving the transmission of main management plate, first the data message that self stores is emptied, and then receive the data message of main management plate transmission.Like this, the consistency of main management plate and the data message from management board storage can just be ensured.
Embodiment three
Embodiments provide a kind of fault handling method of multicast service, the method is applied to the E-BSR router adopting double-pipe type plate Redundancy Design mode, and this double-pipe type plate comprises main management plate and from management board.When main management plate break down cannot carry out Graceful Restart time, replace main management plate to carry out troubleshooting from management board, therefore, the executive agent of the method be E-BSR from management board.Concrete, as shown in Figure 5, the method comprises:
Step 501, according to the data message structure message prestored, described in the data message that prestores comprise the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
Wherein, the data message prestored is that main management plate sends to from management board, receives and the data message that sends of the main management plate stored from management board.
Step 502, send described message to neighbor device, described message comprises BSM message and PIM hello packet.
Concrete, with reference to figure 5, when the main management plate of E-BSR break down cannot be recovered by Graceful Restart time, BSM message and PIM hello packet can be constructed according to the data message prestored from management board.Wherein, the data message prestored is that main management plate sends to before the failure from management board.From management board according to the data message structure BSM message and PIM hello packet prestored, until the PIM-SM agreement run from management board completes convergence, stop structure BSM message and PIM hello packet.Like this; can avoid from management board PIM-SM protocol convergence overlong time; cause the problem that the E-BSR keep-alive time exceeds the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time, the protocol status and the neighbor state that avoid neighbor device lost efficacy, thus ensure that multicast message forwarding can not stop.
Optionally, before step 501, described method also comprises:
The switching message that step 500, receiving equipment manager send; Or, send fault-finding message to described main management plate; If do not receive the response message that described main management plate sends in Preset Time, then determine that described main management plate breaks down.
Concrete, for this situation of switching message whether receiving equipment manager and send, when certain router failure in PIM-SM multicast network, equipment manager can send switch message to this router from management board, receive the switching message of equipment manager transmission from management board after, immediately according to receive from main management plate and the data message stored constructs and transmission BSM message and PIM hello packet, until started from management board PIM-SM agreement.
For this situation of response message whether receiving the transmission of main management plate from management board, fault-finding message can be periodically sent to main management plate from management board, wherein, fault-finding message constructs from management board according to the data message prestored, and dissimilar protocol function constructs dissimilar fault-finding message.If do not receive the response message of main management plate transmission within the time of presetting from management board, illustrate that the protocol function that fault-finding message is corresponding therewith breaks down.Now, just can determine that this protocol function of main management plate breaks down from management board, to construct according to the related data information prestored from management board and send this protocol massages, replace the agreement that main management plate breaks down.
Owing to containing the agreement of numerous difference in functionality in PIM-SM agreement that main management plate runs, so for the different agreement function in PIM-SM agreement, dissimilar fault-finding message can be used.Example, for PIM protocol hello whether fault, can according to the data message of the PIM hello packet prestored, structure PIM Hello fault-finding message.Example, for E-BSR fault, BSM fault-finding message can be constructed according to the data message of the data message of the C-BSR prestored and C-RP.
Example, in PIM-SM agreement, the keep-alive time of PIM Hello neighbours is traditionally arranged to be the polling interval of 3.5 times, and the polling interval of acquiescence is 30 seconds.Be the polling interval of 3.5 times below with the keep-alive time of PIM Hello neighbours; the polling interval of acquiescence is 30 seconds; the detect cycle of probe messages is a polling interval (namely 30 seconds) is example, to being how to detect main management plate protocol function whether being described in detail of fault from management board.
For PIM protocol hello fault, if in first detect cycle, have received the response message of main management plate transmission from management board, then illustrate that PIM protocol hello does not break down.Now, continue to send PIM Hello fault-finding message to main management plate from management board.If not receive response message from management board in first detect cycle, then PIM Hello neighbours have been present in a detect cycle, now the fastest ageing time of PIM Hello neighbours becomes the polling interval of 2.5 times, if in the detect cycle of two after this, the response message of main management plate transmission is have received from management board, also in the fastest ageing time of PIM Hello neighbours, namely have received the response message that main management plate sends, then illustrate that PIM protocol hello is normal, does not break down; If all do not receive the response message of main management plate transmission in ensuing two detect cycles from management board; then illustrate that PIM protocol hello breaks down; need to replace main management plate to perform the function of PIM protocol hello from management board; now; neighbor device is sent it to according to the data message of the PIM hello packet received from main management plate structure PIM hello packet from management board; avoid the PIM Hello neighbor keep-alive time to exceed the time limit, and then ensure that multicast message forwarding can not stop.
After main management plate breaks down if detect, fault keep-alive timer can be stopped from management board, and continue to send fault-finding message to main management plate, until receive the response message that main management plate sends, then stop structure message, and startup separator keep-alive timer.If receive the response message that described main management plate sends in Preset Time, then determine that described main management plate does not break down, and startup separator keep-alive timer.
Concrete, the PIM-SM agreement that main management plate runs breaks down, fault keep-alive timer can be stopped from management board, continue to send fault-finding message to main management plate, until receive the response message of main management plate transmission from management board, illustrate that the PIM-SM protocol malfunctions that main management plate runs is recovered, main management plate self normally can send message; Now, continuing to send message without the need to replacing main management plate from management board, from management board according to the response message received, stopping structure message and upgrading fault keep-alive timer.Then, continue to send fault-finding message to main management plate from management board, continue the working condition of detection main management plate; And if from management board have received in Preset Time main management plate send response message; then illustrate that the PIM-SM protocol function that main management plate runs recovers; fault solves; now from management board startup separator keep-alive timer; then; continue to send fault-finding message to main management plate, continue the working condition of detection main management plate.
Embodiments provide a kind of fault handling method of multicast service, under can be applicable to double-pipe type plate scene, from management board according to the data message structure BSM message of the data message of the C-BSR prestored, the data message of C-RP and PIM hello packet and PIM hello packet, then send to neighbor device by according to the BSM message of the data message structure prestored and PIM hello packet, neighbor device just can upgrade in time self protocol status and neighbor state.Like this, even if after the PIM-SM agreement that E-BSR main management plate runs breaks down, PIM-SM agreement failed to complete Graceful Restart within the time of specifying, or after master-slave swap, because the PIM-SM agreement run from management board is long for start-up time, when can not start within E-BSR keep-alive time and PIM Hello neighbor keep-alive time, the data message that still can send according to main management plate from management board constructs and sends BSM message and PIM hello packet, thus the E-BSR keep-alive time can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time, because E-BSR keep-alive time and PIM Hello neighbor keep-alive time do not exceed the time limit, main management plate can be replaced to complete the election of RP from management board, ensure that multicast message can correctly forward.After solving the PIM-SM protocol malfunctions that E-BSR runs, when PIM-SM agreement fails to complete Graceful Restart at the appointed time, the multicast message caused forwards the problem of cutout.
Embodiment four
The embodiment of the present invention is to adopt the router of double-pipe type plate Redundancy Design mode, and in PIM-SM multicast network, the processing method after the PIM-SM agreement that E-BSR main management plate runs breaks down is described in further detail.Concrete, this fault handling method comprises:
Step 601, main management plate store the first data message and send to from management board by this data message, accordingly, receive and store the first data message of main management plate transmission from management board.
Step 602, main management plate are determined to carry out Graceful Restart.
Step 603, main management buttress construct message according to the first data message prestored and send to neighbor device.
Wherein, described first data message comprises: the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.Described message comprises: BSM message and PIM hello packet.Concrete, according to the data message of C-BSR and the data message structure BSM message of C-RP, according to the data message structure PIM hello packet of PIM hello packet.
Whether step 604, main management plate determination Graceful Restart terminate.
If E-BSR main management plate Graceful Restart terminates, illustrate that the PIM-SM protocol malfunctions that E-BSR main management plate runs is recovered, then perform step 605; If E-BSR main management plate Graceful Restart does not terminate, illustrate that the PIM-SM protocol malfunctions that E-BSR main management plate runs is not recovered, then perform step 603-step 604.
The first data message stored deleted by step 605, main management plate, and stores the second data message.
Now, the PIM-SM protocol malfunctions that E-BSR main management plate runs is recovered, in order to ensure the accuracy of the data message that main management plate stores after PIM-SM protocol grace rebooting, main management plate can delete the first data message prestored, and again stores the second data message.
Step 606, from management board delete store the first data message, receive simultaneously and store main management plate send the second data message.
Optionally, when the whole equipment fault of main management plate, can carry out master-slave equipment switching, now, equipment manager can send and switch message to from management board, substitutes main management plate carry out troubleshooting from management board according to the switching message received.This fault handling method comprises:
Step 606, to construct according to the data message prestored from management board and to send BSM message and PIM hello packet to neighbor device.
Wherein, the data message prestored can be the first data message, also can be the second data message.When the data message prestored is the first data message, mean that main management plate whole equipment when starting just breaks down, now, to construct according to the first data message prestored from management board and send BSM message and PIM hello packet to neighbor device; When the data message prestored is the second data message, mean that the problem of whole equipment fault appears in main management plate after carrying out Graceful Restart, now, to construct according to the second data message prestored from management board and send BSM message and PIM hello packet to neighbor device.
For step 606, main management plate can be substituted from management board and construct and send BSM message and PIM hello packet to neighbor device, until the PIM-SM protocol convergence run from management board completes, just stop initiatively constructing BSM message and PIM hello packet.
Optionally, if a certain protocol function fault of the PIM-SM agreement that E-BSR main management plate runs, but E-BSR main management plate does not break down, PIM-SM agreement is run and is not also broken down, the PIM-SM agreement then main management plate run can not carry out Graceful Restart, and equipment also can not carry out master-slave swap.If this protocol function always fault goes down, multicast message finally will inevitably be caused to forward cutout.Now, by sending fault-finding message to main management plate, can determine whether a certain protocol function of the PIM-SM agreement that main management plate runs breaks down from management board.
Concrete, periodically send the fault-finding message that constructs for a certain protocol function to main management plate from management board.Wherein, this fault-finding message is construct from management board according to the data message prestored, and for dissimilar protocol function, can construct dissimilar fault-finding message from management board.If receive the response message of main management plate transmission in Preset Time from management board, then determine that on main management plate, this protocol function recovers, after this, continue periodically to send this fault-finding message from management board; If do not receive the response message of main management plate transmission in Preset Time from management board, then determine that on main management plate, this protocol function breaks down.Now, to construct according to the data message prestored from management board and send message corresponding to the protocol function that breaks down, replacing main management plate to complete its protocol function broken down.Simultaneously, continue periodically to send this fault-finding message from management board, until receive the response message of main management plate transmission, now, stop from management board constructing the message corresponding to protocol function broken down, and constructed by the main management plate of fault recovery and send corresponding message.
The processing method of a kind of multicast service fault that the embodiment of the present invention provides, if the PIM-SM agreement that main management plate runs breaks down, need to carry out Graceful Restart to PIM-SM agreement, then during PIM-SM protocol grace rebooting, main management plate can utilize the data message prestored to construct and send BSM message and PIM hello packet, to avoid E-BSR keep-alive time and PIM Hello neighbor keep-alive time to exceed the time limit, and then can not stop when ensureing that multicast message forwards; Further, can also according to the switching message self whether receiving equipment manager transmission from management board, or whether receive the response message that main management plate sends, determine whether the PIM-SM protocol function that main management plate runs breaks down, need not need by the protocol function that main management plate whether will be replaced to break down from management board.If receive the switching message that equipment manager sends or the response message not receiving the transmission of main management plate in Preset Time from management board, then illustrate that the PIM-SM agreement that main management plate runs breaks down.Now, from the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet that management board can send according to the main management plate prestored, construct and send BSM message and PIM hello packet to neighbor device, the protocol status of the neighbor device that upgrades in time and neighbor state.Solve on E-BSR run PIM-SM agreement break down after, PIM-SM agreement fails to complete Graceful Restart at the appointed time, cause multicast message forward cutout problem.
Embodiment five
Embodiments provide a kind of main management plate 70, as shown in Figure 6, comprising:
Determination module 701, carries out Graceful Restart for determining whether;
Constructing module 702, if when determining to carry out Graceful Restart for described determination module 701, then according to the first data message structure message prestored, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIMHello message;
Sending module 703, for sending the message of described constructing module 702 structure to neighbor device, described message comprises BSM message and PIM hello packet.
Optionally, as shown in Figure 7, described main management plate 70 also comprises: memory module 704;
Described determination module 701, also for determining whether described Graceful Restart terminates;
Described memory module 704, if determine that Graceful Restart terminates for described determination module 701, then delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIMHello message.
Optionally, as shown in Figure 7, described main management plate 70 also comprises: receiver module 705;
Described receiver module 705, for receiving the fault-finding message sent from management board;
Described sending module 703, if when also not breaking down for described main management plate 70, sends response message to described from management board.
Optionally, as shown in Figure 7, described sending module 703, also for sending described first data message of storage or described second data message to described from management board, to make describedly to store described first data message or described second data message from management board.
Embodiments provide a kind of main management plate, whether this main management plate is broken down in running by the PIM-SM agreement that determination module determination main management plate runs, to determine whether main management plate carries out Graceful Restart; Then BSM message and PIM hello packet is constructed by constructing module according to the first data message prestored; Finally by message constructing module constructed by sending module to neighbor device, with the protocol status of the neighbor device that upgrades in time and neighbor state.Like this; even if the PIM-SM agreement that main management plate runs breaks down in running; need to carry out Graceful Restart; main management plate still can construct according to the data message prestored and send BSM message and PIM hello packet, and the E-BSR keep-alive time thus can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time.Solve PIM-SM agreement that main management plate runs after running breaks down, fail to complete Graceful Restart at the appointed time, cause multicast message to forward the problem of cutout.
Embodiment six
Embodiments provide a kind of from management board 80, as shown in Figure 8, comprising:
Constructing module 801, for according to the data message structure message prestored, described in the data message that prestores comprise the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet;
Sending module 802, for sending the message of described constructing module 801 structure to neighbor device, described message comprises BSM message and PIM hello packet.
Optionally, as shown in Figure 9, describedly also to comprise from management board 80: receiver module 803 and determination module 804;
Described receiver module 803, for before described constructing module 801 is according to the data message structure message prestored, the switching message that receiving equipment manager sends; Or,
Described sending module 802, also for sending fault-finding message to main management plate; Described determination module 804, if the response message also not receiving the transmission of described main management plate for described receiver module 803 in Preset Time, then determines that described main management plate breaks down.
Optionally, as shown in Figure 9, describedly also to comprise from management board 80: processing module 805;
Described processing module 805, after determining that described main management plate breaks down at described determination module 804, stops fault keep-alive timer;
Described sending module 802, also for when described processing module 805 stops fault keep-alive timer, sends described fault-finding message to described main management plate, until described receiver module 803 receives the response message that described main management plate sends;
Described constructing module 801, also for stopping structure message when described receiver module 803 receives described response message;
Described processing module 805, also for startup separator keep-alive timer.
Embodiments provide a kind of from management board, the data message structure BSM message of the data message of C-BSR, the data message of C-RP and the PIM hello packet that prestore according to memory module from management board and PIM hello packet, then by sending module, the BSM message constructed according to the data message that prestores and PIM hello packet are sent to neighbor device, neighbor device just can upgrade in time self protocol status and neighbor state.Like this, even if after the PIM-SM agreement run from management board breaks down in the process run, main management plate failed to complete Graceful Restart within the time of specifying, or after master-slave swap, due to long for start-up time from management board, when can not start within E-BSR keep-alive time and PIM Hello neighbor keep-alive time, the data message that still can receive according to receiver module from management board constructs and sends BSM message and PIM hello packet, thus the E-BSR keep-alive time can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time, because E-BSR keep-alive time and PIM Hello neighbor keep-alive time do not exceed the time limit, the PIM-SM agreement run from management board still can after complete the election of RP, ensure that multicast message can correctly forward.Solve the PIM-SM agreement run from management board after running breaks down, when failing to complete Graceful Restart at the appointed time, the multicast message caused forwards the problem of cutout.
Embodiment seven
Embodiments provide a kind of main management plate 90, as shown in Figure 10, comprising: transmitter 901, receiver 902, memory 903, processor 904, bus system 905.
Wherein, transmitter 901, to be coupled by bus system 905 between memory 903 and processor 904, wherein bus system 905 is except comprising data/address bus, can also comprise power bus, control bus and status signal bus in addition etc.But for the purpose of clearly demonstrating, in Fig. 10 various bus is all designated as bus system 905.
Memory 903 can comprise read-only memory and random access memory, and provides instruction and data to processor 904.A part for memory 903 can also comprise nonvolatile RAM (NVRAM).
Memory 903 stores following element, executable module or data structure, or their subset, or their superset:
Operational order: comprise various operational order, for realizing various operation.
Operating system: comprise various system program, for realizing various basic business and processing hardware based task.
Described processor 904 can also be called CPU (Central Processing Unit, CPU).The operational order (this operational order can store in an operating system) that described processor 904 stores by calling memory 903, performs and operates as follows: determine whether main management plate carries out Graceful Restart; When carrying out Graceful Restart if determine, then according to the first data message structure message that described memory 903 prestores, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIM hello packet; Described transmitter 901 sends described message to neighbor device, and described message comprises BSM message and PIM hello packet.
Optionally, described processor 904 is also for determining whether described Graceful Restart terminates; Described memory 903 is also for after described processor 904 determines that Graceful Restart terminates, delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
Optionally, described receiver 902 is for receiving the fault-finding message sent from management board; If when described transmitter 901 does not break down for described main management plate, send response message to described from management board.
Optionally, described transmitter 901 also for sending described first data message or described second data message that memory 903 stores to described from management board, to make described to store described first data message or described second data message from management board.
The method that the invention described above embodiment discloses can be applied in processor 904, or is realized by processor 904.Processor 904 may be a kind of integrated circuit (IC) chip, has the disposal ability of signal.In implementation procedure, each step of said method can be completed by the instruction of the integrated logic circuit of the hardware in processor 904 or software form.Above-mentioned processor 904 can be general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), ready-made programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.The processor etc. of general processor can be microprocessor or this processor also can be any routine.Step in conjunction with the method disclosed in the embodiment of the present invention directly can be presented as that hardware decoding processor is complete, or combines complete by the hardware in decoding processor and software module.Software module can be positioned at random asccess memory, flash memory, read-only memory, in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable memory, register.This storage medium is positioned at memory 903, and processor 904 reads the information in memory 903, completes the step of said method in conjunction with its hardware.
Embodiments provide a kind of main management plate, when the PIM-SM agreement that main management plate runs breaks down in running, when needing to carry out Graceful Restart, the first data message structure message that main management plate can prestore according to self; Wherein, the first data message comprises the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet; The message of structure is BSM message and PIM hello packet.By the BSM message constructed according to the first data message prestored and PIM hello packet are sent to neighbor device, the protocol status of the neighbor device that just can upgrade in time and neighbor state.Like this; even if after E-BSR fault; fail to complete Graceful Restart within the time of specifying; main management plate still can construct according to the data message prestored and send BSM message and PIM hello packet, and the E-BSR keep-alive time thus can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time.So because E-BSR keep-alive time and PIM Hello neighbor keep-alive time do not exceed the time limit, the election that still can complete RP of the E-BSR of fault, ensures that multicast message can correctly forward.Solve on E-BSR run PIM-SM agreement break down after, fail to complete Graceful Restart at the appointed time, cause multicast message forward cutout problem.
Embodiment eight
Embodiments provide a kind of fault handling method of multicast service from management board 100, as shown in figure 11, comprising: transmitter 1001, memory 1003, processor 1004, bus system 1005.
Wherein, transmitter 1001, to be coupled by bus system 1005 between memory 1003 and processor 1004, wherein bus system 1005 is except comprising data/address bus, can also comprise power bus, control bus and status signal bus in addition etc.But for the purpose of clearly demonstrating, in fig. 11 various bus is all designated as bus system 1005.
Memory 1003 can comprise read-only memory and random access memory, and provides instruction and data to processor 1004.A part for memory 1003 can also comprise nonvolatile RAM (NVRAM).
Memory 1003 stores following element, executable module or data structure, or their subset, or their superset:
Operational order: comprise various operational order, for realizing various operation.
Operating system: comprise various system program, for realizing various basic business and processing hardware based task.
Described processor 1004 can also be called CPU (Central Processing Unit, CPU).The operational order (this operational order can store in an operating system) that described processor 1004 stores by calling memory 1003, with the data message prestored according to memory 1003 structure message, described in the data message that prestores comprise the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet; The message of described transmitter 1001 sending processor 1004 structure is to neighbor device, and described message comprises BSM message and PIM hello packet.
Optionally, described receiver 1002 for described processor 1004 according to prestore data message structure message before, receiving equipment manager send switching message; Or described transmitter 1001, for before described processor 1004 is according to the data message structure message prestored, sends fault-finding message to main management plate; If described processor 1004 does not also receive the response message of described main management plate transmission in Preset Time for described receiver 1002, then determine that described main management plate breaks down.
Optionally, described processor 1004, also for after determining that described main management plate breaks down, stops fault keep-alive timer; Described transmitter 1001, also for after described processor 1004 stops fault keep-alive timer, continues to send described fault-finding message to described main management plate, until described receiver 1002 receives the response message that described main management plate sends; Described processor 1004, also for after described receiver 1002 receives described response message, stops structure message, and startup separator keep-alive timer.
Optionally, if described processor 1004 also receives the response message of described main management plate transmission in Preset Time for described receiver 1002, then determine that described main management plate does not break down, and startup separator keep-alive timer.
Optionally, described receiver 1002 is also for before the switching message that sends at receiving equipment manager, or transmitter 1001 sends fault-finding message to before main management plate, receives the data message that main management plate sends; Described memory 1003 stores the data message that described receiver 1001 receives.
Embodiments provide one from management board, under can be applicable to double-pipe type plate scene, from management board according to the data message structure BSM message of the data message of the C-BSR prestored, the data message of C-RP and PIM hello packet and PIM hello packet, then send to neighbor device by according to the BSM message of the data message structure prestored and PIM hello packet, neighbor device just can upgrade in time self protocol status and neighbor state.Like this, even if after E-BSR fault, main management plate failed to complete Graceful Restart within the time of specifying, or after master-slave swap, due to long for start-up time from management board, when can not start within E-BSR keep-alive time and PIM Hello neighbor keep-alive time, the data message that still can send according to main management plate from management board constructs and sends BSM message and PIM hello packet, thus the E-BSR keep-alive time can not be caused to exceed the time limit to exceed the time limit with the PIM Hello neighbor keep-alive time, because E-BSR keep-alive time and PIM Hello neighbor keep-alive time do not exceed the time limit, main management plate can be replaced to complete the election of RP from management board, ensure that multicast message can correctly forward.After solving E-BSR fault, when failing to complete Graceful Restart at the appointed time, the multicast message caused forwards the problem of cutout.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, be called for short ROM), random access memory (Random Access Memory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a fault handling method for multicast service, is characterized in that, comprising:
Main management plate determines whether to carry out Graceful Restart;
When carrying out Graceful Restart if determine, then according to the first data message structure message prestored, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIM hello packet;
Send described message to neighbor device, described message comprises BSM message and PIM hello packet.
2. method according to claim 1, is characterized in that, described method also comprises:
Determine whether described Graceful Restart terminates;
If described Graceful Restart terminates, then delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
3. method according to claim 1, is characterized in that, described method also comprises:
Receive the fault-finding message sent from management board;
If when described main management plate does not break down, send response message to described from management board.
4. method according to claim 1 and 2, it is characterized in that, described method also comprises: described first data message that transmission stores or described second data message from management board, store described first data message or the second data message from management board to described described in making.
5. a fault handling method for multicast service, is characterized in that, comprising:
According to the data message structure message prestored, described in the data message that prestores comprise the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet, described in the data message that prestores be that main management plate sends;
Send described message to neighbor device, described message comprises BSM message and PIM hello packet.
6. method according to claim 5, is characterized in that, before the data message structure message that described basis prestores, described method also comprises:
The switching message that receiving equipment manager sends; Or,
Send fault-finding message to described main management plate; If do not receive the response message that described main management plate sends in Preset Time, then determine that described main management plate breaks down.
7. method according to claim 6, is characterized in that, described determine that described main management plate breaks down after, described method also comprises:
Stop fault keep-alive timer, and continue to send described fault-finding message to described main management plate, until receive the response message of described main management plate transmission, then stop structure message, and startup separator keep-alive timer.
8. a main management plate, is characterized in that, comprising:
Determination module, carries out Graceful Restart for determining whether;
Constructing module, if when determining to carry out Graceful Restart for described determination module, then according to the first data message structure message prestored, described first data message comprises the data message of candidate bootstrap router C-BSR, the data message of candidate's convergent point C-RP and the data message of PIM hello packet;
Sending module, for sending the message of described constructing module structure to neighbor device, described message comprises BSM message and PIM hello packet.
9. main management plate according to claim 8, is characterized in that, described main management plate also comprises: memory module;
Described determination module, also for determining whether described Graceful Restart terminates;
Described memory module, if terminate for described determination module determination Graceful Restart, then delete described first data message, and store the second data message, described second data message comprise described Graceful Restart terminate after the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet.
10. main management plate according to claim 8, is characterized in that, described main management plate also comprises: receiver module;
Described receiver module, for receiving the fault-finding message sent from management board;
Described sending module, if when also not breaking down for described main management plate, sends response message to described from management board.
11. main management plates according to claim 8 or claim 9, is characterized in that,
Described sending module, also for sending described first data message of storage or described second data message to described from management board, to make describedly to store described first data message or described second data message from management board.
12. 1 kinds from management board, is characterized in that, comprising:
Constructing module, for constructing message according to the data message prestored, the described data message prestored comprises the data message of the data message of C-BSR, the data message of C-RP and PIM hello packet, described in the data message that prestores be that main management plate sends;
Sending module, for sending the message of described constructing module structure to neighbor device, described message comprises BSM message and PIM hello packet.
13. is according to claim 12 from management board, it is characterized in that, describedly also comprises from management board: receiver module;
Described receiver module, for before described constructing module is according to the data message structure message prestored, the switching message that receiving equipment manager sends; Or,
Described sending module, also for sending fault-finding message to described main management plate; Described determination module, if the response message also not receiving the transmission of described main management plate for described receiver module in Preset Time, then determines that described main management plate breaks down.
14. is according to claim 13 from management board, it is characterized in that, describedly also comprises from management board: processing module;
Described processing module, after determining that at described determination module described main management plate breaks down, stops fault keep-alive timer;
Described sending module, also for when described processing module stops fault keep-alive timer, sends described fault-finding message to described main management plate, until described receiver module receives the response message that described main management plate sends;
Described constructing module, also for stopping structure message when described receiver module receives described response message, described processing module, also for startup separator keep-alive timer.
CN201410508516.7A 2014-09-28 2014-09-28 Fault processing method and device of multicast service Pending CN104243305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410508516.7A CN104243305A (en) 2014-09-28 2014-09-28 Fault processing method and device of multicast service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410508516.7A CN104243305A (en) 2014-09-28 2014-09-28 Fault processing method and device of multicast service

Publications (1)

Publication Number Publication Date
CN104243305A true CN104243305A (en) 2014-12-24

Family

ID=52230689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410508516.7A Pending CN104243305A (en) 2014-09-28 2014-09-28 Fault processing method and device of multicast service

Country Status (1)

Country Link
CN (1) CN104243305A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839836A (en) * 2021-09-27 2021-12-24 新华三信息安全技术有限公司 Aggregation timeout protection method, frame device, cartridge device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080031239A1 (en) * 2006-08-01 2008-02-07 Ruchi Kapoor Techniques for graceful restart in a multi-process operating system
CN101827035A (en) * 2010-05-19 2010-09-08 迈普通信技术股份有限公司 Method for ensuring graceful restarting and dual master control network device
CN101895475A (en) * 2010-07-30 2010-11-24 迈普通信技术股份有限公司 Graceful restart method based on PIM SM protocol and system thereof
CN102315969A (en) * 2011-09-22 2012-01-11 中兴通讯股份有限公司南京分公司 Neighbor discovery protocol graceful restart (GR) processing method and device
CN102447587A (en) * 2012-02-02 2012-05-09 杭州华三通信技术有限公司 Graceful restart method based on OSPF (Open Shortest Path First Interior Gateway Protocol) protocol and router thereof
CN102546427A (en) * 2012-02-02 2012-07-04 杭州华三通信技术有限公司 OSPF (Open Shortest Path First) protocol-based graceful restart (GR) method and router
CN103166847A (en) * 2011-12-09 2013-06-19 迈普通信技术股份有限公司 Method and device for ensuring graceful restart
US8799419B1 (en) * 2010-08-16 2014-08-05 Juniper Networks, Inc. Configuration update on virtual control plane

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080031239A1 (en) * 2006-08-01 2008-02-07 Ruchi Kapoor Techniques for graceful restart in a multi-process operating system
CN101827035A (en) * 2010-05-19 2010-09-08 迈普通信技术股份有限公司 Method for ensuring graceful restarting and dual master control network device
CN101895475A (en) * 2010-07-30 2010-11-24 迈普通信技术股份有限公司 Graceful restart method based on PIM SM protocol and system thereof
US8799419B1 (en) * 2010-08-16 2014-08-05 Juniper Networks, Inc. Configuration update on virtual control plane
CN102315969A (en) * 2011-09-22 2012-01-11 中兴通讯股份有限公司南京分公司 Neighbor discovery protocol graceful restart (GR) processing method and device
CN103166847A (en) * 2011-12-09 2013-06-19 迈普通信技术股份有限公司 Method and device for ensuring graceful restart
CN102447587A (en) * 2012-02-02 2012-05-09 杭州华三通信技术有限公司 Graceful restart method based on OSPF (Open Shortest Path First Interior Gateway Protocol) protocol and router thereof
CN102546427A (en) * 2012-02-02 2012-07-04 杭州华三通信技术有限公司 OSPF (Open Shortest Path First) protocol-based graceful restart (GR) method and router

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
M.LEELANIVAS: "Graceful Restart Mechanism for Label Distribution protocol", 《IETF》 *
S.SANGLI: "Graceful Restart Mechanism for BGP", 《IETF》 *
熊思: "虚拟专用网的组播技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839836A (en) * 2021-09-27 2021-12-24 新华三信息安全技术有限公司 Aggregation timeout protection method, frame device, cartridge device, and storage medium
CN113839836B (en) * 2021-09-27 2023-04-25 新华三信息安全技术有限公司 Aggregation timeout protection method, frame device, cartridge device, and storage medium

Similar Documents

Publication Publication Date Title
JP5899305B2 (en) Technology for operating network nodes
WO2020020144A1 (en) Link switching method, link switching device, network communication system and computer readable storage medium
US7869376B2 (en) Communicating an operational state of a transport service
WO2015101168A1 (en) Failure recovery method and controller
CN109344014B (en) Main/standby switching method and device and communication equipment
CN109729009B (en) Method and device for realizing multicast service
JP7430224B2 (en) Packet processing methods and gateway devices
WO2020030000A1 (en) Disaster recovery switching method, related device and computer storage medium
CN110324375B (en) Information backup method and related equipment
CN101909006B (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
US20080267080A1 (en) Fault Verification for an Unpaired Unidirectional Switched-Path
US8570877B1 (en) Preparing for planned events in computer networks
WO2007063716A1 (en) Communication apparatus, apparatus activation control method, communication control method, and communication control program
CN109379239B (en) Method and device for configuring access switch in OpenStack environment
US8670299B1 (en) Enhanced service status detection and fault isolation within layer two networks
CN105939254B (en) The method and device of VRRP backup group state switching
CN109189403B (en) Operating system OS batch installation method and device and network equipment
WO2021143524A1 (en) Fault detection method, and apparatus
EP2736204B1 (en) Rendezvous Point Convergence Method and Apparatus
CN104243305A (en) Fault processing method and device of multicast service
CN102136936B (en) Method, node and system for preventing control plane faults from influencing operation of forward data plane
CN110661628A (en) Method, device and system for realizing data multicast
Cisco Release Notes for the Catalyst 8540 CSR Cisco IOS Release 12.0(13)W5(19c)
Cisco Catalyst 8500 CSR Release Notes for Cisco IOS Release 12.0(16)W5(21a)
US10644989B2 (en) Method for running a computer network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141224