WO2023029902A1 - Dual-homing protection system, dual-homing protection method, and related device - Google Patents

Dual-homing protection system, dual-homing protection method, and related device Download PDF

Info

Publication number
WO2023029902A1
WO2023029902A1 PCT/CN2022/111079 CN2022111079W WO2023029902A1 WO 2023029902 A1 WO2023029902 A1 WO 2023029902A1 CN 2022111079 W CN2022111079 W CN 2022111079W WO 2023029902 A1 WO2023029902 A1 WO 2023029902A1
Authority
WO
WIPO (PCT)
Prior art keywords
route
otn
service data
side device
pipe
Prior art date
Application number
PCT/CN2022/111079
Other languages
French (fr)
Chinese (zh)
Inventor
罗贤龙
谢刚
李�浩
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023029902A1 publication Critical patent/WO2023029902A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application provides a dual-homing protection system applied to an optical communication system. The dual-homing protection system comprises a first PE device, a second PE device, and a third PE device. A first OTN pipeline is established between the first PE device and the second PE device. A second OTN pipeline is established between the first PE device and the third PE device. A network side device is separately connected to the second PE device and the third PE device. The first PE device is configured to receive first forward service data from a user side network. If the first OTN pipeline is in a normal state, the first PE device is configured to send the first forward service data to the network side network by means of a first primary router. Otherwise, the first PE device is configured to send the first forward service data to the network side network by means of a first secondary router. A next hop of the first primary router is the second PE device. A next hop of the first secondary router is the third PE device. According to the present application, different OTN pipelines are established for the first PE device, such that the reliability of the system can be improved.

Description

双归保护系统、双归保护方法以及相关设备Dual-homing protection system, dual-homing protection method and related equipment
本申请要求于2021年8月30日提交中国国家知识产权局、申请号为202111007545.1、申请名称为“双归保护系统、双归保护方法以及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111007545.1 and the application title "Dual Homing Protection System, Dual Homing Protection Method, and Related Equipment" filed with the State Intellectual Property Office of China on August 30, 2021, the entire content of which Incorporated in this application by reference.
技术领域technical field
本申请涉及光通信领域,尤其涉及双归保护系统、双归保护方法以及相关设备。The present application relates to the field of optical communication, in particular to a dual-homing protection system, a dual-homing protection method and related equipment.
背景技术Background technique
光传输网络(optical transport network,OTN)可以将不同的业务数据通过不同的OTN管道传输给对端。不同的OTN管道可以对应不同的带宽和时延,从而满足用户多样化的需求。图1为采用OTN技术的光通信系统的结构示意图。如图1所示,光通信系统包括用户侧设备101、第一服务提供商边缘(provider edge,PE)PE设备102、第二PE设备103和网络侧设备104。用户侧设备101与第一PE设备102相连。第二PE设备103和网络侧设备104相连。第一PE设备102和第二PE设备103之间建立有OTN管道。在用户侧设备101向第一PE设备102发送正向业务数据后,第一PE设备102通过OTN管道向第二PE设备103发送正向业务数据。网络侧设备104从第二PE设备103接收正向业务数据。An optical transport network (OTN) can transmit different service data to the peer end through different OTN pipes. Different OTN pipes can correspond to different bandwidths and delays, so as to meet the diverse needs of users. FIG. 1 is a schematic structural diagram of an optical communication system using the OTN technology. As shown in FIG. 1 , the optical communication system includes a user-side device 101 , a first service provider edge (provider edge, PE) PE device 102 , a second PE device 103 and a network-side device 104 . The user-side device 101 is connected to the first PE device 102 . The second PE device 103 is connected to the network side device 104 . An OTN pipe is established between the first PE device 102 and the second PE device 103 . After the user side device 101 sends the forward service data to the first PE device 102, the first PE device 102 sends the forward service data to the second PE device 103 through the OTN pipe. The network side device 104 receives forward service data from the second PE device 103 .
在实际应用中,若OTN管道发生故障,则会影响用户侧设备101和网络侧设备104之间的正常通信。In practical applications, if the OTN pipe fails, normal communication between the user-side device 101 and the network-side device 104 will be affected.
发明内容Contents of the invention
本申请提供了一种双归保护系统、双归保护方法以及相关设备,通过为第一PE设备建立不同的OTN管道,可以提高系统的可靠性。The present application provides a dual-homing protection system, a dual-homing protection method and related equipment. By establishing different OTN pipes for the first PE equipment, the reliability of the system can be improved.
本申请第一方面提供了一种双归保护系统。双归保护系统包括第一PE设备、第二PE设备和第三PE设备。第一PE设备与第二PE设备之间建立有第一OTN管道。第一PE设备与第三PE设备之间建立有第二OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。第一PE设备配置有第一主路由和第一备路由。第一主路由和第一备路由的目的地址为网络侧设备的网际协议(internet protocol,IP)地址。第一主路由的下一跳为第二PE设备。第一备路由的下一跳为第三PE设备。第一PE设备用于从用户侧设备接收第一正向业务数据。若第一OTN管道处于正常状态,则第一PE设备用于通过第一主路由向网络侧设备发送第一正向业务数据。若第一OTN管道处于非正常状态,则第一PE设备用于通过第一备路由向网络侧设备发送第一正向业务数据。The first aspect of the present application provides a dual-homing protection system. The dual-homing protection system includes a first PE device, a second PE device, and a third PE device. A first OTN pipe is established between the first PE device and the second PE device. A second OTN pipe is established between the first PE device and the third PE device. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The first PE device is configured with a first primary route and a first backup route. The destination address of the first primary route and the first standby route is an Internet Protocol (internet protocol, IP) address of the network side device. The next hop of the first main route is the second PE device. The next hop of the first standby route is the third PE device. The first PE device is configured to receive the first forward service data from the user side device. If the first OTN pipe is in a normal state, the first PE device is configured to send the first forward service data to the network side device through the first main route. If the first OTN pipe is in an abnormal state, the first PE device is configured to send the first forward service data to the network side device through the first standby route.
在本申请中,通过为第一PE设备建立第一OTN管道和第二OTN管道,可以提高系统的可靠性。In this application, system reliability can be improved by establishing the first OTN pipe and the second OTN pipe for the first PE device.
在第一方面的一种可选方式中,第二PE设备配置有第二正向主路由和第二正向备路由。第二正向主路由和第二正向备路由的目的地址为网络侧设备的IP地址。第二正向主路由的 下一跳为网络侧设备。第二正向备路由的下一跳为第三PE设备。若第一OTN管道处于正常状态,则第二PE设备用于从用户侧设备接收第一正向业务数据。若第二通道处于正常状态,则第二PE设备用于通过第二正向主路由向网络侧设备发送第一正向业务数据。若第二通道处于非正常状态,则第二PE设备用于通过第二正向备路由向网络侧设备发送第一正向业务数据。其中,在第二通道故障时,第二PE设备可以直接通过第二正向备路由向网络侧设备发送第一正向业务数据。因此,第二PE设备可以无需与第三PE设备进行线路切换的信息交互,从而提高切换效率。In an optional manner of the first aspect, the second PE device is configured with a second forward primary route and a second forward standby route. The destination address of the second forward primary route and the second forward standby route is the IP address of the network side device. The next hop of the second forward main route is the network side device. The next hop of the second forward standby route is the third PE device. If the first OTN pipe is in a normal state, the second PE device is configured to receive the first forward service data from the user side device. If the second channel is in a normal state, the second PE device is configured to send the first forward service data to the network side device through the second forward main route. If the second channel is in an abnormal state, the second PE device is configured to send the first forward service data to the network side device through the second forward standby route. Wherein, when the second channel fails, the second PE device may directly send the first forward service data to the network side device through the second forward standby route. Therefore, the second PE device may not need to exchange information for line switching with the third PE device, thereby improving switching efficiency.
在第一方面的一种可选方式中,第三PE设备配置有第三正向主路由和第三正向备路由。第三正向主路由和第三正向备路由的目的地址为网络侧设备的IP地址。第三正向主路由的下一跳为网络侧设备。第三正向备路由的下一跳为第二PE设备。若第一OTN管道处于非正常状态,则第三PE设备用于从用户侧设备接收第一正向业务数据。若第三通道处于正常状态,则第三PE设备用于通过第三正向主路由向网络侧设备发送第一正向业务数据。若第三通道处于非正常状态,则第三PE设备用于通过第三正向备路由向网络侧设备发送第一正向业务数据。其中,在第三通道故障时,第三PE设备可以直接通过第三正向备路由向网络侧设备发送第一正向业务数据。因此,第三PE设备可以无需与第二PE设备进行线路切换的信息交互,从而提高切换效率。In an optional manner of the first aspect, the third PE device is configured with a third forward primary route and a third forward standby route. The destination address of the third forward primary route and the third forward standby route is the IP address of the network side device. The next hop of the third forward main route is the network side device. The next hop of the third forward standby route is the second PE device. If the first OTN pipe is in an abnormal state, the third PE device is configured to receive the first forward service data from the user side device. If the third channel is in a normal state, the third PE device is configured to send the first forward service data to the network side device through the third forward main route. If the third channel is in an abnormal state, the third PE device is configured to send the first forward service data to the network side device through the third forward standby route. Wherein, when the third channel fails, the third PE device may directly send the first forward service data to the network side device through the third forward standby route. Therefore, the third PE device may not need to exchange information for line switching with the second PE device, thereby improving switching efficiency.
在第一方面的一种可选方式中,第二PE设备配置有第二反向主路由和第二反向备路由。第二反向主路由和第二反向备路由的目的地址为用户侧设备的IP地址。第二反向主路由的下一跳为第一PE设备,第二正向备路由的下一跳为第三PE设备。若第二通道处于正常状态,则第二PE设备用于从网络侧设备接收反向业务数据。若第一OTN管道处于正常状态,则第二PE设备用于通过第二反向主路由向用户侧设备发送反向业务数据。若第一OTN管道处于非正常状态,则第二PE设备用于通过第二反向备路由向用户侧设备发送反向业务数据。其中,在第一OTN管道故障时,第二PE设备可以直接通过第二反向备路由向用户侧设备发送反向业务数据。因此,第二PE设备可以无需与第三PE设备进行线路切换的信息交互,从而提高切换效率。In an optional manner of the first aspect, the second PE device is configured with a second reverse primary route and a second reverse backup route. The destination address of the second reverse main route and the second reverse standby route is the IP address of the user-side device. The next hop of the second reverse primary route is the first PE device, and the next hop of the second forward standby route is the third PE device. If the second channel is in a normal state, the second PE device is used to receive reverse service data from the network side device. If the first OTN pipe is in a normal state, the second PE device is configured to send reverse service data to the user side device through the second reverse main route. If the first OTN pipe is in an abnormal state, the second PE device is configured to send reverse service data to the user side device through the second reverse standby route. Wherein, when the first OTN pipe fails, the second PE device may directly send reverse service data to the user side device through the second reverse standby route. Therefore, the second PE device may not need to exchange information for line switching with the third PE device, thereby improving switching efficiency.
在第一方面的一种可选方式中,第三PE设备配置有第三反向主路由和第三反向备路由。第三反向主路由和第三正向备路由的目的地址为用户侧设备的IP地址。第三反向主路由的下一跳为第一PE设备。第三正向备路由的下一跳为第二PE设备。若第二通道处于非正常状态,则第三PE设备用于从网络侧设备接收反向业务数据。若第二OTN管道处于正常状态,则第三PE设备用于通过第三反向主路由向用户侧设备发送反向业务数据。若第二OTN管道处于非正常状态,则第二PE设备用于通过第三反向备路由向用户侧设备发送反向业务数据。其中,在第二OTN管道故障时,第三PE设备可以直接通过第三反向备路由向用户侧设备发送反向业务数据。因此,第三PE设备可以无需与第二PE设备进行线路切换的信息交互,从而提高切换效率。In an optional manner of the first aspect, the third PE device is configured with a third reverse primary route and a third reverse backup route. The destination address of the third reverse main route and the third forward standby route is the IP address of the user-side device. The next hop of the third reverse primary route is the first PE device. The next hop of the third forward standby route is the second PE device. If the second channel is in an abnormal state, the third PE device is used to receive reverse service data from the network side device. If the second OTN pipe is in a normal state, the third PE device is configured to send reverse service data to the user side device through the third reverse main route. If the second OTN pipe is in an abnormal state, the second PE device is configured to send reverse service data to the user side device through the third reverse standby route. Wherein, when the second OTN pipe fails, the third PE device may directly send reverse service data to the user side device through the third reverse standby route. Therefore, the third PE device may not need to exchange information for line switching with the second PE device, thereby improving switching efficiency.
在第一方面的一种可选方式中,若第一OTN管道和第二通道处于正常状态,则第一PE设备用于通过第一主路由向网络侧设备发送第一正向业务数据。若第一OTN管道或第二通道处于非正常状态,则第一PE设备用于通过第一备路由向网络侧设备发送第一正向业务数据。其中,在第二PE设备和第三PE设备之间未建立通道时,若第二通道处于非正常状态, 则网络侧设备无法通过第一OTN管道接收到第一正向业务数据。在本申请中,只有在第一OTN管道和第二通道都处于正常状态时,第一PE设备才通过第一主路由向网络侧设备发送第一正向业务数据。因此,本申请可以提高通信的可靠性。In an optional manner of the first aspect, if the first OTN pipe and the second channel are in a normal state, the first PE device is configured to send the first forward service data to the network side device through the first main route. If the first OTN pipe or the second channel is in an abnormal state, the first PE device is configured to send the first forward service data to the network side device through the first standby route. Wherein, when no channel is established between the second PE device and the third PE device, if the second channel is in an abnormal state, the network side device cannot receive the first forward service data through the first OTN pipe. In this application, only when the first OTN pipe and the second channel are in a normal state, the first PE device sends the first forward service data to the network side device through the first main route. Therefore, the present application can improve the reliability of communication.
在第一方面的一种可选方式中,第一PE设备还用于从第二PE设备接收第一检测数据。第一PE设备还用于根据第一检测数据确认第二通道是否处于正常状态。其中,第一PE设备无法直接通过双向转发检测(bidirectional forwarding detection,BFD)检测第二通道是否处于正常状态。在本申请中,第一PE设备可以通过第一检测数据确定第二通道是否处于正常状态。因此,本申请可以提高通信的可靠性。In an optional manner of the first aspect, the first PE device is further configured to receive the first detection data from the second PE device. The first PE device is also used to confirm whether the second channel is in a normal state according to the first detection data. Wherein, the first PE device cannot directly detect whether the second channel is in a normal state through bidirectional forwarding detection (bidirectional forwarding detection, BFD). In this application, the first PE device may determine whether the second channel is in a normal state through the first detection data. Therefore, the present application can improve the reliability of communication.
在第一方面的一种可选方式中,第一PE设备还用于从第二PE设备接收第一主路由的信息。第一PE设备还用于从第三PE设备接收第一备路由的信息。其中,用户可以通过人工配置的方式在第一PE设备中配置第一主路由和第一备路由。但是,当系统中的PE设备较多时,需要花费较大的人工成本。为此,本申请可以通过扩展路径计算单元通信协议(path computation element communication protocol,PCEP)协议得到第一主路由和第一备路由。此时,第一PE设备从第二PE设备接收第一主路由的信息。第一PE设备从第三PE设备接收第一备路由的信息。因此,本申请可以降低人工成本。In an optional manner of the first aspect, the first PE device is further configured to receive the information of the first main route from the second PE device. The first PE device is further configured to receive the information of the first backup route from the third PE device. Wherein, the user may configure the first primary route and the first backup route on the first PE device through manual configuration. However, when there are many PE devices in the system, a large labor cost is required. For this reason, the present application can obtain the first primary route and the first backup route by extending the path computation element communication protocol (path computation element communication protocol, PCEP) protocol. At this time, the first PE device receives the information of the first primary route from the second PE device. The first PE device receives information about the first backup route from the third PE device. Therefore, the present application can reduce labor costs.
在第一方面的一种可选方式中,第一PE设备还用于通过OTN管道状态检测技术检测第一OTN管道是否处于正常状态。其中,BFD为三层的检测技术。当第一PE设备采用OTN管道状态检测技术时,第一PE设备201在物理层检测第一OTN管道的状态。因此,本申请可以节约检测的物理资源。In an optional manner of the first aspect, the first PE device is further configured to detect whether the first OTN pipe is in a normal state by using an OTN pipe state detection technology. Among them, BFD is a three-layer detection technology. When the first PE device adopts the OTN pipe state detection technology, the first PE device 201 detects the state of the first OTN pipe at the physical layer. Therefore, the present application can save physical resources for detection.
在第一方面的一种可选方式中,第一PE设备用于通过第一光虚拟专用网OVPN从用户侧设备接收第一正向业务数据。第一PE设备还配置有第二主路由和第二备路由。第二主路由和第二备路由的目的地址为网络侧设备的IP地址。第二主路由的下一跳为第三PE设备。第二备路由的下一跳为第二PE设备。第一PE设备还用于通过第二OVPN从用户侧设备接收第二正向业务数据。若第二OTN管道处于正常状态,则第一PE设备还用于通过第二主路由向网络侧设备发送第二正向业务数据。若第二OTN管道处于非正常状态,则第一PE设备还用于通过第二备路由向网络侧设备发送第二正向业务数据。其中,当第一OTN管道和第一OTN管道都处于正常状态时,第一PE设备可以通过第二(optical virtual private network,OVPN)实现数据的分流。因此,本申请可以提高通信效率。In an optional manner of the first aspect, the first PE device is configured to receive the first forward service data from the user-side device through the first optical virtual private network (OVPN). The first PE device is also configured with a second primary route and a second backup route. The destination addresses of the second primary route and the second standby route are the IP addresses of the network side devices. The next hop of the second primary route is the third PE device. The next hop of the second standby route is the second PE device. The first PE device is further configured to receive the second forward service data from the user side device through the second OVPN. If the second OTN pipe is in a normal state, the first PE device is further configured to send the second forward service data to the network side device through the second main route. If the second OTN pipe is in an abnormal state, the first PE device is further configured to send the second forward service data to the network side device through the second standby route. Wherein, when both the first OTN pipe and the first OTN pipe are in a normal state, the first PE device can implement data offloading through the second (optical virtual private network, OVPN). Therefore, the present application can improve communication efficiency.
本申请第二方面提供了一种双归保护方法。双归保护方法可以应用于第一PE设备。双归保护方法包括以下步骤:第一PE设备从用户侧设备接收第一正向业务数据。第一PE设备与第二PE设备建立有第一光传送网络OTN管道。第一PE设备与第三PE设备之间建立有第二OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。第一PE设备配置有第一主路由和第一备路由。第一主路由和第一备路由的目的地址为网络侧设备的IP地址。第一主路由的下一跳为第二PE设备。第一备路由的下一跳为第三PE设备。若第一OTN管道处于正常状态,则第一PE设备通过第一主路由向网络侧设备发送第一正向业务数据。若第一OTN管道处于非正常状态,则第一PE设备通过第一备路由向网络侧设备发送第一正向业务数据。The second aspect of the present application provides a dual-homing protection method. The dual-homing protection method can be applied to the first PE device. The dual-homing protection method includes the following steps: the first PE device receives the first forward service data from the user side device. A first OTN pipe is established between the first PE device and the second PE device. A second OTN pipe is established between the first PE device and the third PE device. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The first PE device is configured with a first primary route and a first backup route. The destination addresses of the first primary route and the first backup route are the IP addresses of the network side devices. The next hop of the first main route is the second PE device. The next hop of the first standby route is the third PE device. If the first OTN pipe is in a normal state, the first PE device sends the first forward service data to the network side device through the first main route. If the first OTN pipe is in an abnormal state, the first PE device sends the first forward service data to the network side device through the first standby route.
在第二方面的一种可选方式中,若第一OTN管道和第二通道处于正常状态,则第一PE 设备通过第一主路由向网络侧设备发送第一正向业务数据。若第一OTN管道或第二通道处于非正常状态,则第一PE设备用于通过第一备路由向网络侧设备发送第一正向业务数据。In an optional manner of the second aspect, if the first OTN pipe and the second channel are in a normal state, the first PE device sends the first forward service data to the network side device through the first main route. If the first OTN pipe or the second channel is in an abnormal state, the first PE device is configured to send the first forward service data to the network side device through the first standby route.
在第二方面的一种可选方式中,第一PE设备从第二PE设备接收第一检测数据。第一PE设备根据第一检测数据确认第二通道是否处于正常状态。In an optional manner of the second aspect, the first PE device receives the first detection data from the second PE device. The first PE device confirms whether the second channel is in a normal state according to the first detection data.
在第二方面的一种可选方式中,双归保护方法方法还包括以下步骤:第一PE设备从第二PE设备接收第一主路由的信息。第一PE设备从第三PE设备接收第一备路由的信息。In an optional manner of the second aspect, the dual-homing protection method further includes the following steps: the first PE device receives information about the first primary route from the second PE device. The first PE device receives information about the first backup route from the third PE device.
在第二方面的一种可选方式中,第一PE设备通过OTN管道状态检测技术检测第一OTN管道是否处于正常状态。In an optional manner of the second aspect, the first PE device detects whether the first OTN pipe is in a normal state through an OTN pipe state detection technology.
在第二方面的一种可选方式中,第一PE设备通过第一OVPN从用户侧设备接收第一正向业务数据。第一PE设备还配置有第二主路由和第二备路由。第二主路由和第二备路由的目的地址为网络侧设备的IP地址。第二主路由的下一跳为第三PE设备。第二备路由的下一跳为第二PE设备。双归保护方法方法还包括以下步骤:第一PE设备通过第二OVPN从用户侧设备接收第二正向业务数据。若第二OTN管道处于正常状态,则第一PE设备通过第二主路由向网络侧设备发送第二正向业务数据。若第二OTN管道处于非正常状态,则第一PE设备通过第二备路由向网络侧设备发送第二正向业务数据。In an optional manner of the second aspect, the first PE device receives the first forward service data from the user side device through the first OVPN. The first PE device is also configured with a second primary route and a second backup route. The destination addresses of the second primary route and the second standby route are the IP addresses of the network side devices. The next hop of the second primary route is the third PE device. The next hop of the second standby route is the second PE device. The dual-homing protection method further includes the following steps: the first PE device receives the second forward service data from the user-side device through the second OVPN. If the second OTN pipe is in a normal state, the first PE device sends the second forward service data to the network side device through the second main route. If the second OTN pipe is in an abnormal state, the first PE device sends the second forward service data to the network side device through the second standby route.
本申请第三方面提供了一种双归保护方法。双归保护方法可以应用于第二PE设备。双归保护方法包括以下步骤:第二PE设备从第一PE设备接收第一正向业务数据。第二PE设备和第三PE设备之间建立有第三OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。第二PE设备配置有第二正向主路由和第二正向备路由。第二正向主路由和第二正向备路由的目的地址为网络侧设备的IP地址。第二正向主路由的下一跳为网络侧设备。第二正向备路由的下一跳为第三PE设备。若第二通道处于正常状态,则第二PE设备通过第二正向主路由向网络侧设备发送第一正向业务数据。若第二通道处于非正常状态,则第二PE设备通过第二正向备路由向网络侧设备发送第一正向业务数据。The third aspect of the present application provides a dual-homing protection method. The dual-homing protection method can be applied to the second PE device. The dual-homing protection method includes the following steps: the second PE device receives the first forward service data from the first PE device. A third OTN pipe is established between the second PE device and the third PE device. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The second PE device is configured with a second forward primary route and a second forward standby route. The destination address of the second forward primary route and the second forward standby route is the IP address of the network side device. The next hop of the second forward main route is the network side device. The next hop of the second forward standby route is the third PE device. If the second channel is in a normal state, the second PE device sends the first forward service data to the network side device through the second forward main route. If the second channel is in an abnormal state, the second PE device sends the first forward service data to the network side device through the second forward backup route.
在第三方面的一种可选方式中,第一PE设备和第二PE设备建立有第一OTN管道。第一PE设备和第三PE设备建立有第二OTN管道。第一PE设备和用户侧设备建立有第一通道。第二PE设备配置有第二反向主路由和第二反向备路由。第二反向主路由和第二反向备路由的目的地址为用户侧设备的IP地址。第二反向主路由的下一跳为第一PE设备。第二正向备路由的下一跳为第三PE设备。双归保护方法方法还包括以下步骤:第二PE设备从网络侧设备接收反向业务数据。若第一OTN管道处于正常状态,则第二PE设备通过第二反向主路由向用户侧设备发送反向业务数据。若第一OTN管道处于非正常状态,则第二PE设备通过第二反向备路由向用户侧设备发送反向业务数据。In an optional manner of the third aspect, the first OTN pipe is established between the first PE device and the second PE device. The first PE device and the third PE device establish a second OTN pipe. A first channel is established between the first PE device and the user-side device. The second PE device is configured with a second reverse main route and a second reverse backup route. The destination address of the second reverse main route and the second reverse standby route is the IP address of the user-side device. The next hop of the second reverse primary route is the first PE device. The next hop of the second forward standby route is the third PE device. The dual-homing protection method further includes the following steps: the second PE device receives reverse service data from the network side device. If the first OTN pipe is in a normal state, the second PE device sends reverse service data to the user side device through the second reverse main route. If the first OTN pipe is in an abnormal state, the second PE device sends reverse service data to the user side device through the second reverse backup route.
在第三方面的一种可选方式中,第二PE设备还用于通过OTN管道状态检测技术检测第一OTN管道是否处于正常状态。In an optional manner of the third aspect, the second PE device is further configured to detect whether the first OTN pipe is in a normal state by using an OTN pipe state detection technology.
在第三方面的一种可选方式中,双归保护方法方法还包括以下步骤:第二PE设备从第一PE设备接收第二反向主路由的信息。第二PE设备从第三PE设备接收第二正向备路由的信息。In an optional manner of the third aspect, the dual-homing protection method further includes the following step: the second PE device receives information of the second reverse primary route from the first PE device. The second PE device receives the information of the second forward backup route from the third PE device.
本申请第四方面提供了一种双归保护装置。双归保护装置包括接收模块和发送模块。 接收模块用于从用户侧设备接收第一正向业务数据。双归保护装置与第二PE设备建立有第一OTN管道。双归保护装置与第三PE设备之间建立有第二OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。发送模块配置有第一主路由和第一备路由。第一主路由和第一备路由的目的地址为网络侧设备的网际协议IP地址。第一主路由的下一跳为第二PE设备。第一备路由的下一跳为第三PE设备。发送模块用于若第一OTN管道处于正常状态,则通过第一主路由向网络侧设备发送第一正向业务数据。发送模块还用于若第一OTN管道处于非正常状态,则通过第一备路由向网络侧设备发送第一正向业务数据。The fourth aspect of the present application provides a dual-homing protection device. The dual-homing protection device includes a receiving module and a sending module. The receiving module is used for receiving the first forward service data from the user side equipment. A first OTN pipe is established between the dual-homing protection device and the second PE equipment. A second OTN pipeline is established between the dual-homing protection device and the third PE equipment. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The sending module is configured with a first primary route and a first backup route. The destination addresses of the first primary route and the first backup route are the Internet Protocol IP addresses of the network side equipment. The next hop of the first main route is the second PE device. The next hop of the first standby route is the third PE device. The sending module is configured to send the first forward service data to the network side device through the first main route if the first OTN pipe is in a normal state. The sending module is further configured to send the first forward service data to the network side device through the first standby route if the first OTN pipe is in an abnormal state.
在第四方面的一种可选方式中,接收模块还用于从第二PE设备接收第一主路由的信息。接收模块还用于从第三PE设备接收第一备路由的信息。In an optional manner of the fourth aspect, the receiving module is further configured to receive the information of the first primary route from the second PE device. The receiving module is also used to receive the information of the first backup route from the third PE device.
在第四方面的一种可选方式中,双归保护装置还包括检测模块。检测模块用于通过OTN管道状态检测技术检测第一OTN管道是否处于正常状态。In an optional manner of the fourth aspect, the dual-homing protection device further includes a detection module. The detection module is used to detect whether the first OTN pipe is in a normal state through the OTN pipe state detection technology.
在第四方面的一种可选方式中,接收模块用于通过第一OVPN从用户侧设备接收第一正向业务数据。发送模块还配置有于第二主路由和第二备路由。第二主路由和第二备路由的目的地址为网络侧设备的IP地址。第二主路由的下一跳为第三PE设备。第二备路由的下一跳为第二PE设备。接收模块还用于通过第二OVPN从用户侧设备接收第二正向业务数据。发送模块还用于若第二OTN管道处于正常状态,则通过第二主路由向网络侧设备发送第二正向业务数据。发送模块还用于若第二OTN管道处于非正常状态,则通过第二备路由向网络侧设备发送第二正向业务数据。In an optional manner of the fourth aspect, the receiving module is configured to receive the first forward service data from the user-side device through the first OVPN. The sending module is also configured with a second main route and a second backup route. The destination addresses of the second primary route and the second standby route are the IP addresses of the network side devices. The next hop of the second primary route is the third PE device. The next hop of the second standby route is the second PE device. The receiving module is further configured to receive the second forward service data from the user side equipment through the second OVPN. The sending module is further configured to send the second forward service data to the network side device through the second main route if the second OTN pipe is in a normal state. The sending module is further configured to send the second forward service data to the network side device through the second backup route if the second OTN pipe is in an abnormal state.
在第四方面的一种可选方式中,发送模块用于若第一OTN管道和第二通道处于正常状态,则通过第一主路由向网络侧设备发送第一正向业务数据。发送模块用于若第一OTN管道或第二通道处于非正常状态,则通过第一备路由向网络侧设备发送第一正向业务数据。In an optional manner of the fourth aspect, the sending module is configured to send the first forward service data to the network side device through the first main route if the first OTN pipe and the second channel are in a normal state. The sending module is configured to send the first forward service data to the network side device through the first backup route if the first OTN pipe or the second channel is in an abnormal state.
在第四方面的一种可选方式中,接收模块还用于从第二PE设备接收第一检测数据。双归保护装置还包括处理模块。处理模块用于根据第一检测数据确认第二通道是否处于正常状态。In an optional manner of the fourth aspect, the receiving module is further configured to receive the first detection data from the second PE device. The dual-homing protection device also includes a processing module. The processing module is used to confirm whether the second channel is in a normal state according to the first detection data.
本申请第五方面提供了一种双归保护装置。双归保护装置包括接收模块和发送模块。接收模块用于从第一PE设备接收第一正向业务数据。双归保护装置和第三PE设备之间建立有第三OTN管道。双归保护装置和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。发送模块配置有第二正向主路由和第二正向备路由。第二正向主路由和第二正向备路由的目的地址为网络侧设备的IP地址。第二正向主路由的下一跳为网络侧设备。第二正向备路由的下一跳为第三PE设备。发送模块用于若第二通道处于正常状态,则通过第二正向主路由向网络侧设备发送第一正向业务数据。发送模块还用于若第二通道处于非正常状态,则通过第二正向备路由向网络侧设备发送第一正向业务数据。The fifth aspect of the present application provides a dual-homing protection device. The dual-homing protection device includes a receiving module and a sending module. The receiving module is used to receive the first forward service data from the first PE device. A third OTN pipeline is established between the dual-homing protection device and the third PE equipment. A second channel is established between the dual-homing protection device and the network-side device. A third channel is established between the third PE device and the network side device. The sending module is configured with a second forward primary route and a second forward standby route. The destination address of the second forward primary route and the second forward standby route is the IP address of the network side device. The next hop of the second forward main route is the network side device. The next hop of the second forward standby route is the third PE device. The sending module is configured to send the first forward service data to the network side device through the second forward main route if the second channel is in a normal state. The sending module is further configured to send the first forward service data to the network side device through the second forward standby route if the second channel is in an abnormal state.
在第五方面的一种可选方式中,第一PE设备和双归保护装置建立有第一OTN管道。第一PE设备和第三PE设备建立有第二OTN管道。第一PE设备和用户侧设备建立有第一通道;发送模块还配置有第二反向主路由和第二反向备路由。第二反向主路由和第二反向备路由的目的地址为用户侧设备的IP地址。第二反向主路由的下一跳为第一PE设备。第二正向备路由的下一跳为第三PE设备。接收模块还用于从网络侧设备接收反向业务数据。 发送模块还用于若第一OTN管道处于正常状态,则通过第二反向主路由向用户侧设备发送反向业务数据。发送模块还用于若第一OTN管道处于非正常状态,则通过第二反向备路由向用户侧设备发送反向业务数据。In an optional manner of the fifth aspect, a first OTN pipe is established between the first PE device and the dual-homing protection device. The first PE device and the third PE device establish a second OTN pipe. A first channel is established between the first PE device and the user-side device; the sending module is also configured with a second reverse main route and a second reverse backup route. The destination address of the second reverse main route and the second reverse standby route is the IP address of the user-side device. The next hop of the second reverse primary route is the first PE device. The next hop of the second forward standby route is the third PE device. The receiving module is also used for receiving reverse service data from the network side equipment. The sending module is further configured to send the reverse service data to the user-side device through the second reverse main route if the first OTN pipe is in a normal state. The sending module is further configured to send the reverse service data to the user-side device through the second reverse backup route if the first OTN pipe is in an abnormal state.
在第五方面的一种可选方式中,双归保护装置还包括检测模块。检测模块用于通过OTN管道状态检测技术检测第一OTN管道是否处于正常状态。In an optional manner of the fifth aspect, the dual-homing protection device further includes a detection module. The detection module is used to detect whether the first OTN pipe is in a normal state through the OTN pipe state detection technology.
在第五方面的一种可选方式中,接收模块还用于从第一PE设备接收第二反向主路由的信息。接收模块还用于从第三PE设备接收第二正向备路由的信息。In an optional manner of the fifth aspect, the receiving module is further configured to receive information of the second reverse primary route from the first PE device. The receiving module is further configured to receive the information of the second forward backup route from the third PE device.
本申请第六方面提供了一种第一PE设备。第一PE设备包括存储器和收发器。收发器用于从用户侧设备接收第一正向业务数据。第一PE设备与第二服务提供商边缘PE设备建立有第一光传送网络OTN管道。第一PE设备与第三PE设备之间建立有第二OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。存储器中存储有第一主路由和第一备路由。第一主路由和第一备路由的目的地址为网络侧设备的网际协议IP地址。第一主路由的下一跳为第二PE设备。第一备路由的下一跳为第三PE设备。收发器还用于若第一OTN管道处于正常状态,则通过第一主路由向网络侧设备发送第一正向业务数据。收发器还用于若第一OTN管道处于非正常状态,则通过第一备路由向网络侧设备发送第一正向业务数据。The sixth aspect of the present application provides a first PE device. The first PE device includes memory and a transceiver. The transceiver is used for receiving the first forward service data from the user side equipment. A first optical transport network OTN pipe is established between the first PE device and the second service provider edge PE device. A second OTN pipe is established between the first PE device and the third PE device. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The first primary route and the first standby route are stored in the memory. The destination addresses of the first primary route and the first backup route are the Internet Protocol IP addresses of the network side equipment. The next hop of the first main route is the second PE device. The next hop of the first standby route is the third PE device. The transceiver is further configured to send the first forward service data to the network side device through the first main route if the first OTN pipe is in a normal state. The transceiver is further configured to send the first forward service data to the network side device through the first standby route if the first OTN pipe is in an abnormal state.
在第六方面的一种可选方式中,第一PE设备还可以包括处理器。第一PE设备的收发器或处理器还用于执行前述第二方面或第二方面的任意一种可选方式中的方法。In an optional manner of the sixth aspect, the first PE device may further include a processor. The transceiver or the processor of the first PE device is further configured to execute the method in the foregoing second aspect or any optional manner of the second aspect.
本申请第七方面提供了一种第二PE设备。第二PE设备包括存储器和收发器。收发器用于从第一PE设备接收第一正向业务数据。第二PE设备和第三PE设备之间建立有第三光传送网OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。存储器中存储有第二正向主路由和第二正向备路由。第二正向主路由和第二正向备路由的目的地址为网络侧设备的IP地址。第二正向主路由的下一跳为网络侧设备。第二正向备路由的下一跳为第三PE设备。收发器还用于若第二通道处于正常状态,则通过第二正向主路由向网络侧设备发送第一正向业务数据。收发器还用于若第二通道处于非正常状态,则通过第二正向备路由向网络侧设备发送第一正向业务数据。The seventh aspect of the present application provides a second PE device. The second PE device includes memory and a transceiver. The transceiver is used to receive first forward service data from the first PE device. A third OTN pipe is established between the second PE device and the third PE device. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. A second forward primary route and a second forward standby route are stored in the memory. The destination address of the second forward primary route and the second forward standby route is the IP address of the network side device. The next hop of the second forward main route is the network side device. The next hop of the second forward standby route is the third PE device. The transceiver is further configured to send the first forward service data to the network side device through the second forward main route if the second channel is in a normal state. The transceiver is further configured to send the first forward service data to the network side device through the second forward standby route if the second channel is in an abnormal state.
在第七方面的一种可选方式中,第一PE设备还可以包括处理器。第一PE设备的收发器或处理器还用于执行前述第三方面或第三方面的任意一种可选方式中的方法。In an optional manner of the seventh aspect, the first PE device may further include a processor. The transceiver or the processor of the first PE device is further configured to execute the method in the foregoing third aspect or any optional manner of the third aspect.
本申请第八方面提供了一种计算机存储介质,其特征在于,计算机存储介质中存储有指令,指令在计算机上执行时,使得计算机执行如第二方面或第二方面任意一种实施方式的方法;或使得计算机执行如第三方面或第三方面任意一种实施方式的方法。The eighth aspect of the present application provides a computer storage medium, which is characterized in that instructions are stored in the computer storage medium, and when the instructions are executed on the computer, the computer executes the method according to the second aspect or any implementation manner of the second aspect ; or causing the computer to execute the third aspect or the method of any one implementation manner of the third aspect.
本申请第九方面提供了一种计算机程序产品,其特征在于,计算机程序产品在计算机上执行时,使得计算机执行如第二方面或第二方面任意一种实施方式的方法;或使得计算机执行如第三方面或第三方面任意一种实施方式的方法。The ninth aspect of the present application provides a computer program product, which is characterized in that, when the computer program product is executed on a computer, it causes the computer to execute the method according to the second aspect or any implementation manner of the second aspect; or causes the computer to execute the method such as The third aspect or the method of any implementation manner of the third aspect.
附图说明Description of drawings
图1为采用OTN技术的光通信系统的结构示意图;FIG. 1 is a schematic structural diagram of an optical communication system using OTN technology;
图2为本申请中提供的双归保护系统的第一个结构示意图;Fig. 2 is the first schematic structural diagram of the dual-homing protection system provided in this application;
图3为本申请中提供的扩展后的PCEP报文的结构示意图;FIG. 3 is a schematic structural diagram of an extended PCEP message provided in this application;
图4为本申请中提供的双归保护系统的第二个结构示意图;FIG. 4 is a second structural schematic diagram of the dual-homing protection system provided in this application;
图5为本申请中提供的双归保护系统的第三个结构示意图;FIG. 5 is a third structural schematic diagram of the dual-homing protection system provided in this application;
图6为本申请中提供的双归保护系统的第四个结构示意图;FIG. 6 is a fourth structural schematic diagram of the dual-homing protection system provided in this application;
图7为本申请中提供的双归保护方法的流程示意图;Figure 7 is a schematic flow diagram of the dual-homing protection method provided in the present application;
图8为本申请中提供的双归保护装置的结构示意图;Figure 8 is a schematic structural diagram of the dual-homing protection device provided in this application;
图9为本申请中提供的计算机设备的结构示意图。FIG. 9 is a schematic structural diagram of a computer device provided in this application.
具体实施方式Detailed ways
本申请提供了一种双归保护系统、双归保护方法以及相关设备,通过为第一服务提供商边缘(provider edge,PE)设备建立不同的光传输网络(optical transport network,OTN)管道,可以提高系统的可靠性。应理解,本申请中使用的“第一”、“第二”、“正向”、“反向”等仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序和方向。另外,为了简明和清楚,本申请多个附图中重复参考编号和/或字母。重复并不表明各种实施例和/或配置之间存在严格的限定关系。The present application provides a dual-homing protection system, a dual-homing protection method, and related equipment, by establishing different optical transport network (optical transport network, OTN) pipelines for the first service provider edge (provider edge, PE) equipment, which can Improve system reliability. It should be understood that "first", "second", "forward", "reverse" and the like used in this application are only for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood To indicate or imply order and direction. In addition, reference numerals and/or letters are repeated in the various figures of this application for the sake of brevity and clarity. Repetition does not imply a strictly limited relationship between the various embodiments and/or configurations.
本申请中的双归保护方法可以应用于光通信领域中的光通信系统。在图1的光通信系统中,若OTN管道发生故障,则会影响用户侧设备101和网络侧设备104之间的正常通信。The dual-homing protection method in this application can be applied to optical communication systems in the field of optical communication. In the optical communication system in FIG. 1 , if the OTN pipe fails, normal communication between the user-side device 101 and the network-side device 104 will be affected.
为此,本申请提供了一种双归保护系统。图2为本申请中提供的双归保护系统的第一个结构示意图。如图2所示,双归保护系统包括用户侧设备200、第一PE设备201、第二PE设备202、第三PE设备203和网络侧设备204。For this reason, the present application provides a dual-homing protection system. Fig. 2 is a schematic diagram of the first structure of the dual-homing protection system provided in this application. As shown in FIG. 2 , the dual-homing protection system includes a user-side device 200 , a first PE device 201 , a second PE device 202 , a third PE device 203 and a network-side device 204 .
其中,用户侧设备200可以是光网络终端(optical network terminal,ONT)、光线路终端(optica line terminal,OLT)或路由器等。用户侧设备200处于第一网络域。在第一网络域中,用户侧设备200可以和用户设备相连。用户设备可以是手机(mobile phone)、平板电脑。用户设备还可以是虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制中的无线终端、无人驾驶中的无线终端、远程医疗中的无线终端、智能电网中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、车载终端等。网络侧设备204可以是路由器或应用服务器等。网络侧设备204处于第二网络域。第一网络域和第二网络域可以为互联网协议(internet protocol,IP)网络。Wherein, the user-side device 200 may be an optical network terminal (optical network terminal, ONT), an optical line terminal (optica line terminal, OLT), or a router. The user-side device 200 is in the first network domain. In the first network domain, the user-side device 200 may be connected to the user equipment. The user equipment may be a mobile phone or a tablet computer. The user equipment can also be a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, or a smart grid. Wireless terminals in smart cities, wireless terminals in smart homes, wireless terminals in smart homes, vehicle-mounted terminals, etc. The network side device 204 may be a router or an application server or the like. The network side device 204 is in the second network domain. The first network domain and the second network domain may be Internet protocol (internet protocol, IP) networks.
用户侧设备200和第一PE设备201建立有第一通道。第一通道可以通过IP的静态路由配置得到。当正向业务数据的目的地址为网络侧设备204的IP地址时,用户侧设备200用于通过第一通道向第一PE设备201发送正向业务数据。当接收到的反向业务数据的目的地址为用户侧设备200的IP地址时,第一PE设备201用于通过第一通道向用户侧设备200发送反向业务数据。其中,用户侧设备200向网络侧设备204发送的数据称为正向业务数据。网络侧设备204向用户侧设备200发送的数据称为反向业务数据。The user-side device 200 and the first PE device 201 establish a first channel. The first channel can be obtained through IP static routing configuration. When the destination address of the forward service data is the IP address of the network-side device 204, the user-side device 200 is configured to send the forward service data to the first PE device 201 through the first channel. When the destination address of the received reverse service data is the IP address of the user-side device 200, the first PE device 201 is configured to send the reverse service data to the user-side device 200 through the first channel. Wherein, the data sent by the user-side device 200 to the network-side device 204 is called forward service data. The data sent by the network-side device 204 to the user-side device 200 is called reverse service data.
类似地,网络侧设备204和第二PE设备202建立有第二通道。网络侧设备204和第三PE设备203建立有第三通道。第二通道和第三通道可以是通过IP的静态路由配置得到。当反向业务数据的目的地址为用户侧设备200的IP地址时,网络侧设备204用于通过第二通道或第三通道向用户侧设备200发送反向业务数据。当第二PE设备202接收到的正向业务 数据的目的地址为网络侧设备204的IP地址时,第二PE设备202用于通过第二通道向网络侧设备204发送正向业务数据。当第三PE设备203接收到的正向业务数据的目的地址为网络侧设备204的IP地址时,第三PE设备203用于通过第三通道向网络侧设备204发送正向业务数据。Similarly, the network side device 204 and the second PE device 202 establish a second channel. The network side device 204 and the third PE device 203 establish a third channel. The second channel and the third channel can be obtained through IP static routing configuration. When the destination address of the reverse service data is the IP address of the user-side device 200, the network-side device 204 is configured to send the reverse service data to the user-side device 200 through the second channel or the third channel. When the destination address of the forward service data received by the second PE device 202 is the IP address of the network-side device 204, the second PE device 202 is configured to send the forward service data to the network-side device 204 through the second channel. When the destination address of the forward service data received by the third PE device 203 is the IP address of the network side device 204, the third PE device 203 is configured to send the forward service data to the network side device 204 through the third channel.
第一PE设备201、第二PE设备202和第三PE设备203处于传送网络。传送网络为光传输网络(optical transport network,OTN)。第一PE设备201、第二PE设备202和第三PE设备203为OTN设备。第一PE设备201的端口1和第二PE设备202的端口3之间建立有一跳直达的第一OTN管道。第一PE设备201的端口2和第三PE设备203的端口4之间建立有一跳直达的第二OTN管道。第二PE设备202和第三PE设备203互为主备节点。第二PE设备202为主节点。第三PE设备203为备节点。其中,第一PE设备201、第二PE设备202和第三PE设备203也称为网络节点或节点。OTN管道也称为链路或通道。The first PE device 201, the second PE device 202, and the third PE device 203 are in the transport network. The transport network is an optical transport network (OTN). The first PE device 201, the second PE device 202, and the third PE device 203 are OTN devices. A one-hop direct first OTN pipe is established between port 1 of the first PE device 201 and port 3 of the second PE device 202 . A one-hop direct second OTN pipe is established between port 2 of the first PE device 201 and port 4 of the third PE device 203 . The second PE device 202 and the third PE device 203 are active and standby nodes for each other. The second PE device 202 is the master node. The third PE device 203 is a standby node. Wherein, the first PE device 201 , the second PE device 202 and the third PE device 203 are also referred to as network nodes or nodes. OTN pipes are also called links or channels.
光传输网络可以为采用通用多协议标签交换技术(generalized multi protocol label switching,GMPLS)的自动交换光网络(automatically switched optical network,ASON)。ASON可以通过资源预留协议流量工程(resource reservation protocol traffic engineering,RSVP-TE)建立第一OTN管道和第二OTN管道。以建立第一OTN管道为例。ASON还可以包括网管设备。网管设备可以是智能化网管(network clound engine,NCE)或路径计算单元(path computation element,PCE)。当网管设备是PCE时,PCE可以是第一PE设备201、第二PE设备202和第三PE设备203中的软件程序。网管设备用于下发创建OTN管道的命令给第一PE设备201。第一PE设备201用于通过开放最短路径优先(open shortest path first,OSPF)协议获取全网其它节点的信息。其它节点的信息包括节点数据和链路数据等。第一PE设备201用于通过基于约束的最短路径优先算法(Constrained Shortest Path First,CSPF)计算第一PE设备201到第二PE设备202的业务路径。之后,第一PE设备201用于通过RSVP-TE建立第一PE设备201和第二PE设备202之间的第一OTN管道。The optical transport network may be an automatically switched optical network (ASON) using a generalized multi protocol label switching technology (generalized multi protocol label switching, GMPLS). The ASON can establish the first OTN pipe and the second OTN pipe through resource reservation protocol traffic engineering (resource reservation protocol traffic engineering, RSVP-TE). Take the establishment of the first OTN pipe as an example. ASON can also include network management equipment. The network management device may be an intelligent network management (network cloud engine, NCE) or a path computation element (path computation element, PCE). When the network management device is a PCE, the PCE may be a software program in the first PE device 201 , the second PE device 202 and the third PE device 203 . The network management device is configured to issue a command for creating an OTN pipe to the first PE device 201 . The first PE device 201 is used to obtain information about other nodes in the entire network through an open shortest path first (open shortest path first, OSPF) protocol. The information of other nodes includes node data and link data. The first PE device 201 is configured to calculate a service path from the first PE device 201 to the second PE device 202 through a constraint-based shortest path first algorithm (Constrained Shortest Path First, CSPF). Afterwards, the first PE device 201 is used to establish a first OTN pipe between the first PE device 201 and the second PE device 202 through RSVP-TE.
第一PE设备201配置有IP层的第一主路由和第一备路由。第一主路由和第一备路由可以是第一PE设备201中的路由转发表。第一主路由和第一备路由的目的地址为网络侧设备204的IP地址。第一主路由的下一跳为第二PE设备202。第一主路由和第一OTN管道对应。第一主路由的出接口为第一PE设备201的端口1。第一备路由的下一跳为第三PE设备203。第一备路由和第二OTN管道对应。第一备路由的出接口为第一PE设备201的端口2。The first PE device 201 is configured with a first primary route and a first backup route at the IP layer. The first primary route and the first backup route may be routing and forwarding tables in the first PE device 201 . The destination address of the first primary route and the first backup route is the IP address of the network side device 204 . The next hop of the first main route is the second PE device 202 . The first main route corresponds to the first OTN pipe. The outbound interface of the first primary route is port 1 of the first PE device 201 . The next hop of the first standby route is the third PE device 203 . The first standby route corresponds to the second OTN pipe. The outbound interface of the first backup route is port 2 of the first PE device 201 .
在实际应用中,可以通过人工配置第一主路由和第一备路由,也可以通过扩展路径计算单元通信协议(path computation element communication protocol,PCEP)协议得到第一主路由和第一备路由。其中,现有的PCEP报文不支持传递路由到下一跳。本申请需要对PCEP报文进行扩展。图3为本申请中提供的扩展后的PCEP报文的结构示意图。如图图3所示,扩展后的PCEP报文301包括九个字段。九个字段分别为目的IP地址、IP前缀列表、标志、S、R、下一跳IP、下一跳MAC、节点角色和关联节点。In practical applications, the first primary route and the first backup route can be manually configured, or the first primary route and the first backup route can be obtained by extending the path computation element communication protocol (PCEP) protocol. Wherein, the existing PCEP message does not support routing to the next hop. This application needs to extend the PCEP message. FIG. 3 is a schematic structural diagram of an extended PCEP message provided in this application. As shown in FIG. 3 , the extended PCEP message 301 includes nine fields. The nine fields are destination IP address, IP prefix list, flag, S, R, next hop IP, next hop MAC, node role and associated node.
其中,目的IP地址字段为路由的目的地址。IP前缀列表字段为目的IP地址的掩码中连续bit为1的长度。标志字段为保留标志位。S字段标识server侧路由标志位。S字段置1表示正向业务数据的路由。S字段置0表示反向业务数据的路由。R字段标识remove标志 位。R字段置1表示删除路由信息,R字段置0表示添加路由信息。下一跳IP字段表示下一跳的IP地址。下一跳MAC字段表示下一跳的MAC地址。节点角色字段表示下一跳的角色。下一跳的角色可以是主节点或备节点。关联节点字段表示与下一跳互为主备的节点。Wherein, the destination IP address field is the destination address of the route. The IP prefix list field is the length of consecutive bits of 1 in the mask of the destination IP address. The flag field is a reserved flag bit. The S field identifies the routing flag on the server side. Setting the S field to 1 indicates forward service data routing. Setting the S field to 0 indicates the route of the reverse service data. The R field identifies the remove flag. Setting the R field to 1 means deleting routing information, and setting the R field to 0 means adding routing information. The next hop IP field indicates the IP address of the next hop. The next hop MAC field indicates the MAC address of the next hop. The node role field indicates the role of the next hop. The role of the next hop can be the active node or the standby node. The associated node field indicates the node that is active and standby with the next hop.
当通过扩展PCEP协议为第一PE设备201配置路由时,PCE根据第二PE设备202和第三PE设备203的主备关系得到两个扩展后的PCEP报文。PCE将两个扩展后的PCEP报文分别发送至第二PE设备202和第三PE设备203。其中,两个扩展后的PCEP报文分别为PCEP报文1和PCEP报文2。第二PE设备202在接收到PCEP报文1后,第二PE设备202向第一PE设备201发送PCEP报文1。第三PE设备203在接收到PCEP报文2后,第三PE设备203向第一PE设备201发送PCEP报文2。When configuring a route for the first PE device 201 through the extended PCEP protocol, the PCE obtains two extended PCEP packets according to the active/standby relationship between the second PE device 202 and the third PE device 203 . The PCE sends the two extended PCEP packets to the second PE device 202 and the third PE device 203 respectively. Wherein, the two extended PCEP packets are PCEP packet 1 and PCEP packet 2 respectively. After the second PE device 202 receives the PCEP packet 1, the second PE device 202 sends the PCEP packet 1 to the first PE device 201 . After the third PE device 203 receives the PCEP packet 2 , the third PE device 203 sends the PCEP packet 2 to the first PE device 201 .
在PCEP报文1和PCEP报文2中,目的IP地址字段为正向业务数据的目的地址,即网络侧设备204的IP地址。PCEP报文1和PCEP报文2中的S字段和R字段置1。PCEP报文1中的下一跳IP字段为第二PE设备202的IP地址。PCEP报文2中的下一跳IP字段为第三PE设备203的IP地址。PCEP报文1中的下一跳MAC字段为第二PE设备202的MAC地址。PCEP报文2中的下一跳MAC字段为第三PE设备203的MAC地址。PCEP报文1中的节点角色字段为主节点。PCEP报文2中的节点角色字段为备节点。第一PE设备201可以和第二PE设备202约定主节点或备节点的表示方式。例如,1表示主节点,0表示备节点。PCEP报文1中的关联节点字段为第三PE设备203的标识。第三PE设备203的标识可以为第三PE设备203的IP地址。PCEP报文2中的关联节点字段为第二PE设备202的标识。第二PE设备202的标识可以为第二PE设备202的IP地址。In the PCEP message 1 and the PCEP message 2, the destination IP address field is the destination address of the forward service data, that is, the IP address of the network side device 204 . The S field and R field in PCEP message 1 and PCEP message 2 are set to 1. The next hop IP field in the PCEP message 1 is the IP address of the second PE device 202 . The next-hop IP field in the PCEP packet 2 is the IP address of the third PE device 203 . The next-hop MAC field in the PCEP message 1 is the MAC address of the second PE device 202 . The next-hop MAC field in the PCEP message 2 is the MAC address of the third PE device 203 . The node role field in PCEP message 1 is the master node. The node role field in PCEP message 2 is the standby node. The first PE device 201 may agree with the second PE device 202 on the representation manner of the primary node or the standby node. For example, 1 indicates the active node, and 0 indicates the standby node. The associated node field in the PCEP message 1 is the identifier of the third PE device 203 . The identifier of the third PE device 203 may be the IP address of the third PE device 203 . The associated node field in the PCEP packet 2 is the identifier of the second PE device 202 . The identifier of the second PE device 202 may be the IP address of the second PE device 202 .
PCEP报文1和PCEP报文2可以通过OTN的控制开销来传递。OTN的控制开销可以是通用通讯通道开销1(general communi cation1,GCC1)、GCC2或GCC0。第一PE设备201从第二PE设备202接收PCEP报文1。第一PE设备201从第三PE设备203接收PCEP报文2。第一PE设备201根据PCEP报文1和PCEP报文2得到第一主路由和第一备路由。其中,PCEP报文1携带第一主路由的信息。PCEP报文2携带第一备路由的信息。第一主路由和第一备路由也称为主/备路由保护组。第一PE设备201将主/备路由保护组配置到转发面形成三层主/备路由保护。 PCEP message 1 and PCEP message 2 can be transmitted through OTN control overhead. The OTN control overhead can be general communication channel overhead 1 (general communication1, GCC1), GCC2 or GCC0. The first PE device 201 receives the PCEP packet 1 from the second PE device 202 . The first PE device 201 receives the PCEP packet 2 from the third PE device 203 . The first PE device 201 obtains the first primary route and the first backup route according to the PCEP message 1 and the PCEP message 2 . Wherein, PCEP packet 1 carries information of the first primary route. PCEP packet 2 carries information about the first backup route. The first primary route and the first backup route are also called the primary/standby route protection group. The first PE device 201 configures the active/standby route protection group on the forwarding plane to form a three-layer active/standby route protection.
在配置完第一主路由和第一备路由后,第一PE设备201从用户侧设备200接收第一正向业务数据。第一正向业务数据的源地址为用户侧设备200的IP地址。第一正向业务数据的目的地址为网络侧设备204的IP地址。若第一OTN管道处于正常状态的情况,则第一PE设备201用于通过第一主路由向网络侧设备204发送第一正向业务数据。第一主路由的下一跳为第二PE设备202。第二PE设备202用于通过第一OTN管道接收第一正向业务数据。第二PE设备202用于通过第二通道向网络侧设备204发送第一正向业务数据。若第一OTN管道处于非正常状态,则从第一PE设备201用于通过第一备路由向网络侧设备204发送第一正向业务数据。第一备路由的下一跳为第三PE设备203。第三PE设备203用于通过第二OTN管道接收第一正向业务数据。第三PE设备203用于通过第三通道向网络侧设备204发送第一正向业务数据。After configuring the first primary route and the first backup route, the first PE device 201 receives the first forward service data from the user-side device 200 . The source address of the first forward service data is the IP address of the user-side device 200 . The destination address of the first forward service data is the IP address of the network side device 204 . If the first OTN pipe is in a normal state, the first PE device 201 is configured to send the first forward service data to the network side device 204 through the first main route. The next hop of the first main route is the second PE device 202 . The second PE device 202 is configured to receive the first forward service data through the first OTN pipe. The second PE device 202 is configured to send the first forward service data to the network side device 204 through the second channel. If the first OTN pipe is in an abnormal state, the first PE device 201 is used to send the first forward service data to the network side device 204 through the first standby route. The next hop of the first standby route is the third PE device 203 . The third PE device 203 is configured to receive the first forward service data through the second OTN pipe. The third PE device 203 is configured to send the first forward service data to the network side device 204 through the third channel.
第一PE设备201可以通过双向转发检测(bidirectional forwarding detection,BFD)确定第一OTN管道是否处于正常状态。具体地,在第一PE设备201和第二PE设备202之间 配置有第一段BFD协议检测。在第一OTN管道发生故障后,例如断纤,第一PE设备201和第二PE设备202可以通过BFD协议快速检测到故障。第一PE设备201确定第一OTN管道处于非正常状态。The first PE device 201 may determine whether the first OTN pipe is in a normal state through bidirectional forwarding detection (bidirectional forwarding detection, BFD). Specifically, a first stage of BFD protocol detection is configured between the first PE device 201 and the second PE device 202 . After a fault occurs on the first OTN pipe, such as a fiber break, the first PE device 201 and the second PE device 202 can quickly detect the fault through the BFD protocol. The first PE device 201 determines that the first OTN pipe is in an abnormal state.
在实际应用中,第一PE设备201可以在第一OTN管道和第二通道都处于正常状态下,才通过第一主路由向网络侧设备204发送第一正向业务数据。第一PE设备201根据第二PE设备202发送的检测数据确定第二通道是否处于正常状态。具体地,第二PE设备202和网络侧设备204之间配置第二段BFD协议检测。在第二通道发生故障后,网络侧设备204和第二PE设备202可以通过BFD协议快速检测到故障。第二PE设备202根据BFD协议得到第一检测数据,向第一PE设备201发送第一检测数据。第一PE设备201根据第一检测数据确定第二通道是否处于正常状态。In practical applications, the first PE device 201 may send the first forward service data to the network side device 204 through the first main route when both the first OTN pipe and the second channel are in a normal state. The first PE device 201 determines whether the second channel is in a normal state according to the detection data sent by the second PE device 202 . Specifically, a second stage of BFD protocol detection is configured between the second PE device 202 and the network side device 204 . After a failure occurs on the second channel, the network side device 204 and the second PE device 202 can quickly detect the failure through the BFD protocol. The second PE device 202 obtains the first detection data according to the BFD protocol, and sends the first detection data to the first PE device 201 . The first PE device 201 determines whether the second channel is in a normal state according to the first detection data.
第一PE设备201和第三PE设备203之间可以配置有第三段BFD协议检测。第三PE设备203和网络侧设备204之间配置有第四段BFD协议检测。与前述描述类似,第一PE设备201可以根据第三段BFD协议检测确定第二OTN管道是否处于正常状态。第二PE设备202可以根据第四段BFD协议检测确定第三通道是否处于正常状态。当第一传输链路和第二传输链路都处于非正常状态时,第一PE设备201可以生成告警。A third stage of BFD protocol detection may be configured between the first PE device 201 and the third PE device 203 . A fourth stage of BFD protocol detection is configured between the third PE device 203 and the network side device 204 . Similar to the foregoing description, the first PE device 201 may determine whether the second OTN pipe is in a normal state according to the third stage of the BFD protocol detection. The second PE device 202 can detect and determine whether the third channel is in a normal state according to the fourth segment of the BFD protocol. When both the first transmission link and the second transmission link are in an abnormal state, the first PE device 201 may generate an alarm.
网络侧设备204可以根据第二段BFD协议检测确定第二通道是否处于正常状态。若第二通道处于正常状态,则网络侧设备204可以通过第二通道向第二PE设备202发送反向业务数据。若第二通道处于非正常状态,则网络侧设备204可以通过第三通道向第三PE设备203发送反向业务数据。或者,网络侧设备204根据第四段BFD协议检测确定第三通道是否处于正常状态。若第三通道处于正常状态,则网络侧设备204可以通过第三通道向第三PE设备203发送反向业务数据。若第二通道处于非正常状态,则网络侧设备204可以通过第二通道向第二PE设备202发送反向业务数据。The network side device 204 may determine whether the second channel is in a normal state according to the second stage of BFD protocol detection. If the second channel is in a normal state, the network side device 204 may send reverse service data to the second PE device 202 through the second channel. If the second channel is in an abnormal state, the network side device 204 may send reverse service data to the third PE device 203 through the third channel. Alternatively, the network side device 204 determines whether the third channel is in a normal state according to the fourth segment of the BFD protocol detection. If the third channel is in a normal state, the network side device 204 may send reverse service data to the third PE device 203 through the third channel. If the second channel is in an abnormal state, the network side device 204 may send reverse service data to the second PE device 202 through the second channel.
在本申请中,当第一OTN管道处于非正常状态时,第一PE设备201可以通过第二OTN管道传输业务数据。因此,通过为第一PE设备201建立不同的OTN管道,可以提高系统的可靠性。In this application, when the first OTN pipe is in an abnormal state, the first PE device 201 may transmit service data through the second OTN pipe. Therefore, by establishing different OTN pipes for the first PE device 201, system reliability can be improved.
在实际应用中,BFD协议为三层的检测技术。第一PE设备201需要在IP层解读BFD协议报文。因此,BFD协议需要花费较多的物理资源。为此,第一PE设备201可以通过OTN管道状态检测技术确定第一OTN管道是否处于正常状态。此时,第一PE设备201在物理层检测第一OTN管道的状态,从而节约物理资源。In practical applications, the BFD protocol is a three-layer detection technology. The first PE device 201 needs to interpret the BFD protocol packet at the IP layer. Therefore, the BFD protocol requires more physical resources. To this end, the first PE device 201 may determine whether the first OTN pipe is in a normal state through an OTN pipe state detection technology. At this time, the first PE device 201 detects the status of the first OTN pipe at the physical layer, thereby saving physical resources.
在实际应用中,为了提高网络切片的灵活性,第一OTN管道或第二OTN管道可以是Liquid OTN管道。Liquid OTN管道也称为光业务容器(optical service unit,OSU)管道。Liquid OTN管道是采用了Liquid OTN技术的管道。Liquid OTN技术引入了面向业务的OSU。Liquid OTN技术在传统的OTN机构上优化新增了一层OSU颗粒。In practical applications, in order to improve the flexibility of network slicing, the first OTN pipe or the second OTN pipe may be a Liquid OTN pipe. Liquid OTN pipes are also called optical service container (optical service unit, OSU) pipes. Liquid OTN pipeline is a pipeline that adopts Liquid OTN technology. Liquid OTN technology introduces a service-oriented OSU. Liquid OTN technology optimizes and adds a new layer of OSU particles on the traditional OTN mechanism.
在实际应用中,为了实现不同业务数据的隔离,在接收第一正向业务数据前,NCE可以创建第一光虚拟专用网(optical virtual private network,OVPN)。具体地,第一OVPN包括第一PE设备201、第二PE设备202和第三PE设备203。第一PE设备201通过第一端口和用户侧设备200相连。第一通道的一端为第一PE设备201的第一端口。第二PE设备202通过第二端口和网络侧设备204相连。第二通道的一端为第二PE设备202的第二端口。第 三PE设备203通过第三端口和网络侧设备204相连。第三通道的一端为第三PE设备203的第三端口。第一OVPN还包括第一端口、第二端口和第三端口。第一OVPN还包括第一OTN管道和第二OTN管道。第一PE设备201通过第一OVPN接收第一正向业务数据。第一正向业务数据经过第一OVPN后到达网络侧设备204。反向业务数据经过第一OVPN后到达用户侧设备200。In practical application, in order to realize the isolation of different service data, before receiving the first forward service data, the NCE can create the first optical virtual private network (optical virtual private network, OVPN). Specifically, the first OVPN includes a first PE device 201 , a second PE device 202 and a third PE device 203 . The first PE device 201 is connected to the user-side device 200 through a first port. One end of the first channel is the first port of the first PE device 201 . The second PE device 202 is connected to the network side device 204 through a second port. One end of the second channel is the second port of the second PE device 202 . The third PE device 203 is connected to the network side device 204 through a third port. One end of the third channel is the third port of the third PE device 203 . The first OVPN also includes a first port, a second port and a third port. The first OVPN also includes a first OTN pipe and a second OTN pipe. The first PE device 201 receives the first forward service data through the first OVPN. The first forward service data reaches the network side device 204 after passing through the first OVPN. The reverse service data reaches the user-side device 200 after passing through the first OVPN.
不同的业务数据可能来自不同的用户侧设备,最终访问相同的网络侧设备。此时,不同的业务数据包括不同的源地址和相同的目的地址。例如,存在另一PE设备通过连接端口与另一用户侧设备相连。另一PE设备与两个PE设备建立有两个OTN管道。两个OTN管道和两个PE设备一一对应。两个PE设备分别为第二PE设备202和第三PE设备203。NCE可以创建另一OVPN。另一OVPN包括另一PE设备、第二PE设备202和第三PE设备203。另一OVPN还包括连接端口、第二端口和第三端口。另一OVPN还包括两个OTN管道。Different service data may come from different user-side devices, and ultimately access the same network-side device. At this time, different service data include different source addresses and the same destination address. For example, another PE device is connected to another user-side device through a connection port. Two OTN pipes are established between another PE device and the two PE devices. There is a one-to-one correspondence between two OTN pipes and two PE devices. The two PE devices are the second PE device 202 and the third PE device 203 respectively. NCE can create another OVPN. Another OVPN includes another PE device, a second PE device 202 and a third PE device 203 . Another OVPN also includes a connection port, a second port and a third port. Another OVPN also includes two OTN pipes.
不同的业务数据可能来自相同的用户侧设备,最终访问不同的网络侧设备。此时,不同的业务数据包括相同的源地址和不同的目的地址。例如,存在另一网络侧设备分别与两个PE设备的两个连接端口相连。两个PE设备分别与第一PE设备201建立有两个OTN管道。两个OTN管道和两个PE设备一一对应。NCE可以创建另一OVPN。另一OVPN包括第一PE设备201和两个PE设备。另一OVPN还包括第一端口和两个连接端口。另一OVPN网络还包括两个OTN管道。Different service data may come from the same user-side device, and finally access different network-side devices. At this time, different service data include the same source address and different destination addresses. For example, there is another network-side device connected to the two connection ports of the two PE devices respectively. The two PE devices respectively establish two OTN pipes with the first PE device 201 . There is a one-to-one correspondence between two OTN pipes and two PE devices. NCE can create another OVPN. Another OVPN includes the first PE device 201 and two PE devices. Another OVPN also includes a first port and two connection ports. Another OVPN network also includes two OTN pipes.
不同的业务数据可能来自相同的用户侧设备,最终访问相同的网络侧设备。此时,不同的业务数据包括相同的源地址和相同的目的地址。例如,第一PE设备201还通过第四端口和用户侧设备200相连。第二PE设备202还通过第五端口和网络侧设备204相连。第三PE设备203还通过第六端口和网络侧设备204相连。NCE创建第二OVPN。第二OVPN包括第一PE设备201、第二PE设备202和第三PE设备203。第二OVPN还包括第四端口、第五端口和第六端口。第二OVPN还包括第一OTN管道和第二OTN管道。Different business data may come from the same user-side device, and finally access the same network-side device. At this time, different service data include the same source address and the same destination address. For example, the first PE device 201 is also connected to the user-side device 200 through the fourth port. The second PE device 202 is also connected to the network side device 204 through the fifth port. The third PE device 203 is also connected to the network side device 204 through the sixth port. NCE creates a second OVPN. The second OVPN includes a first PE device 201 , a second PE device 202 and a third PE device 203 . The second OVPN also includes a fourth port, a fifth port and a sixth port. The second OVPN also includes the first OTN pipe and the second OTN pipe.
第一PE设备201通过第二OVPN接收第二正向业务数据。第二正向业务数据和第一正向业务数据的源地址相同。第二正向业务数据和第一正向业务数据的目的地址相同。第一PE设备201还包括第二主路由和第二备路由。第二主路由和第二备路由的目的地址为网络侧设备204的IP地址。第二主路由的下一跳为第三PE设备203。第二备路由的下一跳为第二PE设备202。第一PE设备201配置第二主路由和第二备路由的描述可以参考前述第一PE设备201配置第一主路由和第一备路由的描述。若第二OTN管道处于正常状态,则第一PE设备201通过第二主路由向网络侧设备204发送第二正向业务数据。若第二OTN管道处于非正常状态,则第一PE设备201通过第二备路由向网络侧设备204发送第二正向业务数据。The first PE device 201 receives the second forward service data through the second OVPN. The source addresses of the second forward service data and the first forward service data are the same. The destination addresses of the second forward service data and the first forward service data are the same. The first PE device 201 also includes a second primary route and a second backup route. The destination address of the second primary route and the second standby route is the IP address of the network side device 204 . The next hop of the second main route is the third PE device 203 . The next hop of the second standby route is the second PE device 202 . For the description of configuring the second primary route and the second backup route on the first PE device 201, reference may be made to the foregoing description of configuring the first primary route and the first backup route on the first PE device 201. If the second OTN pipe is in a normal state, the first PE device 201 sends the second forward service data to the network side device 204 through the second main route. If the second OTN pipe is in an abnormal state, the first PE device 201 sends the second forward service data to the network side device 204 through the second standby route.
本申请还提供了另一种双归保护系统。具体地,图4为本申请中提供的双归保护系统的第二个结构示意图。如图4所示,在图2的基础上,第二PE设备202和第三PE设备203之间建立有通道。例如,第二PE设备202的端口5和第三PE设备203的端口6之间建立有第一跳直达的第三OTN管道。The present application also provides another dual-homing protection system. Specifically, FIG. 4 is a second structural schematic diagram of the dual-homing protection system provided in this application. As shown in FIG. 4 , on the basis of FIG. 2 , a channel is established between the second PE device 202 and the third PE device 203 . For example, a third OTN pipe through the first hop is established between port 5 of the second PE device 202 and port 6 of the third PE device 203 .
根据前述对图2的描述可知,若第一OTN管道处于正常状态,则第一PE设备201用于通过第一主路由向第二PE设备202发送第一正向业务数据。第二PE设备202配置有第 二正向主路由和第二正向备路由。第二正向主路由和第二正向备路由的目的地址为网络侧设备204的IP地址。第二正向主路由的下一跳为网络侧设备204。第二正向备路由的下一跳为第三PE设备203。在接收到第一正向业务数据后,若第二通道处于正常状态,则第二PE设备202用于通过第二正向主路由向网络侧设备204发送第一正向业务数据。若第二通道处于非正常状态,则第二PE设备202用于通过第二正向备路由向网络侧设备204发送第一正向业务数据。According to the foregoing description of FIG. 2 , if the first OTN pipe is in a normal state, the first PE device 201 is configured to send the first forward service data to the second PE device 202 through the first main route. The second PE device 202 is configured with a second forward primary route and a second forward standby route. The destination address of the second forward primary route and the second forward standby route is the IP address of the network side device 204 . The next hop of the second forward main route is the network side device 204 . The next hop of the second forward standby route is the third PE device 203 . After receiving the first forward service data, if the second channel is in a normal state, the second PE device 202 is configured to send the first forward service data to the network side device 204 through the second forward main route. If the second channel is in an abnormal state, the second PE device 202 is configured to send the first forward service data to the network side device 204 through the second forward standby route.
根据前述对图2的描述可知,若第一OTN管道处于非正常状态,则第一PE设备201用于通过第一备路由向第三PE设备203发送第一正向业务数据。第三PE设备203可以配置有第三正向主路由和第三正向备路由。第三正向主路由和第三正向备路由的目的地址为网络侧设备204的IP地址。第三正向主路由的下一跳为网络侧设备204。第三正向备路由的下一跳为第二PE设备202。在接收到第一正向业务数据后,若第三通道处于正常状态,则第三PE设备203用于通过第三正向主路由向网络侧设备204发送第一正向业务数据。若第三通道处于非正常状态,则第三PE设备203用于通过第三正向备路由向网络侧设备204发送第一正向业务数据。According to the foregoing description of FIG. 2 , if the first OTN pipe is in an abnormal state, the first PE device 201 is configured to send the first forward service data to the third PE device 203 through the first standby route. The third PE device 203 may be configured with a third forward primary route and a third forward standby route. The destination address of the third forward primary route and the third forward standby route is the IP address of the network side device 204 . The next hop of the third forward main route is the network side device 204 . The next hop of the third forward standby route is the second PE device 202 . After receiving the first forward service data, if the third channel is in a normal state, the third PE device 203 is configured to send the first forward service data to the network side device 204 through the third forward main route. If the third channel is in an abnormal state, the third PE device 203 is configured to send the first forward service data to the network side device 204 through the third forward standby route.
在实际应用中,第二PE设备202还可以配置有第二反向主路由和第二反向备路由。第二反向主路由和第二反向备路由的目的地址为用户侧设备200的IP地址。第二反向主路由的下一跳为第一PE设备201。第二反向备路由的下一跳为第三PE设备203。根据前述图2的描述可知,若第二通道处于正常状态,则第二PE设备202用于从网络侧设备204接收反向业务数据。反向业务数据的目的地址为用户侧设备200的IP地址。在接收到反向业务数据后,若第一OTN管道处于正常状态,则第二PE设备用于通过第二反向主路由向用户侧设备200发送反向业务数据。若第一OTN管道处于非正常状态,则第二PE设备202用于通过第二反向备路由向用户侧设备200发送反向业务数据。In practical applications, the second PE device 202 may also be configured with a second reverse primary route and a second reverse backup route. The destination addresses of the second reverse main route and the second reverse backup route are the IP address of the user-side device 200 . The next hop of the second reverse main route is the first PE device 201 . The next hop of the second reverse standby route is the third PE device 203 . According to the foregoing description of FIG. 2 , if the second channel is in a normal state, the second PE device 202 is configured to receive reverse service data from the network side device 204 . The destination address of the reverse service data is the IP address of the user-side device 200 . After receiving the reverse service data, if the first OTN pipe is in a normal state, the second PE device is configured to send the reverse service data to the user side device 200 through the second reverse main route. If the first OTN pipe is in an abnormal state, the second PE device 202 is configured to send reverse service data to the user side device 200 through the second reverse standby route.
类似地,第三PE设备203还可以配置有第三反向主路由和第三反向备路由。第三反向主路由和第三正向备路由的目的地址为用户侧设备200的IP地址。第三反向主路由的下一跳为第一PE设备201。第三反向备路由的下一跳为第二PE设备202。根据前述图2的描述可知,若第二通道处于非正常状态,则第三PE设备203用于从网络侧设备204接收反向业务数据。在接收到反向业务数据后,若第二OTN管道处于正常状态,则第三PE设备用于通过第三反向主路由向用户侧设备200发送反向业务数据。若第二OTN管道处于非正常状态,则第二PE设备202用于通过第三反向备路由向用户侧设备200发送反向业务数据。Similarly, the third PE device 203 may also be configured with a third reverse primary route and a third reverse backup route. The destination addresses of the third reverse primary route and the third forward standby route are the IP address of the user-side device 200 . The next hop of the third reverse main route is the first PE device 201 . The next hop of the third reverse standby route is the second PE device 202 . According to the foregoing description of FIG. 2 , if the second channel is in an abnormal state, the third PE device 203 is used to receive reverse service data from the network side device 204 . After receiving the reverse service data, if the second OTN pipe is in a normal state, the third PE device is configured to send the reverse service data to the user side device 200 through the third reverse main route. If the second OTN pipe is in an abnormal state, the second PE device 202 is configured to send reverse service data to the user side device 200 through the third reverse standby route.
应理解,图4中的双归保护系统和图2中的双归保护系统存在类似的结构。因此,关于图4中的描述可以参考前述图2中的描述。It should be understood that the dual-homing protection system in FIG. 4 has a similar structure to the dual-homing protection system in FIG. 2 . Therefore, for the description in FIG. 4 , reference may be made to the description in FIG. 2 above.
例如,第二PE设备202可以通过扩展PCEP协议得到第二反向主路由和第二反向备路由。具体地,第二PE设备202用于从第一PE设备201接收PCEP报文3。第二PE设备202用于从第三PE设备203接收PCEP报文4。第二PE设备202根据PCEP报文3和PCEP报文4得到第二反向主路由和第二反向备路由。其中,PCEP报文3携带第二反向主路由的信息。PCEP报文4携带第二反向备路由的信息。关于PCEP报文3和PCEP报文4的格式可以参考前述对PCEP报文1和PCEP报文2的相关描述。For example, the second PE device 202 may obtain the second reverse primary route and the second reverse backup route by extending the PCEP protocol. Specifically, the second PE device 202 is configured to receive the PCEP packet 3 from the first PE device 201 . The second PE device 202 is configured to receive the PCEP packet 4 from the third PE device 203 . The second PE device 202 obtains the second reverse primary route and the second reverse backup route according to the PCEP message 3 and the PCEP message 4 . Wherein, the PCEP packet 3 carries information of the second reverse main route. PCEP packet 4 carries information about the second reverse backup route. Regarding the formats of the PCEP message 3 and the PCEP message 4, reference may be made to the relevant description of the aforementioned PCEP message 1 and the PCEP message 2 .
类似地,第三PE设备203可以通过扩展PCEP协议得到第三反向主路由和第三反向备 路由。具体地,第三PE设备203用于从第一PE设备201接收PCEP报文5。第三PE设备203用于从第二PE设备202接收PCEP报文6。第三PE设备203根据PCEP报文5和PCEP报文6得到第三反向主路由和第三反向备路由。其中,PCEP报文5携带第三反向主路由的信息。PCEP报文6携带第三反向备路由的信息。关于PCEP报文5和PCEP报文6的格式可以参考前述对PCEP报文1和PCEP报文2的相关描述。Similarly, the third PE device 203 can obtain the third reverse main route and the third reverse backup route by extending the PCEP protocol. Specifically, the third PE device 203 is configured to receive the PCEP packet 5 from the first PE device 201 . The third PE device 203 is configured to receive the PCEP packet 6 from the second PE device 202 . The third PE device 203 obtains the third reverse primary route and the third reverse backup route according to the PCEP message 5 and the PCEP message 6 . Wherein, the PCEP packet 5 carries information of the third reverse primary route. PCEP packet 6 carries information of the third reverse standby route. Regarding the formats of the PCEP message 5 and the PCEP message 6, reference may be made to the relevant description of the aforementioned PCEP message 1 and the PCEP message 2 .
例如,在前述图2的描述中,定义了三种不同的业务数据的形式。For example, in the foregoing description of FIG. 2 , three different forms of service data are defined.
在第一种形式中,不同的业务数据可能来自不同的用户侧设备,最终访问相同的网络侧设备。具体地,图5为本申请中提供的双归保护系统的第三个结构示意图。如图5所示,在图4的基础上,双归保护系统还包括另一用户侧设备501和另一PE设备502。另一PE设备502通过连接端口与另一用户侧设备501。另一PE设备502与两个PE设备建立有两个OTN管道。两个OTN管道和两个PE设备一一对应。两个PE设备分别为第二PE设备202和第三PE设备203。In the first form, different service data may come from different user-side devices, and ultimately access the same network-side device. Specifically, FIG. 5 is a third structural schematic diagram of the dual-homing protection system provided in this application. As shown in FIG. 5 , on the basis of FIG. 4 , the dual-homing protection system further includes another user-side device 501 and another PE device 502 . Another PE device 502 is connected to another user-side device 501 through a connection port. Another PE device 502 establishes two OTN pipes with the two PE devices. There is a one-to-one correspondence between two OTN pipes and two PE devices. The two PE devices are the second PE device 202 and the third PE device 203 respectively.
在第二种形式中,不同的业务数据来自相同的用户侧设备,最终访问不同的网络侧设备。例如,如图5所示,在图4的基础上,双归保护系统还包括另一网络侧设备505和两个PE设备。两个PE设备为PE设备503和PE设备504。另一网络侧设备505分别与两个PE设备的两个连接端口相连。两个PE设备分别与第一PE设备201建立有两个OTN管道。两个OTN管道和两个PE设备一一对应。In the second form, different service data come from the same user-side device, and finally access different network-side devices. For example, as shown in FIG. 5 , on the basis of FIG. 4 , the dual-homing protection system further includes another network-side device 505 and two PE devices. The two PE devices are PE device 503 and PE device 504 . Another network side device 505 is respectively connected to the two connection ports of the two PE devices. The two PE devices respectively establish two OTN pipes with the first PE device 201 . There is a one-to-one correspondence between two OTN pipes and two PE devices.
例如,双归保护系统还包括NCE。NCE用于根据前述中的方法创建第一OVPN。除了第一OTN管道和第二OTN管道,第一OVPN还包括第二PE设备202和第三PE设备203之间的通道。类似地,NCE也可以用于创建另一OVPN和/或第二OVPN。第二OVPN还包括第二PE设备202和第三PE设备203之间的通道。当另一OVPN包括第二PE设备202和第三PE设备203时,另一OVPN还包括第二PE设备202和第三PE设备203之间的通道。当另一OVPN网络包括与网络侧设备204相连的两个PE设备时,另一OVPN网络还包括两个PE设备之间的通道。For example, a dual-homing protection system also includes NCE. The NCE is used to create the first OVPN according to the aforementioned method. In addition to the first OTN pipe and the second OTN pipe, the first OVPN also includes a tunnel between the second PE device 202 and the third PE device 203 . Similarly, NCE can also be used to create another OVPN and/or a second OVPN. The second OVPN also includes a tunnel between the second PE device 202 and the third PE device 203 . When another OVPN includes the second PE device 202 and the third PE device 203 , the other OVPN also includes a tunnel between the second PE device 202 and the third PE device 203 . When another OVPN network includes two PE devices connected to the network side device 204, the other OVPN network also includes a tunnel between the two PE devices.
例如,第二PE设备202通过第二段BFD协议检测确定第二通道是否处于正常状态。第三PE设备203通过第四段BFD协议检测确定第三通道是否处于正常状态。第二PE设备202通过第一段BFD协议检测确定第一OTN管道是否处于正常状态。第三PE设备203通过第三段BFD协议检测确定第二OTN管道是否处于正常状态。For example, the second PE device 202 determines whether the second channel is in a normal state through the second stage of BFD protocol detection. The third PE device 203 determines whether the third channel is in a normal state through the fourth segment of BFD protocol detection. The second PE device 202 determines whether the first OTN pipe is in a normal state through the first segment of the BFD protocol detection. The third PE device 203 determines whether the second OTN pipe is in a normal state through the third-stage BFD protocol detection.
本申请还提供了另一种双归保护系统。具体地,图6为本申请中提供的双归保护系统的第四个结构示意图。如图6所示,在图3的基础上,第一PE设备201包括第一子PE设备601和第二子PE设备602。第二PE设备202与第一子PE设备601建立有第一OTN管道。第三PE设备203与第二子PE设备602建立有第二OTN管道。第一子PE设备601和第二子PE设备602还建立有通道。例如,第一子PE设备601的端口7和第二子PE设备602的端口8建立第一跳直达的第四OTN管道。第一通道包括第一子通道和第二子通道。第一子PE设备601和用户侧设备200建立有第一子通道。第二子PE设备602和用户侧设备200建立有第二子通道。The present application also provides another dual-homing protection system. Specifically, FIG. 6 is a fourth structural schematic diagram of the dual-homing protection system provided in this application. As shown in FIG. 6 , on the basis of FIG. 3 , the first PE device 201 includes a first sub-PE device 601 and a second sub-PE device 602 . The second PE device 202 establishes a first OTN pipe with the first sub-PE device 601 . A second OTN pipe is established between the third PE device 203 and the second sub-PE device 602 . A channel is also established between the first sub-PE device 601 and the second sub-PE device 602 . For example, port 7 of the first sub-PE device 601 and port 8 of the second sub-PE device 602 establish a fourth OTN pipe through the first hop. The first channel includes a first sub-channel and a second sub-channel. The first sub-PE device 601 and the user-side device 200 have established a first sub-channel. A second sub-channel is established between the second sub-PE device 602 and the user-side device 200 .
若第一子通道处于正常状态,则用户侧设备200可以通过第一子通道向第一子PE设备601发送第一正向业务数据。第一子PE设备601配置有第四正向主路由和第四正向备路由。 第四正向主路由和第四正向备路由的目的地址为网络侧设备204的IP地址。第四正向主路由的下一跳为第二PE设备202。第四正向备路由的下一跳为第二子PE设备602。在接收到第一正向业务数据后,若第一OTN管道处于正常状态,则第一子PE设备601用于通过第四正向主路由向网络侧设备204发送第一正向业务数据。若第一OTN管道处于非正常状态,则第一子PE设备601用于通过第四正向备路由向网络侧设备204发送第一正向业务数据。If the first sub-channel is in a normal state, the user-side device 200 may send the first forward service data to the first sub-PE device 601 through the first sub-channel. The first sub-PE device 601 is configured with a fourth forward primary route and a fourth forward standby route. The destination address of the fourth forward primary route and the fourth forward standby route is the IP address of the network side device 204 . The next hop of the fourth forward main route is the second PE device 202 . The next hop of the fourth forward backup route is the second sub-PE device 602 . After receiving the first forward service data, if the first OTN pipe is in a normal state, the first sub-PE device 601 is configured to send the first forward service data to the network side device 204 through the fourth forward main route. If the first OTN pipe is in an abnormal state, the first sub-PE device 601 is configured to send the first forward service data to the network side device 204 through the fourth forward standby route.
若第一子通道处于非正常状态,则用户侧设备200可以通过第二子通道向第二子PE设备602发送第一正向业务数据。第二子PE设备602配置有第五正向主路由和第五正向备路由。第五正向主路由和第五正向备路由的目的地址为网络侧设备204的IP地址。第五正向主路由的下一跳为第三PE设备203。第五正向备路由的下一跳为第一子PE设备601。在接收到第一正向业务数据后,若第二OTN管道处于正常状态,则第二子PE设备602用于通过第五正向主路由向网络侧设备204发送第一正向业务数据。若第二OTN管道处于非正常状态,则第二子PE设备602用于通过第五正向备路由向网络侧设备204发送第一正向业务数据。其中,第四正向主路由也称为第一主路由。第五正向主路由也称为第一备路由。If the first sub-channel is in an abnormal state, the user-side device 200 may send the first forward service data to the second sub-PE device 602 through the second sub-channel. The second sub-PE device 602 is configured with a fifth forward primary route and a fifth forward standby route. The destination address of the fifth forward primary route and the fifth forward standby route is the IP address of the network side device 204 . The next hop of the fifth forward main route is the third PE device 203 . The next hop of the fifth forward standby route is the first sub-PE device 601 . After receiving the first forward service data, if the second OTN pipe is in a normal state, the second sub-PE device 602 is configured to send the first forward service data to the network side device 204 through the fifth forward main route. If the second OTN pipe is in an abnormal state, the second sub-PE device 602 is configured to send the first forward service data to the network side device 204 through the fifth forward standby route. Wherein, the fourth forward main route is also referred to as the first main route. The fifth forward primary route is also called the first backup route.
对于正向业务数据,第二PE设备202和第三PE设备203的主/备保护路由组请参考前述图4的相关描述。在图5中,第二PE设备202的第二反向主路由的下一跳为第一子PE设备601。第二反向备路由的下一跳为第三PE设备203。根据前述图2的描述可知,若第二通道处于正常状态,则第二PE设备202用于从网络侧设备204接收反向业务数据。在接收到反向业务数据后,若第一OTN管道处于正常状态,则第二PE设备用于通过第二反向主路由向用户侧设备200发送反向业务数据。若第一OTN管道处于非正常状态,则第二PE设备202用于通过第二反向备路由向用户侧设备200发送反向业务数据。For the forward service data, please refer to the relevant description of the aforementioned FIG. In FIG. 5 , the next hop of the second reverse primary route of the second PE device 202 is the first sub-PE device 601 . The next hop of the second reverse backup route is the third PE device 203 . According to the foregoing description of FIG. 2 , if the second channel is in a normal state, the second PE device 202 is configured to receive reverse service data from the network side device 204 . After receiving the reverse service data, if the first OTN pipe is in a normal state, the second PE device is configured to send the reverse service data to the user side device 200 through the second reverse main route. If the first OTN pipe is in an abnormal state, the second PE device 202 is configured to send reverse service data to the user side device 200 through the second reverse standby route.
类似地,第三PE设备203的第三反向主路由的下一跳为第二子PE设备602。第三反向备路由的下一跳为第二PE设备202。根据前述图2的描述可知,若第二通道处于非正常状态,则第三PE设备203用于从网络侧设备204接收反向业务数据。在接收到反向业务数据后,若第二OTN管道处于正常状态,则第三PE设备用于通过第三反向主路由向用户侧设备200发送反向业务数据。若第二OTN管道处于非正常状态,则第二PE设备202用于通过第三反向备路由向用户侧设备200发送反向业务数据。Similarly, the next hop of the third reverse primary route of the third PE device 203 is the second sub-PE device 602 . The next hop of the third reverse standby route is the second PE device 202 . According to the foregoing description of FIG. 2 , if the second channel is in an abnormal state, the third PE device 203 is used to receive reverse service data from the network side device 204 . After receiving the reverse service data, if the second OTN pipe is in a normal state, the third PE device is configured to send the reverse service data to the user side device 200 through the third reverse main route. If the second OTN pipe is in an abnormal state, the second PE device 202 is configured to send reverse service data to the user side device 200 through the third reverse standby route.
在实际应用中,第一子PE设备601还可以配置有第四反向主路由和第四反向备路由。第四反向主路由和第四反向备路由的目的地址为用户侧设备200的IP地址。第四反向主路由的下一跳为用户侧设备200。第四反向备路由的下一跳为第二子PE设备602。在接收到反向业务数据后,若第一子通道处于正常状态,则第一子PE设备601用于通过第四反向主路由向用户侧设备200发送反向业务数据。若第一子通道处于非正常状态,则第一子PE设备601用于通过第四反向备路由向用户侧设备200发送反向业务数据。In practical applications, the first sub-PE device 601 may also be configured with a fourth reverse primary route and a fourth reverse backup route. The destination addresses of the fourth reverse main route and the fourth reverse backup route are the IP address of the user-side device 200 . The next hop of the fourth reverse main route is the user side device 200 . The next hop of the fourth reverse standby route is the second sub-PE device 602 . After receiving the reverse service data, if the first sub-channel is in a normal state, the first sub-PE device 601 is configured to send the reverse service data to the user-side device 200 through the fourth reverse main route. If the first sub-channel is in an abnormal state, the first sub-PE device 601 is configured to send reverse service data to the user-side device 200 through the fourth reverse backup route.
类似地,第二子PE设备602还可以配置有第五反向主路由和第五反向备路由。第五反向主路由和第五正向备路由的目的地址为用户侧设备200的IP地址。第五反向主路由的下一跳为用户侧设备200。第五反向备路由的下一跳为第一子PE设备601。在接收到反向业务数据后,若第二子通道处于正常状态,则第二子PE设备602用于通过第五反向主路由向用户侧设备200发送反向业务数据。若第二子通道处于非正常状态,则第二子PE设备602用于通过第五反向备路由向用户侧设备200发送反向业务数据。Similarly, the second sub-PE device 602 may also be configured with a fifth reverse primary route and a fifth reverse backup route. The destination address of the fifth reverse main route and the fifth forward backup route is the IP address of the user-side device 200 . The next hop of the fifth reverse main route is the user-side device 200 . The next hop of the fifth reverse standby route is the first sub-PE device 601 . After receiving the reverse service data, if the second sub-channel is in a normal state, the second sub-PE device 602 is configured to send the reverse service data to the user-side device 200 through the fifth reverse main route. If the second sub-channel is in an abnormal state, the second sub-PE device 602 is configured to send reverse service data to the user-side device 200 through the fifth reverse backup route.
应理解,图6中的双归保护系统和图2、图4和图5中的双归保护系统存在类似的结构。因此,关于图6中的描述可以参考前述图2、图4和图5中的描述。It should be understood that the dual-homing protection system in FIG. 6 has a similar structure to the dual-homing protection systems in FIGS. 2 , 4 and 5 . Therefore, for the description in FIG. 6 , reference may be made to the descriptions in FIG. 2 , FIG. 4 and FIG. 5 .
上面对本申请中双归保护系统进行描述。下面对本申请中的双归保护方法进行描述。图7为本申请中提供的双归保护方法的流程示意图。如图7所示,双归保护方法包括以下步骤。The dual-homing protection system in this application is described above. The dual-homing protection method in this application is described below. Fig. 7 is a schematic flowchart of the dual-homing protection method provided in this application. As shown in Figure 7, the dual-homing protection method includes the following steps.
在步骤701中,第一PE设备从用户侧设备接收第一正向业务数据,第一PE设备与第二PE设备之间建立有第一OTN管道,第一PE设备与第三PE设备之间建立有第二OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。第一正向业务数据的源地址为用户侧设备的IP地址。第一正向业务数据的目的地址为网络侧设备的IP地址。In step 701, the first PE device receives the first forward service data from the user-side device, a first OTN pipe is established between the first PE device and the second PE device, and the first OTN pipe is established between the first PE device and the third PE device. A second OTN pipe is established. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The source address of the first forward service data is the IP address of the user-side device. The destination address of the first forward service data is the IP address of the network side device.
在步骤702中,若第一OTN管道处于正常状态,则第一PE设备通过第一主路由向网络侧设备发送第一正向业务数据,第一主路由的下一跳为第二PE设备。第一主路由的目的地址为网络侧设备的IP地址。In step 702, if the first OTN pipe is in a normal state, the first PE device sends the first forward service data to the network side device through the first main route, and the next hop of the first main route is the second PE device. The destination address of the first main route is the IP address of the network side device.
在步骤703中,若第一OTN管道处于非正常状态,则第一PE设备通过第一备路由向网络侧设备发送所述第一正向业务数据。第二主路由的下一跳为第三PE设备。第一备路由的目的地址为网络侧设备的IP地址。In step 703, if the first OTN pipe is in an abnormal state, the first PE device sends the first forward service data to the network side device through the first standby route. The next hop of the second primary route is the third PE device. The destination address of the first backup route is the IP address of the network side device.
应理解,关于双归保护方法的描述可以参考前述双归保护系统的描述。例如,第一PE设备通过BFD协议确定第一OTN管道是否处于正常状态。例如,第一OTN管道和第二OTN管道为OSU管道。例如,第一PE设备通过扩展PCEP协议得到第一主路由和第一备路由。第一PE设备从第二PE设备接收第一主路由的信息。第一PE设备从第三PE设备接收第一备路由的信息。It should be understood that for the description of the dual-homing protection method, reference may be made to the foregoing description of the dual-homing protection system. For example, the first PE device determines whether the first OTN pipe is in a normal state through the BFD protocol. For example, the first OTN pipe and the second OTN pipe are OSU pipes. For example, the first PE device obtains the first primary route and the first backup route by extending the PCEP protocol. The first PE device receives the information of the first primary route from the second PE device. The first PE device receives information about the first backup route from the third PE device.
上面对本申请中的双归保护方法进行描述,下面对本申请中的双归保护装置进行描述。图8为本申请中提供的双归保护装置的结构示意图。如图8所示,双归保护装置800包括接收模块801、和发送模块802。The dual-homing protection method in this application is described above, and the dual-homing protection device in this application is described below. FIG. 8 is a schematic structural diagram of a dual-homing protection device provided in this application. As shown in FIG. 8 , a dual-homing protection device 800 includes a receiving module 801 and a sending module 802 .
双归保护装置800可以是前述双归保护系统中第一PE设备201。此时,接收模块801用于从用户侧设备接收第一正向业务数据。双归保护装置与第二PE设备建立有第一光传送网OTN管道。双归保护装置800与第三PE设备之间建立有第二OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。发送模块802配置有第一主路由和第一备路由。第一主路由和第一备路由的目的地址为网络侧设备的IP地址。第一主路由的下一跳为第二PE设备。第一备路由的下一跳为第三PE设备。发送模块802若第一OTN管道处于正常状态,则通过第一主路由向网络侧设备发送第一正向业务数据。发送模块802还用于若第一OTN管道处于非正常状态,则通过第一备路由向网络侧设备发送第一正向业务数据。The dual-homing protection device 800 may be the first PE device 201 in the aforementioned dual-homing protection system. At this time, the receiving module 801 is configured to receive the first forward service data from the user side equipment. The dual-homing protection device and the second PE equipment establish a first optical transport network OTN pipe. A second OTN pipeline is established between the dual-homing protection device 800 and the third PE equipment. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The sending module 802 is configured with a first primary route and a first backup route. The destination addresses of the first primary route and the first backup route are the IP addresses of the network side devices. The next hop of the first main route is the second PE device. The next hop of the first standby route is the third PE device. If the first OTN pipe is in a normal state, the sending module 802 sends the first forward service data to the network side device through the first main route. The sending module 802 is further configured to send the first forward service data to the network side device through the first standby route if the first OTN pipe is in an abnormal state.
双归保护装置800还可以是前述双归保护系统中第二PE设备202。此时,接收模块801用于从第一PE设备接收第一正向业务数据。双归保护装置和第三PE设备之间建立有第三OTN管道。双归保护装置和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。发送模块802配置有第二正向主路由和第二正向备路由。第二正向主路由和第二正向备路由的目的地址为网络侧设备的IP地址。第二正向主路由的下一跳为网络侧设备。 第二正向备路由的下一跳为第三PE设备。发送模块802用于若第二通道处于正常状态,则通过第二正向主路由向网络侧设备发送第一正向业务数据。发送模块802还用于若第二通道处于非正常状态,则通过第二正向备路由向网络侧设备发送第一正向业务数据。The dual-homing protection device 800 may also be the second PE device 202 in the aforementioned dual-homing protection system. At this time, the receiving module 801 is configured to receive the first forward service data from the first PE device. A third OTN pipeline is established between the dual-homing protection device and the third PE equipment. A second channel is established between the dual-homing protection device and the network-side device. A third channel is established between the third PE device and the network side device. The sending module 802 is configured with a second forward primary route and a second forward standby route. The destination address of the second forward primary route and the second forward standby route is the IP address of the network side device. The next hop of the second forward main route is the network side device. The next hop of the second forward standby route is the third PE device. The sending module 802 is configured to send the first forward service data to the network side device through the second forward main route if the second channel is in a normal state. The sending module 802 is further configured to send the first forward service data to the network side device through the second forward standby route if the second channel is in an abnormal state.
应理解,关于双归保护装置的描述可以参考前述双归保护系统和双归保护方法的描述。双归保护装置的各个模块还可以用于执行前述双归保护系统中第一PE设备201或第二PE设备202可以执行的全部或部分操作。It should be understood that for the description of the dual-homing protection device, reference may be made to the foregoing descriptions of the dual-homing protection system and the dual-homing protection method. Each module of the dual-homing protection device can also be used to perform all or part of the operations that can be performed by the first PE device 201 or the second PE device 202 in the aforementioned dual-homing protection system.
上面对本申请中的双归保护装置进行描述,下面对本申请中的计算机设备进行描述。图9为本申请中提供的计算机设备的结构示意图。本申请中的计算机设备900可以是第一PE设备或第二PE设备。如图9所示,计算机设备900包括收发器902和存储器903。The dual-homing protection device in this application is described above, and the computer equipment in this application is described below. FIG. 9 is a schematic structural diagram of a computer device provided in this application. The computer device 900 in this application may be the first PE device or the second PE device. As shown in FIG. 9 , computer device 900 includes transceiver 902 and memory 903 .
其中,收发器902可以是无线射频模块或光纤收发模块。存储器903可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)等。易失性存储器可以是随机存取存储器(random access memory,RAM)。Wherein, the transceiver 902 may be a wireless radio frequency module or an optical fiber transceiver module. Memory 903 may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. Wherein, the non-volatile memory may be a read-only memory (read-only memory, ROM), a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM) and the like. The volatile memory may be random access memory (RAM).
当计算机设备900是第一PE设备时,收发器902用于从用户侧设备接收第一正向业务数据.第一PE设备与第二PE设备建立有第一OTN管道。第一PE设备与第三PE设备之间建立有第二OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。存储器903中存储有第一主路由和第一备路由。第一主路由和第一备路由的目的地址为网络侧设备的IP地址。第一主路由的下一跳为第二PE设备。第一备路由的下一跳为第三PE设备。收发器902还用于若第一OTN管道处于正常状态,则通过第一主路由向网络侧设备发送第一正向业务数据。收发器902还用于若第一OTN管道处于非正常状态,则通过第一备路由向网络侧设备发送第一正向业务数据。When the computer device 900 is the first PE device, the transceiver 902 is used to receive the first forward service data from the user side device. The first PE device and the second PE device establish a first OTN pipe. A second OTN pipe is established between the first PE device and the third PE device. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The first primary route and the first backup route are stored in the memory 903 . The destination addresses of the first primary route and the first backup route are the IP addresses of the network side devices. The next hop of the first main route is the second PE device. The next hop of the first standby route is the third PE device. The transceiver 902 is further configured to send the first forward service data to the network side device through the first main route if the first OTN pipe is in a normal state. The transceiver 902 is further configured to send the first forward service data to the network side device through the first backup route if the first OTN pipe is in an abnormal state.
当计算机设备900是第二PE设备时,收发器902用于从第一PE设备接收第一正向业务数据。第二PE设备和第三PE设备之间建立有第三OTN管道。第二PE设备和网络侧设备建立有第二通道。第三PE设备和网络侧设备建立有第三通道。存储器903中存储有第二正向主路由和第二正向备路由。第二正向主路由和第二正向备路由的目的地址为网络侧设备的IP地址。第二正向主路由的下一跳为网络侧设备。第二正向备路由的下一跳为第三PE设备。收发器902还用于若第二通道处于正常状态,则通过第二正向主路由向网络侧设备发送第一正向业务数据。收发器902还用于若第二通道处于非正常状态,则通过第二正向备路由向网络侧设备发送第一正向业务数据。When the computer device 900 is the second PE device, the transceiver 902 is configured to receive first forward service data from the first PE device. A third OTN pipe is established between the second PE device and the third PE device. A second channel is established between the second PE device and the network side device. A third channel is established between the third PE device and the network side device. The memory 903 stores the second forward primary route and the second forward standby route. The destination address of the second forward primary route and the second forward standby route is the IP address of the network side device. The next hop of the second forward main route is the network side device. The next hop of the second forward standby route is the third PE device. The transceiver 902 is further configured to send the first forward service data to the network side device through the second forward main route if the second channel is in a normal state. The transceiver 902 is further configured to send the first forward service data to the network side device through the second forward standby route if the second channel is in an abnormal state.
在其它实例中,计算机设备900还包括处理器901。处理器901可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。处理器901还可以进一步包括硬件芯片或其他通用处理器。上述硬件芯片可以是专用集成电路(application specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。存储器903中存储有可供处理器901执行的计算机程序。当处理器901读取并执行计算机程序时,可以执行上述双归保护系统或双归保护方法中第一PE设备或第二PE设备可以执行的全部或部分操作。In other examples, the computer device 900 also includes a processor 901 . The processor 901 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP) or a combination of CPU and NP. The processor 901 may further include a hardware chip or other general-purpose processors. The aforementioned hardware chip may be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. Computer programs executable by the processor 901 are stored in the memory 903 . When the processor 901 reads and executes the computer program, it can perform all or part of the operations that can be performed by the first PE device or the second PE device in the above-mentioned dual-homing protection system or dual-homing protection method.
本申请还提供一种数字处理芯片。该数字处理芯片中集成了用于实现上述处理器901 的功能的电路和一个或者多个接口。当该数字处理芯片中集成了存储器时,该数字处理芯片可以完成前述双归保护系统或双归保护方法中第一PE设备或第二PE设备可以执行的全部或部分操作。The present application also provides a digital processing chip. The digital processing chip integrates circuits and one or more interfaces for realizing the functions of the processor 901 described above. When the memory is integrated in the digital processing chip, the digital processing chip can complete all or part of the operations that can be performed by the first PE device or the second PE device in the aforementioned dual-homing protection system or dual-homing protection method.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should cover Within the protection scope of this application.

Claims (28)

  1. 一种双归保护系统,其特征在于,包括:A dual-homing protection system is characterized in that it comprises:
    第一服务提供商边缘PE设备、第二PE设备和第三PE设备;The first service provider edge PE device, the second PE device and the third PE device;
    所述第一PE设备与所述第二PE设备之间建立有第一光传输网络OTN管道,所述第一PE设备与所述第三PE设备之间建立有第二OTN管道,所述第二PE设备和网络侧设备建立有第二通道,所述第三PE设备和所述网络侧设备建立有第三通道;A first optical transport network OTN pipe is established between the first PE device and the second PE device, a second OTN pipe is established between the first PE device and the third PE device, and the first A second channel is established between the second PE device and the network side device, and a third channel is established between the third PE device and the network side device;
    所述第一PE设备配置有第一主路由和第一备路由,所述第一主路由和所述第一备路由的目的地址为所述网络侧设备的网际协议IP地址,所述第一主路由的下一跳为所述第二PE设备,所述第一备路由的下一跳为所述第三PE设备;The first PE device is configured with a first primary route and a first backup route, the destination address of the first primary route and the first backup route is the Internet Protocol IP address of the network side device, and the first The next hop of the main route is the second PE device, and the next hop of the first standby route is the third PE device;
    所述第一PE设备用于从用户侧设备接收第一正向业务数据;The first PE device is configured to receive first forward service data from a user-side device;
    若所述第一OTN管道处于正常状态,则所述第一PE设备用于通过所述第一主路由向所述网络侧设备发送所述第一正向业务数据;If the first OTN pipe is in a normal state, the first PE device is configured to send the first forward service data to the network side device through the first main route;
    若所述第一OTN管道处于非正常状态,则所述第一PE设备用于通过所述第一备路由向所述网络侧设备发送所述第一正向业务数据。If the first OTN pipe is in an abnormal state, the first PE device is configured to send the first forward service data to the network side device through the first standby route.
  2. 根据权利要求1所述的系统,其特征在于,所述第二PE设备配置有第二正向主路由和第二正向备路由,所述第二正向主路由和所述第二正向备路由的目的地址为所述网络侧设备的IP地址,所述第二正向主路由的下一跳为所述网络侧设备,所述第二正向备路由的下一跳为所述第三PE设备;The system according to claim 1, wherein the second PE device is configured with a second forward main route and a second forward standby route, and the second forward main route and the second forward The destination address of the backup route is the IP address of the network side device, the next hop of the second forward primary route is the network side device, and the next hop of the second forward backup route is the first Three PE equipment;
    若所述第一OTN管道处于正常状态,则所述第二PE设备用于从所述用户侧设备接收所述第一正向业务数据;If the first OTN pipe is in a normal state, the second PE device is configured to receive the first forward service data from the user side device;
    若所述第二通道处于正常状态,则所述第二PE设备用于通过所述第二正向主路由向所述网络侧设备发送所述第一正向业务数据;If the second channel is in a normal state, the second PE device is configured to send the first forward service data to the network side device through the second forward main route;
    若所述第二通道处于非正常状态,则所述第二PE设备用于通过所述第二正向备路由向所述网络侧设备发送所述第一正向业务数据。If the second channel is in an abnormal state, the second PE device is configured to send the first forward service data to the network side device through the second forward standby route.
  3. 根据权利要求1所述的系统,其特征在于,所述第三PE设备配置有第三正向主路由和第三正向备路由,所述第三正向主路由和所述第三正向备路由的目的地址为所述网络侧设备的IP地址,所述第三正向主路由的下一跳为所述网络侧设备,所述第三正向备路由的下一跳为所述第二PE设备;The system according to claim 1, wherein the third PE device is configured with a third forward main route and a third forward standby route, and the third forward main route and the third forward The destination address of the backup route is the IP address of the network side device, the next hop of the third forward primary route is the network side device, and the next hop of the third forward backup route is the first Two PE equipment;
    若所述第一OTN管道处于非正常状态,则所述第三PE设备用于从所述用户侧设备接收所述第一正向业务数据;If the first OTN pipe is in an abnormal state, the third PE device is configured to receive the first forward service data from the user side device;
    若所述第三通道处于正常状态,则所述第三PE设备用于通过所述第三正向主路由向所述网络侧设备发送所述第一正向业务数据;If the third channel is in a normal state, the third PE device is configured to send the first forward service data to the network side device through the third forward main route;
    若所述第三通道处于非正常状态,则所述第三PE设备用于通过所述第三正向备路由向所述网络侧设备发送所述第一正向业务数据。If the third channel is in an abnormal state, the third PE device is configured to send the first forward service data to the network side device through the third forward standby route.
  4. 根据权利要求1至3中任意一项所述的系统,其特征在于,A system according to any one of claims 1 to 3, characterized in that,
    所述第二PE设备配置有第二反向主路由和第二反向备路由,所述第二反向主路由和所述第二反向备路由的目的地址为所述用户侧设备的IP地址,所述第二反向主路由的下一跳为所述第一PE设备,所述第二正向备路由的下一跳为所述第三PE设备;The second PE device is configured with a second reverse main route and a second reverse backup route, and the destination address of the second reverse main route and the second reverse backup route is the IP address of the user-side device address, the next hop of the second reverse primary route is the first PE device, and the next hop of the second forward backup route is the third PE device;
    若所述第二通道处于正常状态,则所述第二PE设备用于从所述网络侧设备接收反向业务数据;If the second channel is in a normal state, the second PE device is used to receive reverse service data from the network side device;
    若所述第一OTN管道处于正常状态,则所述第二PE设备用于通过所述第二反向主路由向所述用户侧设备发送所述反向业务数据;If the first OTN pipe is in a normal state, the second PE device is configured to send the reverse service data to the user-side device through the second reverse main route;
    若所述第一OTN管道处于非正常状态,则所述第二PE设备用于通过所述第二反向备路由向所述用户侧设备发送所述反向业务数据。If the first OTN pipe is in an abnormal state, the second PE device is configured to send the reverse service data to the user side device through the second reverse backup route.
  5. 根据权利要求1至3中任意一项所述的系统,其特征在于,A system according to any one of claims 1 to 3, characterized in that,
    所述第三PE设备配置有第三反向主路由和第三反向备路由,所述第三反向主路由和所述第三正向备路由的目的地址为所述用户侧设备的IP地址,所述第三反向主路由的下一跳为所述第一PE设备,所述第三正向备路由的下一跳为所述第二PE设备;The third PE device is configured with a third reverse main route and a third reverse backup route, and the destination address of the third reverse main route and the third forward backup route is the IP address of the user-side device address, the next hop of the third reverse primary route is the first PE device, and the next hop of the third forward standby route is the second PE device;
    若所述第二通道处于非正常状态,则所述第三PE设备用于从所述网络侧设备接收反向业务数据;If the second channel is in an abnormal state, the third PE device is used to receive reverse service data from the network side device;
    若所述第二OTN管道处于正常状态,则所述第三PE设备用于通过所述第三反向主路由向所述用户侧设备发送所述反向业务数据;If the second OTN pipe is in a normal state, the third PE device is configured to send the reverse service data to the user-side device through the third reverse main route;
    若所述第二OTN管道处于非正常状态,则所述第二PE设备用于通过所述第三反向备路由向所述用户侧设备发送所述反向业务数据。If the second OTN pipe is in an abnormal state, the second PE device is configured to send the reverse service data to the user side device through the third reverse backup route.
  6. 根据权利要求1所述的系统,其特征在于,所述若所述第一OTN管道处于正常状态,则所述第一PE设备用于通过所述第一主路由向所述网络侧设备发送所述第一正向业务数据包括:The system according to claim 1, wherein if the first OTN pipe is in a normal state, the first PE device is configured to send the The above-mentioned first forward business data includes:
    若所述第一OTN管道和所述第二通道处于正常状态,则所述第一PE设备用于通过所述第一主路由向所述网络侧设备发送所述第一正向业务数据。If the first OTN pipe and the second channel are in a normal state, the first PE device is configured to send the first forward service data to the network side device through the first main route.
  7. 根据权利要求6所述的系统,其特征在于,The system according to claim 6, characterized in that,
    所述第一PE设备还用于从所述第二PE设备接收第一检测数据,根据所述第一检测数据确认所述第二通道是否处于正常状态。The first PE device is further configured to receive first detection data from the second PE device, and confirm whether the second channel is in a normal state according to the first detection data.
  8. 根据权利要求1至7中任意一项所述的系统,其特征在于,A system according to any one of claims 1 to 7, characterized in that,
    所述第一PE设备还用于从所述第二PE设备接收所述第一主路由的信息;The first PE device is further configured to receive information about the first main route from the second PE device;
    所述第一PE设备还用于从所述第三PE设备接收所述第一备路由的信息。The first PE device is further configured to receive information about the first standby route from the third PE device.
  9. 根据权利要求1至8中任意一项所述的系统,其特征在于,A system according to any one of claims 1 to 8, characterized in that,
    所述第一PE设备还用于通过OTN管道状态检测技术检测所述第一OTN管道是否处于正常状态。The first PE device is further configured to detect whether the first OTN pipe is in a normal state through an OTN pipe state detection technology.
  10. 根据权利要求1至9中任意一项所述的系统,其特征在于,A system according to any one of claims 1 to 9, characterized in that,
    所述第一PE设备用于从用户侧设备接收第一正向业务数据包括:The first PE device being used to receive the first forward service data from the user side device includes:
    所述第一PE设备用于通过第一光虚拟专用网OVPN从所述用户侧设备接收所述第一正向业务数据;The first PE device is configured to receive the first forward service data from the user-side device through a first optical virtual private network OVPN;
    所述第一PE设备还配置有第二主路由和第二备路由,所述第二主路由和所述第二备路由的目的地址为所述网络侧设备的IP地址,所述第二主路由的下一跳为所述第三PE设备,所述第二备路由的下一跳为所述第二PE设备;The first PE device is also configured with a second main route and a second backup route, the destination address of the second main route and the second backup route is the IP address of the network side device, and the second main route The next hop of the route is the third PE device, and the next hop of the second standby route is the second PE device;
    所述第一PE设备还用于通过第二OVPN从所述用户侧设备接收第二正向业务数据;The first PE device is further configured to receive second forward service data from the user side device through the second OVPN;
    若所述第二OTN管道处于正常状态,则所述第一PE设备还用于通过所述第二主路由向所述网络侧设备发送所述第二正向业务数据;If the second OTN pipe is in a normal state, the first PE device is further configured to send the second forward service data to the network side device through the second main route;
    若所述第二OTN管道处于非正常状态,则所述第一PE设备还用于通过所述第二备路由向所述网络侧设备发送所述第二正向业务数据。If the second OTN pipe is in an abnormal state, the first PE device is further configured to send the second forward service data to the network side device through the second standby route.
  11. 一种双归保护方法,其特征在于,包括:A dual-homing protection method is characterized in that it includes:
    第一服务提供商边缘PE设备从用户侧设备接收第一正向业务数据,所述第一PE设备与第二PE设备建立有第一光传送网络OTN管道,所述第一PE设备与第三PE设备之间建立有第二OTN管道,所述第二PE设备和网络侧设备建立有第二通道,所述第三PE设备和所述网络侧设备建立有第三通道;The first service provider edge PE device receives the first forward service data from the user side device, the first PE device and the second PE device establish a first optical transport network OTN pipe, the first PE device and the third PE device A second OTN pipeline is established between the PE devices, a second channel is established between the second PE device and the network side device, and a third channel is established between the third PE device and the network side device;
    所述第一PE设备配置有第一主路由和第一备路由,所述第一主路由和所述第一备路由的目的地址为所述网络侧设备的网际协议IP地址,所述第一主路由的下一跳为所述第二PE设备,所述第一备路由的下一跳为所述第三PE设备;The first PE device is configured with a first primary route and a first backup route, the destination address of the first primary route and the first backup route is the Internet Protocol IP address of the network side device, and the first The next hop of the main route is the second PE device, and the next hop of the first backup route is the third PE device;
    若所述第一OTN管道处于正常状态,则所述第一PE设备通过所述第一主路由向所述网络侧设备发送所述第一正向业务数据;If the first OTN pipe is in a normal state, the first PE device sends the first forward service data to the network side device through the first main route;
    若所述第一OTN管道处于非正常状态,则所述第一PE设备通过所述第一备路由向所述网络侧设备发送所述第一正向业务数据。If the first OTN pipe is in an abnormal state, the first PE device sends the first forward service data to the network side device through the first standby route.
  12. 根据权利要求11所述的方法,其特征在于,The method according to claim 11, characterized in that,
    所述若所述第一OTN管道处于正常状态,则所述第一PE设备通过所述第一主路由向所述网络侧设备发送所述第一正向业务数据包括:If the first OTN pipe is in a normal state, sending the first forward service data to the network side device by the first PE device through the first main route includes:
    若所述第一OTN管道和所述第二通道处于正常状态,则所述第一PE设备通过所述第一主路由向所述网络侧设备发送所述第一正向业务数据。If the first OTN pipe and the second channel are in a normal state, the first PE device sends the first forward service data to the network side device through the first main route.
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method according to claim 12, characterized in that the method further comprises:
    所述第一PE设备从所述第二PE设备接收第一检测数据;The first PE device receives first detection data from the second PE device;
    所述第一PE设备根据所述第一检测数据确认所述第二通道是否处于正常状态。The first PE device confirms whether the second channel is in a normal state according to the first detection data.
  14. 根据权利要求11至13中任意一项所述的方法,其特征在于,A method according to any one of claims 11 to 13, wherein
    所述第一PE设备从所述第二PE设备接收所述第一主路由的信息;The first PE device receives the information of the first main route from the second PE device;
    所述第一PE设备从所述第三PE设备接收所述第一备路由的信息。The first PE device receives the information of the first backup route from the third PE device.
  15. 根据权利要求11至14中任意一项所述的方法,其特征在于,A method according to any one of claims 11 to 14, wherein
    所述第一PE设备通过OTN管道状态检测技术检测所述第一OTN管道是否处于正常状态。The first PE device detects whether the first OTN pipe is in a normal state through an OTN pipe state detection technology.
  16. 根据权利要求11至15中任意一项所述的方法,其特征在于,A method according to any one of claims 11 to 15, wherein
    所述第一PE设备从用户侧设备接收第一正向业务数据包括:The receiving of the first forward service data by the first PE device from the user side device includes:
    所述第一PE设备通过第一光虚拟专用网OVPN从所述用户侧设备接收所述第一正向业务数据;The first PE device receives the first forward service data from the user-side device through a first optical virtual private network OVPN;
    所述第一PE设备还配置有第二主路由和第二备路由,所述第二主路由和所述第二备路由的目的地址为所述网络侧设备的IP地址,所述第二主路由的下一跳为所述第三PE设备,所述第二备路由的下一跳为所述第二PE设备;The first PE device is also configured with a second main route and a second backup route, the destination address of the second main route and the second backup route is the IP address of the network side device, and the second main route The next hop of the route is the third PE device, and the next hop of the second standby route is the second PE device;
    所述方法还包括:The method also includes:
    所述第一PE设备通过第二OVPN从所述用户侧设备接收第二正向业务数据;The first PE device receives second forward service data from the user side device through the second OVPN;
    若所述第二OTN管道处于正常状态,则所述第一PE设备通过所述第二主路由向所述网络侧设备发送所述第二正向业务数据;If the second OTN pipe is in a normal state, the first PE device sends the second forward service data to the network side device through the second main route;
    若所述第二OTN管道处于非正常状态,则所述第一PE设备通过所述第二备路由向所述网络侧设备发送所述第二正向业务数据。If the second OTN pipe is in an abnormal state, the first PE device sends the second forward service data to the network side device through the second standby route.
  17. 一种双归保护方法,其特征在于,包括:A dual-homing protection method is characterized in that it includes:
    第二服务提供商边缘PE设备从第一PE设备接收第一正向业务数据,所述第二PE设备和第三PE设备之间建立有第三光传送网络OTN管道,所述第二PE设备和网络侧设备建立有第二通道,所述第三PE设备和所述网络侧设备建立有第三通道;The second service provider edge PE device receives the first forward service data from the first PE device, a third optical transport network OTN pipe is established between the second PE device and the third PE device, and the second PE device establishing a second channel with the network side device, and establishing a third channel between the third PE device and the network side device;
    所述第二PE设备配置有第二正向主路由和第二正向备路由,所述第二正向主路由和所述第二正向备路由的目的地址为所述网络侧设备的IP地址,所述第二正向主路由的下一跳为所述网络侧设备,所述第二正向备路由的下一跳为所述第三PE设备;The second PE device is configured with a second forward primary route and a second forward standby route, and the destination address of the second forward primary route and the second forward standby route is the IP address of the network side device address, the next hop of the second forward primary route is the network side device, and the next hop of the second forward standby route is the third PE device;
    若所述第二通道处于正常状态,则所述第二PE设备通过所述第二正向主路由向所述网络侧设备发送所述第一正向业务数据;If the second channel is in a normal state, the second PE device sends the first forward service data to the network side device through the second forward main route;
    若所述第二通道处于非正常状态,则所述第二PE设备通过所述第二正向备路由向所述网络侧设备发送所述第一正向业务数据。If the second channel is in an abnormal state, the second PE device sends the first forward service data to the network side device through the second forward standby route.
  18. 根据权利要求17所述的方法,其特征在于,所述第一PE设备和所述第二PE设备建立有第一OTN管道,所述第一PE设备和所述第三PE设备建立有第二OTN管道,所述第一PE设备和用户侧设备建立有第一通道;The method according to claim 17, wherein a first OTN pipe is established between the first PE device and the second PE device, and a second OTN pipe is established between the first PE device and the third PE device. An OTN pipeline, where the first PE device and the user-side device establish a first channel;
    所述第二PE设备配置有第二反向主路由和第二反向备路由,所述第二反向主路由和所述第二反向备路由的目的地址为所述用户侧设备的IP地址,所述第二反向主路由的下一跳为所述第一PE设备,所述第二正向备路由的下一跳为所述第三PE设备;The second PE device is configured with a second reverse main route and a second reverse backup route, and the destination address of the second reverse main route and the second reverse backup route is the IP address of the user-side device address, the next hop of the second reverse primary route is the first PE device, and the next hop of the second forward backup route is the third PE device;
    所述方法还包括:The method also includes:
    所述第二PE设备从所述网络侧设备接收反向业务数据;The second PE device receives reverse service data from the network side device;
    若所述第一OTN管道处于正常状态,则所述第二PE设备通过所述第二反向主路由向所述用户侧设备发送所述反向业务数据;If the first OTN pipe is in a normal state, the second PE device sends the reverse service data to the user-side device through the second reverse main route;
    若所述第一OTN管道处于非正常状态,则所述第二PE设备通过所述第二反向备路由向所述用户侧设备发送所述反向业务数据。If the first OTN pipe is in an abnormal state, the second PE device sends the reverse service data to the user side device through the second reverse backup route.
  19. 根据权利要求18所述的方法,其特征在于,The method of claim 18, wherein,
    所述第二PE设备还用于通过OTN管道状态检测技术检测所述第一OTN管道是否处于正常状态。The second PE device is further configured to detect whether the first OTN pipe is in a normal state through an OTN pipe state detection technology.
  20. 根据权利要求18至19中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18 to 19, further comprising:
    所述第二PE设备从所述第一PE设备接收所述第二反向主路由的信息;The second PE device receives information about the second reverse primary route from the first PE device;
    所述第二PE设备从所述第三PE设备接收所述第二正向备路由的信息。The second PE device receives information about the second forward backup route from the third PE device.
  21. 一种双归保护装置,其特征在于,包括:A dual-homing protection device, characterized in that it comprises:
    接收模块,用于从用户侧设备接收第一正向业务数据,所述双归保护装置与第二服务提供商边缘PE设备建立有第一光传送网络OTN管道,所述双归保护装置与第三PE设备之间建立有第二OTN管道,所述第二PE设备和网络侧设备建立有第二通道,所述第三PE设 备和所述网络侧设备建立有第三通道;The receiving module is configured to receive the first forward service data from the user-side equipment, the dual-homing protection device and the second service provider edge PE equipment establish a first optical transport network OTN pipeline, the dual-homing protection device and the second service provider edge PE equipment A second OTN pipeline is established between the three PE devices, a second channel is established between the second PE device and the network side device, and a third channel is established between the third PE device and the network side device;
    发送模块,所述发送模块配置有第一主路由和第一备路由,所述第一主路由和所述第一备路由的目的地址为所述网络侧设备的网际协议IP地址,所述第一主路由的下一跳为所述第二PE设备,所述第一备路由的下一跳为所述第三PE设备;A sending module, the sending module is configured with a first primary route and a first backup route, the destination addresses of the first primary route and the first backup route are the Internet Protocol IP address of the network side device, and the second A next hop of the primary route is the second PE device, and a next hop of the first backup route is the third PE device;
    所述发送模块用于若所述第一OTN管道处于正常状态,则通过所述第一主路由向所述网络侧设备发送所述第一正向业务数据;The sending module is configured to send the first forward service data to the network side device through the first main route if the first OTN pipe is in a normal state;
    所述发送模块还用于若所述第一OTN管道处于非正常状态,则通过所述第一备路由向所述网络侧设备发送所述第一正向业务数据。The sending module is further configured to send the first forward service data to the network side device through the first standby route if the first OTN pipe is in an abnormal state.
  22. 根据权利要求21所述的装置,其特征在于,The device according to claim 21, characterized in that,
    所述接收模块还用于从所述第二PE设备接收所述第一主路由的信息;The receiving module is further configured to receive information of the first main route from the second PE device;
    所述接收模块还用于从所述第三PE设备接收所述第一备路由的信息。The receiving module is further configured to receive the information of the first backup route from the third PE device.
  23. 根据权利要求21或22所述的装置,其特征在于,所述装置还包括:The device according to claim 21 or 22, wherein the device further comprises:
    检测模块,用于通过OTN管道状态检测技术检测所述第一OTN管道是否处于正常状态。The detection module is configured to detect whether the first OTN pipe is in a normal state through the OTN pipe state detection technology.
  24. 根据权利要求21至23中任意一项所述的装置,其特征在于,Apparatus according to any one of claims 21 to 23, characterized in that
    所述接收模块用于从用户侧设备接收第一正向业务数据包括:The receiving module is used to receive the first forward service data from the user side equipment including:
    所述接收模块用于通过第一光虚拟专用网OVPN从所述用户侧设备接收所述第一正向业务数据;The receiving module is configured to receive the first forward service data from the user-side device through a first optical virtual private network OVPN;
    所述发送模块还配置有于第二主路由和第二备路由,所述第二主路由和所述第二备路由的目的地址为所述网络侧设备的IP地址,所述第二主路由的下一跳为所述第三PE设备,所述第二备路由的下一跳为所述第二PE设备;The sending module is also configured with a second main route and a second backup route, the destination address of the second main route and the second backup route is the IP address of the network side device, and the second main route The next hop of the second standby route is the third PE device, and the next hop of the second standby route is the second PE device;
    所述接收模块还用于通过第二OVPN从所述用户侧设备接收第二正向业务数据;The receiving module is further configured to receive second forward service data from the user-side device through the second OVPN;
    所述发送模块还用于若所述第二OTN管道处于正常状态,则通过所述第二主路由向所述网络侧设备发送所述第二正向业务数据;The sending module is further configured to send the second forward service data to the network side device through the second main route if the second OTN pipe is in a normal state;
    所述发送模块还用于若所述第二OTN管道处于非正常状态,则通过所述第二备路由向所述网络侧设备发送所述第二正向业务数据。The sending module is further configured to send the second forward service data to the network side device through the second standby route if the second OTN pipe is in an abnormal state.
  25. 一种双归保护装置,其特征在于,包括:A dual-homing protection device, characterized in that it comprises:
    接收模块,用于从第一服务提供商边缘PE设备接收第一正向业务数据,所述双归保护装置和第三PE设备之间建立有第三光传送网络OTN管道,所述双归保护装置和网络侧设备建立有第二通道,所述第三PE设备和所述网络侧设备建立有第三通道;A receiving module, configured to receive first forward service data from a first service provider edge PE device, a third optical transport network OTN pipeline is established between the dual-homing protection device and the third PE device, and the dual-homing protection A second channel is established between the device and the network-side device, and a third channel is established between the third PE device and the network-side device;
    发送模块,所述发送模块配置有第二正向主路由和第二正向备路由,所述第二正向主路由和所述第二正向备路由的目的地址为所述网络侧设备的IP地址,所述第二正向主路由的下一跳为所述网络侧设备,所述第二正向备路由的下一跳为所述第三PE设备;A sending module, the sending module is configured with a second forward main route and a second forward backup route, the destination addresses of the second forward main route and the second forward backup route are the IP address, the next hop of the second forward primary route is the network side device, and the next hop of the second forward standby route is the third PE device;
    所述发送模块用于若所述第二通道处于正常状态,则通过所述第二正向主路由向所述网络侧设备发送所述第一正向业务数据;The sending module is configured to send the first forward service data to the network side device through the second forward main route if the second channel is in a normal state;
    所述发送模块还用于若所述第二通道处于非正常状态,则通过所述第二正向备路由向所述网络侧设备发送所述第一正向业务数据。The sending module is further configured to send the first forward service data to the network side device through the second forward standby route if the second channel is in an abnormal state.
  26. 根据权利要求25所述的装置,其特征在于,所述第一PE设备和所述双归保护装置建立有第一OTN管道,所述第一PE设备和所述第三PE设备建立有第二OTN管道,所述第 一PE设备和用户侧设备建立有第一通道;The device according to claim 25, wherein a first OTN pipe is established between the first PE device and the dual-homing protection device, and a second OTN pipe is established between the first PE device and the third PE device. An OTN pipeline, where the first PE device and the user-side device establish a first channel;
    所述发送模块还配置有第二反向主路由和第二反向备路由,所述第二反向主路由和所述第二反向备路由的目的地址为所述用户侧设备的IP地址,所述第二反向主路由的下一跳为所述第一PE设备,所述第二正向备路由的下一跳为所述第三PE设备;The sending module is also configured with a second reverse main route and a second reverse backup route, and the destination address of the second reverse main route and the second reverse backup route is the IP address of the user-side device , the next hop of the second reverse primary route is the first PE device, and the next hop of the second forward standby route is the third PE device;
    所述接收模块还用于从所述网络侧设备接收反向业务数据;The receiving module is also used to receive reverse service data from the network side device;
    所述发送模块还用于若所述第一OTN管道处于正常状态,则通过所述第二反向主路由向所述用户侧设备发送所述反向业务数据;The sending module is further configured to send the reverse service data to the user-side device through the second reverse main route if the first OTN pipe is in a normal state;
    所述发送模块还用于若所述第一OTN管道处于非正常状态,则通过所述第二反向备路由向所述用户侧设备发送所述反向业务数据。The sending module is further configured to send the reverse service data to the user-side device through the second reverse standby route if the first OTN pipe is in an abnormal state.
  27. 根据权利要求26所述的装置,其特征在于,所述装置还包括:The device according to claim 26, further comprising:
    检测模块,用于通过OTN管道状态检测技术检测所述第一OTN管道是否处于正常状态。The detection module is configured to detect whether the first OTN pipe is in a normal state through the OTN pipe state detection technology.
  28. 根据权利要求26至27中任意一项所述的装置,其特征在于,Apparatus according to any one of claims 26 to 27, characterized in that
    所述接收模块还用于从所述第一PE设备接收所述第二反向主路由的信息;The receiving module is further configured to receive information of the second reverse main route from the first PE device;
    所述接收模块还用于从所述第三PE设备接收所述第二正向备路由的信息。The receiving module is further configured to receive the information of the second forward backup route from the third PE device.
PCT/CN2022/111079 2021-08-30 2022-08-09 Dual-homing protection system, dual-homing protection method, and related device WO2023029902A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111007545.1 2021-08-30
CN202111007545.1A CN115942157A (en) 2021-08-30 2021-08-30 Double-homing protection system, double-homing protection method and related equipment

Publications (1)

Publication Number Publication Date
WO2023029902A1 true WO2023029902A1 (en) 2023-03-09

Family

ID=85411945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/111079 WO2023029902A1 (en) 2021-08-30 2022-08-09 Dual-homing protection system, dual-homing protection method, and related device

Country Status (2)

Country Link
CN (1) CN115942157A (en)
WO (1) WO2023029902A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000173A1 (en) * 2013-07-05 2015-01-08 华为技术有限公司 Tunnel establishment method, label allocation method, device, and network system
US20160380823A1 (en) * 2015-06-23 2016-12-29 Cisco Technology, Inc. Virtual private network forwarding and nexthop to transport mapping scheme
CN108668308A (en) * 2017-03-30 2018-10-16 中国移动通信集团内蒙古有限公司 A kind of LTE PTN transmission nets and its static routing guard method
CN109474495A (en) * 2018-12-07 2019-03-15 新华三技术有限公司 A kind of tunnel detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000173A1 (en) * 2013-07-05 2015-01-08 华为技术有限公司 Tunnel establishment method, label allocation method, device, and network system
US20160380823A1 (en) * 2015-06-23 2016-12-29 Cisco Technology, Inc. Virtual private network forwarding and nexthop to transport mapping scheme
CN108668308A (en) * 2017-03-30 2018-10-16 中国移动通信集团内蒙古有限公司 A kind of LTE PTN transmission nets and its static routing guard method
CN109474495A (en) * 2018-12-07 2019-03-15 新华三技术有限公司 A kind of tunnel detection method and device

Also Published As

Publication number Publication date
CN115942157A (en) 2023-04-07

Similar Documents

Publication Publication Date Title
EP3429141B1 (en) Segment routing label switched path for non-segment routing enabled routers
US10003531B2 (en) Method for establishing tunnel, method for allocating label, device and network system
US10250459B2 (en) Bandwidth on-demand services in multiple layer networks
EP3249865B1 (en) Method and devices for constructing label and forwarding label packet
EP2747354B1 (en) Topology discovery, control channel establishment, and datapath provisioning within an aggregation network with centralized control
US9634928B2 (en) Mesh network of simple nodes with centralized control
WO2015131560A1 (en) Segment routing identifier allocation method and segment routing node
EP3484074B1 (en) Data center optical transport failure protection
US9571387B1 (en) Forwarding using maximally redundant trees
EP2601766B1 (en) System and method for virtual private local area network service to use the flow aware pseudowire
WO2012003743A1 (en) Method and apparatus for forwarding multicast traffic
US20170149685A1 (en) Address information publishing method and apparatus
CN112422307B (en) Method, equipment and system for EVPN and VPLS coexistence dual-activity
US8897295B2 (en) Method and system for providing traffic engineering interworking
KR102245989B1 (en) Redundancy Administrating Method for a Virtual Private Network and Network Switching Apparatus with the method implemented on it
EP2410700B1 (en) Network communication system, communication apparatus, network cooperation method, and program
EP2239956B1 (en) Method, apparatus and system for ip/optical convergence
ES2844098T3 (en) Method of establishment of service paths, node device and system
WO2012109860A1 (en) Method, device and system for establishing label switching path
WO2023029902A1 (en) Dual-homing protection system, dual-homing protection method, and related device
KR20210037086A (en) network switching administrating method utilizing virtual anycast node
WO2013000384A1 (en) Network configuration method, ring network system, and node
JP3882626B2 (en) Signaling scheme for loopback protection in dual ring networks
CN106878173B (en) Route sending method and device
CN111885630B (en) Data transmission method and communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22863043

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE