CN100583801C - A method, system and switching device for dynamically establishing multicast virtual LAN - Google Patents

A method, system and switching device for dynamically establishing multicast virtual LAN Download PDF

Info

Publication number
CN100583801C
CN100583801C CN200710188276A CN200710188276A CN100583801C CN 100583801 C CN100583801 C CN 100583801C CN 200710188276 A CN200710188276 A CN 200710188276A CN 200710188276 A CN200710188276 A CN 200710188276A CN 100583801 C CN100583801 C CN 100583801C
Authority
CN
China
Prior art keywords
multicast group
mprv
vlan
multicast
message
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
CN200710188276A
Other languages
Chinese (zh)
Other versions
CN101170481A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200710188276A priority Critical patent/CN100583801C/en
Publication of CN101170481A publication Critical patent/CN101170481A/en
Priority to PCT/CN2008/073138 priority patent/WO2009082905A1/en
Application granted granted Critical
Publication of CN100583801C publication Critical patent/CN100583801C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Abstract

The invention discloses a method and a system for dynamic establishment of a multicast virtual local area network (VLAN), which has the pre-configuration of at least one MPRV, the MPRV can process the multicast VLAN of the multicast protocol packet; the method includes the following steps of: establishing the binding relationship of the MPRV and the multicast group; receiving the adding packet of the user host from the user VLAN, recording the user VLAN information which is corresponding to the adding packet, and the adding packet contains the multicast group information of the host application of adding; searching the binding relationship of the MPRV and the multicast group by taking the multicast group information as the index, obtaining the MPRV which is corresponding to the multicast group; and establishing the multicast VLAN domain which is composed of the MPRV and the user VLAN, while the VLAN domain is corresponding to the multicast group. In addition, the invention also discloses a switching equipment. The technical proposal which is provided by the invention can improve the flexibility of the group network.

Description

A kind of method, system and switching equipment of dynamically setting up multicast virtual LAN
Technical field
The present invention relates to virtual local area network technology, relate in particular to a kind of method, system and switching equipment of dynamically setting up multicast virtual local area network (VLAN) territory.
Background technology
Network IPization is the trend of modern communication networks development, continuous construction along with broadband network, increasing novel business such as remote teaching, news briefing, Internet Protocol Television multicast type business such as (IPTV) will be with IP network as bearer network, maturation day by day along with the IPTV standard, multicast virtual local area network (VLAN, the Virtual Local Area Network) technology that is applied to IPTV is also in fast development.
In the networking structure when the M-VLAN technology is applied to IPTV, generally include: subscriber's main station, switching equipment, routing device and server.Wherein, subscriber's main station is used for the demand to channel program according to the user, by self place vlan domain, sends the leave message that application adds joining message of certain multicast group or applies for leaving certain multicast group to switching equipment; Switching equipment is used for joining message of personal householder's machine in the future or the leave message routing device port by correspondence and sends to routing device, and according to joining message or leave message will be duplicated or delete in the subscriber's main station corresponding port from the channel program multicast data flow (during specific implementation, showing as multicast data message) of routing device; Routing device is used for according to joining message to the corresponding multicast data flow of server requests of being received the multicast data flow of being asked being sent to switching equipment, and stops to send multicast data flow according to the leave message of last member in the corresponding multicast group of multicast data flow.In addition, routing device also can send and be used to inquire about the query message there is the member in which multicast group, so that according to the transmission of Query Result control multicast data flow or stop.
Fig. 1 shows networking structure and the flux of multicast schematic diagram of M-VLAN technology when IPTV uses in the prior art.Comprise in this networking structure: subscriber's main station (clear for figure being got the bid remember, the subscriber's main station brief note is main frame among Fig. 1, also adopts this mode among other figure of this paper), switching equipment, routing device and server.In the prior art, be unit with the M-VLAN territory, the M-VLAN territory is made up of M-VLAN and user vlan, and wherein, M-VLAN is as the multicast link ascending VLAN, and user vlan is as the descending VLAN of multicast link.Among Fig. 1, adopt the mode manual configuration M-VLAN territory of static configuration, promptly be the fixing M-VLAN of several users VLAN configuration in advance, as dispose M-VLAN 1 territory and form by M-VLAN 1 and user vlan 11, user vlan 12, M-VLAN 2 territories are made up of M-VLAN 2 and user vlan 21, user vlan 22.Wherein, comprise at least one subscriber's main station in each user vlan, the port of each subscriber's main station respective user VLAN.Among Fig. 1, Gx (x represents numeral, supposes x=1,2 ..., 6) represent the multicast group of different multicast data flow correspondences respectively, all multicast data flows of user vlan program request can only be obtained from the M-VLAN of configuration.
Be responsible for eavesdropping and transparent transmission multicast protocol message based on the switching equipment of internet group management (IGMP) eavesdropping (Snooping) agreement, promptly query message, join message and leave message etc., to set up the transmission link of multicast data flow.Pass through the M-VLAN in this territory with leave message as joining message of will receiving from the user vlan in the M-VLAN territory, the query message that M-VLAN is received passes through user vlan, transmit in this M-VLAN territory scope that makes multicast data flow be limited in stipulating, when multicast service is expanded, need reconfigure the M-VLAN territory, promptly manually add new user vlan and enter the M-VLAN territory, networking flexibility is relatively poor.
Summary of the invention
In view of this, provide a kind of method of dynamically setting up the M-VLAN territory on the one hand in the embodiment of the invention, a kind of system and switching equipment of dynamically setting up the M-VLAN territory is provided on the other hand, so that improve the flexibility of networking.
The method of dynamically setting up the M-VLAN territory that the embodiment of the invention provided, pre-configured at least two multicast messages converge VLAN MPRV, and described MPRV is for handling the M-VLAN of multicast protocol massages; This method comprises:
According to presetting the binding relationship that principle sets in advance each multicast group and each MPRV, perhaps, in the multicast on demand process, dynamically set up the multicast group of user vlan application adding and the binding relationship of MPRV according to default principle;
Reception joins message from the subscriber's main station under the user vlan, writes down the information of the described corresponding user vlan that joins message, and comprises the information of the multicast group of described subscriber's main station application adding in described the joining message;
With described multicast group information is the binding relationship of index search MPRV and multicast group, obtains the MPRV corresponding with described multicast group;
The M-VLAN territory that foundation is made up of described MPRV and user vlan, described M-VLAN territory is corresponding with described multicast group.
The system that dynamically sets up the M-VLAN territory that the embodiment of the invention provided comprises: subscriber's main station, switching equipment, routing device and server,
Dispose at least two multicast messages on the described switching equipment and converge VLAN MPRV, described MPRV is for handling the M-VLAN of multicast protocol massages; Described switching equipment is used for setting in advance according to default principle the binding relationship of each multicast group and each MPRV, perhaps, in the multicast on demand process, dynamically sets up the multicast group of user vlan application adding and the binding relationship of MPRV according to default principle; Joining message of the multicast group that reception adds from comprising of the subscriber's main station under the user vlan of described subscriber's main station application, write down the information of the described corresponding user vlan that joins message, with described multicast group information is the binding relationship of index search MPRV and multicast group, obtain the MPRV corresponding with described multicast group, the M-VLAN territory that foundation is made up of described MPRV and user vlan, described M-VLAN territory is corresponding with described multicast group.
The switching equipment that the embodiment of the invention provided comprises:
At least two multicast messages converge VLAN MPRV, and described MPRV is for handling the M-VLAN of multicast protocol massages;
Binding relationship is set up module, is used for setting in advance according to default principle the binding relationship of each multicast group and each MPRV, perhaps, in the multicast on demand process, dynamically sets up the multicast group of user vlan application adding and the binding relationship of MPRV according to default principle;
Multicast domain is set up module, be used for according to joining message from the subscriber's main station under the user vlan, obtain the information of described user vlan and the multicast group information that described subscriber's main station application adds, with described multicast group information is the binding relationship of index search MPRV and multicast group, obtain the MPRV corresponding, set up the M-VLAN territory of the described multicast group correspondence of forming by described MPRV and user vlan with described multicast group.
From such scheme as can be seen, at least one MPRV of configuration in the embodiment of the invention, set up the binding relationship of the MPRV multicast group corresponding with institute receiving multicast data message, obtain multicast group and the subscriber's main station corresponding port information that the subscriber's main station application adds according to joining message of subscriber's main station transmission, binding relationship according to this multicast group and multicast group and MPRV, dynamically set up the mapping relations of MPRV and user vlan, the M-VLAN territory that foundation is made up of described MPRV and user vlan, it is dynamic management M-VLAN territory, thereby improved the flexibility of networking, reduced the cost of network operation.
Description of drawings
Fig. 1 is networking structure and the flux of multicast schematic diagram of M-VLAN technology when IPTV uses in the prior art;
Fig. 2 is networking structure and the flux of multicast schematic diagram of M-VLAN technology when IPTV uses in the embodiment of the invention;
Fig. 3 is for dynamically setting up the exemplary process diagram of the method in M-VLAN territory in the embodiment of the invention;
Fig. 4 is the exemplary block diagram of switching equipment in the embodiment of the invention;
Fig. 5 sets up the exemplary block diagram of module for binding relationship in the switching equipment shown in Figure 4;
Fig. 6 sets up the exemplary block diagram of module for mapping relations in the switching equipment shown in Figure 4 and multicast domain.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the invention is further described.
Fig. 2 shows networking structure and the flux of multicast schematic diagram of M-VLAN technology when IPTV uses in the embodiment of the invention.Comprise in this networking structure: subscriber's main station, switching equipment, routing device and server, dynamically set up the formation of the system in M-VLAN territory in the embodiment of the invention.
In the embodiment of the invention, switching equipment realizes based on igmp proxy (Proxy) agreement, this moment the multicast protocol message no longer by simple transparent transmission, but carry out taking corresponding message response after related protocol calculates.During specific implementation, on switching equipment, dispose M-VLAN, wherein, the query message that at least one M-VLAN can receive from routing device based on the igmp proxy protocol processes and to multicast protocol messages such as joining message of reporting of routing device and leave message, but not simple transparent transmission multicast protocol message, therefore for prior art in can not handle the multicast protocol massages M-VLAN distinguish mutually, the M-VLAN that can handle the multicast protocol massages in the embodiment of the invention is called multicast message converges VLAN (MPRV, Multicast Packet Rendezvous VLAN), equally, this MPRV is as the multicast link ascending VLAN, and the descending VLAN of multicast link still is a user vlan.Wherein, the number of MPRV can be according to the decisions such as load capacity of switching equipment, are example with the situation that disposes two MPRV in embodiment illustrated in fig. 2, promptly dispose MPRV1 and MPRV2.In addition, among Fig. 2, Gx (x represents numeral, supposes x=1,2 ..., 6) represent the multicast group of different multicast data flow correspondences respectively.
Wherein, user vlan can be in the same VLAN with MPRV, also can be in the different VLAN, is in usually in the different VLAN between each user vlan.Among Fig. 2, suppose to exist four user vlans, i.e. user vlan 1, user vlan 2, user vlan 3 and user vlan 4.In the present embodiment, the M-VLAN territory that constitutes between each user vlan and the set MPRV no longer is a fixed configurations, but carries out dynamic-configuration according to the concrete condition in the multicast on demand process.
When realizing multicast on demand, switching equipment can be at first set up the binding relationship that MPRV and institute receiving group flow corresponding multicast group according to default principle, receive afterwards from after the joining message of the subscriber's main station under the user vlan, according to this source that joins message, promptly from which subscriber's main station under which user vlan and the user vlan, thereby learn the user vlan of this correspondence that joins message and the port information that the respective user main frame links to each other with user vlan, switching equipment can write down the join message information of corresponding user vlan and the port information of subscriber's main station respective user VLAN of receiving, the information that includes the multicast group of subscriber's main station application adding in wherein joining message, described multicast group information in joining message according to this, corresponding user vlan is mapped to the MPRV that has binding relationship with described multicast group with joining message, it promptly is the binding relationship of index search MPRV and multicast group with described multicast group information, obtain the MPRV corresponding with described multicast group, set up the M-VLAN territory of being made up of described MPRV and user vlan afterwards, described M-VLAN territory is corresponding with described multicast group.
Below the method for dynamically setting up the M-VLAN territory in the embodiment of the invention is described in detail, Fig. 3 is for dynamically setting up the exemplary process diagram of the method in M-VLAN territory in the embodiment of the invention, and this flow process comprises the steps:
Step 301 is set up the binding relationship of the MPRV multicast group corresponding with institute receiving group stream.
Multiple realization situation can be arranged during this step specific implementation, only enumerate wherein several situations below.
Situation one: if only dispose a MPRV, then all multicast group of user vlan application adding are all set up binding relationship with this MPRV.
Situation two: if dispose two or more MPRV, then can set in advance the binding relationship of each multicast group and each MPRV according to the principle of load balancing, perhaps, in the multicast on demand process, dynamically set up the multicast group of user vlan application adding and the binding relationship of MPRV according to the principle of load balancing.
For example, in embodiment illustrated in fig. 2, according to the load balancing principle, can set in advance the binding relationship of G1, G2 and G3 and MPRV1, the binding relationship of G4, G5 and G6 and MPRV2.When then carrying out multicast on demand, suppose that the subscriber's main station request adds G1, after then switching equipment receives joining message of corresponding user vlan, can send to routing device by MPRV1 with joining message, routing device can be set up the multicast data flow transmission link after receiving joining message of switching equipment transmission, multicast data flow is introduced into switching equipment from the routing device port of the MPRV1 of switching equipment, during specific implementation, multicast data flow sends to switching equipment by multicast data message, and the rest may be inferred.
Perhaps, also can be in the multicast on demand process, reception joins message from user vlan, suppose that this moment, the multicast group of subscriber's main station application adding was not also set up binding relationship with MPRV, and the multicast group list item that does not also have this corresponding port that joins message, then switching equipment can send to routing device with two MPRV that pass through to be disposed that join message that received; After routing device is received joining message of switching equipment transmission, can set up the multicast data flow transmission link, multicast data flow is introduced into switching equipment from the routing device port of two MPRV of switching equipment, and during specific implementation, multicast data flow sends to switching equipment by multicast data message; Switching equipment is by the multicast data message of two MPRV receptions from the multicast data flow of the program request that joins message of routing device, if do not set up the multicast group list item of this corresponding port that joins message, then the CPU (CPU) of switching equipment will be given on this multicast data message, CPU obtains the multicast group of multicast data flow correspondence from multicast data message, can determine the MPRV of the multicast data flow of this multicast group correspondence of reception this moment according to the load balancing principle from two MPRV, thereby set up the binding relationship of determined MPRV and this multicast group, keep from determined MPRV, receiving multicast data flow from routing device.Among Fig. 2, after supposing to dynamically arrange, G1, G2 and G3 and MPRV1 have set up binding relationship, and G4, G5 and G6 and MPRV2 have set up binding relationship.
Wherein, when switching equipment will join message and send to routing device by MPRV,, then the described routing device port that joins message by described MPRV is sent to routing device if known the information of routing device port; If do not know the information of routing device port, then described joining message broadcasted in described MPRV, send to routing device by broadcast mode.
In addition, routing device can periodically send query message to switching equipment, switching equipment upgrades the routing device port information of MPRV according to query message, if there is at least one user vlan in the M-VLAN territory, then switching equipment joins message to the routing device response, does not join message otherwise do not respond.In the embodiment of the invention, the query message that the VLAN of any MPRV of not being set to receives all will be dropped.In addition, switching equipment also can periodically send query message, and the query message that is sent is sent to subscriber's main station in the M-VLAN territory of being set up.
Wherein, know that the process of the information of routing device port can be:, determine that the port of MPRV reception query message or multicast data message is the routing device port according to the situation that MPRV receives query message or multicast data message.
Situation three: if dispose two or more MPRV; also can set in advance the binding relationship of each multicast group and each MPRV according to the link redundancy protection philosophy; perhaps in the multicast on demand process, dynamically set up the multicast group of user vlan application adding and the binding relationship of MPRV according to the link redundancy protection philosophy.
For example; in embodiment illustrated in fig. 2; if adopt the link redundancy protection philosophy; then can set in advance main MPRV and time MPRV; and can be in advance with two MPRV all with G1, G2 ..., G6 is provided with binding relationship, in the perhaps multicast on demand process, the multicast group that the subscriber's main station application adds all dynamically set up binding relationship with two MPRV; so that main MPRV breaks down in the convenient multicast on demand process, multicast on demand can be switched to time MPRV.
Situation four: if dispose plural MPRV; also can adopt load balancing principle and link redundancy protection philosophy simultaneously; wherein several MPRV adopt the load balancing principle; wherein several MPRV adopt the link redundancy protection philosophy (according to actual needs; can adopt and one main one be equipped with or a main mode that is equipped with realizes the link redundancy protection more) during specific implementation; can set in advance the binding relationship of each multicast group and each MPRV; perhaps, in the multicast on demand process, dynamically set up the multicast group of user vlan application adding and the binding relationship of MPRV.
In addition, other realization situation can also be arranged, and accordingly except load balancing principle, link redundancy protection philosophy, other distribution principle can be arranged also.
Step 302, reception joins message from user vlan, obtain the multicast group information of subscriber's main station application adding according to joining message of being received, according to this multicast group information, described user vlan is mapped to the MPRV that has binding relationship with described multicast group, sets up the M-VLAN territory of this multicast group correspondence of forming by described MPRV and user vlan.
Wherein, include the information of the multicast group of subscriber's main station application adding in joining message, therefore can obtain the multicast group information that the subscriber's main station application adds from joining message.In addition, when reception joins message, the path that can join message according to reception, write down the corresponding user vlan information that joins message, thereby know and send the affiliated user vlan of this subscriber's main station that joins message, and then, described user vlan is mapped to the MPRV that has binding relationship with described multicast group, thereby set up the M-VLAN territory of this multicast group correspondence of forming by described MPRV and user vlan according to the binding relationship information of the multicast group information that joins message and multicast group and MPRV.
In addition, because the path that can join message according to reception equally, write down the information of corresponding subscriber's main station that joins message corresponding to the port of user vlan, therefore further set up and comprise described multicast group, described user vlan and as the multicast group list item of the information of the described port of multicast member, afterwards, the multicast data message of the described multicast group correspondence that will receive from the MPRV of correspondence offers subscriber's main station by the subscriber's main station corresponding port in this user vlan.
Wherein, a MPRV in the M-VLAN territory can corresponding a plurality of user vlans.
For example, for cited situation in the situation two of step 301, if a subscriber's main station in the user vlan 1 (can be designated as main frame 1, not shown this mark) application adds G1, then user vlan 1 is mapped to MPRV1, and user vlan 1 added the M-VLAN territory of this MPRV1, set up the multicast group list item of the information that comprises multicast group, user vlan 1 and main frame 1 corresponding port simultaneously; In addition, another subscriber's main station in the user vlan 1 (can be designated as main frame 2, not shown this mark) application adds G4, then user vlan 1 is mapped to MPRV2 simultaneously, and user vlan 1 is also added the M-VLAN territory of this MPRV2, set up the multicast group list item of the information that comprises multicast group, user vlan 1 and main frame 2 corresponding ports simultaneously, other situations among Fig. 2 are similar, give unnecessary details no longer one by one herein.
During specific implementation, in the multicast group list item, the multicast group multicast addresses available represents that user vlan can represent that port can be represented with port id with user vlan ID.
Further, when the leave message that receives from user vlan, according to leave message, obtain multicast group and the subscriber's main station corresponding port information that the subscriber's main station application leaves and (promptly from leave message, extract the multicast group information that the subscriber's main station application is left, according to the situation that receives leave message, determine the port information of the subscriber's main station respective user VLAN of transmission leave message), delete the described port information in the corresponding multicast group list item of described multicast group, if described port be in the described user vlan as last port of the multicast member of described multicast group, the described user vlan of deletion from the M-VLAN territory of described multicast group correspondence then.In addition, in the multicast group list item, if behind the described port information in the corresponding multicast group list item of the described multicast group of deletion, the interior port as multicast member of all user vlans that adds this multicast group is a zero, if the port of i.e. desire deletion is last multicast group member port of multicast group, then delete this multicast list.
In addition,, then can further remove the binding relationship of this multicast group and MPRV, send leave message to routing device from the routing device port of MPRV if described user vlan is last user vlan in the M-VLAN territory of described multicast group correspondence.
In addition,, cause cpu load excessive, can carry out message at concrete multicast protocol message and suppress, specifically suppress to have in the method prior art a variety of, give unnecessary details no longer one by one herein for preventing query message, joining message and leave message is attacked.
As seen, the switching equipment in the embodiment of the invention disposes at least one MPRV, and wherein MPRV be for can handling the M-VLAN of multicast protocol massages, and this switching equipment is used to set up the binding relationship of the MPRV multicast group corresponding with institute receiving multicast data message; According to obtain the multicast group information that the subscriber's main station application adds from joining message of the subscriber's main station under the user vlan, and write down the information of the described corresponding user vlan that joins message, according to this multicast group information in joining message, described user vlan is mapped to the MPRV that has binding relationship with described multicast group, it promptly is the binding relationship of index search MPRV and multicast group with described multicast group information, obtain the MPRV corresponding, set up the M-VLAN territory of the described multicast group correspondence of forming by described MPRV and user vlan with described multicast group.Further, set up and to comprise described multicast group, described user vlan and as the multicast group list item of the information of the described port of multicast member.The multicast data message of this multicast group correspondence that switching equipment will receive from the MPRV of correspondence offers subscriber's main station by the subscriber's main station corresponding port in the user vlan that mapping relations are arranged with it.
During specific implementation, the inside implementation of the switching equipment in the embodiment of the invention can have multiple, Fig. 4 shows a kind of exemplary block diagram wherein, and the switching equipment among Fig. 4 comprises: at least one MPRV, and binding relationship is set up module, multicast domain is set up module and multicast data flow forwarding module.In addition, this switching equipment can also comprise the VLAN of non-MPRV.
Wherein, binding relationship is set up the binding relationship that module is used for setting up according to various default principles the MPRV multicast group corresponding with institute receiving multicast data message.Specific operation process can be consistent with the operating process of description in the step 301 shown in Figure 3.
Multicast domain is set up module and is used for according to joining message from the subscriber's main station under the user vlan, obtain the information of described user vlan and the multicast group information that described subscriber's main station application adds, according to described multicast group information, described user vlan is mapped to the MPRV that has binding relationship with described multicast group, it promptly is the binding relationship of index search MPRV and multicast group with described multicast group information, obtain the MPRV corresponding, set up the M-VLAN territory of the described multicast group correspondence of forming by described MPRV and user vlan with described multicast group.
In addition, further, multicast domain is set up module and is also set up and comprise described multicast group, described user vlan and as the multicast group list item of the information of the described port of multicast member.
The multicast data flow forwarding module is used for the multicast data message of the described multicast group correspondence that will receive from the MPRV of correspondence, offers described subscriber's main station by the described port in the described user vlan.Wherein, mapping relations and multicast domain set up the specific operation process of module and multicast data flow forwarding module can be consistent with the operating process described in the step 302 shown in Figure 3.
In addition, this switching equipment also can further comprise: the user vlan removing module, be used for according to leave message from the information that comprises the multicast group that the subscriber's main station application leaves of the subscriber's main station under the user vlan, write down the information of port of the described user vlan of described subscriber's main station correspondence, multicast group that application is left according to subscriber's main station and subscriber's main station corresponding port information, in described port is described user vlan during as last port of the multicast member of described multicast group, the described user vlan of deletion from the M-VLAN territory of described multicast group correspondence.In addition, also can further comprise: binding relationship is removed module, when being used for user vlan in the deletion of user vlan removing module and being last user vlan in the M-VLAN territory of described multicast group correspondence, removes the binding relationship of this multicast group and MPRV.
Wherein, the internal structure that binding relationship is set up module can have multiple implementation, a kind of situation of the situation two in the corresponding step 301 shown in Figure 3, binding relationship are set up the internal structure of module can be as shown in Figure 5, and Fig. 5 shows the exemplary block diagram that binding relationship is set up module.As shown in Figure 5, this binding relationship is set up module and comprised: message is transmitted submodule, multicast data message and is received submodule, MPRV and determine that submodule and binding relationship set up submodule.
Wherein, message forwarding submodule is used for and will sends to routing device by MPRV from joining message of user VLAN.
Multicast data message receives submodule and is used for by the multicast data message of MPRV reception from the multicast group of the program request that joins message of routing device.
MPRV determines that submodule is used for according to multicast data message, obtains the multicast group information of multicast data message correspondence, determines the MPRV of the multicast data message of the described multicast group correspondence of reception from MPRV according to default principle.Wherein, default principle can be the load balancing principle, also can be the link redundancy protection philosophy.
Binding relationship is set up the binding relationship that submodule is used to set up determined MPRV and above-mentioned multicast group.
In addition, this binding relationship is set up module and can further be comprised: the routing device port is known submodule, be used for receiving the situation of query message or multicast data message according to MPRV, the port of determining MPRV reception query message or multicast data message is the routing device port, then message is transmitted submodule and can be known that submodule determines the situation of routing device port according to the routing device port, carries out described will joining message and sends to the operation of routing device by MPRV.
In addition, the internal structure that multicast domain is set up module also can have multiple implementation, and Fig. 6 shows the exemplary block diagram that multicast domain is set up module.As shown in Figure 6, this multicast domain is set up module and can be comprised: information obtains submodule and multicast domain is set up submodule.
Wherein, information is obtained submodule and is used to receive from the joining message of the subscriber's main station under the user vlan, and writes down the information of the described corresponding user vlan that joins message, and obtains the multicast group information that the subscriber's main station application adds from described joining message.
Multicast domain is set up submodule, be used for obtaining the multicast group information that submodule obtains according to information, described user vlan is mapped to the MPRV that has binding relationship with described multicast group, it promptly is the binding relationship of index search MPRV and multicast group with described multicast group information, obtain the MPRV corresponding, set up the M-VLAN territory of the described multicast group correspondence of forming by described MPRV and user vlan with described multicast group.
Wherein, each module of switching equipment inside can be the physical function module, also can be software function module, and each module also can be segmented or be merged, during specific implementation, those of ordinary skills can handle according to actual conditions, enumerate no longer one by one herein.Wherein, switching equipment can be a switching equipment, also can be low side routing device etc.In addition, the routing device in the embodiment of the invention can be a router, also can be other routing device.
By the various embodiments described above as seen, take dynamic mode managing multicast vlan domain, reduced the network operation cost, strengthen flexibility, be convenient to operator's multicast service and expand.
In addition; in the prior art; the switching equipment of operation IGMP eavesdropping agreement can not be as the inquiry; the autonomous management ability that does not also have multicast source and multicast member; the switching equipment of realizing based on the igmp proxy agreement in the embodiment of the invention, no longer simple transparent transmission multicast protocol message, and the load balancing or the link redundancy of realization multicast data flow protected between switching equipment and routing device link; effectively protected link bandwidth, and the robustness that has improved system.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is preferred embodiment of the present invention; be not to be used to limit protection scope of the present invention; within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1, a kind of method of dynamically setting up the multicast virtual local area network vlan domain is characterized in that, pre-configured at least two multicast messages converge VLAN MPRV, and described MPRV is for handling the M-VLAN of multicast protocol massages; This method comprises:
According to presetting the binding relationship that principle sets in advance each multicast group and each MPRV, perhaps, in the multicast on demand process, dynamically set up the multicast group of user vlan application adding and the binding relationship of MPRV according to default principle;
Reception joins message from the subscriber's main station under the user vlan, writes down the information of the described corresponding user vlan that joins message, and comprises the information of the multicast group of described subscriber's main station application adding in described the joining message;
With described multicast group information is the binding relationship of index search MPRV and multicast group, obtains the MPRV corresponding with described multicast group;
The M-VLAN territory that foundation is made up of described MPRV and user vlan, described M-VLAN territory is corresponding with described multicast group.
2, the method for claim 1, it is characterized in that, obtain after the step of the MPRV corresponding with described multicast group, further comprise: set up and to comprise described multicast group, described user vlan and as the multicast group list item of the information of the port of multicast member, the information of described port joins message from described.
3, method as claimed in claim 2 is characterized in that, the default principle of described basis dynamically sets up the multicast group of user vlan application adding and the binding relationship of MPRV comprises:
Reception joins message from the subscriber's main station under the user vlan, if do not set up the multicast group list item of the corresponding port of described subscriber's main station, then described joining message is sent to routing device by MPRV;
Receive multicast data message by MPRV from the multicast group of the described program request that joins message of described routing device, if do not set up the multicast group list item of the corresponding port of described subscriber's main station, then the central processing unit CPU of switching equipment will be given on the described multicast data message, CPU obtains multicast group information from described multicast data message, determine the MPRV of the multicast data message of the described multicast group correspondence of reception from described MPRV according to default principle;
Set up the described definite MPRV and the binding relationship of described multicast group.
4, method as claimed in claim 3 is characterized in that, described default principle is load balancing principle and/or link redundancy protection philosophy.
5, the method for claim 1 is characterized in that, this method further comprises: switching equipment periodically sends query message, and described query message is sent to subscriber's main station in the M-VLAN territory of described foundation.
6, as each described method among the claim 2-4, it is characterized in that, this method further comprises: receive the leave message from the information that comprises the multicast group that the subscriber's main station application leaves of the subscriber's main station under the user vlan, multicast group that application is left according to subscriber's main station and subscriber's main station corresponding port information, delete the described port information in the corresponding multicast group list item of described multicast group, if described port be in the described user vlan as last port of the multicast member of described multicast group, the described user vlan of deletion from the M-VLAN territory of described multicast group correspondence then.
7, method as claimed in claim 6, it is characterized in that, during last user vlan in described user vlan is the M-VLAN territory of described multicast group correspondence, this method further comprises: remove the binding relationship of described multicast group and MPRV, the routing device port by described MPRV correspondence sends leave message to routing device.
8, a kind of system that dynamically sets up the multicast virtual local area network vlan domain comprises: subscriber's main station, switching equipment, routing device and server,
It is characterized in that, dispose at least two multicast messages on the described switching equipment and converge VLAN MPRV that described MPRV is for handling the M-VLAN of multicast protocol massages; Described switching equipment is used for setting in advance according to default principle the binding relationship of each multicast group and each MPRV, perhaps, in the multicast on demand process, dynamically sets up the multicast group of user vlan application adding and the binding relationship of MPRV according to default principle; Joining message of the multicast group that reception adds from comprising of the subscriber's main station under the user vlan of described subscriber's main station application, write down the information of the described corresponding user vlan that joins message, with described multicast group information is the binding relationship of index search MPRV and multicast group, obtain the MPRV corresponding with described multicast group, the M-VLAN territory that foundation is made up of described MPRV and user vlan, described M-VLAN territory is corresponding with described multicast group.
9, a kind of switching equipment is characterized in that, this switching equipment comprises:
At least two multicast messages converge VLAN MPRV, and described MPRV is for handling the M-VLAN of multicast protocol massages;
Binding relationship is set up module, is used for setting in advance according to default principle the binding relationship of each multicast group and each MPRV, perhaps, in the multicast on demand process, dynamically sets up the multicast group of user vlan application adding and the binding relationship of MPRV according to default principle;
Multicast domain is set up module, be used for according to joining message from the subscriber's main station under the user vlan, obtain the information of described user vlan and the multicast group information that described subscriber's main station application adds, with described multicast group information is the binding relationship of index search MPRV and multicast group, obtain the MPRV corresponding, set up the M-VLAN territory of the described multicast group correspondence of forming by described MPRV and user vlan with described multicast group.
10, switching equipment as claimed in claim 9 is characterized in that, described binding relationship is set up module and comprised:
The multicast protocol message is transmitted submodule, and the joining message of user vlan that is used for receiving when not setting up multicast list sends to routing device by described MPRV;
Multicast data message receives submodule, is used for by the multicast data message of described MPRV reception from the multicast group of the described program request that joins message of described routing device;
MPRV determines submodule, is used for obtaining the multicast group information of described multicast data message correspondence according to described multicast data message, determines the MPRV of the multicast data message of the described multicast group correspondence of reception from described MPRV according to default principle;
Binding relationship is set up submodule, is used to set up the described definite MPRV and the binding relationship of described multicast group.
11, switching equipment as claimed in claim 9 is characterized in that, described multicast domain is set up module and comprised:
Information is obtained submodule, is used to receive from the joining message of the subscriber's main station under the user vlan, and writes down the information of the described corresponding user vlan that joins message, and obtains the multicast group information that described subscriber's main station application adds from described joining message;
Multicast domain is set up submodule, and being used for described multicast group information is the binding relationship of index search MPRV and multicast group, obtains the MPRV corresponding with described multicast group, sets up the M-VLAN territory of the described multicast group correspondence of being made up of described MPRV and user vlan.
12, as each described switching equipment in the claim 9 to 11, it is characterized in that, this switching equipment further comprises: the user vlan removing module, be used for according to leave message from the information that comprises the multicast group that the subscriber's main station application leaves of the subscriber's main station under the user vlan, write down the information of port of the described user vlan of described subscriber's main station correspondence, multicast group that application is left according to subscriber's main station and subscriber's main station corresponding port information, in described port is described user vlan during as last port of the multicast member of described multicast group, the described user vlan of deletion from the M-VLAN territory of described multicast group correspondence.
13, switching equipment as claimed in claim 12, it is characterized in that, this switching equipment further comprises: binding relationship is removed module, when being used for last user vlan in described user vlan is the M-VLAN territory of described multicast group correspondence, remove the binding relationship of described multicast group and MPRV.
CN200710188276A 2007-11-30 2007-11-30 A method, system and switching device for dynamically establishing multicast virtual LAN Expired - Fee Related CN100583801C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200710188276A CN100583801C (en) 2007-11-30 2007-11-30 A method, system and switching device for dynamically establishing multicast virtual LAN
PCT/CN2008/073138 WO2009082905A1 (en) 2007-11-30 2008-11-21 Method, system and switch device for dynamically establishing multicast virtual local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710188276A CN100583801C (en) 2007-11-30 2007-11-30 A method, system and switching device for dynamically establishing multicast virtual LAN

Publications (2)

Publication Number Publication Date
CN101170481A CN101170481A (en) 2008-04-30
CN100583801C true CN100583801C (en) 2010-01-20

Family

ID=39390956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710188276A Expired - Fee Related CN100583801C (en) 2007-11-30 2007-11-30 A method, system and switching device for dynamically establishing multicast virtual LAN

Country Status (2)

Country Link
CN (1) CN100583801C (en)
WO (1) WO2009082905A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100583801C (en) * 2007-11-30 2010-01-20 华为技术有限公司 A method, system and switching device for dynamically establishing multicast virtual LAN
CN101286890B (en) * 2008-05-30 2012-10-17 北京东土科技股份有限公司 Rapid redundancy realizing method based on virtual local area network
CN101621467B (en) * 2009-08-13 2012-05-30 华为技术有限公司 Method, device and system for realizing multicast VSI
CN101702689B (en) * 2009-11-30 2012-07-04 迈普通信技术股份有限公司 Transmission control method with balanced multicast service data load and access device thereof
CN102611606A (en) * 2011-01-21 2012-07-25 中兴通讯股份有限公司 Method and device for separating multicast service
CN102223279B (en) * 2011-06-14 2013-11-06 杭州华三通信技术有限公司 Method for processing multi-VLAN (virtual local area network) and nodes
WO2014019240A1 (en) * 2012-08-03 2014-02-06 华为技术有限公司 Data processing method, base station and ue
CN104052671B (en) * 2013-03-13 2018-01-12 新华三技术有限公司 The processing method and routing bridge of multicast forwarding list item in TRILL network
CN103944892B (en) * 2014-04-10 2017-10-27 新华三技术有限公司 A kind of dynamic virtual local area network registration method and apparatus
CN103957164B (en) * 2014-04-29 2018-08-28 新华三技术有限公司 A kind of maintaining method and equipment of second-layer multicast forwarding list item
CN114143126A (en) * 2021-11-26 2022-03-04 广州芯德通信科技股份有限公司 Multicast data processing method, system and platform using default VLAN

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100337457C (en) * 2005-06-03 2007-09-12 华为技术有限公司 Cross-VLAN layer 2 multicast data transmission method of Ethernet switch
CN100492977C (en) * 2006-07-18 2009-05-27 杭州华三通信技术有限公司 Method and system for crossing virtual local network group broadcasting under assigned source group broadcasting protocol independent group broadcasting mode
CN100544302C (en) * 2007-01-15 2009-09-23 杭州华三通信技术有限公司 Polymerizing method for two layer multicast virtual local area network and convergence switch thereof
CN100583801C (en) * 2007-11-30 2010-01-20 华为技术有限公司 A method, system and switching device for dynamically establishing multicast virtual LAN

Also Published As

Publication number Publication date
CN101170481A (en) 2008-04-30
WO2009082905A1 (en) 2009-07-09

Similar Documents

Publication Publication Date Title
CN100583801C (en) A method, system and switching device for dynamically establishing multicast virtual LAN
JP3925188B2 (en) Application layer multicast method and relay node system
US8270406B2 (en) Method and apparatus for blocking forged multicast packets
US8243594B1 (en) Coordinated control of multiple parallel links or link aggregations
CN101258414B (en) Enhanced multicast vlan registration
CN100568822C (en) A kind of graphical display method for service topology based on Resilient Packet Ring
US20080112324A1 (en) Method, system and network device for exception handling of multicast service
CN101521583B (en) Resource admission control method, system and device
CN101364889A (en) Method for multicast user quick access
CN104125244A (en) Information forwarding method and system in distributed network
CN109862437A (en) A kind of forwarding-table item creation method and BRAS
CN106375211B (en) Exchange data processing method and interchanger in VRRP load-balancing scenario
JP5449548B2 (en) Multicast processing method and apparatus
CN102111608A (en) Communication method and device of video monitoring system
US7639683B2 (en) Multicast communication method using layer 2 and 3 switches
CN107465582B (en) Data sending method, device and system, physical home gateway and access node
CN101399681A (en) Management method, device and system for multicast programme
CN104054303B (en) Gateway suitable for VOD
CN102263686B (en) Method for controlling multiple operations under a kind of multiple edge framework and system
CN104506441B (en) A kind of streaming media data stream method of sending and receiving
KR102207290B1 (en) Method for supporting vlans in software defined network
CN114070777B (en) Multicast tree construction method, multicast data transmission method, controller and storage medium
CN101631135A (en) Method and device for two-layer intercommunication for data stream
CN207588890U (en) A kind of Convergence gateway and communication system
JP5675528B2 (en) Relay system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100120

Termination date: 20191130