CN102255798A - Method and line card for synchronizing route forwarding table items - Google Patents

Method and line card for synchronizing route forwarding table items Download PDF

Info

Publication number
CN102255798A
CN102255798A CN2011101606759A CN201110160675A CN102255798A CN 102255798 A CN102255798 A CN 102255798A CN 2011101606759 A CN2011101606759 A CN 2011101606759A CN 201110160675 A CN201110160675 A CN 201110160675A CN 102255798 A CN102255798 A CN 102255798A
Authority
CN
China
Prior art keywords
main control
message
control card
routing
ply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101606759A
Other languages
Chinese (zh)
Other versions
CN102255798B (en
Inventor
李凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks 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 CN201110160675.9A priority Critical patent/CN102255798B/en
Publication of CN102255798A publication Critical patent/CN102255798A/en
Application granted granted Critical
Publication of CN102255798B publication Critical patent/CN102255798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and line card for synchronizing route forwarding table items for solves the problem in the prior art that the synchronization of a table item (S,G) on a main control card and a table item (S,G) on a line card consumes more processing resources. The method comprises the following steps of: after switching an active main control card to a standby main control card, determining route convergent sequence codes by the line card; copying a received message by the line card and sending the copy to the standby main control card; receiving route forwarding table item information which is generated and fed back by the standby main control card according to the message; updating information of a route forwarding table item which is stored in the line card according to the information, and storing the updated information and the determined route convergent sequence codes in the route forwarding table item which is stored in the line card; and determining and deleting stored information which does not correspond to the route convergent sequence codes in the route forwarding table item by the line card after receiving notification information that multicast route convergence is finished.

Description

The method for synchronous of routing forwarding list item and ply-yarn drill
Technical field
The present invention relates to the message technical field of multicast, relate in particular to a kind of method for synchronous and ply-yarn drill of routing forwarding list item.
Background technology
Uninterrupted forwarding (nsf, no stop forwarding) is meant when having one or several node to break down in a plurality of nodes of the transceive data that comprises in the data equipment, guarantees a kind of technology that can not be interrupted data message forwarding.Usually, nsf comprises the nsf of unicast traffic, the nsf of flux of multicast, the nsf of mpls flow etc.
Below will introduce the nsf of flux of multicast.Before introducing the nsf of flux of multicast, need carry out following introduction to some ABCs of multicast transmission:
Agreement in the multicast transmission is divided into group membership between main frame-router and concerns multicast routing protocol between agreement and the router-Router.Wherein, the group membership concerns that agreement comprises Internet igmpinternet (IGMP); And multicast routing protocol is divided into multicast routing protocol and multicast between fields Routing Protocol in the territory.Further, multicast routing protocol comprises PIM-SM (Protocol Independent Multicast-Sparse Mode), PIM-DM (Protocol Independent Multicast-Dense Mode), DVMRP agreements such as (Distance Vector Multicast Routing Protocol) in the territory; The multicast between fields Routing Protocol comprises MBGP (Multi-protocol BGP), MSDP agreements such as (Multicast Source Discovery Protocol).
When carrying out the multicast data message forwarding, according to the relation information of multicast routing protocol in the territory and multicast member, use certain multicast routing algorithm, just can construct multicast distribution tree and then between multicast member, carry out the forwarding of multicast data message.Transmitting in the distributed system that comprises ply-yarn drill and main control card with multicast data message is example, ply-yarn drill can add/leave a certain particular multicast group by sending IGMP report/leave message, at this moment, the ply-yarn drill that receives this IGMP report/leave message can be with this message up sending main control card, main control card generates (*, G (Group)) list item and is handed down to each ply-yarn drill according to this message.(*, G) list item is used to write down all ply-yarn drills that corresponding multicast group comprises, and writes down the information of the outgoing interface of in this multicast group multicast data message being transmitted for this.With (*, G) list item is similar, and (S, G) list item (is that routing forwarding list item, (Source, Group list item) also trigger generation by data flow.Promptly before multicast data message is flowed through ply-yarn drill, on the ply-yarn drill (the S of this multicast data message correspondence not, G) list item, have only when multicast data message is flowed through this ply-yarn drill, that ply-yarn drill did not generate before judging was corresponding with this multicast data message, and (S G) during list item, can send to main control card with this multicast data message, main control card generates corresponding (S, G) list item and send to each ply-yarn drill according to this multicast data message.Wherein, (S, G) remove in the list item and integrated that (* G) outside the information of the outgoing interface that list item write down, has also write down the match information that is used for mating with multicast data message (the match information here can be information such as the sign of multicast data message or content) etc.
Based on above-mentioned distributed system, when switching to standby main control card by the master with main control card, the nsf of flux of multicast mainly will guarantee 2 points.The first will guarantee that the multicast data message on the ply-yarn drill is transmitted and not interrupt, the 2nd, guarantee on the current standby main control card of enabling (S, G) list item will with ply-yarn drill on (S, G) list item is synchronous.
Usually, above-mentioned first point guarantees promptly that multicast data message on the ply-yarn drill does not interrupt transmitting than being easier to realize.Such as can main switch to standby main control card with main control card after, do not delete (S, G) list item, and still carry out the forwarding of multicast data message on the ply-yarn drill according to the multicast data message pass-through mode before switching.And at above-mentioned second point, present some solutions of prior art.Such as, before switching to standby main control card with main control card by the master, with main (S with main control card, G) list item backups on the standby main control card, thereby guarantee to safeguard on the standby main control card has with main with consistent (S, G) list item of main control card always, therefore after switching, can guarantee on the standby main control card (S, G) on list item and the ply-yarn drill (S, G) list item synchronously.But the problem that this scheme exists is owing to be difficult to opportunity of predicting that main control card switches, just therefore need at set intervals with on the main control board (S, G) list item backups on the slave control board again, thereby can expend more processing resource.
Summary of the invention
The embodiment of the invention provides a kind of method for synchronous and ply-yarn drill of routing forwarding list item, in order to solve to adopt on the realization main control card that prior art provides (S, G) on list item and the ply-yarn drill (S, G) the synchronous scheme existence of list item expends than the multiprocessing problem of resource.
The embodiment of the invention is by the following technical solutions:
A kind of method for synchronous of routing forwarding list item comprises:
After the master switched to standby main control card with main control card, ply-yarn drill was determined the routing convergence sequence code; Ply-yarn drill duplicates the message that receives, and the message that duplicates is sent to standby main control card; Ply-yarn drill receives the routing forwarding list item information that standby main control card generates and feeds back according to described message; And utilize information in the routing forwarding list item of described information updating storage and information after corresponding stored is upgraded in the routing forwarding list item of storage and the described routing convergence sequence code of determining; And ply-yarn drill receiving after the multicast routing convergence that is used for update notifications routing forwarding list item that standby main control card sends finishes notice message, from the routing forwarding list item of storage, determine and deletion not with the information of described routing convergence sequence code corresponding stored.
Optionally, ply-yarn drill sends to standby main control card with the message that duplicates, and specifically comprises: ply-yarn drill is that the described message that duplicates is provided with a sign of making an appointment with standby main control card, and described sign is used to indicate the message that is provided with described sign to need not to transmit once more; And the described message that duplicates that ply-yarn drill will be provided with described sign sends to standby main control card.
Optionally, ply-yarn drill is determined the routing convergence sequence code, specifically comprises: ply-yarn drill receives standby main control card and is enabling the routing convergence message that sends behind the multicast routing convergence timer; According to the routing convergence sequence initial code of storing in advance, determine described routing convergence sequence code.
Optionally, ply-yarn drill is determined the routing convergence sequence code, specifically comprises: ply-yarn drill receives standby main control card and is enabling the routing convergence message that sends behind the multicast routing convergence timer; The default sequence code of default routing convergence is defined as described routing convergence sequence code.
Optionally, the described multicast routing convergence end notice message of ply-yarn drill reception is: standby main control card finishes the multicast routing convergence end notice message of back transmission at the timing of determining described multicast routing convergence timer.
Optionally, the described multicast routing convergence end notice message of ply-yarn drill reception is: standby main control card is generating the described multicast routing convergence end notice message that sends after routing convergence finishes notice message based on agreement independent multicast Graceful Restart PIM GR agreement.
A kind of ply-yarn drill comprises: convergent sequence sign indicating number determining unit is used for determining the routing convergence sequence code after the master switches to standby main control card with main control card; The message copied cells is used to duplicate the message that described ply-yarn drill receives; Packet sending unit is used for the message that the message copied cells duplicates is sent to standby main control card; Routing forwarding list item information receiving unit is used to receive standby main control card according to the message generation of packet sending unit transmission and the routing forwarding list item information of feedback; The corresponding stored unit, be used for utilizing the information of the routing forwarding list item of the routing forwarding list item information updating storage that routing forwarding list item information receiving unit receives, and the information described routing convergence sequence code definite with convergent sequence sign indicating number determining unit after corresponding stored is upgraded in the routing forwarding list item of described ply-yarn drill storage; The information determining unit, be used for after described ply-yarn drill receives the multicast routing convergence end notice message that is used for update notifications routing forwarding list item of standby main control card transmission, from the routing forwarding list item of storage, determining not by the information of execution of corresponding stored unit and described routing convergence sequence code corresponding stored; The information deletion unit is used for from the routing forwarding list item of described ply-yarn drill storage, the information that deletion information determining unit is determined.
The beneficial effect of the embodiment of the invention is as follows:
The such scheme that the embodiment of the invention provides by to standby main control card sending message main after switching to standby main control card with main control card by ply-yarn drill, thereby assists standby main control card to regenerate (S, G) list item.And, ply-yarn drill is by upgrading the information in the routing forwarding list item of storage, and information after the corresponding stored renewal and the routing convergence sequence code of determining, thereby behind the notification message that receives standby main control card transmission, ply-yarn drill from the routing forwarding list item of storage, determine and deletion not with the information of routing convergence sequence code corresponding stored, can realize the routing forwarding list item on standby main control card and ply-yarn drill synchronously.The scheme that the embodiment of the invention provides since need not regularly with on the main control board (S, G) list item backups on the slave control board, therefore can not expend this part and handle resource.
Description of drawings
The idiographic flow schematic diagram of the method for synchronous of a kind of routing forwarding list item that Fig. 1 provides for the embodiment of the invention;
The context schematic diagram of two case points on time shaft that provides in the embodiment of the invention is provided Fig. 2 a;
The scheme realization flow schematic diagram in actual applications that Fig. 2 b provides for the embodiment of the invention;
The concrete structure schematic diagram of a kind of ply-yarn drill that Fig. 3 provides for the embodiment of the invention.
Embodiment
In order to solve (the S that adopts on the realization main control card that prior art provides, G) (the S on list item and the ply-yarn drill, what G) the synchronous scheme of list item existed expends than the multiprocessing problem of resource, the embodiment of the invention provides a kind of synchronization scenario of routing forwarding list item of novelty, assist standby main control card can regenerate (S by after the master switches to standby main control card with main control card, sending message to standby main control card by ply-yarn drill, G) list item, and, ply-yarn drill is by upgrading the information in the routing forwarding list item of storage, and information after the corresponding stored renewal and the routing convergence sequence code of determining, thereby behind the multicast routing convergence end that is used for update notifications routing forwarding list item that receives standby main control card transmission, ply-yarn drill from the routing forwarding list item of storage, determine and deletion not with the information of routing convergence sequence code corresponding stored, can realize the routing forwarding list item on standby main control card and ply-yarn drill synchronously.
Below in conjunction with accompanying drawing, the synchronization scenario of the routing forwarding list item that the embodiment of the invention is provided is elaborated.
At first, the embodiment of the invention provides a kind of method for synchronous of route forwarding list item as shown in Figure 1, and the specific implementation flow process of this method may further comprise the steps:
Step 11, after the master switched to standby main control card with main control card, ply-yarn drill was determined the routing convergence sequence code;
In embodiments of the present invention, the routing convergence sequence code can be concrete numeral, also can be a kind of symbol, and the embodiment of the invention is not done concrete qualification to the form of route convergent sequence sign indicating number.
Optionally, ply-yarn drill determine the routing convergence sequence code detailed process can for: ply-yarn drill receives standby main control card and is enabling the routing convergence message that sends behind the multicast routing convergence timer; Then, according to the routing convergence sequence initial code of storing in advance, determine the routing convergence sequence code again.Here, determine that according to the routing convergence sequence initial code of storage in advance the mode of routing convergence sequence code can be to establish rules really according to default a kind of routing convergence sequence code then to carry out.Such as, when the routing convergence sequence code is when numeral, pre-defined rule can for: after receiving routing convergence message, ply-yarn drill is carried out routing convergence sequence initial code and is added 1 operation, and the convergent sequence initial code that will add after 1 is defined as the routing convergence sequence code.
Optionally, ply-yarn drill is receiving standby main control card when enabling the routing convergence message that sends behind the multicast routing convergence timer, also can directly the default sequence code of a routing convergence be defined as above-mentioned routing convergence sequence code.Wherein, the default sequence code of said here routing convergence generally pre-sets.
Step 12, ply-yarn drill are duplicated the message that receives, and the message that duplicates is sent to standby main control card;
Optionally, the problem that this message that duplicates is repeated to transmit for fear of standby main control card, in the embodiment of the invention, ply-yarn drill can be provided with a sign of making an appointment with standby main control card (this sign is used to indicate the message that is provided with sign to need not to transmit once more) for this message that duplicates, then, ply-yarn drill this message that duplicates that will be provided with this sign again sends to standby main control card.
Step 13, ply-yarn drill receive the routing forwarding list item information that standby main control card generates and feeds back according to above-mentioned message;
Step 14, the information in the routing forwarding list item of the information updating storage that the ply-yarn drill utilization receives, and information after corresponding stored is upgraded in the routing forwarding list item of storage and the routing convergence sequence code of determining;
Step 15, ply-yarn drill is receiving after the multicast routing convergence that is used for update notifications routing forwarding list item that standby main control card sends finishes notice message, from the routing forwarding list item of storage, determine and deletion not with the information of routing convergence sequence code corresponding stored.Wherein, this multicast routing convergence that is used for update notifications routing forwarding list item that ply-yarn drill receives finishes that notice message can the back sends for standby main control card finishes at the timing of determining described multicast routing convergence timer; Also can after finishing notice message, routing convergence send for generating based on agreement independent multicast Graceful Restart (PIM GR, Protocol Independent Multicast Grace Restart) agreement at standby main control card.
The said method that adopts the embodiment of the invention to provide, before switching to standby main control card with main control card by the master, need not main (S with main control card, G) list item backups to the (S that also can realize on the standby main control card on the standby main control card, G) (the S on list item and the ply-yarn drill, G) list item synchronously, therefore can not have owing to will back up (S, G) list item and expend more processing resource.And, backup (the S that provides in the prior art, G) scheme of list item, because the such scheme that the embodiment of the invention provides is implemented after the master switches to standby main control card with main control card again, therefore, more can guarantee on the standby main control card (S, G) list item is current up-to-date (S, G) list item.
Below the such scheme concrete Application Example in practice that provides with the embodiment of the invention be example, describe the implementation process of this scheme in detail.
In this concrete Application Example, according to actual needs, one " sign of routing convergence state " can be set, and at (S, G) list item setting " routing convergence sequence code ".
Above-mentioned " sign of routing convergence state " is used to indicate the whether commencement of commercial operation of standby main control card.Particularly, when the master switches to standby main control card with main control card, standby main control card can be received main with main control card transmission " heat is switched message fully ", simultaneously " sign of routing convergence state " is set to 0, after this behind handover success, standby main control card can not send to ply-yarn drill and be used to notify ply-yarn drill to (S, G) the multicast routing convergence that upgrades of list item finishes notice message, after receiving main " the routing convergence message " that sends with main control card, standby main control card just can be set to 1 with " sign of routing convergence state ", this moment, standby main control card just began commencement of commercial operation, and is main then out of service with main control card.
Above-mentioned " routing convergence sequence code " be stored in ply-yarn drill (one (S, G) information of match information in the list item and outgoing interface can be distinguished corresponding one " routing convergence sequence code " for S, a G) Digital ID in the list item.Particularly, whenever ply-yarn drill is received " the routing convergence message " that standby main control card is sent, just can determine new " a routing convergence sequence code " according to current " routing convergence sequence code " of self storing, perhaps, can directly determine new " a routing convergence sequence code ".Such as, in a kind of definite mode, this new " routing convergence sequence code " can add " the routing convergence sequence code " that obtains after 1 for " the routing convergence sequence code " of ply-yarn drill storage.Ply-yarn drill according to multicast data message, igmp report/leave or pim report/leave message to (S, when G) list item upgrades, new " routing convergence sequence code " corresponding stored that can will determine with the corresponding (S of this multicast message, G) in the list item, thereby realized renewal to " routing convergence sequence code ".Like this, (S in the standby main control card storage of follow-up realization, G) (the S of list item and ply-yarn drill storage, when G) list item is synchronous, if find certain bar (S of ply-yarn drill storage, G) list item pairing " routing convergence sequence code " is not this new " routing convergence sequence code ", then show this (S, G) list item do not belong to main with main control card switch to the multicast data message of being transmitted behind the standby main control card pairing (S, G) list item, therefore, in order to keep (S on standby main control card and the ply-yarn drill, G) list item is synchronous, just can delete this (S, G) list item.
Need to prove, because (S, G) information of match information in the list item and outgoing interface can be distinguished corresponding one " routing convergence sequence code ", therefore, in new " routing convergence sequence code " corresponding stored that will determine according to message to (S in the time of G) in the list item, may have multiple situation.
A kind of situation is: after the master switches to standby main control card with main control card, and when ply-yarn drill is determined new " a routing convergence sequence code " after receiving " the routing convergence message " that standby main control card is sent, if after this certain ply-yarn drill receives igmp report/leave message (or pim report/leave message), this igmp report/leave message (or pim report/leave message) can be sent to standby main control card.Standby main control card is after receiving this igmp report/leave message (or pim report/leave message), judge self whether to have generated and the corresponding match information of this igmp report/leave message (or pim report/leave message), if judged result is for denying, then do not carry out the operation of upgrading any information, if judged result is for being, then according to this igmp report/leave message (or pim report/leave message), the pairing outgoing interface information of this match information that has generated is upgraded, and the outgoing interface feedback information after will upgrading is given ply-yarn drill.Ply-yarn drill is after receiving this outgoing interface information, to (the S that self stores, G) the corresponding outgoing interface information in the list item is upgraded, simultaneously can be at this outgoing interface information after upgrading, outgoing interface information after upgrading and new " the routing convergence sequence code " determined are carried out corresponding stored, and, at match information, also can corresponding stored match information and this new " routing convergence sequence code ".That is to say that online clamping receives under the situation of igmp report/leave or pim report/leave message, (S, G) outgoing interface information in the list item and match information are distinguished corresponding " routing convergence sequence code " and all may be obtained upgrading.
Another kind of situation is: after the master switches to standby main control card with main control card, and when ply-yarn drill is determined new " a routing convergence sequence code " after receiving " the routing convergence message " that standby main control card is sent, if after this certain ply-yarn drill receives multicast data message, then this multicast data message can be sent to standby main control card, and according to the match information of standby main control card according to this multicast data message feedback, (S to this ply-yarn drill storage, G) the corresponding match information in the list item is upgraded, and can carry out corresponding stored to the match information after upgrading and this new " routing convergence sequence code " of determining simultaneously.That is to say, online clamping is received under the situation of multicast data message, (S, G) match information in the list item, match information pairing " routing convergence sequence code " can obtain upgrading, and outgoing interface information and corresponding " routing convergence sequence code " thereof then can not obtain upgrading.
In addition, also relate to a kind of timer in the present embodiment.According to its function, can be with its called after " multicast routing convergence timer ".This multicast routing convergence timer starts after the master switches to standby main control card with main control card, and ply-yarn drill according to igmp report/leave, pim report/leave message or multicast data message to (S, G) list item upgrade the back (after being the multicast routing convergence) then.Usually, can rule of thumb be worth the timing length that disposes this timer, be 120s such as its timing length can be set.In the present embodiment, the pairing stage of this timing length can be called the multicast routing convergence phase.
In addition, can also provide two case points in the present embodiment, be used to identify the whole process of nsf.These two case points are as follows:
1) heat is equipped with the handover event point, is used to indicate the beginning of nsf process;
2) routing convergence case point is used to indicate the end of nsf process.
The context schematic diagram of these two case points on time shaft is shown in Fig. 2 a.
Based on above-mentioned setting, the specific implementation flow chart of present embodiment mainly comprises the steps: shown in Fig. 2 b
Step 21, when the master need switch to standby main control card with main control card, the master sent heat with main control card to standby main control card and switches message fully;
Step 22, standby main control card is converted to operating state with self by resting state, and " sign of routing convergence state " is set to 0 receiving after this heat switches message fully, be in " the concussion phase " of switching this moment, slave control board does not send the multicast routing convergence and finishes notice message;
Step 23, the main main control card of using sends routing convergence message to standby main control card;
Step 24, standby main control card is set to 1 with " sign of routing convergence state " after receiving routing convergence message, and routing convergence message is sent to each ply-yarn drill;
Step 25, ply-yarn drill is after receiving routing convergence message, start multicast routing convergence timer, and carry out " the routing convergence sequence code " be stored in advance in the ply-yarn drill and add 1 operation (usually, under the init state when ply-yarn drill just starts, the initial value that is somebody's turn to do " routing convergence sequence code " can be 0), thus determine new " routing convergence sequence code ";
In this step, after starting multicast routing convergence timer, enter the multicast routing convergence phase shown in Fig. 2 a.
In the present embodiment, the initial value of supposing " routing convergence sequence code " is 0, and then ply-yarn drill is receiving routing convergence message, and to " routing convergence sequence code " carry out add 1 operation after, should " routing convergence sequence code " become 1.
Step 26, ply-yarn drill are duplicated portion with the message that receives and are sent to standby main control card when receiving multicast data message;
Step 27, standby main control card be according to multicast protocol and the multicast data message that receives, generate (S, G) list item, and will generate (S, G) list item sends to each ply-yarn drill;
Step 28, ply-yarn drill is according to (the S that receives, G) list item, to self storage corresponding with this above-mentioned multicast data message (S, G) list item upgrades (if storage (S, G) list item corresponding with above-mentioned multicast data message not, then the renewal here means brand-new (S of storage on ply-yarn drill, G) list item), and new " the routing convergence sequence code " that will in step 25, determine respectively with upgrade after (S, G) match information in the list item and outgoing interface information are carried out corresponding stored;
Step 29, standby main control card judge whether the timing of multicast routing convergence timer finishes, judged result for not the time, execution in step 26, otherwise, execution in step 210;
Step 210, standby main control card to each ply-yarn drill send be used to notify ply-yarn drill to (S, G) the multicast routing convergence that upgrades of list item finishes notice message;
Step 211, ply-yarn drill is after receiving multicast routing convergence end notice message, from (the S that self stores, G) determine and new " routing convergence sequence code " inconsistent " routing convergence sequence code " in the list item, and that will determine be defined as " expired information " with the pairing information of new " routing convergence sequence code " inconsistent " routing convergence sequence code ", thereby with its deletion, flow process finishes.
In step 211,, just only delete outgoing interface information when that determine and new " routing convergence sequence code " inconsistent " routing convergence sequence code " when pairing information is outgoing interface information; And when that determine and new " routing convergence sequence code " inconsistent " routing convergence sequence code " when pairing information is outgoing interface information and match information, or determine with new " routing convergence sequence code " inconsistent " routing convergence sequence code " and when pairing information is match information corresponding outgoing interface information and match information are all deleted.
The scheme application in the above-described embodiments that is provided by the embodiment of the invention as can be known, the scheme that adopts the embodiment of the invention to provide, need not main with the (S on the main control card, G) list item backups on the standby main control card, thereby can not produce since need regularly to (S, thus G) list item backs up and can expend more problem of resource.
Optionally, in the present embodiment, for fear of on give the problem that the message of standby main control card is transmitted by standby main control card once more, ply-yarn drill is when sending message to standby main control card, can for this message stamp one in advance with the label of standby main control card agreement, this label is used to indicate the message of being stamped this label only to be used to assist standby main control card to generate (S, G) list item, and need not to be forwarded.
Optionally, also multicast routing convergence timer can be set in the present embodiment, but it is alternative that the routing convergence end notice message that standby main control card generates based on agreement independent multicast Graceful Restart agreement is considered as being equal to of above-mentioned multicast routing convergence timer timing end, finishes notice message as triggering standby main control card sends condition from multicast routing convergence end notice message to ply-yarn drill thereby can generate this multicast routing convergence according to PIM GR agreement with standby main control card.Need to prove,, therefore, no longer be described in greater detail in the embodiment of the invention because PIM GR agreement is existing a kind of agreement that the accurate convergence concluding time can be provided in the prior art.
Correspondingly, the embodiment of the invention also provides a kind of ply-yarn drill, and the concrete structure schematic diagram of this ply-yarn drill comprises following functional unit as shown in Figure 3:
Convergent sequence sign indicating number determining unit 31 is used for determining the routing convergence sequence code after the master switches to standby main control card with main control card;
Message copied cells 32 is used for the message that the copied line clamping is received;
Packet sending unit 33 is used for the message that message copied cells 32 duplicates is sent to standby main control card;
Routing forwarding list item information receiving unit 34 is used to receive standby main control card according to the message generation of packet sending unit 33 transmissions and the routing forwarding list item information of feedback;
Corresponding stored unit 35, be used for utilizing the information of the routing forwarding list item of the routing forwarding list item information updating storage that routing forwarding list item information receiving unit 34 receives, and the definite routing convergence sequence code of the information after corresponding stored is upgraded in the routing forwarding list item of ply-yarn drill storage and convergent sequence sign indicating number determining unit 31;
Information determining unit 36, after being used for the multicast routing convergence that is used for update notifications routing forwarding list item that online clamping receives that standby main control card sends and finishing notice message, from the routing forwarding list item of storage, determine not to be carried out information with routing convergence sequence code corresponding stored by corresponding stored unit 35;
Information deletion unit 37 is used for from the routing forwarding list item of ply-yarn drill storage, the information that deletion information determining unit 36 is determined.
Optionally,, in the embodiment of the invention, packet sending unit 33 specifically can be divided into following functional module, comprise corresponding to a kind of implementation of packet sending unit 33 functions:
Sign is provided with module, and the message that is used to message copied cells 32 to duplicate is provided with a sign of making an appointment with standby main control card, and wherein, this sign is used to indicate the message that is provided with described sign to need not to transmit once more; The message sending module is used for being identified and this message that duplicates that module is provided with above-mentioned sign is set sends to standby main control card.
Optionally,, in the embodiment of the invention, convergent sequence sign indicating number determining unit 31 specifically can be divided into following functional module, comprise corresponding to a kind of implementation of convergent sequence sign indicating number determining unit 31 functions:
Routing convergence message sink module is used for receiving standby main control card and enabling the routing convergence message that sends behind the multicast routing convergence timer after the master switches to standby main control card with main control card; Convergent sequence sign indicating number determination module is used for after routing convergence message sink module receives the routing convergence message sink, determines the routing convergence sequence code according to the routing convergence sequence initial code of storage in advance.
Optionally,, in the embodiment of the invention, convergent sequence sign indicating number determining unit 31 specifically can also be divided into following functional module, comprise corresponding to the another kind of implementation of convergent sequence sign indicating number determining unit 31 functions:
Routing convergence message sink module is used for receiving standby main control card and enabling the routing convergence message that sends behind the multicast routing convergence timer after the master switches to standby main control card with main control card; Convergent sequence sign indicating number determination module is used for after routing convergence message sink module receives described routing convergence message sink, and the default sequence code of default routing convergence is defined as the routing convergence sequence code.
Optionally, the multicast routing convergence that receives of ply-yarn drill finishes that notice message can the back sends for standby main control card finishes at the timing of determining multicast routing convergence timer; Also can after finishing notice message, routing convergence send generating for standby main control card based on PIM GR agreement.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. the method for synchronous of a routing forwarding list item is characterized in that, comprising:
After the master switched to standby main control card with main control card, ply-yarn drill was determined the routing convergence sequence code;
Ply-yarn drill duplicates the message that receives, and the message that duplicates is sent to standby main control card;
Ply-yarn drill receives the routing forwarding list item information that standby main control card generates and feeds back according to described message; And
Utilize the information in the routing forwarding list item of described information updating storage, and information after corresponding stored is upgraded in the routing forwarding list item of storage and the described routing convergence sequence code of determining; And
Ply-yarn drill is receiving after the multicast routing convergence that is used for update notifications routing forwarding list item that standby main control card sends finishes notice message, from the routing forwarding list item of storage, determine and deletion not with the information of described routing convergence sequence code corresponding stored.
2. the method for claim 1 is characterized in that, ply-yarn drill sends to standby main control card with the message that duplicates, and specifically comprises:
Ply-yarn drill is that the described message that duplicates is provided with a sign of making an appointment with standby main control card, and described sign is used to indicate the message that is provided with described sign to need not to transmit once more; And
The described message that duplicates that ply-yarn drill will be provided with described sign sends to standby main control card.
3. the method for claim 1 is characterized in that, ply-yarn drill is determined the routing convergence sequence code, specifically comprises:
Ply-yarn drill receives standby main control card and is enabling the routing convergence message that sends behind the multicast routing convergence timer;
According to the routing convergence sequence initial code of storing in advance, determine described routing convergence sequence code.
4. the method for claim 1 is characterized in that, ply-yarn drill is determined the routing convergence sequence code, specifically comprises:
Ply-yarn drill receives standby main control card and is enabling the routing convergence message that sends behind the multicast routing convergence timer;
The default sequence code of default routing convergence is defined as described routing convergence sequence code.
5. as claim 3 or 4 described methods, it is characterized in that the described multicast routing convergence that ply-yarn drill receives finishes notice message and is:
Standby main control card finishes the multicast routing convergence end notice message that the back sends at the timing of determining described multicast routing convergence timer.
6. method as claimed in claim 1 or 2 is characterized in that, the described multicast routing convergence that ply-yarn drill receives finishes notice message and is:
Standby main control card is generating the described multicast routing convergence end notice message that sends after routing convergence finishes notice message based on agreement independent multicast Graceful Restart PIM GR agreement.
7. a ply-yarn drill is characterized in that, comprising:
Convergent sequence sign indicating number determining unit is used for determining the routing convergence sequence code after the master switches to standby main control card with main control card;
The message copied cells is used to duplicate the message that described ply-yarn drill receives;
Packet sending unit is used for the message that the message copied cells duplicates is sent to standby main control card;
Routing forwarding list item information receiving unit is used to receive standby main control card according to the message generation of packet sending unit transmission and the routing forwarding list item information of feedback;
The corresponding stored unit, be used for utilizing the information of the routing forwarding list item of the routing forwarding list item information updating storage that routing forwarding list item information receiving unit receives, and the information described routing convergence sequence code definite with convergent sequence sign indicating number determining unit after corresponding stored is upgraded in the routing forwarding list item of described ply-yarn drill storage;
The information determining unit, be used for after described ply-yarn drill receives the multicast routing convergence end notice message that is used for update notifications routing forwarding list item of standby main control card transmission, from the routing forwarding list item of storage, determining not by the information of execution of corresponding stored unit and described routing convergence sequence code corresponding stored;
The information deletion unit is used for from the routing forwarding list item of described ply-yarn drill storage, the information that deletion information determining unit is determined.
8. ply-yarn drill as claimed in claim 7 is characterized in that, described packet sending unit specifically comprises:
Sign is provided with module, is used to the described message that duplicates that a sign of making an appointment with standby main control card is set, and described sign is used to indicate the message that is provided with described sign to need not to transmit once more;
The message sending module is used for being identified and the described message that duplicates that module is provided with described sign is set sends to standby main control card.
9. ply-yarn drill as claimed in claim 7 is characterized in that, described convergent sequence sign indicating number determining unit specifically comprises:
Routing convergence message sink module is used for receiving standby main control card and enabling the routing convergence message that sends behind the multicast routing convergence timer after the master switches to standby main control card with main control card;
Convergent sequence sign indicating number determination module is used for after routing convergence message sink module receives described routing convergence message sink, determines described routing convergence sequence code according to the routing convergence sequence initial code of storage in advance.
10. ply-yarn drill as claimed in claim 7 is characterized in that, described convergent sequence sign indicating number determining unit specifically comprises:
Routing convergence message sink module is used for receiving standby main control card and enabling the routing convergence message that sends behind the multicast routing convergence timer after the master switches to standby main control card with main control card;
Convergent sequence sign indicating number determination module is used for after routing convergence message sink module receives described routing convergence message sink, and the default sequence code of default routing convergence is defined as described routing convergence sequence code.
11., it is characterized in that the described multicast routing convergence that ply-yarn drill receives finishes notice message and is as claim 9 or 10 described ply-yarn drills:
Standby main control card finishes the multicast routing convergence end notice message that the back sends at the timing of determining described multicast routing convergence timer.
12., it is characterized in that the described multicast routing convergence that ply-yarn drill receives finishes notice message and is as claim 7 or 8 described ply-yarn drills:
Standby main control card is generating the described multicast routing convergence end notice message that sends after routing convergence finishes notice message based on agreement independent multicast Graceful Restart PIM GR agreement.
CN201110160675.9A 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items Active CN102255798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110160675.9A CN102255798B (en) 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110160675.9A CN102255798B (en) 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items

Publications (2)

Publication Number Publication Date
CN102255798A true CN102255798A (en) 2011-11-23
CN102255798B CN102255798B (en) 2014-03-12

Family

ID=44982802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110160675.9A Active CN102255798B (en) 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items

Country Status (1)

Country Link
CN (1) CN102255798B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447634A (en) * 2011-12-29 2012-05-09 华为技术有限公司 Method, device and system for transmitting message
CN105306356A (en) * 2014-07-30 2016-02-03 上海博达数据通信有限公司 Method for realizing master-slave switching of multicast routing on distributed system
CN111211927A (en) * 2019-12-31 2020-05-29 杭州迪普科技股份有限公司 Resource synchronization method and device
WO2021129328A1 (en) * 2019-12-23 2021-07-01 中兴通讯股份有限公司 Table entry arrangement method and apparatus, device, and storage medium
CN113422722A (en) * 2021-06-16 2021-09-21 锐捷网络股份有限公司 Route processing method and device
CN113765781A (en) * 2020-06-04 2021-12-07 华为技术有限公司 Method, communication device, storage medium and system for processing routing message

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064687A (en) * 2007-02-07 2007-10-31 中兴通讯股份有限公司 Routing convergence method
CN101340369A (en) * 2008-08-14 2009-01-07 杭州华三通信技术有限公司 Method and router for realizing virtual connection supported optimum restart
CN101980476A (en) * 2010-11-16 2011-02-23 北京星网锐捷网络技术有限公司 Warm backup method and network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064687A (en) * 2007-02-07 2007-10-31 中兴通讯股份有限公司 Routing convergence method
CN101340369A (en) * 2008-08-14 2009-01-07 杭州华三通信技术有限公司 Method and router for realizing virtual connection supported optimum restart
CN101980476A (en) * 2010-11-16 2011-02-23 北京星网锐捷网络技术有限公司 Warm backup method and network equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447634A (en) * 2011-12-29 2012-05-09 华为技术有限公司 Method, device and system for transmitting message
CN102447634B (en) * 2011-12-29 2014-12-03 华为技术有限公司 Method, device and system for transmitting message
CN105306356A (en) * 2014-07-30 2016-02-03 上海博达数据通信有限公司 Method for realizing master-slave switching of multicast routing on distributed system
WO2021129328A1 (en) * 2019-12-23 2021-07-01 中兴通讯股份有限公司 Table entry arrangement method and apparatus, device, and storage medium
CN111211927A (en) * 2019-12-31 2020-05-29 杭州迪普科技股份有限公司 Resource synchronization method and device
CN113765781A (en) * 2020-06-04 2021-12-07 华为技术有限公司 Method, communication device, storage medium and system for processing routing message
CN113765781B (en) * 2020-06-04 2022-07-12 华为技术有限公司 Method, communication device, storage medium and system for processing routing message
CN113422722A (en) * 2021-06-16 2021-09-21 锐捷网络股份有限公司 Route processing method and device
CN113422722B (en) * 2021-06-16 2023-10-24 锐捷网络股份有限公司 Routing processing method and device

Also Published As

Publication number Publication date
CN102255798B (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN101385275B (en) Rerouting multicast traffic in response to detecting imminent network disruption
CN102255798B (en) Method and line card for synchronizing route forwarding table items
CN101588296B (en) Method, head node and tail node of forwarding multicasting message
CN101335695B (en) Head node protection method, apparatus and device for point-to-multipoint label switching path
CN102197627B (en) The improvement of flux of multicast convergence
CN101425961A (en) Method for implementing link state database synchronization, router, circuit board and main control board
CN109981308B (en) Message transmission method and device
CN103825817A (en) Achieving method and device of ceaseless routing after routing protocol restarting
CN109561022A (en) A kind of multicast forward method and multicast router
US8514696B2 (en) Multicast tree state replication
CN102447611B (en) Method and system for establishing bidirectional point-to-multipoint label switched path as well as method and system for removing bidirectional point-to-multipoint label switched path
CN101610203A (en) Realize method, the Apparatus and system of multicast heavy-route
US20160043878A1 (en) Multicast communications method and aggregation switch
US8307121B2 (en) Method and a type of transmit and receive ends for data synchronization
CN101895475A (en) Graceful restart method based on PIM SM protocol and system thereof
CN109005109B (en) Route setting method and multicast networking system
CN102231699B (en) Route processing method in distributed system and distributed system
CN105553857B (en) A kind of IP Multicast Routings retransmission method and system
CN101453414A (en) Head node protection method, system and equipment for point to multiple points label switch path
CN102594656B (en) A kind of route iteration method and route exchange device
JP2003032299A (en) Control method of rendezvous point in multicast network
CN101304325A (en) Multicast method and device
CN103685260A (en) Overlaying multicast zone file transmitting method and system
CN103166847B (en) Ensure the method and apparatus of Graceful Restart
CN102769540B (en) A kind of overall label management method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian.

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian.

Patentee before: Fujian Star Network Ruijie Networks Co.,Ltd.

CP01 Change in the name or title of a patent holder