CN102984043A - Forwarding method and forwarding device of multicast data stream - Google Patents

Forwarding method and forwarding device of multicast data stream Download PDF

Info

Publication number
CN102984043A
CN102984043A CN2012104365532A CN201210436553A CN102984043A CN 102984043 A CN102984043 A CN 102984043A CN 2012104365532 A CN2012104365532 A CN 2012104365532A CN 201210436553 A CN201210436553 A CN 201210436553A CN 102984043 A CN102984043 A CN 102984043A
Authority
CN
China
Prior art keywords
traffic stream
port
multicast traffic
multicast
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104365532A
Other languages
Chinese (zh)
Other versions
CN102984043B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210436553.2A priority Critical patent/CN102984043B/en
Publication of CN102984043A publication Critical patent/CN102984043A/en
Application granted granted Critical
Publication of CN102984043B publication Critical patent/CN102984043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a forwarding method and a forwarding device of multicast data stream, wherein the forwarding method of the multicast data stream comprises that a switch receives messages of a membership report of internet group message protocol (IGMP) from a virtual machine, generates a traffic channel on the basis of a traffic channel label Service tag (S-TAG) carried by the messages of the membership report of the IGMP and allocates identify logical ports of the traffic channel; the switch generates a two-layer multicast through inner layer labels of the messages of the membership report of the IGMP and group addresses carried by the messages of the membership report of the IGMP and adds the generated logical ports to a list of an egress port of a two-layer multicast example; the switch receives the multicast data stream from the virtual or a physical machine and forwards the multicast data stream on the basis of inner layer labels of the multicast data stream and group addresses of the multicast data stream and according to all of current two-layer multicast examples of a system. According to the forwarding method and the forwarding device of the multicast data stream, service efficiency of network resources is improved.

Description

The retransmission method of multicast traffic stream and device
Technical field
The present invention relates to the Internet and the communications field, in particular to a kind of retransmission method and device of multicast traffic stream.
Background technology
In data center network, server end adopts Intel Virtualization Technology usually.A physical server can be divided into a plurality of virtual machines (VM).One group of virtual machine is connected to a professional VLAN (S-VLAN) assembly by the software entity that is built in a server-edge relaying (ER).The edge relaying comprises that virtual edge bridges (VEB) and virtual edge port converge the assembly of types such as (VEPA).The edge relaying self possesses data exchange capability, and the message repeating that physical network interface on the server can be received also can be done the interpolation tag processes to the message that virtual machine sends to the purpose virtual machine, delivers to physical network interface on then.The message that receives from virtual machine through the up arrival of edge relaying S-VLAN assembly after, can stamp service channel label (S-TAG) mark, S-TAG is corresponding one by one with the edge relaying, uniquely tagged a logical channel, this logical channel also is called the S-passage.Physical link between server and the switching equipment is divided into some S-passages, can a multiplexing physical network interface so that organize virtual machine more.Above-mentioned each assembly can be applied to EVB(Edge Virtual Bridging, the edge is virtual bridged) in the framework, be compared at server and realize exchanges data (physical network card of enhancing or soft switch), more be conducive to the management of data center systems based on the scheme of EVB.
Typical EVB structure is comprised of physical site and bridge, and a physical port on the bridge need to carry a plurality of S-passages.Need on bridge port, copy for each purpose virtual machine for multicast message, add different S-TAG after owing to do not know the destination interface of message, therefore, employing inundation mode in VLAN sends, and is about to message and is sent to all S-passages, thereby cause the waste of Internet resources.
Summary of the invention
For the inundation mode sends the problem that message causes the waste of Internet resources in VLAN owing to adopting in the correlation technique, the invention provides a kind of retransmission method and device of multicast traffic stream, to address the above problem at least.
According to an aspect of the present invention, a kind of retransmission method of multicast traffic stream is provided, comprise: when switch receives the IGMP IGMP member relation report message of self virtualizing machine, generate a service channel according to the service channel label S-TAG that carries in the described IGMP member relation report message, and the logic port of the described service channel of allocation identification; Described switch generates a second-layer multicast forwarding example according to the group address of carrying in the vpn label of described IGMP member relation report message and the described IGMP member relation report message, the described logic port that generates is added the outbound port tabulation of described second-layer multicast forwarding example; Described switch receives the multicast traffic stream of self virtualizing machine or physical machine, according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream, transmits described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system.
Preferably, after the logic port of the described service channel of described switch allocation identification, described method also comprises: described switch records described logic port and described S-TAG and receives the corresponding relation of the physical port of described IGMP member relation report message.
Preferably, described switch is according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream, transmit described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system, comprise: the current all described second-layer multicast forwarding examples of described switch query system, obtain the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, the outbound port tabulation of obtaining this second-layer multicast forwarding example; Judge the port type of outbound port in the described outbound port tabulation of obtaining, if be the logic port of non-physical port, then inquire about described corresponding relation, obtain the S-TAG corresponding with this logic port and physical port, according to the requirement of the virtual bridged EVB in edge encapsulation and transmit described multicast traffic stream; If outbound port is physical port, then the virtual LAN VLAN attribute according to described outbound port carries out validity checking, detecting in the legal situation, directly transmits described multicast traffic stream.
If preferably described switch does not inquire the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, described method also comprises: described switch is broadcasted or is abandoned described multicast traffic stream according to pre-configured.
Preferably, described method also comprises: when having virtual machine to roll off the production line, move or sending leave group message, and the logic port that described switch will be corresponding with this virtual machine deletion from described outbound port tabulation.
According to another aspect of the present invention, a kind of retransmission unit of multicast traffic stream is provided, comprise: distribution module, be used for when receiving the IGMP IGMP member relation report message of self virtualizing machine, generate a service channel according to the S-TAG that carries in the described IGMP member relation report message, and the logic port of the described service channel of allocation identification; Generation module, the group address of carrying for vpn label and described IGMP member relation report message according to described IGMP member relation report message generates a second-layer multicast forwarding example, the described logic port that generates is added the outbound port tabulation of described second-layer multicast forwarding example; Forwarding module, be used for when receiving the multicast traffic stream of self virtualizing machine or physical machine, according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream, transmit described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system.
Preferably, described device also comprises: logging modle, be used for after the logic port of the described service channel of allocation identification, and record described logic port and described S-TAG and receive the corresponding relation of the physical port of described IGMP member relation report message.
Preferably, described forwarding module, comprise: query unit, be used for the current all described second-layer multicast forwarding examples of inquiry system, obtain the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, the outbound port tabulation of obtaining this second-layer multicast forwarding example; Judging unit, be used for judging the port type of the described outbound port tabulation outbound port that obtains, if be the logic port of non-physical port, then inquire about described corresponding relation, obtain the S-TAG corresponding with this logic port and physical port, the indication retransmission unit encapsulates and transmits described multicast traffic stream according to the requirement of the virtual bridged EVB in edge; If outbound port is physical port, then indicate described retransmission unit to carry out validity checking according to the virtual LAN VLAN attribute of described outbound port, detecting in the legal situation, directly transmit described multicast traffic stream; Described retransmission unit is used for the indication according to described judging unit, transmits described multicast traffic stream.
Preferably, described retransmission unit also is used for described multicast traffic stream being broadcasted or being abandoned according to pre-configured at the second-layer multicast forwarding example that does not inquire with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream.
Preferably, described device also comprises: update module is used for when having virtual machine to roll off the production line, move or sending leave group message the logic port that described switch will be corresponding with this virtual machine deletion from described outbound port tabulation.
By the present invention, the logic port that is designated the service channel of virtual machine generation is added in the outbound port tabulation of second-layer multicast forwarding example, and flow according to second-layer multicast forwarding example multicast data forwarding, thereby multicast traffic stream can be sent to corresponding S-passage, avoid flux of multicast inundation in VLAN, improved the service efficiency of Internet resources.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the retransmission method of the multicast traffic stream of the embodiment of the invention;
Fig. 2 is the structural representation according to the retransmission unit of the multicast traffic stream of the embodiment of the invention;
Fig. 3 is the structural representation of the retransmission unit of multicast traffic stream according to the preferred embodiment of the invention;
Fig. 4 is the structural representation of the retransmission unit of the multicast traffic stream of another preferred embodiment according to the present invention;
Fig. 5 be in the embodiment of the invention each assembly concern schematic diagram;
Fig. 6 is the flow chart of the retransmission method of multicast traffic stream according to the preferred embodiment of the invention;
Fig. 7 is the flow chart of the retransmission method of the multicast traffic stream of another preferred embodiment according to the present invention;
Fig. 8 is the flow chart of according to the preferred embodiment of the invention logic port mapping.
Embodiment
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
According to the embodiment of the invention, a kind of retransmission method of multicast traffic stream is provided, cause the problem of network resources waste to solve inundation multicast data flow in the correlation technique.
Fig. 1 is the flow chart according to the retransmission method of the multicast traffic stream of the embodiment of the invention, and as shown in Figure 1, the method mainly may further comprise the steps (step S102-step S106):
Step S102, when switch receives IGMP (IGMP) the member relation report message of self virtualizing machine, generate a service channel according to the S-TAG that carries in the described IGMP member relation report message, and the logic port of the described service channel of allocation identification;
Step S104, described switch generates a second-layer multicast forwarding example according to the group address of carrying in the vpn label of described IGMP member relation report message and the described IGMP member relation report message, the described logic port that generates is added the outbound port tabulation of described second-layer multicast forwarding example;
Step S106, described switch receives the multicast traffic stream of self virtualizing machine or physical machine, according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream, transmit described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system.
Said method by present embodiment, the logic port that is designated the service channel of virtual machine generation is added in the outbound port tabulation of second-layer multicast forwarding example, and flow according to second-layer multicast forwarding example multicast data forwarding, thereby multicast traffic stream can be sent to corresponding S-passage, avoid flux of multicast inundation in VLAN, improved the service efficiency of Internet resources.
In one embodiment, after the logic port of the described service channel of described switch allocation identification, described switch can also record described logic port and described S-TAG and receive the corresponding relation of the physical port of described IGMP member relation report message.
In one embodiment, described switch can be transmitted described multicast traffic stream in the following manner: the current all described second-layer multicast forwarding examples of described switch query system, obtain the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, the outbound port tabulation of obtaining this second-layer multicast forwarding example; Judge the port type of outbound port in the described outbound port tabulation of obtaining, if be the logic port of non-physical port, then inquire about described corresponding relation, obtain the S-TAG corresponding with this logic port and physical port, according to the requirement of the virtual bridged EVB in edge encapsulation and transmit described multicast traffic stream; If outbound port is physical port, then the virtual LAN VLAN attribute according to described outbound port carries out validity checking, detecting in the legal situation, directly transmits described multicast traffic stream.
In the above-described embodiment, if described switch does not inquire the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, described method also comprises: described switch is broadcasted or is abandoned described multicast traffic stream according to pre-configured.
In one embodiment, in order to guarantee the real-time of logic port, the outbound port tabulation of second-layer multicast forwarding example can keep dynamically updating, when having virtual machine to roll off the production line, move or sending leave group message, the logic port that switch will be corresponding with this virtual machine deletion from described outbound port tabulation.
Corresponding to the retransmission method of above-mentioned multicast traffic stream, the embodiment of the invention also provides a kind of retransmission unit of multicast traffic stream, and this device can be for the retransmission method of realizing the above-mentioned multicast traffic stream that the embodiment of the invention provides.
Fig. 2 is the structural representation according to the retransmission unit of the multicast traffic stream of the embodiment of the invention, as shown in Figure 2, this device mainly comprises: distribution module 10, be used for when receiving the IGMP IGMP member relation report message of self virtualizing machine, generate a service channel according to the S-TAG that carries in the described IGMP member relation report message, and the logic port of the described service channel of allocation identification; Generation module 20, with distribution module 10 couplings, the group address of carrying for vpn label and described IGMP member relation report message according to described IGMP member relation report message generates a second-layer multicast forwarding example, the described logic port that generates is added the outbound port tabulation of described second-layer multicast forwarding example; Forwarding module 30, be used for when receiving the multicast traffic stream of self virtualizing machine or physical machine, according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream, transmit described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system.
Pass through said apparatus, the logic port that is designated the service channel of virtual machine generation is added in the outbound port tabulation of second-layer multicast forwarding example, and flow according to second-layer multicast forwarding example multicast data forwarding, thereby multicast traffic stream can be sent to corresponding S-passage, avoid flux of multicast inundation in VLAN, improved the service efficiency of Internet resources.
In one embodiment, as shown in Figure 3, this device can also comprise: logging modle 40, be used for after the logic port of the described service channel of allocation identification, and record described logic port and described S-TAG and receive the corresponding relation of the physical port of described IGMP member relation report message.
In one embodiment, as shown in Figure 4, above-mentioned forwarding module 30 can comprise: query unit 310, be used for the current all described second-layer multicast forwarding examples of inquiry system, obtain the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, the outbound port tabulation of obtaining this second-layer multicast forwarding example; Judging unit 320, with query unit 310 couplings, be used for judging the port type of the described outbound port tabulation outbound port that obtains, if be the logic port of non-physical port, then inquire about described corresponding relation, obtain the S-TAG corresponding with this logic port and physical port, indication retransmission unit 330 encapsulates and transmits described multicast traffic stream according to the requirement of the virtual bridged EVB in edge; If outbound port is physical port, then indicate retransmission unit 330 to carry out validity checking according to the virtual LAN VLAN attribute of described outbound port, detecting in the legal situation, directly transmit described multicast traffic stream; Retransmission unit 330 with judging unit 320 couplings, is used for the indication according to described judging unit, transmits described multicast traffic stream.
In the above-described embodiment, retransmission unit 330 also is used for not inquiring second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream in query unit 310, according to pre-configured described multicast traffic stream is broadcasted or is abandoned.
In embodiments of the present invention, in order to keep the availability of the port in the outbound port tabulation in the second-layer multicast forwarding example, this device can also comprise: update module, be used for when having virtual machine to roll off the production line, move or sending leave group message the logic port that described switch will be corresponding with this virtual machine deletion from described outbound port tabulation.In embodiments of the present invention, one or more virtual machines are corresponding with a service channel, and each service channel represents that with a logic port some logic ports are subordinated to a physical port; The logic port of the service channel that the logic port that therefore, virtual machine is corresponding refers to represent that this virtual machine is corresponding.
In specific implementation process, the said apparatus that the embodiment of the invention provides can be realized by a series of assembly.Fig. 5 be in the embodiment of the invention each assembly concern schematic diagram, as shown in Figure 5, present embodiment mainly comprises following assembly:
EVB protocol component 501 is used for realizing the 802.1Qbg standard agreement, has the identification of virtual machine, the functions such as parameter that the S-passage creates, consults configuration bridge and server.This assembly can be used for realizing the partial function of above-mentioned distribution module 10.
Logic port Management Unit 502 is used for distribution and the release of logic port resource, searches logic port mapping table management port resource by custom algorithm.This assembly distributes logic port when packet receiving, and provides Query Result when IGMP spies upon assembly generation second-layer multicast forwarding example.Simultaneously, when the EVB protocol component identifies a S-passage deletion action, also to discharge the logic port resource by this assembly.This assembly can be used for realizing the partial function of above-mentioned generation module 20 and distribution module 10.
IGMP spies upon assembly 503, is used for resolving the IGMP protocol massages, and identification adds or leave virtual machine or the physical machine of certain multicast group.This assembly operation second-layer multicast forwarding example table creates or remove entries according to agreement.This assembly can be used for realizing the partial function of above-mentioned generation module and update module.
Driven unit 504 is used for transmitting-receiving, encapsulation and the decapsulation of packet.This assembly can be used for realizing the partial function of above-mentioned forwarding module 30.
Logic port mapping table 505, the corresponding relation of the information such as record packet receiving physical port, logic port and S-TAG safeguards that by the logic port Management Unit available S-TAG and physical port are as keyword search.This assembly can be used for realizing the function of above-mentioned logging modle.
Second-layer multicast forwarding example table 506 is used for the information such as record group address, vlan-label, outbound port tabulation, is spied upon to set up by IGMP and safeguards that available set address and vlan-label are as keyword search.
Below in conjunction with assembly shown in Figure 5, the technical scheme that the embodiment of the invention is provided is described.
Fig. 6 is the flow chart of the retransmission method of multicast traffic stream according to the preferred embodiment of the invention, and as shown in Figure 6, the method mainly may further comprise the steps:
Step S602, switching equipment receives the IGMP(IGMP of self virtualizing machine) the member relation report, distribute a logic port according to the service channel (S-passage) that receives message, this logic port is corresponding with the service channel (S-passage) that receives this message, and record S-TAG(is carried in the message that sends the report of IGMP member relation), the corresponding relation of packet receiving port (namely receiving the physical port of IGMP member relation report) and this logic port.
Step S604, switching equipment is peeled off the S-TAG of the message that sends the report of IGMP member relation, extract vpn label, and according to vpn label and target MAC (Media Access Control) address (being the group address in the report of IGMP member relation) generation second-layer multicast forwarding example, simultaneously described logic port is added in the outbound port tabulation of described second-layer multicast forwarding example.This outbound port tabulation keeps dynamically updating, and when having virtual machine to roll off the production line, move or sending leave group message, logic port need to be deleted from affiliated tabulation.
Step S606, switching equipment is received the multicast data traffic from physical machine or virtual machine, behind logic port corresponding to step S602 record packet receiving S-passage, according to vpn label and the current all second-layer multicast forwarding examples of MAC Address inquiry system, take out interface list.If search unsuccessfully, then according to configuration flow is done broadcasting or discard processing.
Step S608, if the outbound port in the outbound port that step S606 the obtains tabulation is the logic port of non-physical port, according to the corresponding relation of step S602 gained, query logic port mapping assembly obtains corresponding S-TAG and physical port, according to the encapsulated message that requires of EVB, and transmit; If outlet is then carried out validity checking according to the port vlan attribute for physical port, need not to add S-TAG, directly message is transmitted.
In above preferred embodiment, by safeguarding the mapping relations of virtual unit and logic port, in conjunction with internet group management protocol snooping, realize the Layer 2 Multicast in the virtual machine network, flooding of energy establishment flux of multicast, reduce the burden that the switching equipment message copies, improve the utilization ratio of Internet resources.
Fig. 7 is the flow chart of retransmission method of the multicast traffic stream of another preferred embodiment, and as shown in Figure 7, in this embodiment, the retransmission method of multicast traffic stream mainly may further comprise the steps:
Step 701, switch receives IGMP member relation report message and the notification logic port mapping assembly of self virtualizing machine, described logic port map component generates a logic port corresponding with described virtual machine according to S-TAG, and records the corresponding relation of this logic port and S-TAG, packet receiving physical port.
Step 702, switch generates a second-layer multicast forwarding example according to vpn label and the group address of IGMP member relation report message, and the logic port that step 701 obtains is added the outbound port tabulation of described second-layer multicast forwarding example.
Step 703, switch receive the multicast data traffic of self virtualizing machine or physical machine, and if the second-layer multicast forwarding example current according to the vpn label seeking system without occurrence, is chosen in the vlan inundation or abandons flux of multicast according to configuration; If occurrence is arranged, enter step 704 and process.
Step 704 reads the outbound port tabulation of the described second-layer multicast forwarding example of coupling, and judges the port type of outbound port wherein: for physical port, and execution in step 705; For logic port, execution in step 706.
Step 705 need not to add S-TAG, directly sends message.
Step 706 is obtained the S-TAG corresponding with outbound port and physical port by the logic port Management Unit, and by the requirement encapsulated message of EVB, enters step 707 and process.
Step 707, the vpn label that message is carried and the vlan under the logic port check, if be not inconsistent, dropping packets then, otherwise calling driver module is given out a contract for a project from corresponding physics mouth.
Fig. 8 is the flow chart of a logic port mapping in the preferred embodiment, and as shown in Figure 8, in this embodiment, the mapping of logic port can may further comprise the steps:
Step 801, when the logic port map operation is arranged (with reference to step 701), for example, receive that IGMP member relation report message sets up logic port of application according to S-TAG and packet receiving physics mouth from the logic port management, and the information of S-TAG, logic port and physics mouth is preserved in binding.
Step 802 when the S-TAG query manipulation is arranged (with reference to step 704), according to logical port number query logic Port Management assembly, is obtained corresponding S-TAG and physical port.
Step 803 when the logic port releasing operation is arranged, for example, during a S-passage deletion of upper-layer protocol announcement message, according to the SCID or the S-TAG query logic Port Management assembly that obtain from protocol massages, and discharges corresponding resource.
From above description, can find out, in embodiments of the present invention, by safeguarding the mapping relations of virtual unit and logic port, in conjunction with internet group management protocol snooping, realize the Layer 2 Multicast in the virtual machine network, can the establishment flux of multicast flood, reduce the burden that the switching equipment message copies, improve the utilization ratio of Internet resources.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the retransmission method of a multicast traffic stream is characterized in that, comprising:
When switch receives the IGMP IGMP member relation report message of self virtualizing machine, generate a service channel according to the service channel label S-TAG that carries in the described IGMP member relation report message, and the logic port of the described service channel of allocation identification;
Described switch generates a second-layer multicast forwarding example according to the group address of carrying in the vpn label of described IGMP member relation report message and the described IGMP member relation report message, the described logic port that generates is added the outbound port tabulation of described second-layer multicast forwarding example;
Described switch receives the multicast traffic stream of self virtualizing machine or physical machine, according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream, transmits described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system.
2. method according to claim 1, it is characterized in that, after the logic port of the described service channel of described switch allocation identification, described method also comprises: described switch records described logic port and described S-TAG and receives the corresponding relation of the physical port of described IGMP member relation report message.
3. method according to claim 2, it is characterized in that, described switch is transmitted described multicast traffic stream according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system, comprising:
The current all described second-layer multicast forwarding examples of described switch query system, obtain the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, the outbound port tabulation of obtaining this second-layer multicast forwarding example;
Judge the port type of outbound port in the described outbound port tabulation of obtaining, if be the logic port of non-physical port, then inquire about described corresponding relation, obtain the S-TAG corresponding with this logic port and physical port, according to the requirement of the virtual bridged EVB in edge encapsulation and transmit described multicast traffic stream; If outbound port is physical port, then the virtual LAN VLAN attribute according to described outbound port carries out validity checking, detecting in the legal situation, directly transmits described multicast traffic stream.
4. method according to claim 3, it is characterized in that, if described switch does not inquire the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, described method also comprises: described switch is broadcasted or is abandoned described multicast traffic stream according to pre-configured.
5. each described method in 4 according to claim 1, it is characterized in that, described method also comprises: when having virtual machine to roll off the production line, move or sending leave group message, and the logic port that described switch will be corresponding with this virtual machine deletion from described outbound port tabulation.
6. the retransmission unit of a multicast traffic stream is characterized in that, comprising:
Distribution module, be used for when receiving the IGMP IGMP member relation report message of self virtualizing machine, generate a service channel according to the S-TAG that carries in the described IGMP member relation report message, and the logic port of the described service channel of allocation identification;
Generation module, the group address of carrying for vpn label and described IGMP member relation report message according to described IGMP member relation report message generates a second-layer multicast forwarding example, the described logic port that generates is added the outbound port tabulation of described second-layer multicast forwarding example;
Forwarding module, be used for when receiving the multicast traffic stream of self virtualizing machine or physical machine, according to the group address of vpn label and the described multicast traffic stream of described multicast traffic stream, transmit described multicast traffic stream according to the current all described Layer 2 Multicast transform instances of system.
7. device according to claim 6, it is characterized in that, described device also comprises: logging modle, be used for after the logic port of the described service channel of allocation identification, record described logic port and described S-TAG and receive the corresponding relation of the physical port of described IGMP member relation report message.
8. device according to claim 7 is characterized in that, described forwarding module comprises:
Query unit, be used for the current all described second-layer multicast forwarding examples of inquiry system, obtain the second-layer multicast forwarding example with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream, the outbound port tabulation of obtaining this second-layer multicast forwarding example;
Judging unit, be used for judging the port type of the described outbound port tabulation outbound port that obtains, if be the logic port of non-physical port, then inquire about described corresponding relation, obtain the S-TAG corresponding with this logic port and physical port, the indication retransmission unit encapsulates and transmits described multicast traffic stream according to the requirement of the virtual bridged EVB in edge; If outbound port is physical port, then indicate described retransmission unit to carry out validity checking according to the virtual LAN VLAN attribute of described outbound port, detecting in the legal situation, directly transmit described multicast traffic stream;
Described retransmission unit is used for the indication according to described judging unit, transmits described multicast traffic stream.
9. device according to claim 8, it is characterized in that, described retransmission unit also is used for described multicast traffic stream being broadcasted or being abandoned according to pre-configured at the second-layer multicast forwarding example that does not inquire with the group address coupling of the vpn label of described multicast traffic stream and described multicast traffic stream.
10. each described device in 9 according to claim 6, it is characterized in that, described device also comprises: update module is used for when having virtual machine to roll off the production line, move or sending leave group message the logic port that described switch will be corresponding with this virtual machine deletion from described outbound port tabulation.
CN201210436553.2A 2012-11-02 2012-11-02 The retransmission method and device of multicast traffic stream Active CN102984043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210436553.2A CN102984043B (en) 2012-11-02 2012-11-02 The retransmission method and device of multicast traffic stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210436553.2A CN102984043B (en) 2012-11-02 2012-11-02 The retransmission method and device of multicast traffic stream

Publications (2)

Publication Number Publication Date
CN102984043A true CN102984043A (en) 2013-03-20
CN102984043B CN102984043B (en) 2017-12-12

Family

ID=47857802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210436553.2A Active CN102984043B (en) 2012-11-02 2012-11-02 The retransmission method and device of multicast traffic stream

Country Status (1)

Country Link
CN (1) CN102984043B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103621026A (en) * 2013-04-01 2014-03-05 华为技术有限公司 Virtual machine data exchange method, apparatus and system
WO2016115698A1 (en) * 2015-01-21 2016-07-28 华为技术有限公司 Data packet forwarding method, apparatus and device
CN106060012A (en) * 2016-05-17 2016-10-26 北京神州绿盟信息安全科技股份有限公司 Multiplexing method and apparatus
CN106411750A (en) * 2015-08-03 2017-02-15 华为技术有限公司 Data distribution method and system thereof
CN107885573A (en) * 2016-09-29 2018-04-06 华为技术有限公司 A kind of control method of data traffic, controller and data center systems
CN111163007A (en) * 2019-12-20 2020-05-15 浪潮电子信息产业股份有限公司 Method, device, equipment and storage medium for establishing multicast receiving channel
CN114338507A (en) * 2021-12-23 2022-04-12 武汉绿色网络信息服务有限责任公司 Method and device for changing traffic forwarding path in cloud gateway system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662052A (en) * 2004-02-26 2005-08-31 日本电气株式会社 Multicast information delivery system and multicast information delivery method
CN101068145A (en) * 2007-07-05 2007-11-07 杭州华三通信技术有限公司 EPON network element configuration method and EPON
CN101282460A (en) * 2007-04-06 2008-10-08 华为技术有限公司 Method, equipment and system for implementing video living broadcast

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662052A (en) * 2004-02-26 2005-08-31 日本电气株式会社 Multicast information delivery system and multicast information delivery method
CN101282460A (en) * 2007-04-06 2008-10-08 华为技术有限公司 Method, equipment and system for implementing video living broadcast
CN101068145A (en) * 2007-07-05 2007-11-07 杭州华三通信技术有限公司 EPON network element configuration method and EPON

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103621026B (en) * 2013-04-01 2017-06-13 华为技术有限公司 The method for interchanging data of virtual machine, device and system
WO2014161133A1 (en) * 2013-04-01 2014-10-09 华为技术有限公司 Data exchange method, apparatus and system for virtual machine
US11121971B2 (en) 2013-04-01 2021-09-14 Huawei Technologies Co., Ltd. Method and apparatus for switching data between virtual machines, and communications system
CN103621026A (en) * 2013-04-01 2014-03-05 华为技术有限公司 Virtual machine data exchange method, apparatus and system
US10033637B2 (en) 2013-04-01 2018-07-24 Huawei Technologies Co., Ltd. Method and apparatus for switching data between virtual machines, and communications system
CN106031104A (en) * 2015-01-21 2016-10-12 华为技术有限公司 Data packet forwarding method, apparatus and device
CN106031104B (en) * 2015-01-21 2019-07-12 华为技术有限公司 Retransmission method, device and the equipment of data message
WO2016115698A1 (en) * 2015-01-21 2016-07-28 华为技术有限公司 Data packet forwarding method, apparatus and device
CN106411750A (en) * 2015-08-03 2017-02-15 华为技术有限公司 Data distribution method and system thereof
CN106060012A (en) * 2016-05-17 2016-10-26 北京神州绿盟信息安全科技股份有限公司 Multiplexing method and apparatus
CN107885573A (en) * 2016-09-29 2018-04-06 华为技术有限公司 A kind of control method of data traffic, controller and data center systems
CN111163007A (en) * 2019-12-20 2020-05-15 浪潮电子信息产业股份有限公司 Method, device, equipment and storage medium for establishing multicast receiving channel
CN114338507A (en) * 2021-12-23 2022-04-12 武汉绿色网络信息服务有限责任公司 Method and device for changing traffic forwarding path in cloud gateway system

Also Published As

Publication number Publication date
CN102984043B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN102984043A (en) Forwarding method and forwarding device of multicast data stream
CN101616014B (en) Method for realizing cross-virtual private local area network multicast
EP3402130B1 (en) Information transmission method and device
KR102025680B1 (en) SDN based ARP implementation method and device
CN102137001B (en) Routing information exchange method, equipment and system
CN110753010B (en) Message forwarding method and device
CN102571375B (en) Multicast forwarding method and device as well as network device
CN109639552A (en) A kind of three-layer forwarding method and device
CN106878480A (en) A kind of DHCP service process sharing method and device
CN109121026A (en) Realize the method and system of VOLT in a kind of logic-based port
CN102045250B (en) Forwarding method for multicast message in VPLS, and service provider edge equipment
CN102739502A (en) Method for realizing network identification conversion, apparatus and system thereof
CN103795630A (en) Message transmitting method and device of label switching network
WO2007054006A1 (en) A base station of wideband wireless access system and a method for realizing group-broadcast service
CN110086771B (en) Method and device for managing protocol conversion equipment
CN104539539A (en) Multi-service-board data forwarding method for AC device
US7769007B2 (en) Method of providing multicast services in virtual private LAN
WO2012075846A1 (en) Method and device for broadcasting domain-division time-division packet
CN101309154B (en) Datagram sending method, sending apparatus and transmission system
US20120224488A1 (en) Method of connectivity monitoring by subscriber line terminating apparatus
CN101316239B (en) Method for controlling access and forwarding in virtual special LAN service network
CN112994928B (en) Virtual machine management method, device and system
CN111865805B (en) Multicast GRE message processing method and system
CN110768916B (en) Port statistical parameter notification method and device
CN105743762A (en) Message forwarding method and equipment in VPLS network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant