CN102201999A - Multicast service load sharing method and system - Google Patents

Multicast service load sharing method and system Download PDF

Info

Publication number
CN102201999A
CN102201999A CN2011101577794A CN201110157779A CN102201999A CN 102201999 A CN102201999 A CN 102201999A CN 2011101577794 A CN2011101577794 A CN 2011101577794A CN 201110157779 A CN201110157779 A CN 201110157779A CN 102201999 A CN102201999 A CN 102201999A
Authority
CN
China
Prior art keywords
multicast
multicast group
working
main
acl
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
CN2011101577794A
Other languages
Chinese (zh)
Other versions
CN102201999B (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 CN201110157779.4A priority Critical patent/CN102201999B/en
Publication of CN102201999A publication Critical patent/CN102201999A/en
Application granted granted Critical
Publication of CN102201999B publication Critical patent/CN102201999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a multicast service load sharing method and a multicast service load sharing system. The method comprises that: a main pseudo wire (PW) and standby PWs of a multicast group are configured for PWs between provider edge (PE) equipment and a multicast source, and working PWs of the multicast group are elected from the configured main and standby PWs; and the PE equipment communicates with the multicast source by the elected working PWs of the multicast group. In the method and the system, the main and standby PWs of a given multicast group between user access equipment and the multicast source are configured, and available PWs are elected from the configured main and standby PWs as the working links of the multicast group, thereby enabling the main and standby PWs work at the same time but forward the multicast streams of different multicast groups to realize the load sharing of the multicast streams, effectively reduce network load and system overhead and increase the bandwidth utilization rate of network equipment; moreover, the main and standby PWs of the multicast group realize the backup of multicast services, ensure the transmission reliability and stability of the multicast streams and improve the quality of the multicast services.

Description

Method and system for realizing multicast service load sharing
Technical Field
The invention relates to the field of communication, in particular to a method and a system for realizing multicast service load sharing.
Background
Multicast is a transmission technology for realizing point-to-multipoint, has the capability of sending the same data to a plurality of sites at one time in an IP network, can save the network bandwidth of a backbone network, and reduces the network load. Therefore, the multicast technology has been widely applied to value-added services such as video on demand, IPTV, video conference, distance education, internet radio, internet games, and the like. IGMP (Internet Group Management Protocol) is a multicast membership Management Protocol for managing interactions between multicast users and multicast routers, and includes: the multicast user joins or leaves the multicast group, the multicast router inquires the multicast user regularly, and the multicast user responds to the inquiry message of the multicast router.
VPLS (Virtual Private LAN Service) is essentially an L2VPN (two-layer Virtual Private Network) technology, and its principle is to establish and maintain a PW (Pseudo Wire) between PE (Provider Edge) nodes in a VPLS embodiment by using a signaling protocol, and forward a two-layer ethernet frame (protocol or data packet) between each PE through the PW to implement interconnection of a multipoint-to-multipoint Local Area Network (LAN) in a wide Area, thereby establishing a multipoint-to-multipoint ethernet VPN (Virtual Private Network). The VPLS technology is widely applied to the IP network due to the advantages of simplicity, reliability, easy realization and the like. Because the multicast technology can effectively save bandwidth, the multicast technology is applied more and more in the VPLS network, and the requirements on the stability and reliability of the multicast service are higher and higher along with the development of the multicast service in the VPLS network.
In order to improve the quality of multicast services, a multicast service backup technique is usually adopted in the prior art, for example, when only one multicast source exists, a main/standby link is configured, and a multicast data stream is requested from the multicast source; however, only one of the multicast data streams is forwarded to the multicast stream replication device, and the other multicast data stream is discarded. When two multicast sources exist, one multicast source serves as a backup of the other multicast source, and the two multicast sources send the identical multicast data streams; however, only one of the multicast data streams is forwarded to the multicast stream replication device, and the other multicast data stream is discarded.
The backup of the multicast data stream can be realized by adopting the prior art, but under the normal condition, only one link forwards the multicast data stream, the other link does not forward any multicast data stream and is only used as a backup link, thereby causing the waste of network bandwidth; in addition, in an actual network environment, there are usually many multicast groups, and if the traffic of all multicast groups is forwarded through only one link, the network load is large, which inevitably affects the quality of multicast service. Therefore, the prior art still cannot solve the problem of network load imbalance.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method and a system for implementing multicast service load sharing, so as to solve the problem of multicast service load imbalance.
In order to solve the above problems, the technical solution of the present invention is realized as follows:
a method for realizing multicast service load sharing includes:
configuring main PW and standby PW of a multicast group aiming at a pseudo wire PW between PE equipment of an operator edge router and a multicast source, and selecting working PW of the multicast group from the configured main PW and standby PW; and the PE equipment communicates with a multicast source through the selected working PW of the multicast group.
The process of configuring the active/standby PWs of the multicast group includes:
configuring multicast group and ACL binding on PE equipment, and configuring PW and at least two ACL binding on the PE equipment; the at least two ACLs include a main ACL and a backup ACL;
aiming at the main ACL, the PW is a main PW of all multicast groups in the main ACL; correspondingly, for the backup ACL, the PW is a backup PW for all multicast groups in the ACL.
The process of electing the working PW of the multicast group comprises the following steps:
searching an ACL to which a multicast group belongs according to the multicast group, then electing according to a main ACL and a standby ACL bound by a PW, and if the main ACL of the PW is the same as the ACL to which the multicast group belongs, taking the PW as a main PW of the multicast group; if the backup ACL of the PW is the same as the ACL of the multicast group, taking the PW as the backup PW of the multicast group; if the main PW is available, electing the main PW as the working PW of the multicast group; if the backup PW is available, electing the backup PW as a working PW of the multicast group;
the PW equipment regularly detects the states of the main PW and the backup PW of the multicast group, and elects an available PW as a working PW of the multicast group.
The method further comprises the following steps: the PE equipment detects the availability of a working PW at regular time to determine an available PW;
the availability of the working PW is detected by detecting the change of PW configuration or whether the receiving of the multicast data stream is normal.
The process that the PE equipment communicates with the multicast source through the elected working PW of the multicast group comprises the following steps:
the PE equipment receives a multicast data stream of a corresponding multicast group sent by a multicast source and an IGMP query message for querying whether a multicast user exists or not through a working PW of the multicast group, and further forwards the IGMP query message to the multicast user; and/or the presence of a gas in the gas,
and the PE equipment sends an IGMP adding message and/or an IGMP leaving message of the corresponding multicast group to each multicast source through the working PW of the multicast group.
When a working PW of a multicast group is elected, if the working PW after the election is different from the working PW before the election, the method for sending the IGMP adding message and the IGMP leaving message by the PE equipment comprises the following steps:
and sending an IGMP adding message of the multicast group to the multicast source through the new working PW, and sending an IGMP leaving message of the multicast group to the multicast source through the working PW before election.
A system for realizing multicast service load sharing comprises a main PW configuration and display module, a working PW election module and a multicast message sending module; wherein,
the main/standby PW configuration and display module is used for configuring the main/standby PWs of the multicast group aiming at the PW between the PE equipment and the multicast source;
the working PW election module is used for electing the working PW of the multicast group from the configured main and standby PWs;
and the multicast message sending module is used for communicating with a multicast source through the selected working PW of the multicast group.
The active/standby PW configuring and displaying module, when configuring the active/standby PW of the multicast group, is configured to:
configuring multicast group and ACL binding on PE equipment, and configuring PW and at least two ACL binding on the PE equipment; the at least two ACLs include a main ACL and a backup ACL;
aiming at the main ACL, the PW is a main PW of all multicast groups in the main ACL; correspondingly, for the backup ACL, the PW is a backup PW for all multicast groups in the ACL.
The working PW election module is used for:
searching an ACL to which a multicast group belongs according to the multicast group, then electing according to a main ACL and a standby ACL bound by a PW, and if the main ACL of the PW is the same as the ACL to which the multicast group belongs, taking the PW as a main PW of the multicast group; if the backup ACL of the PW is the same as the ACL of the multicast group, taking the PW as the backup PW of the multicast group; if the main PW is available, electing the main PW as the working PW of the multicast group; if the backup PW is available, electing the backup PW as a working PW of the multicast group;
and regularly detecting the states of the main PW and the backup PW of the multicast group, and electing an available PW as a working PW of the multicast group.
The system also comprises a PW state detection module used for detecting the availability of the working PW at regular time so as to determine the available PW;
the availability of the working PW is detected by detecting the change of PW configuration or whether the receiving of the multicast data stream is normal.
The multicast message sending module, when communicating with a multicast source through the selected working PW of the multicast group, is configured to:
receiving a multicast data stream of a corresponding multicast group sent by a multicast source and an IGMP query message for querying whether a multicast user exists or not through a working PW of the multicast group, and further forwarding the message to the multicast user; and/or the presence of a gas in the gas,
and sending an IGMP adding message and/or an IGMP leaving message of the corresponding multicast group to each multicast source through the working PW of the multicast group.
When the working PW electing module elects the working PW of the multicast group, if the working PW after electing is different from the working PW before electing, the multicast message sending module is configured to, when sending the IGMP join message and the IGMP leave message:
and sending an IGMP adding message of the multicast group to the multicast source through the new working PW, and sending an IGMP leaving message of the multicast group to the multicast source through the working PW before election.
The method and the system select available PW as the working link of the multicast group from the configured main PW and standby PW by configuring the main PW and the standby PW of the specific multicast group between the user access equipment and the multicast source, thereby enabling the main PW and the standby PW to work simultaneously, but forwarding the multicast streams of different multicast groups respectively, realizing the load sharing of the multicast streams, effectively reducing the network load and the system overhead, and improving the bandwidth utilization rate of network equipment; in addition, the backup of the multicast service is realized through the main PW and the backup PW of the multicast group, the reliability and the stability of the transmission of the multicast stream are ensured, and the quality of the multicast service is improved.
Drawings
Fig. 1 is a first schematic diagram of a network for implementing multicast service load sharing according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a network configuration for implementing multicast service load sharing according to an embodiment of the present invention;
fig. 3 is a flowchart of implementing multicast service load sharing according to an embodiment of the present invention;
fig. 4 is a flow diagram for realizing multicast service load sharing according to the present invention;
fig. 5 is a system diagram for implementing multicast service load sharing according to the embodiment of the present invention.
Detailed Description
In practical application, in order to implement multicast service load sharing in a virtual private lan, a multicast group may be configured on a PE device to be bound to an Access Control List (ACL), and a PW may be configured on the PE device to be bound to at least two ACLs, where the at least two ACLs include a primary ACL and a backup ACL, for example: one of the ACLs serves as a primary ACL, and the other ACLs serve as backup ACLs.
Aiming at the main ACL, the PW is a main PW of all multicast groups in the main ACL; correspondingly, for the backup ACL, the PW is a backup PW for all multicast groups in the ACL.
Then, selecting a working PW of a multicast group according to configuration information on the PE device, for example: searching an ACL to which a multicast group belongs according to the multicast group, then electing according to a main ACL and a standby ACL bound by a PW, and if the main ACL of the PW is the same as the ACL to which the multicast group belongs, taking the PW as a main PW of the multicast group; if the backup ACL of the PW is the same as the ACL of the multicast group, taking the PW as the backup PW of the multicast group; if the main PW is available, electing the main PW as the working PW of the multicast group; if the backup PW is available, electing the backup PW as a working PW of the multicast group; the PW equipment regularly detects the states of the main PW and the backup PW of the multicast group, and elects an available PW as a working PW of the multicast group.
Further, when a working PW of the multicast group is elected, if the working PW after the election is different from the working PW before the election, the PE device sends an IGMP adding message of the multicast group to the multicast source through the new working PW, and sends an IGMP leaving message of the multicast group to the multicast source through the working PW before the election; thereby, a multicast forwarding path from the PE device to a multicast source is established on the new working PW.
And the PE equipment detects the availability of the working PW at regular time so as to determine the available PW. The detecting the availability of the working PW is implemented by detecting the change of PW configuration or whether the receiving of the multicast data stream is normal, or implemented by other methods.
Further, the PE device communicates with the multicast source only through the working PW corresponding to the multicast group, for example: and the PE equipment receives the multicast data stream of the corresponding multicast group sent by the multicast source and an IGMP query message for querying whether the multicast user exists or not through the working PW of the multicast group, and further forwards the IGMP query message to the multicast user. And the PE equipment sends IGMP joining and leaving messages of the corresponding multicast group to each multicast source through the working PW of the multicast group.
In addition, in order to realize multicast stream load sharing in the virtual private local area network, a system comprising a main/standby PW configuration and display module, a working PW election module and a multicast message sending module can also be applied. Wherein,
a main PW and standby PW configuration and display module: and the method is used for binding the multicast group and the ACL, and then configuring PW and binding the main ACL and the standby ACL, thereby realizing the binding of the multicast group and the main PW.
A working PW election module: and selecting the working PW of the multicast group according to the main PW and the standby PW for configuring the multicast group and the availability of the main PW and the standby PW.
A multicast message sending module: the method is used for sending an IGMP joining or leaving message of a corresponding multicast group to a multicast source according to the working PW of the multicast group, such as: and according to the result of the selection of the main PW and the standby PW, sending an IGMP adding message to the multicast source through the new working PW, and sending an IGMP leaving message to the multicast source through the old working PW.
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Fig. 1 is a schematic diagram of a first networking for implementing multicast stream load sharing according to an embodiment of the present invention, where the network shown in fig. 1 includes a multicast source server 101, a three-layer network device 102, a PE2 device 103, a PE3 device 104, a PE1 device 105, and a multicast user 106. The network is configured to: PE1, PE2 and PE3 belong to the same VPLS network, in the same VFI, PW1 is established by PE1 and PE2, PW2 is established by PE1 and PE3, PW1 and PW2 configured on PE1 are a main PW and a backup PW of the same multicast group, that is, PW1 is a main PW of multicast group 1, but is a backup PW of multicast group 2; PW2 is the active PW for multicast group 2, but is the backup PW for multicast group 1.
Fig. 2 is a schematic diagram of a second networking system for implementing multicast stream load sharing according to an embodiment of the present invention, where the network shown in fig. 2 includes a multicast source server 201, a multicast source server 202, a PE2 device 203, a PE3 device 204, a PE1 device 205, and a multicast user 206. The multicast source server 201 and the multicast source server 202 are two different multicast sources, but have the same multicast stream database, that is, are dual multicast source backups. The network is configured to: PE1, PE2 and PE3 belong to the same VPLS network, in the same VFI, PW1 is established by PE1 and PE2, PW2 is established by PE1 and PE3, PW1 and PW2 configured on PE1 are a main PW and a backup PW of the same multicast group, that is, PW1 is a main PW of multicast group 1, but is a backup PW of multicast group 2; PW2 is the active PW for multicast group 2, but is the backup PW for multicast group 1.
In fig. 2, the multicast stream load sharing is implemented as follows: configuring a main PW and a backup PW which designate main and standby PWs as multicast groups on PE1, wherein the main PW of a part of multicast groups is PW1, and the backup PW is PW 2; and the primary PW of the other part of the multicast group is PW2, and the backup PW is PW 1. Thus, for the same part of multicast group, the two PWs are mutually the active PW and the backup PW. Assuming that the primary PW of the multicast group 1 is PW1, the backup PW is PW2, the primary PW of the multicast group 2 is PW2, and the backup PW is PW 1; under normal conditions, both PW1 and PW2 are available, and PW1 is a working PW of a multicast group 1 and PW2 is a working PW of a multicast group 2 according to an active/standby PW election mechanism; therefore, the PE1 device only receives the multicast data stream of multicast group 1 delivered by the multicast source server 201 through PW1, and only receives the multicast data stream of multicast group 2 delivered by the multicast source server 202 through PW 2. The main PW and the standby PW work simultaneously, so that load sharing is realized.
When PW1 fails, PE1 device performs active/standby PW switching, reselects a working link of a multicast group, so that the working PW of multicast group 1 also becomes PW2, and both multicast group 1 and multicast group 2 receive a multicast stream delivered by multicast source server 202 through PW 2; correspondingly, when PW2 fails, the working link of multicast group 2 also becomes PW1, and both multicast group 1 and multicast group 2 receive the multicast stream delivered by multicast source server 201 through PW1, and the configuration information of the active and standby PWs is not limited to be deployed on backbone edge device PE, and may also be deployed on devices with similar functions.
Fig. 3 is a flowchart of implementing multicast service load sharing according to the embodiment of the present invention, and details of the implementation process according to the embodiment of the present invention are described below with reference to the flowchart.
Step 301: the PE device establishes communication links with a plurality of multicast sources through the PW, such as: the PE1 establishes PWs with multiple multicast sources, which are exemplified here by two PWs, PW1 and PW 2.
Step 302: configuring the main PW and the backup PW of the multicast group on the PE device, for example: and configuring the primary PW and the backup PW of the multicast group on the PE1 device. Assume that multicast group 1 is configured into ACL1 and multicast group 2 is configured into ACL 2. Configuring a primary ACL of PW1 as ACL1, and configuring a backup ACL as ACL 2; the primary ACL configured with PW2 is ACL2, and the backup ACL is ACL 1.
Step 303: the PE device receives an join or leave message of a multicast user, such as: the PE1 device receives the join messages of the multicast users of multicast group 1 and multicast group 2.
Step 304: selecting a working PW of the multicast group according to the relationship between the configured multicast group and the main PW and the standby PW, wherein the working PW comprises the following steps: the PE1 device is a working PW for multicast group election according to the configuration information, the main PW of the multicast group 1 is PW1, the backup PW is PW2, the main PW of the multicast group 2 is PW2, and the backup PW is PW 1; assuming that both PW1 and PW2 are available, according to the master/slave PW election mechanism, the working PW of multicast group 1 is PW1, and the working PW of multicast group 2 is PW 2. If the selected working PW is different from the working PW before selection, sending a multicast group adding message to the multicast source through the selected working PW, and sending a multicast leaving message to the multicast source through the working PW before selection.
Step 305: the PE device communicates with a multicast source according to the selected working PW of the multicast group, such as: the PE1 device communicates with the multicast source according to the working PW of the elected multicast group. The adding message of the multicast group 1 is sent to the multicast source only through the working PW of the multicast group 1; the join message of the multicast group 2 is sent to the multicast source only through the working PW2 of the multicast group 2. The PE1 device also receives the multicast stream and the query message from the multicast source only through the working PW of multicast group 1 and the working PW of multicast group 2, respectively, and responds to the query message of the corresponding multicast group.
Step 306: the PE device periodically detects the availability and configuration of the working PW of the multicast group, and if the availability or configuration of the working PW changes, the working PW needs to be reselected, for example: the PE1 device periodically detects the availability and configuration of the working PW of the multicast group 1 and the multicast group 2, if the working PW of the multicast group 1 is not changed, the PE1 device continues to communicate with the multicast source only through the working PW of the multicast group 1 and the working PW of the multicast group 2; otherwise, if PW1 is not available due to a configuration or state change, step 307 is performed; the method for detecting the availability of the working PW of the multicast group 1 and the multicast group 2 periodically may be implemented by detecting the availability of the underlying link (e.g., detecting whether the multicast data stream is received normally), and the like.
Step 307: and the working PW before and after re-election changes, the PE equipment sends an adding message of the multicast group through the new working PW and sends a leaving message of the multicast group through the original working PW, and the steps are as follows: the PE1 device performs active/standby switching, reselects the working PW, and updates the working PW of the multicast group 1 to PW2, and the PE1 device only receives the multicast stream of the multicast group 1 and the multicast stream of the multicast group 2 sent by the multicast source 2 through PW 2. In step 306, if PW2 is unavailable, the working PW of multicast group 2 is switched to PW1, and the PE1 device only receives the multicast stream of multicast group 1 and the multicast stream of multicast group 2 sent by the multicast source 1 through PW 1.
Step 308: the PE device communicates with the multicast source through the elected new working PW, for example: the PE1 device communicates with the multicast source through the working PW of the newly elected multicast group.
As can be seen from the above description, the operation idea of the present invention for implementing multicast service load sharing may be represented as a flow shown in fig. 4, where the flow includes the following steps:
step 410: and aiming at PWs between the PE equipment and the multicast source, configuring main and standby PWs of the multicast group, and selecting working PWs of the multicast group from the configured main and standby PWs.
Step 420: and the PE equipment communicates with a multicast source through the selected working PW of the multicast group.
In order to ensure that the technical description and the operation idea can be successfully implemented, a system as shown in fig. 5 may be further provided, where the system includes: a main-standby PW configuring and displaying module 501, a working PW electing module 503, and a multicast message sending module 504. Of course, the PW status detection module 502 may be further included. Wherein,
active/standby PW configuring and displaying module 501: the method is used for configuring an active PW and a standby PW of a multicast group for a PW between a PE device and a multicast source, where: configuring multicast group and ACL binding through configuration command, then configuring PW and main/standby ACL binding, thereby designating main PW and standby PW of the multicast group, and also executing main/standby PW switching operation through configuration command.
PW status detection module 502: for detecting the availability of the primary and secondary PWs, such as: the availability detection of the main PW and the standby PW is realized by methods of detecting the availability of a bottom link and the like.
Working PW election module 503: a working PW for selecting a multicast group from the configured active/standby PWs, such as: selecting a main PW and a standby PW of the multicast group according to the configuration information, wherein if the main PW and the standby PW are both available and a main PW switching command is not configured, the main PW is a working PW of the multicast group; if the master PW and the backup PW are both available and the master PW switching command is configured, the backup PW is a working PW of the multicast group; if the working PW before and after election changes, sending an IGMP adding message of the multicast group to the multicast source through the new working PW, and sending an IGMP leaving message of the multicast group to the multicast source through the old working PW;
multicast message sending module 504: and the PW is used for communicating with the multicast source through the elected working PW of the multicast group. Specifically, according to the working PW of the multicast group, an IGMP join or leave packet of the corresponding multicast group may be sent to the multicast source, for example: and according to the result of the selection of the main PW and the standby PW, sending an IGMP adding message to the multicast source through the new working PW, and sending an IGMP leaving message to the multicast source through the old working PW.
In summary, regardless of the method or the system, the present invention implements the multicast service load sharing technology, by configuring the active PW and the backup PW of a specific multicast group between the user access device and the multicast source, selecting the working PW of the multicast group according to the configuration, and then selecting the available PW from the configured active PW and backup PW as the working link of the multicast group, it can ensure that the working PW of a part of multicast groups is the active PW and the working PW of another part of multicast groups is the backup PW, so that the active PW and the backup PW work simultaneously, but respectively forward the multicast streams of different multicast groups, thereby implementing the load sharing of the multicast streams, effectively reducing the network load and the system overhead, and improving the performance such as the bandwidth utilization rate of the network device; in addition, the backup of the multicast service is realized through the main PW and the backup PW of the multicast group, the reliability and the stability of the transmission of the multicast stream are ensured, and the quality of the multicast service is improved.
In addition, the present invention is also applicable to network devices supporting MLD (Multicast Listener Discovery) and similar protocols.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (12)

1. A method for realizing multicast service load sharing is characterized in that the method comprises:
configuring main PW and standby PW of a multicast group aiming at a pseudo wire PW between PE equipment of an operator edge router and a multicast source, and selecting working PW of the multicast group from the configured main PW and standby PW; and the PE equipment communicates with a multicast source through the selected working PW of the multicast group.
2. The method of claim 1,
the process of configuring the active/standby PWs of the multicast group includes:
configuring multicast group and ACL binding on PE equipment, and configuring PW and at least two ACL binding on the PE equipment; the at least two ACLs include a main ACL and a backup ACL;
aiming at the main ACL, the PW is a main PW of all multicast groups in the main ACL; correspondingly, for the backup ACL, the PW is a backup PW for all multicast groups in the ACL.
3. The method of claim 1, wherein the electing the working PW for the multicast group comprises:
searching an ACL to which a multicast group belongs according to the multicast group, then electing according to a main ACL and a standby ACL bound by a PW, and if the main ACL of the PW is the same as the ACL to which the multicast group belongs, taking the PW as a main PW of the multicast group; if the backup ACL of the PW is the same as the ACL of the multicast group, taking the PW as the backup PW of the multicast group; if the main PW is available, electing the main PW as the working PW of the multicast group; if the backup PW is available, electing the backup PW as a working PW of the multicast group;
the PW equipment regularly detects the states of the main PW and the backup PW of the multicast group, and elects an available PW as a working PW of the multicast group.
4. The method of claim 3, further comprising: the PE equipment detects the availability of a working PW at regular time to determine an available PW;
the availability of the working PW is detected by detecting the change of PW configuration or whether the receiving of the multicast data stream is normal.
5. The method according to any one of claims 1 to 4, wherein the process of the PE device communicating with the multicast source through the selected working PW of the multicast group comprises:
the PE equipment receives a multicast data stream of a corresponding multicast group sent by a multicast source and an IGMP query message for querying whether a multicast user exists or not through a working PW of the multicast group, and further forwards the IGMP query message to the multicast user; and/or the presence of a gas in the gas,
and the PE equipment sends an IGMP adding message and/or an IGMP leaving message of the corresponding multicast group to each multicast source through the working PW of the multicast group.
6. The method according to claim 5, wherein when electing the working PW of the multicast group, if the elected working PW is different from the working PW before electing, the method for sending the IGMP join message and the IGMP leave message by the PE device is as follows:
and sending an IGMP adding message of the multicast group to the multicast source through the new working PW, and sending an IGMP leaving message of the multicast group to the multicast source through the working PW before election.
7. A system for realizing multicast service load sharing is characterized in that the system comprises a main PW configuration and display module, a working PW election module and a multicast message sending module; wherein,
the main/standby PW configuration and display module is used for configuring the main/standby PWs of the multicast group aiming at the PW between the PE equipment and the multicast source;
the working PW election module is used for electing the working PW of the multicast group from the configured main and standby PWs;
and the multicast message sending module is used for communicating with a multicast source through the selected working PW of the multicast group.
8. The system of claim 7,
the active/standby PW configuring and displaying module, when configuring the active/standby PW of the multicast group, is configured to:
configuring multicast group and ACL binding on PE equipment, and configuring PW and at least two ACL binding on the PE equipment; the at least two ACLs include a main ACL and a backup ACL;
aiming at the main ACL, the PW is a main PW of all multicast groups in the main ACL; correspondingly, for the backup ACL, the PW is a backup PW for all multicast groups in the ACL.
9. The system of claim 7, wherein the working PW election module, when electing the working PW for the multicast group, is configured to:
searching an ACL to which a multicast group belongs according to the multicast group, then electing according to a main ACL and a standby ACL bound by a PW, and if the main ACL of the PW is the same as the ACL to which the multicast group belongs, taking the PW as a main PW of the multicast group; if the backup ACL of the PW is the same as the ACL of the multicast group, taking the PW as the backup PW of the multicast group; if the main PW is available, electing the main PW as the working PW of the multicast group; if the backup PW is available, electing the backup PW as a working PW of the multicast group;
and regularly detecting the states of the main PW and the backup PW of the multicast group, and electing an available PW as a working PW of the multicast group.
10. The system of claim 9, further comprising a PW status detection module configured to periodically detect an availability of working PWs to determine available PWs;
the availability of the working PW is detected by detecting the change of PW configuration or whether the receiving of the multicast data stream is normal.
11. The system according to any one of claims 7 to 10, wherein said multicast messaging module, when communicating with a multicast source via the working PW of the elected multicast group, is configured to:
receiving a multicast data stream of a corresponding multicast group sent by a multicast source and an IGMP query message for querying whether a multicast user exists or not through a working PW of the multicast group, and further forwarding the message to the multicast user; and/or the presence of a gas in the gas,
and sending an IGMP adding message and/or an IGMP leaving message of the corresponding multicast group to each multicast source through the working PW of the multicast group.
12. The system according to claim 11, wherein when the working PW electing module elects a working PW of a multicast group, if the elected working PW is different from the working PW before electing, the multicast packet sending module is configured to, when sending the IGMP join packet and the IGMP leave packet:
and sending an IGMP adding message of the multicast group to the multicast source through the new working PW, and sending an IGMP leaving message of the multicast group to the multicast source through the working PW before election.
CN201110157779.4A 2011-06-13 2011-06-13 A kind of method and system for realizing multicast service load sharing Active CN102201999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110157779.4A CN102201999B (en) 2011-06-13 2011-06-13 A kind of method and system for realizing multicast service load sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110157779.4A CN102201999B (en) 2011-06-13 2011-06-13 A kind of method and system for realizing multicast service load sharing

Publications (2)

Publication Number Publication Date
CN102201999A true CN102201999A (en) 2011-09-28
CN102201999B CN102201999B (en) 2017-09-22

Family

ID=44662400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110157779.4A Active CN102201999B (en) 2011-06-13 2011-06-13 A kind of method and system for realizing multicast service load sharing

Country Status (1)

Country Link
CN (1) CN102201999B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428067A (en) * 2013-08-14 2013-12-04 杭州华三通信技术有限公司 Message forwarding method and device based on two-layer virtual private network
CN103457750A (en) * 2013-09-04 2013-12-18 杭州华三通信技术有限公司 Method and device for improving multicast information transmission bandwidth utilization rate
CN106059925A (en) * 2016-05-11 2016-10-26 杭州华三通信技术有限公司 Multicast processing method and device
WO2016180233A1 (en) * 2015-08-10 2016-11-17 中兴通讯股份有限公司 Method, apparatus, and system for hybrid-configuration dual-homing protection in packet transport network
WO2017124685A1 (en) * 2016-01-21 2017-07-27 中兴通讯股份有限公司 Service forwarding method and apparatus
WO2017201750A1 (en) * 2016-05-27 2017-11-30 华为技术有限公司 Method, device and system for processing multicast data
CN108243114A (en) * 2016-12-26 2018-07-03 华为技术有限公司 A kind of method to E-Packet, equipment and system
CN108809792A (en) * 2017-04-26 2018-11-13 中兴通讯股份有限公司 A kind of method and device of message data control
US10992570B2 (en) 2016-12-20 2021-04-27 Huawei Technologies Co., Ltd. Packet forwarding method and device for a virtual private wire service (VPWS) pseudo wire (PW) network using traffic balancing
CN112968836A (en) * 2021-01-31 2021-06-15 新华三信息安全技术有限公司 Cross-device aggregation link configuration method, device, equipment and readable storage medium
WO2022135217A1 (en) * 2020-12-21 2022-06-30 华为技术有限公司 Load sharing method and system, root node device, and leaf node device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100362810C (en) * 2005-07-28 2008-01-16 华为技术有限公司 Method for implementing fast switching of virtual special LAN service
CN101374075A (en) * 2008-06-30 2009-02-25 华为技术有限公司 Method, apparatus and system for protecting multicast source
CN102098202B (en) * 2009-12-11 2013-08-07 华为技术有限公司 Virtual private topology control method, device and system
CN102025541B (en) * 2010-12-08 2014-12-10 中兴通讯股份有限公司 Method and system for realizing multicast protection

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428067B (en) * 2013-08-14 2017-03-15 杭州华三通信技术有限公司 A kind of message forwarding method and equipment based on two-layer virtual private network
CN103428067A (en) * 2013-08-14 2013-12-04 杭州华三通信技术有限公司 Message forwarding method and device based on two-layer virtual private network
CN103457750A (en) * 2013-09-04 2013-12-18 杭州华三通信技术有限公司 Method and device for improving multicast information transmission bandwidth utilization rate
CN103457750B (en) * 2013-09-04 2016-08-17 杭州华三通信技术有限公司 A kind of method improving multicast information transmission bandwidth utilization rate and device thereof
WO2016180233A1 (en) * 2015-08-10 2016-11-17 中兴通讯股份有限公司 Method, apparatus, and system for hybrid-configuration dual-homing protection in packet transport network
WO2017124685A1 (en) * 2016-01-21 2017-07-27 中兴通讯股份有限公司 Service forwarding method and apparatus
CN106059925B (en) * 2016-05-11 2020-04-10 新华三技术有限公司 Multicast processing method and equipment
CN106059925A (en) * 2016-05-11 2016-10-26 杭州华三通信技术有限公司 Multicast processing method and device
WO2017201750A1 (en) * 2016-05-27 2017-11-30 华为技术有限公司 Method, device and system for processing multicast data
US10992570B2 (en) 2016-12-20 2021-04-27 Huawei Technologies Co., Ltd. Packet forwarding method and device for a virtual private wire service (VPWS) pseudo wire (PW) network using traffic balancing
CN108243114A (en) * 2016-12-26 2018-07-03 华为技术有限公司 A kind of method to E-Packet, equipment and system
CN108243114B (en) * 2016-12-26 2021-02-23 华为技术有限公司 Method, equipment and system for forwarding message
CN108809792B (en) * 2017-04-26 2020-09-08 南京中兴新软件有限责任公司 Message data control method and device
CN108809792A (en) * 2017-04-26 2018-11-13 中兴通讯股份有限公司 A kind of method and device of message data control
WO2022135217A1 (en) * 2020-12-21 2022-06-30 华为技术有限公司 Load sharing method and system, root node device, and leaf node device
CN112968836A (en) * 2021-01-31 2021-06-15 新华三信息安全技术有限公司 Cross-device aggregation link configuration method, device, equipment and readable storage medium
CN112968836B (en) * 2021-01-31 2022-05-27 新华三信息安全技术有限公司 Cross-device aggregation link configuration method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN102201999B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN102201999B (en) A kind of method and system for realizing multicast service load sharing
EP3367619B1 (en) Synchronizing multicast state between multi-homed routers in an ethernet virtual private network
US8218429B2 (en) Method and device for multicast traffic redundancy protection
US20180287946A1 (en) Multicast load balancing in multihoming evpn networks
CN100450039C (en) Fast convergence method and device of the end-to-end service
US20190028285A1 (en) Service message multicast method and device
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN103051536A (en) Quick multicast switching method of two-layer redundant link
CN102215172B (en) A kind of method and system for realizing cross-virtual private local area network multicast
CN102244609B (en) Solve VPLS and access method and the router that L3 failover causes stopping
CN102148745A (en) Method and system for increasing forwarding efficiency of virtual private LAN service network
CN103067286A (en) Multicast data transmission method and equipment
US10225091B2 (en) Method for implementing point-to-multipoint multicast, network node, and system
CN101702689A (en) Transmission control method with balanced multicast service data load and access device thereof
CN101296105B (en) Multicast fast switching method and system, three-layer network appliance
CN113497766B (en) EVPN multicast ingress forwarder selection using source activated routing
CN101321077B (en) Reliable multicast method, provider edge upper layer device and system
EP3396897A1 (en) Multicast load balancing in multihoming evpn networks
CN101610200B (en) Switching method and device of multicast routing
WO2022017432A1 (en) Multicast packet sending method, apparatus, and system
US11323279B1 (en) Internet group management protocol host mobility in ethernet virtual private network multicast networks
CN102082720A (en) Method and device for forwarding multicast flow
US9548887B2 (en) Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover
CN102045239A (en) Implementation method and device of point-to-multipoint pseudowire protective network
CN103780503B (en) The implementation method and equipment of a kind of load balancing

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