CN115314103A - A data transmission method, device and chip for optical transmission network - Google Patents
A data transmission method, device and chip for optical transmission network Download PDFInfo
- Publication number
- CN115314103A CN115314103A CN202110490713.0A CN202110490713A CN115314103A CN 115314103 A CN115314103 A CN 115314103A CN 202110490713 A CN202110490713 A CN 202110490713A CN 115314103 A CN115314103 A CN 115314103A
- Authority
- CN
- China
- Prior art keywords
- communication link
- otn device
- otn
- communication
- link
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/03—Arrangements for fault recovery
- H04B10/032—Arrangements for fault recovery using working and protection systems
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开一种光传送网络的数据传输方法、装置及芯片,用以实现复杂场景的倒换保护需求。在光传送网络至少包括第一OTN设备、第二OTN设备和第三OTN设备,任两个通信链路之间均建立有传输业务数据的通信链路,第二OTN设备与第三OTN设备均通过通信链路与交换侧连接。第二OTN设备可以收集涉及本设备的通信链路的工作状态,并收集第三OTN设备的各通信链路的工作状态,根据各个通信链路的工作状态来确定第一OTN设备与交换侧之间传输业务数据经过哪些通信链路。在某条通信链路或者OTN设备出现故障时,能够实现及时的切换传输路径,防止业务发生中断。
The present application discloses a data transmission method, device and chip for an optical transport network, which are used to meet switching protection requirements in complex scenarios. The optical transport network includes at least a first OTN device, a second OTN device and a third OTN device, and a communication link for transmitting service data is established between any two communication links, and both the second OTN device and the third OTN device are It is connected to the switching side through a communication link. The second OTN device can collect the working status of the communication link involving the device, and collect the working status of each communication link of the third OTN device, and determine the relationship between the first OTN device and the switching side according to the working status of each communication link. which communication links are used to transmit service data between them. When a communication link or OTN device fails, it can switch the transmission path in time to prevent service interruption.
Description
技术领域technical field
本申请实施例涉及光通信技术领域,尤其涉及一种光传送网络的数据传输方法、装置及芯片。The embodiments of the present application relate to the technical field of optical communication, and in particular, to a data transmission method, device, and chip for an optical transport network.
背景技术Background technique
子网连接保护(sub-network connection protection,SNCP)指对某一子网连接预先安排专用的保护路由,一旦子网发生故障,专用保护路由便取代子网承担在整个网络中的传送任务。SNCP是目前光传送网络(optical transport network,OTN)硬管道保护的关键技术。SNCP支持“同源同宿”,但是不能支持“同源异宿”,也就是不能满足在同一源端对应两个宿端的倒换保护,因此不能满足复杂场景下的倒换保护需求。Sub-network connection protection (SNCP) refers to pre-arranging a dedicated protection route for a subnet connection. Once a subnet fails, the dedicated protection route will replace the subnet to undertake the transmission task in the entire network. The SNCP is currently a key technology for hard pipe protection of an optical transport network (OTN). SNCP supports "same source, same sink", but cannot support "same source, different sinks", that is, it cannot meet the switching protection for two sinks corresponding to the same source, so it cannot meet the switching protection requirements in complex scenarios.
发明内容Contents of the invention
本申请实施例提供一种光传送网络的数据传输方法、装置及芯片,用于实现复杂场景下的倒换保护需求。Embodiments of the present application provide a data transmission method, device, and chip for an optical transport network, which are used to realize switching protection requirements in complex scenarios.
第一方面,本申请实施例提供一种光传送网络的数据传输方法,应用于至少包括第一光传送网络OTN设备、第二OTN设备和第三OTN设备的光传送网络中,所述方法包括:所述第二OTN设备监测第一通信链路、第三通信链路和第四通信链路的工作状态,并从所述第三OTN设备获取第二通信链路和第五通信链路的工作状态;所述第一通信链路用于连接所述第二OTN设备与第一OTN设备,所述第二通信链路用于连接所述第一OTN设备与所述第三OTN设备,所述第三通信链路用于连接所述第二OTN设备与所述第三OTN设备,所述第四通信链路用于连接所述第二OTN设备与交换侧,所述第五通信链路用于连接第三OTN设备与所述交换侧;所述第二OTN设备根据所述第一通信链路、第二通信链路、第三通信链路、第四通信链路以及所以第五通信链路的工作状态控制所述第一OTN设备与所述交换侧之间传输所述业务数据的传输路径。上述方法中,通过第二OTN设备与第三OTN设备构成一个保护组,其中一个OTN设备用于收集属于同一个保护组的两个OTN设备的各个通信链路的工作状态,进而根据各个通信链路的工作状态,比如某个通信链路故障,能够及时的切换传输路径,从而能够控制所保护的第一OTN设备与交换侧之间的业务数据的传输。In a first aspect, an embodiment of the present application provides a data transmission method for an optical transport network, which is applied to an optical transport network including at least a first optical transport network OTN device, a second OTN device, and a third OTN device, and the method includes : the second OTN device monitors the working status of the first communication link, the third communication link and the fourth communication link, and acquires the information of the second communication link and the fifth communication link from the third OTN device Working state; the first communication link is used to connect the second OTN device to the first OTN device, and the second communication link is used to connect the first OTN device to the third OTN device, so The third communication link is used to connect the second OTN device and the third OTN device, the fourth communication link is used to connect the second OTN device and the switching side, and the fifth communication link Used to connect the third OTN device with the switching side; the second OTN device communicates according to the first communication link, the second communication link, the third communication link, the fourth communication link and all the fifth communication links The working state of the link controls a transmission path for transmitting the service data between the first OTN device and the switching side. In the above method, a protection group is formed by the second OTN device and the third OTN device, wherein one OTN device is used to collect the working status of each communication link of the two OTN devices belonging to the same protection group, and then according to each communication link The working status of the path, such as a communication link failure, can switch the transmission path in time, so as to control the transmission of service data between the protected first OTN device and the switching side.
在一种可能的设计中,所述方法还包括:所述第二OTN设备与所述第三OTN设备之间通过所述第三通信链路协商所述第二OTN设备为主OTN设备,所述第三OTN设备为备OTN设备。第二OTN设备与第三OTN设备之间协商哪一个OTN设备作为主OTN设备,哪一个OTN设备作为备OTN设备,实现简单且有效。In a possible design, the method further includes: negotiating between the second OTN device and the third OTN device through the third communication link that the second OTN device is the master OTN device, so The third OTN device is the standby OTN device. Negotiation between the second OTN device and the third OTN device which OTN device is to be the master OTN device and which OTN device is to be the backup OTN device is simple and effective.
在一种可能的设计中,第二OTN设备与第三OTN设备通过设备优先级来协商哪一个OTN设备作为主OTN设备,哪一个OTN设备作为备OTN设备。比如,第二OTN设备的优先级高于所述第三OTN设备的优先级。In a possible design, the second OTN device and the third OTN device negotiate which OTN device is to be the master OTN device and which OTN device is to be the backup OTN device through device priorities. For example, the priority of the second OTN device is higher than the priority of the third OTN device.
第二OTN设备与第三OTN设备之间通过设备的标识符的大小来协商主OTN设备和备OTN设备,比如第二OTN设备的标识符小于第三OTN设备的标识符,第二OTN设备作为主OTN设备。再比如,所述第二OTN设备的标识符大于第三OTN设备的标识符,第二OTN设备作为主OTN设备。The master OTN device and the standby OTN device are negotiated between the second OTN device and the third OTN device through the size of the device identifier. For example, the identifier of the second OTN device is smaller than the identifier of the third OTN device, and the second OTN device acts as Master OTN device. For another example, the identifier of the second OTN device is greater than the identifier of the third OTN device, and the second OTN device serves as the master OTN device.
第二OTN设备与第三OTN设备可以先通过设备的优先级协商哪一个OTN设备作为主OTN设备,当两个设备的优先级相同时,可以进一步通过设备的标识符的大小来协商哪一个OTN设备为主OTN设备。The second OTN device and the third OTN device can first negotiate which OTN device is the master OTN device according to the priority of the devices. When the priorities of the two devices are the same, they can further negotiate which OTN device according to the size of the device identifier. The device is the master OTN device.
在一种可能的设计中,从所述第三OTN设备获取所述第二通信链路和所述第五通信链路的工作状态,包括:所述第二OTN设备接收所述第三OTN设备通过所述第三通信链路发送所述第二通信链路的工作状态和所述第五通信链路的工作状态。上述设计中,第三OTN设备可以实时监测本设备的各个通信链路的工作状态,从而可以将本设备的各个通信链路的工作状态上报给第二OTN设备。In a possible design, acquiring the working statuses of the second communication link and the fifth communication link from the third OTN device includes: the second OTN device receiving the third OTN device Sending the working status of the second communication link and the working status of the fifth communication link through the third communication link. In the above design, the third OTN device can monitor the working status of each communication link of the device in real time, so as to report the working status of each communication link of the device to the second OTN device.
在一种可能的设计中,所述第二OTN设备根据所述第一通信链路、第二通信链路、第三通信链路、第四通信链路以及所以第五通信链路的工作状态控制所述第一OTN设备与所述交换侧之间传输业务数据所经过的传输路径,包括:所述第二OTN设备根据所述第一通信链路、第二通信链路、第三通信链路、第四通信链路以及第五通信链路的工作状态,控制所述第一通信链路、所述第三通信链路和所述第四通信链路中任两个通信链路之间在所述第二OTN设备上的连通状态,并向所述第三OTN设备发送控制信息,所述控制信息指示所述第二通信链路、所述第三通信链路、以及所述第五通信链路中任两个通信链路之间在所述第三OTN设备上的连通状态。上述设计中,第二OTN设备根据两个设备的各个通信链路的工作状态来设置本设备的三个通信链路之间的连通状态,以及通过控制信息控制第三OTN设备的三个通信链路之间的连通状态,进而实现根据各个通信链路的工作状态,比如某个通信链路故障,能够及时的切换传输路径,从而能够控制所保护的第一OTN设备与交换侧之间的业务数据的传输,防止业务中断。In a possible design, the second OTN device according to the working status of the first communication link, the second communication link, the third communication link, the fourth communication link and all the fifth communication links Controlling the transmission path through which the service data is transmitted between the first OTN device and the switching side includes: the second OTN device road, the fourth communication link, and the fifth communication link, and control the communication between any two communication links in the first communication link, the third communication link, and the fourth communication link connected state on the second OTN device, and send control information to the third OTN device, the control information indicating the second communication link, the third communication link, and the fifth A connectivity status on the third OTN device between any two communication links in the communication links. In the above design, the second OTN device sets the connection status between the three communication links of the device according to the working status of each communication link of the two devices, and controls the three communication links of the third OTN device through the control information The connectivity status between the paths, and then realize the switching of the transmission path in time according to the working status of each communication link, such as a communication link failure, so as to control the business between the protected first OTN equipment and the switching side Data transmission to prevent business interruption.
在一种可能的设计中,所述控制所述第一通信链路、所述第三通信链路和所述第四通信链路中任两个通信链路之间在所述第二OTN设备上的连通状态,包括:在所述第一通信链路存在故障,并且所述第二通信链路、所述第三通信链路和所述第四通信链路的工作状态均为正常时,在所述第二OTN设备上控制所述第三通信链路与所述第四通信链路之间连通、控制所述第一通信链路与所述第三通信链路之间不连通,以及控制所述第一通信链路与所述第四通信链路之间不连通。上述设计中,在第一OTN设备与第二OTN设备之间的通信链路故障时,可以通过第三OTN设备通过第三通信链路转发到第二OTN设备上,再传输给交换侧,交换侧无需感知到第一通信链路的故障。In a possible design, the control between any two communication links among the first communication link, the third communication link, and the fourth communication link is between the second OTN device The connected state on the network includes: when the first communication link has a fault, and the working states of the second communication link, the third communication link and the fourth communication link are all normal, controlling the connection between the third communication link and the fourth communication link, controlling the disconnection between the first communication link and the third communication link on the second OTN device, and Controlling the disconnection between the first communication link and the fourth communication link. In the above design, when the communication link between the first OTN device and the second OTN device fails, it can be forwarded to the second OTN device by the third OTN device through the third communication link, and then transmitted to the switching side, and the switching The side need not be aware of the failure of the first communication link.
在一种可能的设计中,所述方法还包括:在所述第一通信链路存在故障时,所述第二OTN设备通过所述第三通信链路接收所述第三OTN设备发送的OTN数据帧,所述OTN数据帧承载来自第一OTN设备的业务数据;所述第二OTN设备从所述ONT数据帧获取所述业务数据,通过所述第四通信链路向所述交换侧发送所述业务数据。In a possible design, the method further includes: when the first communication link is faulty, the second OTN device receives the OTN message sent by the third OTN device through the third communication link. A data frame, the OTN data frame carrying service data from the first OTN device; the second OTN device obtains the service data from the ONT data frame, and sends it to the switching side through the fourth communication link The business data.
在一种可能的设计中,在所述第一通信链路存在故障,并且所述第二通信链路、所述第三通信链路和所述第四通信链路的工作状态均为正常时,所述控制信息指示所述第二通信链路与所述第三通信链路之间连通,所述第二通信链路与所述第五通信链路之间不连通,所述第三通信链路与所述第五通信链路之间不连通。In a possible design, when there is a fault in the first communication link, and the working states of the second communication link, the third communication link and the fourth communication link are all normal , the control information indicates that the second communication link is connected to the third communication link, the second communication link is not connected to the fifth communication link, and the third communication link There is no communication between the link and the fifth communication link.
在一种可能的设计中,所述控制所述第一通信链路、所述第三通信链路和所述第四通信链路中任两个通信链路之间在所述第二OTN设备上的连通状态,包括:In a possible design, the control between any two communication links among the first communication link, the third communication link, and the fourth communication link is between the second OTN device connectivity status on , including:
在所述第四通信链路存在故障,并且所述第一通信链路、所述第三通信链路以及第五通信链路的工作状态为正常时,在所述第二OTN设备上控制所述第一通信链路与所述第三通信链路之间连通、控制所述第一通信链路与所述第四通信链路之间不连通,以及控制所述第三通信链路与所述第四通信链路之间不连通。When there is a fault in the fourth communication link, and the working status of the first communication link, the third communication link, and the fifth communication link is normal, on the second OTN device, control the communicate between the first communication link and the third communication link, control the disconnection between the first communication link and the fourth communication link, and control the connection between the third communication link and the fourth communication link The fourth communication links are disconnected.
在一种可能的设计中,在所述第四通信链路存在故障,并且所述第一通信链路、所述第三通信链路以及第五通信链路的工作状态为正常时,所述控制信息指示所述第二通信链路与所述第三通信链路之间不连通,控制所述第二通信链路与所述第五通信链路之间不连通,所述第三通信链路与所述第五通信链路之间连通。上述设计中,在第二OTN设备与交换侧之间的通信链路故障时,通过第一通信链路接收数据,然后通过第三通信链路转发到第三OTN设备上,再传输给交换侧。In a possible design, when the fourth communication link is faulty and the working states of the first communication link, the third communication link and the fifth communication link are normal, the The control information indicates that the second communication link is disconnected from the third communication link, and the communication link between the second communication link and the fifth communication link is controlled to be disconnected, and the third communication link The road communicates with the fifth communication link. In the above design, when the communication link between the second OTN device and the switching side fails, the data is received through the first communication link, then forwarded to the third OTN device through the third communication link, and then transmitted to the switching side .
在一种可能的设计中,所述方法还包括:所述第二OTN设备通过所述第一通信链路接收来自第一OTN设备的OTN数据帧;在所述第四通信链路存在故障时,所述第二OTN设备通过所述第三通信链路向所述第三OTN设备发送所述OTN数据帧。In a possible design, the method further includes: the second OTN device receiving the OTN data frame from the first OTN device through the first communication link; when the fourth communication link fails , the second OTN device sends the OTN data frame to the third OTN device through the third communication link.
在一种可能的设计中,控制所述第一通信链路、所述第三通信链路和所述第四通信链路中任两个通信链路之间在所述第二OTN设备上的连通状态,包括:In a possible design, control the connection between any two communication links among the first communication link, the third communication link, and the fourth communication link on the second OTN device connectivity status, including:
控制所述第二OTN设备上用于传输所述业务数据的端口的开关状态,所述第二OTN设备上用于传输所述业务数据的端口包括所述第二OTN设备上第一通信链路的用于传输所述业务数据的第一端口、第三通信链路的用于传输所述业务数据的第二端口或者所述第四通信链路上用于传输所述业务数据的第三端口中的一项或者多项,其中,第一端口、第二端口以及第三端口中任两个端口之间具有连接通道;controlling the switch state of the port used to transmit the service data on the second OTN device, where the port used to transmit the service data on the second OTN device includes the first communication link on the second OTN device The first port used to transmit the service data, the second port used to transmit the service data on the third communication link, or the third port used to transmit the service data on the fourth communication link One or more of the above, wherein there is a connection channel between any two of the first port, the second port and the third port;
所述控制信息指示所述第三OTN设备上用于传输所述业务数据的端口的开关状态;所述第三OTN设备上用于传输所述业务数据的端口包括所述第三OTN设备上第二通信链路的用于传输所述业务数据的第四端口、第三通信链路的用于传输所述业务数据的第五端口或者所述第五通信链路上用于传输所述业务数据的第六端口中的一项或者多项,所述第四端口、第五端口以及第六端口中任两个端口之间具有连接通道。The control information indicates the switch state of the port used to transmit the service data on the third OTN device; the port used to transmit the service data on the third OTN device includes the port on the third OTN device The fourth port of the second communication link for transmitting the service data, the fifth port of the third communication link for transmitting the service data, or the fifth communication link for transmitting the service data One or more of the sixth ports, there is a connection channel between any two of the fourth port, the fifth port and the sixth port.
上述设计中,第二OTN设备通过控制两个OTN设备的端口的开关状态来实现任两个通信链路之间的连通或者不连通,实现简单且有效。In the above design, the second OTN device realizes connection or disconnection between any two communication links by controlling the switch states of the ports of the two OTN devices, which is simple and effective.
在一种可能的设计中,在所述第一通信链路存在故障,并且所述第二通信链路、所述第四通信链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备控制第二端口和第三端口的开关状态均为开启,所述第一端口的开关状态为关闭;所述控制信息指示第四端口的开关状态和第五端口的开关状态均为开启以及所述第六端口的开关状态为关闭。上述设计中,在第一OTN设备与第二OTN设备之间的通信链路故障时,可以通过第三OTN设备通过第三通信链路转发到第二OTN设备上,再传输给交换侧,交换侧无需感知到第一通信链路的故障。In a possible design, there is a fault in the first communication link, and the working states of the second communication link, the fourth communication link and the third communication link are all working normally , the second OTN device controls the switch state of the second port and the third port to be on, and the switch state of the first port is off; the control information indicates the switch state of the fourth port and the switch state of the fifth port The switch states are all on and the switch state of the sixth port is off. In the above design, when the communication link between the first OTN device and the second OTN device fails, it can be forwarded to the second OTN device by the third OTN device through the third communication link, and then transmitted to the switching side, and the switching The side need not be aware of the failure of the first communication link.
在一种可能的设计中,在所述第四通信链路存在故障,并且所述第一通信链路、所述第五链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备配置的第一端口和第二端口的开关状态均为开启、所述第三端口的状态为关闭;所述控制信息指示第四端口的开关状态为关闭,所述第五端口的开关状态和所述第六端口的开关状态均为开启。上述设计中,在第二OTN设备与交换侧之间的通信链路故障时,通过设置各个端口的开关状态,从而实现通过第一通信链路接收数据,然后通过第三通信链路转发到第三OTN设备上,再传输给交换侧。In a possible design, when there is a fault in the fourth communication link, and the working states of the first communication link, the fifth link and the third communication link are all working normally , the switch states of the first port and the second port configured by the second OTN device are both open, and the state of the third port is closed; the control information indicates that the switch state of the fourth port is closed, and the state of the first port is closed. Both the switch state of the fifth port and the switch state of the sixth port are on. In the above design, when the communication link between the second OTN device and the switching side fails, by setting the switch state of each port, the data is received through the first communication link, and then forwarded to the second OTN device through the third communication link. Three OTN equipment, and then transmitted to the switching side.
在一种可能的设计中,控制所述第一通信链路、所述第三通信链路和所述第四通信链路中任两个通信链路之间在所述第二OTN设备上的连通状态,包括:控制所述第二OTN设备上用于传输所述业务数据的任两个端口的连通状态,所述第二OTN设备上用于传输所述业务数据的端口包括所述第二OTN设备上第一通信链路的用于传输所述业务数据的第一端口、第三通信链路的用于传输所述业务数据的第二端口或者所述第四通信链路上用于传输所述业务数据的第三端口中的一项或者多项;所述控制信息指示所述第三OTN设备上用于传输所述业务数据的任两个端口的连通状态;所述第三OTN设备上用于传输所述业务数据的端口包括所述第三OTN设备上第二通信链路的用于传输所述业务数据的第四端口、第三通信链路的用于传输所述业务数据的第五端口或者所述第五通信链路上用于传输所述业务数据的第六端口中的一项或者多项。上述设计中,第二OTN设备通过控制两个OTN上的端口之间的连通状态,从而实现各个通信链路之间连通或者不连通,实现简单且有效。In a possible design, control the connection between any two communication links among the first communication link, the third communication link, and the fourth communication link on the second OTN device The connected state includes: controlling the connected state of any two ports used to transmit the service data on the second OTN device, where the port used to transmit the service data on the second OTN device includes the second The first port used to transmit the service data on the first communication link on the OTN device, the second port used to transmit the service data on the third communication link, or the second port used to transmit the service data on the fourth communication link One or more of the third ports of the service data; the control information indicates the connection status of any two ports used to transmit the service data on the third OTN device; the third OTN device The port used to transmit the service data on the third OTN device includes a fourth port used to transmit the service data on the second communication link on the third OTN device, and a fourth port used to transmit the service data on the third communication link. One or more of the fifth port or the sixth port on the fifth communication link for transmitting the service data. In the above design, the second OTN device controls the connection state between the ports on the two OTNs, so as to realize the connection or non-connection between the communication links, which is simple and effective.
在一种可能的设计中,在所述第一通信链路存在故障,并且所述第二通信链路、所述第四通信链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备控制所述第二端口与所述第三端口之间连通、所述第一端口与所述第二端口之间未连通、所述第一端口与所述第三端口之间未连通;所述控制信息指示所述第四端口与所述第五端口之间连通、所述第四端口与所述第六端口之间未连通以及所述第五端口与所述第六端口之间未连通。上述设计中,在第一OTN设备与第二OTN设备之间的通信链路故障时,可以通过设置任两个端口之间的连通状态,从而实现第三OTN设备通过第三通信链路转发到第二OTN设备上,再传输给交换侧,交换侧无需感知到第一通信链路的故障。In a possible design, there is a fault in the first communication link, and the working states of the second communication link, the fourth communication link and the third communication link are all working normally , the second OTN device controls the communication between the second port and the third port, the communication between the first port and the second port, and the communication between the first port and the third port. There is no communication between the ports; the control information indicates that there is communication between the fourth port and the fifth port, there is no communication between the fourth port and the sixth port, and the connection between the fifth port and the There is no communication between the sixth ports. In the above design, when the communication link between the first OTN device and the second OTN device fails, the connection status between any two ports can be set, so that the third OTN device forwards to On the second OTN device, it is then transmitted to the switch side, and the switch side does not need to sense the failure of the first communication link.
在一种可能的设计中,在所述第四通信链路存在故障,并且所述第一通信链路、所述第五链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备控制所述第一端口和第二端口之间连通、所述第一端口与第三端口之间未连通以及所述第二端口与所述第三端口之间未连通;所述控制信息指示所述第五端口与所述第六端口之间连通,所述第四端口与所述第五端口之间未连通,所述第四端口与所述第六端口之间未连通。In a possible design, when there is a fault in the fourth communication link, and the working states of the first communication link, the fifth link and the third communication link are all working normally , the second OTN device controls communication between the first port and the second port, disconnection between the first port and the third port, and disconnection between the second port and the third port ; The control information indicates that the fifth port is connected to the sixth port, the fourth port is not connected to the fifth port, and the fourth port is connected to the sixth port. Not connected.
上述设计中,在第二OTN设备与交换侧之间的通信链路故障时,通过设置任两个端口之间的连通状态,从而实现通过第一通信链路接收数据,然后通过第三通信链路转发到第三OTN设备上,再传输给交换侧。In the above design, when the communication link between the second OTN device and the switching side fails, by setting the connection state between any two ports, it is possible to receive data through the first communication link, and then through the third communication link The road is forwarded to the third OTN device, and then transmitted to the switching side.
在一种可能的设计中,控制所述第一通信链路、所述第三通信链路和所述第四通信链路中任两个通信链路之间在所述第二OTN设备上的连通状态,包括:控制所述第二OTN设备上用于传输所述业务数据的第一端口、第二端口和第三端口中每个端口选择从其它两个端口接收数据的选择状态,第一端口为所述第二OTN设备上第一通信链路的端口、第二端口为第二OTN设备上第三通信链路的端口和第三端口为第二OTN设备上第四通信链路的端口。所述控制信息指示所述第三OTN设备上用于传输业务数据的第四端口、第五端口以及第六端口中每个端口选择从其它两个端口接收数据的选择状态。第四端口为第三OTN设备上第二通信链路的端口,第五端口为第三OTN设备上第三通信链路的端口,第六端口为第三OTN设备上第五通信链路的端口。上述设计中,第二OTN设备通过控制两个OTN上的端口的选择状态,从而实现各个通信链路之间连通或者不连通,实现简单且有效。In a possible design, control the connection between any two communication links among the first communication link, the third communication link, and the fourth communication link on the second OTN device Connected state, including: controlling the selection state of each of the first port, the second port and the third port used to transmit the service data on the second OTN device to select and receive data from the other two ports, the first The port is a port of the first communication link on the second OTN device, the second port is a port of the third communication link on the second OTN device, and the third port is a port of the fourth communication link on the second OTN device . The control information instructs each of the fourth port, the fifth port, and the sixth port on the third OTN device to select a selection state for receiving data from the other two ports. The fourth port is the port of the second communication link on the third OTN device, the fifth port is the port of the third communication link on the third OTN device, and the sixth port is the port of the fifth communication link on the third OTN device . In the above design, the second OTN device controls the selection states of the ports on the two OTNs to realize connectivity or disconnection between communication links, which is simple and effective.
在一种可能的设计中,在所述第一通信链路存在故障,并且所述第二通信链路、所述第四通信链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备控制所述第三端口选择第二端口用于接收业务数据,第二端口选择第三端口用于接收业务数据。所述控制信息指示所述第五端口从第四端口接收业务数据,所述第四端口从第五端口接收业务数据。第六端口可以不接收业务数据。上述设计中,在第一OTN设备与第二OTN设备之间的通信链路故障时,可以通过设置端口选择端口的选择状态,从而实现第三OTN设备通过第三通信链路转发到第二OTN设备上,再传输给交换侧,交换侧无需感知到第一通信链路的故障。In a possible design, there is a fault in the first communication link, and the working states of the second communication link, the fourth communication link and the third communication link are all working normally , the second OTN device controls the third port to select the second port for receiving service data, and the second port selects the third port for receiving service data. The control information instructs the fifth port to receive service data from the fourth port, and the fourth port receives service data from the fifth port. The sixth port may not receive service data. In the above design, when the communication link between the first OTN device and the second OTN device fails, the selection state of the port can be selected by setting the port, so that the third OTN device forwards to the second OTN through the third communication link on the device, and then transmit to the switching side, and the switching side does not need to sense the failure of the first communication link.
在一种可能的设计中,在所述第四通信链路存在故障,并且所述第一通信链路、所述第五链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备控制所述第一端口选择第二端口接收业务数据,第二端口选择第一端口接收业务数据。所述控制信息指示所述第四端口选择第六端口接收业务数据,所述第六端口选择第四端口接收业务数据。上述设计中,在第二OTN设备与交换侧之间的通信链路故障时,通过设置端口选择其他端口的选择状态,从而实现通过第一通信链路接收数据,然后通过第三通信链路转发到第三OTN设备上,再传输给交换侧。In a possible design, when there is a fault in the fourth communication link, and the working states of the first communication link, the fifth link and the third communication link are all working normally , the second OTN device controls the first port to select the second port to receive service data, and the second port selects the first port to receive service data. The control information instructs the fourth port to select the sixth port to receive service data, and the sixth port selects the fourth port to receive service data. In the above design, when the communication link between the second OTN device and the switching side fails, the selection status of other ports is selected by setting the port, so as to receive data through the first communication link and then forward it through the third communication link to the third OTN device, and then transmitted to the switching side.
在一种可能的设计中,控制所述第一通信链路、所述第三通信链路和所述第四通信链路中任两个通信链路之间在所述第二OTN设备上的连通状态,包括:控制所述第二OTN设备上用于传输所述业务数据的第一端口、第二端口和第三端口中每个端口选择向其它两个端口发送业务数据的选择状态,第一端口为所述第二OTN设备上第一通信链路的端口、第二端口为第二OTN设备上第三通信链路的端口和第三端口为第二OTN设备上第四通信链路的端口。所述控制信息指示所述第三OTN设备上用于传输业务数据的第四端口、第五端口以及第六端口中每个端口选择向其它两个端口发送业务数据的选择状态。第四端口为第三OTN设备上第二通信链路的端口,第五端口为第三OTN设备上第三通信链路的端口,第六端口为第三OTN设备上第五通信链路的端口。上述设计中,第二OTN设备通过控制两个OTN上的端口的选择状态,从而实现各个通信链路之间连通或者不连通,实现简单且有效。In a possible design, control the connection between any two communication links among the first communication link, the third communication link, and the fourth communication link on the second OTN device Connected state, including: controlling the selection state of each of the first port, the second port and the third port used to transmit the service data on the second OTN device to select to send service data to the other two ports, the first One port is the port of the first communication link on the second OTN device, the second port is the port of the third communication link on the second OTN device, and the third port is the port of the fourth communication link on the second OTN device port. The control information indicates the selection status of each of the fourth port, the fifth port and the sixth port used to transmit service data on the third OTN device to select to send service data to the other two ports. The fourth port is the port of the second communication link on the third OTN device, the fifth port is the port of the third communication link on the third OTN device, and the sixth port is the port of the fifth communication link on the third OTN device . In the above design, the second OTN device controls the selection states of the ports on the two OTNs to realize connectivity or disconnection between communication links, which is simple and effective.
在一种可能的设计中,在所述第一通信链路存在故障,并且所述第二通信链路、所述第四通信链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备控制所述第三端口选择第二端口发送业务数据,第二端口选择第三端口发送业务数据。所述控制信息指示所述第五端口选择第四端口发送业务数据,所述第四端口选择第五端口发送业务数据。第六端口可以不接收业务数据。上述设计中,在第一OTN设备与第二OTN设备之间的通信链路故障时,可以通过设置端口选择端口的选择状态,从而实现第三OTN设备通过第三通信链路转发到第二OTN设备上,再传输给交换侧,交换侧无需感知到第一通信链路的故障。In a possible design, there is a fault in the first communication link, and the working states of the second communication link, the fourth communication link and the third communication link are all working normally , the second OTN device controls the third port to select the second port to send service data, and the second port selects the third port to send service data. The control information instructs the fifth port to select the fourth port to send service data, and the fourth port selects the fifth port to send service data. The sixth port may not receive service data. In the above design, when the communication link between the first OTN device and the second OTN device fails, the selection state of the port can be selected by setting the port, so that the third OTN device forwards to the second OTN through the third communication link on the device, and then transmit to the switching side, and the switching side does not need to sense the failure of the first communication link.
在一种可能的设计中,在所述第四通信链路存在故障,并且所述第一通信链路、所述第五链路和所述第三通信链路的工作状态均为正常工作时,所述第二OTN设备控制所述第一端口选择第二端口发送业务数据,第二端口选择第一端口发送业务数据。所述控制信息指示所述第四端口选择第六端口发送业务数据,所述第六端口选择第四端口发送业务数据。上述设计中,在第二OTN设备与交换侧之间的通信链路故障时,通过设置端口选择其他端口的选择状态,从而实现通过第一通信链路接收数据,然后通过第三通信链路转发到第三OTN设备上,再传输给交换侧。In a possible design, when there is a fault in the fourth communication link, and the working states of the first communication link, the fifth link and the third communication link are all working normally , the second OTN device controls the first port to select the second port to send service data, and the second port selects the first port to send service data. The control information instructs the fourth port to select the sixth port to send service data, and the sixth port selects the fourth port to send service data. In the above design, when the communication link between the second OTN device and the switching side fails, the selection status of other ports is selected by setting the port, so as to receive data through the first communication link and then forward it through the third communication link to the third OTN device, and then transmitted to the switching side.
第二方面,本申请实施例提供一种光传送网络的数据传输方法,应用于至少包括第一光传送网络OTN设备、第二OTN设备和第三OTN设备的光传送网络中,所述方法包括:所述第三OTN设备接收所述第二OTN设备的控制信息,所述控制信息指示第二通信链路、第三通信链路、以及第五通信链路中任两个通信链路之间在所述第三OTN设备上的连通状态;其中,所述第二通信链路用于连接所述第一OTN设备与所述第三OTN设备,第五通信链路用于连接所述第三OTN设备与交换侧;所述第三通信链路用于连接所述第二OTN设备与所述第三OTN设备;所述第三OTN设备根据所述控制信息控制所述第二通信链路、第三通信链路、以及第五通信链路中任两个通信链路之间的连通状态。上述设计中,第三OTN设备通过第二OTN设备的控制来设置任两个通信链路的连通状态,从而在第二OTN设备的某条链路故障时,能够实现从第三OTN设备转发业务数据,实现同源异宿的保护。In a second aspect, an embodiment of the present application provides a data transmission method for an optical transport network, which is applied to an optical transport network including at least a first optical transport network OTN device, a second OTN device, and a third OTN device, and the method includes : the third OTN device receives the control information of the second OTN device, the control information indicates that between any two communication links in the second communication link, the third communication link, and the fifth communication link Connected state on the third OTN device; wherein, the second communication link is used to connect the first OTN device and the third OTN device, and the fifth communication link is used to connect the third OTN device The OTN device and the switching side; the third communication link is used to connect the second OTN device and the third OTN device; the third OTN device controls the second communication link according to the control information, A connection state between any two communication links in the third communication link and the fifth communication link. In the above design, the third OTN device sets the connection status of any two communication links through the control of the second OTN device, so that when a link of the second OTN device fails, it can realize forwarding services from the third OTN device Data, to achieve homogeneous and heteroclinic protection.
在一种可能的设计中,所述方法还包括:所述第二OTN设备与所述第三OTN设备之间通过所述第三通信链路协商所述第二OTN设备为主OTN设备,所述第三OTN设备为备OTN设备。In a possible design, the method further includes: negotiating between the second OTN device and the third OTN device through the third communication link that the second OTN device is the master OTN device, so The third OTN device is the standby OTN device.
在一种可能的设计中,所述方法还包括:所述第三OTN设备监测所述第二通信链路、所述第五通信链路的工作状态;所述第三OTN设备向所述第二OTN设备发送所述第二通信链路和所述第五通信链路的工作状态,所述第二通信链路和所述第五通信链路的工作状态用于所述第二OTN设备确定所述控制信息。上述设计中,第三OTN设备实时监测本设备上各通信链路的工作状态,并实时上报给第二OTN设备,从而第二OTN设备根据各通信链路的工作状态实现通信链路的切换,防止业务中断。In a possible design, the method further includes: the third OTN device monitoring the working status of the second communication link and the fifth communication link; The second OTN device sends the working status of the second communication link and the fifth communication link, and the working status of the second communication link and the fifth communication link is used for the second OTN device to determine the control information. In the above design, the third OTN device monitors the working status of each communication link on the device in real time, and reports it to the second OTN device in real time, so that the second OTN device realizes communication link switching according to the working status of each communication link, Prevent business interruption.
在一种可能的设计中,在第一通信链路存在故障,并且所述第二通信链路、第四通信链路和所述第三通信链路的链路状态均为正常时,所述控制信息指示所述第二通信链路与所述第三通信链路之间连通,所述第二通信链路与所述第五通信链路之间不连通,所述第三通信链路与所述第五通信链路之间不连通,所述第一通信链路用于连接所述第一OTN设备与所述第二OTN设备,所述第四通信链路用于连接所述第二OTN设备和所述交换侧;所述第三OTN设备根据所述控制信息控制所述第二通信链路、第三通信链路、以及第五通信链路中任两个通信链路之间的连通状态,包括:所述第三OTN设备根据所述控制信息,控制所述第二通信链路与所述第三通信链路之间连通,控制所述第二通信链路与所述第五通信链路之间不连通,以及控制所述第三通信链路与所述第五通信链路之间不连通。上述设计中,在第一OTN设备与第二OTN设备之间的通信链路故障时,可以通过第三OTN设备通过第三通信链路转发到第二OTN设备上,再传输给交换侧,交换侧无需感知到第一通信链路的故障。In a possible design, when there is a fault in the first communication link, and the link states of the second communication link, the fourth communication link, and the third communication link are all normal, the The control information indicates that the second communication link is connected to the third communication link, the second communication link is not connected to the fifth communication link, and the third communication link is connected to the fifth communication link. The fifth communication link is disconnected, the first communication link is used to connect the first OTN device and the second OTN device, and the fourth communication link is used to connect the second OTN device. The OTN device and the switching side; the third OTN device controls communication between any two of the second communication link, the third communication link, and the fifth communication link according to the control information The connected state includes: the third OTN device controls the connection between the second communication link and the third communication link according to the control information, and controls the connection between the second communication link and the fifth communication link. The communication links are disconnected, and the disconnection between the third communication link and the fifth communication link is controlled. In the above design, when the communication link between the first OTN device and the second OTN device fails, it can be forwarded to the second OTN device by the third OTN device through the third communication link, and then transmitted to the switching side, and the switching The side need not be aware of the failure of the first communication link.
在一种可能的设计中,所述方法还包括:所述第三OTN设备通过所述第二通信链路接收来自第一OTN设备的OTN数据帧;所述第三OTN设备通过所述第三通信链路向所述第二OTN设备发送所述OTN数据帧。In a possible design, the method further includes: the third OTN device receiving the OTN data frame from the first OTN device through the second communication link; the third OTN device receiving the OTN data frame through the third The communication link sends the OTN data frame to the second OTN device.
在一种可能的设计中,在所述第四通信链路存在故障,并且所述第一通信链路、所述第三通信链路以及第五通信链路的工作状态为正常时,所述控制信息指示所述第二通信链路与所述第三通信链路之间不连通,所述第二通信链路与所述第五通信链路之间不连通,所述第三通信链路与所述第五通信链路之间连通,所述第四通信链路用于连接所述第二OTN设备和所述交换侧,所述第一通信链路用于连接所述第一OTN设备和所述第二OTN设备;所述第三OTN设备根据所述控制信息控制所述第二通信链路、第三通信链路、以及第五通信链路中任两个通信链路之间的连通状态,包括:所述第三OTN设备根据所述控制信息,控制所述第二通信链路与所述第三通信链路之间不连通,控制所述第二通信链路与所述第五通信链路之间不连通,以及控制所述第三通信链路与所述第五通信链路之间连通。上述设计中,在第二OTN设备与交换侧之间的通信链路故障时,通过第一通信链路接收数据,然后通过第三通信链路转发到第三OTN设备上,再传输给交换侧。In a possible design, when the fourth communication link is faulty and the working states of the first communication link, the third communication link and the fifth communication link are normal, the The control information indicates that the second communication link is not connected to the third communication link, the second communication link is not connected to the fifth communication link, and the third communication link communicate with the fifth communication link, the fourth communication link is used to connect the second OTN device and the switching side, and the first communication link is used to connect the first OTN device and the second OTN device; the third OTN device controls communication between any two of the second communication link, the third communication link, and the fifth communication link according to the control information The connected state includes: the third OTN device controls the disconnection between the second communication link and the third communication link according to the control information, and controls the connection between the second communication link and the third communication link. The five communication links are not connected, and the connection between the third communication link and the fifth communication link is controlled. In the above design, when the communication link between the second OTN device and the switching side fails, the data is received through the first communication link, then forwarded to the third OTN device through the third communication link, and then transmitted to the switching side .
在一种可能的设计中,所述方法还包括:所述第三OTN设备通过所述第三通信链路接收所述第二OTN设备发送的OTN数据帧,所述OTN数据帧承载来自第一OTN设备的业务数据;所述第三OTN设备从所述ONT数据帧获取所述业务数据,通过所述第五通信链路向所述交换侧发送所述业务数据。In a possible design, the method further includes: the third OTN device receives the OTN data frame sent by the second OTN device through the third communication link, and the OTN data frame carries information from the first OTN device. Service data of the OTN device; the third OTN device obtains the service data from the ONT data frame, and sends the service data to the switching side through the fifth communication link.
在一种可能的设计中,所述方法还包括:所述第三OTN设备在确定所述第二OTN设备故障时,控制所述第二通信链路与所述第五通信链路之间连通,控制所述第二通信链路与所述第三通信链路之间不连通,以及控制所述第三通信链路与所述第五通信链路之间不连通。上述设计中,第三OTN设备监控到第二OTN设备出现故障时,能够切换第一OTN设备与交换侧之间的传输路径。In a possible design, the method further includes: when the third OTN device determines that the second OTN device is faulty, controlling the connection between the second communication link and the fifth communication link , controlling the disconnection between the second communication link and the third communication link, and controlling the disconnection between the third communication link and the fifth communication link. In the above design, when the third OTN device monitors that the second OTN device fails, it can switch the transmission path between the first OTN device and the switching side.
第三方面,本申请实施例提供一种光传送网络的数据传输装置,应用于第二OTN设备,有益效果可以参见第一方面的相关描述,此处不再赘述。所述装置包括主控单元和交叉单元;In the third aspect, the embodiment of the present application provides a data transmission device for an optical transport network, which is applied to the second OTN device. For the beneficial effect, please refer to the related description of the first aspect, which will not be repeated here. The device includes a main control unit and a crossover unit;
所述主控单元,用于监测第一通信链路、第三通信链路以及第四通信链路的工作状态,并从第三OTN设备获取第二通信链路以及第五通信链路的工作状态;The main control unit is configured to monitor the working status of the first communication link, the third communication link and the fourth communication link, and acquire the working status of the second communication link and the fifth communication link from the third OTN device state;
所述第一通信链路用于连接所述第二OTN设备与第一OTN设备,所述第二通信链路用于连接所述第一OTN设备与所述第三OTN设备,所述第三通信链路用于连接所述第二OTN设备与所述第三OTN设备,所述第四通信链路用于连接所述第二OTN设备与交换侧,所述第五通信链路用于连接第三OTN设备与所述交换侧;The first communication link is used to connect the second OTN device to the first OTN device, the second communication link is used to connect the first OTN device to the third OTN device, and the third The communication link is used to connect the second OTN device and the third OTN device, the fourth communication link is used to connect the second OTN device and the switching side, and the fifth communication link is used to connect the third OTN device and the switching side;
所述主控单元,还用于根据所述第一通信链路、第二通信链路、第三通信链路、第四通信链路以及第五通信链路的工作状态控制所述交叉单元设置第一通信链路、第三通信链路以及第四通信链路中任两个通信链路的连通关系,并控制所述第三OTN设备上第二通信链路、第三通信链路以及第五通信链路中任两个通信链路之间的连通关系;The main control unit is further configured to control the setting of the cross-connection unit according to the working states of the first communication link, the second communication link, the third communication link, the fourth communication link and the fifth communication link The connection relationship between any two communication links in the first communication link, the third communication link and the fourth communication link, and control the second communication link, the third communication link and the fourth communication link on the third OTN device The connection relationship between any two communication links among the five communication links;
所述交叉单元,用于在所述主控单元的控制下设置第一通信链路、第三通信链路以及第四通信链路中任两个通信链路的连通关系。The crossover unit is configured to set the connection relationship between any two communication links among the first communication link, the third communication link and the fourth communication link under the control of the main control unit.
在一种可能的设计中,所述装置还包括第一线路单元、第二线路单元以及支路单元;所述第一线路单元通过第一通信链路连接第一OTN设备,所述第二线路单元通过第三通信链路连接第三OTN设备,所述支路单元用于通过第四通信链路连接交换侧;In a possible design, the device further includes a first line unit, a second line unit, and a branch unit; the first line unit is connected to the first OTN device through a first communication link, and the second line unit The unit is connected to the third OTN device through the third communication link, and the branch unit is used to connect to the switching side through the fourth communication link;
所述主控单元,具体用于根据所述第一通信链路、第二通信链路、第三通信链路、第四通信链路以及第五通信链路的工作状态指示所述交叉单元建立所述第一线路单元、第二线路单元以及支路单元中至少两个通信单元之间的交叉连接。The main control unit is specifically configured to instruct the cross-connect unit to establish A cross connection between at least two communication units in the first line unit, the second line unit, and the branch unit.
在一种可能的设计中,所述主控单元,具体用于在确定所述第一通信链路存在故障时,控制交叉单元建立所述第二线路单元与所述支路单元之间的交叉连接;In a possible design, the main control unit is specifically configured to control the crossover unit to establish a crossover between the second line unit and the branch unit when it is determined that the first communication link has a fault. connect;
其中,所述第一线路单元与所述第二线路单元之间的交叉连接未建立,所述第一线路单元与所述支路单元之间的交叉连接未建立。Wherein, the cross-connection between the first line unit and the second line unit is not established, and the cross-connection between the first line unit and the branch unit is not established.
在一种可能的设计中,所述主控单元,具体用于在确定所述第四通信链路存在故障时,控制交叉单元建立所述第一线路单元与所述第二线路单元之间的交叉连接;In a possible design, the main control unit is specifically configured to, when determining that there is a fault in the fourth communication link, control the cross-connect unit to establish a connection between the first line unit and the second line unit. cross connect;
其中,所述第一线路单元与所述支路单元之间的交叉连接未建立,所述第二线路单元与所述支路单元之间的交叉连接未建立。Wherein, the cross-connection between the first line unit and the branch unit is not established, and the cross-connection between the second line unit and the branch unit is not established.
在一种可能的设计中,所述主控单元,还用于与所述第三OTN设备通过所述第三通信链路协商所述第二OTN设备为主OTN设备,所述第三OTN设备为备OTN设备。In a possible design, the main control unit is further configured to negotiate with the third OTN device through the third communication link that the second OTN device be the master OTN device, and the third OTN device To prepare OTN equipment.
在一种可能的设计中,所述主控单元,具体用于:In a possible design, the main control unit is specifically used for:
从所述第一线路单元获取所述第一通信链路的工作状态,从所述第二线路单元获取所述第三通信链路的工作状态,从所述支路单元获取所述第四通信链路的工作状态;Obtain the working status of the first communication link from the first line unit, acquire the working status of the third communication link from the second line unit, and acquire the fourth communication link from the branch unit The working status of the link;
接收所述第三OTN设备发送的所述第二通信链路的工作状态以及所述第五通信链路的工作状态。receiving the working status of the second communication link and the working status of the fifth communication link sent by the third OTN device.
在一种可能的设计中,所述主控单元,具体用于:In a possible design, the main control unit is specifically used for:
向所述第三OTN设备发送控制信息,所述控制信息指示所述第二通信链路、所述第三通信链路以及所述第五通信链路中任两个通信链路之间的连通关系。sending control information to the third OTN device, the control information indicating connectivity between any two communication links in the second communication link, the third communication link, and the fifth communication link relation.
第四方面,本申请实施例提供一种光传送网络的数据传输装置,应用于光传送网络中的第三OTN设备,有益效果可以参见第二方面的相关描述,此处不再赘述。所述光传送网络还包括第一OTN设备、第二OTN设备,所述装置包括主控单元和交叉单元;In the fourth aspect, the embodiment of the present application provides a data transmission device for an optical transport network, which is applied to the third OTN equipment in the optical transport network. For the beneficial effect, please refer to the relevant description of the second aspect, and details are not repeated here. The optical transport network also includes a first OTN device and a second OTN device, and the device includes a main control unit and a cross-connect unit;
所述主控单元,用于接收来自第二OTN设备的控制信息,所述控制信息用于所述第三OTN设备控制第二通信链路、第三通信链路、以及第五通信链路中任两个通信链路之间在所述第三OTN设备上的连通状态;The main control unit is configured to receive control information from the second OTN device, the control information is used by the third OTN device to control the second communication link, the third communication link, and the fifth communication link The connectivity state on the third OTN device between any two communication links;
其中,所述第二通信链路用于连接所述第一OTN设备与所述第三OTN设备,第五通信链路用于连接所述第三OTN设备与交换侧;所述第三通信链路用于连接所述第二OTN设备与所述第三OTN设备;所述第二通信链路、第二通信链路以及所述第五通信链路用于所述第一OTN设备与所述交换侧之间传输业务数据;Wherein, the second communication link is used to connect the first OTN device and the third OTN device, and the fifth communication link is used to connect the third OTN device and the switching side; the third communication link The road is used to connect the second OTN device and the third OTN device; the second communication link, the second communication link and the fifth communication link are used for the first OTN device and the Transmission of business data between switching sides;
所述主控单元,还用于根据所述控制信息控制所述交叉单元设置所述第二通信链路、第三通信链路以及第五通信链路中任两个通信链路之间的连通关系;The main control unit is further configured to control the cross-connect unit to set the communication between any two communication links among the second communication link, the third communication link and the fifth communication link according to the control information. relation;
所述交叉单元,用于在所述主控单元的控制下设置所述第二通信链路、第三通信链路以及第五通信链路中任两个通信链路之间的连通关系。The crossover unit is configured to set a connection relationship between any two communication links among the second communication link, the third communication link and the fifth communication link under the control of the main control unit.
在一种可能的设计中,所述装置还包括第一线路单元、第二线路单元以及支路单元;所述第一线路单元通过第二通信链路连接第一OTN设备,所述第二线路单元通过第三通信链路连接第二OTN设备,所述支路单元用于通过第五通信链路连接交换侧;In a possible design, the device further includes a first line unit, a second line unit, and a branch unit; the first line unit is connected to the first OTN device through a second communication link, and the second line unit The unit is connected to the second OTN device through the third communication link, and the branch unit is used to connect the switching side through the fifth communication link;
所述主控单元,具体用于根据所述控制信息指示所述交叉单元建立所述第一线路单元、第二线路单元以及支路单元中至少两个通信单元之间的交叉连接。The main control unit is specifically configured to instruct the cross unit to establish a cross connection between at least two communication units among the first line unit, the second line unit, and the branch unit according to the control information.
在一种可能的设计中,在第一通信链路存在故障,并且所述第二通信链路、第四通信链路和所述第三通信链路的链路状态均为正常时,所述控制信息指示所述第二通信链路与所述第三通信链路之间连通,所述第二通信链路与所述第五通信链路之间不连通,所述第三通信链路与所述第五通信链路之间不连通;所述第一通信链路用于连接所述第一OTN设备与所述第二OTN设备,所述第四通信链路用于连接所述第二OTN设备和所述交换侧;In a possible design, when there is a fault in the first communication link, and the link states of the second communication link, the fourth communication link, and the third communication link are all normal, the The control information indicates that the second communication link is connected to the third communication link, the second communication link is not connected to the fifth communication link, and the third communication link is connected to the fifth communication link. The fifth communication link is not connected; the first communication link is used to connect the first OTN device and the second OTN device, and the fourth communication link is used to connect the second OTN device. OTN equipment and the switching side;
所述主控单元,具体用于根据所述控制信息控制所述交叉单元建立所述第一线路单元与所述第二线路单元之间的交叉连接;The main control unit is specifically configured to control the cross unit to establish a cross connection between the first line unit and the second line unit according to the control information;
其中,所述第一线路单元与所述支路单元之间的交叉连接未建立,所述第二线路单元与所述支路单元之间的交叉连接未建立。Wherein, the cross-connection between the first line unit and the branch unit is not established, and the cross-connection between the second line unit and the branch unit is not established.
在一种可能的设计中,在所述第四通信链路存在故障时,所述控制信息指示所述第二通信链路与所述第三通信链路之间不连通,所述第二通信链路与所述第五通信链路之间不连通,所述第三通信链路与所述第五通信链路之间连通;In a possible design, when the fourth communication link is faulty, the control information indicates that the second communication link is disconnected from the third communication link, and the second communication link The link is not connected to the fifth communication link, and the third communication link is connected to the fifth communication link;
所述主控单元,具体用于根据所述控制信息控制所述交叉单元建立所述第二线路单元和所述支路单元之间的交叉连接;The main control unit is specifically configured to control the cross unit to establish a cross connection between the second line unit and the branch unit according to the control information;
其中,所述第一线路单元与所述第二线路单元的交叉连接未建立,所述第一线路单元与所述支路单元之间的交叉未建立。Wherein, the cross connection between the first line unit and the second line unit is not established, and the cross connection between the first line unit and the branch unit is not established.
在一种可能的设计中,所述主控单元,还用于与所述第二OTN设备通过第三通信链路协商所述第二OTN设备为主OTN设备,所述第三OTN设备为备OTN设备。In a possible design, the main control unit is further configured to negotiate with the second OTN device through a third communication link that the second OTN device is the master OTN device, and the third OTN device is the backup OTN equipment.
在一种可能的设计中,所述主控单元,还用于:In a possible design, the main control unit is also used for:
从所述第一线路单元获取所述第二通信链路的工作状态,从所述支路单元获取所述第五通信链路的工作状态;acquiring the working status of the second communication link from the first line unit, and acquiring the working status of the fifth communication link from the branch unit;
向所述第三OTN设备发送所述第二通信链路的工作状态以及所述第五通信链路的工作状态;sending the working status of the second communication link and the working status of the fifth communication link to the third OTN device;
所述第二通信链路的工作状态以及所述第五通信链路的工作状态用于所述第二OTN设备确定所述控制信息。The working state of the second communication link and the working state of the fifth communication link are used by the second OTN device to determine the control information.
第五方面,本申请实施例提供一种芯片。所述芯片包括:处理器和通信接口。所述通信接口,用于输入和/或输出信息。所述处理器,用于执行计算机程序,使得如第一方面中任意一种设计提供的方法被执行。In a fifth aspect, the embodiment of the present application provides a chip. The chip includes: a processor and a communication interface. The communication interface is used for inputting and/or outputting information. The processor is configured to execute a computer program, so that the method provided by any design in the first aspect is executed.
第六方面,本申请实施例提供一种芯片。所述芯片包括:处理器和通信接口。所述通信接口,用于输入和/或输出信息。所述处理器,用于执行计算机程序,使得如第二方面中任意一种设计提供的方法被执行。In a sixth aspect, the embodiment of the present application provides a chip. The chip includes: a processor and a communication interface. The communication interface is used for inputting and/or outputting information. The processor is configured to execute a computer program, so that the method provided by any design in the second aspect is executed.
第七方面,本申请实施例提供了一种通信系统。所述通信系统包括上述第三方面或者第三方面的任一种可能的设计提供的装置和上述第四方面或者第四方面的任一种可能的设计提供的装置。In a seventh aspect, the embodiment of the present application provides a communication system. The communication system includes the device provided by the above third aspect or any possible design of the third aspect and the device provided by the above fourth aspect or any possible design of the fourth aspect.
第八方面,本申请实施例提供了一种通信系统。所述通信系统包括上述第五方面的芯片和上述第六方面的芯片。In an eighth aspect, the embodiment of the present application provides a communication system. The communication system includes the above-mentioned chip of the fifth aspect and the above-mentioned chip of the sixth aspect.
第九方面,本申请实施例提供了一种计算机可读存储介质。该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现第一至第二方面中任一方面的任意一种可能的设计提供的方法。In a ninth aspect, the embodiment of the present application provides a computer-readable storage medium. A software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the method provided by any possible design of any one of the first to second aspects can be realized.
第十方面,本申请实施例提供了一种包含指令的计算机程序产品。当其在计算机上运行时,使得计算机执行上述第一至第四方面中任一方面的任意一种可能的设计提供的方法。In a tenth aspect, the embodiment of the present application provides a computer program product including instructions. When it runs on a computer, the computer is made to execute the method provided by any possible design of any one of the first to fourth aspects above.
附图说明Description of drawings
图1为本申请实施例中一种光传送网络架构示意图;FIG. 1 is a schematic diagram of an optical transport network architecture in an embodiment of the present application;
图2为本申请实施例中一种可能的OTN设备结构示意图;FIG. 2 is a schematic structural diagram of a possible OTN device in an embodiment of the present application;
图3为本申请实施例中一种SNCP保护示意图;Fig. 3 is a kind of SNCP protection schematic diagram in the embodiment of the present application;
图4A为本申请实施例中另一种光传送网络架构示意图;FIG. 4A is a schematic diagram of another optical transport network architecture in the embodiment of the present application;
图4B为本申请实施例中又一种光传送网络架构示意图;FIG. 4B is a schematic diagram of another optical transport network architecture in the embodiment of the present application;
图5A为本申请实施例中一种hello报文示意图;FIG. 5A is a schematic diagram of a hello message in the embodiment of the present application;
图5B为本申请实施例中一种协议报文格式示意图;FIG. 5B is a schematic diagram of a protocol message format in the embodiment of the present application;
图6为本申请实施例中又一种光传送网络架构示意图;FIG. 6 is a schematic diagram of another optical transport network architecture in an embodiment of the present application;
图7A为本申请实施例中端口收发示意图;FIG. 7A is a schematic diagram of port sending and receiving in the embodiment of the present application;
图7B为本申请实施例中MC-SNCP组示意图;Figure 7B is a schematic diagram of the MC-SNCP group in the embodiment of the present application;
图8A为本申请实施例中一种控制信息格式示意图;FIG. 8A is a schematic diagram of a control information format in an embodiment of the present application;
图8B为本申请实施例中另一种控制信息格式示意图;FIG. 8B is a schematic diagram of another control information format in the embodiment of the present application;
图8C为本申请实施例中又一种控制信息格式示意图;FIG. 8C is a schematic diagram of another control information format in the embodiment of the present application;
图8D为本申请实施例中再一种控制信息格式示意图;FIG. 8D is a schematic diagram of another control information format in the embodiment of the present application;
图9A为本申请实施例的场景1的数据传输方法流程示意图;FIG. 9A is a schematic flowchart of a data transmission method in
图9B为本申请实施例的场景1的一种数据传输流程示意图;FIG. 9B is a schematic diagram of a data transmission process in
图9C为本申请实施例的场景1的另一种数据传输流程示意图;FIG. 9C is a schematic diagram of another data transmission process in
图10A为本申请实施例的场景2的数据传输方法流程示意图;FIG. 10A is a schematic flowchart of a data transmission method in
图10B为本申请实施例的场景3的数据传输流程示意图;FIG. 10B is a schematic diagram of a data transmission process in scenario 3 of the embodiment of the present application;
图11A为本申请实施例的场景3的数据传输方法流程示意图;FIG. 11A is a schematic flowchart of a data transmission method in scenario 3 of the embodiment of the present application;
图11B为本申请实施例的场景3的数据传输流程示意图;FIG. 11B is a schematic diagram of a data transmission process in scenario 3 of the embodiment of the present application;
图12A为本申请实施例的场景4的数据传输方法流程示意图;FIG. 12A is a schematic flowchart of a data transmission method in scenario 4 of the embodiment of the present application;
图12B为本申请实施例的场景4的数据传输流程示意图;FIG. 12B is a schematic diagram of a data transmission process in Scenario 4 of the embodiment of the present application;
图13为本申请实施例中一种OTN设备结构示意图;FIG. 13 is a schematic structural diagram of an OTN device in an embodiment of the present application;
图14为本申请实施例中另一种OTN设备结构示意图;FIG. 14 is a schematic structural diagram of another OTN device in the embodiment of the present application;
图15为本申请实施例中又一种OTN设备结构示意图;FIG. 15 is a schematic structural diagram of another OTN device in the embodiment of the present application;
图16A为本申请实施例中一种协议报文格式示意图;FIG. 16A is a schematic diagram of a protocol message format in an embodiment of the present application;
图16B为本申请实施例中另一种协议报文格式示意图;FIG. 16B is a schematic diagram of another protocol message format in the embodiment of the present application;
图17为本申请实施例中一种数据传输装置结构示意图;FIG. 17 is a schematic structural diagram of a data transmission device in an embodiment of the present application;
图18为本申请实施例中另一种数据传输装置结构示意图。FIG. 18 is a schematic structural diagram of another data transmission device in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例适用于光网络,例如:光传送网络(optical transport network,OTN)。光传送网络通常由多个OTN设备通过光纤连接而成,可以根据具体需要组成如线型、环形和网状等不同的拓扑类型。如图1所示的OTN是两个OTN网络组成。每一个OTN由一定数量的OTN设备组成,其中一个OTN包括N1-N4,另一个OTN包括N5-N7。根据实际的需要,一个OTN设备可能具备不同的功能。一般地来说,OTN设备分为光层设备、电层设备,以及光电混合设备。光层设备指的是能够处理光层信号的设备,例如:光放大器(optical amplifier,OA)、光分插复用器(optical add-drop multiplexer,OADM)。OA也可被称为光线路放大器(optical line amplifier,OLA),主要用于对光信号进行放大,以支持在保证光信号的特定性能的前提下传输更远的距离。OADM用于对光信号进行空间的变换,从而使其可以从不同的输出端口(有时也称为方向)输出。电层设备指的是能够处理电层信号的设备,例如:能够处理OTN信号的设备。光电混合设备指的是具备处理光层信号和电层信号能力的设备。需要说明的是,根据具体的集成需要,一台OTN设备可以集合多种不同的功能。本申请提供的技术方案适用于不同形态和集成度的OTN设备。本申请实施例中涉及到的OTN设备,可以称为网络节点,或者简称为节点。The embodiment of the present application is applicable to an optical network, for example, an optical transport network (optical transport network, OTN). An optical transport network is usually formed by connecting multiple OTN devices through optical fibers, and can be composed of different topologies such as line, ring, and mesh according to specific needs. The OTN shown in Figure 1 is composed of two OTN networks. Each OTN consists of a certain number of OTN devices, one of which includes N1-N4, and the other includes N5-N7. According to actual needs, an OTN device may have different functions. Generally speaking, OTN equipment is divided into optical layer equipment, electrical layer equipment, and optical-electrical hybrid equipment. An optical layer device refers to a device capable of processing optical layer signals, such as an optical amplifier (optical amplifier, OA) and an optical add-drop multiplexer (optical add-drop multiplexer, OADM). The OA may also be called an optical line amplifier (optical line amplifier, OLA), which is mainly used to amplify an optical signal to support transmission over a longer distance under the premise of ensuring a specific performance of the optical signal. The OADM is used to transform the space of the optical signal so that it can be output from different output ports (also called directions sometimes). Electrical-layer devices refer to devices that can process electrical-layer signals, for example, devices that can process OTN signals. Optical hybrid equipment refers to equipment capable of processing optical layer signals and electrical layer signals. It should be noted that, according to specific integration requirements, one OTN device can integrate various functions. The technical solution provided by this application is applicable to OTN equipment of different forms and integration levels. The OTN equipment involved in the embodiment of the present application may be called a network node, or a node for short.
图2为一种可能的OTN设备结构示意图。这里的OTN设备可以指图1中的任一OTN设备(N1~N7)。具体地,一个OTN设备包括电源、风扇、辅助类单板,还可能包括支路板、线路板、交叉板、光层处理单板,以及系统控制和通信类单板(或者简称为主控板)。其中,电源用于为OTN设备供电,可能包括主用和备用电源。风扇用于为设备散热。辅助类单板用于提供外部告警或者接入外部时钟等辅助功能。支路板、交叉板和线路板主要是用于处理OTN的电层信号。其中,支路板用于实现各种客户业务的接收和发送,例如同步数字体系(synchronous digital hierarchy,SDH)业务、分组业务、以太网业务和前传业务等。更进一步地,支路板可以划分为客户侧光模块和信号处理器。其中,客户侧光模块可以为光收发器,用于接收和/或发送业务数据。信号处理器用于实现对业务数据到数据帧的映射和解映射处理。交叉板用于实现数据帧的交换,完成一种或多种类型的数据帧的交换。线路板主要实现线路侧数据帧的处理。具体地,线路板可以划分为线路侧光模块和信号处理器。其中,线路侧光模块可以为线路侧光收发器,用于接收和/或发送数据帧。信号处理器用于实现对线路侧的数据帧的复用和解复用,或者映射和解映射处理。系统控制和通信类单板用于实现系统控制和通信。具体地,可以通过背板从不同的单板收集信息,或者将控制指令发送到对应的单板上去。需要说明的是,除非特殊说明,具体的组件(例如:信号处理器)可以是一个或多个,本申请不做任何限制。还需要说明的是,本申请实施例不对设备包含的单板类型,以及单板具体的功能设计和数量做任何限制。作为一种举例,支路板可以包括分组板或者基于OTN的以太网(Ethernet over OTN,EoO)单板等。Fig. 2 is a schematic structural diagram of a possible OTN device. The OTN device here may refer to any OTN device (N1-N7) in FIG. 1 . Specifically, an OTN device includes power supplies, fans, auxiliary boards, and may also include tributary boards, line boards, cross-connect boards, optical layer processing boards, and system control and communication boards (or main control boards for short). ). Among them, the power supply is used to supply power to the OTN equipment, and may include main and backup power supplies. Fans are used to cool the device. Auxiliary boards are used to provide auxiliary functions such as external alarms or access to external clocks. Tributary boards, cross-connect boards, and line boards are mainly used to process OTN electrical layer signals. Wherein, the tributary board is used to implement receiving and sending of various customer services, such as synchronous digital hierarchy (synchronous digital hierarchy, SDH) service, packet service, Ethernet service, and fronthaul service. Furthermore, the tributary board can be divided into client-side optical modules and signal processors. Wherein, the client-side optical module may be an optical transceiver for receiving and/or sending service data. The signal processor is used to realize the mapping and de-mapping processing of business data to data frames. The cross-connect board is used to realize the exchange of data frames and complete the exchange of one or more types of data frames. The circuit board mainly implements the processing of data frames on the line side. Specifically, the circuit board can be divided into a line-side optical module and a signal processor. Wherein, the line-side optical module may be a line-side optical transceiver for receiving and/or sending data frames. The signal processor is used to implement multiplexing and demultiplexing, or mapping and demapping processing of data frames on the line side. System control and communication boards are used to implement system control and communication. Specifically, information can be collected from different single boards through the backplane, or control commands can be sent to corresponding single boards. It should be noted that, unless otherwise specified, there may be one or more specific components (for example: signal processors), which are not limited in this application. It should also be noted that the embodiment of the present application does not impose any restrictions on the types of boards included in the device, as well as the specific functional design and quantity of the boards. As an example, the tributary board may include a packet board or an OTN-based Ethernet (Ethernet over OTN, EoO) single board.
需要说明的是,每个OTN设备具体包含的单板类型和数量可能不相同。例如:作为核心节点的OTN设备可能没有支路板。作为边缘节点的OTN设备可能有多个支路板。It should be noted that the type and number of boards contained in each OTN device may be different. For example, the OTN equipment serving as a core node may not have a tributary board. An OTN device serving as an edge node may have multiple tributary boards.
下面先对本申请实施例中涉及到的技术概念进行说明。The technical concepts involved in the embodiments of the present application will first be described below.
(1)OTN数据帧,本申请实施例中的OTN设备使用的数据帧结构可以是OTN数据帧(也可以称为OTN传输帧,或简称为OTN帧),用于承载各种业务数据,能够实现对业务数据的管理和监控。OTN帧可以是光数据单元k(optical data unit k,ODUk)、ODUCn、ODUflex,或者光通道传输单元k(optical transport unit k,OTUk),OTUCn,或者灵活OTN(flexibleOTN,FlexO)帧等。其中,ODU帧和OTU帧区别在于,OTU帧包括ODU帧和OTU开销;k代表了不同的速率等级,例如,k=1表示2.5Gbps,k=4表示100Gbps;Cn表示可变速率,具体为100Gbps的正整数倍的速率。除非特殊的说明,ODU帧指的是ODUk、ODUCn或ODUflex的任意一种,OTU帧指的是OTUk、OTUCn或者FlexO的任意一种。OTN帧还可以是灵活光服务单元(flexibleoptical service unit,OSUflex)等。还需要指出的是,随着OTN技术发展,可能定义出新的类型的OTN帧,也适用于本申请。(2)跨设备链路聚合组(multi-chassis link aggregationgroup,MC-LAG)是一种实现跨设备链路聚合的机制,能够实现多台设备间的链路聚合,从而把链路可靠性从单板级提高到了设备级,组成双活系统。MC-LAG技术的基本思想是,让两台设备以同一个状态和其它需要接入的设备进行链路聚合协商,在需要接入的设备看来,就如同和一台设备建立了链路聚合关系。(1) OTN data frame, the data frame structure used by the OTN device in the embodiment of the present application may be an OTN data frame (also called an OTN transmission frame, or OTN frame for short), which is used to carry various service data, and can Realize the management and monitoring of business data. The OTN frame may be an optical data unit k (optical data unit k, ODUk), ODUCn, ODUflex, or an optical channel transport unit k (optical transport unit k, OTUk), OTUCn, or a flexible OTN (flexibleOTN, FlexO) frame, etc. Among them, the difference between ODU frame and OTU frame is that OTU frame includes ODU frame and OTU overhead; k represents different rate levels, for example, k=1 represents 2.5Gbps, k=4 represents 100Gbps; Cn represents variable rate, specifically A positive integer multiple of 100Gbps. Unless otherwise specified, the ODU frame refers to any one of ODUk, ODUCn or ODUflex, and the OTU frame refers to any one of OTUk, OTUCn or FlexO. The OTN frame may also be a flexible optical service unit (flexible optical service unit, OSUflex) or the like. It should also be pointed out that with the development of OTN technology, new types of OTN frames may be defined, which are also applicable to this application. (2) The multi-chassis link aggregation group (MC-LAG) is a mechanism for achieving cross-device link aggregation, which can realize link aggregation between multiple devices, thereby reducing link reliability from The board level is raised to the device level to form a dual-active system. The basic idea of MC-LAG technology is to allow two devices to perform link aggregation negotiation with other devices that need to be connected in the same state. From the perspective of the device that needs to be connected, it is like establishing a link aggregation with one device. relation.
(3)多个指两个或两个以上。“和/或”描述关联对象的关联关系,可以存在三种关系。例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。(3) A plurality refers to two or more than two. "And/or" describes the association relationship of associated objects, and there may be three kinds of relationships. For example, A and/or B may mean: A exists alone, A and B exist simultaneously, and B exists alone.
(4)在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。(4) The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of this application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.
(5)在本申请实施例中可能采用术语第一、第二、第三等来描述各种OTN设备、链路等。但这些OTN设备、链路不应限于这些术语。这些术语仅用来将不同的OTN设备或者不同链路彼此区分开。(5) In the embodiment of the present application, terms such as first, second, and third may be used to describe various OTN devices, links, and the like. However, these OTN equipment and links should not be limited to these terms. These terms are only used to distinguish different OTN equipment or different links from each other.
下面对一种可能的SNCP保护进行说明。基于OTN数据帧的SNCP保护是OTN网络中采用的一种对传送业务数据进行保护的技术方案。图3为一种可能的基于OTN数据帧的SNCP保护的基本原理的示例图。在OTN设备上,可以通过OTN交叉板实现发送端的业务数据双发。例如,图3中OTN设备1→OTN设备2的传输方向上,通过OTN交叉板1可以向OTN设备2传送一条工作信号流和一条保护信号流,即“1+1”组网部署模式(或者称为“1+1”的保护模式)。同理,在OTN设备2→OTN设备1的传输方向上,通过OTN交叉板2也可以发送一条工作信号流和一条保护信号流。并且,在OTN设备上,还可以通过OTN交叉板实现接收端的业务数据选收。例如,图3中OTN设备1可以选收工作信号流,而拒收保护信号流,从而保护信号流在OTN交叉板1上发生交叉未建立的场景。同理,图3中的OTN设备2可以选收工作信号流,拒收保护信号流。此外,在工作信号流出现异常时,接收端可通过保护倒换协议选收保护信号流上的业务数据。这样,通过网络设备之间的双发选收、保护倒换协议,可实现对基于OTN数据帧的SNCP保护。A possible SNCP protection is described below. The SNCP protection based on the OTN data frame is a technical solution adopted in the OTN network to protect the transmitted service data. FIG. 3 is an example diagram of a possible basic principle of SNCP protection based on OTN data frames. On the OTN device, dual transmission of service data at the sender can be implemented through the OTN cross-connect board. For example, in the transmission direction of
SNCP保护还可以采用“1:1”的保护模式。“1:1”的保护模式与“1+1”的保护模式的不同在于,“1:1”的保护模式下,OTN设备1→OTN设备2的传输方向上通过OTN交叉板1向OTN设备2传送一条工作信号流即可,在工作信号流出现异常时,发送端通过另一条信号通道发送。“1+1”的保护模式采用双发选收的方式,“1:1”的保护模式采用单发单收的方式。SNCP protection can also adopt a "1:1" protection mode. The difference between the "1:1" protection mode and the "1+1" protection mode is that in the "1:1" protection mode, the transmission direction from
从上可以看出,上述描述的一种可能的SNCP保护方案仅支持“同源同宿”,但是不能支持“同源异宿”,也就是不能满足在同一源端对应两个宿端的倒换保护,因此不能满足复杂场景下的倒换保护需求。另外,通过图3可知,支路板的业务双发到同一个设备的两个线路板上,经过该同一个设备到达交换侧上,如果该设备出现故障或者掉电,则业务中断。It can be seen from the above that a possible SNCP protection scheme described above only supports "same source and same sink", but cannot support "same source and different sinks", that is, it cannot satisfy the switching protection corresponding to two sinks at the same source. Therefore, the switching protection requirements in complex scenarios cannot be met. In addition, it can be seen from Figure 3 that the service of the tributary board is sent to two line boards of the same device, and then reaches the switching side through the same device. If the device fails or is powered off, the service will be interrupted.
本申请实施例提供一种光传送网络的数据处理方法及装置,用以支持同源异宿。其中,方法和装置是基于同一技术构思的,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。Embodiments of the present application provide a data processing method and device for an optical transport network, which are used to support same-source and different-destination. Among them, the method and the device are based on the same technical conception. Since the principle of solving the problem of the method and the device is similar, the implementation of the device and the method can be referred to each other, and the repetition will not be repeated.
参见图4A和图4B所示为本申请实施例提供的一种光传送网络系统架构示意图。光传送网络系统中包括多个OTN设备。图4A和图4B中以三个OTN设备为例,分别为第一OTN设备、第二OTN设备和第三OTN设备。第一OTN设备、第二OTN设备以及第三OTN设备任两个OTN设备之间建立通信链路。本申请实施例中为了便于区分,第一OTN设备与第二OTN设备之间的通信链路称为第一通信链路,即第一OTN设备与第二OTN通过第一通信链路连接,可以理解为第一通信链路是指第一OTN设备与第二OTN设备之间为传输第一OTN设备与交换侧之间的业务数据建立的通信链路。第一OTN设备与第三OTN设备之间的通信链路称为第二通信链路,即第一OTN设备与第三OTN设备通过第二通信链路连接,可以理解为第二通信链路是指第一OTN设备与第三OTN设备之间为传输第一OTN设备与交换侧之间的业务数据建立的通信链路。第二OTN设备与第三OTN设备之间的通信链路称为第三通信链路,即第二OTN设备与第三OTN设备之间通过第三通信链路连接。示例性地,第三通信链路可以包括业务通道和控制通道,业务通道用于传输第一OTN设备与交换侧之间的业务数据,控制通道可以用于第二OTN设备与第三OTN设备之间传输控制信息或者业务通道的状态信息。Referring to FIG. 4A and FIG. 4B , it is a schematic diagram of an optical transport network system architecture provided by an embodiment of the present application. An optical transport network system includes multiple OTN devices. In FIG. 4A and FIG. 4B , three OTN devices are taken as an example, which are respectively a first OTN device, a second OTN device and a third OTN device. A communication link is established between any two OTN devices of the first OTN device, the second OTN device, and the third OTN device. In this embodiment of the present application, for the sake of distinction, the communication link between the first OTN device and the second OTN device is called the first communication link, that is, the first OTN device and the second OTN are connected through the first communication link, which can It is understood that the first communication link refers to a communication link established between the first OTN device and the second OTN device for transmitting service data between the first OTN device and the switching side. The communication link between the first OTN device and the third OTN device is called the second communication link, that is, the first OTN device and the third OTN device are connected through the second communication link. It can be understood that the second communication link is Refers to the communication link established between the first OTN device and the third OTN device for transmitting service data between the first OTN device and the switching side. The communication link between the second OTN device and the third OTN device is called a third communication link, that is, the second OTN device and the third OTN device are connected through the third communication link. Exemplarily, the third communication link may include a service channel and a control channel, the service channel is used to transmit service data between the first OTN device and the switching side, and the control channel may be used between the second OTN device and the third OTN device Control information or status information of the service channel is transmitted between them.
一些实施例中,光传送网络系统中还可以包括其它的OTN设备,比如第一OTN设备与第二OTN设备之间可以通过其它的OTN设备连接。第一OTN设备与第三OTN设备之间还可以通过其它的OTN设备连接。第二OTN设备和第三OTN设备构成SNCP组,也可以称为改良的SNCP组,或者称为跨设备子连接保护(multi classis sub-network connection protection,MC-SNCP)组。MC-SNCP组为跨主备两个OTN设备的SNCP组。示例性地,本申请实施例中的MC-SNCP组可以采用1:1或者1+1的部署方式。后续描述时,以采用1+1的部署方式为例。In some embodiments, the optical transport network system may further include other OTN devices, for example, the first OTN device and the second OTN device may be connected through other OTN devices. The first OTN device and the third OTN device may also be connected through other OTN devices. The second OTN device and the third OTN device form an SNCP group, which may also be called an improved SNCP group, or a multi classis sub-network connection protection (MC-SNCP) group. The MC-SNCP group is an SNCP group spanning two OTN devices, the master and the slave. Exemplarily, the MC-SNCP group in the embodiment of the present application may adopt a 1:1 or 1+1 deployment manner. In the subsequent description, the 1+1 deployment method is used as an example.
第二OTN设备和第三OTN设备还与交换侧连接。第二OTN设备与侧建立有第四通信链路,第三OTN设备与交换侧之间建立有第五通信链路。The second OTN device and the third OTN device are also connected to the switching side. A fourth communication link is established between the second OTN device and the switching side, and a fifth communication link is established between the third OTN device and the switching side.
需要说明的是,交换侧可以包括一个或者多个交换设备。交换设备可以是路由器、交换机、网桥等具有路由或者交换功能的装置。一些实施例中,第二OTN设备、第三OTN设备可以分别与交换侧的同一个交换设备连接。一些实施例中,交换侧至少包括两个交换设备。为便于描述,将与第二OTN设备连接的交换设备称为交换设备1、将与第三OTN设备连接的交换设备称为交换设备2。交换设备1和交换设备2中其中一个为主交换设备,另一个为备交换设备,参见图4B所示。作为一种可选的方式,第二OTN设备为主设备时,交换设备1为主设备;第三OTN设备为备设备时,交换设备2为主设备。可以理解的是,第二OTN设备与交换设备1连接,第三OTN设备与交换设备2连接,即第二OTN设备与交换设备1之间建立有第四通信链路,第三OTN设备与交换设备2之间建立有第五通信链路。It should be noted that the switching side may include one or more switching devices. The switching device may be a router, a switch, a network bridge, and other devices with routing or switching functions. In some embodiments, the second OTN device and the third OTN device may be respectively connected to the same switching device on the switching side. In some embodiments, the switching side includes at least two switching devices. For ease of description, the switching device connected to the second OTN device is called
一种示例中,第二OTN设备和第三OTN设备与交换设备之间可以采用跨设备链路聚合组(multi-chassis link aggregation group,MC-LAG)技术建立通信链路。交换设备1和交换机2之间可以采用MC-LAG技术建立通信链路,从而交换设备1与交换设备2之间可以构成MC-LAG组。In an example, a communication link may be established between the second OTN device and the third OTN device and the switching device by using a cross-device link aggregation group (multi-chassis link aggregation group, MC-LAG) technology. The MC-LAG technology can be used to establish a communication link between the switching
另一种示例中,第二OTN设备和第三OTN设备与交换设备之间还可以采用虚拟路由冗余协议(virtual router redundancy protocol,VRRP)技术建立通信链路。交换设备1和交换设备2之间可以采用VRRP技术建立通信链路,从而交换设备1与交换设备2之间可以构成VRRP组。In another example, a virtual router redundancy protocol (virtual router redundancy protocol, VRRP) technology may also be used to establish a communication link between the second OTN device and the third OTN device and the switching device. The VRRP technology can be used to establish a communication link between the switching
需要说明的是,第二OTN设备和第三OTN设备与交换侧之间还可以采用其它的支持主备控制的协议建立通信链路,本申请实施例对此不作具体限定。It should be noted that communication links between the second OTN device and the third OTN device and the switching side may also be established using other protocols that support active/standby control, which is not specifically limited in this embodiment of the present application.
后续描述时,以第二OTN设备和第三OTN设备与交换侧之间采用MC-LAG技术建立通信链路为例,基于此,第四通信链路也可以称为第一MC-LAG链路,第五通信链路可以称为第二MC-LAG链路。第一MC-LAG链路是指第二OTN设备与交换侧之间为传输第一OTN设备与交换侧之间的业务数据建立的通信链路。第二MC-LAG链路是指第三OTN设备与交换侧之间为传输第一OTN设备与交换侧之间的业务数据建立的通信链路。In the subsequent description, the establishment of a communication link between the second OTN device and the third OTN device and the switching side using MC-LAG technology is taken as an example. Based on this, the fourth communication link can also be called the first MC-LAG link , the fifth communication link may be referred to as a second MC-LAG link. The first MC-LAG link refers to a communication link established between the second OTN device and the switching side for transmitting service data between the first OTN device and the switching side. The second MC-LAG link refers to a communication link established between the third OTN device and the switching side for transmitting service data between the first OTN device and the switching side.
第二OTN设备与第三OTN设备中的一个OTN设备作为主OTN设备,另外一个OTN设备作为备OTN设备。第二OTN设备与第三OTN设备之间可以采用协商的方式确定哪一个OTN设备作为主OTN设备。例如,所述第二OTN设备与所述第三OTN设备之间通过第三通信链路,比如第三通信链路包括的控制通道,协商哪一个OTN设备作为主OTN设备。One OTN device among the second OTN device and the third OTN device serves as the master OTN device, and the other OTN device serves as the standby OTN device. The second OTN device and the third OTN device may determine which OTN device serves as the master OTN device through negotiation. For example, the second OTN device and the third OTN device negotiate which OTN device is to be the master OTN device through a third communication link, such as a control channel included in the third communication link.
一些实施例中,第二OTN设备与第三OTN设备之间可以通过比较优先级高低来协商哪一个OTN设备作为主OTN设备。例如第二OTN设备与第三OTN设备可以通过第三通信链路互相发送协商报文。协商报文包括用于指示优先级的信息,比如优先级的标识符(Identifier,ID)。例如优先级ID越大优先级越高,或者优先级ID越小优先级越高。以第二OTN设备作为主OTN设备为例,第二OTN设备的优先级高于第三OTN设备的优先级。In some embodiments, the second OTN device and the third OTN device may negotiate which OTN device is to be the master OTN device by comparing priorities. For example, the second OTN device and the third OTN device may send negotiation packets to each other through the third communication link. The negotiation message includes information for indicating the priority, such as an identifier (Identifier, ID) of the priority. For example, the larger the priority ID, the higher the priority, or the smaller the priority ID, the higher the priority. Taking the second OTN device as the master OTN device as an example, the priority of the second OTN device is higher than that of the third OTN device.
另一些实施例中,第二OTN设备与第三OTN设备可以通过比较设备标识符的大小来协商哪个OTN设备作为主OTN设备。例如,第二OTN设备与第三OTN设备可以通过第三通信链路互相发送协商报文,协商报文包括自身的设备ID。比如,设备的标识符较大的OTN设备作为主OTN设备,设备的标识符较小的OTN设备作为备OTN设备;以第二OTN设备作为主OTN设备为例,第二OTN设备的标识符大于第三OTN设备的标识符。再比如,设备的标识符较大的OTN设备作为备OTN设备,设备的标识符较小的OTN设备作为备OTN设备。以第二OTN设备作为主OTN设备为例,第二OTN设备的标识符小于第三OTN设备的标识符。In some other embodiments, the second OTN device and the third OTN device may negotiate which OTN device is to be the master OTN device by comparing the sizes of the device identifiers. For example, the second OTN device and the third OTN device may send negotiation packets to each other through the third communication link, and the negotiation packets include their own device IDs. For example, the OTN device with a larger device identifier acts as the active OTN device, and the OTN device with a smaller device identifier acts as the backup OTN device; taking the second OTN device as the active OTN device An identifier of the third OTN device. For another example, an OTN device with a larger device identifier is used as a backup OTN device, and an OTN device with a smaller device identifier is used as a backup OTN device. Taking the second OTN device as the master OTN device as an example, the identifier of the second OTN device is smaller than the identifier of the third OTN device.
又一些实施例中,第二OTN设备与第三OTN设备通过第三通信链路互相发送协商报文,协商报文包括自身的设备ID和优先级ID。第二OTN设备与第三OTN设备在协商确定两者的优先级相同时,可以再根据设备的标识符大小来确定哪个OTN设备作为主OTN设备。In some other embodiments, the second OTN device and the third OTN device send negotiation packets to each other through the third communication link, and the negotiation packets include their own device IDs and priority IDs. When the second OTN device and the third OTN device determine through negotiation that they have the same priority, they can determine which OTN device is to be the master OTN device according to the size of the identifier of the device.
示例性地,协商报文可以是hello报文。Hello报文包括设备ID和优先级ID。参见图5A所示,设备的标识符通过NEID标识,可以占用4字节(Byte,B)。优先级ID可以占用2字节。Exemplarily, the negotiation packet may be a hello packet. Hello packet includes device ID and priority ID. Referring to FIG. 5A , the identifier of the device is identified by NEID, which may occupy 4 bytes (Byte, B). Priority ID can occupy 2 bytes.
需要说明的是,第二OTN设备与第三OTN设备可以通过其它推举原则来协商主OTN设备和备OTN设备,本申请实施例对此不作具体限定。It should be noted that the second OTN device and the third OTN device may negotiate the active OTN device and the standby OTN device through other selection principles, which is not specifically limited in this embodiment of the present application.
作为主OTN设备的第二OTN设备可以收集各个通信链路的工作状态,具体获取第一通信链路、第二通信链路、第一MC-LAG链路、第二MC-LAG链路以及第三通信链路的工作状态。然后根据各个通信链路的工作状态控制第一OTN设备与交换侧之间用于传输业务数据所经过的传输链路。The second OTN device as the master OTN device can collect the working status of each communication link, specifically obtain the first communication link, the second communication link, the first MC-LAG link, the second MC-LAG link, and the first The working status of the three communication links. Then control the transmission link through which the service data is transmitted between the first OTN device and the switching side according to the working status of each communication link.
一些实施例中,第二OTN设备可以负责监测第一通信链路、第一MC-LAG链路和第三通信链路的工作状态。例如,第二OTN设备可以根据第一OTN设备通过第一通信链路(例如,业务通道)发来的OTN数据帧来实时监测线路侧的业务状态。比如,若通过第一通信链路接收到信号劣化(signal degrade,SD)信号或者接收到信号失效(signal fail,SF)信号等,则确定第一通信链路存在故障,即工作状态是故障状态(可以简称为故障)。再例如,第二OTN设备可以实时监测第二MC-LAG链路的工作状态。第二OTN设备可以实时监测第三通信链路的工作状态。In some embodiments, the second OTN device may be responsible for monitoring the working states of the first communication link, the first MC-LAG link and the third communication link. For example, the second OTN device can monitor the service status of the line side in real time according to the OTN data frame sent by the first OTN device through the first communication link (for example, a service channel). For example, if a signal degradation (signal degrade, SD) signal or a signal failure (signal fail, SF) signal is received through the first communication link, it is determined that there is a fault in the first communication link, that is, the working state is a fault state (may simply be referred to as glitches). For another example, the second OTN device may monitor the working status of the second MC-LAG link in real time. The second OTN device can monitor the working status of the third communication link in real time.
又一些实施例中,作为备OTN设备的第三OTN设备可以实时监测本设备的链路状态信息,比如第二通信链路和第二MC-LAG链路的工作状态,然后向第二OTN设备发送监测到的第二通信链路和第二MC-LAG链路的工作状态,从而第二OTN设备接收来自第三OTN设备的第二通信链路和第二MC-LAG链路的工作状态。作为一种举例,参见图5B所示,第三OTN设备可以采用第一协议报文格式向第二OTN设备发送第二通信链路和第二MC-LAG链路的工作状态。图5B中通过OTN状态字段来表征第二通信链路的状态,通过支路板状态字段来表征第二MC-LAG链路的工作状态。作为一种举例,第一协议报文格式中还可以包括MC-SNCP组ID。In some other embodiments, the third OTN device as the standby OTN device can monitor the link state information of the device in real time, such as the working status of the second communication link and the second MC-LAG link, and then send the second OTN device Sending the monitored working status of the second communication link and the second MC-LAG link, so that the second OTN device receives the working status of the second communication link and the second MC-LAG link from the third OTN device. As an example, referring to FIG. 5B , the third OTN device may send the working status of the second communication link and the second MC-LAG link to the second OTN device by using the first protocol packet format. In FIG. 5B , the state of the second communication link is represented by the OTN state field, and the working state of the second MC-LAG link is represented by the tributary board state field. As an example, the format of the first protocol packet may further include an MC-SNCP group ID.
作为一种示例,第二OTN设备与第三OTN设备之间可以针对不同的收端设备和发端设备传输的业务数据配置不同MC-SNCP组。比如,参见图6所示,第四OTN设备与第二OTN设备均需向交换侧发送业务数据。第二OTN设备与第三OTN设备之间可以为第四OTN设备与交换侧之间传输的业务数据配置为一个MC-SNCP组,为第一OTN设备与交换侧之间传输的业务数据配置为另一个MC-SNCP组。As an example, different MC-SNCP groups may be configured between the second OTN device and the third OTN device for service data transmitted by different receiving devices and sending devices. For example, as shown in FIG. 6 , both the fourth OTN device and the second OTN device need to send service data to the switching side. The second OTN device and the third OTN device can be configured as an MC-SNCP group for the service data transmitted between the fourth OTN device and the switching side, and can be configured as an MC-SNCP group for the service data transmitted between the first OTN device and the switching side. Another MC-SNCP group.
第二OTN设备与第三OTN设备之间可以针对相同的收端设备和发端设备传输的不同业务数据配置不同的SNCP组。比如第二OTN设备与第三OTN设备之间可以为第一OTN设备与交换侧传输的业务数据1配置一个MC-SNCP组,第二OTN设备与第三OTN设备之间可以为第一OTN设备与交换侧传输的业务数据2配置另一个MC-SNCP组。Different SNCP groups may be configured between the second OTN device and the third OTN device for different service data transmitted by the same receiving device and transmitting device. For example, an MC-SNCP group can be configured between the second OTN device and the third OTN device for
第二OTN设备上第一通信链路的端口和第三OTN设备上第二通信链路的端口属于MC-SNCP组,第二OTN设备上第一通信链路的端口和第三OTN设备上第二通信链路的端口与MC-SNCP组ID之间存在映射关系。作为一种示例,第二OTN设备上第三通信链路的端口以及第三OTN上第三通信链路的端口也属于MC-SNCP组,第二OTN设备上第三通信链路的端口以及第三OTN上第三通信链路的端口与MC-SNCP组ID存在映射关系。The port of the first communication link on the second OTN device and the port of the second communication link on the third OTN device belong to the MC-SNCP group, and the port of the first communication link on the second OTN device and the port of the second communication link on the third OTN device belong to the MC-SNCP group. There is a mapping relationship between the ports of the two communication links and the MC-SNCP group ID. As an example, the port of the third communication link on the second OTN device and the port of the third communication link on the third OTN also belong to the MC-SNCP group, and the port of the third communication link on the second OTN device and the port of the third There is a mapping relationship between the port of the third communication link on the three OTNs and the MC-SNCP group ID.
示例性地,第一MC-LAG链路的端口与第二MC-LAG链路的端口可以属于MC-LAG保护组。可以理解的是,第二OTN设备与第三OTN设备上可以配置有多个不同的MC-LAG组,第二OTN设备与第三OTN设备之间针对不同的收端设备和发端设备传输的业务数据配置有不同MC-LAG组。第二OTN设备与第三OTN设备之间针对相同的收端设备和发端设备传输的不同业务数据配置有不同的MC-LAG组。Exemplarily, the port of the first MC-LAG link and the port of the second MC-LAG link may belong to the MC-LAG protection group. It can be understood that multiple different MC-LAG groups can be configured on the second OTN device and the third OTN device, and the services transmitted between the second OTN device and the third OTN device for different receiving end devices and originating devices Data is configured with different MC-LAG groups. Different MC-LAG groups are configured between the second OTN device and the third OTN device for different service data transmitted by the same receiving device and transmitting device.
第二OTN设备和第三OTN设备通过配置有MC-SNCP组和MC-LAG组。这里所提及的配置可以是管理人员配置,或者网络管理设备向第二OTN设备和第三OTN设备下发配置信息。示例性地,配置信息可以包括MC-SNCP组ID与第二OTN设备的第一通信链路的端口以及第三OTN设备的第二通信链路的端口之间的映射关系。配置信息还可以包括MC-LAG组ID与第二OTN设备的第一MC-LAG链路的端口以及第三OTN设备的第二MC-LAG链路的端口之间的映射关系。示例性地,配置信息中还可以包括MC-SNCP组ID与MC-LAG组ID之间的对应关系。从而第二OTN设备和第三OTN设备根据配置信息确定MC-SNCP组和MC-LAG组,并建立MC-SNCP组和MC-LAG组的关联关系,示例性地,第二OTN设备和第三OTN设备均存储MC-SNCP组ID和MC-LAG组ID之间的映射关系。The second OTN device and the third OTN device are configured with an MC-SNCP group and an MC-LAG group. The configuration mentioned here may be configuration by a manager, or the network management device delivers configuration information to the second OTN device and the third OTN device. Exemplarily, the configuration information may include a mapping relationship between the MC-SNCP group ID and the port of the first communication link of the second OTN device and the port of the second communication link of the third OTN device. The configuration information may also include a mapping relationship between the MC-LAG group ID and the port of the first MC-LAG link of the second OTN device and the port of the second MC-LAG link of the third OTN device. Exemplarily, the configuration information may also include the correspondence between the MC-SNCP group ID and the MC-LAG group ID. Therefore, the second OTN device and the third OTN device determine the MC-SNCP group and the MC-LAG group according to the configuration information, and establish an association relationship between the MC-SNCP group and the MC-LAG group. For example, the second OTN device and the third OTN device All OTN devices store the mapping relationship between the MC-SNCP group ID and the MC-LAG group ID.
例如,第二通信链路的工作状态可以通过不同的取值来表征。图5B中以ox00表示连通性校验失败(loss of connectivity verification,LOCV)状态、0x01表示告警指示信号(alarm indication signal,AIS)状态、0x02表示SD状态、0x03表示SF状态等为例。再例如,第二MC-LAG链路的状态可以通过不同的取值来表征。图5B中以0x00表示ETH信号丢失(loss,los)、0x01表示MC-LAG主、0x02表示MC-LAG备。For example, the working state of the second communication link may be represented by different values. In FIG. 5B , ox00 represents the state of loss of connectivity verification (LOCV), 0x01 represents the state of alarm indication signal (AIS), 0x02 represents the state of SD, and 0x03 represents the state of SF. For another example, the state of the second MC-LAG link may be represented by different values. In FIG. 5B , 0x00 indicates ETH signal loss (loss, los), 0x01 indicates MC-LAG master, and 0x02 indicates MC-LAG backup.
在一种可能的实施方式中,作为主OTN设备的第二OTN设备可以根据各个通信链路的工作状态控制第一OTN设备与交换侧之间传输的业务数据的传输路径。比如,根据各个通信链路的工作状态控制第二OTN设备上第一通信链路、第三通信链路以及第一MC-LAG链路中任两个通信链路之间连通状态,以及控制第三OTN设备上第二通信链路、第三通信链路以及第二MC-ALG链路中任两个通信链路之间的连通状态。示例性地,连通状态可以包括连通和未连通。可以理解的是,两个通信链路连通是指,通过两个通信链路中的一个通信链路接收到业务数据,会通过另一个通信链路将业务数据发送。两个通信链路未连通可以理解为,通过其中一个通信链路接收业务数据后,不会通过另一个通信链路发送。In a possible implementation manner, the second OTN device serving as the master OTN device can control the transmission path of the service data transmitted between the first OTN device and the switching side according to the working status of each communication link. For example, according to the working status of each communication link, the communication status between any two communication links of the first communication link, the third communication link and the first MC-LAG link on the second OTN device is controlled, and the communication status of the second communication link is controlled. The connection state between any two communication links among the second communication link, the third communication link, and the second MC-ALG link on the three OTN devices. Exemplarily, the connection state may include connected and not connected. It can be understood that the connection between the two communication links means that service data is received through one of the two communication links, and the service data is sent through the other communication link. The disconnection of the two communication links can be understood as, after the service data is received through one of the communication links, it will not be sent through the other communication link.
一些实施例中,作为主OTN设备的第二OTN设备可以通过配置两个通信链路的端口的开关状态,来实现控制两个通信链路是否连通。In some embodiments, the second OTN device serving as the master OTN device can control whether the two communication links are connected by configuring the switch states of the ports of the two communication links.
作为主OTN设备的第二OTN设备可以根据各个通信链路的工作状态,配置第二OTN设备上用于转发第一OTN设备与交换侧之间传输的业务数据的端口的开关状态。第二OTN设备上用于转发第一OTN设备与交换侧之间传输的业务数据的端口包括第一通信链路上用于传输业务数据的端口、第一MC-LAG链路上用于传输业务数据的端口,或者第三通信链路上用于传输业务数据的端口中的一项或者多项。为了便于描述,将第二OTN设备的第一通信链路上的端口称为第一端口、第一MC-LAG链路上的用于传输业务数据的端口称为第三端口,第三通信链路上用于传输业务数据的端口称为第二端口。第一端口、第二端口以及第三端口中任两个端口之间可以建立有连接通道。The second OTN device as the master OTN device can configure the switching status of ports on the second OTN device for forwarding service data transmitted between the first OTN device and the switching side according to the working status of each communication link. The port on the second OTN device used to forward the service data transmitted between the first OTN device and the switching side includes the port used to transmit service data on the first communication link, the port used to transmit service on the first MC-LAG link A data port, or one or more of the ports used to transmit business data on the third communication link. For ease of description, the port on the first communication link of the second OTN device is called the first port, the port used to transmit service data on the first MC-LAG link is called the third port, and the third communication link A port used to transmit service data on the road is called a second port. A connection channel may be established between any two of the first port, the second port and the third port.
作为主OTN设备的第二OTN设备可以根据各个通信链路的工作状态,还配置第三OTN设备上用于转发第一OTN设备与交换侧之间传输的业务数据的端口的开关状态。第三OTN设备上用于传输业务数据的端口包括第三OTN设备上第二通信链路的用于传输业务数据的第四端口、第三通信链路的用于传输业务数据的第五端口或者第五通信链路上用于传输业务数据的第六端口中的一项或者多项,第四端口、第五端口以及第六端口中任两个端口之间具有连接通道。作为主OTN设备的第二OTN设备还向第三OTN设备发送控制信息,为了便于区分,此处将第二OTN设备向第三OTN设备发送的控制信息称为控制信息1。该控制信息1指示第三OTN设备上用于传输业务数据的端口的开关状态。第三OTN设备上用于传输所述业务数据的端口包括第二通信链路上用于传输所述业务数据的端口、第二MC-LAG链路上用于传输所述业务数据的端口或者所述第三通信链路上用于传输所述业务数据的端口中的一项或者多项。The second OTN device as the master OTN device can also configure the switching status of ports on the third OTN device for forwarding service data transmitted between the first OTN device and the switching side according to the working status of each communication link. The port used to transmit service data on the third OTN device includes a fourth port used to transmit service data on the second communication link on the third OTN device, a fifth port used to transmit service data on the third communication link, or One or more of the sixth ports on the fifth communication link are used to transmit service data, and there is a connection channel between any two of the fourth port, the fifth port and the sixth port. The second OTN device serving as the master OTN device also sends control information to the third OTN device. For ease of distinction, the control information sent by the second OTN device to the third OTN device is referred to as
示例性地,第二OTN设备可以根据MC-SNCP组ID确定第一通信链路的端口、第二通信链路的端口,根据MC-SNCP组ID对应的MC-LAG组ID确定第一MC-LAG链路的端口以及第二MC-LAG链路的端口,进而配置第二OTN设备和第三OTN设备上各个端口的开关状态。Exemplarily, the second OTN device can determine the port of the first communication link and the port of the second communication link according to the MC-SNCP group ID, and determine the first MC-LAG group ID according to the MC-SNCP group ID. The port of the LAG link and the port of the second MC-LAG link are further configured to configure the switching status of each port on the second OTN device and the third OTN device.
另一些实施例中,作为主OTN设备的第二OTN设备可以通过配置两个通信链路的端口的连通状态,来实现控制两个通信链路是否连通。In some other embodiments, the second OTN device serving as the master OTN device can control whether the two communication links are connected by configuring the connection states of the ports of the two communication links.
第二OTN设备控制第二OTN设备上用于传输业务数据的任两个端口的连通状态。例如,控制第一端口、第二端口和第三端口任两个端口之间的连通状态。第二OTN设备还向第三OTN设备发送控制信息,为了便于区分,此处将第二OTN设备向第三OTN设备发送的控制信息称为控制信息2。控制信息2指示第三OTN设备上用于传输业务数据的任两个端口的连通状态;例如,控制第一端口、第二端口和第三端口任两个端口之间的连通状态。The second OTN device controls the connection status of any two ports on the second OTN device for transmitting service data. For example, the communication state between any two ports of the first port, the second port and the third port is controlled. The second OTN device also sends control information to the third OTN device. For ease of distinction, the control information sent by the second OTN device to the third OTN device is referred to as
又一些实施例中,作为主OTN设备的第二OTN设备可以通过配置第二OTN设备或者第三OTN设备的通信链路的端口是否向另外两个端口发送业务数据的选择状态,来实现控制两个通信链路是否连通。参见图7A所示,每个端口均可以从另外两个端口选择接收数据,每个端口接收到数据后,均可以选择是否向另外两个端口发送数据。比如,第一端口接收到业务数据后,可以选择向第二端口或者第三端口发送。再比如,第二端口接收到业务数据后,可以选择向第一端口或者第三端口发送。再比如,第三端口接收到业务数据后,可以选择向第一端口或者第二端口发送。In some other embodiments, the second OTN device as the master OTN device can control the selection status of whether the port of the communication link of the second OTN device or the third OTN device sends service data to the other two ports. Whether a communication link is connected. Referring to FIG. 7A , each port can choose to receive data from the other two ports, and after each port receives data, it can choose whether to send data to the other two ports. For example, after the first port receives service data, it can choose to send it to the second port or the third port. For another example, after the second port receives service data, it can choose to send it to the first port or the third port. For another example, after the third port receives service data, it can choose to send it to the first port or the second port.
作为主OTN设备的第二OTN设备还向第三OTN设备发送控制信息3。控制信息3指示第三OTN设备上每个端口是否向另外两个端口发送业务数据的选择状态。比如,第四端口接收到业务数据后,可以选择向第五端口或者第六端口发送。再比如,第五端口接收到业务数据后,可以选择向第四端口或者第六端口发送。再比如,第六端口接收到业务数据后,可以选择向第四端口或者第五端口发送。The second OTN device serving as the master OTN device also sends control information 3 to the third OTN device. The control information 3 indicates the selection state of whether each port on the third OTN device sends service data to the other two ports. For example, after the fourth port receives service data, it can choose to send it to the fifth port or the sixth port. For another example, after the fifth port receives service data, it can choose to send it to the fourth port or the sixth port. For another example, after the sixth port receives service data, it can choose to send it to the fourth port or the fifth port.
再一些实施例中,作为主OTN设备的第二OTN设备可以通过配置第二OTN设备或者第三OTN设备的通信链路的端口选择从另外两个端口哪一个接口接收业务数据的选择状态,来实现控制两个通信链路是否连通。参见图8A所示,每个端口均可以从另外两个端口接收数据,每个端口接收到数据后,均可以向另外两个端口发送数据。比如,第一端口可以选择从第二端口或者第三端口接收。再比如,第二端口可以选择从第一端口或者第三端口接收。再比如,第三端口可以选择从第一端口或者第二端口接收。In some other embodiments, the second OTN device as the main OTN device can select the selection state of which interface receives service data from the other two ports by configuring the port of the communication link of the second OTN device or the third OTN device. Realize whether the two communication links are connected or not. Referring to FIG. 8A , each port can receive data from the other two ports, and after receiving data, each port can send data to the other two ports. For example, the first port can choose to receive from the second port or the third port. For another example, the second port may choose to receive from the first port or the third port. For another example, the third port may choose to receive from the first port or the second port.
作为主OTN设备的第二OTN设备还向第三OTN设备发送控制信息4。控制信息4指示第三OTN设备上每个端口选择从另外两个端口接收业务数据的选择状态。比如,控制第四端口可以选择从第五端口或者第六端口接收。再比如,控制第五端口可以选择从第四端口或者第六端口接收。再比如,控制第六端口可以选择从第四端口或者第五端口接收。The second OTN device serving as the master OTN device also sends control information 4 to the third OTN device. The control information 4 indicates the selection status of each port on the third OTN device to select to receive service data from the other two ports. For example, controlling the fourth port may choose to receive from the fifth port or the sixth port. For another example, controlling the fifth port may choose to receive from the fourth port or the sixth port. For another example, controlling the sixth port may choose to receive from the fourth port or the fifth port.
在一种可能的示例中,第一OTN设备可以连接网络侧设备,第二OTN设备的第一通信链路上用于传输业务数据的第一端口可以称为网络-网络接口(network-to-networkinterface,NNI)。交换侧可以连接用户侧设备,第二OTN设备配置的第一MC-LAG链路上用于传输业务数据的第三端口可以称为用户-网络接口(user-to-network interface,UNI)。第二OTN设备配置的第三通信链路上的用于传输业务数据的第二端口可以称为数据网络接口(data network interface,DNI)。同理,第三OTN设备也同样配置有UNI、NNI和DNI。为了便于区分,参见图7B所示,将第二OTN设备上的UNI称为UNI-1(第三端口),第三OTN设备上的UNI称为UNI-2(第六端口),将第二OTN设备的NNI称为NNI-1(第一端口),将第三OTN设备的NNI称为NNI-2(第五端口),将第二OTN设备的DNI称为DNI-1(第二端口),将第三OTN设备的DNI称为DNI-2(第一端口)。In a possible example, the first OTN device may be connected to the network side device, and the first port used to transmit service data on the first communication link of the second OTN device may be called a network-to-network interface (network-to-network interface). networkinterface, NNI). The switching side may be connected to the user side equipment, and the third port configured on the second OTN equipment for transmitting service data on the first MC-LAG link may be called a user-to-network interface (UNI). The second port used to transmit service data on the third communication link configured by the second OTN device may be called a data network interface (data network interface, DNI). Similarly, the third OTN equipment is also configured with UNI, NNI and DNI. For ease of distinction, referring to Figure 7B, the UNI on the second OTN device is called UNI-1 (the third port), the UNI on the third OTN device is called UNI-2 (the sixth port), and the UNI on the second OTN device is called UNI-2 (the sixth port). The NNI of the OTN device is called NNI-1 (first port), the NNI of the third OTN device is called NNI-2 (fifth port), and the DNI of the second OTN device is called DNI-1 (second port) , and the DNI of the third OTN device is called DNI-2 (first port).
作为一种举例,控制信息1可以采用图8A所示的报文格式传输。图8A中,UNI开关表示第二MC-LAG通信链路上用于传输业务数据的端口的开关状态,即UNI-2的开关状态。NNI开关表示第二通信链路上用于传输业务数据的端口的开关状态,即NNI-2的开关状态。DNI开关用于表示第三通信链路上用于传输业务数据的端口的开关状态,即DNI-2的开关状态。例如,开关状态可以通过不同的取值来表征,0表示关、1表示开,或者0表示开、1表示关,本申请对此不作具体限定。As an example, the
作为另一种举例,控制信息2可以采用图8B所示的报文格式传输。图8B中,UNI-NNI表示UNI-2与NNI-2之间的连通状态。NNI-DNI表示NNI-2与DNI-2之间的连通状态。UNI-DNI表示UNI-2与DNI-2之间的连通状态。例如,连通状态可以通过不同的取值来表征,0表示未连通、1表示连通,或者0表示连通、1表示未连通,本申请对此不作具体限定。As another example, the
作为又一种举例,控制信息3可以采用图8C所示的报文格式传输。图8C中,UNI开关表示UNI-2选择向NNI-2或者DNI-2发送。NNI开关表示NNI-2选择向UNI-2或者DNI-2发送。DNI表示DNI-2选择向UNI-2或者NNI-2发送。例如,不同的取值用于指示选择的不同端口。作为一种举例,UNI开关取值为0x00表示选择NNI-2,取值为0x01表示选择DNI-2。NNI开关取值为0x00表示选择UNI-2,取值为0x01表示选择DNI-2。DNI开关取值为0x00表示选择UNI-2,取值为0x01表示选择NNI-2。As yet another example, the control information 3 may be transmitted in the message format shown in FIG. 8C . In FIG. 8C , the UNI switch indicates that UNI-2 chooses to send to NNI-2 or DNI-2. The NNI switch indicates that NNI-2 chooses to send to UNI-2 or DNI-2. DNI indicates that DNI-2 chooses to send to UNI-2 or NNI-2. For example, different values are used to indicate different ports selected. As an example, the value of the UNI switch is 0x00, indicating that NNI-2 is selected, and the value of the UNI switch is 0x01, indicating that DNI-2 is selected. The value of the NNI switch is 0x00, indicating that UNI-2 is selected, and the value of 0x01, indicating that DNI-2 is selected. The value of the DNI switch is 0x00, indicating that UNI-2 is selected, and the value of 0x01, indicating that NNI-2 is selected.
示例性地,各个端口还可以选择不发送,可以通过不添加取值指示不发送,或者缺省值表示不发送,或者0x02表示不发送等。Exemplarily, each port can also choose not to send, and can indicate not to send by not adding a value, or a default value means not to send, or 0x02 means not to send, etc.
作为再一种举例,控制信息4可以采用图8D所示的报文格式传输。图8D中,UNI开关表示UNI-2选择从NNI-2或者DNI-2接收。NNI开关表示NNI-2选择从UNI-2或者DNI-2接收。DNI表示DNI-2选择从UNI-2或者NNI-2接收。例如,不同的取值用于指示选择的不同端口。作为一种举例,UNI开关取值为0x00表示选择NNI-2,取值为0x01表示选择DNI-2。NNI开关取值为0x00表示选择UNI-2,取值为0x01表示选择DNI-2。DNI开关取值为0x00表示选择UNI-2,取值为0x01表示选择NNI-2。示例性地,各个端口还可以选择不接收,可以通过不添加取值指示不接收,或者缺省值表示不接收,或者0x02表示不接收等。As another example, the control information 4 may be transmitted in the message format shown in FIG. 8D . In Fig. 8D, the UNI switch indicates that UNI-2 chooses to receive from NNI-2 or DNI-2. The NNI switch indicates that NNI-2 chooses to receive from UNI-2 or DNI-2. DNI indicates that DNI-2 chooses to receive from UNI-2 or NNI-2. For example, different values are used to indicate different ports selected. As an example, the value of the UNI switch is 0x00, indicating that NNI-2 is selected, and the value of the UNI switch is 0x01, indicating that DNI-2 is selected. The value of the NNI switch is 0x00, indicating that UNI-2 is selected, and the value of 0x01, indicating that DNI-2 is selected. The value of the DNI switch is 0x00, indicating that UNI-2 is selected, and the value of 0x01, indicating that NNI-2 is selected. Exemplarily, each port can also choose not to receive, and can indicate not to receive by not adding a value, or a default value indicates not to receive, or 0x02 indicates not to receive, etc.
本申请实施例中第一OTN设备与交换侧之间传输业务数据可以存在多种场景。场景1,第一通信链路、第一MC-LAG链路均无故障。场景2,第一通信链路存在故障,需要对业务数据的传输链路进行切换。场景3,第一MC-LAG链路存在故障,需要对业务数据的传输链路进行切换。场景4,第二OTN设备存在故障,需要对业务数据的传输链路进行切换。In the embodiment of the present application, there may be various scenarios for transmitting service data between the first OTN device and the switching side. In
下面结合附图对以上各个场景进行说明。The above scenarios will be described below with reference to the accompanying drawings.
场景1,第一通信链路、第一MC-LAG链路均无故障,第一OTN设备与交换侧之间传输业务数据可以通过主OTN设备。参见图9A所示,为本申请实施例提供的一种OTN的数据传输方法流程示意图。以1+1的组网部署方式为例。In
901,在第二OTN设备与第三OTN设备之间建立第三通信链路后,协商第二OTN设备与第三OTN设备之间哪个OTN设备作为主OTN设备,哪个作为备OTN设备。此处以第二OTN设备作为主OTN设备为例。901. After a third communication link is established between the second OTN device and the third OTN device, negotiate which OTN device between the second OTN device and the third OTN device serves as the master OTN device and which serves as the standby OTN device. Here, the second OTN device is used as the master OTN device as an example.
902,第二OTN设备作为主OTN设备,可以设置本设备的各通信链路的连通状态。比如,第二OTN设备设置第一通信链路与第一MC-LAG链路连通,第一通信链路与第三通信链路未连通,第三通信链路与第一MC-LAG连通未连通。902. The second OTN device serves as the master OTN device, and can set the connectivity status of each communication link of the device. For example, the second OTN device sets that the first communication link is connected to the first MC-LAG link, the first communication link is not connected to the third communication link, and the third communication link is not connected to the first MC-LAG link. .
一种示例中,以作为主OTN设备的第二OTN设备可以通过配置两个通信链路的端口的开关状态,来实现控制两个通信链路是否连通为例。第二OTN设备控制第二OTN设备的第三通信链路上的端口DNI-1关闭,第二OTN设备的第一通信链路的端口NNI-1开启,第二OTN设备的第一MC-LAG链路的端口UNI-1开启。比如采用1+1的部署方式时,第二OTN设备控制第三OTN设备的第二通信链路的端口NNI-2开启以及第二MC-LAG链路的端口UNI-2关闭,第三OTN设备的第三通信链路的端口DNI-2开启。示例性地,第二OTN设备向第三OTN设备发送控制信息1-1,控制信息1-1指示第三OTN设备上各通信链路上用于传输业务数据的端口的工作状态。控制信息1-1指示第三OTN设备的第二MC-LAG链路上的端口UNI-2关闭,控制第三OTN设备的第二通信链路上的端口NNI-2和第三OTN设备的第三通信链路的端口DNI-2开启。在第二OTN设备的控制下,第一OTN设备与交换侧之间的传输链路(主链路)为:第一OTN设备->第一通信链路->第二OTN设备->第一MC-LAG链路->交换侧,参见图9B所示。In an example, it is taken as an example that the second OTN device as the master OTN device can control whether two communication links are connected by configuring switch states of ports of the two communication links. The second OTN device controls the port DNI-1 on the third communication link of the second OTN device to close, the port NNI-1 of the first communication link of the second OTN device to open, and the first MC-LAG of the second OTN device Port UNI-1 of the link is turned on. For example, when the 1+1 deployment mode is adopted, the second OTN device controls the opening of the port NNI-2 of the second communication link of the third OTN device and the closing of the port UNI-2 of the second MC-LAG link, and the third OTN device The port DNI-2 of the third communication link is opened. Exemplarily, the second OTN device sends control information 1-1 to the third OTN device, and the control information 1-1 indicates the working status of ports used to transmit service data on each communication link on the third OTN device. The control information 1-1 indicates that the port UNI-2 on the second MC-LAG link of the third OTN device is closed, and controls the port NNI-2 on the second communication link of the third OTN device and the port UNI-2 on the second communication link of the third OTN device. Port DNI-2 of the three communication links is opened. Under the control of the second OTN device, the transmission link (main link) between the first OTN device and the switching side is: first OTN device -> first communication link -> second OTN device -> first MC-LAG link -> switch side, see Figure 9B.
第一OTN设备可以采用双发方式,向第二OTN设备和第三OTN设备分别发送OTN数据帧,第三OTN设备接收到OTN数据帧后,通过DNI-2向第二OTN设备发送OTN数据帧。第二OTN设备执行选收,选择从NNI-1接收OTN数据帧,DNI-1端口关闭,不再接收第三OTN设备发送的OTN数据帧。The first OTN device can send OTN data frames to the second OTN device and the third OTN device respectively in a dual transmission mode, and the third OTN device sends the OTN data frames to the second OTN device through DNI-2 after receiving the OTN data frames . The second OTN device performs selective reception, and selects to receive the OTN data frame from the NNI-1, and the DNI-1 port is closed, and no longer receives the OTN data frame sent by the third OTN device.
另一种示例中,以作为主OTN设备可以通过配置两个通信链路的端口的连通状态,来实现控制两个通信链路是否连通为例。第二OTN设备可以控制NNI-1与UNI-1连通,控制NNI-1与UNI-1未连通,控制DNI-1与UNI-1未连通。第二OTN设备向第三OTN设备发送控制信息1-2,控制信息1-2指示NNI-2与DNI-2连通,NNI-2与UNI-2未连通,NNI-2与UNI-2未连通。参见图9C所示。In another example, it is taken as an example that the master OTN device can control whether the two communication links are connected by configuring the connection states of the ports of the two communication links. The second OTN device may control NNI-1 to be connected to UNI-1, control NNI-1 to be disconnected from UNI-1, and control DNI-1 to be disconnected from UNI-1. The second OTN device sends control information 1-2 to the third OTN device, the control information 1-2 indicates that NNI-2 is connected to DNI-2, NNI-2 is not connected to UNI-2, and NNI-2 is not connected to UNI-2 . See Figure 9C.
又一种示例中,以作为主OTN设备可以通过配置通信链路的端口是否向同一OTN设备的其它两个端口发送业务数据,来实现控制两个通信链路是否连通为例。第二OTN设备可以控制NNI-1向UNI-1发送业务数据,控制UNI-1向NNI-1发送业务数据,控制DNI-1不发送业务数据。第二OTN设备向第三OTN设备发送控制信息1-3,控制信息1-3指示NNI-2选择向DNI-2发送,UNI-2不会接收到该业务数据,因此第三OTN设备控制UNI-2选择发送的端口可以任意设置或者缺省等。DNI-2也不会接收到第一OTN设备与交换侧之间的业务数据。In yet another example, it is taken as an example that the master OTN device can control whether two communication links are connected by configuring whether a port of a communication link sends service data to other two ports of the same OTN device. The second OTN device can control NNI-1 to send service data to UNI-1, control UNI-1 to send service data to NNI-1, and control DNI-1 not to send service data. The second OTN device sends control information 1-3 to the third OTN device, and the control information 1-3 instructs NNI-2 to choose to send to DNI-2, and UNI-2 will not receive the service data, so the third OTN device controls UNI -2 The port to choose to send can be set arbitrarily or by default. DNI-2 will not receive the service data between the first OTN equipment and the switching side.
再一种示例中,以作为主OTN设备可以通过配置通信链路的端口选择接收同一OTN设备的其它两个端口中那个端口的业务数据,来实现控制两个通信链路是否连通为例。第二OTN设备可以控制UNI-1从NNI-1接收业务数据,控制NNI-1从UNI-1接收业务数据,控制DNI-1不接收业务数据。第二OTN设备向第三OTN设备发送控制信息1-4,控制信息1-4指示DNI-2选择从NNI-2接收业务数据,UNI-2选择从DNI-2接收业务数据或者控制UNI-2不接收业务数据。NNI-2也不会接收到第一OTN设备与交换侧之间的业务数据。In another example, it is taken as an example that the master OTN device can control whether the two communication links are connected by configuring the port of the communication link to select and receive the service data of the port of the other two ports of the same OTN device. The second OTN device can control UNI-1 to receive service data from NNI-1, control NNI-1 to receive service data from UNI-1, and control DNI-1 not to receive service data. The second OTN device sends control information 1-4 to the third OTN device, the control information 1-4 instructs DNI-2 to choose to receive service data from NNI-2, and UNI-2 chooses to receive service data from DNI-2 or control UNI-2 Business data is not received. NNI-2 will also not receive the service data between the first OTN equipment and the switching side.
作为一种可能的示例,在第二OTN设备与第三OTN设备协商第二OTN设备作为主OTN设备,第三OTN设备作为备OTN设备后,第三OTN设备可以自主配置本设备上第二通信链路的端口的开关状态为关闭以及第二MC-LAG链路的端口的开关状态为关闭。As a possible example, after the second OTN device negotiates with the third OTN device that the second OTN device acts as the primary OTN device and the third OTN device acts as the backup OTN device, the third OTN device can autonomously configure the second communication The switch state of the port of the link is closed and the switch state of the port of the second MC-LAG link is closed.
903,第二OTN设备实时监测本设备的各通信链路的工作状态。903. The second OTN device monitors the working status of each communication link of the device in real time.
904,第三OTN设备实时监测本设备的各通信链路的工作状态,并向第二OTN设备发送监测到本设备的各链路的工作状态。第二OTN设备在确定主链路包括的任一链路或者任一OTN设备发生故障之前,均确定采用主链路来传输第一OTN设备与交换侧之间的业务数据。904. The third OTN device monitors the working status of each communication link of the device in real time, and sends the monitored working status of each link to the device to the second OTN device. Before the second OTN device determines that any link included in the main link or any OTN device fails, it determines to use the main link to transmit service data between the first OTN device and the switching side.
场景2,第一通信链路发生故障,需要进行传输链路切换。参见图10A所示,为本申请实施例提供的一种OTN的数据传输方法流程示意图。In
1001,在第二OTN设备与第三OTN设备之间建立第三通信链路后,协商第二OTN设备与第三OTN设备之间哪个OTN设备作为主OTN设备,哪个作为备OTN设备。此处以第二OTN设备作为主OTN设备为例。1001. After a third communication link is established between the second OTN device and the third OTN device, negotiate which OTN device between the second OTN device and the third OTN device serves as the master OTN device and which serves as the backup OTN device. Here, the second OTN device is used as the master OTN device as an example.
1002,第二OTN设备作为主OTN设备,可以设置本设备的各通信链路的连通状态。比如,第二OTN设备设置第一通信链路与第一MC-LAG链路连通,第一通信链路与第三通信链路未连通,第三通信链路与第一MC-LAG连通未连通。设置方式可以参见902,此处不再赘述。1002. The second OTN device serves as the master OTN device, and can set the connectivity status of each communication link of the device. For example, the second OTN device sets that the first communication link is connected to the first MC-LAG link, the first communication link is not connected to the third communication link, and the third communication link is not connected to the first MC-LAG link. . For the setting method, refer to 902, which will not be repeated here.
1003,第二OTN设备实时监测本设备的各通信链路的工作状态。1003. The second OTN device monitors the working status of each communication link of the device in real time.
1004,第三OTN设备实时监测本设备的各通信链路的工作状态,并向第二OTN设备发送监测到本设备的各链路的工作状态。1004. The third OTN device monitors the working status of each communication link of the device in real time, and sends the monitored working status of each link to the device to the second OTN device.
1005,第二OTN设备监测第一通信链路发生故障时,并且通过第三通信链路接收来自第三OTN设备的各个通信链路的工作状态指示第二通信链路正常,确定切换第一OTN设备与交换侧之间的传输链路。1005. When the second OTN device monitors that the first communication link fails, and receives the working status indication of each communication link from the third OTN device through the third communication link, the second communication link is normal, and determines to switch the first OTN The transmission link between the device and the switching side.
第二OTN设备在所述第二OTN设备上控制所述第三通信链路与所述第一MC-LAG链路之间连通、控制所述第一通信链路与所述第三通信链路之间不连通,以及控制所述第一通信链路与所述第一MC-LAG链路之间不连通。第二OTN设备控制所述第三OTN设备上所述第三通信链路与所述第二通信链路之间连通、控制所述第二通信链路与所述第二MC-LAG链路之间不连通,以及控制所述第三通信链路与所述第二MC-LAG链路之间不连通。第二OTN设备可以向第三OTN设备发送控制信息2-1,控制信息2-1指示所述第三通信链路与所述第二通信链路之间连通、控制所述第二通信链路与所述第二MC-LAG链路之间不连通,以及控制所述第三通信链路与所述第二MC-LAG链路之间不连通。参见图10B所示,第一通信链路发生故障时,第二OTN设备可以将第一OTN设备与交换侧的传输链路由主链路切换到第一备用链路,第一备用链路可以是:第一OTN设备->第二通信链路->第三OTN设备->第三通信链路->第二OTN设备->第一MC-LAG链路->交换侧。The second OTN device controls communication between the third communication link and the first MC-LAG link, and controls the first communication link and the third communication link on the second OTN device. and controlling the disconnection between the first communication link and the first MC-LAG link. The second OTN device controls the connection between the third communication link and the second communication link on the third OTN device, and controls the connection between the second communication link and the second MC-LAG link. and controlling the disconnection between the third communication link and the second MC-LAG link. The second OTN device may send control information 2-1 to the third OTN device, and the control information 2-1 indicates that the third communication link is connected with the second communication link and controls the second communication link Not communicating with the second MC-LAG link, and controlling the disconnection between the third communication link and the second MC-LAG link. Referring to Figure 10B, when the first communication link fails, the second OTN device can switch the transmission link between the first OTN device and the switch side from the main link to the first backup link, and the first backup link can Yes: first OTN equipment -> second communication link -> third OTN equipment -> third communication link -> second OTN equipment -> first MC-LAG link -> switching side.
第一种可能的示例中,第二OTN设备配置本设备上的第一通信链路的端口的工作状态为关闭,可以理解为NNI-1的开关状态为关闭。配置本设备第一MC-LAG链路的端口的工作状态为开启,可以理解为UNI-1的开关状态为开启。配置本设备上第三通信链路的端口的工作状态为开启,可以理解为DNI-1的开关状态为开启。In the first possible example, the second OTN device configures the working state of the port of the first communication link on the device as off, which can be understood as the switch state of NNI-1 is off. Configure the working state of the port of the first MC-LAG link of this device to be open, which can be understood as the switch state of UNI-1 is open. Configuring the working state of the port of the third communication link on the device to be on may be understood as the switch state of the DNI-1 being on.
作为一种举例,控制信息2-1中可以包括第一指示信息、第二指示信息和第三指示信息。第一指示信息用于指示第三OTN设备的第二通信链路上用于传输业务数据的端口的开关状态为开启,可以理解为NNI-2的开关状态为开启。第二指示信息用于指示第三OTN设备的第二MC-LAG链路上用于传输业务数据的端口的开关状态为关闭,可以理解为UNI-2的开关状态为关闭。第三指示信息用于指示第三OTN设备的第三通信链路上用于传输业务数据的端口的开关状态为开启,可以理解为DNI-2的开关状态为开启。As an example, the control information 2-1 may include first indication information, second indication information, and third indication information. The first indication information is used to indicate that the switch state of the port used to transmit service data on the second communication link of the third OTN device is on, and it can be understood that the switch state of NNI-2 is on. The second indication information is used to indicate that the switch state of the port used to transmit service data on the second MC-LAG link of the third OTN device is closed, which can be understood as the switch state of UNI-2 is closed. The third indication information is used to indicate that the switch state of the port used to transmit service data on the third communication link of the third OTN device is on, which can be understood as the switch state of DNI-2 is on.
第二种可能的示例中,第二OTN设备配置本设备上的NNI-1与UNI-1未连通,NNI-1与DNI-1未连通,DNI-1与UNI-1之间连通。控制信息2-1指示NNI-2与DNI-2之间连通,DNI-2与UNI-2之间未连通,NNI-2与UNI-2之间未连通。In the second possible example, the second OTN device configures that NNI-1 and UNI-1 on the device are not connected, NNI-1 and DNI-1 are not connected, and DNI-1 and UNI-1 are connected. The control information 2-1 indicates that the NNI-2 is connected to the DNI-2, the DNI-2 is not connected to the UNI-2, and the NNI-2 is not connected to the UNI-2.
第三种可能的示例中,第二OTN设备配置DNI-1向UNI-1发送业务数据,UNI-1向DNI-1发送业务数据。控制信息2-1指示NNI-2选择向DNI-2发送业务数据,DNI-2选择向NNI-2发送业务数据。示例性地,在该场景下,交换侧从UNI-1接收业务数据,并且从UNI-1发送业务数据,从而UNI-2不会收发任何业务数据。In a third possible example, the second OTN device configures DNI-1 to send service data to UNI-1, and UNI-1 sends service data to DNI-1. The control information 2-1 instructs NNI-2 to choose to send service data to DNI-2, and DNI-2 chooses to send service data to NNI-2. Exemplarily, in this scenario, the switching side receives service data from UNI-1 and sends service data from UNI-1, so that UNI-2 does not send or receive any service data.
第四种可能的示例中,第二OTN设备配置UNI-1从DNI-1接收业务数据。配置DNI-1从UNI-1接收业务数据。控制信息2-1指示NNI-2选择从DNI-2接收业务数据,DNI-2选择从NNI-2接收业务数据。示例性地,在该场景下,交换侧从UNI-1接收业务数据,并且从UNI-1发送业务数据,从而UNI-2不会收发任何业务数据。In a fourth possible example, the second OTN device configures UNI-1 to receive service data from DNI-1. Configure DNI-1 to receive service data from UNI-1. The control information 2-1 instructs NNI-2 to choose to receive service data from DNI-2, and DNI-2 chooses to receive service data from NNI-2. Exemplarily, in this scenario, the switching side receives service data from UNI-1 and sends service data from UNI-1, so that UNI-2 does not send or receive any service data.
以第一OTN设备向交换侧传输业务数据为例。经过主链路切换第一备用链路后,数据的传输流程参见步骤1006-1008。Take the transmission of service data by the first OTN device to the switching side as an example. After the primary link is switched to the first standby link, refer to steps 1006-1008 for the data transmission process.
1006,第一OTN设备通过第二通信链路向第三OTN设备发送OTN数据帧。1006. The first OTN device sends the OTN data frame to the third OTN device through the second communication link.
1007,第三OTN设备接收来自第一OTN设备的OTN数据帧后,通过第三通信链路向第二OTN设备发送该OTN数据帧。1007. After receiving the OTN data frame from the first OTN device, the third OTN device sends the OTN data frame to the second OTN device through the third communication link.
1008,第二OTN设备接收来自第三OTN设备的OTN数据帧,从OTN数据帧获取业务数据,然后通过第一MC-LAG链路向交换侧发送该业务数据。从而交换侧接收来自第一OTN设备的业务数据。1008. The second OTN device receives the OTN data frame from the third OTN device, obtains service data from the OTN data frame, and then sends the service data to the switching side through the first MC-LAG link. Thus, the switching side receives service data from the first OTN device.
场景3,第一MC-LAG链路发生故障,需要进行传输链路切换。参见图11A所示,为本申请实施例提供的一种OTN的数据传输方法流程示意图。In scenario 3, the first MC-LAG link fails, and transmission link switching is required. Referring to FIG. 11A , it is a schematic flowchart of an OTN data transmission method provided by an embodiment of the present application.
1101,在第二OTN设备与第三OTN设备之间建立第三通信链路后,协商第二OTN设备与第三OTN设备之间哪个OTN设备作为主OTN设备,哪个作为备OTN设备。此处以第二OTN设备作为主OTN设备为例。1101. After a third communication link is established between the second OTN device and the third OTN device, negotiate which OTN device between the second OTN device and the third OTN device serves as the master OTN device and which serves as the backup OTN device. Here, the second OTN device is used as the master OTN device as an example.
1102,第二OTN设备作为主OTN设备,可以设置本设备的各通信链路的连通状态。比如,第二OTN设备设置第一通信链路与第一MC-LAG链路连通,第一通信链路与第三通信链路未连通,第三通信链路与第一MC-LAG连通未连通。设置方式可以参见902,此处不再赘述。1102. The second OTN device serves as the master OTN device, and can set the connectivity status of each communication link of the device. For example, the second OTN device sets that the first communication link is connected to the first MC-LAG link, the first communication link is not connected to the third communication link, and the third communication link is not connected to the first MC-LAG link. . For the setting method, refer to 902, which will not be repeated here.
1103,第二OTN设备实时监测本设备的各通信链路的工作状态。1103. The second OTN device monitors the working status of each communication link of the device in real time.
1104,第三OTN设备实时监测本设备的各通信链路的工作状态,并向第二OTN设备发送监测到本设备的各链路的工作状态。1104. The third OTN device monitors the working status of each communication link of the device in real time, and sends the monitored working status of each link to the device to the second OTN device.
1105,第二OTN设备监测第一MC-LAG链路发生故障时,并且通过第三通信链路接收来自第三OTN设备的各个通信链路的工作状态指示第二MC-LAG链路正常,确定切换第一OTN设备与交换侧之间的传输链路。第二OTN设备向第三OTN设备发送控制信息3-1,控制信息3-1指示第三OTN设备上第二通信链路、第二MC-LAG链路以及第三通信链路中任两个通信链路的连通关系。1105. When the second OTN device monitors that the first MC-LAG link fails, and receives the working status indication of each communication link from the third OTN device through the third communication link that the second MC-LAG link is normal, determine Switch the transmission link between the first OTN device and the switching side. The second OTN device sends control information 3-1 to the third OTN device, and the control information 3-1 indicates that any two of the second communication link, the second MC-LAG link, and the third communication link on the third OTN device connectivity of communication links.
第二OTN设备在所述第二OTN设备上控制所述第一通信链路与所述第三通信链路之间连通、控制所述第一通信链路与所述第一MC-LAG链路之间不连通,以及控制所述第三通信链路与所述第一MC-LAG链路之间不连通。控制信息3-1指示所述第三通信链路与所述第二通信链路之间不连通、控制所述第二通信链路与所述第二MC-LAG链路之间不连通,以及控制所述第三通信链路与所述第二MC-LAG链路之间连通。作为一种示例,参见图11B所示,第一MC-LAG链路发生故障时,第二OTN设备可以将第一OTN设备与交换侧的传输链路由主链路切换到第二备用链路,第二备用链路可以是:第一OTN设备->第一通信链路->第二OTN设备->第三通信链路->第三OTN设备->第二MC-LAG链路->交换侧。The second OTN device controls communication between the first communication link and the third communication link, controls the first communication link and the first MC-LAG link on the second OTN device and controlling the disconnection between the third communication link and the first MC-LAG link. The control information 3-1 indicates that the third communication link is disconnected from the second communication link, controls the disconnection between the second communication link and the second MC-LAG link, and Controlling communication between the third communication link and the second MC-LAG link. As an example, as shown in Figure 11B, when the first MC-LAG link fails, the second OTN device can switch the transmission link between the first OTN device and the switching side from the primary link to the second standby link , the second backup link can be: first OTN equipment -> first communication link -> second OTN equipment -> third communication link -> third OTN equipment -> second MC-LAG link -> swap side.
第一种示例中,第二OTN设备配置本设备上的第一通信链路的端口的工作状态为开启,可以理解为NNI-1的开关状态为开启。配置本设备第一MC-LAG链路的端口的工作状态为关闭,可以理解为UNI-1的开关状态为关闭。配置本设备上第三通信链路的端口的工作状态为开启,可以理解为DNI-1的开关状态为开启。作为一种举例,控制信息3中可以包括第四指示信息、第五指示信息和第六指示信息。第四指示信息用于指示第二通信链路上用于传输业务数据的端口的状态为关闭,可以理解为NNI-2的开关状态为关闭。第五指示信息用于指示第二MC-LAG链路上用于传输业务数据的端口的状态为开启,可以理解为UNI-2的开关状态为开启。第六指示信息用于指示第三通信链路上用于传输业务数据的端口的状态为开启,可以理解为DNI-2的开关状态为开启。In the first example, the second OTN device configures the working state of the port of the first communication link on the device as open, which can be understood as the switch state of NNI-1 is open. Configure the working state of the port of the first MC-LAG link of this device to be closed, which can be understood as the switch state of UNI-1 is closed. Configuring the working state of the port of the third communication link on the device to be on may be understood as the switch state of the DNI-1 being on. As an example, the control information 3 may include fourth indication information, fifth indication information, and sixth indication information. The fourth indication information is used to indicate that the state of the port used to transmit service data on the second communication link is closed, which can be understood as the switch state of NNI-2 is closed. The fifth indication information is used to indicate that the state of the port used to transmit service data on the second MC-LAG link is open, and it can be understood that the switch state of UNI-2 is open. The sixth indication information is used to indicate that the state of the port used to transmit service data on the third communication link is open, which can be understood as the switch state of DNI-2 is open.
第二种可能的示例中,第二OTN设备配置本设备上的NNI-1与UNI-1连通,NNI-1与DNI-1未连通,DNI-1与UNI-1之间未连通。控制信息3-1指示NNI-2与DNI-2之间未连通,DNI-2与UNI-2之间连通,NNI-2与UNI-2之间未连通。In the second possible example, the second OTN device configures that the NNI-1 on the device is connected to the UNI-1, the NNI-1 is not connected to the DNI-1, and the DNI-1 is not connected to the UNI-1. The control information 3-1 indicates that there is no communication between NNI-2 and DNI-2, there is communication between DNI-2 and UNI-2, and there is no communication between NNI-2 and UNI-2.
第三种可能的示例中,第二OTN设备配置NNI-1向DNI-1发送业务数据,DNI-1向NNI-1发送业务数据。控制信息3-1指示DNI-2选择向UNI-2发送业务数据,UNI-2选择向DNI-2发送业务数据。示例性地,在该场景下,NNI-2不向DNI-2和UNI-2发送业务数据。In a third possible example, the second OTN device configures NNI-1 to send service data to DNI-1, and DNI-1 sends service data to NNI-1. Control information 3-1 instructs DNI-2 to choose to send service data to UNI-2, and UNI-2 chooses to send service data to DNI-2. Exemplarily, in this scenario, NNI-2 does not send service data to DNI-2 and UNI-2.
第四种可能的示例中,第二OTN设备配置DNI-1从NNI-1接收业务数据,配置NNI-1从DNI-1接收业务数据。控制信息3-1指示DNI-2选择从UNI-2接收业务数据,UNI-2选择从DNI-2接收业务数据。示例性地,在该场景下,NNI-2不从DNI-2和UNI-2接收业务数据。In a fourth possible example, the second OTN device configures DNI-1 to receive service data from NNI-1, and configures NNI-1 to receive service data from DNI-1. The control information 3-1 instructs DNI-2 to choose to receive service data from UNI-2, and UNI-2 chooses to receive service data from DNI-2. Exemplarily, in this scenario, NNI-2 does not receive service data from DNI-2 and UNI-2.
以第一OTN设备向交换侧传输业务数据为例。经过主链路切换第二备用链路后,数据的传输流程参见步骤1106-1108。Take the transmission of service data by the first OTN device to the switching side as an example. After the main link is switched to the second standby link, refer to steps 1106-1108 for the data transmission process.
1106,第一OTN设备通过第一通信链路向第二OTN设备发送OTN数据帧。1106. The first OTN device sends the OTN data frame to the second OTN device through the first communication link.
1107,第二OTN设备根据第一通信链路与第三通信链路的连通状态,接收来自第一OTN设备的OTN数据帧后,通过第三通信链路向第三OTN设备发送该OTN数据帧。1107. The second OTN device sends the OTN data frame to the third OTN device through the third communication link after receiving the OTN data frame from the first OTN device according to the connection state between the first communication link and the third communication link .
1108,第三OTN设备接收来自第二OTN设备的OTN数据帧,根据UNI-2的工作状态,从OTN数据帧获取业务数据,然后根据第三通信链路与第一MC-LAG链路的连通状态通过第二MC-LAG链路向交换侧发送该业务数据。从而交换侧接收来自第一OTN设备的业务数据。1108. The third OTN device receives the OTN data frame from the second OTN device, obtains service data from the OTN data frame according to the working state of UNI-2, and then according to the connection between the third communication link and the first MC-LAG link The state sends the service data to the switching side through the second MC-LAG link. Thus, the switching side receives service data from the first OTN device.
场景4,第二OTN设备发生故障,需要进行传输链路切换。参见图12A所示,为本申请实施例提供的一种OTN的数据传输方法流程示意图。In Scenario 4, the second OTN device fails, and transmission link switching needs to be performed. Referring to FIG. 12A , it is a schematic flowchart of an OTN data transmission method provided by an embodiment of the present application.
1201,在第二OTN设备与第三OTN设备之间建立第三通信链路后,协商第二OTN设备与第三OTN设备之间哪个OTN设备作为主OTN设备,哪个作为备OTN设备。此处以第二OTN设备作为主OTN设备为例。1201. After a third communication link is established between the second OTN device and the third OTN device, negotiate which OTN device between the second OTN device and the third OTN device serves as the master OTN device and which serves as the standby OTN device. Here, the second OTN device is used as the master OTN device as an example.
1202,第二OTN设备作为主OTN设备,可以设置本设备的各通信链路的连通状态。比如,第二OTN设备设置第一通信链路与第一MC-LAG链路连通,第一通信链路与第三通信链路未连通,第三通信链路与第一MC-LAG连通未连通。设置方式可以参见902,此处不再赘述。1202. The second OTN device serves as the master OTN device, and can set the connectivity status of each communication link of the device. For example, the second OTN device sets that the first communication link is connected to the first MC-LAG link, the first communication link is not connected to the third communication link, and the third communication link is not connected to the first MC-LAG link. . For the setting method, refer to 902, which will not be repeated here.
1203,第二OTN设备实时监测本设备的各通信链路的工作状态。1203. The second OTN device monitors the working status of each communication link of the device in real time.
1204,第三OTN设备实时监测本设备的各通信链路的工作状态,并向第二OTN设备发送监测到本设备的各链路的工作状态。1204. The third OTN device monitors the working status of each communication link of the device in real time, and sends the monitored working status of each link to the device to the second OTN device.
1205,第三OTN设备通过第三通信链路监测到第二OTN设备发生故障时,则第三OTN设备由备OTN设备升级为主OTN设备。设置本设备的各个通信链路的连通状态。比如,设置第二通信链路与第二MC-LAG链路连通,第二通信链路与第三通信链路未连通,第三通信链路与第二MC-LAG链路未连通。1205. When the third OTN device detects that the second OTN device fails through the third communication link, upgrade the third OTN device from the backup OTN device to the active OTN device. Set the connectivity status of each communication link of the device. For example, it is set that the second communication link is connected to the second MC-LAG link, the second communication link is not connected to the third communication link, and the third communication link is not connected to the second MC-LAG link.
作为一种示例,第二OTN设备与第三OTN设备之间可以互发心跳报文,来监测对端设备是否发生故障。As an example, heartbeat messages may be exchanged between the second OTN device and the third OTN device to monitor whether the peer device fails.
参见图12B所示,第二OTN设备发生故障时,第三OTN设备可以将第一OTN设备与交换侧的传输链路由主链路切换到第三备用链路,第三备用链路可以是:第一OTN设备->第二通信链路->第三OTN设备->第二MC-LAG链路->交换侧。Referring to Figure 12B, when the second OTN device fails, the third OTN device can switch the transmission link between the first OTN device and the switching side from the main link to the third backup link, and the third backup link can be : first OTN equipment -> second communication link -> third OTN equipment -> second MC-LAG link -> switching side.
第一种可能的示例中,第三OTN设备设置所述第二通信链路上用于传输所述业务数据的端口的状态为开启,可以理解为NNI-2的开关状态为开启。设置所述第二MC-LAG上用于传输所述业务数据的端口的开关状态为开启,可以理解为UNI-2的开关状态为开启。设置所述第三通信链路上用于传输所述业务数据的端口的状态为关闭,可以理解为DNI-2的开关状态为开启。In the first possible example, the third OTN device sets the state of the port used to transmit the service data on the second communication link to open, which can be understood as the switch state of NNI-2 is open. Setting the switch state of the port used to transmit the service data on the second MC-LAG to open may be understood as the switch state of UNI-2 is open. Setting the state of the port used to transmit the service data on the third communication link to be off may be understood as the switch state of DNI-2 is on.
第二种可能的示例中,第三OTN设备设置UNI-2与NNI-2连通,UNI-2与DNI-2未连通,NNI-2与DNI-2未连通。In the second possible example, the third OTN device sets that UNI-2 is connected to NNI-2, UNI-2 is not connected to DNI-2, and NNI-2 is not connected to DNI-2.
第三种可能的示例中,第三OTN设备设置UNI-2从NNI-2接收业务数据,NNI-2从UNI-2接收业务数据。DNI-2可以不接收业务数据。In a third possible example, the third OTN device configures UNI-2 to receive service data from NNI-2, and NNI-2 receives service data from UNI-2. DNI-2 may not receive service data.
第四种可能的示例中,第三OTN设备设置NNI-2向UNI-2发送业务数据,UNI-2向NNI-2发送业务数据,DNI-2不会接收到业务数据,因此,针对DNI-2可以配置不向其它两个端口发送业务数据,或者随机配置。In the fourth possible example, the third OTN device sets NNI-2 to send service data to UNI-2, and UNI-2 sends service data to NNI-2, and DNI-2 will not receive service data. Therefore, for DNI- 2 It can be configured not to send business data to the other two ports, or configured randomly.
本申请实施例中,主OTN设备或者备OTN设备内部可以包括交叉单元和主控单元。主控单元可以通过控制交叉单元的OTN交叉来完成任两个通信链路的连通。作为一种举例,UNI、NNI以及DNI可以设置各个OTN设备的交叉板上。主OTN设备或者备OTN设备内部还可以包括至少两个线路单元。支路单元可以包括一个或者多个支路板,主控单元可以包括一个或者多个主控板。交叉单元可以包括一个或者交叉板,线路单元可以包括一个或者线路板。以第二OTN设备包括OTN线路板1-1,OTN交叉板1和OTN支路板1为例。第三OTN设备包括OTN线路板2-1,OTN交叉板2和OTN线路板2为例。In the embodiment of the present application, the active OTN device or the standby OTN device may include a cross-connect unit and a main control unit. The main control unit can complete the communication between any two communication links by controlling the OTN cross-connection of the cross-connection unit. As an example, the UNI, NNI, and DNI may be set on cross-connect boards of each OTN device. The active OTN device or the standby OTN device may further include at least two line units. The branch unit may include one or more branch boards, and the main control unit may include one or more main control boards. A cross-connect unit may include one or cross-connect board, and a line unit may include one or line board. Take the second OTN equipment including OTN line board 1-1,
一种可能的示例中,参见图13所示,第二OTN设备上还包括OTN线路板1-2,第三OTN设备上还包括OTN线路板2-2。第二OTN设备的OTN交叉板1上配置有三个端口,第三OTN设备的OTN交叉板2上配置有3个端口。第二OTN设备的OTN线路板1-2与第三OTN设备的OTN线路板2-2连接。In a possible example, as shown in FIG. 13 , the second OTN device further includes an OTN line board 1-2, and the third OTN device further includes an OTN line board 2-2. Three ports are configured on the
另一种可能的示例中,参见图14所示,第二OTN设备还可以包括主控板1,第三OTN设备还可以包括主控板2。主控板是OTN设备中的设备控制信息处理板。第二OTN设备作为主OTN设备,第二OTN设备的主控板1工作在“主模式”。第三OTN设备作为备OTN设备,第三OTN设备的主控板2工作在“备模式”。In another possible example, as shown in FIG. 14 , the second OTN device may further include a
在一些实施例中,主控板1和主控板2采用设定的协议来进行信息交互。例如,设定的协议可以是新定义的协议。新定义的协议可以称为MC-SNCP协议,当然还可以命名为其它的名字,本申请实施例对此不作具体限定。后续描述时,以MC-SNCP协议为例。In some embodiments, the
主控板1和主控板2之间可以建立控制通道,控制通道用于传输控制信息和/或备OTN设备的各链路的工作状态。控制通道采用MC-SNCP协议。控制通道可以称为数据通信网络(data communication network,DCN)通道,还可以采用其它的名字命名,本申请对此不作具体限定。A control channel can be established between the
主控板1用于收集第二OTN设备上各通信链路的状态信息,包括第一通信链路的状态信息、第三通信链路的状态和第一MC-LAG链路的状态信息。主控板1可以从OTN线路板1-1上获取第一通信链路的状态信息,从OTN支路板1上获取第一MC-LAG链路的状态信息。在第二OTN设备采用图13所示的结构时,主控板1可以从OTN线路板1-2上获取第三通信链路的状态信息。The
主控板2用于收集第三OTN设备上各通信链路的状态信息,包括第二通信链路的状态信息、第三通信链路的状态信息和第二MC-LAG链路的状态信息。主控板2可以从OTN线路板2-1上获取第二通信链路的状态信息,从OTN支路板2上获取第二MC-LAG链路的状态信息。在第三OTN设备采用图13所示的结构时,主控板2可以从OTN线路板2-2上获取第三通信链路的状态信息。The
主控板2还用于通过控制通道向第二OTN设备发送获取到的第二通信链路的状态信息和第二MC-LAG链路的状态信息。主控板2可以通过MC-SNCP协议报文格式向第二OTN设备的主控板1发送第二通信链路的状态信息和第二MC-LAG链路的状态信息。示例性地,用于传输链路的状态信息的MC-SNCP协议报文格式可以参见图5B所示。The
进一步地,主控板1根据获取到的第二OTN设备上各链路的状态信息以及第三OTN上各链路的状态信息确定第一OTN设备与交换侧之间传输业务数据的传输链路。当确定需要切换传输链路时,可以配置交换板1建立所述OTN线路板1-1、OTN线路板1-2以及支路板1中至少两个通信单板之间的交叉连接。并通过控制通道向第三OTN设备发送控制信息。控制信息用于指示第三OTN设备控制交换板2建立所述OTN线路板2-1、OTN线路板2-2以及支路板2中至少两个通信单板之间的交叉连接。Further, the
一些实施例中,主控板1在确定所述第一通信链路存在故障时,控制交叉板1建立所述OTN线路板1-2与所述支路板1之间的交叉连接;其中,所述OTN线路板1-1与OTN线路板1-2之间的交叉连接未建立,OTN线路板1-1与支路板1之间的交叉连接未建立。主控板2根据所述控制信息控制交叉板2建立所述OTN线路板2-1与OTN线路板2-2之间的交叉连接;其中,所述OTN线路板2-1与支路板2之间的交叉连接未建立,所述OTN线路板2-2与支路板2之间的交叉连接未建立。In some embodiments, when the
另一些实施例中,所述主控板1,在确定所述第四通信链路存在故障时,控制交叉板1建立所述线路板1-1与所述线路板1-2之间的交叉连接;其中,所述线路板1-1与所述支路板1之间的交叉连接未建立,所述线路板1-2与所述支路板1之间的交叉连接未建立。In some other embodiments, when the
所述主控板2,具体用于根据所述控制信息控制所述交叉板2建立所述线路板2-2和所述支路板2之间的交叉连接;其中,所述线路板2-1与所述线路板2-2的交叉连接未建立,所述线路板2-1与所述支路板2之间的交叉未建立。The
具体的,主控板1通过交叉板1上的3个端口,UNI-1、NNI-1和DNI1来建立交叉连接或者不建立交叉实现第二OTN设备上任两个通信链路的连通或未连通。主控板2通过交叉板2上的3个端口,UNI-2、NNI-2和DNI-2来建立交叉连接或者不建立交叉实现第三OTN设备上任两个通信链路的连通或未连通。Specifically, the
示例性地,主控板1可以采用MC-SNCP协议格式向第三OTN设备的主控板2发送控制信息。作为一种举例,主控板2接收到控制信息后,根据控制信息的指示配置交换板2上各个端口的开关状态或者两个端口之间的连通状态或者各个端口选择状态。示例性地,用于传输控制信息的MC-SNCP协议报文格式可以参见图8A、图8B、图8C或者图8D所示。主控板1配置交换板1上各个端口的开关状态,以及通过控制信息控制第三OTN设备的交换板2上各个端口的开关状态或者两个端口之间的连通状态或者各个端口的选择状态,具体控制方式以及发送的控制信息可以参见场景1-场景3中的相关描述。Exemplarily, the
在一种可能的场景中,第三OTN设备的主控板2确定第二OTN设备发生故障时,比如掉电,可以将自身的工作模式更新为“主模式”。然后配置本设备的交换板2上的端口的开关状态。具体配置方式参见场景4的相关描述,此处不再赘述。In a possible scenario, when the
在一种可能的实施方式中,参见图15所示,主控板1和主控板2均可以包括MC-SNCP协议模块和MC-LAG协议模块。为了便于区分,将主控板1包括的MC-SNCP协议模块称为MC-SNCP协议模块1,主控板2包括的MC-SNCP协议模块称为MC-SNCP协议模块2。将主控板1包括的MC-LAG协议模块称为MC-LAG模块1,将主控板2包括的MC-LAG协议模块称为MC-LAG模块2。主控板1和主控板2通过配置保存有MC-SNCP组和MC-LAG组的关联关系。这里所提及的配置可以是管理人员配置,或者网络管理设备向主控板1和主控板2下发配置信息。示例性地,配置信息可以包括MC-SNCP组ID与第二OTN设备的NNI-1以及第三OTN设备的NNI-2之间的映射关系。配置信息还可以包括MC-LAG组ID与第二OTN设备的UNI-1端口以及第三OTN设备的UNI-2端口之间的映射关系。示例性地,配置信息中还可以包括MC-SNCP组ID与MC-LAG组ID之间的对应关系。从而主控板1和主控板2根据配置信息确定MC-SNCP组和MC-LAG组,并建立MC-SNCP组和MC-LAG组的关联关系,示例性地,主控板1和主控板2均存储MC-SNCP组ID和MC-LAG组ID之间的映射关系。In a possible implementation manner, as shown in FIG. 15 , both the
可以理解的是,第二OTN设备与第三OTN设备上可以配置有多个不同的LAG组,第二OTN设备与第三OTN设备之间针对不同的收端设备和发端设备传输的业务数据配置有不同MC-LAG组。第二OTN设备与第三OTN设备之间针对相同的收端设备和发端设备传输的不同业务数据配置有不同的MC-LAG组。It can be understood that multiple different LAG groups can be configured on the second OTN device and the third OTN device, and the configuration of service data transmitted between the second OTN device and the third OTN device for different receiving end devices and originating devices There are different MC-LAG groups. Different MC-LAG groups are configured between the second OTN device and the third OTN device for different service data transmitted by the same receiving device and transmitting device.
MC-SNCP协议模块1负责收集第二OTN设备上第一通信链路的工作状态以及第三通信链路的工作状态。具体的,MC-SNCP协议模块1可以从OTN线路板1-1上获取第一通信链路的工作状态。可选地,MC-SNCP协议模块1还可以从OTN线路板1-2上获取第三通信链路的工作状态。MC-LAG模块1负责收集第二OTN设备上第一MC-LAG链路的工作状态。具体的,MC-LAG模块1负责从第二OTN设备上OTN支路板1获取第一MC-LAG链路的工作状态。进一步地,MC-LAG模块1将获取的第一MC-LAG链路的工作状态发送给MC-SNCP模块1。示例性地,MC-LAG模块1可以采用图16A或者图16B所示的协议报文格式向MC-SNCP模块1通告第一MC-LAG链路的工作状态。The MC-
第一MC-LAG链路的工作状态可以包括MC-LAG工作链路、MC-LAG备用(backup)链路、或者ETH信号los等中的一项或者多项。作为一种举例,MC-LAG状态的不同取值,可以采用标识不同的工作状态,例如,0x00表示ETH信号los。0x01表示MC-LAG工作链路,0x02表示MC-LAG备用链路等。The working state of the first MC-LAG link may include one or more of an MC-LAG working link, an MC-LAG backup (backup) link, or an ETH signal los. As an example, different values of the MC-LAG state may be used to identify different working states, for example, 0x00 represents the ETH signal los. 0x01 indicates the MC-LAG working link, 0x02 indicates the MC-LAG standby link, etc.
同理,MC-SNCP协议模块2负责收集第三OTN设备上第二通信链路的工作状态以及第三通信链路的工作状态。具体的,MC-SNCP协议模块2可以从OTN线路板2-1上获取第二通信链路的工作状态。可选地,MC-SNCP协议模块2还可以从OTN线路板2-2上获取第三通信链路的工作状态。MC-LAG模块2负责收集第三OTN设备上第二MC-LAG链路的工作状态。具体的,MC-LAG模块2负责从第三OTN设备上OTN支路板2获取第二MC-LAG链路的工作状态。进一步地,MC-LAG模块2将获取的第二MC-LAG链路的工作状态发送给MC-SNCP模块2。示例性地,MC-LAG模块2可以采用图16A或图16B所示的协议报文格式向MC-SNCP模块2通告第二MC-LAG链路的工作状态。第二MC-LAG链路的工作状态可以包括MC-LAG工作链路、MC-LAG备份链路、或者ETH信号los等中的一项或者多项。Similarly, the MC-
进一步地,SNCP协议模块2将收集到的链路的状态信息发送给SNCP协议模块1,比如包括第二通信链路的工作状态和第二MC-LAG链路的工作状态。示例性地,用于传输链路的状态信息的MC-SNCP协议报文格式可以参见图5B所示。SNCP协议模块1根据获取到的各个链路的状态信息确定第一OTN设备与交换侧之间业务数据的传输路径。示例性地,SNCP协议模块1根据MC-SNCP组ID确定对应的MC-LAG组ID,根据MC-SNCP组ID与NNI-1和NNI-2的对应关系,以及MC-LAG组ID与UNI-1和UNI-2之间的映射关系确定所需要设置开关状态的端口,从而实现控制NNI-1、NNI-2、UNI-1以及UNI-2的开关状态。Further, the
基于与上述实施例同样的发明构思,本申请实施例还提供了一种数据传输装置。该装置具体可以是主控单元或者主控板。参见图17所示,所述装置可以包括接收单元1701、处理单元1702、发送单元1703。数据传输装置具体用于实现图9A、图10A、图11A或者图12A中第二OTN设备执行的方法步骤,或者实现图9A、图10A、图11A或者图12A中第三OTN设备执行的方法步骤。Based on the same inventive concept as the foregoing embodiments, the embodiments of the present application further provide a data transmission device. Specifically, the device may be a main control unit or a main control board. Referring to FIG. 17 , the apparatus may include a
一种场景中,应用于第二OTN设备时,其中接收单元1701用于执行接收动作,比如从第三OTN设备接收链路的工作状态。处理单元1702用于配置通信链路的连通状态,发送单元1703用于向第三OTN设备发送控制信息,重复之处,此处不再赘述。In one scenario, when applied to a second OTN device, the receiving
一种场景中,应用于第三OTN设备时,其中接收单元1701用于执行接收动作,比如从第二OTN设备接收控制信息。处理单元1702用于配置通信链路的连通状态,发送单元1703用于向第二OTN设备发送链路的状态信息,重复之处,此处不再赘述。In one scenario, when applied to the third OTN device, the receiving
本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into one processor, or physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
本申请实施例还提供另外一种数据传输装置结构,比如OTN设备结构。如图18所示,网络设备1800中可以包括通信接口1810、处理器1820以及存储器1830。该数据传输装置可以作为第二OTN设备或者第三OTN设备。The embodiment of the present application also provides another data transmission device structure, such as an OTN equipment structure. As shown in FIG. 18 , a network device 1800 may include a
上述图17中所示的接收单元1701、处理单元1702、发送单元1703均可以由处理器1820实现。处理器1820通过通信接口1810接收业务数据或者控制信息状态信息,并用于实现图9A、图10A、图11A或者图12A中第二OTN设备所执行的方法,或者用于实现图9A、图10A、图11A或者图12A中第三OTN设备所执行的方法。The receiving
在实现过程中,处理流程的各步骤可以通过处理器1820中的硬件的集成逻辑电路或者软件形式的指令完成图9A、图10A、图11A或者图12A所述的第二OTN设备或者第三OTN设备所执行的方法。In the implementation process, each step of the processing flow can be completed by the integrated logic circuit of the hardware in the
本申请实施例中通信接口1810可以是电路、总线、收发器或者其它任意可以用于进行信息交互的装置。其中,示例性地,该其它装置可以是与该网络设备1800相连的设备,比如网络设备1800应用于通信单板时,该其它装置可以是分组交换侧或OTN设备。In the embodiment of the present application, the
本申请实施例中处理器1820可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件单元组合执行完成。处理器1820用于实现上述方法所执行的程序代码可以存储在存储器1830中。存储器1830和处理器1820耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器1820可能和存储器1830协同操作。存储器1830可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器1830是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。其中,存储器1830可以是通过外挂的形式应用于网络设备1800中。The
本申请实施例中不限定上述通信接口1810、处理器1820以及存储器1830之间的具体连接介质。本申请实施例在图18中以存储器1830、处理器1820以及通信接口1810之间通过总线连接,总线在图18中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图18中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In this embodiment of the present application, a specific connection medium among the
基于以上实施例,本申请实施例还提供了一种计算机存储介质。该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。Based on the above embodiments, the embodiment of the present application further provides a computer storage medium. A software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the method provided by any one or more embodiments above can be implemented. The computer storage medium may include: various media capable of storing program codes such as U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.
基于以上实施例,本申请实施例还提供了一种芯片。该芯片包括处理器,用于实现上述任意一个或多个实施例所涉及的功能,例如获取或处理上述方法中所涉及的数据帧。可选地,所述芯片还包括存储器,所述存储器,用于处理器所执行必要的程序指令和数据。该芯片,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, the embodiment of the present application further provides a chip. The chip includes a processor configured to implement the functions involved in any one or more of the above embodiments, such as acquiring or processing the data frames involved in the above methods. Optionally, the chip further includes a memory for necessary program instructions and data executed by the processor. The chip may consist of chips, or may include chips and other discrete devices.
应理解,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It should be understood that embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品。该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction means. The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. In this way, if the modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and equivalent technologies, the present application also intends to include these modifications and variations.
Claims (34)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110490713.0A CN115314103B (en) | 2021-05-06 | 2021-05-06 | Data transmission method, device and chip of optical transmission network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110490713.0A CN115314103B (en) | 2021-05-06 | 2021-05-06 | Data transmission method, device and chip of optical transmission network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115314103A true CN115314103A (en) | 2022-11-08 |
| CN115314103B CN115314103B (en) | 2025-09-16 |
Family
ID=83854131
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110490713.0A Active CN115314103B (en) | 2021-05-06 | 2021-05-06 | Data transmission method, device and chip of optical transmission network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115314103B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115549775A (en) * | 2022-12-05 | 2022-12-30 | 北京百度网讯科技有限公司 | Method for processing optical signal transmission abnormity, optical transmission equipment and system |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101039210A (en) * | 2006-03-13 | 2007-09-19 | 华为技术有限公司 | Method and apparatus for realizing network self-healing protection |
| CN102740175A (en) * | 2012-06-12 | 2012-10-17 | 烽火通信科技股份有限公司 | Method for protecting and recovering cross-domain end-to-end label switched path |
| CN106506110A (en) * | 2015-09-06 | 2017-03-15 | 中兴通讯股份有限公司 | Statistic multiplexing optical transfer network method and device |
| CN109787895A (en) * | 2019-03-29 | 2019-05-21 | 烽火通信科技股份有限公司 | A kind of dual-homing protection method, access node, equipment and communication network |
| CN110890933A (en) * | 2019-12-23 | 2020-03-17 | 中国移动通信集团内蒙古有限公司 | Service protection method, device, system, equipment and medium |
| CN112751607A (en) * | 2019-10-31 | 2021-05-04 | 中兴通讯股份有限公司 | Protection switching method and system for link aggregation port |
-
2021
- 2021-05-06 CN CN202110490713.0A patent/CN115314103B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101039210A (en) * | 2006-03-13 | 2007-09-19 | 华为技术有限公司 | Method and apparatus for realizing network self-healing protection |
| CN102740175A (en) * | 2012-06-12 | 2012-10-17 | 烽火通信科技股份有限公司 | Method for protecting and recovering cross-domain end-to-end label switched path |
| CN106506110A (en) * | 2015-09-06 | 2017-03-15 | 中兴通讯股份有限公司 | Statistic multiplexing optical transfer network method and device |
| CN109787895A (en) * | 2019-03-29 | 2019-05-21 | 烽火通信科技股份有限公司 | A kind of dual-homing protection method, access node, equipment and communication network |
| CN112751607A (en) * | 2019-10-31 | 2021-05-04 | 中兴通讯股份有限公司 | Protection switching method and system for link aggregation port |
| CN110890933A (en) * | 2019-12-23 | 2020-03-17 | 中国移动通信集团内蒙古有限公司 | Service protection method, device, system, equipment and medium |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115549775A (en) * | 2022-12-05 | 2022-12-30 | 北京百度网讯科技有限公司 | Method for processing optical signal transmission abnormity, optical transmission equipment and system |
| CN115549775B (en) * | 2022-12-05 | 2023-10-17 | 北京百度网讯科技有限公司 | Processing method for optical signal transmission abnormality, optical transmission equipment and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115314103B (en) | 2025-09-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10425153B2 (en) | Generalized service protection systems and methods | |
| US10153948B2 (en) | Systems and methods for combined software defined networking and distributed network control | |
| US9992102B2 (en) | Methods and systems to select active and standby ports in link aggregation groups | |
| US9680588B2 (en) | OTN switching systems and methods using an SDN controller and match/action rules | |
| EP2983314B1 (en) | Oduflex resizing systems and methods | |
| US20240396628A1 (en) | Method for supporting sncp over packet network | |
| US9143227B2 (en) | Optical transport network port protection systems and methods using flexible switch criteria | |
| US9264139B2 (en) | Optical transport network clock transient suppression systems and methods | |
| US9503338B2 (en) | Systems and methods to detect and propagate UNI operational speed mismatch in ethernet services | |
| US8817824B2 (en) | Optical transport network line management system and methods | |
| JP5883509B2 (en) | Network elements for switching time division multiplexed signals | |
| JP6293883B2 (en) | Data transmission system providing improved resiliency | |
| EP3065350B1 (en) | Link discovery method, system and device | |
| EP4207633A1 (en) | Service protection method and network node | |
| WO2020199421A1 (en) | Dual-homing protection method, access node, device and communication network | |
| US20240064111A1 (en) | Service Protection Method and Network Node | |
| CN113727220B (en) | Service resource pre-configuration method, device and system | |
| US7564776B2 (en) | Method for controlling the transport capacity for data transmission via a network, and network | |
| CN115314103B (en) | Data transmission method, device and chip of optical transmission network | |
| EP3318016B1 (en) | Transport network tunnel setup based upon control protocol snooping | |
| US11309984B2 (en) | TCM control for physical layer on OTU ports | |
| CN101094238A (en) | Cluster system with multiple machine frames, and machine frame | |
| US9762340B1 (en) | Synchronization timing loop detection systems and methods | |
| CN114765705B (en) | A method and chip for transmitting business data | |
| CN104954250A (en) | Double-node interconnection protection method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |