Data transmission method, device and chip of optical transmission network
By building protection groups in the optical transport network, monitoring and negotiating primary and backup OTN devices, and dynamically switching transmission paths, the problem of SNCP's inability to support heterogeneous destinations with the same source is resolved, and service data protection is achieved in complex scenarios.
Patent Information
- Application Number
- CN202110490713.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-06
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2041-05-06
AI Technical Summary
The existing subnetwork connection protection (SNCP) technology cannot support the switching protection requirements of the same source and different destination, and cannot meet the protection needs in complex scenarios.
By introducing the second and third OTN devices into the optical transport network to form a protection group, monitoring and negotiating the primary and backup OTN devices, dynamically switching the transmission path according to the working status of the communication link, controlling the transmission path of the service data, and implementing protection by utilizing the connectivity status of the ports and links.
It enables timely switching of business data in complex scenarios, prevents interruptions, supports the protection requirements of the same source and different destinations, and simplifies the protection mechanism.
Smart Images

Figure CN115314103B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of optical communication technology, and in particular to a data transmission method, device, and chip for an optical transmission network. Background Art
[0002] Sub-network connection protection (SNCP) involves pre-arranging a dedicated protection route for a subnet connection. If a subnet failure occurs, the dedicated protection route takes over the subnet's responsibility for transport across the entire network. SNCP is a key technology for hard pipe protection in optical transport networks (OTNs). SNCP supports "same source, same destination" but not "same source, different destinations," meaning it cannot support switching protection between two destinations at the same source. Therefore, it cannot meet the switching protection requirements in complex scenarios. Summary of the Invention
[0003] The embodiments of the present application provide a data transmission method, device, and chip for an optical transport network, which are used to meet the switching protection requirements in complex scenarios.
[0004] 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. The method includes: the second OTN device monitoring the operating status of a first communication link, a third communication link, and a fourth communication link, and obtaining the operating status of the second communication link and the fifth communication link from the third OTN device; the first communication link is used to connect the second OTN device with the first OTN device, the second communication link is used to connect the first OTN device with the third OTN device, the third communication link is used to connect the second OTN device with the third OTN device, the fourth communication link is used to connect the second OTN device with a switching side, and the fifth communication link is used to connect the third OTN device with the switching side; the second OTN device controls the transmission path for transmitting service data between the first OTN device and the switching side based on the operating status of the first communication link, the second communication link, the third communication link, the fourth communication link, and all the fifth communication links. In the above method, a protection group is formed by the second OTN device and the third OTN device, in which 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. Then, according to the working status of each communication link, such as a failure of a communication link, the transmission path can be switched in time, thereby controlling the transmission of service data between the protected first OTN device and the switching side.
[0005] In one possible design, the method further includes: the second OTN device and the third OTN device negotiating, via the third communication link, that the second OTN device serves as the primary OTN device and the third OTN device serves as the backup OTN device. The second OTN device and the third OTN device negotiate which OTN device serves as the primary OTN device and which OTN device serves as the backup OTN device, which is simple and effective to implement.
[0006] In one possible design, the second OTN device and the third OTN device negotiate which OTN device serves as the master OTN device and which OTN device serves as the backup OTN device based on device priority. For example, the priority of the second OTN device is higher than that of the third OTN device.
[0007] The second OTN device and the third OTN device negotiate the master and backup OTN devices based on the size of their identifiers. For example, if the second OTN device's identifier is smaller than the third OTN device's identifier, the second OTN device becomes the master OTN device. For another example, if the second OTN device's identifier is larger than the third OTN device's identifier, the second OTN device becomes the master OTN device.
[0008] The second OTN device and the third OTN device may first negotiate which OTN device is the master OTN device based on the device priority. When the priorities of the two devices are the same, they may further negotiate which OTN device is the master OTN device based on the size of the device identifier.
[0009] In one possible design, obtaining the operating status of the second communication link and the fifth communication link from the third OTN device includes: the second OTN device receiving the operating status of the second communication link and the operating status of the fifth communication link sent by the third OTN device via the third communication link. In this design, the third OTN device can monitor the operating status of each of its own communication links in real time and can report the operating status of each of its own communication links to the second OTN device.
[0010] In one possible design, the second OTN device controls the transmission path through which service data is transmitted between the first OTN device and the switching side based on the operating status of the first, second, third, fourth, and fifth communication links. This includes: the second OTN device controls the connectivity between any two of the first, third, and fourth communication links on the second OTN device based on the operating status of the first, second, third, fourth, and fifth communication links, and sends control information to the third OTN device, the control information indicating the connectivity between any two of the second, third, and fifth communication links on the third OTN device. In this design, the second OTN device sets the connectivity between its three communication links based on the operating status of each communication link of the two devices, and controls the connectivity between the three communication links of the third OTN device using the control information. This enables timely switching of transmission paths based on the operating status of each communication link, such as a failure of a communication link, thereby controlling the transmission of service data between the protected first OTN device and the switching side, and preventing service interruption.
[0011] In one possible design, controlling the connectivity between any two of the first, third, and fourth communication links on the second OTN device includes: when the first communication link fails and the second, third, and fourth communication links are all operating normally, controlling connectivity between the third and fourth communication links, controlling disconnection between the first and third communication links, and controlling disconnection between the first and fourth communication links on the second OTN device. In the above design, when the communication link between the first and second OTN devices fails, the data can be forwarded to the second OTN device via the third communication link through the third OTN device, and then transmitted to the switching side, without the switching side being aware of the failure of the first communication link.
[0012] In one possible design, the method further includes: when a fault occurs in the first communication link, the second OTN device receives an OTN data frame sent by the third OTN device through the third communication link, 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 the service data to the switching side through the fourth communication link.
[0013] In one possible design, when there is a fault in the first communication link and the working status 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 is not connected to the fifth communication link.
[0014] In one possible design, controlling the connectivity status between any two of the first communication link, the third communication link, and the fourth communication link on the second OTN device includes:
[0015] When the fourth communication link fails and the first communication link, the third communication link, and the fifth communication link are in normal working status, the second OTN device controls the first communication link to be connected to the third communication link, controls the first communication link to be disconnected from the fourth communication link, and controls the third communication link to be disconnected from the fourth communication link.
[0016] In one possible design, when the fourth communication link fails and the first, third, and fifth communication links are operating normally, the control information indicates that the second communication link is disconnected from the third communication link, controls the second communication link to be disconnected from the fifth communication link, and controls the third communication link to be connected to the fifth communication link. In the above design, when the communication link between the second OTN device and the switching side fails, data is received via the first communication link, then forwarded to the third OTN device via the third communication link, and then transmitted to the switching side.
[0017] In one 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 there is a failure in the fourth communication link, the second OTN device sending the OTN data frame to the third OTN device through the third communication link.
[0018] In one possible design, controlling a connectivity status between any two of the first communication link, the third communication link, and the fourth communication link on the second OTN device includes:
[0019] controlling a switch state of a port on the second OTN device for transmitting the service data, where the port on the second OTN device for transmitting the service data includes one or more of a first port on the first communication link of the second OTN device for transmitting the service data, a second port on the third communication link for transmitting the service data, or a third port on the fourth communication link for transmitting the service data, wherein a connection channel is provided between any two of the first port, the second port, and the third port;
[0020] The control information indicates a switch state of a port on the third OTN device used to transmit the service data; the port on the third OTN device used to transmit the service data includes one or more of a fourth port on the second communication link of the third OTN device used to transmit the service data, a fifth port on the third communication link used to transmit the service data, or a sixth port on the fifth communication link used to transmit the service data, and a connection channel is provided between any two of the fourth port, the fifth port, and the sixth port.
[0021] In the above design, the second OTN device realizes connectivity 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 to implement.
[0022] In one possible design, when the first communication link fails and the second, fourth, and third communication links are all operating normally, the second OTN device controls the switch states of the second and third ports to be both on, and the switch state of the first port to be off; the control information indicates that the switch states of the fourth and fifth ports are both on, and the switch state of the sixth port is off. In the above design, if the communication link between the first and second OTN devices fails, the third OTN device can forward the information to the second OTN device via the third communication link, and then transmit it to the switching side, without the switching side being aware of the failure of the first communication link.
[0023] In one possible design, when the fourth communication link fails and the first, fifth, and third communication links are all operating normally, the switch states of the first and second ports configured on the second OTN device are both on, and the switch state of the third port is off; the control information indicates that the switch state of the fourth port is off, and the switch states of the fifth and sixth ports are both on. In the above design, when the communication link between the second OTN device and the switching side fails, the switch states of each port are set, thereby enabling data to be received via the first communication link, then forwarded to the third OTN device via the third communication link, and then transmitted to the switching side.
[0024] In one possible design, controlling the connectivity status between any two of the first, third, and fourth communication links on the second OTN device includes: controlling the connectivity status of any two ports on the second OTN device used to transmit the service data, where the ports on the second OTN device used to transmit the service data include one or more of a first port on the first communication link of the second OTN device used to transmit the service data, a second port on the third communication link used to transmit the service data, or a third port on the fourth communication link used to transmit the service data; the control information indicates the connectivity status of any two ports on the third OTN device used to transmit the service data; and the ports on the third OTN device used to transmit the service data include one or more of a fourth port on the second communication link of the third OTN device used to transmit the service data, a fifth port on the third communication link used to transmit the service data, or a sixth port on the fifth communication link used to transmit the service data. In the above design, the second OTN device controls the connectivity between the ports on the two OTNs to achieve connectivity or disconnection between the communication links, which is simple and effective.
[0025] In one possible design, when the first communication link fails and the second, fourth, and third communication links are all operating normally, the second OTN device controls the second port to be connected to the third port, the first port to be disconnected from the second port, and the first port to be disconnected from the third port; the control information indicates that the fourth port to be connected to the fifth port, the fourth port to be disconnected from the sixth port, and the fifth port to be disconnected from the sixth port. In the above design, when the communication link between the first and second OTN devices fails, the connectivity between any two ports can be set so that the third OTN device forwards the data to the second OTN device via the third communication link, and then transmits it to the switching side, without the switching side being aware of the failure of the first communication link.
[0026] In one possible design, when a fault occurs on the fourth communication link and the first communication link, the fifth link, and the third communication link are all in normal working state, the second OTN device controls the first port and the second port to be connected, the first port and the third port to be disconnected, and the second port and the third port to be disconnected; and the control information indicates that the fifth port and the sixth port are connected, the fourth port and the fifth port are disconnected, and the fourth port and the sixth port are disconnected.
[0027] In the above design, when the communication link between the second OTN device and the switching side fails, by setting the connectivity between any two ports, data can be 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.
[0028] In one possible design, controlling the connectivity status between any two of the first, third, and fourth communication links on the second OTN device includes controlling the selection status of each of a first port, a second port, and a third port on the second OTN device used for transmitting service data to select data from the other two ports, where the first port is a port on the first communication link of the second OTN device, the second port is a port on the third communication link of the second OTN device, and the third port is a port on the fourth communication link of the second OTN device. The control information indicates the selection status of each of a fourth port, a fifth port, and a sixth port on the third OTN device used for transmitting service data to select data from the other two ports. The fourth port is a port on the second communication link of the third OTN device, the fifth port is a port on the third communication link of the third OTN device, and the sixth port is a port on the fifth communication link of the third OTN device. In the above design, the second OTN device controls the selection status of ports on two OTNs to achieve connectivity or disconnection between the communication links, which is simple and effective.
[0029] In one possible design, when the first communication link fails and the second, fourth, and third communication links are all operating normally, the second OTN device controls the third port to select the second port for receiving service data, and the second port to select 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 to receive 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 and second OTN devices fails, the port selection state can be set to enable the third OTN device to forward data to the second OTN device via the third communication link, and then transmit it to the switching side, without the switching side being aware of the failure of the first communication link.
[0030] In one possible design, when the fourth communication link fails and the first, fifth, and third communication links are all operating normally, the second OTN device controls the first port to select the second port to receive service data, and the second port to select 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 to select the fourth port to receive service data. In this design, when the communication link between the second OTN device and the switching side fails, the port is set to select another port, thereby enabling data to be received via the first communication link, then forwarded to the third OTN device via the third communication link, and then transmitted to the switching side.
[0031] In one possible design, controlling the connectivity status between any two of the first, third, and fourth communication links on the second OTN device includes controlling the selection status of each of a first port, a second port, and a third port on the second OTN device, used for transmitting service data, to select which of the other two ports to send service data to. The first port is a port on the first communication link of the second OTN device, the second port is a port on the third communication link of the second OTN device, and the third port is a port on the fourth communication link of the second OTN device. The control information indicates the selection status of each of a fourth port, a fifth port, and a sixth port on the third OTN device, used for transmitting service data, to select which of the other two ports to send service data to. The fourth port is a port on the second communication link of the third OTN device, the fifth port is a port on the third communication link of the third OTN device, and the sixth port is a port on the fifth communication link of the third OTN device. In the above design, the second OTN device controls the selection status of ports on two OTNs to connect or disconnect the communication links, which is simple and effective.
[0032] In one possible design, when the first communication link fails and the second, fourth, and third communication links are all operating normally, the second OTN device controls the third port to select the second port to send service data, and the second port to select 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 to select 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 and second OTN devices fails, the port selection state can be set to enable the third OTN device to forward data to the second OTN device via the third communication link, and then transmit it to the switching side, without the switching side being aware of the failure of the first communication link.
[0033] In one possible design, when the fourth communication link fails and the first, fifth, and third communication links are all operating normally, the second OTN device controls the first port to select the second port for sending service data, and the second port to select the first port for sending service data. The control information instructs the fourth port to select the sixth port for sending service data, and the sixth port to select the fourth port for sending service data. In the above design, when the communication link between the second OTN device and the switching side fails, the port is set to select another port, thereby enabling data to be received via the first communication link, then forwarded to the third OTN device via the third communication link, and then transmitted to the switching side.
[0034] In a second aspect, embodiments of the present application provide a data transmission method for an optical transport network, applied to an optical transport network comprising at least a first optical transport network (OTN) device, a second OTN device, and a third OTN device. The method comprises: the third OTN device receiving control information from the second OTN device, the control information indicating the connectivity status between any two of a second communication link, a third communication link, and a fifth communication link on the third OTN device; wherein the second communication link is used to connect the first OTN device with the third OTN device, the fifth communication link is used to connect the third OTN device with a switching side, and the third communication link is used to connect the second OTN device with the third OTN device; and the third OTN device controlling the connectivity status between any two of the second communication link, the third communication link, and the fifth communication link based on the control information. In the above design, the third OTN device sets the connectivity status of any two communication links under the control of the second OTN device, so that when a link of the second OTN device fails, service data can be forwarded from the third OTN device, thereby achieving same-source, different-destination protection.
[0035] In one possible design, the method further includes: the second OTN device and the third OTN device negotiate through the third communication link that the second OTN device is the primary OTN device and the third OTN device is the backup OTN device.
[0036] In one possible design, the method further includes: the third OTN device monitoring the operating status of the second communication link and the fifth communication link; the third OTN device sending the operating status of the second communication link and the fifth communication link to the second OTN device, where the operating status of the second communication link and the fifth communication link is used by the second OTN device to determine the control information. In the above design, the third OTN device monitors the operating status of each communication link on the third OTN device in real time and reports it to the second OTN device in real time. The second OTN device then switches the communication link based on the operating status of each communication link, preventing service interruption.
[0037] In one possible design, when a fault occurs on the first communication link and the second, fourth, and third communication links are all in normal link status, the control information indicates that the second and third communication links are connected, the second and fifth communication links are disconnected, and the third and fifth communication links are 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 and the switching side. The third OTN device controls the connectivity between any two of the second, third, and fifth communication links based on the control information, including: the third OTN device controls the connectivity between the second and third communication links, controls the disconnection between the second and fifth communication links, and controls the disconnection between the third and fifth communication links based on the control information. In the above design, when a fault occurs on the communication link between the first and second OTN devices, the third OTN device can forward the data to the second OTN device via the third communication link, and then transmit it to the switching side, without the switching side being aware of the fault on the first communication link.
[0038] In one 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; and the third OTN device sending the OTN data frame to the second OTN device through the third communication link.
[0039] In one possible design, when the fourth communication link fails and the first, third, and fifth communication links are operating normally, the control information indicates that the second and third communication links are disconnected, the second and fifth communication links are disconnected, and the third and fifth communication links are connected. 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 the connectivity between any two of the second, third, and fifth communication links based on the control information, including: the third OTN device controls the connectivity between the second and third communication links, the connectivity between the second and fifth communication links, and the connectivity between the third and fifth communication links based on the control information. In the above design, when the communication link between the second OTN device and the switching side fails, data is received via the first communication link, then forwarded to the third OTN device via the third communication link, and then transmitted to the switching side.
[0040] In one possible design, the method further includes: the third OTN device receiving an OTN data frame sent by the second OTN device through the third communication link, the OTN data frame carrying service data from the first OTN device; the third OTN device obtaining the service data from the ONT data frame, and sending the service data to the switching side through the fifth communication link.
[0041] In one possible design, the method further includes: upon determining that the second OTN device has failed, the third OTN device controlling connectivity between the second communication link and the fifth communication link, controlling disconnection between the second communication link and the third communication link, and controlling disconnection between the third communication link and the fifth communication link. In the above design, upon detecting a failure in the second OTN device, the third OTN device can switch the transmission path between the first OTN device and the switching side.
[0042] In a third aspect, an embodiment of the present application provides a data transmission device for an optical transport network, which is applied to a second OTN device. The beneficial effects can be found in the relevant description of the first aspect and will not be repeated here. The device includes a main control unit and a cross-connect unit;
[0043] 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 obtain the working status of the second communication link and the fifth communication link from the third OTN device;
[0044] The first communication link is used to connect the second OTN device and the first OTN device, the second communication link is used to connect the first OTN device and the third OTN device, 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 is used to connect the third OTN device and the switching side;
[0045] The main control unit is further configured to control the cross-connect unit to set a connectivity relationship between any two of the first communication link, the third communication link, and the fourth communication link according to the operating states of the first communication link, the second communication link, the third communication link, the fourth communication link, and the fifth communication link, and to control a connectivity relationship between any two of the second communication link, the third communication link, and the fifth communication link on the third OTN device;
[0046] The cross unit is used to set a connectivity 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.
[0047] In one possible design, the apparatus further includes a first line unit, a second line unit, and a branch unit; the first line unit is connected to a first OTN device via a first communication link, the second line unit is connected to a third OTN device via a third communication link, and the branch unit is configured to connect to a switching side via a fourth communication link;
[0048] The main control unit is specifically used 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 working status of the first communication link, the second communication link, the third communication link, the fourth communication link and the fifth communication link.
[0049] In one possible design, the main control unit is specifically configured to control the cross-connection unit to establish a cross-connection between the second line unit and the branch unit when it is determined that the first communication link has a fault;
[0050] 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.
[0051] In one possible design, the main control unit is specifically configured to control the cross-connection unit to establish a cross-connection between the first line unit and the second line unit when it is determined that the fourth communication link has a fault;
[0052] 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.
[0053] 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 is the main OTN device and the third OTN device is the backup OTN device.
[0054] In one possible design, the main control unit is specifically configured to:
[0055] Acquire 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 working status of the fourth communication link from the branch unit;
[0056] Receive the working status of the second communication link and the working status of the fifth communication link sent by the third OTN device.
[0057] In one possible design, the main control unit is specifically configured to:
[0058] Control information is sent to the third OTN device, where the control information indicates a connectivity relationship between any two communication links among the second communication link, the third communication link, and the fifth communication link.
[0059] In a fourth aspect, an embodiment of the present application provides a data transmission device for an optical transport network, which is applied to a third OTN device in the optical transport network. The beneficial effects can be found in the relevant description of the second aspect and are not repeated here. The optical transport network further includes a first OTN device and a second OTN device, and the device includes a master control unit and a cross-connect unit;
[0060] The main control unit is configured to receive control information from the second OTN device, where the control information is used by the third OTN device to control a connectivity state between any two of the second communication link, the third communication link, and the fifth communication link on the third OTN device;
[0061] 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 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 to transmit service data between the first OTN device and the switching side;
[0062] The main control unit is further configured to control the cross unit to set a connectivity relationship between any two of the second communication link, the third communication link, and the fifth communication link according to the control information;
[0063] The cross unit is used to set a connectivity relationship between any two of the second communication link, the third communication link, and the fifth communication link under the control of the main control unit.
[0064] In one possible design, the apparatus 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 via a second communication link, the second line unit is connected to the second OTN device via a third communication link, and the branch unit is used to connect to the switching side via a fifth communication link;
[0065] 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.
[0066] In one possible design, when a fault occurs on the first communication link and the link statuses of the second communication link, the fourth communication link, and the third 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 is not connected to the fifth communication link; 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 and the switching side;
[0067] The main control unit is specifically configured to control the cross-connection unit to establish a cross-connection between the first line unit and the second line unit according to the control information;
[0068] 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.
[0069] In one possible design, when the fourth communication link fails, the control information indicates that the second communication link is disconnected from the third communication link, the second communication link is disconnected from the fifth communication link, and the third communication link is connected to the fifth communication link.
[0070] 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;
[0071] 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.
[0072] In a possible design, the main control unit is further used to negotiate with the second OTN device through a third communication link that the second OTN device is the main OTN device and the third OTN device is the backup OTN device.
[0073] In one possible design, the main control unit is further configured to:
[0074] Acquire the working status of the second communication link from the first line unit, and acquire the working status of the fifth communication link from the branch unit;
[0075] Sending the working status of the second communication link and the working status of the fifth communication link to the third OTN device;
[0076] The working status of the second communication link and the working status of the fifth communication link are used by the second OTN device to determine the control information.
[0077] In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is configured to input and / or output information. The processor is configured to execute a computer program to implement the method provided in any one of the designs of the first aspect.
[0078] In a sixth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is configured to input and / or output information. The processor is configured to execute a computer program to implement the method provided in any one of the designs of the second aspect.
[0079] In a seventh aspect, an embodiment of the present application provides a communication system, which includes the apparatus provided by the third aspect or any possible design of the third aspect and the apparatus provided by the fourth aspect or any possible design of the fourth aspect.
[0080] In an eighth aspect, an embodiment of the present application provides a communication system, wherein the communication system includes the chip according to the fifth aspect and the chip according to the sixth aspect.
[0081] In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium storing a software program that, when read and executed by one or more processors, can implement the method provided by any possible design of any of the first and second aspects.
[0082] In a tenth aspect, an embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is caused to execute the method provided by any possible design of any one of the first to fourth aspects above. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] Figure 1 This is a schematic diagram of an optical transmission network architecture in an embodiment of the present application;
[0084] Figure 2 This is a schematic diagram of a possible OTN device structure in an embodiment of the present application;
[0085] Figure 3 This is a schematic diagram of SNCP protection in an embodiment of the present application;
[0086] Figure 4A This is a schematic diagram of another optical transmission network architecture in an embodiment of the present application;
[0087] Figure 4B This is a schematic diagram of another optical transmission network architecture according to an embodiment of the present application;
[0088] Figure 5A This is a schematic diagram of a hello message in an embodiment of the present application;
[0089] Figure 5B This is a schematic diagram of a protocol message format in an embodiment of the present application;
[0090] Figure 6 This is a schematic diagram of another optical transmission network architecture according to an embodiment of the present application;
[0091] Figure 7A This is a schematic diagram of port transmission and reception in an embodiment of the present application;
[0092] Figure 7B This is a schematic diagram of the MC-SNCP group in the embodiment of the present application;
[0093] Figure 8A This is a schematic diagram of a control information format in an embodiment of the present application;
[0094] Figure 8B This is another schematic diagram of a control information format in an embodiment of the present application;
[0095] Figure 8C This is another schematic diagram of a control information format in an embodiment of the present application;
[0096] Figure 8D This is a schematic diagram of another control information format in an embodiment of the present application;
[0097] Figure 9A This is a flowchart of a data transmission method according to scenario 1 of an embodiment of the present application;
[0098] Figure 9B A schematic diagram of a data transmission process for scenario 1 of an embodiment of the present application;
[0099] Figure 9C This is another data transmission process diagram of scenario 1 of an embodiment of the present application;
[0100] Figure 10A This is a flowchart of a data transmission method according to scenario 2 of an embodiment of the present application;
[0101] Figure 10B Schematic diagram of data transmission process in scenario 3 of an embodiment of the present application;
[0102] Figure 11A This is a flowchart of a data transmission method according to scenario 3 of an embodiment of the present application;
[0103] Figure 11B Schematic diagram of data transmission process in scenario 3 of an embodiment of the present application;
[0104] Figure 12A This is a flowchart of a data transmission method according to scenario 4 of an embodiment of the present application;
[0105] Figure 12B This is a schematic diagram of the data transmission process of scenario 4 of an embodiment of the present application;
[0106] Figure 13 This is a schematic diagram of the structure of an OTN device in an embodiment of the present application;
[0107] Figure 14 This is a schematic diagram of another OTN device structure in an embodiment of the present application;
[0108] Figure 15 This is a schematic diagram of another OTN device structure in an embodiment of the present application;
[0109] Figure 16A This is a schematic diagram of a protocol message format in an embodiment of the present application;
[0110] Figure 16B This is another schematic diagram of a protocol message format in an embodiment of the present application;
[0111] Figure 17 This is a structural diagram of a data transmission device in an embodiment of the present application;
[0112] Figure 18 This is a schematic diagram of the structure of another data transmission device in an embodiment of the present application. DETAILED DESCRIPTION
[0113] The embodiments of the present application are applicable to optical networks, such as optical transport networks (OTN). An optical transport network is usually composed of multiple OTN devices connected by optical fibers, and can be formed into different topology types such as linear, ring, and mesh according to specific needs. Figure 1 The OTN shown 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. Depending on actual needs, an OTN device may have different functions. Generally speaking, OTN equipment is divided into optical layer equipment, electrical layer equipment, and optoelectronic hybrid equipment. Optical layer equipment refers to devices that process optical layer signals, such as optical amplifiers (OAs) and optical add-drop multiplexers (OADMs). OAs, also known as optical line amplifiers (OLAs), are primarily used to amplify optical signals to enable longer transmission distances while maintaining specific optical signal performance. OADMs perform spatial transformation on optical signals, allowing them to be output from different output ports (sometimes called directions). Electrical layer equipment refers to devices that process electrical layer signals, such as those capable of processing OTN signals. Optoelectronic hybrid equipment refers to devices that can process both optical and electrical layer signals. It should be noted that, depending on specific integration requirements, a single OTN device can incorporate multiple different functions. The technical solution provided by this application is applicable to OTN devices of different forms and integration levels. The OTN devices involved in the embodiments of this application can be called network nodes, or simply nodes.
[0114] Figure 2 The following is a possible OTN equipment structure diagram. The OTN equipment here can refer to Figure 1Any OTN device (N1-N7) in the OTN network. Specifically, an OTN device includes a power supply, a fan, auxiliary boards, and may also include tributary boards, line boards, cross-connect boards, optical layer processing boards, and system control and communication boards (or simply main control boards). The power supply is used to power the OTN device and may include primary and backup power supplies. The fan is used to dissipate heat from 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 primarily used to process OTN electrical layer signals. Tributary boards are used to receive and transmit various customer services, such as synchronous digital hierarchy (SDH) services, packet services, Ethernet services, and fronthaul services. Furthermore, tributary boards can be divided into client-side optical modules and signal processors. The client-side optical modules can be optical transceivers used to receive and / or transmit service data. The signal processor is used to map and demap service data into data frames. The cross-connect board is used to exchange data frames, completing the exchange of one or more types of data frames. The circuit board mainly implements the processing of line-side data frames. Specifically, the circuit board can be divided into a line-side optical module and a signal processor. Among them, the line-side optical module can 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 boards through the backplane, or control instructions can be sent to the corresponding boards. It should be noted that, unless otherwise specified, the specific components (for example: signal processors) can be one or more, and this application does not impose any restrictions. It should also be noted that the embodiments of the present application do not impose any restrictions on the types of boards contained in the device, as well as the specific functional design and quantity of the boards. As an example, the branch board may include a packet board or an Ethernet over OTN (EoO) board based on OTN, etc.
[0115] It should be noted that the specific types and quantities of boards included in each OTN device may vary. For example, an OTN device serving as a core node may not have a tributary board, while an OTN device serving as an edge node may have multiple tributary boards.
[0116] The following first describes the technical concepts involved in the embodiments of this application.
[0117] (1) OTN data frame. The data frame structure used by the OTN device in the embodiment of the present application can be an OTN data frame (also called an OTN transport frame, or simply an OTN frame), which is used to carry various service data and can realize the management and monitoring of service data. The OTN frame can be an optical data unit k (ODUk), ODUCn, ODUflex, or an optical channel transport unit k (OTUk), OTUCn, or a flexible OTN (FlexO) frame. The difference between the ODU frame and the OTU frame is that the OTU frame includes the ODU frame and the OTU overhead; k represents different rate levels, for example, k=1 represents 2.5Gbps, k=4 represents 100Gbps; Cn represents a variable rate, specifically a rate that is 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 can also be a flexible optical service unit (OSUflex), etc. 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) Multi-chassis link aggregation group (MC-LAG) is a mechanism for implementing cross-device link aggregation, which can achieve link aggregation between multiple devices, thereby improving link reliability from the single-board level to the device level, forming an active-active system. The basic idea of MC-LAG technology is to allow two devices to negotiate link aggregation with other devices that need to access in the same state. From the perspective of the device that needs to access, it is as if a link aggregation relationship has been established with one device.
[0118] (3) Multiple refers to two or more. “And / or” describes the relationship between related objects, and three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0119] (4) The terms used in the examples of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in the examples of this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0120] (5) In the embodiments of this application, the terms "first," "second," and "third" may be used to describe various OTN devices and links. However, these OTN devices and links should not be limited to these terms. These terms are only used to distinguish different OTN devices or links from each other.
[0121] A possible SNCP protection is described below. SNCP protection based on OTN data frames is a technical solution used in OTN networks to protect transmitted service data. Figure 3 The following is an example of the basic principle of SNCP protection based on OTN data frames. On OTN equipment, the OTN cross-connect board can be used to implement dual-transmission of service data at the sending end. For example, Figure 3 In the transmission direction from OTN device 1 to OTN device 2, OTN cross-connect board 1 can transmit a working signal flow and a protection signal flow to OTN device 2, which is a "1+1" networking deployment mode (or "1+1" protection mode). Similarly, in the transmission direction from OTN device 2 to OTN device 1, OTN cross-connect board 2 can also send a working signal flow and a protection signal flow. In addition, on the OTN device, the OTN cross-connect board can also be used to implement service data selection at the receiving end. For example, Figure 3 The OTN device 1 can select the working signal flow and reject the protection signal flow, thereby protecting the signal flow from the scenario where the cross connection is not established on the OTN cross-connect board 1. Figure 3 OTN device 2 can selectively receive the working signal stream and reject the protection signal stream. Furthermore, if an anomaly occurs in the working signal stream, the receiving end can selectively receive service data on the protection signal stream using a protection switching protocol. This dual-transmission selective reception and protection switching protocol between network devices enables SNCP protection for OTN data frames.
[0122] 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, a single working signal flow is transmitted from OTN device 1 to OTN device 2 via OTN cross-connect board 1. If an abnormality occurs in the working signal flow, the transmitter transmits the signal through another signal channel. The "1+1" protection mode uses a dual-transmitter selective-receiver method, while the "1:1" protection mode uses a single-transmitter single-receiver method.
[0123] From the above, it can be seen that the possible SNCP protection scheme described above only supports "same source and same destination", but cannot support "same source and different destinations", that is, it cannot meet the switching protection requirements of two destinations corresponding to the same source, and therefore cannot meet the switching protection requirements in complex scenarios. Figure 3It can be seen that the services of the tributary board are sent to two circuit boards of the same device, and then reach the switching side through the same device. If the device fails or loses power, the services will be interrupted.
[0124] The present invention provides a data processing method and apparatus for an optical transport network, which supports heterogeneous data transmission from the same source. The method and apparatus are based on the same technical concept. Since the method and apparatus solve similar problems, the implementation of the apparatus and method can refer to each other, and any repetitions will not be repeated.
[0125] See also Figure 4A and Figure 4B FIG2 is a schematic diagram of an optical transport network system architecture provided by an embodiment of the present application. The optical transport network system includes multiple OTN devices. Figure 4A and Figure 4B In the example, three OTN devices are used: a first OTN device, a second OTN device, and a third OTN device. A communication link is established between any two of the first, second, and third OTN devices. For ease of distinction in the embodiments of this application, the communication link between the first and second OTN devices is referred to as the first communication link, i.e., the first OTN device and the second OTN are connected via the first communication link. This can be understood as the first communication link being the communication link established between the first and second OTN devices for transmitting service data between the first OTN device and the switching side. The communication link between the first and third OTN devices is referred to as the second communication link, i.e., the first and third OTN devices are connected via the second communication link. This can be understood as the second communication link being the communication link established between the first and third OTN devices for transmitting service data between the first OTN device and the switching side. The communication link between the second and third OTN devices is referred to as the third communication link, i.e., the second and third OTN devices are connected via 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 to transmit control information or service channel status information between the second OTN device and the third OTN device.
[0126] 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 constitute an SNCP group, which may also be referred to as a modified SNCP group, or a multi-classis sub-network connection protection (MC-SNCP) group across devices. The MC-SNCP group is an SNCP group across two primary and standby OTN devices. For example, the MC-SNCP group in the embodiment of the present application may be deployed in a 1:1 or 1+1 manner. In the subsequent description, the 1+1 deployment method is taken as an example.
[0127] 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.
[0128] It should be noted that the switching side may include one or more switching devices. The switching device may be a device with routing or switching functions, such as a router, a switch, or a bridge. In some embodiments, the second OTN device and the third OTN device may be 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 referred to as switching device 1, and the switching device connected to the third OTN device is referred to as switching device 2. One of the switching devices 1 and 2 is the main switching device, and the other is the backup switching device, see Figure 4B As shown. As an optional configuration, when the second OTN device is the master device, switching device 1 is the master device; when the third OTN device is the backup device, switching device 2 is the master device. It can be understood that the second OTN device is connected to switching device 1, and the third OTN device is connected to switching device 2. That is, a fourth communication link is established between the second OTN device and switching device 1, and a fifth communication link is established between the third OTN device and switching device 2.
[0129] In one example, a multi-chassis link aggregation group (MC-LAG) technology can be used to establish a communication link between the second and third OTN devices and the switching device. MC-LAG technology can also be used to establish a communication link between switching device 1 and switch 2, thereby forming an MC-LAG group between switching device 1 and switching device 2.
[0130] In another example, the second and third OTN devices can also use the Virtual Router Redundancy Protocol (VRRP) technology to establish a communication link with the switch device. Switch device 1 and switch device 2 can also use VRRP technology to establish a communication link, thereby forming a VRRP group between switch device 1 and switch device 2.
[0131] It should be noted that other protocols supporting active / standby control may be used to establish communication links between the second OTN device and the third OTN device and the switching side, and this embodiment of the present application does not specifically limit this.
[0132] In the following description, we use the MC-LAG technology to establish communication links between the second and third OTN devices and the switching side. Based on this, the fourth communication link can also be referred to as the first MC-LAG link, and the fifth communication link can be referred to as the second MC-LAG link. The first MC-LAG link is the 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 is the 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.
[0133] One of the second OTN device and the third OTN device serves as the master OTN device, and the other serves as the backup OTN device. The second OTN device and the third OTN device can negotiate to determine which OTN device serves as the master OTN device. For example, the second OTN device and the third OTN device negotiate to determine which OTN device serves as the master OTN device via a third communication link, such as a control channel included in the third communication link.
[0134] In some embodiments, the second OTN device and the third OTN device can negotiate which OTN device serves as the master OTN device by comparing priorities. For example, the second OTN device and the third OTN device can exchange negotiation messages via a third communication link. The negotiation message includes information indicating priority, such as a priority identifier (ID). For example, a larger priority ID indicates a higher priority, whereas a smaller priority ID indicates a higher priority. For example, in the case of the second OTN device serving as the master OTN device, the second OTN device has a higher priority than the third OTN device.
[0135] In some other embodiments, the second OTN device and the third OTN device can negotiate which OTN device serves as the primary OTN device by comparing the device identifiers. For example, the second OTN device and the third OTN device can send negotiation messages to each other via a third communication link, where the negotiation messages include their respective device IDs. For example, the OTN device with the larger device identifier serves as the primary OTN device, and the OTN device with the smaller device identifier serves as the backup OTN device. For example, in the case where the second OTN device serves as the primary OTN device, the second OTN device's identifier is larger than the third OTN device's identifier. For another example, in the case where the second OTN device serves as the primary OTN device, the second OTN device's identifier is smaller than the third OTN device's identifier.
[0136] In some further embodiments, the second OTN device and the third OTN device send negotiation messages to each other via a third communication link. The negotiation messages include their respective device IDs and priority IDs. If the second OTN device and the third OTN device determine that their priorities are the same after negotiation, they can then determine which OTN device serves as the master OTN device based on the size of the device identifiers.
[0137] For example, the negotiation message may be a hello message. The hello message includes a device ID and a priority ID. Figure 5A As shown, the device identifier is identified by NEID, which may occupy 4 bytes (Byte, B). The priority ID may occupy 2 bytes.
[0138] It should be noted that the second OTN device and the third OTN device may negotiate the master OTN device and the backup OTN device through other election principles, and this embodiment of the present application does not specifically limit this.
[0139] The second OTN device, acting as the master OTN device, can collect the operating status of each communication link, specifically the operating status of the first communication link, the second communication link, the first MC-LAG link, the second MC-LAG link, and the third communication link. The second OTN device, acting as the master OTN device, can then control the transmission link between the first OTN device and the switching side for transmitting service data based on the operating status of each communication link.
[0140] In some embodiments, the second OTN device can be responsible for monitoring the operating status 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 based on the OTN data frames sent by the first OTN device via the first communication link (e.g., the service channel). For example, if a signal degrade (SD) signal or a signal fail (SF) signal is received via the first communication link, it is determined that the first communication link has a fault, that is, the operating status is a fault state (which can be simply referred to as a fault). For another example, the second OTN device can monitor the operating status of the second MC-LAG link in real time. The second OTN device can also monitor the operating status of the third communication link in real time.
[0141] In some other embodiments, the third OTN device serving as a backup OTN device can monitor the link status 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 monitored working status of the second communication link and the second MC-LAG link to the second OTN device, 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, see Figure 5B As shown, the third OTN device can use the first protocol message format to send the working status of the second communication link and the second MC-LAG link to the second OTN device. Figure 5B The OTN status field is used to represent the status of the second communication link, and the tributary board status field is used to represent the working status of the second MC-LAG link. As an example, the first protocol message format may also include an MC-SNCP group ID.
[0142] As an example, different MC-SNCP groups can be configured between the second OTN device and the third OTN device for service data transmitted by different receiving devices and transmitting devices. Figure 6 As shown, 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 one MC-SNCP group for service data transmitted between the fourth OTN device and the switching side, and another MC-SNCP group for service data transmitted between the first OTN device and the switching side.
[0143] Different SNCP groups can be configured between the second and third OTN devices for different service data transmitted by the same receiving and transmitting devices. For example, one MC-SNCP group can be configured between the second and third OTN devices for service data 1 transmitted between the first OTN device and the switching side, and another MC-SNCP group can be configured between the second and third OTN devices for service data 2 transmitted between the first OTN device and the switching side.
[0144] 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 a mapping relationship exists between 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 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 a mapping relationship exists between the port of the third communication link on the second OTN device and the port of the third communication link on the third OTN and the MC-SNCP group ID.
[0145] For example, the port of the first MC-LAG link and the port of the second MC-LAG link can belong to an MC-LAG protection group. It is understood that multiple different MC-LAG groups can be configured on the second OTN device and the third OTN device. Different MC-LAG groups are configured for service data transmitted between the second and third OTN devices for different receiving and transmitting devices. Different MC-LAG groups are configured for different service data transmitted between the second and third OTN devices for the same receiving and transmitting devices.
[0146] The second and third OTN devices are configured with an MC-SNCP group and an MC-LAG group. The configuration mentioned here can be configured by a management personnel, or configuration information can be distributed to the second and third OTN devices by a network management device. Exemplarily, the configuration information can 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 can 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 can also include a mapping relationship between the MC-SNCP group ID and the MC-LAG group ID. Thus, the second and third OTN devices determine the MC-SNCP group and the MC-LAG group based on the configuration information and establish an association between the MC-SNCP group and the MC-LAG group. Exemplarily, both the second and third OTN devices store the mapping relationship between the MC-SNCP group ID and the MC-LAG group ID.
[0147] For example, the working status of the second communication link can be represented by different values. Figure 5B In the example, ox00 represents the loss of connectivity verification (LOCV) state, 0x01 represents the alarm indication signal (AIS) state, 0x02 represents the SD state, and 0x03 represents the SF state. For another example, the state of the second MC-LAG link can be represented by different values. Figure 5B In the example, 0x00 indicates ETH signal loss (loss, los), 0x01 indicates MC-LAG master, and 0x02 indicates MC-LAG backup.
[0148] In one possible implementation, a second OTN device, serving as a master OTN device, can control the transmission path of service data transmitted between the first OTN device and the switching side based on the operating status of each communication link. For example, the connectivity between any two of the first communication link, the third communication link, and the first MC-LAG link on the second OTN device can be controlled based on the operating status of each communication link, as well as the connectivity between any two of the second communication link, the third communication link, and the second MC-ALG link on the third OTN device. Exemplarily, the connectivity status can include connected and disconnected. It is understood that when two communication links are connected, service data is received via one of the two communication links and then sent via the other communication link. When two communication links are disconnected, it can be understood that after service data is received via one of the two communication links, it is not sent via the other communication link.
[0149] In some embodiments, the second OTN device serving as the master OTN device may control whether the two communication links are connected by configuring the switch states of the ports of the two communication links.
[0150] The second OTN device, acting as the master OTN device, can configure the switch status of the port on the second OTN device used to forward service data transmitted between the first OTN device and the switching side based on the operating status of each communication link. The port on the second OTN device used to forward service data transmitted between the first OTN device and the switching side includes one or more of the following: a port on the first communication link used to transmit service data, a port on the first MC-LAG link used to transmit service data, or a port on the third communication link used to transmit service data. For ease of description, the port on the first communication link of the second OTN device is referred to as the first port, the port on the first MC-LAG link used to transmit service data is referred to as the third port, and the port on the third communication link used to transmit service data is referred to as the second port. A connection channel can be established between any two of the first port, the second port, and the third port.
[0151] The second OTN device, acting as the master OTN device, can also configure the switch status of ports on the third OTN device used to forward service data transmitted between the first OTN device and the switching side based on the operating status of each communication link. The ports on the third OTN device used to transmit service data include one or more of the fourth port on the second communication link used to transmit service data, the fifth port on the third communication link used to transmit service data, or the sixth port on the fifth communication link used to transmit service data. A connection channel exists between any two of the fourth, fifth, and sixth ports. The second OTN device, acting 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 herein as control information 1. This control information 1 indicates the switch status of ports on the third OTN device used to transmit service data. The ports on the third OTN device used to transmit service data include one or more of the ports on the second communication link used to transmit service data, the ports on the second MC-LAG link used to transmit service data, or the ports on the third communication link used to transmit service data.
[0152] Exemplarily, the second OTN device can determine the port of the first communication link and the port of the second communication link based on the MC-SNCP group ID, and determine the port of the first MC-LAG link and the port of the second MC-LAG link based on the MC-LAG group ID corresponding to the MC-SNCP group ID, and then configure the switching status of each port on the second OTN device and the third OTN device.
[0153] In some other embodiments, the second OTN device serving as the master OTN device may control whether the two communication links are connected by configuring the connectivity status of the ports of the two communication links.
[0154] The second OTN device controls the connectivity between any two ports on the second OTN device used to transmit service data. For example, it controls the connectivity between any two ports, among the first port, the second port, and the third port. The second OTN device also sends control information to the third OTN device. For ease of distinction, this control information sent by the second OTN device to the third OTN device is referred to as control information 2. Control information 2 indicates the connectivity between any two ports on the third OTN device used to transmit service data; for example, it controls the connectivity between any two ports, among the first port, the second port, and the third port.
[0155] In some other embodiments, the second OTN device as the master OTN device can control whether the two communication links are connected by configuring the selection state 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. Figure 7A As shown, each port can choose to receive data from the other two ports. After receiving data, each port can choose whether to send the data to the other two ports. For example, after receiving service data, the first port can choose to send it to the second or third port. For another example, after receiving service data, the second port can choose to send it to the first or third port. For another example, after receiving service data, the third port can choose to send it to the first or second port.
[0156] The second OTN device, acting as the master OTN device, also sends control information 3 to the third OTN device. Control information 3 indicates whether each port on the third OTN device is selecting whether to send service data to the other two ports. For example, after receiving service data, the fourth port can choose to send it to the fifth or sixth port. For another example, after receiving service data, the fifth port can choose to send it to the fourth or sixth port. For another example, after receiving service data, the sixth port can choose to send it to the fourth or fifth port.
[0157] In some further embodiments, the second OTN device as the master OTN device can control whether the two communication links are connected by configuring the port of the communication link of the second OTN device or the third OTN device to select which interface of the other two ports to receive service data. Figure 8A As shown, each port can receive data from the other two ports. After receiving data, each port can send data to the other two ports. For example, the first port can choose to receive data from the second port or the third port. For another example, the second port can choose to receive data from the first port or the third port. For another example, the third port can choose to receive data from the first port or the second port.
[0158] The second OTN device, acting as the master OTN device, also sends control information 4 to the third OTN device. This control information 4 indicates the status of each port on the third OTN device selecting which of the other two ports to receive service data from. For example, the fourth port can be controlled to select either the fifth or sixth port. Another example is the fifth port being controlled to select either the fourth or sixth port. Another example is the sixth port being controlled to select either the fourth or fifth port.
[0159] In a possible example, the first OTN device can be connected to the network-side device, and the first port on the first communication link of the second OTN device for transmitting service data can be called a network-to-network interface (NNI). The switching side can be connected to the user-side device, and the third port on the first MC-LAG link configured by the second OTN device for transmitting service data can be called a user-to-network interface (UNI). The second port on the third communication link configured by the second OTN device for transmitting service data can be called a data network interface (DNI). Similarly, the third OTN device is also configured with a UNI, NNI, and DNI. For ease of distinction, see Figure 7B As shown, the UNI on the second OTN device is called UNI-1 (third port), the UNI on the third OTN device is called UNI-2 (sixth port), the NNI of the second OTN device is called NNI-1 (first port), the NNI of the third OTN device is called NNI-2 (fifth port), 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).
[0160] As an example, the control information 1 can be Figure 8A The message format shown is transmitted. Figure 8A In the example, the UNI switch indicates the switch status of the port used to transmit service data on the second MC-LAG communication link, that is, the switch status of UNI-2. The NNI switch indicates the switch status of the port used to transmit service data on the second communication link, that is, the switch status of NNI-2. The DNI switch is used to indicate the switch status of the port used to transmit service data on the third communication link, that is, the switch status of DNI-2. For example, the switch status can be represented by different values, 0 for off and 1 for on, or 0 for on and 1 for off, which is not specifically limited in this application.
[0161] As another example, the control information 2 may be Figure 8B The message format shown is transmitted. Figure 8B In the example, UNI-NNI indicates the connectivity status between UNI-2 and NNI-2. NNI-DNI indicates the connectivity status between NNI-2 and DNI-2. UNI-DNI indicates the connectivity status between UNI-2 and DNI-2. For example, the connectivity status can be represented by different values, such as 0 for disconnected and 1 for connected, or 0 for connected and 1 for disconnected. This application does not impose any specific limitations on this.
[0162] As another example, the control information 3 can be Figure 8C The message format shown is transmitted. Figure 8C In the [1], 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. The DNI switch indicates that DNI-2 chooses to send to UNI-2 or NNI-2. For example, different values are used to indicate different selected ports. As an example, a UNI switch value of 0x00 indicates NNI-2, while a value of 0x01 indicates DNI-2. A NNI switch value of 0x00 indicates UNI-2, while a value of 0x01 indicates DNI-2. A DNI switch value of 0x00 indicates UNI-2, while a value of 0x01 indicates NNI-2.
[0163] Exemplarily, each port may also choose not to send, and may indicate not to send by not adding a value, or the default value indicates not to send, or 0x02 indicates not to send, and so on.
[0164] As another example, the control information 4 can be Figure 8D The message format shown is transmitted. Figure 8D In the [1], the UNI switch indicates that UNI-2 selects to receive from either NNI-2 or DNI-2. The NNI switch indicates that NNI-2 selects to receive from either UNI-2 or DNI-2. The DNI indicates that DNI-2 selects to receive from either UNI-2 or NNI-2. For example, different values are used to indicate different selected ports. As an example, a UNI switch value of 0x00 indicates that NNI-2 is selected, while a value of 0x01 indicates that DNI-2 is selected. An NNI switch value of 0x00 indicates that UNI-2 is selected, while a value of 0x01 indicates that DNI-2 is selected. A DNI switch value of 0x00 indicates that UNI-2 is selected, while a value of 0x01 indicates that NNI-2 is selected. For example, each port can also choose not to receive, by not adding a value to indicate not receiving, or by using the default value to indicate not receiving, or by using 0x02 to indicate not receiving, etc.
[0165] In the embodiments of the present application, service data transmission between the first OTN device and the switching side can occur in various scenarios. Scenario 1: Both the first communication link and the first MC-LAG link are fault-free. Scenario 2: The first communication link fails, requiring switching of the service data transmission link. Scenario 3: The first MC-LAG link fails, requiring switching of the service data transmission link. Scenario 4: The second OTN device fails, requiring switching of the service data transmission link.
[0166] The above scenarios are described below with reference to the accompanying drawings.
[0167] In scenario 1, both the first communication link and the first MC-LAG link are normal, and service data can be transmitted between the first OTN device and the switching side through the primary OTN device. Figure 9A FIG. 1 is a flow chart of an OTN data transmission method provided by an embodiment of the present application, taking a 1+1 networking deployment mode as an example.
[0168] 901, after establishing a third communication link between the second OTN device and the third OTN device, the second OTN device and the third OTN device negotiate which OTN device serves as the master OTN device and which one serves as the backup OTN device. Here, the second OTN device is used as the master OTN device as an example.
[0169] 902. The second OTN device, acting as the master OTN device, may set the connectivity status of its communication links. For example, the second OTN device may set the connectivity of the first communication link to the first MC-LAG link, disconnect the connectivity of the first communication link to the third communication link, and disconnect the connectivity of the third communication link to the first MC-LAG link.
[0170] In one example, a second OTN device, acting as a master OTN device, can control the connectivity of two communication links by configuring the switch status of the ports on the two communication links. The second OTN device controls port DNI-1 on the third communication link of the second OTN device to be disabled, port NNI-1 on the first communication link of the second OTN device to be enabled, and port UNI-1 on the first MC-LAG link of the second OTN device to be enabled. For example, in a 1+1 deployment, the second OTN device controls port NNI-2 on the second communication link of the third OTN device to be enabled, port UNI-2 on the second MC-LAG link to be disabled, and port DNI-2 on the third communication link of the third OTN device to be enabled. Exemplarily, the second OTN device sends control information 1-1 to the third OTN device. Control information 1-1 indicates the operating status of ports on each communication link of the third OTN device used to transmit service data. Control information 1-1 instructs port UNI-2 on the second MC-LAG link of the third OTN device to be disabled, and controls port NNI-2 on the second communication link of the third OTN device and port DNI-2 on the third communication link of the third OTN device to be enabled. 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 -> switching side, see Figure 9B shown.
[0171] The first OTN device can use dual transmission to send OTN data frames to the second and third OTN devices. After receiving the OTN data frames, the third OTN device sends them to the second OTN device via DNI-2. The second OTN device selects NNI-1 to receive OTN data frames, shuts down its DNI-1 port, and no longer receives OTN data frames from the third OTN device.
[0172] In another example, a master OTN device can control the connectivity of two communication links by configuring the connectivity status of the ports of the two communication links. The second OTN device can 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 disconnected from UNI-2, and NNI-2 is disconnected from UNI-2. Figure 9C shown.
[0173] In another example, a master OTN device can control the connectivity of two communication links by configuring whether the port on the communication link sends service data to two other ports on the same OTN device. A 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 a third OTN device. Control information 1-3 instructs NNI-2 to select DNI-2 for transmission. UNI-2 will not receive the service data. Therefore, the port that the third OTN device controls UNI-2 to select for transmission can be arbitrarily set or defaulted. DNI-2 will also not receive service data between the first OTN device and the switching side.
[0174] In another example, a master OTN device can control the connectivity of two communication links by configuring the communication link port to select which of two other ports on the same OTN device to receive service data. A 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 to not receive service data. The second OTN device sends control information 1-4 to a third OTN device. Control information 1-4 instructs DNI-2 to select NNI-2 for service data, and UNI-2 to select DNI-2 for service data or to control UNI-2 to not receive service data. NNI-2 also does not receive service data between the first OTN device and the switching side.
[0175] As a possible example, after the second OTN device negotiates with the third OTN device to serve as the master OTN device and the third OTN device as the backup OTN device, the third OTN device can autonomously configure the switch state of the port of the second communication link on the third OTN device to be closed and the switch state of the port of the second MC-LAG link to be closed.
[0176] 903. The second OTN device monitors the working status of each communication link of the second OTN device in real time.
[0177] 904. The third OTN device monitors the operating status of each of its own communication links in real time and sends the monitored operating status of each of its own links to the second OTN device. Before the second OTN device determines that any link or any OTN device included in the primary link has failed, it determines to use the primary link to transmit service data between the first OTN device and the switching side.
[0178] Scenario 2: The first communication link fails and a transmission link switch is required. Figure 10A FIG. 1 is a flow chart of an OTN data transmission method provided in an embodiment of the present application.
[0179] 1001. After a third communication link is established between the second OTN device and the third OTN device, the second OTN device and the third OTN device negotiate which OTN device serves as the master OTN device and which one serves as the backup OTN device. Here, the second OTN device is used as the master OTN device as an example.
[0180] At 1002, the second OTN device, acting as the master OTN device, can set the connectivity status of its communication links. For example, the second OTN device can set the connectivity of the first communication link to the first MC-LAG link, disconnect the first communication link from the third communication link, and disconnect the third communication link from the first MC-LAG link. The configuration method is described in 902 and is not detailed here.
[0181] 1003. The second OTN device monitors the working status of each communication link of the device in real time.
[0182] 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 of the device to the second OTN device.
[0183] 1005. When the second OTN device detects a failure in the first communication link and receives an indication from the third OTN device via the third communication link that the working status of each communication link of the second communication link is normal, it is determined to switch the transmission link between the first OTN device and the switching side.
[0184] The second OTN device controls, on the second OTN device, the connection between the third communication link and the first MC-LAG link, the disconnection between the first communication link and the third communication link, and the disconnection between the first communication link and the first MC-LAG link. The second OTN device controls, on the third OTN device, the connection between the third communication link and the second communication link, the disconnection between the second communication link and the second MC-LAG link, and 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, where the control information 2-1 indicates the connection between the third communication link and the second communication link, the disconnection between the second communication link and the second MC-LAG link, and the disconnection between the third communication link and the second MC-LAG link. See Figure 10B As shown, when the first communication link fails, the second OTN device can switch the transmission link between the first OTN device and the switching side from the main link to the first backup link. The first backup link can be: first OTN device -> second communication link -> third OTN device -> third communication link -> second OTN device -> first MC-LAG link -> switching side.
[0185] In the first possible example, the second OTN device configures the port status of the first communication link on the device to be disabled, which can be understood as the NNI-1 switch status being disabled. The port status of the first MC-LAG link on the device is configured to be enabled, which can be understood as the UNI-1 switch status being enabled. The port status of the third communication link on the device is configured to be enabled, which can be understood as the DNI-1 switch status being enabled.
[0186] As an example, 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 status of the port used to transmit service data on the second communication link of the third OTN device is on, which can be understood as the switch status of NNI-2 being on. The second indication information is used to indicate that the switch status of the port used to transmit service data on the second MC-LAG link of the third OTN device is off, which can be understood as the switch status of UNI-2 being off. The third indication information is used to indicate that the switch status 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 status of DNI-2 being on.
[0187] In the second possible example, the second OTN device configures NNI-1 on the device to be disconnected from UNI-1, disconnected from DNI-1, and connected to DNI-1. Control information 2-1 indicates that NNI-2 is connected to DNI-2, disconnected from DNI-2 and UNI-2, and disconnected from NNI-2 and UNI-2.
[0188] In a third possible example, the second OTN device configures DNI-1 to send service data to UNI-1, and UNI-1 then sends service data to DNI-1. Control information 2-1 instructs NNI-2 to send service data to DNI-2, and DNI-2 then sends service data to NNI-2. In this scenario, the switching side receives service data from UNI-1 and sends service data from UNI-1, so UNI-2 does not send or receive any service data.
[0189] In a fourth possible example, the second OTN device configures UNI-1 to receive service data from DNI-1. DNI-1 is also configured to receive service data from UNI-1. Control information 2-1 instructs NNI-2 to select DNI-2 for service data, and DNI-2 selects NNI-2 for service data. In this exemplary scenario, the switch receives service data from UNI-1 and sends service data from UNI-1, so UNI-2 does not send or receive any service data.
[0190] Taking the example of the first OTN device transmitting service data to the switching side, after the primary link switches to the first backup link, the data transmission process is as follows: steps 1006-1008.
[0191] 1006. The first OTN device sends an OTN data frame to the third OTN device through the second communication link.
[0192] 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.
[0193] 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 the service data from the first OTN device.
[0194] Scenario 3: The first MC-LAG link fails and a transmission link switch is required. Figure 11A FIG. 1 is a flow chart of an OTN data transmission method provided in an embodiment of the present application.
[0195] 1101. After a third communication link is established between the second OTN device and the third OTN device, the second OTN device and the third OTN device negotiate which OTN device serves as the master OTN device and which one serves as the backup OTN device. Here, the second OTN device is used as the master OTN device as an example.
[0196] At 1102, the second OTN device, acting as the master OTN device, can set the connectivity status of its communication links. For example, the second OTN device can set the connectivity of the first communication link to the first MC-LAG link, disconnect the first communication link from the third communication link, and disconnect the third communication link from the first MC-LAG link. The configuration method is similar to that described in 902 and is not detailed here.
[0197] 1103. The second OTN device monitors the working status of each communication link of the second OTN device in real time.
[0198] 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 of the device to the second OTN device.
[0199] At 1105, the second OTN device detects a fault in the first MC-LAG link and receives an indication from the third OTN device via the third communication link that the second MC-LAG link is normal. The second OTN device then determines to 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. The control information 3-1 indicates the connectivity between any two of the second communication link, the second MC-LAG link, and the third communication link on the third OTN device.
[0200] The second OTN device controls the first communication link and the third communication link to be connected, controls the first communication link and the first MC-LAG link to be disconnected, and controls the third communication link and the first MC-LAG link to be disconnected. Control information 3-1 indicates that the third communication link and the second communication link are disconnected, controls the second communication link and the second MC-LAG link to be disconnected, and controls the third communication link and the second MC-LAG link to be connected. As an example, see Figure 11B As shown, 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 main link to the second backup link. The second backup link can be: first OTN device -> first communication link -> second OTN device -> third communication link -> third OTN device -> second MC-LAG link -> switching side.
[0201] In the first example, the second OTN device configures the port status of the first communication link on the device to be enabled, which can be understood as the switch status of NNI-1 being enabled. The port status of the first MC-LAG link on the device is configured to be disabled, which can be understood as the switch status of UNI-1 being disabled. The port status of the third communication link on the device is configured to be enabled, which can be understood as the switch status of DNI-1 being enabled. As an example, control information 3 may include fourth, fifth, and sixth indication information. The fourth indication information indicates that the port status used for transmitting service data on the second communication link is disabled, which can be understood as the switch status of NNI-2 being disabled. The fifth indication information indicates that the port status used for transmitting service data on the second MC-LAG link is enabled, which can be understood as the switch status of UNI-2 being enabled. The sixth indication information indicates that the port status used for transmitting service data on the third communication link is enabled, which can be understood as the switch status of DNI-2 being enabled.
[0202] In the second possible example, the second OTN device configures NNI-1 on the device to connect to UNI-1, but not to DNI-1, and not to DNI-1 and UNI-1. Control information 3-1 indicates that NNI-2 and DNI-2 are not connected, but DNI-2 and UNI-2 are connected, and NNI-2 and UNI-2 are not connected.
[0203] In a third possible example, the second OTN device configures NNI-1 to send service data to DNI-1, and DNI-1 to send service data to NNI-1. Control information 3-1 instructs DNI-2 to send service data to UNI-2, and UNI-2 to send service data to DNI-2. In this scenario, NNI-2 does not send service data to either DNI-2 or UNI-2.
[0204] 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. Control information 3-1 instructs DNI-2 to receive service data from UNI-2, and UNI-2 to receive service data from DNI-2. In this scenario, NNI-2 does not receive service data from either DNI-2 or UNI-2.
[0205] Taking the example of the first OTN device transmitting service data to the switching side, after the primary link switches to the second backup link, the data transmission process is as follows: steps 1106-1108.
[0206] 1106. The first OTN device sends an OTN data frame to the second OTN device through the first communication link.
[0207] 1107 , after receiving the OTN data frame from the first OTN device according to the connectivity status of the first communication link and the third communication link, the second OTN device sends the OTN data frame to the third OTN device through the third communication link.
[0208] At 1108, the third OTN device receives the OTN data frame from the second OTN device, obtains service data from the OTN data frame based on the operating status of UNI-2, and then sends the service data to the switch through the second MC-LAG link based on the connectivity between the third communication link and the first MC-LAG link. The switch thus receives the service data from the first OTN device.
[0209] Scenario 4: The second OTN device fails and a transmission link switch is required. Figure 12A FIG. 1 is a flow chart of an OTN data transmission method provided in an embodiment of the present application.
[0210] 1201. After a third communication link is established between the second OTN device and the third OTN device, the second OTN device and the third OTN device negotiate which OTN device serves as the master OTN device and which one serves as the backup OTN device. Here, the second OTN device is used as the master OTN device as an example.
[0211] At 1202, the second OTN device, acting as the master OTN device, can set the connectivity status of its communication links. For example, the second OTN device can set the connectivity of the first communication link to the first MC-LAG link, disconnect the first communication link from the third communication link, and disconnect the third communication link from the first MC-LAG link. The configuration method is described in 902 and is not detailed here.
[0212] 1203. The second OTN device monitors the working status of each communication link of the second OTN device in real time.
[0213] 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 of the device to the second OTN device.
[0214] 1205. When the third OTN device detects a fault in the second OTN device via the third communication link, the third OTN device is upgraded from a backup OTN device to a primary OTN device. The connectivity status of each communication link on this device is set. For example, the second communication link is set to be connected to the second MC-LAG link, the second communication link is set to be disconnected from the third communication link, and the third communication link is set to be disconnected from the second MC-LAG link.
[0215] As an example, the second OTN device and the third OTN device may send heartbeat messages to each other to monitor whether a fault occurs in the opposite device.
[0216] See also Figure 12B As shown, 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. The third backup link can be: first OTN device -> second communication link -> third OTN device -> second MC-LAG link -> switching side.
[0217] In a first possible example, the third OTN device sets the status of the port on the second communication link used to transmit the service data to enabled, which can be understood as the switch status of NNI-2 being enabled. Setting the status of the port on the second MC-LAG used to transmit the service data to enabled can be understood as the switch status of UNI-2 being enabled. Setting the status of the port on the third communication link used to transmit the service data to disabled can be understood as the switch status of DNI-2 being enabled.
[0218] In a second possible example, the third OTN device sets UNI-2 to be connected to NNI-2, but UNI-2 is not connected to DNI-2, and NNI-2 is not connected to DNI-2.
[0219] In a third possible example, the third OTN device configures UNI-2 to receive service data from NNI-2, and NNI-2 to receive service data from UNI-2. DNI-2 may not receive service data.
[0220] In a 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. DNI-2 does not receive the service data. Therefore, DNI-2 can be configured not to send service data to the other two ports, or a random configuration can be performed.
[0221] In embodiments of the present application, a master OTN device or a backup OTN device may include a cross-connect unit and a main control unit. The main control unit can connect any two communication links by controlling the OTN cross-connection in the cross-connect unit. For example, the UNI, NNI, and DNI may be located on the cross-connect board of each OTN device. The master OTN device or the backup OTN device may also include at least two line units. A tributary unit may include one or more tributary boards, and the main control unit may include one or more main control boards. The cross-connect unit may include one or more cross-connect boards, and the line unit may include one or more line boards. For example, a second OTN device may include OTN line board 1-1, OTN cross-connect board 1, and OTN tributary board 1. For example, a third OTN device may include OTN line board 2-1, OTN cross-connect board 2, and OTN line board 2.
[0222] For one possible example, see Figure 13 As shown, the second OTN device also includes an OTN line board 1-2, and the third OTN device also includes an OTN line board 2-2. The OTN cross-connect board 1 of the second OTN device is configured with three ports, and the OTN cross-connect board 2 of the third OTN device is configured with three ports. The OTN line board 1-2 of the second OTN device is connected to the OTN line board 2-2 of the third OTN device.
[0223] For another possible example, see Figure 14 As shown, the second OTN device may further include a main control board 1, and the third OTN device may further include a main control board 2. A main control board is a device control information processing board in an OTN device. The second OTN device functions as the master OTN device, and its main control board 1 operates in master mode. The third OTN device functions as a backup OTN device, and its main control board 2 operates in backup mode.
[0224] In some embodiments, main control board 1 and main control board 2 use a defined protocol to exchange information. For example, the defined protocol may be a newly defined protocol. The newly defined protocol may be referred to as the MC-SNCP protocol, but other names are possible, and are not specifically limited in this embodiment. The subsequent description uses the MC-SNCP protocol as an example.
[0225] A control channel can be established between main control board 1 and main control board 2. The control channel is used to transmit control information and / or the operating status of each link of the backup OTN device. The control channel uses the MC-SNCP protocol. The control channel can be called a data communication network (DCN) channel, or other names, which are not specifically limited in this application.
[0226] The main control board 1 is used to collect the status information of each communication link on the second OTN device, including the status information of the first communication link, the status of the third communication link, and the status information of the first MC-LAG link. The main control board 1 can obtain the status information of the first communication link from the OTN line board 1-1 and the status information of the first MC-LAG link from the OTN tributary board 1. Figure 13 In the structure shown, the main control board 1 can obtain the status information of the third communication link from the OTN line board 1-2.
[0227] The main control board 2 is used to collect the status information of each communication link on the third OTN device, including the status information of the second communication link, the status information of the third communication link, and the status information of the second MC-LAG link. The main control board 2 can obtain the status information of the second communication link from the OTN line board 2-1 and the status information of the second MC-LAG link from the OTN tributary board 2. Figure 13 In the structure shown, the main control board 2 can obtain the status information of the third communication link from the OTN line board 2-2.
[0228] The main control board 2 is further configured to send the acquired state information of the second communication link and the state information of the second MC-LAG link to the second OTN device via the control channel. The main control board 2 may send the state information of the second communication link and the state information of the second MC-LAG link to the main control board 1 of the second OTN device via the MC-SNCP protocol message format. For example, the MC-SNCP protocol message format for transmitting link state information may be referred to in Figure 5B shown.
[0229] Furthermore, the main control board 1 determines the transmission link for transmitting service data between the first OTN device and the switch side based on the acquired status information of each link on the second OTN device and the status information of each link on the third OTN. When it is determined that a transmission link switch is necessary, the main control board 1 configures the switch board 1 to establish a cross-connection between the OTN line board 1-1, the OTN line board 1-2, and at least two communication boards in the tributary board 1. The main control board 1 also sends control information to the third OTN device via a control channel. The control information instructs the third OTN device to control the switch board 2 to establish a cross-connection between the OTN line board 2-1, the OTN line board 2-2, and at least two communication boards in the tributary board 2.
[0230] In some embodiments, when the main control board 1 determines that the first communication link has a fault, it controls the cross-connection board 1 to establish a cross-connection between the OTN line board 1-2 and the tributary board 1; wherein the cross-connection between the OTN line board 1-1 and the OTN line board 1-2 is not established, and the cross-connection between the OTN line board 1-1 and the tributary board 1 is not established. The main control board 2 controls the cross-connection board 2 to establish a cross-connection between the OTN line board 2-1 and the OTN line board 2-2 based on the control information; wherein the cross-connection between the OTN line board 2-1 and the tributary board 2 is not established, and the cross-connection between the OTN line board 2-2 and the tributary board 2 is not established.
[0231] In other embodiments, when the main control board 1 determines that there is a fault in the fourth communication link, the cross-board 1 controls the cross-board 1 to establish a cross-connection between the circuit board 1-1 and the circuit board 1-2; wherein, the cross-connection between the circuit board 1-1 and the branch board 1 is not established, and the cross-connection between the circuit board 1-2 and the branch board 1 is not established.
[0232] The main control board 2 is specifically used to control the cross board 2 to establish a cross connection between the circuit board 2-2 and the branch board 2 according to the control information; wherein, the cross connection between the circuit board 2-1 and the circuit board 2-2 is not established, and the cross connection between the circuit board 2-1 and the branch board 2 is not established.
[0233] Specifically, main control board 1 uses the three ports on cross-connect board 1 (UNI-1, NNI-1, and DNI-1) to establish a cross connection or not establish a cross connection to connect or disconnect any two communication links on the second OTN device. Main control board 2 uses the three ports on cross-connect board 2 (UNI-2, NNI-2, and DNI-2) to establish a cross connection or not establish a cross connection to connect or disconnect any two communication links on the third OTN device.
[0234] For example, the main control board 1 can use the MC-SNCP protocol format to send control information to the main control board 2 of the third OTN device. As an example, after receiving the control information, the main control board 2 configures the switch state of each port on the switch board 2 or the connection state between two ports or the selection state of each port according to the instruction of the control information. For example, the MC-SNCP protocol message format for transmitting control information can be found in Figure 8A 、 Figure 8B 、 Figure 8C or Figure 8DAs shown in the figure, main control board 1 configures the switch status of each port on switch board 1 and controls the switch status of each port on switch board 2 of the third OTN device, the connectivity status between two ports, or the selection status of each port through control information. For specific control methods and the control information sent, please refer to the relevant descriptions in scenarios 1 to 3.
[0235] In one possible scenario, when the main control board 2 of the third OTN device determines that the second OTN device has failed, such as due to a power outage, it can update its own operating mode to "master mode." It then configures the switch status of the ports on its switch board 2. For detailed configuration details, see the description of Scenario 4 and are not repeated here.
[0236] In one possible implementation, see Figure 15 As shown, both main control board 1 and main control board 2 can include an MC-SNCP protocol module and an MC-LAG protocol module. For ease of distinction, the MC-SNCP protocol module included in main control board 1 is referred to as MC-SNCP protocol module 1, and the MC-SNCP protocol module included in main control board 2 is referred to as MC-SNCP protocol module 2. The MC-LAG protocol module included in main control board 1 is referred to as MC-LAG module 1, and the MC-LAG protocol module included in main control board 2 is referred to as MC-LAG module 2. Main control board 1 and main control board 2 store the association between MC-SNCP groups and MC-LAG groups through configuration. The configuration mentioned here can be configured by an administrator, or configuration information issued by a network management device to main control board 1 and main control board 2. For example, the configuration information can include a mapping relationship between the MC-SNCP group ID and NNI-1 of the second OTN device and NNI-2 of the third OTN device. The configuration information can also include a mapping relationship between the MC-LAG group ID and the UNI-1 port of the second OTN device and the UNI-2 port of the third OTN device. Exemplarily, the configuration information may further include a mapping between an MC-SNCP group ID and an MC-LAG group ID. Thus, main control board 1 and main control board 2 determine the MC-SNCP group and the MC-LAG group based on the configuration information, and establish an association between the MC-SNCP group and the MC-LAG group. Exemplarily, both main control board 1 and main control board 2 store the mapping between the MC-SNCP group ID and the MC-LAG group ID.
[0237] It is understandable that multiple different LAG groups can be configured on the second OTN device and the third OTN device. Different MC-LAG groups are configured for service data transmitted between the second OTN device and the third OTN device for different receiving devices and transmitting devices. Different MC-LAG groups are configured for different service data transmitted between the second OTN device and the third OTN device for the same receiving device and transmitting device.
[0238] The MC-SNCP protocol module 1 is responsible for collecting the working status of the first communication link and the working status of the third communication link on the second OTN device. Specifically, the MC-SNCP protocol module 1 can obtain the working status of the first communication link from the OTN line board 1-1. Optionally, the MC-SNCP protocol module 1 can also obtain the working status of the third communication link from the OTN line board 1-2. The MC-LAG module 1 is responsible for collecting the working status of the first MC-LAG link on the second OTN device. Specifically, the MC-LAG module 1 is responsible for obtaining the working status of the first MC-LAG link from the OTN tributary board 1 on the second OTN device. Further, the MC-LAG module 1 sends the obtained working status of the first MC-LAG link to the MC-SNCP module 1. Exemplarily, the MC-LAG module 1 can adopt Figure 16A or Figure 16B The protocol message format shown notifies the MC-SNCP module 1 of the operating status of the first MC-LAG link.
[0239] The operating status of the first MC-LAG link may include one or more of an MC-LAG working link, an MC-LAG backup link, or an ETH signal lost. As an example, different values of the MC-LAG status may be used to identify different operating states. For example, 0x00 indicates an ETH signal lost, 0x01 indicates an MC-LAG working link, and 0x02 indicates an MC-LAG backup link.
[0240] Similarly, the MC-SNCP protocol module 2 is responsible for collecting the working status of the second communication link and the working status of the third communication link on the third OTN device. Specifically, the MC-SNCP protocol module 2 can obtain the working status of the second communication link from the OTN line board 2-1. Optionally, the MC-SNCP protocol module 2 can also obtain the working status of the third communication link from the OTN line board 2-2. The MC-LAG module 2 is responsible for collecting the working status of the second MC-LAG link on the third OTN device. Specifically, the MC-LAG module 2 is responsible for obtaining the working status of the second MC-LAG link from the OTN tributary board 2 on the third OTN device. Further, the MC-LAG module 2 sends the obtained working status of the second MC-LAG link to the MC-SNCP module 2. Exemplarily, the MC-LAG module 2 can adopt Figure 16A or Figure 16BThe protocol message format shown notifies the MC-SNCP module 2 of the working status of the second MC-LAG link. The working status of the second MC-LAG link may include one or more of MC-LAG working link, MC-LAG backup link, or ETH signal los.
[0241] Furthermore, the SNCP protocol module 2 sends the collected link status information to the SNCP protocol module 1, such as the working status of the second communication link and the working status of the second MC-LAG link. For example, the MC-SNCP protocol message format for transmitting link status information can be found in Figure 5B As shown. SNCP protocol module 1 determines the transmission path of service data between the first OTN device and the switching side based on the acquired status information of each link. For example, SNCP protocol module 1 determines the corresponding MC-LAG group ID based on the MC-SNCP group ID, and determines the ports whose switch states need to be set based on the correspondence between the MC-SNCP group ID and NNI-1 and NNI-2, as well as the mapping between the MC-LAG group ID and UNI-1 and UNI-2, thereby controlling the switch states of NNI-1, NNI-2, UNI-1, and UNI-2.
[0242] Based on the same inventive concept as the above embodiment, the embodiment of the present application also provides a data transmission device. The device can be a main control unit or a main control board. Figure 17 As shown, the device may include a receiving unit 1701, a processing unit 1702, and a sending unit 1703. The data transmission device is specifically used to implement Figure 9A 、 Figure 10A 、 Figure 11A or Figure 12A The method steps performed by the second OTN device in Figure 9A 、 Figure 10A 、 Figure 11A or Figure 12A The method steps are performed by the third OTN device.
[0243] In one scenario, when applied to a second OTN device, the receiving unit 1701 is configured to perform a receiving action, such as receiving the operating status of a link from a third OTN device. The processing unit 1702 is configured to configure the connectivity of the communication link, and the sending unit 1703 is configured to send control information to the third OTN device. Any repetitions are omitted here.
[0244] In one scenario, when applied to a third OTN device, the receiving unit 1701 is configured to perform a receiving action, such as receiving control information from a second OTN device. The processing unit 1702 is configured to configure the connectivity status of the communication link, and the sending unit 1703 is configured to send link status information to the second OTN device. Any repetitions are omitted here.
[0245] The division of units in the embodiments of the present application is illustrative and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of the present application may be integrated into a single processor, or may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0246] The embodiment of the present application also provides another data transmission device structure, such as an OTN device structure. Figure 18 As shown, the network device 1800 may include a communication interface 1810, a processor 1820, and a memory 1830. The data transmission apparatus may serve as a second OTN device or a third OTN device.
[0247] above Figure 17 The receiving unit 1701, processing unit 1702, and sending unit 1703 shown in FIG can all be implemented by the processor 1820. The processor 1820 receives service data or control information status information through the communication interface 1810, and is used to implement Figure 9A 、 Figure 10A 、 Figure 11A or Figure 12A The method performed by the second OTN device in Figure 9A 、 Figure 10A 、 Figure 11A or Figure 12A The method is performed by the third OTN device.
[0248] During implementation, each step of the processing flow can be completed by hardware integrated logic circuits in the processor 1820 or software instructions. Figure 9A 、 Figure 10A 、 Figure 11A or Figure 12A The method performed by the second OTN device or the third OTN device.
[0249] In the embodiments of the present application, the communication interface 1810 may be a circuit, a bus, a transceiver, or any other device capable of exchanging information. For example, the other device may be a device connected to the network device 1800. For example, when the network device 1800 is used in a communication board, the other device may be a packet switching device or an OTN device.
[0250] In the embodiments of the present application, the processor 1820 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application may be directly implemented and executed by a hardware processor, or by a combination of hardware and software components within the processor. The program code executed by the processor 1820 to implement the aforementioned methods may be stored in the memory 1830. The memory 1830 is coupled to the processor 1820. Coupling in the embodiments of the present application refers to an indirect coupling or communication connection between devices, units, or modules, and may be electrical, mechanical, or other forms, used for information exchange between the devices, units, or modules. The processor 1820 may operate in conjunction with the memory 1830. The memory 1830 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory, such as a random-access memory (RAM). The memory 1830 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1830 may be applied to the network device 1800 in the form of an external plug-in.
[0251] The specific connection medium between the communication interface 1810, the processor 1820 and the memory 1830 is not limited in the embodiment of the present application. Figure 18 The memory 1830, the processor 1820 and the communication interface 1810 are connected via a bus. Figure 18 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 18 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0252] Based on the above embodiments, embodiments of the present application further provide a computer storage medium. This storage medium stores a software program that, when read and executed by one or more processors, can implement the methods provided by any one or more of the above embodiments. The computer storage medium may include various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
[0253] Based on the above embodiments, embodiments of the present application further provide a chip. The chip includes a processor configured to implement the functions described in any one or more of the above embodiments, such as acquiring or processing the data frames described in the above methods. Optionally, the chip also includes a memory configured to store the necessary program instructions and data for execution by the processor. The chip may be comprised of a single chip or may include a chip and other discrete components.
[0254] It should be understood that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt a complete hardware embodiment, a complete software embodiment, or an implementation in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0255] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0256] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device. Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0257] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0258] Obviously, 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. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application also intends to include these modifications and variations.
Claims
1. A data transmission method for an optical transport network, characterized in that: 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, 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 obtains the working status of the second communication link and the fifth communication link from the third OTN device; The first communication link is used to connect the second OTN device and the first OTN device, the second communication link is used to connect the first OTN device and the third OTN device, 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 is used to connect the third OTN device and the switching side; The second OTN device controls a transmission path for transmitting service data between the first OTN device and the switching side according to the working states of the first communication link, the second communication link, the third communication link, the fourth communication link, and all the fifth communication links.
2. The method according to claim 1, wherein The method further comprises: The second OTN device and the third OTN device negotiate through the third communication link that the second OTN device is the primary OTN device and the third OTN device is the backup OTN device.
3. The method according to claim 1 or 2, wherein: Acquiring the operating status of the second communication link and the fifth communication link from the third OTN device includes: The second OTN device receives the working status of the second communication link and the working status of the fifth communication link sent by the third OTN device through the third communication link.
4. The method according to claim 1, wherein The second OTN device controls a transmission path through which service data is transmitted between the first OTN device and the switching side 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, including: The second OTN device controls a connectivity status between any two of the first communication link, the third communication link, and the fourth communication link on the second OTN device according to the operating status of the first communication link, the second communication link, the third communication link, the fourth communication link, and the fifth communication link, and sends control information to the third OTN device, where the control information indicates a connectivity status between any two of the second communication link, the third communication link, and the fifth communication link on the third OTN device.
5. The method according to claim 4, wherein The controlling the connectivity status between any two of the first communication link, the third communication link, and the fourth communication link on the second OTN device includes: When the first communication link fails and the second communication link, the third communication link, and the fourth communication link are all operating normally, the second OTN device controls the third communication link to be connected to the fourth communication link, controls the first communication link to be disconnected from the third communication link, and controls the first communication link to be disconnected from the fourth communication link.
6. The method according to claim 4 or 5, characterized in that The method further comprises: When the first communication link fails, the second OTN device receives the OTN data frame sent by the third OTN device through the third communication link, where the OTN data frame carries service data from the first OTN device; The second OTN device obtains the service data from the OTN data frame, and sends the service data to the switching side through the fourth communication link.
7. The method according to claim 4 or 5, characterized in that When there is a fault in the first communication link and the working status 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 is not connected to the fifth communication link.
8. The method according to claim 4, wherein The controlling the connectivity status between any two of the first communication link, the third communication link, and the fourth communication link on the second OTN device includes: When the fourth communication link fails and the first communication link, the third communication link, and the fifth communication link are in normal working status, the second OTN device controls the first communication link to be connected to the third communication link, controls the first communication link to be disconnected from the fourth communication link, and controls the third communication link to be disconnected from the fourth communication link.
9. The method according to claim 4 or 8, wherein: 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 are normal, the control information indicates that the second communication link is disconnected from the third communication link, controls the second communication link to be disconnected from the fifth communication link, and controls the third communication link to be connected to the fifth communication link.
10. The method according to claim 4 or 8, characterized in that The method further comprises: The second OTN device receives the OTN data frame from the first OTN device through the first communication link; When a fault occurs in the fourth communication link, the second OTN device sends the OTN data frame to the third OTN device through the third communication link.
11. A data transmission method in an optical transport network, characterized in that: Applied to the optical transport network including at least a first optical transport network (OTN) device, a second OTN device, and a third OTN device, the method includes: The third OTN device receives control information from the second OTN device, where the control information indicates a connectivity status between any two of the second communication link, the third communication link, and the fifth communication link on the third OTN device; wherein the second communication link is used to connect the first OTN device and the third OTN device, the fifth communication link is used to connect the third OTN device and the switching side, and the third communication link is used to connect the second OTN device and the third OTN device; The third OTN device controls the connectivity between any two of the second communication link, the third communication link, and the fifth communication link according to the control information.
12. The method according to claim 11, wherein The method further comprises: The third OTN device negotiates with the second OTN device via the third communication link that the second OTN device is the primary OTN device and the third OTN device is the backup OTN device.
13. The method according to claim 11, wherein The method further comprises: The third OTN device monitors the working status of the second communication link and the fifth communication link; The third OTN device sends the operating status of the second communication link and the fifth communication link to the second OTN device, and the operating status of the second communication link and the fifth communication link is used by the second OTN device to determine the control information.
14. The method according to any one of claims 11 to 13, wherein: When a fault occurs 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 third OTN device controlling, according to the control information, a connectivity state between any two of the second communication link, the third communication link, and the fifth communication link, including: The third OTN device controls, according to the control information, the second communication link and the third communication link to be connected, controls the second communication link and the fifth communication link to be disconnected, and controls the third communication link and the fifth communication link to be 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 and the switching side.
15. The method according to claim 14, wherein The method further comprises: The third OTN device receives the OTN data frame from the first OTN device through the second communication link; The third OTN device sends the OTN data frame to the second OTN device through the third communication link.
16. The method according to any one of claims 11 to 13, wherein: When the fourth communication link fails and the working states of the first communication link, the third communication link, and the fifth communication link are normal, the third OTN device controls the connectivity between any two of the second communication link, the third communication link, and the fifth communication link according to the control information, including: The third OTN device controls, according to the control information, disconnection between the second communication link and the third communication link, disconnection between the second communication link and the fifth communication link, and connection between the third communication link and 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.
17. The method according to claim 16, wherein The method further comprises: The third OTN device receives the OTN data frame sent by the second OTN device through the third communication link, where the OTN data frame carries service data from the first OTN device; The third OTN device obtains the service data from the OTN data frame, and sends the service data to the switching side through the fifth communication link.
18. The method according to any one of claims 11 to 13, wherein: The method further comprises: When determining that the second OTN device fails, the third OTN device controls the second communication link to be connected to the fifth communication link, controls the second communication link to be disconnected from the third communication link, and controls the third communication link to be disconnected from the fifth communication link.
19. A data transmission device for an optical transport network, characterized in that: Applied to a second OTN device, the device includes a main control unit and a cross-connect unit; 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 obtain the working status of the second communication link and the fifth communication link from the third OTN device; The first communication link is used to connect the second OTN device and the first OTN device, the second communication link is used to connect the first OTN device and the third OTN device, 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 is used to connect the third OTN device and the switching side; The main control unit is further configured to control the cross-connect unit to set a connectivity relationship between any two of the first communication link, the third communication link, and the fourth communication link according to the operating states of the first communication link, the second communication link, the third communication link, the fourth communication link, and the fifth communication link, and to control a connectivity relationship between any two of the second communication link, the third communication link, and the fifth communication link on the third OTN device; The cross unit is used to set a connectivity 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.
20. The device according to claim 19, wherein The apparatus further includes a first line unit, a second line unit, and a branch unit; the first line unit is connected to a first OTN device via a first communication link, the second line unit is connected to a third OTN device via a third communication link, and the branch unit is used to connect to a switching side via a fourth communication link; The main control unit is specifically used 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 working status of the first communication link, the second communication link, the third communication link, the fourth communication link and the fifth communication link.
21. The device according to claim 20, characterized in that The main control unit is specifically configured to control the cross-connection unit to establish a cross-connection between the second line unit and the branch unit when it is determined that the first communication link has a fault; 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.
22. The device according to claim 20, wherein The main control unit is specifically configured to control the cross-connection unit to establish a cross-connection between the first line unit and the second line unit when it is determined that the fourth communication link has a fault; 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.
23. The device according to any one of claims 20 to 22, characterized in that The main control unit is further configured to negotiate with the third OTN device through the third communication link that the second OTN device is the primary OTN device and the third OTN device is the backup OTN device.
24. The device according to any one of claims 20 to 22, characterized in that The main control unit is specifically used to: Acquire 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 working status of the fourth communication link from the branch unit; Receive the working status of the second communication link and the working status of the fifth communication link sent by the third OTN device.
25. The device according to any one of claims 19 to 22, characterized in that The main control unit is specifically used to: Control information is sent to the third OTN device, where the control information indicates a connectivity relationship between any two communication links among the second communication link, the third communication link, and the fifth communication link.
26. A data transmission device for an optical transport network, characterized in that: A third OTN device applied to an optical transport network, the optical transport network also including a first OTN device and a second OTN device, the device including a main control unit and a cross-connect unit; The main control unit is configured to receive control information from the second OTN device, where the control information indicates a connectivity status between any two of the second communication link, the third communication link, and the fifth communication link on the third OTN device; 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 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 to transmit service data between the first OTN device and the switching side; The main control unit is further configured to control the cross unit to set a connectivity relationship between any two of the second communication link, the third communication link, and the fifth communication link according to the control information; The cross unit is used to set a connectivity relationship between any two of the second communication link, the third communication link, and the fifth communication link under the control of the main control unit.
27. The device according to claim 26, wherein The apparatus 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 via a second communication link, the second line unit is connected to the second OTN device via a third communication link, and the branch unit is used to connect to the switching side via a 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.
28. The device according to claim 27, wherein When a fault occurs on 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 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 not connected to the fifth communication link; 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 and the switching side; The main control unit is specifically configured to control the cross-connection unit to establish a cross-connection between the first line unit and the second line unit according to the control information; 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.
29. The device according to claim 27, wherein When the fourth communication link fails, the control information indicates that the second communication link is disconnected from the third communication link, the second communication link is disconnected from the fifth communication link, the third communication link is connected to the fifth communication link, and the fourth communication link is used to connect the second OTN device and the switching side; 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; 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.
30. The device according to any one of claims 27 to 29, characterized in that 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 primary OTN device and the third OTN device is the backup OTN device.
31. The device according to any one of claims 27 to 29, characterized in that The main control unit is further used for: Acquire the working status of the second communication link from the first line unit, and acquire the working status of the fifth communication link from the branch unit; Sending the working status of the second communication link and the working status of the fifth communication link to the third OTN device; The working status of the second communication link and the working status of the fifth communication link are used by the second OTN device to determine the control information.
32. A chip, characterized in that: processor and communication interfaces, The communication interface is used to input and / or output information; The processor is configured to execute a computer program so that the method according to any one of claims 1 to 10 is executed, or the method according to any one of claims 11 to 18 is executed.
33. A data transmission device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store program code; The processor is configured to read and execute the program code stored in the memory to implement the method according to any one of claims 1 to 10, or to implement the method according to any one of claims 11 to 18.
34. An optical transmission network system, characterized in that: The system includes a first optical transport network (OTN) device, a second OTN device, and a third OTN device, wherein the first OTN device is connected to the second OTN device via a first communication link, the first OTN device is connected to the third OTN device via a second communication link, the second OTN device is connected to the third OTN device via a third communication link, the second OTN device is connected to a switching side via a fourth communication link, and the third OTN device is connected to the switching side via a fifth communication link; the first communication link, the second communication link, the third communication link, the fourth communication link, and the fifth communication link are used to transmit service data between the first OTN device and the switching side; the second OTN device is used to implement the method according to any one of claims 1 to 10, and the third OTN device is used to implement the method according to any one of claims 11 to 18.
Citation Information
Patent Citations
Method for protecting and recovering cross-domain end-to-end label switched path
CN102740175A