CN101170432A - A method for realizing multi-cast service protection switching and load balance - Google Patents
A method for realizing multi-cast service protection switching and load balance Download PDFInfo
- Publication number
- CN101170432A CN101170432A CNA2006101377212A CN200610137721A CN101170432A CN 101170432 A CN101170432 A CN 101170432A CN A2006101377212 A CNA2006101377212 A CN A2006101377212A CN 200610137721 A CN200610137721 A CN 200610137721A CN 101170432 A CN101170432 A CN 101170432A
- Authority
- CN
- China
- Prior art keywords
- multicast
- link
- message
- upper level
- load balancing
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to the technical field of multicast and discloses a method for realizing a protective reversion and load balance for multicast operation, which includes the following steps: a user sends an added multicast message to access equipment; after receiving the added message, the access equipment checks the uplink circuit for the load balance status thereof; the added multicast message is forwarded to the uplink equipment through a multicast agent on the uplink circuit; the uplink circuit and the multicast data thereon are checked for normality; in case of failure with the uplink circuit or with the multicast data thereon, the multicast data with failure are inverted to the backup link circuit. The invention not only supports multipoint backup, but also reciprocal backup for link circuits with different media, enabling protective inversion and load balancing on link circuit level and multicast level, thus enhancing the stability, high quality and high reliability of multicast service.
Description
Technical field
The present invention relates to the multicast service technical field, relate in particular to a kind of method that realizes multi-cast service protection switching and load balancing.
Background technology
At present, broadband technology has obtained application more and more widely, and along with the continuous expansion of broadband application scope and the rapid increase of number of broadband customers, multicast service has become a kind of important means that operator attracts the user.
The realization of multicast service needs the support of multicast protocol, multicast protocol is made up of two parts: run on main frame and with multicast router that main frame directly links to each other between IGMP (Internet igmpinternet) agreement, run on the multicast routing protocol between router and the router, in order to support the multicast cascade, introduced IGMP Proxy (multicast agent) simultaneously.
IGMP sets up and safeguards group membership's relation information of the router direct connection network segment, main frame tells local router to wish to add or leave the information of certain particular multicast group by this agreement, router is periodically inquired about on any one network that is connected with oneself by this agreement simultaneously, whether still have the member who belongs to certain multicast group, as there is a group membership, multicast router just can add a specific multicast group, and gives the main frame that adds this group with transmitting multicast data.This agreement transmitting-receiving general polling message, group-specific query message, the various state informations that main frame joins message and leave message is come maintenance agreement.
IGMPProxy sets up multicast table by the IGMP message between interception user and the router, and joins message at the upper united mouth forwarding multicasting.The first line of a couplet port of Proxy equipment is carried out the role of main frame, and second line of a couplet port is carried out the role of router, and the process that multicast service is realized is as follows:
Main frame is sent the IGMP neighboring router that joins message.
After neighboring router receives and joins message, two kinds of processing modes are arranged:
The operation multicast routing protocol is set up multicast and is generated tree between source end and each router of receiving terminal, be stretched over all recipients from each sender.
By IGMP Proxy, transmit the router of the first line of a couplet that joins request, the first line of a couplet router multicast routing protocol of reruning.
Source end and receiving terminal set up multicast path by after, the source just begins along multicast path by sending data to each recipient.Multicast service popularize the network that requires high reliability.The high reliability of network generally realizes by the link redundancy technology.Link redundancy is presented as the link aggregation technology technically, and just being to use LACP (Link Aggregation Control Protocol) that multilink is bound together increases bandwidth.But LACP has following restriction:
The speed of aggregated links must be identical, and must all be full duplex.
Do not support the multiple spot polymerization, the equipment more than three can not polymerization.
Only support the polymerization of ethernet link, can not polymerization between the link of different medium.
Summary of the invention
In order to overcome problems of the prior art; provide a high-quality multicast service to the client; the invention provides the method for a kind of multi-cast service protection switching and load balancing; realize that by the multicast protocol that utilizes three layers the protection of multicast service switches and load balancing, avoided two layers the restriction of LACP on link aggregation.By the present invention, can improve the stability of multicast service, guarantee the high-quality and the high reliability of multicast service.
Technical scheme of the present invention is as follows:
A kind of method that realizes multi-cast service protection switching and load balancing comprises the steps:
The first step, the user sends by IGMP and adds the multicast group message to access device;
In second step, after access device receives and joins message, check the load balancing situation of upper level link;
In the 3rd step, access device on upper level link, by multicast agent, is transmitted the equipment of adding multicast group message to the first line of a couplet according to the load balancing strategy;
The 4th step, access device detect upper level link and on multicast packet whether normal;
In the 5th step, when access device detected multicast packet on upper level link or the upper level link and breaks down, the load balancing strategy according in the 3rd step was switched to the multicast packet that breaks down on the backup link.
The load balancing situation of the inspection upper level link in described second step,
Can realize by detecting the multicast data traffic on every upper level link or the number of multicast group.
Load balancing strategy in described the 3rd step,
Can adopt repeating query algorithm or priority algorithm.
Described the 4th step:
No longer increase in a period of time if detect the number of the IGMP query message that receives on every upper level link, perhaps the state of upper level link is for closing, and then this upper level link lost efficacy.
Described the 4th step:
If detect each the multicast group data flow on every upper level link, be zero in a period of time, then the multicast packet of this multicast group lost efficacy.
Described the 5th step:
If link breaks down,
Then on faulty link, send the IGMP leave message, no longer respond the IGMP query message on this link, on backup link, send IGMP and join message;
If the multicast packet of the multicast group on the link breaks down,
Then on original link, send the IGMP leave message, no longer respond the IGMP group-specific query message on this link, response IGMP general polling message sends IGMP and joins message on backup link.
The multicast group that described leave message comprises is the multicast group that breaks down,
The described multicast group that comprises that joins message is the multicast group that breaks down;
Described IGMP general polling message no longer comprises the multicast group that breaks down in its message.
The present invention has avoided two layers the restriction of LACP on link aggregation owing to realize that by the multicast protocol that utilizes three layers the protection of multicast service switches and load balancing.
The present invention does not require that the speed of link must be identical; support multi-point backup; the link of different medium also can back up mutually; can back up mutually as ATM (asynchronous transfer mode) link and ethernet link together; can back up mutually with the equipment of not supporting polymerization technique; also can back up mutually with the equipment of supporting polymerization technique; can protect in link level and multicast group level and switch and load balancing; can improve the stability of multicast service like this, guarantee the high-quality and the high reliability of multicast service.
Description of drawings
Fig. 1 is a network structure of the present invention;
Fig. 2 is the network structure of the embodiment of the invention;
Fig. 3 is an operational flowchart of the present invention.
Embodiment
Describe the present invention below with reference to the accompanying drawings in detail.
Network structure of the present invention is as shown in Figure 1: the user is connected to access device, access device operation IGMP Proxy, multicast router is connected to multicast server by IP network, and multicast router moves IGMP at user side, in network side operation multicast routing protocol.
The first line of a couplet mode of access device has several situations:
Connect a multicast router, between access device and multicast router, multilink is arranged, mutually backup.
Connecting a plurality of multicast routers, can be more than three, between access device and each multicast router one or more of links can be arranged.
Connect multicast server, multicast server can be a plurality of.
Connect multicast router and multicast server simultaneously, their quantity can be a plurality of.
The present invention implements on following equipment: having realized the network side of the access device of IGMP Proxy, also can be other network equipment of having realized the igmp host role at network side.
A kind of method that realizes multi-cast service protection switching and load balancing of the present invention may further comprise the steps:
The first step: the user sends by IGMP and adds the multicast group message to access device;
Second step: after access device receives and joins message, check the load balancing situation of upper level link;
The 3rd step: access device on upper level link, by IGMP Proxy, is transmitted the equipment of the first line of a couplet that joins message according to the load balancing strategy;
The 4th step: access device detect upper level link and on multicast packet whether normal;
The 5th step: when access device detected multicast packet on upper level link or the upper level link and breaks down, the load balancing strategy according in the 3rd step was switched to the multicast packet that breaks down on other the backup link.
Wherein: the method for the load balancing situation of the inspection upper level link in described second step has following several:
Detect the multicast data traffic on every upper level link;
Detect the number of the multicast group on every upper level link.
Load balancing strategy in described the 3rd step can adopt different strategies as the case may be, as repeating query algorithm, priority algorithm etc.Can in various algorithms, select, flow distribution in many upper level link.If in a period of time, access device does not receive the data of corresponding multicast group on upper level link, then on remaining upper level link, transmit and join message according to top load balancing strategy, up to receiving multicast packet, perhaps after repeating query on all backup links is transmitted one time, all do not receive corresponding multicast packet, then no longer forwarding joins message;
Access device in described the 4th step detect upper level link and on multicast packet whether normal method has following several:
Detect the number of the igmp querying message that receives on every upper level link,, think that then this upper level link lost efficacy if in a period of time, no longer increase;
Detect each the multicast group data flow on every upper level link,, think that then the multicast packet of this multicast group lost efficacy in a period of time if be zero;
Detect the state of upper level link,, think that then this upper level link lost efficacy if Link State is down (closing).
The method that the multicast packet with breaking down in described the 5th step is switched on other the backup link is as follows:
If link breaks down, then adopt in the following method:
Send IGMP leave message on faulty link, the multicast group that leave message comprises is the multicast group on the fault link, no longer responds the igmp querying message on this link.
Send IGMP and join message on backup link, the multicast group that comprises of joining message is the multicast group on the fault link.
If the multicast packet of certain multicast group on the link breaks down, then adopt in the following method:
On original link, send IGMP leave message, the multicast group that leave message comprises is the multicast group that breaks down, no longer respond the IGMP group-specific query message of this multicast group on this link, response IGMP general polling message, but the multicast group that this breaks down no longer comprised in the message.
Send IGMP and join message on backup link, the multicast group that comprises that joins message is the multicast group that breaks down.
Be illustrated in figure 2 as the network structure of the embodiment of the invention, the user is connected to access device BRAS (Broadband Remote Access Server) by Ethernet switch, access device BRAS is connected to multicast router by multilink, and multicast router is connected to multicast server by IP network.Wherein, BRAS operation IGMP Proxy, multicast router moves IGMP at user side, in network side operation multicast routing protocol.
The multi-cast service protection switching that the embodiment of the invention realizes and the method for load balancing comprise:
The first step: the user sends by IGMP and adds the multicast group message to access device;
The user sends igmp host and joins message, and is forwarded to access device BRAS through Ethernet switch, and which multicast group notice BRAS main frame wishes to add.
Second step: after access device receives and joins message, check the load balancing situation of upper level link;
Access device BRAS receives after IGMP joins message, and checks the load balancing situation of upper level link according to following method:
Detect the number of the multicast group on every upper level link, load capacity is big on the big link of multicast group number.Every upper level link is all stipulated the portative multicast group quantity of maximum, reach the maximum number of regulation when the multicast group number after, do not allow on this link, to add again new multicast group.
The 3rd step: access device on upper level link, by IGMP Proxy, is transmitted the equipment of the first line of a couplet that joins message according to the load balancing strategy;
The load balancing strategy of access device BRAS adopts the repeating query algorithm: multicast joins request and transmits on upper level link in turn each time, restarts then from 1 to N.After having transmitted a multicast on the upper level link and having joined message, if in a period of time, access device BRAS does not receive the data of corresponding multicast group on this upper level link, then on remaining upper level link, transmit and join message according to top load balancing strategy, up to receiving multicast packet, perhaps after repeating query on all backup links is transmitted one time, all do not receive corresponding multicast packet, then no longer forwarding joins message.
By above-mentioned mechanism, in access device BRAS, set up a table, wherein comprise each port of BRAS and the member which multicast group is all arranged on the pairing subnet of port.Receive the data message of certain multicast group as BRAS after, only on having the port of multicast member, those transmit data message.
The 4th step: access device detect upper level link and on multicast packet whether normal;
After access device BRAS starts, just detect upper level link and on multicast packet whether normal.Detect upper level link and on multicast packet whether normal method have following severally, and use simultaneously:
Detect the number of the igmp querying message that receives on every upper level link,, think that then this upper level link lost efficacy if in a period of time, no longer increase.
Detect each the multicast group data flow on every upper level link,, think that then the multicast packet of this multicast group lost efficacy in a period of time if be zero.
Detect the state of upper level link,, think that then this upper level link lost efficacy if Link State is down.
The 5th step: when access device detected multicast packet on upper level link or the upper level link and breaks down, the load balancing strategy according in the 3rd step was switched to the multicast packet that breaks down on other the backup link;
The method that access device BRAS is switched to the multicast packet that breaks down on other the backup link is as follows:
If link breaks down, then adopt in the following method:
Send IGMP leave message on faulty link, the multicast group that leave message comprises is the multicast group on the fault link, no longer responds the igmp querying message on this link;
Send IGMP and join message on backup link, the multicast group that comprises of joining message is the multicast group on the fault link;
If the multicast packet of certain multicast group on the link breaks down, then adopt in the following method:
On original link, send IGMP leave message, the multicast group that leave message comprises is the multicast group that breaks down, no longer respond the IGMP group-specific query message of this multicast group on this link, response IGMP general polling message, but the multicast group that this breaks down no longer comprised in the message;
Send IGMP and join message on backup link, the multicast group that comprises that joins message is the multicast group that breaks down.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.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 (7)
1. a method that realizes multi-cast service protection switching and load balancing is characterized in that, comprises the steps:
The first step, the user sends by IGMP and adds the multicast group message to access device;
In second step, after access device receives and joins message, check the load balancing situation of upper level link;
In the 3rd step, access device on upper level link, by multicast agent, is transmitted the equipment of adding multicast group message to the first line of a couplet according to the load balancing strategy;
The 4th step, access device detect upper level link and on multicast packet whether normal;
In the 5th step, when access device detected multicast packet on upper level link or the upper level link and breaks down, the load balancing strategy according in the 3rd step was switched to the multicast packet that breaks down on the backup link.
2. the method for realization multi-cast service protection switching as claimed in claim 1 and load balancing is characterized in that, the load balancing situation of the inspection upper level link in described second step,
Can realize by detecting the multicast data traffic on every upper level link or the number of multicast group.
3. the method for realization multi-cast service protection switching as claimed in claim 1 and load balancing is characterized in that, the load balancing strategy in described the 3rd step,
Can adopt repeating query algorithm or priority algorithm.
4. the method for realization multi-cast service protection switching as claimed in claim 1 and load balancing is characterized in that, described the 4th step:
No longer increase in a period of time if detect the number of the IGMP query message that receives on every upper level link, perhaps the state of upper level link is for closing, and then this upper level link lost efficacy.
5. the method for realization multi-cast service protection switching as claimed in claim 1 and load balancing is characterized in that, described the 4th step:
If detect each the multicast group data flow on every upper level link, be zero in a period of time, then the multicast packet of this multicast group lost efficacy.
6. the method for realization multi-cast service protection switching as claimed in claim 1 and load balancing is characterized in that, described the 5th step:
If link breaks down,
Then on faulty link, send the IGMP leave message, no longer respond the IGMP query message on this link, on backup link, send IGMP and join message;
If the multicast packet of the multicast group on the link breaks down,
Then on original link, send the IGMP leave message, no longer respond the IGMP group-specific query message on this link, response IGMP general polling message sends IGMP and joins message on backup link.
7. the method for multi-cast service protection switching as claimed in claim 6 and load balancing is characterized in that,
The multicast group that described leave message comprises is the multicast group that breaks down,
The described multicast group that comprises that joins message is the multicast group that breaks down;
Described IGMP general polling message no longer comprises the multicast group that breaks down in its message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101377212A CN101170432A (en) | 2006-10-27 | 2006-10-27 | A method for realizing multi-cast service protection switching and load balance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101377212A CN101170432A (en) | 2006-10-27 | 2006-10-27 | A method for realizing multi-cast service protection switching and load balance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101170432A true CN101170432A (en) | 2008-04-30 |
Family
ID=39390911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006101377212A Pending CN101170432A (en) | 2006-10-27 | 2006-10-27 | A method for realizing multi-cast service protection switching and load balance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101170432A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010000172A1 (en) * | 2008-06-30 | 2010-01-07 | 华为技术有限公司 | Method, system, receiving end device and multicast source device for multicast protection |
WO2010028588A1 (en) * | 2008-09-10 | 2010-03-18 | 华为技术有限公司 | Method and system for multicast switch |
WO2011009326A1 (en) * | 2009-07-22 | 2011-01-27 | 中兴通讯股份有限公司 | Method, device and broadband access server for service control |
CN102098198A (en) * | 2010-12-31 | 2011-06-15 | 北京华环电子股份有限公司 | Ethernet protection method and device |
CN102111342A (en) * | 2011-04-07 | 2011-06-29 | 杭州华三通信技术有限公司 | Link protection method and equipment |
CN103379545A (en) * | 2012-04-16 | 2013-10-30 | 华为技术有限公司 | Method and device for load balancing |
CN103986658A (en) * | 2014-05-14 | 2014-08-13 | 北京锐安科技有限公司 | Message output method and device |
CN106059925A (en) * | 2016-05-11 | 2016-10-26 | 杭州华三通信技术有限公司 | Multicast processing method and device |
CN106534376A (en) * | 2016-12-29 | 2017-03-22 | 北京华为数字技术有限公司 | User online load balancing method, apparatus and device |
CN110995602A (en) * | 2014-03-31 | 2020-04-10 | 瞻博网络公司 | System and method for load balancing multicast traffic |
CN111277805A (en) * | 2018-12-04 | 2020-06-12 | 中国移动通信集团广东有限公司 | Processing method and device for CRC (cyclic redundancy check) errors of uplink of OLT (optical line terminal) |
CN112217735A (en) * | 2020-09-08 | 2021-01-12 | 网宿科技股份有限公司 | Information synchronization method and load balancing system |
-
2006
- 2006-10-27 CN CNA2006101377212A patent/CN101170432A/en active Pending
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010000172A1 (en) * | 2008-06-30 | 2010-01-07 | 华为技术有限公司 | Method, system, receiving end device and multicast source device for multicast protection |
WO2010028588A1 (en) * | 2008-09-10 | 2010-03-18 | 华为技术有限公司 | Method and system for multicast switch |
CN101674222B (en) * | 2008-09-10 | 2013-01-30 | 华为技术有限公司 | Method and system for multicast switching |
WO2011009326A1 (en) * | 2009-07-22 | 2011-01-27 | 中兴通讯股份有限公司 | Method, device and broadband access server for service control |
CN102098198A (en) * | 2010-12-31 | 2011-06-15 | 北京华环电子股份有限公司 | Ethernet protection method and device |
CN102098198B (en) * | 2010-12-31 | 2013-07-31 | 北京华环电子股份有限公司 | Ethernet protection method and device |
CN102111342B (en) * | 2011-04-07 | 2014-09-10 | 杭州华三通信技术有限公司 | Link protection method and equipment |
CN102111342A (en) * | 2011-04-07 | 2011-06-29 | 杭州华三通信技术有限公司 | Link protection method and equipment |
CN103379545B (en) * | 2012-04-16 | 2016-06-08 | 华为技术有限公司 | A kind of load-balancing method and device |
CN103379545A (en) * | 2012-04-16 | 2013-10-30 | 华为技术有限公司 | Method and device for load balancing |
CN110995602A (en) * | 2014-03-31 | 2020-04-10 | 瞻博网络公司 | System and method for load balancing multicast traffic |
CN110995602B (en) * | 2014-03-31 | 2022-01-14 | 瞻博网络公司 | System and method for load balancing multicast traffic |
CN103986658A (en) * | 2014-05-14 | 2014-08-13 | 北京锐安科技有限公司 | Message output method and device |
CN103986658B (en) * | 2014-05-14 | 2017-06-06 | 北京锐安科技有限公司 | A kind of message output intent and device |
CN106059925A (en) * | 2016-05-11 | 2016-10-26 | 杭州华三通信技术有限公司 | Multicast processing method and device |
CN106059925B (en) * | 2016-05-11 | 2020-04-10 | 新华三技术有限公司 | Multicast processing method and equipment |
CN106534376A (en) * | 2016-12-29 | 2017-03-22 | 北京华为数字技术有限公司 | User online load balancing method, apparatus and device |
CN111277805A (en) * | 2018-12-04 | 2020-06-12 | 中国移动通信集团广东有限公司 | Processing method and device for CRC (cyclic redundancy check) errors of uplink of OLT (optical line terminal) |
CN111277805B (en) * | 2018-12-04 | 2021-07-16 | 中国移动通信集团广东有限公司 | Processing method and device for CRC (cyclic redundancy check) errors of uplink of OLT (optical line terminal) |
CN112217735A (en) * | 2020-09-08 | 2021-01-12 | 网宿科技股份有限公司 | Information synchronization method and load balancing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101170432A (en) | A method for realizing multi-cast service protection switching and load balance | |
US11178001B2 (en) | Multi-stage switch fabric fault detection and handling | |
US10594512B2 (en) | Access network dual path connectivity | |
CN100571205C (en) | Multicasting service protecting method in a kind of access network and system thereof, device | |
US6654371B1 (en) | Method and apparatus for forwarding multicast data by relaying IGMP group membership | |
CN100433730C (en) | Method and system of multicast and video-on-demand | |
US6321270B1 (en) | Method and apparatus for multicast routing in a network | |
CN101483558B (en) | Method, system and apparatus for packet switching network access by network appliance | |
CN101035057B (en) | Method for establishing the multicast share tree and data transfer method and communication network | |
CN103873368B (en) | Ethernet message forwarding method and access device | |
JP4415773B2 (en) | Multicast packet relay device for virtual router | |
US20060050643A1 (en) | Router for multicast redundant routing and system for multicast redundancy | |
CN102315951B (en) | Transmission method for multicast message, correlated equipment and system | |
CN103051536A (en) | Quick multicast switching method of two-layer redundant link | |
WO2012106915A1 (en) | Failure notification method, detection apparatus, forwarding apparatus, system and data structure | |
CN101964719B (en) | Based on the data processing method of master control board switching, line card and master control borad | |
CN101702689A (en) | Transmission control method with balanced multicast service data load and access device thereof | |
CN101166107A (en) | Ip multicast service system, switching device, and group selection transmission method used therefor | |
WO2022253087A1 (en) | Data transmission method, node, network manager, and system | |
CN101262412B (en) | A method and its access device for multicast recovery with minimal delay | |
WO2012152134A1 (en) | Rapid convergence method for ethernet layer 2 multicast and ethernet system | |
EP2678976A1 (en) | Efficient multicasting in a distributed system architecture | |
CN101610200A (en) | Multicast path by changing method and device | |
JP3824906B2 (en) | INTERNET CONNECTION METHOD, ITS DEVICE, AND INTERNET CONNECTION SYSTEM USING THE DEVICE | |
CN101388788B (en) | Double layer multicast management method, system and double layer switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20080430 |