CN103297344B - Distributed data communication system and method for forwarding multicast message thereof - Google Patents

Distributed data communication system and method for forwarding multicast message thereof Download PDF

Info

Publication number
CN103297344B
CN103297344B CN201210045254.6A CN201210045254A CN103297344B CN 103297344 B CN103297344 B CN 103297344B CN 201210045254 A CN201210045254 A CN 201210045254A CN 103297344 B CN103297344 B CN 103297344B
Authority
CN
China
Prior art keywords
line card
address
multicast
combination
card
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.)
Active
Application number
CN201210045254.6A
Other languages
Chinese (zh)
Other versions
CN103297344A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201210045254.6A priority Critical patent/CN103297344B/en
Publication of CN103297344A publication Critical patent/CN103297344A/en
Application granted granted Critical
Publication of CN103297344B publication Critical patent/CN103297344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of distributed data communication system and method for forwarding multicast message thereof, this system comprises main control card, switching matrix and line card; Described switching matrix is arranged and records the combination of each line card and the static multicast table of the L2 address rule of correspondence, line card is also provided with the corresponding relation of the identical rule of correspondence and multicast forward table and interface and line card; Line card inquires about the forwarding interface combination of the correspondence recorded in multicast forward table after receiving the multicast message from outside, and determines corresponding line card combination, then determines corresponding L2 address, and encapsulation L2 address is to multicast message and send to switching matrix; Switching matrix inquires corresponding line card combination according to L2 address, multicast message is transmitted to corresponding line card; After corresponding line card receives the multicast message from switching matrix, the interface of described multicast message by this line card is sent.Utilize the present invention, with lower cost, the higher multicast forwarding performance of distributed data communication system can be realized.

Description

Distributed data communication system and method for forwarding multicast message thereof
Technical field
The present invention relates to data communication technology field, particularly relate to a kind of distributed data communication system and method for forwarding multicast message thereof.
Background technology
A remarkable inferior position of the centralized data communications equipment of tradition is, central processing unit (CPU) needs processing controls message and data message simultaneously, although controlling functions is separated with data processing function by multi-core CPU to a certain extent, but complete machine transfer capability is limited to cpu performance, the business of some large discharge multi-receivers is made to be difficult to carry out.
Control plane is independently become control appliance and data equipment with datum plane by distributed data communication equipment physically, improves control performance and data forwarding performance simultaneously, and complete machine transfer capability follows the quantity of data equipment to be directly proportional.For the distributed data communication equipment having multiple retransmission unit, more forwarding interface can be supported, stronger transfer capability, be applicable to very much the multicast service carrying out large discharge multi-receiver.
Fig. 1 is a kind of composition schematic diagram of distributed data communication system.See Fig. 1, distributed data communication system generally comprises: for the line card (being called for short LPU) of data retransmission, for the main control card (being called for short MPU) of protocol processes, and the switch fabric card (being called for short SFU) for forwarding between main control card and line card, between line card and line card.Described switch fabric card is otherwise known as switching card, wherein has exchange chip, for forwarding data.Described line card, main control card and switch fabric card are inserted on the backboard 101 of system, are undertaken alternately by the circuit of backboard.
In distributed data communication system, for the forwarding of multicast message, a kind of method of routine is had to be at present: line card gives switch fabric card after receiving multicast message, by switch fabric card, this multicast message is broadcast to each line card, according to the configuration information of self, each line card judges whether this line card can receive the multicast message of described switch fabric card broadcast again, if can receive, receive, otherwise abandon this multicast message.The shortcoming of this conventional method is switching matrix calorie requirement broadcasting packet, easily causes switch fabric card inundation.
Chinese Patent Application No. be 200810210584, publication number is CN101355509, name is called the retransmission method disclosing another kind of multicast message in the Patent Application Publication of " a kind of method of saving multicast forwarding bandwidth of distributed network equipment ".The method is when multi-thread card multicast forwarding, multicast message is sent to switch fabric card, and safeguard (S at switch fabric card, G, V) forward rule list, the line card of recipient that has that this forwarding rule list have recorded multicast message corresponding combines, thus make switch fabric card only by transmitting multicast data to the line card having recipient, avoid conventional switch fabric card inundation, save bandwidth.
But, the program dynamically forwards rule list owing to will safeguard on switch fabric card, therefore need the software of switch fabric card to increase this dynamic forwarding capability, and the forwarding of switch fabric card belongs to hardware to be forwarded, the scale forwarding regular list item is restricted according to hardware specification, therefore the multicast list quantity of complete machine support is subject to the scale restriction of the forwarding rule list item of switch fabric card, and then need the hardware-switch chip using high standard as supported the multicast list quantity of complete machine, cost is very high.Have recorded the forwarding rule list of (S, G, V) in addition in switch fabric card, this means that exchange chip needs to support that multicast IP forwards, and the cost of this exchange chip is also very high.If use the exchange chip of conventional support L2 address (MAC Address) multicast forwarding, although cost reduces, due to the relation of 32 to 1 of IP address and MAC Address, and MAC forwards nonrecognition source address, forwarding can be caused inaccurate, and forwarding performance is poor.Finally, the program, owing to also needing between switch fabric card and line card to carry out control message interaction, occupies more bandwidth resources.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of distributed data communication system and method for forwarding multicast message thereof, with lower cost, realizes the higher multicast forwarding performance of distributed data communication system.
Technical scheme of the present invention is achieved in that
A kind of distributed data communication system, comprises switch fabric card, control card main control card and line card,
Described switch fabric card is used for: arrange static multicast table, records the rule of correspondence of the combination of each line card and L2 address in this static multicast table; After receiving the multicast message from line card, inquire about described static multicast table according to L2 address wherein and obtain corresponding line card combination, described multicast message is transmitted to the line card in the combination of this line card;
Described control card main control card, for calculating multicast forward table, records the forwarding interface combination that multicast message is corresponding, described multicast forward table is set to intrasystem each line card in described multicast forward table;
The corresponding relation and each line card that arrange described multicast forward table, interface and line card in described line card combine the rule of correspondence with L2 address, and this rule of correspondence is identical with the rule of correspondence in the table of static multicast described in switch fabric card; Described line card also for:
After receiving the multicast message from external equipment, inquire about described multicast forward table and obtain forwarding interface combination corresponding to this multicast message, then inquire about described interface and obtain corresponding line card with the corresponding relation of line card and combine; Combine according to this line card, obtain corresponding L2 address according to described line card combination with the rule of correspondence of L2 address; Encapsulate described multicast message according to this L2 address, and be sent to switch fabric card;
After receiving the multicast message from switch fabric card, inquiry multicast forward table, obtains the forwarding interface combination that this multicast message is corresponding, belongs to the interface of this line card, sent by the interface of described multicast message by this this line card in selecting this forwarding interface to combine.
Preferably, the described rule of correspondence is: characterize the combination of described line card with line card bitmap in described L2 address, and the corresponding corresponding line card of each bit in this line card bitmap, utilizes the value of bit to represent and whether comprise corresponding line card.
Preferably, the described rule of correspondence is a kind of fixing mapping relations, have recorded the numerical value of the L2 address of often kind of line card combination difference correspondence in native system in these fixing mapping relations.
Preferably, described line card is further used for: receive multicast message from external equipment and after obtaining corresponding forwarding interface combination, if the combination of this forwarding interface comprises the interface of this line card, sent by the interface of described multicast message by this this line card; And determine further only to combine containing the line card of non-line card, obtain L2 address corresponding to this combination of line card containing non-line card according to the described rule of correspondence more afterwards, encapsulate described multicast message according to this L2 address, and be sent to switch fabric card.
A method for forwarding multicast message for distributed data communication system, comprising:
Static multicast table is set in switch fabric card, in this static multicast table, records the rule of correspondence of the combination of each line card and L2 address;
The corresponding relation of multicast forward table and interface and line card is set in line card, in described multicast forward table, records the forwarding interface combination that multicast message is corresponding; And the rule of correspondence of the combination of each line card and L2 address is set in line card, this rule of correspondence is identical with the rule of correspondence in described static multicast table;
Line card receives after the multicast message of external equipment, inquires about described multicast forward table and obtains forwarding interface combination corresponding to this multicast message, then inquires about described interface and the corresponding relation of line card and obtain this forwarding interface and combine corresponding line card and combine; Combine according to this line card, obtain corresponding L2 address according to described line card combination with the rule of correspondence of L2 address; Encapsulate described multicast message according to this L2 address, and be sent to switch fabric card;
After switch fabric card receives the described multicast message from line card, inquire about described static multicast table according to L2 address wherein and obtain corresponding line card combination, described multicast message is transmitted to the line card in the combination of this line card;
After line card receives the multicast message from switch fabric card, inquiry multicast forward table obtains forwarding interface combination corresponding to this multicast message, belongs to the interface of this line card, sent by the interface of described multicast message by this this line card in selecting this forwarding interface to combine.
Preferably, the described rule of correspondence is: characterize the combination of described line card with line card bitmap in described L2 address, and the corresponding corresponding line card of each bit in this line card bitmap, utilizes the value of bit to represent and whether comprise corresponding line card.
Preferably, the described rule of correspondence is a kind of fixing mapping relations, have recorded the numerical value of the L2 address of often kind of line card combination difference correspondence in native system in these fixing mapping relations.
Preferably, described each line card combination of recording in the static multicast table of described switch fabric card is specially the port combination of each line card; After described switching matrix is stuck in the described multicast message received from line card, according to L2 address wherein, obtain the port combination of corresponding line card according to the described rule of correspondence of described static multicast table, by each port in this port combination, described multicast message is transmitted to corresponding line card.
Preferably, described line card receives multicast message from external equipment and after obtaining corresponding forwarding interface combination, if the combination of this forwarding interface comprises the interface of this line card, is sent by the interface of described multicast message by this this line card; And determine further and only combine containing the line card of non-line card, obtain L2 address corresponding to this combination of line card containing non-line card according to the described rule of correspondence more afterwards, encapsulate described multicast message according to this L2 address, and be sent to switch fabric card.
Preferably, the concrete mode recording forwarding interface combination corresponding to multicast message in described multicast forward table is: record the forwarding interface combination that the source IP address of multicast message, object IP address, VPN (virtual private network) route forwarding table mark VRFID value and this multicast message are corresponding;
Described line card receives after the multicast message of external equipment or switch fabric card, inquire about described multicast forward table obtain this multicast message corresponding forwarding interface combination concrete mode for: determine the source IP address of received multicast message, object IP address and VRFID value, with determined source IP address, object IP address and VRFID value for multicast forward table described in keyword query, obtain corresponding forwarding interface combination.
Compared with prior art, because the present invention only needs the L2 address arranging some to be the static multicast table of keyword on switch fabric card, the exchange chip of L2 address (MAC Address) multicast forwarding of conventional support just can support the present invention, therefore hinge structure, less demanding to exchange chip of the present invention, realizes cost low; And this invention simplifies the maintenance information of the forwarding rule list on switch fabric card, as long as the list item scale of the static multicast table of the present invention on switch fabric card can reach the number of combinations of line card in system, be easy to safeguard, treating capacity is little, the multicast forward table quantity of complete machine support is not restricted, when low cost, improve the forwarding performance of distributed data communication system.
Because described static multicast table is arranged on switch fabric card when initialization by the present invention, in the process of multicast forwarding, do not need between switch fabric card and line card to control message interaction, therefore decrease the control message interaction between switch fabric card and line card relative to prior art, save bandwidth resources.
In addition, because switch fabric card described in the present invention is according to described static multicast table forwarding multicasting message targetedly, be not broadcast described multicast message to all line cards, therefore the present invention can also avoid multicast packet at the inundation of backboard.
Accompanying drawing explanation
Fig. 1 is a kind of composition schematic diagram of distributed data communication system;
Fig. 2 is that the composition of distributed data communication system of the present invention and multicast message forward and move towards schematic diagram;
Fig. 3 is a kind of flow chart of the method for forwarding multicast message of distributed data communication system of the present invention;
Fig. 4 is the schematic diagram of each bit value of a kind of L2 address of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Fig. 2 is that the composition of distributed data communication system of the present invention and multicast message forward and move towards schematic diagram; See Fig. 2, distributed data communication system of the present invention comprises the line card (LPU) for data retransmission, for the main control card (MPU) of protocol processes, and the switch fabric card (SFU) for forwarding between main control card and line card, between line card and line card, described line card, main control card and switch fabric card are inserted on the backboard 101 of system, are undertaken alternately by the circuit of backboard.
Described main control card, switch fabric card are identical with prior art with the usual function of line card.The difference of the present invention and prior art is described emphatically below.
In distributed data communication system, described line card receives message from three directions, and one is the message received from the main control card of native system, and two is the messages received from the switch fabric card of native system, and three is the messages received from external equipment.Multicast message for distributed system forwards, and line card normally receives multicast message from native system switch fabric card, or receives multicast message from the external equipment of native system.The forwarding trend of multicast message of the present invention as shown in Figure 2, after line card receives multicast message from external equipment, if only forwarded by this line card, forward this multicast message from the interface of this line card, if need to be forwarded by non-line card, multicast message is reported switch fabric card, switch fabric card is transmitted to other line card corresponding to this multicast message again, and corresponding line card utilizes the interface of this line card to forward this multicast message after described switch fabric card receives multicast message.
Switch fabric card of the present invention is used for: arrange static multicast table, and in this static multicast table, in minute book system, each line card combines the rule of correspondence with L2 address, and described L2 address is specially media access control layer (MAC) address; After receiving the described multicast message from line card, obtain corresponding line card combination with L2 address wherein for static multicast table described in keyword query, described multicast message is transmitted to the line card in the combination of this line card.
Described main control card, for calculating multicast forward table, records the forwarding interface combination that multicast message is corresponding, described multicast forward table is set to intrasystem each line card in described multicast forward table.
Arrange each line card in the corresponding relation of described multicast forward table, interface and line card and native system in described line card and combine the rule of correspondence with L2 address, this rule of correspondence is identical with the rule of correspondence in the table of static multicast described in switch fabric card; Described line card also for:
When after the multicast message that described line card receives from external equipment, inquire about described multicast forward table and obtain forwarding interface combination corresponding to this multicast message, then inquire about described interface and the corresponding relation of line card and obtain this forwarding interface and combine corresponding line card and combine; Combine according to this line card, obtain corresponding L2 address according to described line card combination with the rule of correspondence of L2 address; Encapsulate described multicast message according to this L2 address, and be sent to switch fabric card;
When after the multicast message that described line card receives from switch fabric card, inquiry multicast forward table, obtain the forwarding interface combination that this multicast message is corresponding, belong to the interface of this line card in selecting this forwarding interface to combine, the interface of described multicast message by this this line card is sent.
Fig. 3 is a kind of flow chart of the method for forwarding multicast message of distributed data communication system of the present invention.See Fig. 3, the method comprises:
Step 301, static multicast table is set in switch fabric card in advance, the rule of correspondence of each line card combination and L2 address in minute book system in this static multicast table.
Generally, this step 301 can be performed when switching matrix card initialization, namely write 2 when initialization n-1 static multicast list item, wherein n represents the quantity of line card in native system, 2 n-1 is the number of combinations of n bracing cable card, and each static multicast list item have recorded one group of line card combination, the corresponding L2 address of each group line card combination.When inquiring about this static multicast table, be that keyword carries out inquiring about the line card combination obtaining correspondence with L2 address.
In a kind of embodiment, in described native system, each line card combination is specifically as follows with the rule of correspondence of L2 address: in described L2 address, characterize described line card with line card bitmap combine, the corresponding corresponding line card in each bit (bit) position in this line card bitmap, utilizes the value of bit position to represent and whether comprises corresponding line card.That is, have recorded the bitmap of the line card of forwarding multicasting message in this L2 address.
Such as, Figure 4 shows that the schematic diagram of a kind of L2 address each bit position value.See Fig. 4, in this embodiment, for the definition of this L2 address, require that a bit is 1, represent and be used for multicast forwarding, and last n bit of this L2 address is arranged according to line card bitmap, described n represents the quantity of the line card in native system, the corresponding corresponding line card in each bit position in this last n bit, be included in corresponding line card combination if the value of bit position is the corresponding line card of 1 expression, if the value of bit position is 0, represent that corresponding line card is not included in the line card combination of correspondence, vice versa.Utilize the line card bitmap of n bit, can 2 be represented n-a kind of line card combination.Such as, have 4 bracing cable cards in tentation data communication system herein, then as shown in Figure 4, described static multicast transmit in last 4 bits of L2 address, adopt the bitmap of 4 bracing cable cards to represent, 15 kinds of combinations (not containing complete zero) can be had.As bitmap 0101 represents that line card 2 and line card 4 want forwarding multicasting message.As for other bit positions in described L2 address except described first bit and last n position bit, can arrange voluntarily to arrange, as long as ensure when line card package group reports literary composition, consistent in these bit values of these bit positions (if the 2nd in Fig. 4 is to inverse the 5th) value of filling and the L2 address arranged at switch fabric card of L2 address.
Described each line card combination of recording in the static multicast table of described switch fabric card is concrete also can be the port combination of each line card, the port of corresponding line card 1 to the line card 4 of last 4 positions difference of such as L2 address described in Fig. 4, bitmap 0101 represents that the port of line card 2 and the port of line card 4 want forwarding multicasting message, adds the port (as port 2 and port 4) of connecting wire card 2 and line card 4 at the forwarding port transmitted.After described switching matrix is stuck in the described multicast message received from line card, according to L2 address wherein, obtain the port combination (combination as port 2 and port 4) of corresponding line card according to the described rule of correspondence of described static multicast table, by each port (as port 2 and port 4) in this port combination by as described in multicast message be transmitted to corresponding line card (as line card 2 and line card 4).
In another kind of embodiment, in described native system, each line card combination also can use the line card bitmap in above-mentioned L2 address to characterize with the rule of correspondence of L2 address, but record a kind of fixing mapping relations, have recorded the numerical value of the L2 address of often kind of line card combination difference correspondence in native system in these mapping relations.Such as a corresponding n line card, has 2 nline card combination, respectively correspondence 2 in-1 n-1 L2 address, these are 2 years old n-1 L2 address will comprise one for representing the bit position of multicast, such as first bit position, and the particular content of other bit positions can specify as required, if this 2 n-1 L2 address is different each other.Further, this L2 address arranged in static multicast table described in described switch fabric card is identical with the mapping relations that line card combines with the L2 address arranged in line card with the mapping relations that line card combines.
Step 302, the method also need the corresponding relation arranging multicast forward table and interface and line card in advance in line card, record the forwarding interface combination that multicast message is corresponding in described multicast forward table; And the rule of correspondence of each line card combination and L2 address in native system is set in line card, this rule of correspondence is identical with the rule of correspondence in the table of static multicast described in switch fabric card.
Such as, combine if each line card combination of recording in the static multicast table in described switch fabric card characterizes described line card with the line card bitmap in the rule of correspondence L2 address of L2 address, then in the native system arranged in described line card, each line card combines and also characterizes identical line card with the identical line card bitmap in L2 address with the rule of correspondence of L2 address and combine.As described in switch fabric card, line card bitmap 0101 characterizes the combination of line card 2 and line card 4, then identical in line card line card bitmap 0101 also characterizes the combination of line card 2 and line card 4.
If each line card combination of recording in the static multicast table in described switch fabric card characterizes by a kind of fixing mapping relations with the rule of correspondence of L2 address, then in the native system arranged in described line card, each line card combination also characterizes by identical mapping relations with the rule of correspondence of L2 address.As characterized the combination of line card 2 and line card 4 described in switch fabric card with L2 address 10001111, then also characterize the combination of line card 2 and line card 4 with identical L2 address 10001111 at line card.
The forwarding interface combination that the multicast message that the described multicast forward table of line card wherein records is corresponding, is calculated according to configuration and multicast protocol in advance by main control card, and is issued by this multicast forward table and be set in each line card.
Each record of described multicast forward table specifically comprises: the forwarding interface combination that the source IP address of multicast message, object IP address, VPN (virtual private network) (VPN) route forwarding table mark (VRFID) value and this multicast message are corresponding, and the such as forwarding interface of a certain multicast message is combined as interface 11, interface 15, interface 24.
Do not have strict sequencing between certain above-mentioned steps 301 and 302, vice versa.
Below for suppose line card 1 have received from the multicast message of external equipment after flow process go on to say the present invention, certainly, any one line card all can perform the following flow process for example after receiving the multicast message from external equipment.
Step 303, when line card 1 receive come after the multicast message of external equipment, determine the source IP address of received multicast message, object IP address and VRFID value, with determined source IP address, object IP address and VRFID value for multicast forward table described in keyword query, obtain corresponding forwarding interface combination.If do not inquire corresponding record in described multicast forward table, then turn over or abandon this multicast message according to the strategy preset.
Step 304, line card 1 are inquired about forwarding interface that described interface and the corresponding relation of line card obtain step 303 and are combined corresponding line card and combine.
Such as, suppose that the interface that line card 1 contains corresponds to interface 1 ~ interface 10, the interface that line card 2 contains corresponds to interface 11 ~ interface 20, and the interface that line card 3 contains corresponds to interface 21 ~ interface 30, and the interface that line card 4 contains corresponds to interface 31 ~ interface 40; If described forwarding interface is combined as interface 11, interface 15 and interface 34, then the line card of its correspondence is combined as line card 2 and line card 4.
In another kind more specifically embodiment, step 304 also can specifically comprise the steps 341 to step 346:
Step 341, line card 1 inquire about the corresponding relation of described interface and line card, judge the interface whether containing non-line card in the combination of described forwarding interface, if it is perform step 342; Otherwise jump to step 345.
Step 342, line card 1 judge the interface whether containing this line card in the combination of described forwarding interface, if had, are sent by the interface of described multicast message by this this line card, and are deleted from described forwarding interface combination by the interface of this this line card, jump to step 343; Otherwise leap to step 343.
Whether step 343, line card 1 judge in the combination of described forwarding interface containing the interface that can not determine ownership line card, if had, otherwise processed is needed to this interface, its specifically process details not describing in scope herein, need in the present invention this to be can not determine the interface of ownership line card is deleted from described forwarding interface combination, jump to step 344 afterwards; Otherwise leap to step 344.
Step 344, line card 1 determine the line card combination that the combination of described forwarding interface is corresponding, and that is this line card is only containing non-line card (line card as confirmable non-line card 1) in combining, and jumps to step 305.
Such as according to the interface of above-mentioned hypothesis and the corresponding relation of line card, if described forwarding interface is combined as interface 3, interface 11, interface 15 and interface 34, the interface 3 of multicast message in this locality forwards by the line card 1 then receiving multicast message from external equipment, and interface 3 is deleted from forwarding interface combination, the line card of the correspondence finally obtained is combined as line card 2 and line card 4.
Step 345, line card 1 judge the interface whether containing this line card in the combination of described forwarding interface, if had, are sent by the interface of described multicast message by this this line card, jump to step 346; Otherwise leap to step 346.
Step 346, line card 1 to judge in the combination of described forwarding interface, whether containing the interface that can not determine ownership line card, if had, to need otherwise processed to this interface, and it specifically processes details not describing in scope herein, process ends afterwards; Otherwise abandon described multicast message, process ends.
Step 305, line card 1 combine according to determined line card, obtain corresponding L2 address according to described line card combination with the rule of correspondence of L2 address; Encapsulate described multicast message according to this L2 address, and be sent to switch fabric card.
The line card combination arranged in line card is combined with the rule of correspondence of L2 address identical with the rule of correspondence of L2 address with the line card arranged in the table of static multicast described in switch fabric card.Suppose that the current line card determined is combined as line card 2 and line card 4, and described each line card combination characterizes described line card with the line card bitmap in the rule of correspondence L2 address of L2 address combines, the L2 address of the correspondence then obtained as shown in Figure 4, its bit is 1, represent and be used for multicast forwarding, last four bit line card bitmaps are 0101, represent that line card 2 and line card 4 need to forward this multicast message.All the other bit positions can arrange to arrange voluntarily, as long as ensure when line card package group reports literary composition, consistent in these bit values of these bit positions (if the 2nd in Fig. 4 is to inverse the 5th) value of filling and the L2 address arranged at switch fabric card of L2 address.
After obtaining described L2 address, this L2 address is encapsulated in described multicast message, this multicast message is sent to switch fabric card.L2 address in described multicast message is equivalent to the object L2 address of this multicast message.
After step 306, switch fabric card receive the described multicast message from line card, according to L2 address wherein, obtain corresponding line card combination according to the described rule of correspondence of described static multicast table, described multicast message is transmitted to the line card in the combination of this line card.
Concrete, when after the message that switch fabric card receives from line card, a bit position of reading L2 address is wherein 1, be then judged to be multicast message, perform follow-up multicast process.Namely last four that read this multicast message L2 address, its bitmap is 0101, can judge that corresponding line card is combined as line card 2 and line card 4, then by the port of line card 2 and line card 4, described multicast message is transmitted to corresponding line card 2 and line card 4.
Described each line card combination of recording in the static multicast table of described switch fabric card is concrete also can be the port combination of each line card, the port of corresponding line card 1 to the line card 4 of last 4 positions difference of such as L2 address described in Fig. 4, bitmap 0101 represents that the port of line card 2 and the port of line card 4 want forwarding multicasting message, adds the port (as port 2 and port 4) of connecting wire card 2 and line card 4 at the forwarding port transmitted.Therefore switch fabric card can directly according to last four of L2 address, obtain the port combination (combination as port 2 and port 4) of corresponding line card, by each port (as port 2 and port 4) in this port combination by as described in multicast message be transmitted to corresponding line card (as line card 2 and line card 4).
After step 307, line card (such as line card 2 and line card 4) receive the multicast message from switch fabric card, determine the source IP address of received multicast message, object IP address and VRFID value, with determined source IP address, object IP address and VRFID value for multicast forward table described in keyword query, obtain corresponding forwarding interface combination, belong to the interface of this line card in selecting this forwarding interface to combine, the interface of described multicast message by this this line card is sent.If do not inquire corresponding record in described multicast forward table, then turn over or abandon this multicast message according to the strategy preset.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a distributed data communication system, comprises switch fabric card, main control card and line card, it is characterized in that,
Described switch fabric card is used for: arrange static multicast table, records the rule of correspondence of the combination of each line card and L2 address in this static multicast table; After receiving the multicast message from line card, inquire about described static multicast table according to L2 address wherein and obtain corresponding line card combination, described multicast message is transmitted to the line card in the combination of this line card;
Described main control card, for calculating multicast forward table, records the forwarding interface combination that multicast message is corresponding, described multicast forward table is set to intrasystem each line card in described multicast forward table;
The corresponding relation and each line card that arrange described multicast forward table, interface and line card in described line card combine the rule of correspondence with L2 address, and this rule of correspondence is identical with the rule of correspondence in the table of static multicast described in switch fabric card; Described line card also for:
After receiving the multicast message from external equipment, inquire about described multicast forward table and obtain forwarding interface combination corresponding to this multicast message, then inquire about described interface and obtain corresponding line card with the corresponding relation of line card and combine; Combine according to this line card, obtain corresponding L2 address according to described line card combination with the rule of correspondence of L2 address; Encapsulate described multicast message according to this L2 address, and be sent to switch fabric card;
After receiving the multicast message from switch fabric card, inquiry multicast forward table, obtains the forwarding interface combination that this multicast message is corresponding, belongs to the interface of this line card, sent by the interface of described multicast message by this this line card in selecting this forwarding interface to combine.
2. system according to claim 1, it is characterized in that, the described rule of correspondence is: characterize the combination of described line card with line card bitmap in described L2 address, and the corresponding corresponding line card of each bit in this line card bitmap, utilizes the value of bit to represent and whether comprise corresponding line card.
3. system according to claim 1, is characterized in that, the described rule of correspondence is a kind of fixing mapping relations, have recorded the numerical value of the L2 address of often kind of line card combination difference correspondence in native system in these fixing mapping relations.
4. system according to claim 1, it is characterized in that, described line card is further used for: receive multicast message and after obtaining corresponding forwarding interface combination from external equipment, if the combination of this forwarding interface comprises the interface of this line card, the interface of described multicast message by this this line card is sent; And determine further only to combine containing the line card of non-line card, obtain L2 address corresponding to this combination of line card containing non-line card according to the described rule of correspondence more afterwards, encapsulate described multicast message according to this L2 address, and be sent to switch fabric card.
5. a method for forwarding multicast message for distributed data communication system, is characterized in that, comprising:
Static multicast table is set in switch fabric card, in this static multicast table, records the rule of correspondence of the combination of each line card and L2 address;
The corresponding relation of multicast forward table and interface and line card is set in line card, in described multicast forward table, records the forwarding interface combination that multicast message is corresponding; And the rule of correspondence of the combination of each line card and L2 address is set in line card, this rule of correspondence is identical with the rule of correspondence in described static multicast table;
Line card receives after the multicast message of external equipment, inquires about described multicast forward table and obtains forwarding interface combination corresponding to this multicast message, then inquires about described interface and the corresponding relation of line card and obtain this forwarding interface and combine corresponding line card and combine; Combine according to this line card, obtain corresponding L2 address according to described line card combination with the rule of correspondence of L2 address; Encapsulate described multicast message according to this L2 address, and be sent to switch fabric card;
After switch fabric card receives the described multicast message from line card, inquire about described static multicast table according to L2 address wherein and obtain corresponding line card combination, described multicast message is transmitted to the line card in the combination of this line card;
After line card receives the multicast message from switch fabric card, inquiry multicast forward table obtains forwarding interface combination corresponding to this multicast message, belongs to the interface of this line card, sent by the interface of described multicast message by this this line card in selecting this forwarding interface to combine.
6. method according to claim 5, it is characterized in that, the described rule of correspondence is: characterize the combination of described line card with line card bitmap in described L2 address, and the corresponding corresponding line card of each bit in this line card bitmap, utilizes the value of bit to represent and whether comprise corresponding line card.
7. method according to claim 5, is characterized in that, the described rule of correspondence is a kind of fixing mapping relations, have recorded the numerical value of the L2 address of often kind of line card combination difference correspondence in native system in these fixing mapping relations.
8. method according to claim 5, is characterized in that, described each line card combination of recording in the static multicast table of described switch fabric card is specially the port combination of each line card; After described switching matrix is stuck in the described multicast message received from line card, according to L2 address wherein, obtain the port combination of corresponding line card according to the described rule of correspondence of described static multicast table, by each port in this port combination, described multicast message is transmitted to corresponding line card.
9. method according to claim 5, it is characterized in that, described line card receives multicast message from external equipment and after obtaining corresponding forwarding interface combination, if the combination of this forwarding interface comprises the interface of this line card, is sent by the interface of described multicast message by this this line card; And determine further and only combine containing the line card of non-line card, obtain L2 address corresponding to this combination of line card containing non-line card according to the described rule of correspondence more afterwards, encapsulate described multicast message according to this L2 address, and be sent to switch fabric card.
10. method according to claim 5, is characterized in that,
The concrete mode recording forwarding interface combination corresponding to multicast message in described multicast forward table is: record the forwarding interface combination that the source IP address of multicast message, object IP address, VPN (virtual private network) route forwarding table mark VRFID value and this multicast message are corresponding;
Described line card receives after the multicast message of external equipment or switch fabric card, inquire about described multicast forward table obtain this multicast message corresponding forwarding interface combination concrete mode for: determine the source IP address of received multicast message, object IP address and VRFID value, with determined source IP address, object IP address and VRFID value for multicast forward table described in keyword query, obtain corresponding forwarding interface combination.
CN201210045254.6A 2012-02-27 2012-02-27 Distributed data communication system and method for forwarding multicast message thereof Active CN103297344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210045254.6A CN103297344B (en) 2012-02-27 2012-02-27 Distributed data communication system and method for forwarding multicast message thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210045254.6A CN103297344B (en) 2012-02-27 2012-02-27 Distributed data communication system and method for forwarding multicast message thereof

Publications (2)

Publication Number Publication Date
CN103297344A CN103297344A (en) 2013-09-11
CN103297344B true CN103297344B (en) 2016-04-20

Family

ID=49097684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210045254.6A Active CN103297344B (en) 2012-02-27 2012-02-27 Distributed data communication system and method for forwarding multicast message thereof

Country Status (1)

Country Link
CN (1) CN103297344B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532857B (en) * 2013-10-28 2016-09-14 北京锐安科技有限公司 The method and device that a kind of data forward
CN103561134B (en) * 2013-11-19 2017-02-15 迈普通信技术股份有限公司 Message transmitting method and system
CN104852858B (en) * 2015-03-24 2018-11-27 新华三技术有限公司 A kind of flow forwarding method and equipment
CN105429823B (en) * 2015-12-17 2018-06-01 迈普通信技术股份有限公司 Flux of multicast detection method and device in distributed communication equipment
CN109286564B (en) * 2017-07-20 2022-06-07 迈普通信技术股份有限公司 Message forwarding method and device
CN112769693B (en) * 2020-12-24 2022-04-26 杭州迪普信息技术有限公司 Method and device for maintaining multicast group

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291294A (en) * 2008-06-06 2008-10-22 杭州华三通信技术有限公司 Biprimary controlled switching apparatus, method and device for distributing retransmitting list
CN101296186A (en) * 2008-06-13 2008-10-29 杭州华三通信技术有限公司 Routing switching device, method and switching cable fastener plate
CN102045332A (en) * 2009-10-26 2011-05-04 杭州华三通信技术有限公司 Method for processing control message in intelligent resilient framework and line card boards

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291294A (en) * 2008-06-06 2008-10-22 杭州华三通信技术有限公司 Biprimary controlled switching apparatus, method and device for distributing retransmitting list
CN101296186A (en) * 2008-06-13 2008-10-29 杭州华三通信技术有限公司 Routing switching device, method and switching cable fastener plate
CN102045332A (en) * 2009-10-26 2011-05-04 杭州华三通信技术有限公司 Method for processing control message in intelligent resilient framework and line card boards

Also Published As

Publication number Publication date
CN103297344A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103297344B (en) Distributed data communication system and method for forwarding multicast message thereof
US8718061B2 (en) Data center network system and packet forwarding method thereof
CN101442493B (en) Method for distributing IP message, cluster system and load equalizer
CN103795636B (en) Multicast processing method, device and system
CN103200069B (en) A kind of method and apparatus of Message processing
CN103312605B (en) A kind of gateway device identity setting method and management gateway equipment
US7826450B2 (en) Multicast/broadcast extension to a point-to-point unicast-only packet switch system
US10079694B2 (en) Scalable virtual networks in SDN-based ethernet networks using VLANs
CN109120418A (en) The distributed multicast of endpoint
US10382391B2 (en) Systems and methods for managing network address information
CN100563215C (en) A kind of packet routing switch device and method thereof
CN107547344B (en) VXLAN message processing method and device
CN101925125A (en) Method of multipath TCP having mobility and combined with mobile IP (internet protocol)
CN105763385A (en) Flow scheduling method and apparatus
Iannone et al. Implementing the locator/id separation protocol: Design and experience
CN108600074A (en) The retransmission method and device of multicast data message
CN104243323A (en) Exchange network multicast route method and system
CN104253698A (en) Message multicast processing method and message multicast processing equipment
CN100414936C (en) Method for balancing load between multi network cards of network file system server
CN102111320A (en) Method for controlling plane data interaction in distributed system
CN106850268B (en) device and method for realizing linear protection switching
CN101795238B (en) Network load balancing networking method, network load balancing networking equipment and network load balancing networking system
CN112822097A (en) Message forwarding method, first network device and first device group
CN109286564B (en) Message forwarding method and device
JP7314219B2 (en) DATA TRANSMISSION METHOD, APPARATUS AND NETWORK DEVICE

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant