CN102742221B - A kind of method that multicast realizes and the network equipment - Google Patents

A kind of method that multicast realizes and the network equipment Download PDF

Info

Publication number
CN102742221B
CN102742221B CN201180000523.0A CN201180000523A CN102742221B CN 102742221 B CN102742221 B CN 102742221B CN 201180000523 A CN201180000523 A CN 201180000523A CN 102742221 B CN102742221 B CN 102742221B
Authority
CN
China
Prior art keywords
network equipment
multicast
information
group
outbound port
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
CN201180000523.0A
Other languages
Chinese (zh)
Other versions
CN102742221A (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
Publication of CN102742221A publication Critical patent/CN102742221A/en
Application granted granted Critical
Publication of CN102742221B publication Critical patent/CN102742221B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports

Abstract

The embodiment of the invention discloses method and the network equipment of the realization of a kind of multicast.Described method comprises: first network equipment receives the internet group management protocol IGMP message of self terminal, and described IGMP message comprises the multicast group information of described terminal request; Obtain multicast backup information, described multicast backup information comprises and receives the port information of described IGMP message, the information of described terminal and described multicast group information; Described multicast backup information is sent, to make described second network equipment when described first network equipment fault, according to described multicast backup information to described terminal forwarding multicasting stream to second network equipment.The technical scheme adopting the embodiment of the present invention to provide, can solve in prior art, and when active router or primary link break down, IPTV service is interrupted, the problem of poor user experience.

Description

A kind of method that multicast realizes and the network equipment
Technical field
The present invention relates to network communication field, particularly relate to method and the network equipment of the realization of a kind of multicast.
Background technology
At deployment IPTV (Internet Protocol Television, internet television) business time, because IPTV is higher to reliability requirement, usually the method adopting redundancy is needed, dispose at least two routers at IP backbone edge, select DR (Designated Router, Designed Router) and BDR (Backup Designated Router, backup Designed Router), be responsible for downstream endpoint duplicated multicast stream by DR under normal circumstances.When DR breaks down, BDR can upgrade to leading role's look, is responsible for downstream duplicated multicast stream, but IPTV service the interruption of long period will occur, and Consumer's Experience is poor.
Summary of the invention
Embodiments provide method and the network equipment of the realization of a kind of multicast, to solve in prior art, because the network equipment or link failure cause IPTV service to be interrupted, the problem of poor user experience.
For solving the problems of the technologies described above, embodiments providing a kind of method that multicast realizes, comprising:
First network equipment receives the internet group management protocol IGMP message of self terminal from the first outbound port, and described IGMP message comprises the first multicast group information of described terminal request;
Multicast data flow corresponding to described first multicast group information is forwarded to described terminal by described first outbound port;
Obtain multicast backup information, described multicast backup information comprises and receives the port information of described IGMP message, the information of described terminal and described first multicast group information; Described port information comprises the port numbers of described first port or the first protection group mark ID corresponding to described first port;
Described multicast backup information is sent to second network equipment, with make described second network equipment in described first network equipment fault and described second network equipment switches to major state time, forward described multicast data flow by the second outbound port of described second network equipment to described terminal according to described multicast backup information; Wherein, described first network equipment and described second network equipment main and standby relation each other, described first outbound port and described second outbound port form the first protection group, and have described first protection group ID; Described first network equipment preserves protection group relation table, and described protection group relation table comprises the port numbers of master network device, the corresponding relation of the port numbers of protection group ID and the standby network equipment.
Embodiments provide the network equipment that a kind of multicast realizes, comprising:
First receiver, for receiving the internet group management protocol IGMP message of self terminal from the first outbound port, described IGMP message comprises the first multicast group information of described terminal request;
Acquisition module, for obtaining multicast backup information, described multicast backup information comprises and receives the port information of described IGMP message, the information of described terminal and described first multicast group information; Described port information comprises the port numbers of described first port or the first protection group mark ID corresponding to described first port;
First transmitter, for sending described multicast backup information to second network equipment, with make described second network equipment in described network equipment failure and described second network equipment switches to major state time, forward multicast data flow corresponding to described first multicast group information by the second outbound port of described second network equipment to described terminal according to described multicast backup information;
The described network equipment, also for forwarding described multicast data flow by described first outbound port to described terminal;
The described network equipment also comprises: main and standby relation module, for running active and standby voting protocol, safeguards the active and standby relation between described second net equipment; Wherein, described first outbound port and described second outbound port form the first protection group, and have described first protection group ID; The described network equipment preserves protection group relation table, and described protection group relation table comprises the port numbers of master network device, the corresponding relation of the port numbers of protection group ID and the standby network equipment.
Embodiments provide the second network equipment that a kind of multicast realizes, comprising:
Second receiver, for receiving the multicast backup information from first network equipment, described multicast backup information comprises the port information that described first network equipment receives the internet group management protocol IGMP message of self terminal, the information of described terminal and the first multicast group information; Described port information comprises described first network equipment and receives the port numbers of the first outbound port of described IGMP message or the first protection group mark ID corresponding to described first outbound port;
Update module, for upgrading local IGMP group information according to described multicast group backup information, described IGMP group information comprises multicast group information and outbound port list;
Second transmitter, for when described first network equipment fault and described second network equipment switches to major state time, forward multicast data flow corresponding to described first multicast group information by the second outbound port of described second network equipment to terminal according to described local IGMP group information; Wherein, described first network equipment and described second network equipment main and standby relation each other, described first outbound port and described second outbound port form the first protection group, and have described first protection group ID; Described second network equipment preserves protection group relation table, and described protection group relation table comprises the port numbers of master network device, the corresponding relation of the port numbers of protection group ID and the standby network equipment.
Adopt the technical scheme that the embodiment of the present invention provides, by the multicast group information of back-up terminals on second network equipment, when first network equipment fault, by second network device forwards multicast data flow, IPTV service can not be interrupted, and ensure that Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the network diagram adopting two-node cluster hot backup technology to dispose IPTV service;
Fig. 2 is the method flow diagram of a kind of multicast realization that the embodiment of the present invention provides;
Fig. 3 is the network equipment block diagram of a kind of multicast realization that the embodiment of the present invention provides;
Fig. 4 is the second network equipment block diagram of a kind of multicast realization that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide method and the network equipment of the realization of a kind of multicast.Described method comprises: first network equipment receives the internet group management protocol IGMP message of self terminal, and described IGMP message comprises the multicast group information of described terminal request; Obtain multicast backup information, described multicast backup information comprises and receives the port information of described IGMP message, the information of described terminal and described multicast group information; Described multicast backup information is sent, to make described second network equipment when described first network equipment fault, according to described multicast backup information to described terminal forwarding multicasting stream to second network equipment.The technical scheme adopting the embodiment of the present invention to provide, can solve in prior art, because active router or primary link failure cause IPTV service to be interrupted, and the problem of poor user experience.
The deployment of IPTV service needs to use IP multicasting technology.IP multicasting technology refers to that multicast source sends IP message, and the object IP address of message is multicast group address, and the terminal equipment only adding this multicast group can receive this IP multicast message.Realize the forwarding of IP multicast message in a network, i.e. the transmission of multicast data flow, the IP multicast protocol of interoperable must be run on equipment.
IP multicast protocol comprises internet group management protocol IGMP (Internet Group Management Protocol), is the mechanism setting up and safeguard multicast member relation between terminal and router.In IGMP agreement, when terminal wishes to add the multicast group of specifying, send the IGMP Report message carrying this multicast group address; When terminal wishes to leave the multicast group of specifying, the IGMP Leave message carrying this multicast group address can be sent.Whether the member that router periodically inquires about certain known multicast group by IGMP agreement is in active state, realize the collection of the network group membership relation that networks and maintenance.
In order to provide IPTV service reliability, two-node cluster hot backup technology can be adopted.Two-shipper refers to active and standby two network equipments, these two network equipments are by active and standby voting protocol, such as VRRP (Virtual Router Redundancy Protocol, Virtual Router Redundacy Protocol) decision-making goes out active and standby relation, and convergence switch is dual-homed on these two network equipments.The link of every a pair active and standby relation, port or VLAN are called protection group, by protection group ID (mark).The active and standby network equipment there is protection group relation table, comprises the corresponding relation of port numbers etc. of the port numbers of master network device, protection group ID, the standby network equipment.As Fig. 1, it is the network diagram adopting two-node cluster hot backup technology to dispose IPTV service.First network equipment is main state, and second network equipment is standby state, and switch 1 is dual-homed on first network equipment and second network equipment, and the port one of first network equipment, the port 4 of second network equipment are a pair active and standby ports.
Embodiment 1
See Fig. 2, be the method flow diagram of a kind of multicast realization that the embodiment of the present invention provides, described method comprises:
101: first network equipment receives the IGMP message of self terminal, and described IGMP message comprises the multicast group information of described terminal request.
Described IGMP message can be IGMP Report message or IGMP Leave message.
Described multicast group information comprises multicast group address, can also comprise multicast source address.
Described first network equipment upgrades local IGMP group information according to described IGMP message, and described IGMP group information comprises multicast group information and outbound port list.
Described first network equipment upgrades the outbound port list of local IGMP group information according to the port receiving described IGMP message.
For example, as shown in Figure 1, first network equipment receives the IGMP Report message of terminal 1 by port one, and request adds multicast group 1; When there is no multicast group 1 in first network equipment local IGMP group information, then add multicast group 1 address and port one; When existing multicast group 1, then in the outbound port list of multicast group 1, add port one.If terminal 1 sends IGMP Leave, message leaves multicast group 1, then delete port one in the outbound port list in IGMP group information under multicast group 1.
Described first network equipment can set up the multicast path with multicast source according to local IGMP group information, and receives the multicast data flow from multicast source.Such as, according to local IGMP group information, by PIM (Protocol Independent Multicast, Protocol Independent Multicast) (PIM protocol application is between multicast router, for setting up and safeguarding Multicast Routing, Multicast Routing establishes one from multicast source to the data transfer path of multiple receiving terminal) set up the multicast path with multicast source.
Described first network equipment according to local IGMP group information, can generate multicast forward table, to described terminal forwarding multicasting stream, is incorporated into port in described multicast forward table, multicast group information and outbound port list.
102: obtain multicast backup information, described multicast backup information comprises and receives the port information of described IGMP message, the information of described terminal and described multicast group information.
Described first network equipment can according to the link layer packaging acquisition of information of described IGMP the information of terminal.The information of described terminal comprises the IP address of described terminal, the MAC Address of described terminal, VLAN label (such as public network VLAN label, private network VLAN label) etc.
103: send described multicast backup information to second network equipment, to make described second network equipment when described first network equipment fault, according to described multicast backup information to described terminal forwarding multicasting stream.
Described first network equipment and described second network equipment can be Service Gateway or router, such as BRAS (Broadband Remote Access Server, Broadband Remote Access Server).
Described first network equipment and described second network equipment main and standby relation each other.
Described first network equipment and described second network equipment can pass through active and standby voting protocol, such as VRRP, and decision-making goes out active and standby relation, and safeguards active and standby relation.
Described first network equipment and described second network equipment have protection group relation table, comprise master network device port numbers, the corresponding relation of protection group ID and standby network equipment port number.
Described port information can be port numbers or protection group ID.Such as according to the port numbers receiving described IGMP message, inquiry protection group relation table, can obtain protection group ID.
Before receiving the IGMP message from described terminal, described first network equipment can set up PPPOE (Point-to-Point Protocol over Ethernet with described terminal, Ethernet bearing peer-peer protocol) session, and described PPPOE session information is backed up on described second network equipment, to make described second network equipment when described first network equipment fault, safeguard the PPPOE session with described terminal.
Described IGMP message can be encapsulated by PPPOE.
Described first network equipment can pass through control plane, such as signalling path, sends described multicast backup information to second network equipment.Or,
Described first network equipment also can set up reliable transmission channel with described second network equipment room, and such as TCP connects, and sends described multicast backup information by described reliable transmission channel to described second network equipment.
Described second network equipment can according to described port information, and inquiry protection group relation table, obtains the outbound port of described second network equipment to described terminal forwarding multicasting stream.
For example; as shown in Figure 1; first network equipment receives the IGMP message of self terminal 1 by port one; then first network equipment sends to the port information of second network equipment to be port numbers 1; in second network equipment query protection group relation table, main side slogan is the list item of 1; obtaining corresponding standby port numbers is 4, and namely when first network device fails, the outbound port that second network equipment sends multicast packet to described terminal is port 4.
Described second network equipment can upgrade local IGMP group information according to described multicast group information and described outbound port.
The described network equipment also can generate an IGMP copy packet, at least comprise in described IGMP copy packet described come the IGMP message of self terminal and data link layer head.Such as, described IGMP copy packet form is as follows:
Wherein:
Version: protocol version, this field is 1 byte.Such as, can 0x01 be filled out, represent version 1;
Type: the type of message, this field is 1 byte.Such as, can definition value as follows:
1:IGMP type of message;
Length: the length defining whole multicast group solicited message message, this field is 2 bytes, its value >=4 byte;
The length of Packet Length: definition Packet part, this field is 2 bytes;
Reserved: reserved field, this field is 2 bytes;
Packet: message body, can comprise data link layer head and IGMP message, variable-length;
Attributes: attribute field, is a variable length field, can comprises multiple attribute, and each attribute is TLV (Type Length Value, type lengths values) form.Such as:
AttrType: the type describing attribute, this field is 1 byte.Such as, can be defined as follows attribute type:
1: represent VRF (VPN Routing and Forwarding Table, VPN route forwarding table) name attribute, being used for marking terminal is subordinated to the territory of which three-layer VPN (Virtual Private Network, Virtual Private Network).
Described first network equipment sends above-mentioned message to described second network equipment.
Described second network equipment can send the mode of IGMP message, according to the manageable message format of above-mentioned message structure IGMP protocol stack by pseudo-terminal.
Described second network equipment can upgrade local IGMP group information according to above-mentioned message.
Described second network equipment can set up the multicast path with multicast source according to local IGMP group information, and receives the multicast data flow from multicast source.
Described second network equipment can issue outbound port list according to local IGMP group information to Forwarding plane, generates multicast forward table; When described second network equipment is in standby state, described second network equipment does not carry out the encapsulation of multicast packet, not to outbound port forwarding multicasting stream; When described first network equipment fault, when described second network equipment switches to major state, described second network equipment carries out the encapsulation of multicast packet, and to outbound port forwarding multicasting stream.Or,
When described second network equipment is in standby state, described second network equipment does not issue outbound port list to Forwarding plane, owing to there is no outbound port, and can not to terminal forwarding multicasting stream; When described first network equipment fault, when described second network equipment switches to major state, described second network equipment issues outbound port list according to local IGMP group information, generates multicast forward table, and carries out the encapsulation of multicast packet, to terminal forwarding multicasting stream.
Adopt the technical scheme that the embodiment of the present invention provides, by the IGMP group information of back-up terminals on second network equipment, when first network equipment breaks down, continued to terminal forwarding multicasting stream by second network equipment, IPTV service can not be interrupted, and ensure that Consumer's Experience.
Embodiment 2
See Fig. 3, be the network equipment block diagram of a kind of multicast realization that the embodiment of the present invention provides, the described network equipment comprises the first receiver 201, acquisition module 202 and the first transmitter 203.Wherein:
Described first receiver 201, for receiving the IGMP message of self terminal, described IGMP message comprises the multicast group information of described terminal request;
Described acquisition module 202, for obtaining multicast backup information, described multicast backup information comprises and receives the port information of described IGMP message, the information of described terminal and described multicast group information;
Described first transmitter 203, for sending described multicast backup information to second network equipment, to make described second network equipment when described network equipment failure, according to described multicast backup information to described terminal forwarding multicasting stream.
Described IGMP message can be IGMP Report message or IGMP Leave message.
Described multicast group information comprises multicast group address, can also comprise multicast source address.
The described network equipment is also for upgrading local IGMP group information according to described IGMP message, and described IGMP group information comprises multicast group information and outbound port list.
The described network equipment upgrades the outbound port list of local IGMP group information according to the port receiving described IGMP message.
The described network equipment can set up the multicast path with multicast source according to local IGMP group information, and receives the multicast data flow from multicast source.
Described acquisition module 202 can according to the link layer packaging acquisition of information of described IGMP the information of terminal.The information of described terminal comprises the IP address of described terminal, the MAC Address of described terminal, VLAN label (such as public network VLAN label, private network VLAN label) etc.
The described network equipment and described second network equipment can be router, such as BRAS.
The described network equipment and described second net equipment main and standby relation each other.
The described network equipment can also comprise:
Main and standby relation module 204, for running active and standby voting protocol, such as VRRP, safeguards the active and standby relation between described second network equipment.
The described network equipment and described second network equipment have protection group relation table, comprise master network device port numbers, the corresponding relation of protection group ID and standby network equipment port number.
Described port information can be port numbers or protection group ID.Such as according to the port numbers receiving described IGMP message, inquiry protection group relation table, can obtain protection group ID.
Before receiving the IGMP message from described terminal, the described network equipment can set up PPPOE session with described terminal.The described network equipment can back up described PPPOE session information on described second network equipment, to make described second network equipment when described network equipment failure, safeguards the PPPOE session with described terminal.
Described IGMP message can be encapsulated by PPPOE.
Described transmitter 203 can pass through control plane, such as signalling path, sends described port information, the information of described terminal and described multicast group information to second network equipment.
The described network equipment also can set up reliable transmission channel with described second network equipment room, such as TCP connects, and described transmitter 203 sends described port information, the information of described terminal and described multicast group information by described reliable transmission channel to described second network equipment.
Described second network equipment is according to described port information, and inquiry protection group relation table, obtains the outbound port of described second network equipment to described terminal forwarding multicasting stream.
Described second network equipment can upgrade local IGMP group information according to described multicast group information and described outbound port.
The described network equipment also can generate an IGMP copy packet, at least comprise in described IGMP copy packet described come the IGMP message of self terminal and data link layer head.
Such as described IGMP copy packet form is as follows:
Wherein:
Version: protocol version, this field is 1 byte.Such as, can 0x01 be filled out, represent version 1;
Type: the type of message, this field is 1 byte.Such as, can definition value as follows:
1:IGMP type of message;
Length: the length defining whole multicast group solicited message message, this field is 2 bytes, its value >=4 byte;
The length of Packet Length: definition Packet part, this field is 2 bytes;
Reserved: reserved field, this field is 2 bytes;
Packet: message body, can comprise data link layer head and IGMP message, variable-length;
Attributes: attribute field, is a variable length field, can comprises multiple attribute, and each attribute is TLV (Type Length Value, type lengths values) form.Such as:
AttrType: the type describing attribute, this field is 1 byte.Such as, can be defined as follows attribute type:
1: represent VRF (VPN Routing and Forwarding Table, VPN route forwarding table) name attribute, being used for marking terminal is subordinated to the territory of which three-layer VPN (Virtual Private Network, Virtual Private Network).
The described network equipment sends above-mentioned message to described second network equipment.
Described second network equipment can send the mode of IGMP message, according to the manageable message format of above-mentioned message structure IGMP protocol stack by pseudo-terminal.
Described second network equipment can upgrade local IGMP group information according to above-mentioned message.
When described network equipment failure, when described second network equipment switches to major state, the multicast forward table that described second network equipment generates according to local IGMP group information is to terminal forwarding multicasting stream.
Embodiment 3
See Fig. 4, be the second network equipment block diagram of a kind of multicast realization that the embodiment of the present invention provides, described second network equipment comprises the second receiver 301, update module 302 and the second transmitter 303.Wherein:
Described second receiver 301, for receiving the multicast backup information from first network equipment, described multicast backup information comprises the port information that described first network equipment receives the internet group management protocol IGMP message of self terminal, the information of described terminal and multicast group information;
Described update module 302, for upgrading local IGMP group information according to described multicast group backup information;
Described second transmitter 303, for when described first network equipment fault, according to described local IGMP group information to described terminal forwarding multicasting stream.
Described first network equipment obtains multicast backup information, and described multicast backup information comprises the port information that described first network equipment receives the IGMP message of self terminal, the information of described terminal and described multicast group information.
Described port information can be port numbers or protection group ID.
Described multicast group information comprises multicast group address, can also comprise multicast source address.
The information of described terminal comprises the IP address of described terminal, the MAC Address of described terminal, VLAN label (such as public network VLAN label, private network VLAN label) etc.
Described first network equipment and described second network equipment can be router, such as BRAS.
Described first network equipment and described second net equipment main and standby relation each other.
Described second network equipment can also run active and standby voting protocol, such as VRRP, safeguards the active and standby relation between described first network equipment.
Described second network equipment has protection group relation table, comprises master network device port numbers, the corresponding relation of protection group ID and standby network equipment port number.
Before the multicast backup information from first network equipment, described second receiver 301 receives the PPPOE session information of the described terminal from described first network equipment; When described first network equipment fault, described second network equipment is also for the PPPOE session according to described PPPOE conversation information maintenance and described terminal.
Described second network equipment can upgrade local IGMP group information according to described multicast backup information.Particularly,
Described second network equipment is according to described port information, and inquiry protection group relation table, obtains the outbound port of described second network equipment to described terminal forwarding multicasting stream;
Described second network equipment upgrades local IGMP group information according to described multicast group information and described outbound port.
Described second network equipment can receive the IGMP copy packet from described first network equipment, described IGMP copy packet at least comprise described come the IGMP message of self terminal and data link layer head.
Such as, described IGMP copy packet form is as follows:
Wherein:
Version: protocol version, this field is 1 byte.Such as, can 0x01 be filled out, represent version 1;
Type: the type of message, this field is 1 byte.Such as, can definition value as follows:
1:IGMP type of message;
Length: the length defining whole multicast group solicited message message, this field is 2 bytes, its value >=4 byte;
The length of Packet Length: definition Packet part, this field is 2 bytes;
Reserved: reserved field, this field is 2 bytes;
Packet: message body, can comprise data link layer head and IGMP message, variable-length;
Attributes: attribute field, is a variable length field, can comprises multiple attribute, and each attribute is TLV (Type Length Value, type lengths values) form.Such as:
AttrType: the type describing attribute, this field is 1 byte.Such as, Ke Yiding
The following attribute type of justice:
1: represent VRF (VPN Routing and Forwarding Table, VPN route forwarding table) name attribute, being used for marking terminal is subordinated to the territory of which three-layer VPN (Virtual Private Network, Virtual Private Network).
Described second network equipment can send the mode of IGMP message, according to the manageable message format of described IGMP copy packet structure IGMP protocol stack by pseudo-terminal.
Described second network equipment can upgrade local IGMP group information according to described IGMP copy packet.
Described second network equipment can set up the multicast path with multicast source according to local IGMP group information, and receives the multicast data flow from multicast source.
Described second network equipment can issue outbound port list according to local IGMP group information to Forwarding plane, generates multicast forward table; When described second network equipment is in standby state, described second network equipment does not carry out the encapsulation of multicast packet, not to outbound port forwarding multicasting stream; When described first network equipment fault, when described second network equipment switches to major state, described second network equipment carries out the encapsulation of multicast packet, and to outbound port forwarding multicasting stream.Or,
When described second network equipment is in standby state, described second network equipment does not issue outbound port list to Forwarding plane, owing to there is no outbound port, and can not to terminal forwarding multicasting stream; When described first network equipment fault, when described second network equipment switches to major state, described second network equipment issues outbound port list according to local IGMP group information, generates multicast forward table, and carries out the encapsulation of multicast packet, to terminal forwarding multicasting stream.
The technical scheme that the embodiment of the present invention provides, be equally applicable to adopt MC-LAG (Multi-Chassis Link Aggregation Group, multiple cases link aggregation) or the network scenarios of the active and standby link of Smartlink (flexible link, or backup link) technical controlling.
Adopt the technical scheme that the embodiment of the present invention provides, by the IGMP group information of back-up terminals on second network equipment, when first network equipment breaks down, owing to second network equipment maintaining the IGMP group information of terminal, can continue to terminal forwarding multicasting stream by second network equipment, IPTV service can not be interrupted, and ensure that Consumer's Experience; Solve in prior art, when active router breaks down, IPTV service is interrupted, the problem of poor user experience.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program completes, described program can be stored in computer-readable recording medium, described storage medium can be ROM/RAM, disk or CD etc.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.

Claims (6)

1. a method for multicast realization, is characterized in that, comprising:
First network equipment receives the internet group management protocol IGMP message of self terminal from the first outbound port, and described IGMP message comprises the first multicast group information of described terminal request, and described first multicast group information comprises the first multicast group address;
Described first network equipment upgrades the IGMP group information of described first network equipment according to described IGMP message, comprise: if there is no described first multicast group address in the IGMP group information of described first network equipment, then add described first multicast group address and described first outbound port; If existing described first multicast group address, then add described first outbound port in the outbound port list of described first multicast group address in the IGMP group information of described first network equipment;
Described first network equipment issues outbound port list according to the IGMP group information of described first network equipment to Forwarding plane, generates multicast forward table, includes port, multicast group information and outbound port list in described multicast forward table; Receive the multicast data flow that described first multicast group information is corresponding, and according to described multicast forward table, forward described multicast data flow by described first outbound port to described terminal;
Described first network equipment is according to the protection group relation table of described first outbound port and described first network equipment, obtain multicast backup information, described multicast backup information comprises the first protection group mark ID corresponding to described first outbound port, the information of described terminal and described first multicast group information; Described protection group relation table comprises the port numbers of master network device, the corresponding relation of the port numbers of protection group ID and the standby network equipment;
Described first network equipment sends described multicast backup information to second network equipment, the IGMP group information of described second network equipment is upgraded according to the protection group relation table of described multicast backup information and described second network equipment to make described second network equipment, and in described first network equipment fault and described second network equipment switches to major state time, forward described multicast data flow by the second outbound port of described second network equipment to described terminal; Wherein, described first network equipment and described second network equipment main and standby relation each other, described first outbound port and described second outbound port form the first protection group, and have described first protection group ID.
2. method according to claim 1, is characterized in that, also comprises:
Described multicast backup information is sent to described second network equipment by control plane; Or,
By the reliable transmission channel set up with described second network equipment room, send described multicast backup information to described second network equipment.
3. a network equipment for multicast realization, is characterized in that, comprising:
First receiver, for receiving the internet group management protocol IGMP message of self terminal from the first outbound port, described IGMP message comprises the first multicast group information of described terminal request, and described first multicast group information comprises the first multicast group address;
Acquisition module, for the protection group relation table according to described first outbound port and the described network equipment, obtain multicast backup information, described multicast backup information comprises the first protection group mark ID corresponding to described first outbound port, the information of described terminal and described first multicast group information; Described protection group relation table comprises the port numbers of master network device, the corresponding relation of the port numbers of protection group ID and the standby network equipment;
First transmitter, for sending described multicast backup information to second network equipment, with make described second network equipment in described network equipment failure and described second network equipment switches to major state time, forward multicast data flow corresponding to described first multicast group information by the second outbound port of described second network equipment to described terminal according to described multicast backup information;
The described network equipment, for upgrading the IGMP group information of the described network equipment according to described IGMP message; Specifically for: if there is no described first multicast group address in the IGMP group information of the described network equipment, then add described first multicast group address and described first outbound port; If existing described first multicast group address, then add described first outbound port in the outbound port list of described first multicast group address in the IGMP group information of the described network equipment; Also issue outbound port list for the IGMP group information according to the described network equipment to Forwarding plane, generate multicast forward table, include port in described multicast forward table, multicast group information and outbound port list; Receive the multicast data flow that described first multicast group information is corresponding, and forward described multicast data flow by described first outbound port to described terminal;
The described network equipment also comprises: main and standby relation module, for running active and standby voting protocol, safeguards the active and standby relation between described second net equipment; Wherein, described first outbound port and described second outbound port form the first protection group, and have described first protection group ID.
4. the network equipment according to claim 3, is characterized in that, described transmitter specifically for,
Described multicast backup information is sent to described second network equipment by control plane; Or,
By the reliable transmission channel set up with described second network equipment room, send described multicast backup information to described second network equipment.
5. a second network equipment for multicast realization, is characterized in that, comprising:
Second receiver, for receiving the multicast backup information from first network equipment, described multicast backup information comprises described first network equipment and receives the first protection group mark ID corresponding to first outbound port of internet group management protocol IGMP message of self terminal, the information of described terminal and the first multicast group information; Described first multicast group information comprises the first multicast group address;
Update module, for upgrading local IGMP group information according to described multicast group backup information, described IGMP group information comprises multicast group information and outbound port list; Specifically for: the protection group relation table inquiring about described second network equipment according to described first protection group mark ID, obtain described second network equipment forwards the second outbound port from multicast data flow corresponding to described first multicast group information to described terminal, if there is no described first multicast group address in described local IGMP group information, then add described first multicast group address and described second outbound port; If existing described first multicast group address, then add described second outbound port in the outbound port list of described first multicast group address in described local IGMP group information; Described protection group relation table comprises the port numbers of master network device, the corresponding relation of the port numbers of protection group ID and the standby network equipment;
Second transmitter, during for being in standby state when described second network equipment, does not issue outbound port list to Forwarding plane, not to terminal forwarding multicasting stream; When described first network equipment fault and described second network equipment switches to major state time, outbound port list is issued to Forwarding plane according to described local IGMP group information, generate multicast forward table, and forward multicast data flow corresponding to described first multicast group information by described second outbound port to described terminal according to described multicast forward table; Wherein, described first network equipment and described second network equipment main and standby relation each other, described first outbound port and described second outbound port form the first protection group, and have described first protection group ID.
6. second network equipment according to claim 5, is characterized in that, described second network equipment also for,
Before upgrading local IGMP group information according to described multicast group backup information, according to described port information, inquire about described protection group relation table, obtain described second outbound port forwarding described multicast data flow to described terminal.
CN201180000523.0A 2011-05-19 2011-05-19 A kind of method that multicast realizes and the network equipment Expired - Fee Related CN102742221B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/074357 WO2011144048A2 (en) 2011-05-19 2011-05-19 Multicast realization method and network device

Publications (2)

Publication Number Publication Date
CN102742221A CN102742221A (en) 2012-10-17
CN102742221B true CN102742221B (en) 2015-07-29

Family

ID=44992100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180000523.0A Expired - Fee Related CN102742221B (en) 2011-05-19 2011-05-19 A kind of method that multicast realizes and the network equipment

Country Status (2)

Country Link
CN (1) CN102742221B (en)
WO (1) WO2011144048A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711809A (en) * 2018-12-28 2019-05-03 广东益萃网络科技有限公司 Trade company's property setting method, device, computer equipment and storage medium
CN114422484A (en) * 2021-12-16 2022-04-29 广东电网有限责任公司 Multicast method, device, mobile terminal and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105848112B (en) * 2015-01-16 2019-06-25 成都鼎桥通信技术有限公司 The implementation method and device of long term evolution LTE Trouble ticket station multicast
CN109818869B (en) * 2017-11-22 2021-06-04 北京华为数字技术有限公司 Method for generating multicast traffic forwarding port and related equipment
CN112822097A (en) * 2019-11-15 2021-05-18 华为技术有限公司 Message forwarding method, first network device and first device group
CN111372144B (en) * 2020-03-23 2021-09-28 北京小鸟科技股份有限公司 Link backup system and method for multicast video code stream
CN112615914B (en) * 2020-12-10 2022-07-05 中国电信股份有限公司江苏分公司 Method for transmitting multicast hot standby table entries by using border gateway protocol
CN113452585A (en) * 2021-05-13 2021-09-28 新华三信息安全技术有限公司 Communication method and device
CN114465955B (en) * 2022-01-06 2023-09-15 新华三技术有限公司 Multicast message processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610200A (en) * 2008-06-19 2009-12-23 华为技术有限公司 Multicast path by changing method and device
CN101651553A (en) * 2009-09-03 2010-02-17 华为技术有限公司 User side multicast service primary and standby protecting system, method and route devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599853A (en) * 2008-06-03 2009-12-09 中兴通讯股份有限公司 A kind of Ethernet dual homed connects the implementation method of irrevocable pattern in the protection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610200A (en) * 2008-06-19 2009-12-23 华为技术有限公司 Multicast path by changing method and device
CN101651553A (en) * 2009-09-03 2010-02-17 华为技术有限公司 User side multicast service primary and standby protecting system, method and route devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711809A (en) * 2018-12-28 2019-05-03 广东益萃网络科技有限公司 Trade company's property setting method, device, computer equipment and storage medium
CN114422484A (en) * 2021-12-16 2022-04-29 广东电网有限责任公司 Multicast method, device, mobile terminal and storage medium
CN114422484B (en) * 2021-12-16 2024-01-30 广东电网有限责任公司 Multicast method, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
WO2011144048A2 (en) 2011-11-24
WO2011144048A3 (en) 2012-04-19
CN102742221A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
CN102742221B (en) A kind of method that multicast realizes and the network equipment
US10243841B2 (en) Multicast fast reroute at access devices with controller implemented multicast control plane
CN104270298B (en) Message forwarding method and device in a kind of VXLAN networks
JP4688765B2 (en) Network redundancy method and intermediate switch device
US9197583B2 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
US7593400B2 (en) MAC address learning in a distributed bridge
US7283465B2 (en) Hierarchical virtual private LAN service protection scheme
CN101330424B (en) Method, system and apparatus for processing service fault of virtual special network
US8650286B1 (en) Prevention of looping and duplicate frame delivery in a network environment
US20120113835A1 (en) Inter-network carrier ethernet service protection
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN100417141C (en) Group broadcasting business realizing method
CN102970231B (en) Multicast data flow forwards implementation method and route-bridge(RB)
EP2424186B1 (en) Dual-computer hot-standby method, device and system
CN109327318B (en) SDN management network architecture and method for establishing SDN management network
EP3465982B1 (en) Bidirectional multicasting over virtual port channel
CN101924654A (en) Point-to-multipoint service-based path switching method and system
CN102282805B (en) Method for service protection and access device
US9008118B2 (en) Multicast data delivery over mixed multicast and non-multicast networks
EP1944918B1 (en) A method and system for realizing the consistency of the virtual circuit status
WO2011140921A1 (en) Method, device and system for forwarding data frames of virtual private local area network service (vpls)
CN102238092B (en) Method for performing load sharing on encoder and encoder
CN104468139A (en) Multicast data message transmitting method and device
CN107547347B (en) VNI-based path adjustment method and device
CN102045239B (en) Implementation method and device of point-to-multipoint pseudowire protective network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20150729

Termination date: 20190519