Method and device for flexible code configuration

Through inter-device communication, the bit error rate is calculated, and the NRZ or higher-order modulation format is adopted to solve the problem of inconsistent device capabilities in the flex-rate PON system, and the system flexibility and transmission rate are improved, the user experience is improved and the maintenance cost is reduced.

CN117118571BActive Publication Date: 2025-08-12FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311186562.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2025-08-12
Estimated Expiration
2043-09-12

AI Technical Summary

Technical Problem

The existing flex-rate PON system cannot achieve flexible code modulation based on the capabilities of OLT and ONU devices in the current network, resulting in a fixed transmission rate problem and cannot improve system bandwidth and user experience in the presence of ONU devices with different capabilities.

Method used

The ability is determined and the bit error rate is calculated through inter-device communication, and the NRZ or higher-order modulation format is adopted to add related modules to realize flexible code switching, including photoelectric/electrooptical processing modules, frame processing modules and PRBS modules. The bit error rate is detected using PRBS sequences and the appropriate code pattern for the device is determined based on preset thresholds.

Benefits of technology

It realizes improved system flexibility, facilitates management and maintenance, adjusts the modulation format according to equipment attributes, improves transmission rate and channel throughput, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117118571B_ABST
    Figure CN117118571B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for flexibly configuring code types, including: a first device and a second device communicating with each other, clarifying the capabilities of the devices and calculating the bit error rate of the bidirectional link in the system, wherein the capability of the device refers to whether the device has the capability of flexible code type modulation; if the device does not have the capability of flexible code type modulation, then the NRZ code type is directly used for communication; if the device has the capability of flexible code type modulation, then the next step is to determine the link bit error rate; the actual link bit error rate is compared with the preset threshold value to determine the appropriate code type that the device can provide at the maximum rate. In the present invention, the system can flexibly adjust the downlink channel modulation format according to the specific properties and working conditions of the devices in the optical network to increase the system communication transmission rate, increase the channel throughput, and provide users with a better user experience. The present invention also provides a corresponding device for flexibly configuring code types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of optical communication technology, and more particularly, relates to a method and device for flexibly configuring code types. Background Art

[0002] Network flexibility and intelligence are prominent features of the new technological revolution and a development trend in next-generation information technology. Currently, high speed and high bandwidth remain the driving forces of optical network development, and the demand for flexible and efficient services will continue to grow. In the field of optical communications, flexible-rate passive optical access network (flex-rate PON) technology combines PON (Passive Optical Network) with network flexibility, and is a hot topic of discussion within ITU-TG.sup.VHSP, FSAN, and academia.

[0003] Flex-rate PON has the characteristics of higher speed and more flexible network, and is the main technical direction for the development of next-generation PON networks. However, during the deployment of flex-rate PON, operators need to gradually update and upgrade related equipment such as OLT (Optical Line Terminal) and ONU (Optical Network Unit) in the PON network system to support high-order modulation formats such as PAM4 (Pulse Amplitude Modulation 4). Due to the following problems in actual deployment, Figure 1 The scenario shown is that the PON network contains some upgraded new devices that support PAM4, while some legacy ONUs that only support NRZ (Non-Return to Zero) remain. Flex-rate PON's backward compatibility dictates that NRZ modulation be used in both upstream and downstream channels to ensure proper operation of all devices. Consider a scenario where multiple ONUs exist in the same high-speed PON. The OLT supports both NRZ and PAMn modulation formats, with flexible switching between them. Some ONUs support both NRZ and PAMn modulation formats, with flexible switching between them, while others are legacy ONUs that only support NRZ modulation. If the NRZ-only ONUs are offline or inoperative, the system could adapt the line coding to a higher-order modulation format (such as PAM4) based on the device's capabilities to achieve higher transmission rates. However, existing systems cannot achieve this, failing to implement flexible modulation based on the capabilities of the OLT and ONUs in the existing network. Furthermore, the industry lacks mature technology for this. Summary of the Invention

[0004] In response to the above defects or improvement needs of the existing technology, the present invention proposes a flexible modulation solution that is adaptive according to actual deployment conditions, thereby achieving network flexibility and giving full play to the value of the deployed optical network base.

[0005] To achieve the above object, according to one aspect of the present invention, a method for flexibly configuring a code pattern is provided, comprising the following steps:

[0006] The first device and the second device communicate with each other to determine the capabilities of the devices and calculate the bit error rate of the bidirectional link in the system. The capabilities of the devices refer to whether the devices have the ability to perform flexible code modulation.

[0007] If the device does not have the code modulation capability, the NRZ code is used for communication. If the device has the flexible code modulation capability, the link bit error rate is determined.

[0008] The actual link bit error rate is compared with the preset threshold to determine the appropriate code type that can provide the maximum rate for the device.

[0009] In one embodiment of the present invention, calculating the bit error rate of a bidirectional link in a system specifically includes:

[0010] The first device sends a pseudo-random sequence PRBSn to the second device; if system link error detection is to be performed, the second device performs statistical analysis on the PRBS sequence and calculates the current system bit error rate BER.

[0011] In one embodiment of the present invention, clarifying the capabilities of a device specifically includes:

[0012] Correctly deploy related devices to ensure normal network operation. The default NRZ code type is used for the first communication between the first device and the second device.

[0013] The second device in the network in a normal operating state periodically sends status signal information and an agreed PRBSn sequence to the first device;

[0014] The first device periodically receives the information and records the information received in each period;

[0015] Whether the devices have the capability of flexible code type modulation is determined according to the device capability status information of each of the first device and the second device.

[0016] In one embodiment of the present invention, the status signal includes information on whether the device has the capability of flexible code pattern adjustment, supported modulation formats, and output power.

[0017] In one embodiment of the present invention, the PRBSn is PRBS7, PRBS9, PRBS11, PRBS15, or PRBS31, which can be determined according to system requirements.

[0018] In one embodiment of the present invention, the code modulation format includes NRZ, PAM2 m , BPSK, 2 p QAM, where m and p are positive integers.

[0019] In one embodiment of the present invention, the second device sends the adjusted code type information to the first device, so that the code types working at both ends remain consistent.

[0020] According to another aspect of the present invention, a device with flexible code configuration is provided, comprising an optoelectronic / electro-optical processing module, a frame processing module, a PRBS generation module, a PRBS detection module, and a code pattern judgment processing module, wherein:

[0021] The optoelectronic / electro-optical processing module is used for conversion between optical and electrical signals. The module has the ability to switch between different code types.

[0022] The frame processing module is used to send and receive frame information;

[0023] The PRBS generation module is used to generate the PRBSn pseudo-random sequence;

[0024] The PRBS detection module is used to detect the number of error bits and the total number of bits in the PRBS code stream and calculate the bit error rate of the system link;

[0025] The code type judgment processing module receives the bit error rate information from the PRBS detection module and the peer device information from the frame processing module, and processes and judges these information.

[0026] In one embodiment of the present invention, the frame processing module includes a frame processing sending module and a frame processing receiving module. The frame processing sending module is used for framing functions, and the frame processing receiving module is used for deframing and identifying the device capabilities sent by the other end and outputting the status information of the other end device to the code type judgment module.

[0027] In one embodiment of the present invention, the code type judgment processing module is also used to output the judgment result to the optoelectronic processing module and the frame processing and sending module respectively, informing the optoelectronic processing module at the local end of the code type that can work, and output it to the electro-optical processing module at the opposite end through the frame processing and sending module, informing the electro-optical processing module at the opposite end of the code type that should work.

[0028] In general, the above technical solutions conceived by the present invention have the following beneficial effects compared with the prior art:

[0029] (1) The flexibility of the system is greatly improved, making it easier for operators to manage and maintain it;

[0030] (2) The system can flexibly adjust the downlink channel modulation format according to the specific properties and working conditions of the devices in the optical network to increase the system communication transmission rate and channel throughput, thereby providing users with a better user experience;

[0031] (3) If the actual situation changes, the system can flexibly adjust the modulation mode and switch seamlessly, which does not affect the customer experience and reduces related maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 : Optical access network deployment diagram;

[0033] Figure 2 :Traditional optical access network system block diagram;

[0034] Figure 3 : Functional block diagram of flexible code type;

[0035] Figure 4 : Block diagram of specific functional modules that can be configured with flexible code types;

[0036] Figure 5 : Flowchart with flexible and configurable code types;

[0037] Figure 6 : System block diagram of an embodiment of the present invention;

[0038] Figure 7 :System block diagram of the embodiment from OLT device to ONU device;

[0039] Figure 8 : System block diagram of an embodiment from ONU device to OLT device. DETAILED DESCRIPTION

[0040] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.

[0041] Technical problems to be solved: Figure 2As shown, whether it's the mature GPON, XG(S)-PON, or the ongoing 50G-PON, if the relevant hardware has been deployed, the upstream and downstream transmission rates are fixed and unchangeable, and the specific values are already determined in the relevant standards. Assuming that during the deployment of a flex-rate PON network, the PON network system contains ONUs with different capabilities. If an ONU device that only supports NRZ modulation is offline or not working, the PON network system will use a higher-order modulation format (such as PAM4) for line coding to achieve a higher transmission rate based on the device's capabilities. However, the transmission rates of existing PON systems are fixed, and the specific values are already determined in the relevant standards. Furthermore, the system lacks relevant modules, making it impossible to flexibly configure the code type based on the capabilities of the OLT and ONU devices in the existing network, thus failing to achieve the aforementioned effect.

[0042] To address the above issues, the present invention proposes an optical access solution with flexible code type switching for optical access networks. Specifically, while maintaining the device hardware, it uses high-order modulation to increase bandwidth. Switching between NRZ and high-order modulation is achieved based on the status of the online ONU and the PRBS (Pseudo-Random Binary Sequence) bit error rate to address the above issues, maximizing system bandwidth and improving the customer experience. To achieve this, the following two issues must be addressed:

[0043] (1) Clarify the capabilities of the equipment and calculate the bit error rate of the bidirectional link in the system. Then, based on the equipment capabilities and the detected bit error rate, the system comprehensively determines which code type is suitable for the equipment at both ends of the system.

[0044] (2) Add relevant modules to the optical access system to implement the above-mentioned flex-rate PON function, which can flexibly adjust the modulation format according to the equipment capabilities and the link bit error rate.

[0045] The technical solution adopted to solve this technical problem is:

[0046] First, clarify the capabilities of the equipment and calculate the bit error rate of the two-way link in the system. Whether device A and device B have the ability of flexible code modulation. If the device does not have the ability of code modulation, the NRZ code will be used directly for communication in the future; if it has the ability of flexible code modulation, the next step is to determine the link bit error rate. The link bit error rate is calculated by device A sending the PRBSn pseudo-random sequence, and device B detects the PRBSn pseudo-random sequence to calculate the link bit error rate (BitError Rate, BER). The principle of the flexible code configuration of the present invention is to compare the BER value of the actual link with the preset thresholds BER0, BER1.....BERm to determine the appropriate code type that the device can provide at the maximum rate. Among them, BER0, BER1.....BERm are previously preset, and the preset bit error rate number m means that the device can support m types of code types. The size of the bit error rate BER0, BER1.....BERm can complete error correction according to the capability of the forward error correction technology, which can allow the system to work normally.

[0047] Secondly, add relevant modules to the system Figure 3The system primarily consists of an optoelectronic / electro-optical processing module, a frame processing module, a PRBS module, and a pattern determination processing module. The optoelectronic / electro-optical processing module connects to the frame processing module and PRBS module via data channels Data11 and Data21, and to the pattern determination processing module via CtrL11 and CtrL21. The frame processing module and PRBS module connect to the pattern determination processing module via CtrL12 and CtrL22, and the frame processing module and PRBS module connect to other system functional modules via Data12 and Data22 channels. The Data signal carries data information, while the CtrL signal carries control information. Among them, the optoelectronic / electro-optical processing module includes the electro-optical processing module at the transmitting end and the electro-optical processing module at the receiving end, which are used for conversion between optical signals and electrical signals. The module has the ability to switch between different code types; the frame processing module and the PRBS module mainly include the frame processing transmitting module, the frame processing receiving module, the PRBS generating module and the PRBS detecting module. The frame processing transmitting module is mainly used for the framing function, and the frame processing receiving module is mainly used for deframing, and identifies the device capability sent by the other end and outputs the status information of the other end device to the code type judgment module; the PRBS generating module mainly generates the PRBSn pseudo-random sequence, where n is determined by the customer according to the system requirements. Currently commonly used PRBS codes include PRBS7, PRBS9, PRBS11, PRBS15, PRBS31, etc. The PRBS detection module mainly detects the number of error bits and the total number of bits in the PRBS code stream, calculates the bit error rate of the system link and outputs it; the code pattern judgment processing module receives the bit error rate result from the PRBS detection module and the peer device information from the frame processing module, processes and judges this information and outputs the result to the corresponding optoelectronic / electro-optical processing module and frame processing and sending module, informing the optoelectronic processing module of the working code pattern, and outputs it to the electro-optical processing module of the peer end through the frame processing and sending module, informing the electro-optical processing module of the working code pattern.

[0048] The system composition of the present invention is specifically shown in Figure 4 , respectively, consists of device A and device B, and are connected through optical fibers and optical devices. The sending part of devices A and B mainly consists of a frame processing and sending module, a PRBS generation module, a selection module, and an electro-optical processing module. The receiving part mainly consists of an optoelectronic processing module, a frame processing and receiving module, a PRBS detection module, and a code type judgment processing module. Figure 4 The Data signal carries data information, and the CtrL signal carries control information. The selection module is mainly used to select data between the frame processing module channel and the PRBS channel. If the system link bit error rate test is performed, the PRBS channel is selected. For other normal operations, the frame processing module channel is selected for normal data service transmission.

[0049] If communication between device A and device B is normal, normal data Data12 is first processed by the frame processing and sending module T1 and output as Data13 to the selection module. The selection module selects the data channel for Data13 and then outputs Data13 to the electro-optical processing module. After passing through the long fiber, the optoelectronic processing module of device B completes the optoelectronic conversion and splits the data Data21 into two. One part is sent to the frame processing and receiving module R1, which deframes the data and outputs Data22, completing normal signal transmission.

[0050] If PRBS detection is to be performed from device A to device B, the entire negotiation process is as follows: the PRBS generation module T1 of device A generates the PRBS sequence Data14, the selection module selects the Data14 data channel, Data14 is output to the electro-optical processing module, and then after passing through the long fiber, the optoelectronic processing module of device B completes the optoelectronic conversion and splits the data Data21 into two, one part of which is sent to the PRBS detection module R1, which outputs the control signal CtrL21-2 to the code type judgment processing module 2 after processing. After judgment by the module, the judgment result CtrL21 is output to the optoelectronic processing module of device B. Module, informs the code type that the optoelectronic processing module of device B should work on; at the same time, it outputs Result2 to the frame processing generation module T2 of device B for processing, and then forms Data24. After passing through the selection module, Data24 is output to the optoelectronic processing module of device A through the long fiber. Data15 is divided into two, one of which is output to the frame processing receiving module R2. The frame processing receiving module R2 analyzes the code type information of the receiving end of device B and outputs CtrL1-1 to the code type judgment module 1. After analysis and judgment by the code type judgment module 1, it outputs CtrL12 to the electro-optical processing module of device A, informing the optoelectronic processing module of the code type that should work.

[0051] The method steps for the flexible configuration of the system of the present invention are shown in Figure 5 , as follows:

[0052] (1) Correctly deploy relevant devices to ensure that the network can work properly. The default NRZ code type is used for the first communication between device A and device B.

[0053] (2) Device B in normal operation in the network periodically sends status signal information and the agreed PRBSn sequence to device A. This status signal information includes information such as whether the device has the ability to flexibly adjust the code pattern, the supported modulation format, and the output power;

[0054] (3) Device A periodically receives the information in step (2) and records the information received in each cycle;

[0055] (4) The system determines whether the devices have the ability of flexible code pattern modulation according to the device capability status information of Device A and Device B respectively. If neither Device A nor Device B in the system has this ability, NRZ code pattern communication is defaulted.

[0056] (5) If both Device A and Device B have the ability of flexible code pattern modulation, then the next operation is carried out. In the direction from Device A to Device B:

[0057] ① First, the PRBS generator of Device A sends the pseudo-random sequence PRBSn, where PRBSn can be PRBS7, PRBS9, PRBS11, PRBS15, PRBS31, etc., and the customer can determine it according to the requirements of the system.

[0058] ② The selector module in Device A selects the PRBS data channel, sends the PRBSn pseudo-random code sequence to the electro-optical processing module, and after electro-optical conversion, it is sent to the opto-electronic processing module of Device B through a long fiber.

[0059] ③ The data electrical signal output by the opto-electronic processing module of Device B is directly divided into two electrical signals and sent to the PRBS detection module and the frame processing receiving module respectively.

[0060] ④ The PRBS detection module of Device B statistically analyzes the PRBS sequence and calculates the current system bit error rate BER.

[0061] ⑤ The code pattern determination module of Device B compares and judges the BER with the pre-set bit error rate comparison table. For example, if there are two bit error rates BER0 and BER1 in the bit error rate comparison table, and BER1 < BER0, which respectively correspond to two modulation codes NRZ and PRM4. If the bit error rate BER detected by PRBS is lower than (better than) BER1, that is, BER < BER1, which is sufficient to support high-order modulation (such as PAM4 modulation), then the modulation format of the opto-electronic processing module of Device B is changed to high-order modulation (such as PAM4); if BER1 < BER < BER0, then the channel modulation format at the receiving end of Device B is NRZ. Among them, BER0 and BER1 can be determined according to the error correction ability of FEC in the system; the code pattern modulation format is determined by the capabilities of Device A and Device B, and the code pattern modulation format includes but is not limited to NRZ (i.e., PAM2), PAM2 m , BPSK (i.e., 2QAM), 2 p QAM, etc., where m and p are positive integers. Taking PAM modulation as an example, the specific process of comparison and judgment is as follows:

[0062] · If BER1 < BER < BER0, then the channel modulation format at the receiving end of Device B is NRZ (i.e., PAM2 1 )

[0063] · If BER2 < BER < BER1, the modulation format at the receiving end of Device B is changed to PAM4 (i.e., PAM2 2 );

[0064] · If BER3 < BER < BER2, the modulation format at the receiving end of Device B is changed to PAM8 (i.e., PAM2 3 );

[0065] · If BERm < BER < BERm - 1, the modulation format at the receiving end of Device B is changed to PAM2 m ;

[0066] · And so on...

[0067] ⑥ The result of the last judgment in the previous step is output to the optoelectronic processing module of the local Device B. At the same time, this information is output to the frame processing and sending module of Device B, and this module notifies the electro - optical processing module of Device A through optical fibers and optical devices, so that the line codes of both ends are kept consistent.

[0068] Direction from Device B to Device A: The method steps of flexible modulation are the same as those from Device A to Device B. So it will not be elaborated here.

[0069] The following combines a specific embodiment to illustrate the method of the present invention. Taking the downstream channel of an optical system with a line rate of 50 Gb / s as an example to illustrate the implementation scheme of the present invention, as shown on the right Figure 6 所示,由OLT设备、长纤、光功率分配器(SP:Splitter)和ONU设备组成。其中OLT设备支持NRZ和PAM4码型及相互间的灵活切换能力;一部分ONU设备支持NRZ和PAM4码型及相互间的灵活切换能力,另一部分ONU仅支持NRZ调制能力。根据系统FEC的能力,假设50Gb / s的NRZ码型时误码率BER0设置为1×10 -2 ,25GB的PAM4码型时误码率BER1设置为2×10 -4 . OLT和ONU间发送和接收的PRBS序列为PRBS31。

[0070] The steps to implement flexible configuration of line codes are as follows:

[0071] (1) Correctly deploy relevant devices to ensure the normal operation of the network. The default line code between the OLT device and each ONU device is NRZ during the first communication;

[0072] (2) The ONU devices in the network in a normal operating state periodically send status signal information to the OLT device, and this status signal information includes the line code of the device's operation;

[0073] (3) The OLT device periodically receives the information in step (2) and records the information received in each cycle;

[0074] (4) Subsequently, the OLT collects and records the status information sent by all ONUs and determines whether the device has the ability to use multiple code types. If neither the OLT nor the ONU in the system has this capability, the NRZ code type is used by default.

[0075] (5) If the OLT, ONU1, and ONU2 devices all have the capability of flexible code modulation, then in the direction from the OLT to the ONU, see Figure 7 , OLT sends information to ONU devices according to the different IDs of ONU1 and ONU2 respectively:

[0076] ① First, the OLT device PRBS generator sends a pseudo-random sequence PRBSn, where PRBSn can be PRBS7, PRBS9, PRBS11, PRBS15, PRBS31, etc. The customer can determine it based on system requirements. This embodiment uses PRBS31.

[0077] ②The selector module in the OLT device selects the PRBS data channel and sends the PRBS31 pseudo-random code sequence to the electro-optical processing module. After electro-optical conversion, it is sent to the optoelectronic processing module of the ONU device via long fiber.

[0078] ③After the optical-electrical conversion, the output data of the ONU equipment optical-electrical processing module is directly divided into two paths to the PRBS detection module and the frame processing and receiving module respectively;

[0079] ④ If the system link error detection is to be performed now, the PRBS detection module in the ONU device performs statistical analysis on the received PRBS31 sequence and calculates the current system bit error rate BER = 1×10 -5 ;

[0080] ⑤ The code type determination module in the ONU equipment is BER=1×10 -5 Compare and judge with the original set bit error rate comparison table. For example, if the bit error rate comparison table has BER0=1×10 -2 BER1=2×10 -4 The two bit error rates correspond to two modulation codes, NRZ and PRM4. According to the judgment rules:

[0081] If the bit error rate (BER) detected by PRBS is lower than or better than BER1, that is, BER < 2×10 -4 , which is sufficient to support PAM4 modulation, the modulation format of the optoelectronic processing module of the ONU equipment is changed to four-level modulation PAM4;

[0082] · If BER1 < BER < BER0, that is, 2×10 -4 < BER < 1×10 -2 , then the channel modulation format of the receiving end of the ONU device is NRZ.

[0083] Among them, BER0 and BER1 are values determined according to the error correction ability of FEC in the system; the line code modulation formats NRZ and PAM4 are determined by the capabilities of the OLT device and the ONU device itself. In this embodiment, BER is 1×10 -5 , which meets BER < 2×10 -4 That is, 1×10 -5 < 2×10 -4 . Then, it can be determined that the modulation format of the receiving end of the ONU device is changed to PAM4 by the OLT;

[0084] ⑥ The result CtrL22 judged in the previous step is output to the optical and electrical processing module of the local ONU device, so that the ONU device operates in the PAM4 line code. At the same time, this information ctrl21 is output to the frame processing and sending module of the ONU device, and this module notifies the electro-optical processing module of the OLT device through the optical power splitter and optical fiber, so that the line codes of both ends are consistent. If the system environment or link conditions change later, then both the OLT and ONU will still switch to the modulation format applicable to the current conditions according to the bit error rate of the link to achieve flexible line code changes.

[0085] In the direction from the ONU device to the OLT device, see Figure 8 : The method steps of flexible modulation are the same as those in the direction from the OLT device to the ONU device. Details are not repeated. It should be noted that ONUs send information to the OLT in their own time slots and cannot affect the normal operation of other ONUs.

[0086] The above method is also applicable to flexible configuration in optical communication networks such as data centers. The method of its flexible configuration is not repeated.

[0087] Those skilled in the art can easily understand that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for flexibly configuring code types, characterized in that: The steps include: The first device and the second device communicate with each other to determine the capabilities of the devices and calculate the bit error rate (BER) of a bidirectional link in the system. The capabilities of the devices refer to whether the devices have the ability to perform flexible pattern modulation. Calculating the bit error rate of the bidirectional link in the system specifically includes: the first device sends a pseudo-random sequence (PRBSn) to the second device; if system link bit error detection is required, the second device performs statistical analysis on the PRBS sequence and calculates the current system bit error rate (BER). If the device does not have the capability of flexible code modulation, the NRZ code is used for communication. If the device has the capability of flexible code modulation, the link bit error rate is determined in the next step. The actual link bit error rate is compared with the preset threshold to determine the appropriate code type that can provide the maximum rate for the device.

2. The method for flexible code configuration according to claim 1, wherein: Identify the capabilities of the device, including: Correctly deploy related devices to ensure normal network operation. The default NRZ code type is used for the first communication between the first device and the second device. The second device in the network in a normal operating state periodically sends status signal information and an agreed PRBSn sequence to the first device; The first device periodically receives the information and records the information received in each period; Whether the devices have the capability of flexible code type modulation is determined according to the device capability status information of each of the first device and the second device.

3. The method for flexibly configuring code patterns according to claim 2, wherein: The status signal includes information on whether the device has the capability of flexible code type adjustment, supported modulation formats, and output power.

4. The method for flexible code configuration according to claim 1, wherein: The PRBSn is PRBS7, PRBS9, PRBS11, PRBS15, or PRBS31, which can be determined according to system requirements.

5. The method for flexibly configuring code patterns according to claim 1, wherein: Code modulation formats include NRZ, PAM2 m , BPSK, 2 p QAM, where m and p are positive integers.

6. The method for flexible code configuration according to claim 1, wherein: The second device sends the adjusted code type information to the first device, so that the code types working at both ends remain consistent.

7. A device with flexibly configurable code type, characterized in that: It includes photoelectric / electro-optical processing module, frame processing module, PRBS generation module, PRBS detection module, and pattern judgment processing module, among which: The optoelectronic / electro-optical processing module is used for conversion between optical and electrical signals. The module has the ability to switch between different code types. The frame processing module is used to send and receive frame information; The PRBS generation module is used to generate the PRBSn pseudo-random sequence; The PRBS detection module is used to detect the number of error bits and the total number of bits in the PRBS code stream and calculate the bit error rate of the system link; The code pattern judgment processing module receives the bit error rate information from the PRBS detection module and the peer device information from the frame processing module, and processes and judges these information; A first device and a second device including an apparatus capable of flexibly configuring the code pattern communicate with each other to clarify the capabilities of the devices and calculate the bit error rate of a bidirectional link in the system. The capability of the device refers to whether the device has the capability of flexible code pattern modulation; if the device does not have the capability of flexible code pattern modulation, the NRZ code pattern is directly used for subsequent communication; if the device has the capability of flexible code pattern modulation, the next step is to determine the link bit error rate; the actual link bit error rate is compared with a preset threshold to determine the appropriate code pattern that the device can provide at the maximum rate.

8. The device with flexibly configurable code pattern according to claim 7, wherein: The frame processing module includes a frame processing sending module and a frame processing receiving module. The frame processing sending module is used for framing function, and the frame processing receiving module is used for deframing and identifying the device capability sent by the other end and outputting the status information of the other end device to the code type judgment module.

9. The device with flexibly configurable code pattern according to claim 8, characterized in that: The code type judgment processing module is also used to output the judgment result to the optoelectronic processing module and the frame processing and sending module respectively, informing the optoelectronic processing module at the local end of the code type that can work, and output it to the electro-optical processing module at the opposite end through the frame processing and sending module, informing the electro-optical processing module at the opposite end of the code type that should work.

Citation Information

Patent Citations

  • Communication method, device and system for two-way data transmission

    CN113347129A

  • Method and device for realizing flexible rate

    CN116260522A