Data transmission method and system, electronic equipment and storage medium

By setting the first OTN pipeline and the second OTN pipeline in the optical transmission network system, comprehensive protection of each network element device in the communication network is achieved, and the problem that conventional protection paths cannot fully protect the communication network is solved, and the security and stability of the communication network are improved.

CN119727889APending Publication Date: 2025-03-28ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311292215.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Conventional protection paths can only protect the normal connection of a certain communication channel in the optical transmission network, and cannot achieve comprehensive protection of various network element devices in the communication network, reducing the security of the communication network.

Method used

By setting the first OTN pipeline and the second OTN pipeline in the optical transmission network system, the second network-side device serves as a backup device for the first network-side device, and the service data transmission between the user-side device and the first network-side device is realized. When the first OTN pipeline fails, the fault region is determined and the fault region is replaced with the backup region in the second OTN pipeline to obtain the target channel to ensure the normal transmission of service data.

Benefits of technology

Through this method, it is possible to quickly switch to the second OTN pipeline when a first OTN pipeline fails, ensure stable transmission of service data, and improve the security and stability of the communication network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119727889A_ABST
    Figure CN119727889A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method, an optical transmission network system, electronic equipment and a storage medium, and relates to the technical field of optical communication. The method is applied to an optical transport network OTN system, and comprises the following steps: in response to a fault of a first OTN pipeline, determining a fault area in the first OTN pipeline; determining a backup area according to the fault area in the first OTN pipeline, wherein the backup area is an area in a second OTN pipeline; replacing the fault area in the first OTN pipeline with the backup area to obtain a target channel; and transmitting service data between the user side equipment and the first network side equipment by using the target channel. And the transmission security and stability of the service data are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology, and in particular to a data transmission method, an optical transmission network system, an electronic device and a storage medium. Background Art

[0002] With the rapid growth of users' demand for business data, network-side equipment needs to provide sufficiently stable communication services to meet users' demand for the transmission of large amounts of business data. Usually, in the optical transport network (OTN), protection paths are set up to deal with sudden network failures (for example, fiber breakage, node failure, signal degradation, etc.).

[0003] However, conventional protection paths can only protect the normal connection of a certain section of the communication channel, but cannot provide comprehensive protection for each network element device in the communication network, thus reducing the security of the communication network. Summary of the invention

[0004] The present application provides a data transmission method, an optical transmission network system, an electronic device and a storage medium.

[0005] The embodiment of the present application provides a data transmission method, which is applied to an optical transmission network OTN system. The OTN system includes a first OTN pipe connected between a user-side device and a first network-side device, and a second OTN pipe connected between the user-side device and a second network-side device. The second network-side device is a backup device for the first network-side device. The first OTN pipe includes a first OTN device, and the second OTN pipe includes a second OTN device. The first OTN device and the second OTN device are connected in a one-to-one correspondence. The method includes: in response to a failure of the first OTN pipe, determining a fault area in the first OTN pipe; determining a backup area according to the fault area in the first OTN pipe, the backup area being an area in the second OTN pipe; using the backup area to replace the fault area in the first OTN pipe to obtain a target channel; and using the target channel to transmit service data between the user-side device and the first network-side device.

[0006] An embodiment of the present application provides an optical transmission network ONT system, the system comprising: a user side device, a first OTN pipe, a second OTN pipe, a first network side device and a second network side device; wherein the first OTN pipe is a pipe connecting the user side device and the first network side device, the second OTN pipe is a pipe connecting the user side device and the second network side device, and the second network side device is a backup device for the first network side device; the first OTN pipe includes at least one first OTN device, the second OTN pipe includes at least one second OTN device, and the first OTN device is connected to the second OTN device in a one-to-one correspondence; the ONT system is used to execute any one of the data transmission methods in the embodiments of the present application.

[0007] An embodiment of the present application provides an electronic device, including: one or more processors; a memory, on which one or more programs are stored. When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the data transmission methods in the embodiments of the present application.

[0008] An embodiment of the present application provides a readable storage medium, which stores a computer program. When the computer program is executed by a processor, any one of the data transmission methods in the embodiments of the present application is implemented.

[0009] According to the data transmission method, optical transmission network system, electronic device and storage medium of the embodiment of the present application, the service data is transmitted by adopting an optical transmission network system including a first OTN pipe and a second OTN pipe, wherein the first OTN pipe is a pipe connected between the user side device and the first network side device, the second network side device is a backup device of the first network side device, and the user side device is also connected to the second network side device through the second OTN pipe, the first OTN pipe includes the first OTN device, the second OTN pipe includes the second OTN device, and the first OTN device is connected to the second OTN device in a one-to-one correspondence, which can ensure that the network side device is continuously The invention relates to a network, so that the network side device can provide sufficiently stable communication services to meet the user's demand for the use of large amounts of business data; in response to a fault in the first OTN pipe, the fault area in the first OTN pipe is determined to narrow the scope of locating the fault, and further, a backup area is determined according to the fault area in the first OTN pipe, and the backup area is an area in the second OTN pipe; then, the backup area is used to replace the fault area in the first OTN pipe to obtain a target channel, so as to use the target channel to transmit business data between the user side device and the first network side device, thereby ensuring the security of business data during transmission and improving the stability of data transmission.

[0010] With regard to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A schematic diagram showing the composition of an optical network transmission network provided in a related implementation manner is shown.

[0012] Figure 2 A flow chart of a data transmission method provided in an embodiment of the present application is shown.

[0013] Figure 3 A block diagram showing the composition of an optical transmission network system provided in an embodiment of the present application is shown.

[0014] Figure 4 A block diagram showing the composition of an optical transmission network system provided in an embodiment of the present application is shown.

[0015] Figure 5 A structural schematic diagram of a first OTN pipeline failure provided by an embodiment of the present application is shown.

[0016] Figure 6 A structural schematic diagram of a first OTN pipeline failure provided by an embodiment of the present application is shown.

[0017] Figure 7 A structural schematic diagram of a first OTN pipeline failure provided by an embodiment of the present application is shown.

[0018] Figure 8 A structural schematic diagram of a first OTN pipeline failure provided by an embodiment of the present application is shown.

[0019] Fig. 9 A structural schematic diagram of a first OTN pipeline failure provided by an embodiment of the present application is shown.

[0020] Fig.10 A block diagram showing the composition of a computing device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.

[0022] Figure 1 FIG. 2 shows a schematic diagram of the composition of an optical network transmission network provided in a related embodiment. Figure 1As shown, the first site 110 is connected to the first client 131, and the second site 120 is connected to the second client 132. The first site 110 includes a line side board card 111, a line side board card 112 and a client board card 113; the second site 120 includes a line side board card 121, a line side board card 122 and a client board card 123.

[0023] in, Figure 1 The solid line in the figure represents the optical transport network (OTN) working link, and the dotted line represents the OTN protection link. Figure 1 As shown, the OTN working link and the OTN protection path are both set in the same site (that is, the line side board card 111 and the line side board card 112 are both in the first site 110, and the line side board card 121 and the line side board card 122 are both in the second site 120). If a failure occurs in the first site 110 or the second site 120, the communication link will be interrupted and the service data can no longer be transmitted.

[0024] The present application provides a data transmission method, an optical transmission network system, an electronic device and a storage medium to solve the above problems.

[0025] Figure 2 A flow chart of a data transmission method provided by an embodiment of the present application is shown. The data transmission method can be applied to an optical transmission network OTN system. The OTN system includes a first OTN pipe connected between a user side device and a first network side device, and a second OTN pipe connected between the user side device and a second network side device, the second network side device is a backup device for the first network side device, the first OTN pipe includes a first OTN device, the second OTN pipe includes a second OTN device, and the first OTN device is connected to the second OTN device in a one-to-one correspondence.

[0026] like Figure 2 As shown, the data transmission method in the embodiment of the present application includes but is not limited to the following steps.

[0027] Step S201: In response to a fault occurring in a first OTN pipe, a fault area in the first OTN pipe is determined.

[0028] Step S202: determining a backup area according to the fault area in the first OTN pipe.

[0029] The backup area is an area in the second OTN pipe.

[0030] Step S203: Use the backup area to replace the faulty area in the first OTN pipe to obtain a target channel.

[0031] Step S204: Use the target channel to transmit service data between the user-side device and the first network-side device.

[0032] In this embodiment, service data is transmitted by using an optical transmission network system including a first OTN pipe and a second OTN pipe, wherein the first OTN pipe is a pipe connected between a user-side device and a first network-side device, the second network-side device is a backup device of the first network-side device, and the user-side device is also connected to the second network-side device through the second OTN pipe, the first OTN pipe includes the first OTN device, the second OTN pipe includes the second OTN device, and the first OTN device and the second OTN device are connected in a one-to-one correspondence, so that the network-side device can be ensured to be connected to the network, so that the network-side device can provide sufficiently stable communication services to meet the user's demand for using large amounts of service data; in response to a fault in the first OTN pipe, a fault area in the first OTN pipe is determined to narrow the scope of locating the fault, and further, a backup area is determined according to the fault area in the first OTN pipe, and the backup area is an area in the second OTN pipe; then, the backup area is used to replace the fault area in the first OTN pipe to obtain a target channel, so that the target channel is used to transmit service data between the user-side device and the first network-side device, thereby ensuring the security of the service data during transmission and improving the stability of data transmission.

[0033] In some exemplary embodiments, the target channel further includes a reserved area, which is an area in the first OTN pipe except the fault area; the fault area includes the faulty link, and the backup area includes: a link in the second OTN pipe corresponding to the faulty link.

[0034] For example, determining the backup area according to the fault area in the first OTN pipe in step S202 includes: determining the link corresponding to the faulty link in the second OTN pipe as the backup area; and determining the target channel based on the backup area and the reserved area.

[0035] By using the backup area and the reserved area to jointly determine the target channel, the backup area can be used to replace the faulty area. Specifically, the faulty link can be replaced by the link corresponding to the faulty link in the second OTN pipe in the backup area, thereby avoiding the faulty link and using the target channel determined by the backup area and the reserved area to transmit service data, reducing the risk of service link interruption and improving the security and stability of service data during transmission.

[0036] In some exemplary embodiments, the faulty link includes: a first communication link directly connected between a first OTN device and a first network-side device; the backup area includes: a second communication link directly connected to a second network-side device in a second OTN pipeline, and a link between the first OTN device and the second OTN device in the first communication link, wherein the second OTN device is a device connected one-to-one with the first OTN device in the first communication link.

[0037] The first communication link is a link directly connecting the first OTN device in the first OTN pipeline and the first network side device; the second communication link is a link directly connecting the second OTN device in the second OTN pipeline and the second network side device.

[0038] By using the second communication link and the link between the first OTN device and the second OTN device in the first communication link to replace the failed first communication link, normal business data can be transmitted through the link in the backup area, reducing the risk of communication link interruption and improving communication stability.

[0039] In some exemplary embodiments, the first communication link includes a primary port, the second communication link includes a backup port, and the primary port and the backup port are ports in the same multi-chassis link aggregation (MC-Lag) group; in response to a fault in the first OTN pipe, determining a fault area in the first OTN pipe in step S201 can be implemented in the following manner: detecting a communication link connected to an OTN device in the first OTN pipe based on a bidirectional forwarding detection method; when an abnormality is detected in a primary port in the multi-chassis link aggregation group, determining the first communication link as a faulty link, and determining the faulty area based on the location of the faulty link.

[0040] Bidirectional Forwarding Detection (BFD) is a network protocol that detects whether a link between two devices fails through a data link layer connection. BFD can detect the entire path between two devices, regardless of how many switches or lines pass between the two devices.

[0041] For example, using BFD to detect whether there is a disconnection or other fault between two devices can achieve fault detection under low power consumption. A session is established between two devices through BFD, and the session can be implemented in a three-way handshake manner. Furthermore, a suitable encryption mechanism can be selected to encrypt the information transmitted on the session to ensure data security.

[0042] By detecting the main port, it is possible to clearly determine that the first communication link is a faulty link when the main port is abnormal, shorten the detection time of the link fault, and quickly determine the fault area based on the location of the faulty link (for example, the second communication link where the backup port corresponding to the main port in the second OTN pipeline is located is used as the fault area), so that the second communication link is used to replace the first communication link. In actual measurement, the switching between the first communication link and the second communication link can be completed within 50 milliseconds (ms), which improves the speed of resolving faults.

[0043] In some exemplary embodiments, the faulty link includes: a communication link between two adjacent OTN devices in the first OTN pipe; and the backup area includes an area determined based on the backup link.

[0044] The backup link is a link determined based on the location of the mapping device, and the mapping device includes two OTN devices in the second OTN pipeline that are connected one-to-one to two adjacent OTN devices in the first OTN pipeline.

[0045] For example, the first OTN pipeline includes: adjacent first OTN device A and first OTN device C, and the second OTN pipeline includes adjacent second OTN device B and second OTN device D; and the second OTN device B is an OTN device connected to the first OTN device A in a one-to-one correspondence in the second OTN pipeline, and the second OTN device D is an OTN device connected to the first OTN device C in a one-to-one correspondence in the second OTN pipeline.

[0046] Further, when the faulty link is the link between the first OTN device A and the first OTN device C, it can be determined that the backup link includes: the link between the second OTN device B and the second OTN device D, the link between the first OTN device A and the second OTN device B, and the link between the first OTN device C and the second OTN device D. The backup link is used to replace the faulty link to achieve normal connection of the communication link, so that the service data can be transmitted normally.

[0047] In some exemplary embodiments, the fault area includes: a faulty device, an upper link of the faulty device, and a lower link of the faulty device; determining the backup area according to the faulty area in the first OTN pipe in step S202 can be implemented in the following manners: determining the backup device according to the location of the faulty device; determining the backup link according to the locations of the upper link of the faulty device and the lower link of the faulty device; determining the backup area according to the backup device and the backup link.

[0048] The backup device is an OTN device connected to the faulty device in a one-to-one correspondence in the second OTN pipeline, and the backup link includes a link in the second OTN pipeline corresponding to the upper link of the faulty device, a link between the upper OTN device of the faulty device and the OTN device connected thereto in a one-to-one correspondence in the second OTN pipeline, a link between the lower OTN device of the faulty device and the OTN device connected thereto in a one-to-one correspondence in the second OTN pipeline, and a link in the second OTN pipeline corresponding to the lower link of the faulty device.

[0049] For example, the first OTN pipeline includes not only the adjacent first OTN device A and the first OTN device C, but also the first OTN device E connected to the first OTN device C; the second OTN pipeline includes not only the adjacent second OTN device B and the second OTN device D, but also the second OTN device F connected to the second OTN device D; and the second OTN device F is an OTN device connected to the first OTN device E in a one-to-one correspondence in the second OTN pipeline.

[0050] For example, if it is detected that the first OTN device C fails, the link between the first OTN device A and the first OTN device C fails, and the link between the first OTN device E and the first OTN device C fails, the second OTN device D can be used as a backup device, and the link between the second OTN device B and the second OTN device D, the link between the second OTN device D and the second OTN device F, the link between the first OTN device A and the second OTN device B, and the link between the first OTN device E and the second OTN device F in the second OTN pipeline are used as backup links.

[0051] Furthermore, the area other than the faulty area in the first OTN pipe is communicatively connected to the backup area (ie, including the backup device and the backup link) to obtain a target channel, so as to use the target channel to transmit service data and improve the transmission stability of service data.

[0052] In some exemplary embodiments, there are multiple faulty devices, and when it is determined that all OTN devices in the first OTN pipe are faulty devices, the target channel is the second OTN pipe.

[0053] For example, the first OTN pipeline includes three OTN devices, but the three OTN devices all have equipment failures. At this time, the second OTN pipeline can be directly used as the target channel to use the second OTN pipeline to transmit the service data originally transmitted in the first OTN pipeline, so that the service data can be transmitted normally, ensuring the communication connection between the user-side device and the network-side device, and improving the communication service quality for the user-side device.

[0054] In some exemplary embodiments, in response to a fault in the first OTN pipe, determining the fault area in the first OTN pipe in step S201 may be implemented in the following manner: detecting a link between an OTN device in the first OTN pipe and an upper-level OTN device thereof, and / or detecting a link between the OTN device and a lower-level OTN device thereof, to obtain a first detection result; detecting a link between the OTN device in the first OTN pipe and an OTN device connected thereto in a one-to-one correspondence in a second OTN pipe, to obtain a second detection result; and when it is determined that the first detection result is that a link abnormality exists, and the second detection result is also that a link abnormality exists, determining that the OTN device is a faulty device, and determining the fault area based on the location of the faulty device.

[0055] The first detection result includes: a link failure occurs between an OTN device in the first OTN pipeline and an upper-level OTN device, and / or a link failure occurs between an OTN device and a lower-level OTN device.

[0056] For example, a first OTN device C in a first OTN pipeline is detected. If a fault is detected in a lower-level link of the first OTN device C (e.g., a link between the first OTN device E and the first OTN device C) and / or a fault is detected in an upper-level link of the first OTN device C (e.g., a link between the first OTN device E and the first OTN device C), it is determined that the first detection result is that a link abnormality exists.

[0057] In the case where the first detection result is determined to be that a link abnormality exists, if it is detected that a link between the first OTN device C and an OTN device (such as the second OTN device D) connected thereto in a one-to-one correspondence in the second OTN pipeline also fails, the second detection result is determined to be that a link abnormality exists. At this time, the first OTN device C can be determined to be a faulty device, and the corresponding fault areas include: the first OTN device C, the link between the first OTN device A and the first OTN device C, the link between the first OTN device E and the first OTN device C, and the link between the first OTN device C and the second OTN device D.

[0058] Through the above detection method, the faulty device and the corresponding fault area can be accurately located, which facilitates timely maintenance of the faulty area and replaces the faulty area with the backup area corresponding to the faulty area, thereby obtaining the target channel to ensure that business data can be transmitted normally in the target channel.

[0059] In some exemplary embodiments, before determining the fault area in the first OTN pipe in response to a fault in the first OTN pipe in step S201, the method further includes: determining a group mapping relationship between an inter-device link aggregation group and a dual-node interconnection-subnetwork connection protection (DNI-SNCP) group; and generating a layer-2 virtual private network based on the group mapping relationship, the first OTN pipe, the second OTN pipe, and a network side device (e.g., the first network side device or the second network side device).

[0060] The DNI-SNCP group includes: a first OTN device and a second OTN device. The layer 2 virtual private network is used to determine that the primary pipe is the first OTN pipe, and the primary pipe is used to transmit service data.

[0061] For example, based on the mapping relationship between the MC-Lag group and the DNI-SNCP group, the main port abnormality or the backup port abnormality is mapped to the DNI-SNCP group, so that the first OTN device and the second OTN device in the DNI-SNCP group can switch the service data, and select the OTN device that can communicate normally and the normally connected communication link to transmit the service data.

[0062] It should be noted that the Layer 2 virtual private network is a Layer 2 network including a core layer (e.g., network-side equipment) and an access layer (e.g., OTN equipment in the first OTN pipe and / or the second OTN pipe). Its network form is simple and enables the switch to forward business data according to the physical address table, thereby achieving simple operation and improving the transmission speed of business data.

[0063] Figure 3 FIG. 1 is a block diagram showing a composition of an optical transmission network system provided by an embodiment of the present application. Figure 3 As shown, the ONT system includes: a user side device 310, a first OTN pipe 320, a second OTN pipe 330, a first network side device 341 and a second network side device 342;

[0064] Among them, the first OTN pipe 320 is a pipe connecting the user side device 310 and the first network side device 341, the second OTN pipe 330 is a pipe connecting the user side device 310 and the second network side device 342, and the second network side device 342 is a backup device for the first network side device 341; the first OTN pipe 320 includes at least one first OTN device 321, the second OTN pipe 330 includes at least one second OTN device 331, and the first OTN device 321 is connected to the second OTN device 331 in a one-to-one correspondence.

[0065] An ONT system is used to execute any data transmission method in the embodiments of the present application.

[0066] Figure 4 FIG. 1 is a block diagram showing a composition of an optical transmission network system provided by an embodiment of the present application. Figure 4 As shown, the customer premises equipment (Customer Premise(s) Equipment, CPE) 410 includes a customer premises active equipment 411 and a customer premises standby equipment 412. The customer premises active equipment 411 is connected to a first network side equipment 441 (e.g., a gateway (GateWay, GW) equipment, a data center equipment, etc.) through a plurality of first OTN equipment (e.g., a first OTN equipment 421A and a first OTN equipment 421C) in a first OTN pipe 420; similarly, the customer premises standby equipment 412 is connected to a second network side equipment 442 through a plurality of second OTN equipment (e.g., a second OTN equipment 431B and a second OTN equipment 431D) in a second OTN pipe 430. The first network side equipment 441 and the second network side equipment 442 may be operator edge equipment that are active and standby equipment to each other, so as to provide communication services for the customer premises equipment 410 through service aggregation through the first OTN pipe 420 (or, the second OTN pipe).

[0067] Among them, the user-side device 410 can be an optical network terminal (Optical Nerwork Terminal, ONT), an optical line terminal (Optical Line Terminal, OLT), any one of CPE and router. The above types of user-side devices 410 are only examples and can be set accordingly according to actual applications. Other unspecified types of user-side devices 410 are also within the scope of protection of this application and will not be repeated here.

[0068] The first OTN device 421A is connected to the second OTN device 431B in the second OTN pipe 430 in a one-to-one correspondence. For example, the first OTN device 421A and the second OTN device 431B are two devices in the same DNI-SNCP group.

[0069] The first OTN device 421C is connected to the second OTN device 431D in the second OTN pipe 430 in a one-to-one correspondence. For example, the first OTN device 421C and the second OTN device 431D are two devices in the same DNI-SNCP group.

[0070] The first OTN device 421C is connected to the first network side device 441 via a primary port (not shown in the figure), and the second OTN device 431D is connected to the second network side device 442 via a backup port (not shown in the figure), and the primary port and the backup port are ports in the same MC-Lag group.

[0071] The communication link connected to the OTN device in the first OTN pipe 420 can be detected based on the bidirectional forwarding detection method; when the main port in the MC-Lag group is detected to be abnormal, the first communication link (i.e., the link between the first OTN device 421C and the first network side device 441 connected through the main port) is determined to be a faulty link, and the fault area is determined based on the location of the faulty link. Further, the second communication link directly connected to the second network side device 442 in the second OTN pipe 430 (i.e., the link between the second OTN device 431D and the second network side device 442 connected through the backup port) is used as a backup link to ensure that the backup link can be used to replace the faulty first communication link to achieve normal transmission of service data.

[0072] For example, the first OTN device 421C and the first network side device 441 detect the first communication link by configuring BFD; when the first communication link is detected as a faulty link, the faulty area can be quickly located based on the faulty link, thereby improving the efficiency and accuracy of locating the faulty area.

[0073] It should be noted that there is a group mapping relationship between the MC-Lag group and the DNI-SNCP group. Through this group mapping relationship, the alarm information appearing on any port in the MC-Lag group can be quickly fed back to an OTN device in the DNI-SNCP group, so that the two devices in the DNI-SNCP group can interact with each other and determine the OTN device used to transmit service data, thereby ensuring that the service data in the optical transmission network can be transmitted normally.

[0074] For example, based on the group mapping relationship between the MC-Lag group and the DNI-SNCP group, an abnormality occurring in the main port or the backup port can be mapped to an OTN device in the DNI-SNCP group. The OTN device can promptly determine that a communication link connected to it has failed, or that a communication link corresponding to another OTN device in the DNI-SNCP group corresponding to the OTN device has failed, thereby improving the efficiency of fault locating.

[0075] In some embodiments, a Layer 2 Virtual Private Network (L2VPN) can also be generated based on the above-mentioned group mapping relationship, the first OTN pipe 420 and the second OTN pipe 430. The Layer 2 virtual private network is used to determine that the main pipe is the first OTN pipe 420, and the main pipe is used to transmit business data between the user side device 410 and the first network side device 441 (or the second network side device 442).

[0076] In some exemplary embodiments, L2VPN determines that the first OTN pipe 420 is a working path for carrying services (e.g., in the working path, the transmission direction of service data can be determined as: user-side main device 411->first OTN device 421A in the first OTN pipe 420->first OTN device 421C in the first OTN pipe 420->first network-side device 441), and then uses the second OTN pipe 430 as a protection path for the working path. In other words, the first OTN pipe 420 is used to normally transmit service data between the user-side device 410 and the network-side device (e.g., the first network-side device 441 or the second network-side device 442); and when it is determined that the first OTN pipe 420 fails, the fault area in the first OTN pipe is determined, and a backup area is determined based on the fault area in the first OTN pipe, and then the backup area is used to replace the fault area in the first OTN pipe to obtain a target channel, and the backup area is the area in the second OTN pipe 430; the target channel is used to transmit service data between the user-side device 410 and the first network-side device 441.

[0077] The following methods can be used to implement the transmission of business data:

[0078] First, the first OTN device 421C and the second OTN device 431D are configured as two devices in the same DNI-SNCP group; the first OTN device 421A and the second OTN device 421C are configured as two devices in the same DNI-SNCP group.

[0079] The node devices in the working path determined by the L2VPN include the first OTN device 421C and the first OTN device 421A;

[0080] The node devices in the protection path of the working path include the second OTN device 431B and the second OTN device 431D. An interconnection link exists between the first OTN device 421C and the second OTN device 431D, and an interconnection link also exists between the first OTN device 421A and the second OTN device 431B.

[0081] Secondly, the port between the first OTN device 421C and the first network side device 441 is set as the primary port, and the port between the second OTN device 431D and the second network side device 442 is set as the backup port, and the primary port and the backup port are set as ports in the same MC-Lag group.

[0082] Again, the first OTN pipe 420 is determined as a working path for carrying services. For example, in the working path, the transmission direction of service data can be determined as: user-side main device 411->first OTN device 421A in the first OTN pipe 420->first OTN device 421C in the first OTN pipe 420->first network-side device 441, and / or, first network-side device 441->first OTN device 421C->first OTN device 421A->user-side main device 411, and the above working path is used to transmit service data.

[0083] Furthermore, the fault area is determined by detecting each OTN device in the first OTN pipe 420 .

[0084] The fault area may include only the faulty link, or may include the faulty device, the upper link of the faulty device, and the lower link of the faulty device.

[0085] For example, Figure 5 and Figure 6 shows the processing method when the fault area only includes the faulty link, and Figure 7 to Figure 9 The processing method of the fault area including the faulty device, the upper link of the faulty device and the lower link of the faulty device is shown. The following is a description of the determination methods of different fault areas in conjunction with the accompanying drawings.

[0086] Figure 5 A schematic diagram of a structure in which a first OTN pipeline fails is shown in an embodiment of the present application. Figure 5 As shown, based on the bidirectional forwarding detection method, the communication link connected to the OTN device in the first OTN pipe 420 is detected; when the first OTN device 421C detects that the main port in the MC-Lag group generates alarm information, it can be determined that the fault area in the first OTN pipe 420 includes: the first communication link directly connected to the first network side device 441 (that is, the link between the first OTN device 421C and the first network side device 441 connected through the main port).

[0087] At this time, the target channel is determined according to the above-mentioned fault area, and the target channel includes a backup area for replacing the fault area. The backup area includes: the second communication link in the second OTN pipe 430 directly connected to the second network side device 442, and the link between the first OTN device 421C and the second OTN device 421D).

[0088] Furthermore, by switching the service data transmitted on the first OTN device 421C to the second OTN device 431D, and transmitting the service data to the second network side device 442 through the second OTN device 431D, the flow direction of the service data transmitted in the target channel can be determined as: first OTN device 421A->first OTN device 421C->second OTN device 431D->second network side device 442.

[0089] Figure 6 A schematic diagram of a structure in which a first OTN pipeline fails is shown in an embodiment of the present application. Figure 6 As shown, based on the bidirectional forwarding detection method, the communication link connected to the OTN device in the first OTN pipe 420 is detected; when the first OTN device 421A detects that there is an abnormality in the third communication link between it and the first OTN device 421C (for example, there is alarm information in the DNI-SNCP group corresponding to the first OTN device 421A, and / or there is alarm information in the DNI-SNCP group corresponding to the first OTN device 421C), it can be determined that the fault area in the first OTN pipe 420 includes the third communication link; at this time, it is determined that the backup area includes the area determined based on the backup link.

[0090] The backup link is a link determined based on the location of the mapping device. The mapping device includes a second OTN device 431B and a second OTN device 431D.

[0091] It should be noted that, since the first OTN device 421A and the second OTN device 431B are two devices in the same DNI-SNCP group, and the first OTN device 421C and the second OTN device 431D are two devices in the same DNI-SNCP group; therefore, the backup link includes: the fourth communication link between the second OTN device 431B and the second OTN device 431D, the link between the first OTN device 421A and the second OTN device 431B, and the link between the first OTN device 421C and the second OTN device 431D.

[0092] Furthermore, the above-mentioned backup link is used to replace the failed third communication link, and based on the above-mentioned backup link and backup device, a backup area is determined, and a target channel is determined based on the backup area and the area in the first OTN pipe 420 except the failed link; the flow direction of the service data transmitted in the target channel is: first OTN device 421A->second OTN device 431B->second OTN device 431D->first OTN device 421C->first network side device 441.

[0093] Figure 7 A structural schematic diagram of a first OTN pipeline failure provided by an embodiment of the present application is shown.

[0094] like Figure 7 As shown, the first OTN device 421A detects the link between it and the next-level OTN device of the first OTN device 421A (i.e., the first OTN device 421C) (or the first network-side device 441 detects the link between the first OTN device 421C in the first OTN pipe 420 directly connected to the first network-side device 441) to obtain a first detection result; at the same time, the second OTN device 431D also detects the link between it and the first OTN device 421C to obtain a second detection result; when it is determined that the first detection result is that there is a link abnormality, and the second detection result is also that there is a link abnormality, the first OTN device 421C is determined to be a faulty device. At this time, the fault area can be determined based on the position of the first OTN device 421C (i.e., the fault area includes the first OTN device 421A, the link between the first OTN device 421A and the first OTN device 421C, and the link between the first OTN device 421C and the first network-side device 441).

[0095] Correspondingly, it is determined that the backup area includes the backup device (i.e., the second OTN device 431D) and the backup link (i.e., the link between the second OTN device 431D and the second network side device 442, the link between the second OTN device 431D and the second OTN device 431B, and the link between the second OTN device 431B and the first OTN device 421A). At this time, the target channel includes the reserved area (e.g., the first OTN device 421A, and the link between the first OTN device 421A and the user side main device 411), the backup device, and the backup link.

[0096] The flow direction of the service data transmitted in the target channel is: first OTN device 421A->second OTN device 431B->second OTN device 431D->second network side device 442.

[0097] Figure 8A schematic diagram of a structure in which a first OTN pipeline fails is shown in an embodiment of the present application. Figure 8 As shown,

[0098] When it is detected that all OTN devices (such as the first OTN device 421A and the first OTN device 421C) in the first OTN pipe have device failures, it is determined that the first OTN device 421A and the first OTN device 421C are both faulty devices. At this time, the target channel is determined to be the second OTN pipe 430.

[0099] The flow direction of the service data transmitted in the target channel is: user-side standby device 412 -> second OTN device 431B -> second OTN device 431D -> second network-side device 442 .

[0100] Fig. 9 A schematic diagram of a structure in which a first OTN pipeline fails is shown in an embodiment of the present application. Fig. 9 As shown,

[0101] The first OTN device 421C detects the link between itself and the first OTN device 421A (or the user-side main device 411 detects the link between itself and the first OTN device 421A) to obtain a first detection result; at the same time, the second OTN device 431B also detects the link between itself and the first OTN device 421A to obtain a second detection result; when it is determined that the first detection result is that there is a link abnormality, and the second detection result is also that there is a link abnormality, the first OTN device 421A is determined to be a faulty device. At this time, the fault area can be determined based on the location of the first OTN device 421A.

[0102] Correspondingly, it is determined that the backup area includes the backup device (i.e., the second OTN device 431B) and the backup link (i.e., the link between the second OTN device 431B and the user-side backup device 412, the link between the second OTN device 431D and the second OTN device 431B, and the link between the second OTN device 431D and the first OTN device 421C). At this time, the target channel includes the reserved area (e.g., the first OTN device 421C, and the link between the first OTN device 421C and the first network-side device 441), the backup device, and the backup link.

[0103] The flow direction of the service data transmitted in the target channel is: user-side standby device 412 -> second OTN device 431B -> second OTN device 431D -> first OTN device 421C -> first network-side device 441 .

[0104] Through the above optical transmission network system, it is possible to achieve normal service data transmission even when a fault area occurs in the first OTN pipe 420, and to take into account segment protection of equipment failure and link failure, thereby improving the service level of service data.

[0105] It should be clear that the present application is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.

[0106] Fig.10 A block diagram showing the composition of a computing device provided in an embodiment of the present application is shown.

[0107] like Fig.10 As shown, the computing device 1000 includes an input device 1001, an input interface 1002, a central processing unit 1003, a memory 1004, an output interface 1005, and an output device 1006. The input interface 1002, the central processing unit 1003, the memory 1004, and the output interface 1005 are connected to each other via a bus 1007, and the input device 1001 and the output device 1006 are connected to the bus 1007 via the input interface 1002 and the output interface 1005, respectively, and are further connected to other components of the computing device 1000.

[0108] Specifically, the input device 1001 receives input information from the outside and transmits the input information to the central processing unit 1003 through the input interface 1002; the central processing unit 1003 processes the input information based on the computer executable instructions stored in the memory 1004 to generate output information, temporarily or permanently stores the output information in the memory 1004, and then transmits the output information to the output device 1006 through the output interface 1005; the output device 1006 outputs the output information to the outside of the computing device 1000 for user use.

[0109] In one embodiment, Fig.10 The computing device shown may be implemented as an electronic device, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the data transmission method described in the above embodiment.

[0110] In one embodiment, Fig.10 The computing device shown can be implemented as an optical transmission network system, which may include: a memory configured to store a program; a processor configured to run the program stored in the memory to execute the data transmission method described in the above embodiment.

[0111] The above is only an exemplary embodiment of the present application and is not intended to limit the scope of protection of the present application. In general, various embodiments of the present application can be implemented in hardware or special circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, a microprocessor or other computing device, although the present application is not limited thereto.

[0112] Embodiments of the present application may be implemented by a processor executing computer program instructions, such as in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.

[0113] The block diagram of any logic flow in the accompanying drawings of the present application can represent program steps, or can represent interconnected logic circuits, modules and functions, or can represent a combination of program steps and logic circuits, modules and functions. The computer program can be stored on a memory. The memory can have any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory device and system (digital versatile disc DVD or CD disc), etc. Computer-readable media may include non-transient storage media. The processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.

[0114] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present application. Therefore, the proper scope of the present application will be determined according to the claims.

Claims

1. A data transmission method, characterized in that: Applied to an optical transmission network OTN system, the OTN system includes a first OTN pipe connected between a user-side device and a first network-side device, and a second OTN pipe connected between the user-side device and a second network-side device, the second network-side device is a backup device for the first network-side device, the first OTN pipe includes a first OTN device, the second OTN pipe includes a second OTN device, and the first OTN device is connected to the second OTN device in a one-to-one correspondence; the method includes: In response to a fault occurring in the first OTN pipe, determining a fault area in the first OTN pipe; Determine a backup area according to the fault area in the first OTN pipe, the backup area being an area in the second OTN pipe; Using the backup area to replace the faulty area in the first OTN pipe to obtain a target channel; The target channel is used to transmit service data between the user-side device and the first network-side device.

2. The method according to claim 1, characterized in that The target channel further includes a reserved area, and the reserved area is an area in the first OTN pipe except the fault area; The fault area includes a faulty link, and the backup area includes: a link in the second OTN pipe corresponding to the faulty link.

3. The method according to claim 2, characterized in that The faulty link includes: a first communication link directly connecting the first OTN device and the first network-side device; The backup area includes: a second communication link in the second OTN pipe directly connected to the second network side device, and a link between the first OTN device and the second OTN device in the first communication link, and the second OTN device is a device connected to the first OTN device in the first communication link in a one-to-one correspondence.

4. The method according to claim 3, characterized in that The first communication link includes a primary port, the second communication link includes a backup port, and the primary port and the backup port are ports in the same inter-device link aggregation group; In response to a fault occurring in the first OTN pipe, determining a fault area in the first OTN pipe includes: Detecting the communication link connected to the OTN device in the first OTN pipe based on a bidirectional forwarding detection method; When it is detected that the primary port in the inter-device link aggregation group is abnormal, the first communication link is determined to be the faulty link, and the fault area is determined based on the location of the faulty link.

5. The method according to claim 2, characterized in that: The faulty link comprises: a communication link between two adjacent OTN devices in the first OTN pipe; The backup area includes an area determined based on a backup link, wherein the backup link is a link determined based on a location of a mapping device, and the mapping device includes two OTN devices in the second OTN pipe to which two adjacent OTN devices in the first OTN pipe are respectively connected in a one-to-one correspondence.

6. The method according to any one of claims 1 to 5, characterized in that The fault area includes: a faulty device, an upper link of the faulty device, and a lower link of the faulty device; The determining of the backup area according to the fault area in the first OTN pipe includes: Determine a backup device according to the location of the faulty device; wherein the backup device is an OTN device connected to the faulty device in a one-to-one correspondence in the second OTN pipeline; Determine a backup link according to the positions of the upper link of the faulty device and the lower link of the faulty device, the backup link including a link in the second OTN pipe corresponding to the upper link of the faulty device, a link between the upper OTN device of the faulty device and an OTN device connected thereto in a one-to-one correspondence in the second OTN pipe, a link between the lower OTN device of the faulty device and an OTN device connected thereto in a one-to-one correspondence in the second OTN pipe, and a link in the second OTN pipe corresponding to the lower link of the faulty device; The backup area is determined according to the backup device and the backup link.

7. The method according to claim 6, characterized in that There are multiple faulty devices. When it is determined that all OTN devices in the first OTN pipe are the faulty devices, the target channel is the second OTN pipe.

8. The method according to claim 6, characterized in that In response to a fault occurring in the first OTN pipe, determining a fault area in the first OTN pipe includes: Detecting a link between an OTN device in the first OTN pipe and an upper-level OTN device, and / or detecting a link between the OTN device and a lower-level OTN device, to obtain a first detection result; Detecting a link between an OTN device in the first OTN pipe and an OTN device connected thereto in a one-to-one correspondence in the second OTN pipe to obtain a second detection result; When it is determined that the first detection result is that a link abnormality exists, and the second detection result is also that a link abnormality exists, the OTN device is determined to be the faulty device, and the fault area is determined based on the location of the faulty device.

9. The method according to claim 4, characterized in that Before determining a fault area in the first OTN pipe in response to the first OTN pipe failing, the method further includes: Determine a group mapping relationship between the cross-device link aggregation group and the dual-node interconnected subnet connection protection DNI-SNCP group; wherein the DNI-SNCP group includes: the first OTN device and the second OTN device; A layer 2 virtual private network is generated according to the group mapping relationship, the first OTN pipe, the second OTN pipe, and the network side device. The layer 2 virtual private network is used to determine that the primary pipe is the first OTN pipe, and the primary pipe is used to transmit the service data.

10. An optical transmission network ONT system, characterized in that: include: User-side equipment, a first OTN pipe, a second OTN pipe, a first network-side equipment, and a second network-side equipment; The first OTN pipe is a pipe connecting the user-side device and the first network-side device, the second OTN pipe is a pipe connecting the user-side device and the second network-side device, and the second network-side device is a backup device for the first network-side device; the first OTN pipe includes at least one first OTN device, the second OTN pipe includes at least one second OTN device, and the first OTN device is connected to the second OTN device in a one-to-one correspondence; The ONT system is used to execute the data transmission method according to any one of claims 1 to 9.

11. An electronic device, characterized in that: include: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the data transmission method as claimed in any one of claims 1 to 9.

12. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 9 is implemented.