Data transmission protection
By introducing a control unit into the optical transmission network to detect the performance parameters of the optical transmission link in real time and automatically select a better link for data transmission, the problem of the inability to adapt to dynamic network environments in the existing technology is solved, the data transmission performance is improved and physical layer damage is avoided.
Patent Information
- Application Number
- PCT/IB2025/054417
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-14
- Filing Date
- 2025-04-29
- Publication Date
- 2025-11-20
AI Technical Summary
Existing optical transmission networks cannot adapt to dynamically changing network environments in a timely manner, leading to a decline in data transmission performance and potential physical layer damage.
Introducing an additional control unit into the optical transmission network allows for the automatic selection of the best-performing optical transmission link for data transmission by real-time monitoring of its transmission performance parameters, thus avoiding physical layer damage.
It enables timely adaptation in dynamic network environments, automatically selects better optical transmission links, improves data transmission performance, and avoids physical layer damage.
Smart Images

Figure IB2025054417_20112025_PF_FP_ABST
Abstract
Description
[0001] Data transmission protection
[0002]
[0001] The present disclosure relates to the field of optical communication technology, in particular to data transmission protection. BACKGROUND
[0003]
[0002] Due to the advantages of optical transport network (OTN) in bandwidth, transmission performance, etc., more and more network interconnection scenarios use optical transport network for data transmission, such as in data center scenarios, data transmission between servers in different data centers can be performed through optical transport network.
[0004]
[0003] In order to better protect the reliability of data transmission in optical transport network, some protection methods are proposed, including some protection methods for optical channel layer. Taking a subnetwork connection protection (SNCP) scheme as an example, under the SNCP scheme, a source communication device (such as a server in a data center) and a destination communication device (such as a server in another data center) are respectively connected with optical transponders, each optical transponder includes a protection chip and two line modules, which realizes protection of the client signals sent by the source communication device through a 1+1 protection scheme. The so-called 1+1 protection mode is a concurrent and selective mode: the optical transponder connected to the source communication device multiplexes and sends two corresponding line signals after multiplexing the multiple client signals sent by the source communication device through two line modules. The optical transponder connected to the destination communication device receives and demultiplexes the corresponding multiple client signals sent by the protection chip through two line modules, and selects the multiple client signals sent by one line module to send to the destination communication device. In this process, the two line modules in the optical transponder connected to the destination communication device can perform fault detection (usually referred to as on-off detection) on the respective corresponding optical transmission links, if it is detected that a certain optical transmission link has failed, and the other optical transmission link has not failed, then the protection chip selects the multiple client signals sent by the line module without link failure, i.e. switches to the line module without link failure.
[0005]
[0004] As can be seen from the above scheme, the optical transmission link is automatically switched only when the optical transmission link fails. When no link failure occurs, the switching of the optical transmission link can be controlled by a manual switching strategy, but the manual switching strategy cannot adapt to the dynamically changing network environment in a timely manner.
[0006]
[0005] The embodiments of the present disclosure provide a data transmission protection system, method, device, storage medium and program, to provide link protection in an optical transmission network, and automatically select an optical transmission link with better performance for data transmission in time to adapt to a dynamically changing network environment, and improve data transmission performance.
[0007]
[0006] In a first aspect, the embodiments of the present disclosure provide a data transmission protection system, comprising: a first optical transceiver and a second optical transceiver; the first optical transceiver and the second optical transceiver each comprising a protection chip, a first line module, a second line module and a control unit, the first line module and the second line module being connected with the control unit respectively; the first line module in the second optical transceiver being connected with the first line module in the first optical transceiver through a first optical transmission link, and the second line module in the second optical transceiver being connected with the second line module in the first optical transceiver through a second optical transmission link; during the process of transmitting data from the second optical transceiver to the first optical transceiver: the protection chip in the second optical transceiver is configured to receive a plurality of groups of customer signals sent by a source end communication device, and send the plurality of groups of customer signals to the first line module and the second line module in the second optical transceiver in parallel; the first line module and the second line module in the first optical transceiver are configured to, when it is determined that both the first optical transmission link and the second optical transmission link have not failed, detect transmission performance parameter values of the first optical transmission link and the second optical transmission link, and send the transmission performance parameter values to the control unit in the first optical transceiver; and send the plurality of groups of customer signals obtained respectively to the protection chip in the first optical transceiver; the control unit in the first optical transceiver is configured to determine whether to send a switching instruction to the protection chip in the first optical transceiver according to the transmission performance parameter values, the switching instruction indicating switching to a target line module in the first line module and the second line module of the first optical transceiver; and the protection chip in the first optical transceiver is configured to send a plurality of groups of customer signals received from the target line module in the first optical transceiver to a destination end communication device based on the switching instruction.
[0008]
[0007] In a second aspect, the embodiments of the present disclosure provide a data transmission protection method, applied to a first optical transceiver, the first optical transceiver comprising a protection chip, a first line module, a second line module and a control unit, the first line module and the second line module being connected with the control unit respectively; the method comprises: obtaining a plurality of groups of customer signals transmitted through a first optical transmission link corresponding to the first line module and a second optical transmission link corresponding to the second line module respectively; when it is determined through the first line module and the second line module that the first optical transmission link and the second optical transmission link have not failed, detecting transmission performance parameter values of the first optical transmission link and the second optical transmission link through the first line module and the second line module; obtaining the transmission performance parameter values through the control unit, and determining whether to send a switching instruction to the protection chip according to the transmission performance parameter values, the switching instruction indicating switching to a target line module in the first line module and the second line module; in response to the switching instruction, sending a plurality of groups of customer signals received from the target line module to a destination communication device through the protection chip.
[0009]
[0008] In a third aspect, the embodiments of the present disclosure provide an electronic device, comprising: a memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor can at least implement the data transmission protection method according to the second aspect.
[0010]
[0009] In a fourth aspect, the embodiments of the present disclosure provide a non-transitory machine readable storage medium, the non-transitory machine readable storage medium storing executable code, and when the executable code is executed by a processor of an electronic device, the processor can at least implement the data transmission protection method according to the second aspect.
[0011]
[0010] In a fifth aspect, the embodiments of the present disclosure provide a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor of an electronic device, the processor can at least implement the data transmission protection method according to the second aspect.
[0012]
[0011] The data transmission protection system provided by the embodiment of the present disclosure comprises a first optical transceiver and a second optical transceiver connected with a destination communication device and a source communication device, wherein the first optical transceiver and the second optical transceiver each comprise a protection chip, a first line module, a second line module and an additionally arranged control unit, and the first line module and the second line module are connected with the control unit respectively. In the process of data transmission, the first line module and the second line module in the first optical transceiver can detect the transmission performance parameter value of the first optical transmission link and the second optical transmission link respectively when it is determined that the first optical transmission link and the second optical transmission link are both not faulty, and the transmission performance parameter value is sent to the control unit in the first optical transceiver, and the control unit determines whether to send a switching instruction to the protection chip in the first optical transceiver according to the transmission performance parameter value of the two optical transmission links, thereby completing the automatic switching of the line module. That is, the embodiment of the present disclosure can realize the real-time detection of the transmission performance of the corresponding optical transmission link of the two independent line modules when the first optical transmission link and the second optical transmission link are both not faulty, and realize the automatic switching of the protection chip between the two line modules through the control of the control unit, so as to adapt to the dynamically changing network environment and select the better optical transmission link in time. Moreover, through the switching control of the control unit, the uninterrupted transmission of the customer signal can be realized, that is, the physical layer damage will not be caused. BRIEF DESCRIPTION OF DRAWINGS
[0013]
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present disclosure, and other drawings can also be obtained by those skilled in the art without creative effort.
[0014]
[0013] FIG. 1 is a structural schematic diagram of a data transmission protection system under a traditional SNCP scheme;
[0015]
[0014] FIG. 2 is a component schematic diagram of a data transmission protection system provided by an embodiment of the present disclosure;
[0015] FIG. 3 is a flowchart of a data transmission protection method provided by an embodiment of the present disclosure;
[0016]
[0016] FIG. 4 is a line module switching method flowchart provided by an embodiment of the present disclosure;
[0017]
[0017] FIG. 5 is an application example diagram of a data transmission protection method provided by an embodiment of the present disclosure;
[0018]
[0018] FIG. 6 is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019]
[0019] In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present disclosure.
[0020]
[0020] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the embodiments of the present disclosure are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of the related data need to comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for the user to choose authorization or refusal.
[0021]
[0021] Some embodiments of the present disclosure will be described in detail below with reference to the drawings. The embodiments described below and the features in the embodiments can be combined with each other without conflict between the embodiments. In addition, the sequence of steps in each method embodiment described below is only an example, not a strict limitation.
[0022]
[0022] First, some concepts involved in the embodiments of the present disclosure will be briefly described.
[0023]
[0023] SubNetwork Connection Protection (SNCP): a protection mechanism in an optical transmission network, used to provide protection and recovery for optical path connections. The SNCP can be applied to backbone networks, trunk networks, access networks, etc., and various network topologies such as tree, ring, and mesh, and its protection structure is in the form of "1+1", that is, each main working line is equipped with a standby working line.
[0024]
[0024] As shown in FIG. 1, in the conventional SNCP scheme, the data transmission protection system comprises a first optical transceiver 10 and a second optical transceiver 20. The first optical transceiver 10 and the second optical transceiver 20 each comprise a protection chip 30, a first line module 40 and a second line module 50. The first line module 40 in the second optical transceiver 20 is connected to the first line module 40 in the first optical transceiver 10 through a first optical transmission link, and the second line module 50 in the second optical transceiver 20 is connected to the second line module 50 in the first optical transceiver 10 through a second optical transmission link. Each line module comprises a customer-side port and a line-side port, and the port connected to the protection chip 30 is the customer-side port (i.e. the port close to the corresponding one-end communication device), and the port connected to the corresponding optical transmission link is the line-side port (not shown in FIG. 1).
[0025]
[0025] In order to facilitate understanding of the data transmission process from the second optical transceiver 20 to the first optical transceiver 10, the following will be specifically illustrated by taking FIG. 1 as an example.
[0026]
[0026] Assuming that the source-side communication device sends the four groups of customer signals C1-C4 to the protection chip 30 in the second optical transceiver 20 through four ports, the protection chip 30 in the second optical transceiver 20 sends the four groups of customer signals C1-C4 to the first line module 40 and the second line module 50 in the second optical transceiver 20 in parallel. After the first line module 40 and the second line module 50 of the second optical transceiver 20 receive the four groups of customer signals through the customer uplink ports for connecting with the protection chip 30, they respectively perform multiplexing processing (such as multiplexing processing of low-speed signals to high-speed signals, for example, multiplexing of four 100GE signals to one 400GE signal) on the four groups of customer signals, to obtain the first line signal corresponding to the first line module 40 and the second line signal corresponding to the second line module 50, and then send the generated first line signal and second line signal to the first line module 40 and the second line module 50 in the first optical transceiver 10 through the first optical transmission link and the second optical transmission link corresponding thereto. In actual applications, the above customer signals can be Ethernet, Synchronous Digital Hierarchy (SDH) and other types of digital signals. The above line signal can be an Optical Data Unit (ODU), and the above optical transmission link can be a Dense Wavelength Division Multiplexer (DWDM) optical transmission system.
[0027]
[0027] After receiving the first line signal and the second line signal, the first line module 40 and the second line module 50 in the first optical transceiver 10 perform demultiplexing processing on the first line signal and the second line signal respectively, to restore the four groups of customer signals C1-C4, and send the four groups of customer signals C1-C4 to the protection chip 30 in the first optical transceiver 10.
[0028]
[0028] In the first optical transceiver 10, the protection chip 30 selects four groups of customer signals sent by the first line module 40 and the second line module 50 in the first optical transceiver 10. Assuming that the protection chip 30 takes the first line module 40 as the main line and the second line module 50 as the backup line, it is assumed that the four groups of customer signals C1-C4 sent by the first line module 40 are selected by default, that is, the four groups of customer signals received from the first line module 40 are sent to the destination communication device. In this process, the first line module 40 and the second line module 50 will detect whether the corresponding optical transmission link fails in real time, and as long as there is no failure, the protection chip 30 will continue to select the first line module 40. It should be noted that in actual application, the four groups of customer signals C1-C4 can be independently selected, that is, the main line and the backup line of each group of customer signals can be selected respectively. In the embodiment of the present disclosure, for the convenience of description, it is assumed that the selection results of the main line and the backup line of the four groups of customer signals are consistent.
[0029]
[0029] If the first line module 40 detects that the first optical transmission link fails, it will send a signal indicating that the link fails to the protection chip 30, which is called a maintenance signal. Specifically, in the absence of link failure, the first line module 40 in the first optical transceiver 10 receives a line signal, and sends the demultiplexed customer signal to the protection chip 30, while in the presence of link failure, the first line module 40 receives a line signal with a failure identifier, and sends the maintenance signal instead of the original customer signal to the protection chip 30. Thus, the protection chip 30 receives the maintenance signal instead of the four groups of customer signals from the first line module 40, and determines that the first optical transmission link corresponding to the first line module 40 has failed. At this time, on the one hand, the protection chip 30 triggers the switching process, and on the other hand, it will continue to send the received maintenance signal to the destination communication device before the switching is completed. Through the switching process, the first line module 40 is switched to the second line module 50, that is, from the moment the switching is completed, the four groups of customer signals received from the second line module 50 are sent to the destination communication device, and the maintenance signal received from the first line module 40 is stopped. It can be seen that in the process of switching from one line module to another line module to "select" in the traditional SNCP scheme, the destination communication device will receive the "maintenance signal" and cause the transmission interruption of the customer signal, that is, the physical layer damage occurs.
[0030] "maintenance signal" and cause the transmission interruption of the customer signal, that is, the physical layer damage occurs.
[0031]
[0030] The above only takes the first line module 40 in the first optical transceiver 10 detects link failure, the second line module 50 does not detect link failure as an example, the processing process when only one line module detects link failure is explained, and if the first line module 40 detects that the first optical transmission link fails, and the second line module 50 also detects that the second optical transmission link fails, the protection chip 30 will maintain the previous selection result unchanged, assuming that the previous selection is the first line module 40, then it is still unchanged, and the line module switching will not be performed.
[0032]
[0031] The source communication device and the destination communication device can be communication devices in different data centers, including but not limited to servers, routers, switches, etc. In addition, the way to indicate link failure can also set a field indicating whether the link has failed in the line signal in addition to the above maintenance signal, so as to determine whether the link has failed according to the field.
[0033]
[0032] Based on the above data transmission process, it can be seen that the traditional SNCP scheme will have physical layer damage in actual application. Specifically, in the first optical transceiver 10, the first line module 40 will send a maintenance signal to the protection chip 30 after detecting that the first optical transmission link has a link failure. The protection chip 30 performs switching action after receiving the maintenance signal, but at the same time of performing the switching action, it will still send the maintenance signal to the destination communication device. Since switching takes time, during the time from the first line module 40 to the second line module 50, the protection chip 30 may have sent at least one frame of maintenance signal to the destination communication device, so at this time the destination communication device will receive at least one frame of maintenance signal, which interrupts the normal customer signal transmission, that is, causes physical layer damage.
[0034]
[0033] In addition, the traditional SNCP scheme only automatically switches the line when a link failure occurs. When there is no link failure, an additional manual switching strategy needs to be set to switch the optical transmission link, but the manual switching strategy cannot adapt to the dynamically changing network environment in time.
[0035]
[0034] In view of this, the embodiment of the present disclosure provides the following idea to solve the above-mentioned problem: the embodiment of the present disclosure still performs switching of the line module in the case that neither the first optical transmission link nor the second optical transmission link fails, so as to optimize the data transmission performance, and in this process, no maintenance signal is generated, thereby avoiding physical layer damage. In summary, in the case that neither the first optical transmission link nor the second optical transmission link fails, the embodiment of the present disclosure transmits the real-time detection result of the transmission performance parameter value of the respective corresponding optical transmission link from the first line module 40 and the second line module 50 in the first optical transceiver 10 to the control unit additionally arranged, and the control unit determines whether the switching of the line module is needed according to the set switching control strategy and in combination with the transmission performance parameter value. Under the premise that neither the first optical transmission link nor the second optical transmission link fails, the automatic switching of the line module is realized by the control unit based on the transmission performance parameter value of the two optical transmission links, which provides the 1+1 protection of the main and backup paths in the optical transmission network, can timely adapt to the dynamically changing network environment, automatically selects the link with better transmission performance for data transmission, and realizes the physical layer lossless switching in the process of selecting the link with better transmission performance.
[0036]
[0035] FIG. 2 is a structural schematic diagram of a data transmission protection system provided by the embodiment of the present disclosure, as shown in FIG. 2, the data transmission protection system comprises: a first optical transceiver 10 and a second optical transceiver 20. Wherein, the first optical transceiver 10 and the second optical transceiver 20 each comprise a protection chip 30, a first line module 40, a second line module 50 and a control unit 60, and the first line module 40 and the second line module 50 are connected with the control unit 60 through a control port. The first line module 40 in the second optical transceiver 20 is connected with the first line module 40 in the first optical transceiver 10 through a first optical transmission link, and the second line module 50 in the second optical transceiver 20 is connected with the second line module 50 in the first optical transceiver 10 through a second optical transmission link. In actual application, the first optical transmission link and the second optical transmission link each comprise a plurality of optical transmission devices, such as an amplifier, an optical fiber, a repeater, etc.
[0037]
[0036] In the process that the second optical transceiver 20 transmits data to the first optical transceiver 10:
[0038]
[0037] The protection chip 30 in the second optical transceiver 20 is used for receiving a plurality of groups of customer signals sent by a source end communication device, and transmitting the plurality of groups of customer signals to the first line module 40 and the second line module 50 in the second optical transceiver 20 in parallel;
[0039]
[0038] The first line module 40 and the second line module 50 in the first optical transceiver 10 are configured to detect transmission performance parameter values of the first optical transmission link and the second optical transmission link when it is determined that both the first optical transmission link and the second optical transmission link are not faulty, and send the transmission performance parameter values to the control unit 60 in the first optical transceiver 10; and send the obtained multiple groups of customer signals to the protection chip 30 in the first optical transceiver 10.
[0040]
[0039] The control unit 60 in the first optical transceiver 10 is configured to determine whether to send a switching instruction to the protection chip 30 in the first optical transceiver 10 according to the transmission performance parameter values, the switching instruction indicating switching to a target line module in the first line module 40 and the second line module 50 of the first optical transceiver 10.
[0041]
[0040] The protection chip 30 in the first optical transceiver 10 is configured to send the multiple groups of customer signals received from the target line module in the first optical transceiver 10 to the destination communication device based on the switching instruction.
[0042]
[0041] In actual application, the source communication device sends the multiple groups of customer signals to the second optical transceiver 20 through multiple ports, which are received by the protection chip 30 therein. One port corresponds to one group of customer signals, and the number of ports and customer signals is not limited herein, which can be 4 groups as shown in FIG. 2, or 6 groups, 8 groups, etc., which is not limited herein. The customer signal can be an Ethernet signal. One group of customer signals can include at least one customer signal.
[0043]
[0042] After receiving the multiple groups of customer signals, the protection chip 30 in the second optical transceiver 20 sends the multiple groups of customer signals to the first line module 40 and the second line module 50 of the second optical transceiver 20 in parallel. After receiving the multiple groups of customer signals through the customer-side ports, the first line module 40 and the second line module 50 of the second optical transceiver 20 perform multiplexing processing on the multiple groups of customer signals respectively, and send the first line signal generated by the first line module 40 and the second line signal generated by the second line module 50 to the first line module 40 and the second line module 50 in the first optical transceiver 10 through the respective corresponding first optical transmission link and second optical transmission link.
[0044]
[0043] The first line module 40 and the second line module 50 in the first optical transceiver 10 detect the transmission performance parameter values corresponding to the first optical transmission link and the second optical transmission link respectively when it is determined that both the first optical transmission link and the second optical transmission link are not faulty according to the first line signal and the second line signal, and send the two transmission performance parameters to the control unit 60 in the first optical transceiver 10, and meanwhile, send the multiple groups of client signals demultiplexed from the first line signal and the second line signal to the protection chip 30 in the first optical transceiver 10. The transmission performance parameter values include a transmission quality parameter value (such as a pre-forward error correction bit error rate, a signal-to-noise ratio, a Q parameter value, etc.) and a transmission delay parameter value.
[0045]
[0044] The detection of whether the optical transmission link is faulty is described above and will not be repeated here.
[0046]
[0045] In actual application, the first line signal and the second line signal have an overhead related to the transmission performance parameter values of the detected link, and the first line module 40 and the second line module 50 can detect the transmission quality parameter value and the transmission delay parameter value based on the overhead.
[0047]
[0046] In fact, the data sent by the source communication device is encapsulated into frames (commonly known as data packets in the network, and referred to as client signals, line signals and other communication signals in this document) when transmitted in the network. In addition to the data payload, a frame also has a lot of information for control, maintenance and management to ensure accurate transmission of the communication signal. These maintenance / management information is referred to as overhead.
[0048]
[0047] In the embodiments of the present disclosure, the first line signal and the second line signal are actually OTU signals, which include a pre-forward error correction bit error rate (PRE-FEC BER) overhead and an overhead for detecting link delay, etc. The pre-forward error correction bit error rate refers to the bit error rate before forward error correction (FEC).
[0049]
[0048] In addition, optionally, in actual application, the first line module 40 and the second line module 50 in the first optical transceiver 10 can periodically (such as every 1 second) detect the transmission performance parameter values of the respective corresponding optical transmission link and send them to the local control unit 60.
[0050]
[0049] The control unit 60 in the first optical transceiver 10 determines whether to send a switching instruction to the protection chip 30 in the first optical transceiver 10 to switch to the target line module in the first optical transceiver 10 according to the transmission performance parameter values corresponding to the first optical transmission link and the second optical transmission link respectively after receiving the transmission performance parameter values corresponding to the first optical transmission link and the second optical transmission link respectively.
[0051]
[0050] For example, it is assumed that the protection chip 30 in the first optical transceiver 10 currently selects the multiple groups of customer signals sent by the first line module 40 (i.e. the customer signals received from the first line module 40 are sent to the destination communication device), and after the control unit 60 in the first optical transceiver 10 receives the transmission performance parameter values corresponding to the first optical transmission link and the second optical transmission link respectively, it is determined according to the transmission performance parameter values that the transmission performance of the second optical transmission link corresponding to the second line module 50 is better than that of the first optical transmission link corresponding to the first line module 40. At this time, the control unit 60 in the first optical transceiver 10 can send a switching instruction to the protection chip 30 based on the set switching control strategy to switch to the second line module 50 in the first optical transceiver 10.
[0052]
[0051] It should be noted that, assuming that the protection chip 30 in the first optical transceiver 10 currently selects the multiple groups of customer signals sent by the first line module 40 (i.e. the multiple groups of customer signals received from the first line module 40 are sent to the destination communication device), if the control unit 60 in the first optical transceiver 10, after receiving the transmission performance parameter values corresponding to the first optical transmission link and the second optical transmission link respectively, determines not to send a switching instruction to the protection chip 30 in the first optical transceiver 10, then the protection chip 30 in the first optical transceiver 10 will continue to send the multiple groups of customer signals received from the first line module 40 to the destination communication device. And if the control unit 60 in the first optical transceiver 10, after receiving the transmission performance parameter values corresponding to the first optical transmission link and the second optical transmission link respectively, determines to send a switching instruction to the protection chip 30 in the first optical transceiver 10 according to the transmission performance parameter values, then based on the switching instruction, the protection chip 30 in the first optical transceiver 10 will send the customer signals received from the second line module 50 to the destination communication device, and each group of customer signals is independent of each other. Moreover, in the switching process, the multiple groups of customer signals received in the switching process will be sent to the destination communication device based on the fragmentation protection mechanism. For the fragmentation protection mechanism, it can be understood with reference to the related art, which will not be described here. The protection chip 30 in the first optical transceiver 10 can identify the beginning and end of each data frame as a customer signal (both the beginning and the end have a specific identifier), and in the process of switching from selecting the first line module 40 to selecting the second line module 50, after receiving a complete data frame sent by the first line module 40, it is switched to the second line module 50, and after switching to the second line module 50, it starts from the beginning of a complete data frame to send subsequent data frames to the destination communication device, so as to avoid the occurrence of fragmented frames in the switching process. Therefore, if some data frames are missed during the switching process based on the fragmentation protection mechanism, they will be retransmitted based on the "data frame retransmission mechanism" of the source and destination communication devices, which will not be described here.
[0053]
[0052] The above introduces that under the premise that neither the first optical transmission link nor the second optical transmission link fails, the transmission performance parameter value of the link can be detected in real time through the line modules corresponding to the two optical transmission links, and the transmission performance parameter value is compared by the control unit to give the switching signal of the protection chip. On the one hand, based on the real-time detection of the transmission performance parameter value of the optical transmission link, the more optimal optical transmission link can be selected to transmit the plurality of groups of customer signals, thereby improving the data transmission performance, and on the other hand, the switching instruction of the protection chip issued by the control unit will not interrupt the transmission of the customer signal received by the protection chip, thereby avoiding physical layer damage and improving customer experience.
[0054]
[0053] If the above two optical transmission links fail, the existing switching strategy is adopted for data transmission protection. Specifically, any one of the first line module 40 and the second line module 50 in the first optical transceiver 10 will replace the customer signal that needs to be sent to the protection chip 30 in the first optical transceiver 10 after the failure time with a preset maintenance signal when it is determined that the corresponding optical transmission link fails, wherein the any one line module is one of the first line module 40 and the second line module 50 in the first optical transceiver 10. The protection chip 30 in the first optical transceiver 10 sends the customer signal received from the other line module in the first optical transceiver 10 to the destination communication device based on the preset maintenance signal, wherein the other line module is the other one of the first line module 40 and the second line module 50 in the first optical transceiver 10, and the optical transmission link corresponding to the other line module is not failed.
[0055]
[0054] In specific implementation, for example, it is assumed that the first line module 40 in the first optical transceiver 10 determines that the first optical transmission link fails according to the first line signal, and the second line module 50 determines that the second optical transmission link does not fail according to the second line signal. At this time, the first line module 40 replaces the customer signal that needs to be sent to the protection chip 30 in the first optical transceiver 10 after the failure time with a preset maintenance signal. The protection chip 30 in the first optical transceiver 10 performs line module switching (switches from the first line module 40 to the second line module 50) based on the preset maintenance signal, and subsequently sends the corresponding group of customer signals received from the second line module 50 in the first optical transceiver 10 to the destination communication device. Moreover, the fragment protection mechanism can be used to avoid the occurrence of fragment frames during the switching process.
[0056]
[0055] If the first line module 40 and the second line module 50 respectively determine that the first optical transmission link and the second optical transmission link both fail according to the first line signal and the second line signal, no line module switching is performed.
[0056] A data transmission protection method provided by the embodiment of the present disclosure will be described in detail below. FIG. 3 is a flowchart of a data transmission protection method provided by the embodiment of the present disclosure. The method is applied to the first optical transceiver described above, and the first optical transceiver includes a protection chip, a first line module, a second line module and a control unit. The first line module and the second line module are connected with the control unit. It can be understood that the method is applied to the first optical transceiver to match the assumption that the second optical transceiver is connected with the source end communication device and the first optical transceiver is connected with the destination end communication device in the foregoing embodiment. In fact, any optical transceiver can execute the method. As shown in FIG. 3, the method includes the following steps.
[0057]
[0057] 301. Obtain a plurality of groups of customer signals respectively transmitted through a first optical transmission link corresponding to the first line module and a second optical transmission link corresponding to the second line module.
[0058]
[0058] 302. When it is determined through the first line module and the second line module that the first optical transmission link and the second optical transmission link both do not fail, detect transmission performance parameter values of the first optical transmission link and the second optical transmission link through the first line module and the second line module.
[0059]
[0059] 303. Obtain the transmission performance parameter values through the control unit, and determine whether to send a switching instruction to the protection chip according to the transmission performance parameter values. The switching instruction indicates switching to a target line module in the first line module and the second line module.
[0060]
[0060] 304. In response to the switching instruction, send a plurality of groups of customer signals received from the target line module to the destination end communication device through the protection chip.
[0061]
[0061] The method shown in FIG. 3 can execute the steps in the foregoing embodiment. For details of the execution process and technical effects, refer to the description in the foregoing embodiment, which will not be described here again.
[0062]
[0062] FIG. 4 is a flowchart of a line module switching method provided by the embodiment of the present disclosure. The execution subject of the method is the control unit in the first optical transceiver. As shown in FIG. 4, the method includes the following steps.
[0063]
[0063] 401、acquire the transmission quality parameter value and the transmission delay parameter value corresponding to the first optical pollination link and the second optical pollination link respectively.
[0064]
[0064] The pollination quality parameter value can be pre-error bit error rate, signal-to-noise ratio, Q parameter, etc.
[0065]
[0065] 402、if it is determined that the transmission quality parameter values corresponding to the first optical transmission link and the second optical transmission link are both worse than the preset transmission quality parameter threshold value, it is determined not to send a switching instruction to the protection chip in the first optical transceiver.
[0066]
[0066] The preset transmission quality parameter threshold value can also be referred to as a signal degradation (SD) threshold value.
[0067]
[0067] 403、if the transmission quality parameter value corresponding to the target optical transmission link in the first optical transmission link and the second optical transmission link is better than the preset transmission quality parameter threshold value, a switching instruction is sent to the protection chip in the first optical transceiver to instruct the protection chip to switch to the target line module in the first optical transceiver corresponding to the target optical transmission link.
[0068]
[0068] 404、if the transmission quality parameter values corresponding to the first optical transmission link and the second optical transmission link are both better than the preset transmission quality parameter threshold value, when it is determined that the difference between the transmission delay parameter value corresponding to the first optical transmission link and the transmission delay parameter value corresponding to the second optical transmission link is greater than a set threshold value, a switching instruction is sent to the protection chip in the first optical transceiver, and the switching instruction instructs switching to the target line module in the first optical transceiver corresponding to the optical transmission link with the lower transmission delay parameter value.
[0069]
[0069] The transmission quality parameter value includes pre-error bit error rate, and the preset transmission quality parameter threshold value includes a preset pre-error bit error rate threshold value. In actual application, the preset pre-error bit error rate threshold value is set to be lower than the error correction limit value of the forward error correction algorithm (FEC algorithm) currently used.
[0070]
[0070] For ease of understanding, the following is an example. For 1000 codewords transmitted, assume that the FEC algorithm can correct up to 20 error codewords, so the error correction limit is 20 codewords, and the preset pre-error bit error rate threshold can be set to 15 codewords, leaving a margin of 5 codewords. It should be noted that the error correction limit is not directly used as the preset pre-error bit error rate threshold because in such a transmission environment close to the error correction limit, if the optical transmission link has a slight network anomaly, it will exceed the error correction limit, resulting in failure to correct errors. If the error codewords cannot be corrected to be correct, the protection chip in the first optical transceiver will send incorrect customer signals to the destination communication device, and the same physical layer damage will occur.
[0071]
[0071] For steps 401-402, after obtaining the pre-error bit error rate corresponding to the first optical transmission link and the pre-error bit error rate corresponding to the second optical transmission link, the control unit in the first optical transceiver compares the pre-error bit error rates corresponding to the first optical transmission link and the second optical transmission link with the preset pre-error bit error rate threshold. If the pre-error bit error rates corresponding to the first optical transmission link and the second optical transmission link are both worse than the preset transmission quality parameter threshold, it indicates that the signal transmission quality of the first optical transmission link and the second optical transmission link is not good, and at this time, line module switching is not required, and no switching instruction is sent to the protection chip in the first optical transceiver.
[0072]
[0072] For step 403, for example, if the pre-error bit error rate corresponding to the first optical transmission link is better (e.g., less than) than the preset pre-error bit error rate threshold, and the pre-error bit error rate corresponding to the second optical transmission link is worse (e.g., greater than) than the preset pre-error bit error rate threshold, it indicates that the signal transmission quality of the first optical transmission link is good, while the signal transmission quality of the second optical transmission link is not good. At this time, a switching instruction is sent to the protection chip in the first optical transceiver to instruct the protection chip to switch to the first optical transmission link with good signal transmission quality, i.e., to the first line module in the first optical transceiver corresponding to the first optical transmission link.
[0073] For step 404, for example, if the pre-error bit error rates corresponding to the first optical transmission link and the second optical transmission link are both better (e.g., less than) than the preset pre-error bit error rate threshold, it indicates that the signal transmission quality of the first optical transmission link and the second optical transmission link is good. In order to further optimize data transmission, whether to send a switching instruction to the protection chip in the first optical transceiver can be determined according to the transmission delay parameter value corresponding to the first optical transmission link and the transmission delay parameter value corresponding to the second optical transmission link.
[0073]
[0074] If the difference between the transmission delay parameter value corresponding to the first optical transmission link and the transmission delay parameter value corresponding to the second optical transmission link is less than or equal to the set threshold value, it indicates that the transmission delay parameter values corresponding to the first optical transmission link and the second optical transmission link are not significantly different, and at this time, it is not necessary to perform switching of the line module.
[0074]
[0075] If the difference between the transmission delay parameter value (such as a delay of 2 ms) corresponding to the first optical transmission link and the transmission delay parameter value (such as a delay of 5 ms) corresponding to the second optical transmission link is greater than the set threshold value (such as 1 ms), it indicates that there is a significant gap between the transmission delay parameter values corresponding to the first optical transmission link and the second optical transmission link, and at this time, a switching instruction is sent to the protection chip in the first optical transceiver to switch to the first line module corresponding to the first optical transmission link in the first optical transceiver.
[0075]
[0076] In summary, under the premise that both optical transmission links are faulty, the switching control strategy set in this embodiment is to prioritize transmission quality and then consider transmission delay, that is, the priority of transmission quality is higher than that of transmission delay. By combining the transmission quality parameter value and the transmission delay parameter value corresponding to the first optical transmission link and the second optical transmission link, it can be automatically and accurately determined whether a switching instruction needs to be sent to the protection chip in the first optical transceiver to complete switching of the line module, that is, the present disclosure can timely adapt to a dynamically changing network environment. It should be understood that the routing length of the optical transmission link can dynamically change due to reasons such as re-routing, and the total length of the link after re-routing directly affects the delay of data transmission, and therefore, it is necessary to timely adapt to a dynamically changing network environment.
[0076]
[0077] In order to facilitate understanding of the switching control strategy of the present disclosure in the case of failure and non-failure of the optical transmission link, the specific execution steps of the protection chip and the control unit in the first optical transceiver are introduced below in conjunction with FIG. 5.
[0077]
[0078] In FIG. 5, it is assumed that the main optical transmission link is the first optical transmission link and the backup optical transmission link is the second optical transmission link.
[0078]
[0079] The protection chip specifically performs the following actions.
[0079]
[0080] It is determined whether the first optical transmission link and the second optical transmission link are faulty.
[0080]
[0081] If the first optical transmission link and the second optical transmission link are both faulty, the line module is not switched.
[0081]
[0082] If one of the first optical transmission link and the second optical transmission link fails, switching to the line module corresponding to the fault-free optical transmission link.
[0083] If neither of the first optical transmission link and the second optical transmission link fails, switching the line module based on the switching instruction of the control unit.
[0082]
[0084] The control unit specifically performs the following actions.
[0083]
[0085] Respectively acquiring the transmission quality parameter value and the transmission delay parameter value corresponding to the first optical transmission link and the second optical transmission link detected by the two line modules.
[0084]
[0086] Determining whether the transmission quality parameter values corresponding to the first optical transmission link and the second optical transmission link are both worse than the preset transmission quality parameter threshold value, and if so, not sending the switching instruction to the protection chip.
[0085]
[0087] If the transmission quality parameter value corresponding to the target optical transmission link of the first optical transmission link and the second optical transmission link is better than the preset transmission quality parameter threshold value, a switching instruction is sent to the protection chip to instruct the protection chip to switch to the target line module corresponding to the target optical transmission link in the optical transceiver.
[0086]
[0088] If the transmission quality parameter values corresponding to the first optical transmission link and the second optical transmission link are both better than the preset transmission quality parameter threshold value, determining whether the difference between the transmission delay parameter values corresponding to the first optical transmission link and the second optical transmission link is greater than a set threshold value, if less than or equal to the set threshold value, not sending the switching instruction to the protection chip; if greater than the set threshold value, sending the switching instruction to the protection chip to instruct the protection chip to switch to the target line module corresponding to the optical transmission link with the lower transmission delay parameter value in the first optical transmission link and the second optical transmission link.
[0087]
[0089] The method shown in FIG. 5 can perform the steps in the foregoing embodiments, and the detailed execution process and technical effects are described in the foregoing embodiments, which will not be repeated here.
[0088]
[0090] The electronic device provided by the embodiment of the present disclosure can include a processor 21, a memory 22, and a communication interface 23, as shown in FIG. 6. The memory 22 stores executable code, and when the executable code is executed by the processor 21, the processor 21 can at least implement the data transmission protection method provided in the foregoing embodiments. As an example, the electronic device can be an optical transceiver.
[0089]
[0091] In addition, the embodiment of the present disclosure provides a non-transitory machine readable storage medium, the non-transitory machine readable storage medium has executable code stored thereon, when the executable code is executed by a processor of an electronic device, the processor can at least implement the data transmission protection method provided in the foregoing embodiment.
[0090]
[0092] The embodiment of the present disclosure provides a computer program product, the computer program product comprises: a computer program, when the computer program is executed by a processor of an electronic device, the processor can at least implement the data transmission protection method provided in the foregoing embodiment.
[0091]
[0093] The device embodiments described above are only schematic, wherein the network elements described as separate components can or can not be physically separated. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment. Those skilled in the art can understand and implement without creative labor.
[0092]
[0094] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of the necessary general hardware platform, and of course can also be implemented by means of combination of hardware and software. Based on such understanding, the above technical solutions can be embodied in the form of computer program product, and the present disclosure can be embodied in the form of computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
[0093]
[0095] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present disclosure, and not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
CLAIM 1. A data transmission protection system, comprising: The first optical transceiver and the second optical transceiver; The first optical transceiver and the second optical transceiver each include a protection chip, a first line module, a second line module and a control unit, the first line module and the second line module are connected with the control unit respectively; the first line module in the second optical transceiver is connected with the first line module in the first optical transceiver through a first optical transmission link, and the second line module in the second optical transceiver is connected with the second line module in the first optical transceiver through a second optical transmission link; In the process that the second optical transceiver transmits data to the first optical transceiver: the protection chip in the second optical transceiver is configured to receive a plurality of groups of customer signals sent by a source-side communication device, and send the plurality of groups of customer signals to the first line module and the second line module in the second optical transceiver in parallel; The first line module and the second line module in the first optical transceiver are configured to, when it is determined that neither the first optical transmission link nor the second optical transmission link has a fault, detect transmission performance parameter values of the first optical transmission link and the second optical transmission link, and send the transmission performance parameter values to the control unit in the first optical transceiver; And send the plurality of groups of customer signals obtained respectively to the protection chip in the first optical transceiver; the control unit in the first optical transceiver is configured to determine whether to send a switching instruction to the protection chip in the first optical transceiver according to the transmission performance parameter values, the switching instruction indicating switching to a target line module in the first line module and the second line module of the first optical transceiver; The protection chip in the first optical transceiver is configured to, based on the switching instruction, send a plurality of groups of customer signals received from the target line module in the first optical transceiver to a destination-side communication device.
2. The system of claim 1, wherein, The first line module and the second line module in the second optical transceiver are configured to respectively perform multiplexing processing on the plurality of groups of customer signals, and send generated first line signals and second line signals to the first line module and the second line module in the first optical transceiver through the first optical transmission link and the second optical transmission link corresponding respectively; The first line module and the second line module in the first optical transceiver are configured to demultiplex a plurality of groups of customer signals from the first line signals and the second line signals corresponding respectively.
3. The system of claim 1, wherein, The transmission performance parameter values include transmission quality parameter values and transmission delay parameter values.
4. The system of claim 3, wherein, The control unit in the first optical transceiver is configured to, when it is determined that the transmission quality parameter value corresponding to the first optical transmission link and the transmission quality parameter value corresponding to the second optical transmission link are both worse than a preset transmission quality parameter threshold, determine not to send the switching instruction to the protection chip in the first optical transceiver.
5. The system of claim 3, wherein, The control unit in the first optical transceiver is configured to send a switching instruction to a protection chip in the first optical transceiver when it is determined that a transmission quality parameter value corresponding to a target optical transmission link is better than a preset transmission quality parameter threshold, the switching instruction indicating switching to a target line module in the first optical transceiver corresponding to the target optical transmission link, the target optical transmission link being one of the first optical transmission link and the second optical transmission link.
6. The system of claim 3, wherein, The control unit in the first optical transceiver is configured to determine whether to send a switching instruction to a protection chip in the first optical transceiver according to a transmission delay parameter value corresponding to the first optical transmission link and a transmission delay parameter value corresponding to the second optical transmission link when it is determined that the transmission quality parameter value corresponding to the first optical transmission link and the transmission quality parameter value corresponding to the second optical transmission link are both better than the preset transmission quality parameter threshold.
7. The system of claim 6, wherein, The control unit in the first optical transceiver is configured to send a switching instruction to a protection chip in the first optical transceiver when it is determined that a difference between the transmission delay parameter value corresponding to the first optical transmission link and the transmission delay parameter value corresponding to the second optical transmission link is greater than a set threshold, the switching instruction indicating switching to a target line module in the first optical transceiver corresponding to an optical transmission link with a lower transmission delay parameter value.
8. The system of claim 1, wherein, Any line module in the first optical transceiver is further configured to replace a plurality of groups of customer signals that need to be sent to a protection chip in the first optical transceiver after a failure time when it is determined that a corresponding optical transmission link has failed, the any line module being one of a first line module and a second line module in the first optical transceiver. The protection chip in the first optical transceiver is further configured to send a plurality of groups of customer signals received from another line module in the first optical transceiver to the destination communication device based on the preset maintenance signal, the another line module being another one of the first optical transceiver except the any line module, and the corresponding optical transmission link of the another line module being not failed.
9. The system of any one of claims 4-7, wherein, The transmission quality parameter value includes a pre-error correction bit error rate, and the preset transmission quality parameter threshold includes a preset pre-error correction bit error rate threshold, the preset pre-error correction bit error rate threshold being lower than an error correction limit value of a currently adopted forward error correction algorithm.
10. The system of any one of claims 1-8, wherein, The protection chip in the first optical transceiver is further configured to send a plurality of groups of customer signals received in a switching process to the destination communication device based on a fragment protection mechanism.
11. A data transmission protection method applied to a first optical transceiver, the first optical transceiver comprising a protection chip, a first line module, a second line module and a control unit, the first line module and the second line module being configured to send a plurality of groups of customer signals to the protection chip in the first optical transceiver, the control unit being configured to send a switching instruction to the protection chip in the first optical transceiver when it is determined that a transmission quality parameter value corresponding to a target optical transmission link is better than a preset transmission quality parameter threshold, the switching instruction indicating switching to a target line module in the first optical transceiver corresponding to the target optical transmission link, the target optical transmission link being one of the first optical transmission link and the second optical transmission link. 18 blocks are connected with the control unit respectively; the method comprises: acquiring a plurality of groups of customer signals respectively transmitted through the first optical transmission link corresponding to the first line module and the second optical transmission link corresponding to the second line module; when it is determined through the first line module and the second line module that the first optical transmission link and the second optical transmission link have not occurred faults, detecting the transmission performance parameter values of the first optical transmission link and the second optical transmission link through the first line module and the second line module; The control unit acquires the pollination performance parameter value, and determines whether to send a switching instruction to the protection chip according to the pollination performance parameter value, the switching instruction indicating switching to a target line module in the first line module and the second line module; In response to the switching instruction, the protection chip sends a plurality of groups of customer signals received from the target line module to a destination communication device.
12. An electronic device, comprising: The memory, the processor, and the communication interface; wherein the memory has executable code stored thereon, and when the executable code is executed by the processor, the processor performs the data transmission protection method of claim 11.
13. A non-transitory machine-readable storage medium, wherein, The non-transitory machine-readable storage medium has executable code stored thereon, and when the executable code is executed by the processor of the electronic device, the processor performs the data transmission protection method of claim 11.
14. A computer program product, comprising: The computer program, wherein when the computer program is executed by the processor of the electronic device, the processor performs the data transmission protection method of claim 11.
Citation Information
Patent Citations
System for protecting optical link of passive optical network, device thereof and method thereof
CN101877612B
Optical network protection method, optical link switching control device and optical link switching control system
CN102684810B
Method and device for optical-fiber circuit protecting
CN103107840A
A wavelength division multiplexing transmission system and its transmission method
CN110380809B
Light communication line protection device and system
CN208174685U