CN107018081B - Method for realizing point-to-multipoint 1+1 protection - Google Patents
Method for realizing point-to-multipoint 1+1 protection Download PDFInfo
- Publication number
- CN107018081B CN107018081B CN201710154693.3A CN201710154693A CN107018081B CN 107018081 B CN107018081 B CN 107018081B CN 201710154693 A CN201710154693 A CN 201710154693A CN 107018081 B CN107018081 B CN 107018081B
- Authority
- CN
- China
- Prior art keywords
- main
- standby
- protection
- multicast
- source packet
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for realizing point-to-multipoint 1+1 protection, which relates to the field of data transmission protection and comprises the following steps: creating an unknown packet multicast, and adding the main and standby target ports of a plurality of pairs of main and standby protection pairs at the P2MP service line side to the unknown packet multicast; creating a protection multicast for each main/standby protection pair at the P2MP service line side; setting the learning information of a source packet entering from a main and standby target port as a main and standby protection pair corresponding to the main and standby target port; when the source packet of the access point in the P2MP service fails to search the MAC address in the MAC address table, multicasting the source packet to the main and standby destination ports of all the main and standby protection pairs through unknown packet multicast; and when the source packet of the access point in the P2MP service successfully searches the MAC address in the MAC address table, sending the source packet to the protected multicast of the main and standby destination ports corresponding to the source packet. The invention can effectively solve the problem of 1+1 protection in the point-to-multipoint service.
Description
Technical Field
The invention relates to the field of data transmission protection, in particular to a method for realizing point-to-multipoint 1+1 protection.
Background
For a two-layer switch in a Packet Transport Network (PTN) device, there are few two-layer switches capable of implementing 1+1 protection, that is, a data protection mode of dual transmission and selective reception is adopted when data exchange is performed, and a protection mode of 1:1, that is, a protection mode of selective transmission and dual reception is mostly adopted in the PTN device.
In a POTN (Packet Optical Transport Network) device, data transceiving protection processing of a PTN service carried by an OTN (Optical Transport Network) needs to be implemented by a PTN module, that is, the OTN module requires the PTN module to complete dual transmission of a main service and a standby service when implementing 1+1 protection, so that 1+1 protection, which is common in a POTN device, means that the PTN needs to implement 1+1 protection on all services of P2MP (point-to-multipoint) in a transmitting direction.
However, P2MP relates to address learning, and the target information of learning is generally a port of a source packet, and is corresponding to a unicast, so that it is difficult to implement 1+1 protection in P2MP, and it is not possible to implement the two copies of data required by 1+1 to be copied and transmitted.
Disclosure of Invention
In view of the defects in the prior art, an object of the present invention is to provide a method for implementing point-to-multipoint 1+1 protection, which can effectively solve the problem of 1+1 protection in a point-to-multipoint service.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
creating an unknown packet multicast, and adding the main and standby target ports of a plurality of pairs of main and standby protection pairs at the P2MP service line side to the unknown packet multicast;
creating a protection multicast for each main/standby protection pair at the P2MP service line side;
setting learning information of a source packet entering from a main and standby destination port in P2MP service as a main and standby protection pair corresponding to the main and standby destination port;
when the source packet of the access point in the P2MP service fails to search the MAC address in the MAC address table, multicasting the source packet to the main and standby destination ports of all the main and standby protection pairs through unknown packet multicast;
when the source packet of the access point in the P2MP service successfully searches the MAC address in the MAC address table, the source packet is sent to the protection multicast of the main/standby destination ports corresponding to the source packet, and the source packet is multicast to the main/standby destination ports of the main/standby protection pair corresponding to the protection multicast.
On the basis of the technical scheme, the main and standby protection pairs comprise a main protection pair and a standby protection pair, the main protection pair comprises a main PTN and a main OTN, and the standby protection pair comprises a standby PTN and a standby OTN.
On the basis of the technical scheme, the main destination port and the standby destination port comprise a main destination port and a standby destination port, the main destination port is a port of a main PTN, and the standby destination port is a port of a standby PTN.
On the basis of the technical scheme, the MAC address table contains all MAC addresses learned by the main and standby target ports.
Compared with the prior art, the method for realizing point-to-multipoint 1+1 protection has the advantages that: aiming at a plurality of main/standby protection pairs included in the P2MP service, the main/standby service dual-transmission required when PTN is subjected to 1+1 protection in each main/standby protection pair cannot be realized, main/standby target ports of the main/standby protection pairs are added to multicast through multicast, and the main/standby service dual-transmission required when the main/standby target ports are subjected to 1+1 protection is realized by adopting a multicast mode of multicast. Meanwhile, an unknown packet multicast is established, the main and standby destination ports of all the main and standby protection pairs are added to the unknown packet multicast, and when the source packet searching for the MAC address fails, the source packet is sent to all the main and standby destination ports through the unknown packet multicast, so that the loss of service data is avoided.
Drawings
Fig. 1 is a flow chart of a method for implementing point-to-multipoint 1+1 protection in accordance with the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, the present invention provides a method for implementing point-to-multipoint 1+1 protection, which is used for implementing PTN1+1 protection and OTN1+1 protection of P2MP packet traffic in a POTN device, and specifically includes:
s1: and creating an unknown packet multicast, and adding the main and standby destination ports of a plurality of pairs of main and standby protection pairs at the P2MP service line side to the unknown packet multicast. The line side of the P2MP service contains multiple pairs of main/standby protection pairs to be protected, where the main/standby protection pairs include a main protection pair and a standby protection pair, the main protection pair includes a main PTN and a main OTN, and the standby protection pair includes a standby PTN and a standby OTN. The main destination port and the standby destination port comprise a main destination port and a standby destination port, the main destination port is a port of a main PTN, and the standby destination port is a port of a standby PTN. The main PTN and the main OTN (the standby PTN and the standby OTN) are connected, in this embodiment, a source packet at the P2MP service line side is sent from the PTN to the OTN, and the primary and standby dual sending of the source packet is completed in the PTN.
S2: a protection multicast is created for each primary-backup protection pair on the P2MP service line side.
S3: in the P2MP service, the learning information of the source packet entering from the main/standby destination ports is set as the main/standby protection pair corresponding to the main/standby destination ports, that is, the destination learned by the source packet is the protection multicast of the main/standby protection pair corresponding to the main/standby destination ports of the source packet.
S4: when the source packet of the access point in the P2MP service fails to find the MAC address in the MAC address table, the source packet is multicast to the active/standby destination ports of all the active/standby protection pairs through unknown packet multicast. The MAC address table contains all MAC addresses learned by the main and standby destination ports.
S5: when the source packet of the access point in the P2MP service successfully searches the MAC address in the MAC address table, the source packet is sent to the protection multicast of the main/standby destination ports corresponding to the source packet, and the source packet is multicast to the main/standby destination ports of the main/standby protection pair corresponding to the protection multicast.
Aiming at a plurality of main/standby protection pairs included in the P2MP service, the main/standby service dual-transmission required when PTN is subjected to 1+1 protection in each main/standby protection pair cannot be realized, main/standby target ports of the main/standby protection pairs are added to multicast through multicast, and the main/standby service dual-transmission required when the main/standby target ports are subjected to 1+1 protection is realized by adopting a multicast mode of multicast. Meanwhile, an unknown packet multicast is established, the main and standby destination ports of all the main and standby protection pairs are added to the unknown packet multicast, and when the source packet searching for the MAC address fails, the source packet is sent to all the main and standby destination ports through the unknown packet multicast, so that the loss of service data is avoided.
The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.
Claims (3)
1. A method for implementing point-to-multipoint 1+1 protection, for implementing PTN1+1 protection and OTN1+1 protection of P2MP packet traffic in a POTN device, comprising:
creating an unknown packet multicast, and adding the main and standby target ports of a plurality of pairs of main and standby protection pairs at the P2MP service line side to the unknown packet multicast;
creating a protection multicast for each main/standby protection pair at the P2MP service line side;
setting learning information of a source packet entering from a main and standby destination port in P2MP service as a main and standby protection pair corresponding to the main and standby destination port;
when the source packet of the access point in the P2MP service fails to search the MAC address in the MAC address table, multicasting the source packet to the main and standby destination ports of all the main and standby protection pairs through unknown packet multicast;
when the source packet of the access point in the P2MP service successfully searches the MAC address in the MAC address table, the source packet is sent to the protection multicast of the main and standby target ports corresponding to the source packet, and the source packet is multicast to the main and standby target ports of the main and standby protection pairs corresponding to the protection multicast;
the main destination port and the standby destination port comprise a main destination port and a standby destination port, the main destination port is a port of a main PTN, and the standby destination port is a port of a standby PTN.
2. A method for implementing point-to-multipoint 1+1 protection as defined in claim 1, wherein: the main and standby protection pairs comprise a main protection pair and a standby protection pair, the main protection pair comprises a main PTN and a main OTN, and the standby protection pair comprises a standby PTN and a standby OTN.
3. A method for implementing point-to-multipoint 1+1 protection as defined in claim 1, wherein: the MAC address table contains all MAC addresses learned by the main and standby destination ports.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710154693.3A CN107018081B (en) | 2017-03-15 | 2017-03-15 | Method for realizing point-to-multipoint 1+1 protection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710154693.3A CN107018081B (en) | 2017-03-15 | 2017-03-15 | Method for realizing point-to-multipoint 1+1 protection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107018081A CN107018081A (en) | 2017-08-04 |
CN107018081B true CN107018081B (en) | 2020-05-05 |
Family
ID=59440383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710154693.3A Active CN107018081B (en) | 2017-03-15 | 2017-03-15 | Method for realizing point-to-multipoint 1+1 protection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107018081B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107612826B (en) * | 2017-09-28 | 2020-01-07 | 烽火通信科技股份有限公司 | Method for realizing superposition protection of PTN1:1 and OTN1+1 |
CN113825042A (en) * | 2020-06-18 | 2021-12-21 | 深圳市中兴微电子技术有限公司 | Data access method, device, chip and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1764144A (en) * | 2005-09-30 | 2006-04-26 | 烽火通信科技股份有限公司 | Method for carrying out VPR protection inversion in network |
CN1968141A (en) * | 2006-08-09 | 2007-05-23 | 华为技术有限公司 | WDM transmission system protection method and apparatus |
CN101409685A (en) * | 2008-12-01 | 2009-04-15 | 杭州华三通信技术有限公司 | Forwarding method based on virtual LAN mapping and access equipment |
CN101917492A (en) * | 2010-08-06 | 2010-12-15 | 北京乾唐视联网络科技有限公司 | Communication method and communication system of novel network |
CN101931835A (en) * | 2010-09-03 | 2010-12-29 | 深圳市共进电子有限公司 | Method and device for realizing VLAN (Virtual Local Area Network) convergence and conversion in EPON (Ethernet Passive Optical Network) |
CN102377632A (en) * | 2010-08-06 | 2012-03-14 | 北京乾唐视联网络科技有限公司 | Method and system compatible with Ethernet |
CN104796331A (en) * | 2015-04-29 | 2015-07-22 | 烽火通信科技股份有限公司 | LSP and VC layered protection method through single exchange system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787520B (en) * | 2004-12-08 | 2010-05-12 | 华为技术有限公司 | System and method for realizing internet set managing protocol on elastic packet ring |
CN100596094C (en) * | 2005-12-31 | 2010-03-24 | 华为技术有限公司 | Implementation method and switching device of multi-point to multi-point service |
CN104038429B (en) * | 2013-03-05 | 2018-01-30 | 中兴通讯股份有限公司 | A kind of method and device that message multicast is carried out in distributed forwarding equipment |
CN106470162B (en) * | 2015-08-19 | 2019-06-25 | ***通信集团公司 | A kind of method of multicasting and device of service message |
-
2017
- 2017-03-15 CN CN201710154693.3A patent/CN107018081B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1764144A (en) * | 2005-09-30 | 2006-04-26 | 烽火通信科技股份有限公司 | Method for carrying out VPR protection inversion in network |
CN1968141A (en) * | 2006-08-09 | 2007-05-23 | 华为技术有限公司 | WDM transmission system protection method and apparatus |
CN101409685A (en) * | 2008-12-01 | 2009-04-15 | 杭州华三通信技术有限公司 | Forwarding method based on virtual LAN mapping and access equipment |
CN101917492A (en) * | 2010-08-06 | 2010-12-15 | 北京乾唐视联网络科技有限公司 | Communication method and communication system of novel network |
CN102377632A (en) * | 2010-08-06 | 2012-03-14 | 北京乾唐视联网络科技有限公司 | Method and system compatible with Ethernet |
CN101931835A (en) * | 2010-09-03 | 2010-12-29 | 深圳市共进电子有限公司 | Method and device for realizing VLAN (Virtual Local Area Network) convergence and conversion in EPON (Ethernet Passive Optical Network) |
CN104796331A (en) * | 2015-04-29 | 2015-07-22 | 烽火通信科技股份有限公司 | LSP and VC layered protection method through single exchange system |
Non-Patent Citations (1)
Title |
---|
广州铁通宽带网络与OTN+PTN组网技术研究;林伟超;《硕士学位论文》;20150131;正文第47-55页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107018081A (en) | 2017-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8873558B2 (en) | Reverse path forwarding lookup with link bundles | |
CN101433029B (en) | Methods and systems for selective layer 2 port blocking using layer 2 source addresses | |
US20200052918A1 (en) | Overlay signaling for bit indexed explicit replication | |
US9544230B2 (en) | Migration support for bit indexed explicit replication | |
US7646739B2 (en) | Multicast routing over unidirectional links | |
US20150138961A1 (en) | Per-Prefix LFA FRR With Bit Indexed Explicit Replication | |
KR20130045927A (en) | Method for pruning a multicast branch, protocol independent multicast router, and layer-2 exchange | |
CN101877671A (en) | Sending method of mirror image message, switch chip and Ethernet router | |
EP3240245B1 (en) | Method and device for multicasting and forwarding multiple protocol label switching intermediate node, and node | |
CN110445702A (en) | A kind of message forwarding method and equipment | |
CN107018081B (en) | Method for realizing point-to-multipoint 1+1 protection | |
CN111654437B (en) | Message forwarding method and device based on data center | |
EP3534577B1 (en) | Forwarding multicast packets through an extended bridge | |
US8553691B2 (en) | Efficient multicasting in a distributed system architecture | |
EP3291486B1 (en) | Selective transmission of bidirectional forwarding detection (bfd) messages for verifying multicast connectivity | |
US20140092902A1 (en) | Method for processing multicast group, dci router and system | |
CN108011828B (en) | Multicast switching method, device, core layer switch and storage medium | |
CN106230730A (en) | A kind of multicast transmission method and device | |
CN107241249B (en) | Ethernet bus switch, Ethernet bus system and data communication method | |
WO2015100551A1 (en) | Information transmission method, device and system | |
US10003469B2 (en) | Multicast forwarding method and apparatus in transparent interconnection of lots of link network, and routing bridge | |
US11025536B1 (en) | Support for flooding in encapsulation and inter-VLAN communication via proxy-ARP | |
CN102986178B (en) | Multicast forwarding method and multicast forwarding device in sparse mode-protocol independent multicast | |
CN107612826B (en) | Method for realizing superposition protection of PTN1:1 and OTN1+1 | |
CN115473843B (en) | Information interaction method, router and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |