CN102347890B - Processing method and device of multicast message - Google Patents

Processing method and device of multicast message Download PDF

Info

Publication number
CN102347890B
CN102347890B CN201010245003.3A CN201010245003A CN102347890B CN 102347890 B CN102347890 B CN 102347890B CN 201010245003 A CN201010245003 A CN 201010245003A CN 102347890 B CN102347890 B CN 102347890B
Authority
CN
China
Prior art keywords
multicast group
message
physics
multicast
process chip
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.)
Expired - Fee Related
Application number
CN201010245003.3A
Other languages
Chinese (zh)
Other versions
CN102347890A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201010245003.3A priority Critical patent/CN102347890B/en
Publication of CN102347890A publication Critical patent/CN102347890A/en
Application granted granted Critical
Publication of CN102347890B publication Critical patent/CN102347890B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a processing method and device of a multicast message. The method comprises the following steps of: configuring an actual multi-cast group as a plurality of physical multicast groups on an uplink message processing chip according to the number of output interfaces corresponding to the actual multicast group, when the number of the output interfaces is greater than the maximum message copy number supported by a switching network chip, copying the multicast message with the number the same with the physical multicast group number, and respectively carrying information of one of the physical multicast groups in the copied multicast message to send to the switching network chip; and according to the message copy number configured aiming at each physical multicast group, copying the multicast message respectively by the switching network chip aiming at each physical multicast group, and forwarding the multicast message by a downlink message processing chip through the output interface corresponding to the physical multicast group, thus when the required copy number is over the message copy ability of the switching network chip, the normal forward of the multicast message can be realized.

Description

A kind of processing method of multicast message and device
Technical field
The present invention relates to network communications technology field, particularly a kind of processing method of multicast message and device.
Background technology
As a kind of and clean culture communication mode arranged side by side, multicasting technology has solved the problem of single-point transmission, multipoint reception effectively, thereby has realized the efficient data transmission of point-to-multipoint in network, can save a large amount of network bandwidths, reduce offered load.In addition, utilize multicasting technology that some new value-added services can be provided easily, comprise the information service high to the requirement of real-time of broadband and data interaction such as live, Web TV, long-distance education, tele-medicine, network radio station, real-time video meeting online.
Existing high-end switch and router all carry out message by switching network chip and exchange at a high speed, and in order to improve the efficiency of multicast, switching network chip is all supported multicast replication function conventionally, thereby realizes efficiently multicast.Yet, in the multicast replication function of existing switching network chip, because hardware handles reason can only copy the fixedly message of umber, although when some occasion multicast group few, but outgoing interface corresponding to each multicast group is huge, although or outgoing interface corresponding to each multicast group is few, when multicast group quantity is huge, the multicast replication function of existing switching network chip is difficult to meet these messages and copies the demand that quantity surpasses the fixing message number of copies of hardware.
Summary of the invention
The invention provides a kind of processing method and device of multicast message, so that meet message, copy the demand that quantity surpasses the message number of copies of switching network chip.
A kind of processing method of multicast message, be applied to the switching equipment that comprises uplink message process chip, switching network chip and downlink message process chip, if outgoing interface number t corresponding to actual multicast group is greater than the maximum message segment copies n that switching network chip is supported, in uplink message process chip, configure corresponding i+1 the physics multicast group of described actual multicast group; On switching network chip, configuring wherein i message copies corresponding to physics multicast group is n, and remaining 1 message copies corresponding to physics multicast group is j; In downlink message process chip, configure n in corresponding t the described outgoing interface of each difference in described i physics multicast group, and outgoing interface corresponding to each physics multicast group, 1 physics multicast group correspondence of described residue remains j outgoing interface; Wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n; The method comprises:
A, described uplink message process chip receive after the multicast message of described actual multicast group, by this multicast message copy as with this actual multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining after copying, carry respectively after the information of one of them physics multicast group, send to switching network chip;
B, described switching network chip, according to the information of the entrained physics multicast group of the multicast message receiving, copy as the multicast message receiving after message copies corresponding to this physics multicast group, send to downlink message process chip;
C, described downlink message process chip are according to the information of the entrained physics multicast group of the multicast message receiving, according to outgoing interface forwarding multicasting message corresponding to this physics multicast group.
A processing unit for multicast message, this device comprises: dispensing unit, uplink message process chip, switching network chip and downlink message process chip;
Described dispensing unit, be used for when outgoing interface number t corresponding to actual multicast group is greater than the maximum message segment copies n of switching network chip support, in uplink message process chip, configure corresponding i+1 the physics multicast group of described actual multicast group, on switching network chip, configuring wherein i message copies corresponding to physics multicast group is n, remaining 1 message copies corresponding to physics multicast group is j, in downlink message process chip, configure n in corresponding t the described outgoing interface of each difference in described i physics multicast group, and the outgoing interface that each physics multicast group is corresponding different, j outgoing interface of the corresponding residue of 1 physics multicast group of described residue, wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n,
Described uplink message process chip, for receiving after the multicast message of described actual multicast group, by this multicast message copy as with this actual multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining, carry respectively the information of one of them physics multicast group after copying, send to switching network chip;
Described switching network chip, for according to the information of the entrained physics multicast group of the multicast message that receives, the multicast message that this is received copies as after message copies corresponding to this physics multicast group, sends to downlink message process chip;
Described downlink message process chip, for according to the information of the entrained physics multicast group of the multicast message that receives, according to outgoing interface forwarding multicasting message corresponding to this physics multicast group.
As can be seen from the above technical solutions, method and apparatus provided by the invention, actual multicast group is configured to a plurality of physics multicast group in uplink message process chip, on switching network chip, configure message copies corresponding to each physics multicast group, in downlink message process chip, configure outgoing interface corresponding to each physics multicast group, make the uplink message process chip can be when outgoing interface number corresponding to multicast group is greater than the maximum message segment copies that switching network chip supports, multicast message is copied as to the umber with physics multicast group similar number, and send to switching network chip after carrying respectively the information of one of them physics multicast group in the multicast message after copying, switching network chip carries out copying of multicast message for each physics multicast group respectively according to configuration, and by downlink message process chip, multicast message is forwarded by outgoing interface corresponding to physics multicast group, thereby in the situation that the message of demand copies the message replication capacity that quantity surpasses switching network chip, realize the normal forwarding of multicast message.
Accompanying drawing explanation
Fig. 1 is main method flow chart provided by the invention;
Fig. 2 is apparatus structure schematic diagram provided by the invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the drawings and specific embodiments, describe the present invention.
Method provided by the invention is applied to the switching equipment that comprises uplink message process chip, switching network chip and downlink message process chip, and this switching equipment can be switch or router etc.As shown in Figure 1, the method can mainly comprise the following steps:
Step 101: if outgoing interface number t corresponding to multicast group is greater than the maximum message segment copies n that switching network chip is supported, in uplink message process chip, configure in advance corresponding i+1 the physics multicast group of this multicast group, in switching network chip, configuring wherein i message copies corresponding to physics multicast group is n, remaining 1 message copies corresponding to physics multicast group is j, in downlink message process chip, configure the wherein n outgoing interface in the corresponding above-mentioned outgoing interface of each difference in an above-mentioned wherein i physics multicast group, residue j outgoing interface in the corresponding above-mentioned outgoing interface of 1 physics multicast group of above-mentioned residue, wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n.
This step is actually the outgoing interface number corresponding according to actual multicast group, and uplink message process chip, switching network chip and downlink message process chip are configured.This layoutprocedure can be carried out after switching equipment completes the study of Multicast Routing, also can, after Multicast Routing changes, for the Multicast Routing after changing, carry out above-mentioned layoutprocedure.
When outgoing interface number t corresponding to multicast group is greater than the maximum message segment copies n of switching network chip support, only relying on the copy function of switching network chip obviously cannot complete all of multicast message copies, in the present invention, pass through using actual multicast group as a logical multicast group, and be divided into the mode of a plurality of physics multicast group, the message carrying out in uplink message process chip from logical multicast group to physics multicast group copies, on switching network chip, carry out respectively copying of physics multicast group, thereby all messages that complete for this actual multicast group copy.
In this step, can first in uplink message process chip, for this multicast group, configure i+1 physics multicast group number, this multicast group in multicast routing table can be pointed to this i+1 physics multicast group number.On switching network chip, configuring wherein i message copies corresponding to physics multicast group number is n, and remaining 1 message copies corresponding to physics multicast group number is j, so just can complete copying of all messages.In addition, in order to realize corresponding forwarding, need in downlink message process chip, all outgoing interfaces corresponding to actual multicast group be distributed to above-mentioned i+1 physics multicast group number, and above-mentioned i the physics multicast group number that is n for corresponding message copies be a corresponding n outgoing interface respectively, corresponding j the outgoing interface of above-mentioned remaining 1 physics multicast group number that corresponding message copies is j.
Step 102: uplink message process chip receives after the multicast message of corresponding above-mentioned multicast group, by this multicast message copy as with this multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining after copying respectively, carry after the information of one of them physics multicast group corresponding to this multicast group, send to switching network chip.
Uplink message process chip receives after multicast message, search multicast routing table, if determine that the multicast group physics multicast group number pointed of this multicast message is greater than 1, this multicast message is copied as to the same number of umber with physics multicast group number, after being i+1 part, the i+1 part multicast message obtaining after copying is carried respectively to one of them physics multicast group number, and each multicast message carries different physics multicast group numbers.
Wherein, physics multicast group number can be carried in the switching network information header of multicast message.
Step 103: switching network chip is according to the information of the entrained physics multicast group of the multicast message that receives, sends to downlink message process chip after the multicast message receiving is copied as to message copies corresponding to this physics multicast group.
Through the processing of ascending physical signal process chip, switching network chip can receive i+1 part multicast message, and the message in this step this i+1 part multicast message being carried out respectively copies all within the scope of hardware capabilities.According to configuration, wherein i part multicast message copies n part, and a multicast message of residue is copied to j part, sends to downlink message process chip after finally forming t part multicast message.
Step 104: downlink message process chip is according to the information of the entrained physics multicast group of the multicast message receiving, according to outgoing interface forwarding multicasting message corresponding to this physics multicast group.
Downlink message process chip is according to pre-configured physics multicast group number and the corresponding relation between outgoing interface, can inquire and receive outgoing interface corresponding to physics multicast group number that multicast message carries, and by the outgoing interface inquiring, multicast message be forwarded.
So far, the handling process that is greater than the multicast group of n for outgoing interface number t finishes.
If outgoing interface number t corresponding to multicast group is less than or equal to the maximum message segment copies n that switching network chip is supported, the copy function that only completes message by switching network chip can realize, can for this multicast group, not arrange especially, according to multicast message processing mode of the prior art, carry out.But in order to make in same equipment the processing mode to multicast message consistent, also can be when t be less than or equal to n, in uplink message process chip, configure in advance corresponding 1 the physics multicast group of this multicast group, in switching network chip, configuring message copies corresponding to this physics multicast group is t, configures the corresponding all outgoing interfaces of this physics multicast group in downlink message process chip.
The multicast message of corresponding this situation, first uplink message process chip can determine the physics multicast group number number that this multicast group is corresponding, if be greater than 1, according to the step 102 in flow process shown in Fig. 1, carry out, if definite physics multicast group number number is 1, without multicast message is copied, send to switching network chip after directly this multicast message being carried to this physics multicast group number.Subsequent exchange web-roll core sheet and downlink message process chip are still carried out according to step 103 and 104 processing mode of the multicast message receiving, be that switching network chip receives after this multicast message, this multicast message is copied as after the entrained physics of this multicast message number corresponding message copies is t part, send to downlink message process chip.Downlink message process chip forwards this multicast message according to outgoing interface corresponding to this physics multicast group number.
Lifting a concrete example is below described flow process shown in Fig. 1.The maximum message segment copies of supposing the switching network chip support in certain router is 256 parts, when determining that by multicast learning process outgoing interface number corresponding to certain multicast group is 1000, illustrate that this multicast group need to this router support the message replication capacity of 1000 parts.
The outgoing interface number corresponding according to this multicast group in advance, determines interface number and is greater than the maximum message segment copies that switching network chip is supported in the present invention.Owing to 1000 being 3 divided by 256 business, remainder is 232, therefore, configures corresponding 4 the physics multicast group numbers of this multicast group in the uplink message process chip in router, is respectively G0, G1, G2 and G3.Can point to physics multicast group number G0~G3 by this multicast group configure multicast routing table in uplink message process chip in.
On switching network chip, configuring the message copies that G0, G1 and G2 are corresponding is that the message copies that 256, G3 is corresponding is 232.
Suppose that 1000 outgoing interfaces corresponding to actual multicast group are respectively P0~P999, in downlink message process chip, configuring the outgoing interface that G0 is corresponding is P0~P255, the outgoing interface that G1 is corresponding is P256~P511, the outgoing interface that G2 is corresponding is P512~P767, and the outgoing interface that G3 is corresponding is P768~P999.
When this router receives after multicast message, by searching multicast routing table, determine that physics multicast group number corresponding to multicast group is G0~G3, this multicast message is copied to 4 parts, and these 4 parts of multicast messages are carried respectively after the information of G0, G1, G2 and G3, send to switching network chip.
Switching network chip receives after multicast message, according to configuration, the multicast message that carries G0 is copied as to 256 parts, the multicast message that carries G1 is copied as to 256 parts, the multicast message that carries G2 is copied as to 256 parts, send to downlink message process chip after the multicast message that carries G3 is copied as to 232 parts.
Downlink message process chip receives after multicast message, according to configuration, 256 parts of multicast messages that carry G0 are forwarded by outgoing interface P0~P255 respectively, 256 parts of multicast messages that carry G1 are forwarded by outgoing interface P256~P511 respectively, 256 parts of multicast messages that carry G2 are forwarded by outgoing interface P512~767 respectively, 232 parts of multicast messages that carry G3 are forwarded by outgoing interface P768~P999 respectively.
Be more than the description that method provided by the present invention is carried out, below device provided by the present invention be described in detail.Device provided by the invention can be the switching equipment such as switch or router, and as shown in Figure 2, this device can comprise: dispensing unit 200, uplink message process chip 210, switching network chip 220 and downlink message process chip 230.
Dispensing unit 200, be used for when outgoing interface number t corresponding to actual multicast group is greater than the maximum message segment copies n of switching network chip 220 supports, in uplink message process chip 210, configure corresponding i+1 the physics multicast group of actual multicast group, on switching network chip 220, configuring wherein i message copies corresponding to physics multicast group is n, remaining 1 message copies corresponding to physics multicast group is j, in downlink message process chip 230, configure n in the corresponding t of each difference outgoing interface in i physics multicast group, and the outgoing interface that each physics multicast group is corresponding different, remain j outgoing interface of the corresponding residue of 1 physics multicast group, wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n.
This dispensing unit 220 can be after the study that completes Multicast Routing, uplink message process chip 210, switching network chip 220 and downlink message process chip 230 are carried out to above-mentioned configuration, also can, after Multicast Routing changes, for the Multicast Routing after changing, to uplink message process chip 210, switching network chip 220 and downlink message process chip 230, carry out above-mentioned configuration.
In fact, dispensing unit 220 is, in uplink message process chip 210, actual multicast group is become to i+1 physics multicast group as a logical multicast component, make the uplink message process chip 210 can be by multicast message from copying as the multicast message for physics multicast group for logical multicast group, and make switching network chip 220 to each physics multicast group, carry out message copy function respectively, simultaneously, all outgoing interfaces corresponding to actual multicast group are distributed to i+1 physics multicast group, and the corresponding relation between outgoing interface and physics multicast group is handed down to downlink message process chip 230.
Complete after above-mentioned configuration, when switching equipment carries out actual forward process for multicast message, uplink message process chip 210, for receiving after the multicast message of above-mentioned actual multicast group, by this multicast message copy as with this actual multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining after copying, carry respectively after the information of one of them physics multicast group, send to switching network chip 220.
Switching network chip 220, for according to the information of the entrained physics multicast group of the multicast message that receives, the multicast message that this is received copies as after message copies corresponding to this physics multicast group, sends to downlink message process chip 230.
Downlink message process chip 230, for according to the information of the entrained physics multicast group of the multicast message that receives, according to outgoing interface forwarding multicasting message corresponding to this physics multicast group.
Particularly, above-mentioned dispensing unit 200 can comprise: ability judgment sub-unit 201 and the first configuration subelement 202.
Ability judgment sub-unit 201, for judging whether outgoing interface number t corresponding to actual multicast group is greater than the maximum message segment copies n that switching network chip 220 is supported.
The first configuration subelement 202, for when judgment result is that of ability judgment sub-unit 201 is, in uplink message process chip 210, configure corresponding i+1 the physics multicast group of this actual multicast group, on switching network chip 220, configuring wherein i message copies corresponding to physics multicast group is n, remaining 1 message copies corresponding to physics multicast group is j, in downlink message process chip 230, configure n in the corresponding t of each difference outgoing interface in i physics multicast group, and the outgoing interface that each physics multicast group is corresponding different, remain j outgoing interface of the corresponding residue of 1 physics multicast group, wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n.
Be directed to the situation that outgoing interface number t corresponding to multicast group is less than or equal to the maximum message segment copies n of switching network chip 220 supports, dispensing unit 200 can also comprise: the second configuration subelement 203, for in ability judgment sub-unit 201 when the determination result is NO, in uplink message process chip 210, configure corresponding 1 the physics multicast group of actual multicast group, on switching network chip 220, configuring message copies corresponding to this 1 physics multicast group is t, in downlink message process chip 230, configure all outgoing interfaces corresponding to the corresponding multicast group of this 1 physics multicast group.
Above-mentioned uplink message process chip 210 can specifically comprise: message receives subelement 211, judgement is processed subelement 212, the first message processing subelement 213, the second message processing subelement 214 and message and sent subelement 215.
Wherein, message receives subelement 211, for receiving after the multicast message of actual multicast group, offers judgement and processes subelement 212.
Subelement 212 is processed in judgement, for judging whether physics multicast group corresponding to this actual multicast group is greater than one, if so, the multicast message receiving is offered to the first message and process subelement 213; If be only one, the multicast message receiving offered to the second message and process subelement 214.
The first message is processed subelement 213, be used for receiving after multicast message, by this multicast message copy as with this actual multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining, carry respectively the information of one of them physics multicast group corresponding to multicast group after copying.
The second message is processed subelement 214, for receiving after multicast message, will in this multicast message, carry the information of physics multicast group corresponding to actual multicast group.
Message sends subelement 215, for sending the first message, processes subelement 213 and the second message and processes multicast message after subelement 214 is processed to switching network chip 220.
Particularly, the first configuration subelement 202 in can configuring multicast routing table in uplink message process chip 210 actual multicast group point to i+1 physics multicast group number.
The second configuration subelement 203 configure multicast routing table in uplink message process chip 210 in actual multicast group point to 1 physics multicast group number.
The first message processes subelement 213 and the second message is processed subelement 214 by searching multicast table, determines the physics multicast group number that actual multicast group is pointed to.Now, the information of above-mentioned physics multicast group can be broadcast group number for physical set.
Wherein, uplink message process chip 210 can be carried at the information of physics multicast group in the switching network information header of multicast message, and switching network chip 220 and downlink message process chip 230 can be obtained the information of physics multicast group from the switching network information header of multicast message.
By above description, can be found out, method and apparatus provided by the invention, actual multicast group is configured to a plurality of physics multicast group in uplink message process chip, on switching network chip, configure message copies corresponding to each physics multicast group, in downlink message process chip, configure outgoing interface corresponding to each physics multicast group, make the uplink message process chip can be when outgoing interface number corresponding to multicast group is greater than the maximum message segment copies that switching network chip supports, multicast message is copied as to the umber with physics multicast group similar number, and send to switching network chip after carrying respectively the information of one of them physics multicast group in the multicast message after copying, switching network chip carries out copying of multicast message for each physics multicast group respectively according to configuration, and by downlink message process chip, multicast message is forwarded by outgoing interface corresponding to physics multicast group, thereby in the situation that the message of demand copies the message replication capacity that quantity surpasses switching network chip, realize the normal forwarding of multicast message.
In addition, number of copies that can flexible expansion multicast message by method and apparatus provided by the invention, makes copying of multicast message not limited by the hardware specification of switching network chip, and makes full use of the replication capacity of each chip in switching equipment.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. the processing method of a multicast message, be applied to the switching equipment that comprises uplink message process chip, switching network chip and downlink message process chip, it is characterized in that, if outgoing interface number t corresponding to actual multicast group is greater than the maximum message segment copies n that switching network chip is supported, in uplink message process chip, configure corresponding i+1 the physics multicast group of described actual multicast group; On switching network chip, configuring wherein i message copies corresponding to physics multicast group is n, and remaining 1 message copies corresponding to physics multicast group is j; In downlink message process chip, configure n in corresponding t the described outgoing interface of each difference in described i physics multicast group, and outgoing interface corresponding to each physics multicast group, 1 physics multicast group correspondence of described residue remains j outgoing interface; Wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n; The method comprises:
A, described uplink message process chip receive after the multicast message of described actual multicast group, by this multicast message copy as with this actual multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining after copying, carry respectively after the information of one of them physics multicast group, send to switching network chip;
B, described switching network chip, according to the information of the entrained physics multicast group of the multicast message receiving, copy as the multicast message receiving after message copies corresponding to this physics multicast group, send to downlink message process chip;
C, described downlink message process chip are according to the information of the entrained physics multicast group of the multicast message receiving, according to outgoing interface forwarding multicasting message corresponding to this physics multicast group;
Wherein, the information of described physics multicast group is physics multicast group number.
2. method according to claim 1, it is characterized in that, if outgoing interface number t corresponding to described actual multicast group is less than or equal to the maximum message segment copies n that switching network chip is supported, in uplink message process chip, configure corresponding 1 the physics multicast group of described actual multicast group, on switching network chip, configuring message copies corresponding to this 1 physics multicast group is t, configures all outgoing interfaces corresponding to the corresponding described actual multicast group of this 1 physics multicast group in downlink message process chip;
Described uplink message process chip receives after the multicast message of described actual multicast group, if determine that physics multicast group corresponding to described actual multicast group is greater than one, according to the mode of steps A, carries out; If determine that physics multicast group corresponding to described actual multicast group only has one, in this multicast message, carry after the information of this physics multicast group, send to described switching network chip.
3. method according to claim 1, it is characterized in that, in uplink message process chip, configure corresponding i+1 the physics multicast group of described actual multicast group and be: in uplink message process chip, configure i+1 physics multicast group number of actual multicast group sensing described in multicast routing table;
Described in steps A, this multicast message is copied as with this actual multicast group the same number of umber of corresponding physics multicast group be: described uplink message process chip receives after multicast message, search multicast routing table, determine the physics multicast group number that described actual multicast group is pointed to, this multicast message is copied as to the same number of umber with definite physics multicast group number.
4. method according to claim 2, it is characterized in that, in uplink message process chip, configure corresponding 1 the physics multicast group number of described actual multicast group: in uplink message process chip, configure actual multicast group described in multicast routing table and point to 1 physics multicast group number;
Determine that physics multicast group corresponding to described actual multicast group only has one to be: described uplink message process chip is searched multicast routing table, determine that the physics multicast group number that described actual multicast group is pointed to only has one;
The information of described physics multicast group is physics multicast group number.
5. according to the method described in the arbitrary claim of claim 1 to 4, it is characterized in that, the information of described physics multicast group is carried in the switching network information header of multicast message.
6. a processing unit for multicast message, is characterized in that, this device comprises: dispensing unit, uplink message process chip, switching network chip and downlink message process chip;
Described dispensing unit, be used for when outgoing interface number t corresponding to actual multicast group is greater than the maximum message segment copies n of switching network chip support, in uplink message process chip, configure corresponding i+1 the physics multicast group of described actual multicast group, on switching network chip, configuring wherein i message copies corresponding to physics multicast group is n, remaining 1 message copies corresponding to physics multicast group is j, in downlink message process chip, configure n in corresponding t the described outgoing interface of each difference in described i physics multicast group, and the outgoing interface that each physics multicast group is corresponding different, j outgoing interface of the corresponding residue of 1 physics multicast group of described residue, wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n,
Described uplink message process chip, for receiving after the multicast message of described actual multicast group, by this multicast message copy as with this actual multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining, carry respectively the information of one of them physics multicast group after copying, send to switching network chip; Wherein, the information of described physics multicast group is physics multicast group number;
Described switching network chip, for according to the information of the entrained physics multicast group of the multicast message that receives, the multicast message that this is received copies as after message copies corresponding to this physics multicast group, sends to downlink message process chip;
Described downlink message process chip, for according to the information of the entrained physics multicast group of the multicast message that receives, according to outgoing interface forwarding multicasting message corresponding to this physics multicast group.
7. device according to claim 6, is characterized in that, described dispensing unit comprises: ability judgment sub-unit and the first configuration subelement;
Described ability judgment sub-unit, for judging whether outgoing interface number t corresponding to described actual multicast group is greater than the maximum message segment copies n that switching network chip is supported;
Described the first configuration subelement, for when judgment result is that of described ability judgment sub-unit is, in uplink message process chip, configure corresponding i+1 the physics multicast group of described actual multicast group, on switching network chip, configuring wherein i message copies corresponding to physics multicast group is n, remaining 1 message copies corresponding to physics multicast group is j, in downlink message process chip, configure n in corresponding t the described outgoing interface of each difference in described i physics multicast group, and the outgoing interface that each physics multicast group is corresponding different, j outgoing interface of the corresponding residue of 1 physics multicast group of described residue, wherein, i is the business that t obtains divided by n, and j is the remainder that t obtains divided by n.
8. device according to claim 7, it is characterized in that, described dispensing unit also comprises: the second configuration subelement, for in described ability judgment sub-unit when the determination result is NO, in uplink message process chip, configure corresponding 1 the physics multicast group of described actual multicast group, on switching network chip, configuring message copies corresponding to this 1 physics multicast group is t, configures all outgoing interfaces corresponding to the corresponding described actual multicast group of this 1 physics multicast group in downlink message process chip;
Described uplink message process chip specifically comprises: message receives subelement, judgement is processed subelement, the first message processing subelement, the second message processing subelement and message and sent subelement;
Described message receives subelement, for receiving after the multicast message of described actual multicast group, offers described judgement and processes subelement;
Subelement is processed in described judgement, for judging whether physics multicast group corresponding to described actual multicast group is greater than one, if so, the multicast message receiving is offered to described the first message and process subelement; If be only one, the multicast message receiving offered to described the second message and process subelement;
Described the first message is processed subelement, be used for receiving after multicast message, by this multicast message copy as with this actual multicast group after the same number of umber of corresponding physics multicast group, in the multicast message obtaining, carry respectively the information of one of them physics multicast group corresponding to described actual multicast group after copying;
Described the second message is processed subelement, for receiving after multicast message, will in this multicast message, carry the information of physics multicast group corresponding to described actual multicast group;
Described message sends subelement, for sending described the first message, processes subelement and the second message and processes multicast message after subelement is processed to described switching network chip.
9. device according to claim 8, is characterized in that, described the first configuration subelement configures actual multicast group described in multicast routing table and points to described i+1 physics multicast group number in uplink message process chip;
Described the second configuration subelement configures actual multicast group described in multicast routing table and points to 1 physics multicast group number in uplink message process chip;
Described the first message processes subelement and the second message is processed subelement by searching multicast table, determines the physics multicast group number that described actual multicast group is pointed to.
10. according to the device described in the arbitrary claim of claim 6 to 9, it is characterized in that, the information of described physics multicast group is carried in the switching network information header of multicast message.
CN201010245003.3A 2010-08-04 2010-08-04 Processing method and device of multicast message Expired - Fee Related CN102347890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010245003.3A CN102347890B (en) 2010-08-04 2010-08-04 Processing method and device of multicast message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010245003.3A CN102347890B (en) 2010-08-04 2010-08-04 Processing method and device of multicast message

Publications (2)

Publication Number Publication Date
CN102347890A CN102347890A (en) 2012-02-08
CN102347890B true CN102347890B (en) 2014-03-26

Family

ID=45546192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010245003.3A Expired - Fee Related CN102347890B (en) 2010-08-04 2010-08-04 Processing method and device of multicast message

Country Status (1)

Country Link
CN (1) CN102347890B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911301B (en) * 2017-12-28 2020-11-20 新华三技术有限公司 Message forwarding method and device
CN113132257B (en) * 2021-04-29 2022-04-26 杭州迪普信息技术有限公司 Message processing method and device
CN114157533B (en) * 2021-12-06 2023-05-26 北京锐安科技有限公司 Message cross-board multicast replication forwarding method and system based on CLOS architecture
CN114338569B (en) * 2021-12-31 2024-06-14 锐捷网络股份有限公司 Message copying and forwarding method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1187402B1 (en) * 2000-09-11 2006-11-08 Fujitsu Limited Switching apparatus, communication apparatus, and communication system
US7151777B2 (en) * 2002-04-04 2006-12-19 Fujitsu Limited Crosspoint switch having multicast functionality
CN101159682A (en) * 2007-09-28 2008-04-09 中兴通讯股份有限公司 Method and equipment of implementing stream conversion
KR20080087285A (en) * 2007-03-26 2008-10-01 삼성전자주식회사 A system and method for processing multicast packet
CN101286866A (en) * 2008-05-30 2008-10-15 杭州华三通信技术有限公司 Multicast implementing method and system based on switching network of high-speed peripheral extended interface
CN101459607A (en) * 2008-12-31 2009-06-17 华为技术有限公司 Packet transmitting method and router
CN101515889A (en) * 2009-04-03 2009-08-26 华为技术有限公司 Replication and processing method for multicast message and device thereof
US7649882B2 (en) * 2002-07-15 2010-01-19 Alcatel-Lucent Usa Inc. Multicast scheduling and replication in switches

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020150056A1 (en) * 1998-05-15 2002-10-17 Martin Abadi Method for avoiding broadcast deadlocks in a mesh-connected network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1187402B1 (en) * 2000-09-11 2006-11-08 Fujitsu Limited Switching apparatus, communication apparatus, and communication system
US7151777B2 (en) * 2002-04-04 2006-12-19 Fujitsu Limited Crosspoint switch having multicast functionality
US7649882B2 (en) * 2002-07-15 2010-01-19 Alcatel-Lucent Usa Inc. Multicast scheduling and replication in switches
KR20080087285A (en) * 2007-03-26 2008-10-01 삼성전자주식회사 A system and method for processing multicast packet
CN101159682A (en) * 2007-09-28 2008-04-09 中兴通讯股份有限公司 Method and equipment of implementing stream conversion
CN101286866A (en) * 2008-05-30 2008-10-15 杭州华三通信技术有限公司 Multicast implementing method and system based on switching network of high-speed peripheral extended interface
CN101459607A (en) * 2008-12-31 2009-06-17 华为技术有限公司 Packet transmitting method and router
CN101515889A (en) * 2009-04-03 2009-08-26 华为技术有限公司 Replication and processing method for multicast message and device thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《基于VLAN的组播方案在EPON系统中的设计与实现》;朱敏, 邹君妮, 林如俭;《上海大学学报》;20070630;第13卷(第3期);230-236 *
《高端路由器组播流量管理》;贾成跃;《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》;20070518(第5期);I136-62 *
朱敏, 邹君妮, 林如俭.《基于VLAN的组播方案在EPON系统中的设计与实现》.《上海大学学报》.2007,第13卷(第3期),230-236.
贾成跃.《高端路由器组播流量管理》.《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》.2007,(第5期),I136-62.

Also Published As

Publication number Publication date
CN102347890A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
CN100592693C (en) Multicast IP zones for fast spanning tree convergence in wide-area packet network systems
TWI259013B (en) Method and system for reducing message instances
CN100442776C (en) Method for realizing multicast translation in three-layer switching unit
CN100490425C (en) Multicast network deploying method and multicast network
KR20020084813A (en) Mobile communication system, Mobile communication method, Radio base station, Mobile system and, Program
CN101252529A (en) Method and apparatus for forwarding multicast message
US8498233B2 (en) Method and apparatus for multicast tree management in multi-hop relay communication system
CN101521927B (en) Method and system for restraining multicast transmitting path
CN1988507B (en) Method, system and router for repeating multicast data
CN103731193A (en) Wireless automatic relay networking method and meter reading system
CN101141397B (en) Single broadcast to multicast switching method
CN100583801C (en) A method, system and switching device for dynamically establishing multicast virtual LAN
JP2007195046A (en) Mobile communication system, radio base station, mobile terminal, and distribution method
CN100456684C (en) Method for realizing multicast business and network equipment
CN102347890B (en) Processing method and device of multicast message
CN101986601B (en) Multicast data transmission method and equipment
CN100492977C (en) Method and system for crossing virtual local network group broadcasting under assigned source group broadcasting protocol independent group broadcasting mode
CN101094510B (en) Device and method for distributing seeking request to mobile communication system
CN102316083B (en) Method and device for realizing multicast service in Internet protocol (IP) network
CN101621467B (en) Method, device and system for realizing multicast VSI
CN103716169A (en) Point-to-multipoint multicast realization method, network nodes and system
CN102118396B (en) Live monitoring method and video management server
CN101325536A (en) Base station of WiMAX system, method and apparatus for controlling transmission of multicast data packet in gateway
WO2018108168A1 (en) Method for implementing multicast service of packet transmission network, device thereof and communication system
CN103200470B (en) The dispensing device of a kind of Gbit passive optical network system multicast service and method

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140326

Termination date: 20200804

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