DISPERSION COMPENSATION METHOD AND APPARATUS, AND STORAGE MEDIUM
20210175969 · 2021-06-10
Inventors
Cpc classification
H04B10/2507
ELECTRICITY
H04B10/25137
ELECTRICITY
International classification
H04B10/556
ELECTRICITY
Abstract
This application provides a dispersion compensation method, an apparatus, and a storage medium. The method includes: obtaining a subcarrier allocation result, where the subcarrier allocation result includes subcarriers allocated to at least two receive ends based on signal-to-noise ratio results of signals transmitted between the transmit end and at least two receive ends; compensating, based on a correspondence between a communication distance and dispersion compensation value, a subcarrier allocated to each receive end for a dispersion compensation value corresponding to a first communication distance and, to obtain a compensated signal; adding a cyclic prefix CP to the compensated signal; compensating a frequency-domain subcarrier corresponding to the signal to which the CP has been added, for the dispersion compensation value corresponding to a second communication distance. This application effectively alleviate a fading phenomenon caused by fiber dispersion, and help improve performance of an optical communications system.
Claims
1. A dispersion compensation method, wherein the method is applied to a transmit end, the transmit end communicates with at least two receive ends, communication distances between the transmit end and the at least two receive ends are different, the communication distance between the transmit end and each receive end comprises a first communication distance and a second communication distance, and the method comprises: obtaining, by the transmit end, a subcarrier allocation result, wherein the subcarrier allocation result comprises subcarriers allocated to the at least two receive ends based on signal-to-noise ratio results of signals transmitted between the transmit end and the at least two receive ends; compensating, by the transmit end based on a correspondence between a communication distance and a dispersion compensation value, a subcarrier allocated to each receive end for a dispersion compensation value corresponding to the first communication distance, to obtain a compensated signal; adding, by the transmit end, a cyclic prefix (CP) to the compensated signal; and compensating, by the transmit end, a frequency-domain subcarrier corresponding to the signal to which the CP has been added, for a dispersion compensation value corresponding to the second communication distance.
2. The method according to claim 1, wherein the second communication distance is a smallest value in distances between the transmit end and the receive ends.
3. The method according to claim 1, wherein the compensating, by the transmit end based on a correspondence between a communication distance and a dispersion compensation value, a subcarrier allocated to each receive end for a dispersion compensation value corresponding to the first communication distance comprises: determining, by the transmit end based on the correspondence between a communication distance and a dispersion compensation value, the dispersion compensation value corresponding to the first communication distance; and compensating, by the transmit end in frequency domain, the subcarrier allocated to each receive end for the dispersion compensation value corresponding to the first communication distance.
4. The method according to claim 1, wherein the compensated signal is a frequency-domain signal; the adding, by the transmit end, a cyclic prefix CP to the compensated signal comprises: performing, by the transmit end, inverse Fourier transform on the frequency-domain signal, to obtain a time-domain signal; and adding, by the transmit end, the CP to the time-domain signal.
5. The method according to claim 1, wherein the compensating, by the transmit end, a frequency-domain subcarrier corresponding to the signal to which the CP has been added, for a dispersion compensation value corresponding to the second communication distance comprises: performing, by the transmit end, Fourier transform on the signal to which the CP has been added, to obtain a frequency-domain signal; and compensating, by the transmit end in frequency domain, the frequency-domain subcarrier corresponding to the frequency-domain signal for the dispersion compensation value corresponding to the second communication distance.
6. A chromatic dispersion compensation apparatus, comprising: one or more processors, and a storage medium configure to store program instructions; wherein, when executed by the one or more processors, the instructions cause the device to: obtain a subcarrier allocation result, wherein the subcarrier allocation result comprises subcarriers allocated to at least two receive ends based on signal-to-noise ratio results of signals transmitted between a transmit end and the at least two receive ends; compensate, based on a correspondence between a communication distance and a dispersion compensation value, a subcarrier allocated to each receive end for a dispersion compensation value corresponding to a first communication distance, to obtain a compensated signal; and add a cyclic prefix CP to the compensated signal, compensate, a frequency-domain subcarrier corresponding to the signal to which the CP has been added, for a dispersion compensation value corresponding to a second communication distance.
7. The apparatus according to claim 6, wherein the second communication distance is a smallest value in distances between the transmit end and the receive ends.
8. The apparatus according to claim 6, wherein when executed by the one or more processors, the instructions further cause the device to: determine, based on the correspondence between a communication distance and a dispersion compensation value, the dispersion compensation value corresponding to the first communication distance; and compensate, in frequency domain, the subcarrier allocated to each receive end for the dispersion compensation value corresponding to the first communication distance.
9. The apparatus according to claim 6, wherein the compensated signal is a frequency-domain signal; when executed by the one or more processors, the instructions further cause the device to: perform inverse Fourier transform on the frequency-domain signal, to obtain a time-domain signal; and add the CP to the time-domain signal.
10. The apparatus according to claim 6, wherein when executed by the one or more processors, the instructions further cause the device to: perform Fourier transform on the signal to which the CP has been added, to obtain a frequency-domain signal; and compensate, in frequency domain, the subcarrier corresponding to the frequency-domain signal for the dispersion compensation value corresponding to the second communication distance.
11. A transmit end, comprising: a memory and a processor, wherein the memory is configured to store a computer program, and the computer program is run on the processor, to enable the transmit end to implement the method of claim 1.
12. Anon-transitory computer-readable storage medium having a program recorded thereon; wherein the program makes the computer execute the method of claim 1.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
DESCRIPTION OF EMBODIMENTS
[0076] In the following, some terms in this application are described, to help a person skilled in the art have a better understanding.
[0077] 1. A signal-to-noise ratio (SNR for short) is a parameter that describes a ratio relationship between an effective component and a noise component in a signal.
[0078] 2. Conjugate signals refer to two signals having a same modulus value but opposite phases.
[0079] 3. A system requirement refers to a performance requirement preset by a system for a receive end. The performance requirement includes a transmission capacity, a signal-to-noise ratio, a transmission capacity range, a signal-to-noise ratio range, and the like. For example, the preset transmission capacity is 28 Gb/s. When an actual transmission capacity of a receive end is greater than or equal to 28 Gb/s, the receive end meets the system requirement; or otherwise, the receive end does not meet the system requirement. Alternatively, the preset signal-to-noise ratio is 13 dB. When a signal-to-noise ratio of a signal received by a receive end is greater than or equal to 13 dB, the receive end meets the system requirement; or otherwise, the receive end does not meet the system requirement. Alternatively, the preset transmission capacity range is [2, 4] Gb/s. When a difference between transmission capacities of any two receive ends is within the range of [2, 4] Gb/s, the two receive ends meet the system requirement; or otherwise, the two receive ends do not meet the system requirement. Alternatively, the preset signal-to-noise ratio range is [0, 1] dB. When a difference between signal-to-noise ratios of signals received by any two receive ends is within the range of [0, 1] dB, the two receive ends meet the system requirement; or otherwise, the two receive ends do not meet the system requirement, or the like.
[0080] 4. Units in this application refer to functional units or logical units. The units may be in a form of software, and functions of the units are implemented by a processor executing program code. Alternatively, the units may be in a form of hardware.
[0081] 5. “A plurality of” means at least two, and the other quantifier is similar to this. The term “and/or” describes an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: The scope described in Only A exists, both A and B exist, and only B exists. The character “/” generally indicates an “or” relationship between the associated objects. A range described by “above”, “below”, or the like includes boundary points.
[0082] A person skilled in the art may understand that a dispersion compensation method provided in the embodiments of this application may be applied to a communications system in which a transmit end performs data transmission with at least two receive ends.
[0083] In a process of communication between the transmit end and the receive ends, because power fading occurs due to fiber dispersion, power fading occurs in different cases when communication distances between the transmit end and different receive ends are different.
[0084] The communications system shown in
[0085]
[0086] Currently, there are two commonly used methods for resolving fiber dispersion. In existing solution 1, for receive ends with different communication distances, band division is performed based on whether signal-to-noise ratios of the receive ends exceed a preset threshold. If a signal-to-noise ratio exceeds the preset threshold, it is considered that a band is available, or if a signal-to-noise ratio does not exceed the preset threshold, it is considered that a band is unavailable, to avoid a case in which an optical signal is sent to a receive end on a band having a severe fading status, thereby resolving the problem of fiber dispersion.
[0087] The communications system shown in
[0088] However, when the problem of fiber dispersion is resolved by using a method that the transmit end allocates different subcarriers to receive ends with different communication distances, if all signal-to-noise ratios of the transmit end on some subcarriers are less than a preset threshold, these subcarriers are unavailable. The signal-to-noise ratio results shown in
[0089] In addition to existing solution 1, there is still existing solution 2 that is commonly used to resolve the problem of fiber dispersion. The transmit end makes compensation with a preconfigured dispersion compensation value for an electrical signal, then converts the compensated electrical signal into an optical signal, and sends the optical signal to a receive end, to resolve the problem of fiber dispersion.
[0090] However, in an application scenario in which one transmit end communicates with a plurality of receive ends, because communication distances between the transmit end and different receive ends are different, corresponding dispersion is different, and different dispersion compensation values are needed. As a result, when compensation is made with a same dispersion compensation value for different communication distances, over-compensation or under-compensation may be caused to signals sent to some receive ends. As a result, power fading still occurs in the signals received by these receive ends, severely affecting system performance.
[0091] For example, a communication distance between the transmit end and the first receive end is 80 km, and a communication distance between the transmit end and the second receive end is 40 km. Compensation is made with a same dispersion compensation value for the first receive end and the second receive end. When the dispersion compensation value used for compensation is a dispersion compensation value corresponding to 40 km, as shown in
[0092] In consideration of these cases, an embodiment of this application provides a dispersion compensation method. A transmit end obtains a subcarrier allocation result, where the subcarrier allocation result includes subcarriers allocated to at least two receive ends based on signal-to-noise ratio results of signals transmitted between the transmit end and the at least two receive ends. Then, the transmit end compensates, based on a correspondence between a communication distance and a dispersion compensation value, for a subcarrier allocated to each receive end for a dispersion compensation value corresponding to a first communication distance, to obtain a compensated signal, and adds a cyclic prefix CP to the compensated signal. Finally, the transmit end compensates a frequency-domain subcarrier corresponding to the signal to which the CP has been added, for a dispersion compensation value corresponding to a second communication distance. Because a communication distance between the transmit end and each receive end includes the first communication distance and the second communication distance, the transmit end may make compensation with different dispersion compensation values for different first communication distances, and after adding the CP to the compensated signal, compensate, the frequency-domain subcarrier corresponding to the signal to which the CP has been added, for the dispersion compensation value corresponding to the second communication distance. In this way, not only a fading phenomenon caused by fiber dispersion can be effectively alleviated, to increase a system capacity to some extent, reduce a bit error rate, and improve performance of an optical communication system, but also CP overheads can be reduced.
[0093] The following further describes in detail the embodiments of this application with reference to the accompanying drawings.
[0094] An embodiment of this application provides an optical communication system. The system includes one transmit end and a plurality of receive ends. Communication distances between the transmit end and the plurality of receive ends are different. The optical communication system may be the communications system shown in
[0095]
[0096] The signal generation module is configured to generate time-domain signals to be sent to the N receive ends.
[0097] Specifically, the signal generation module may generate, in the following manner, the time-domain signal to be sent to the N receive ends:
[0098] The signal generation module first generates a binary bit sequence, and then converts the generated binary bit sequence into a frequency-domain signal. When the binary bit sequence is converted into the frequency-domain signal, it is ensured that a positive frequency and a negative frequency of the frequency-domain signal are conjugate signals. Then, the signal generation module converts the frequency-domain signal into a time-domain signal through inverse Fourier transform, where a quantity of sampling points when inverse Fourier transform is performed on the frequency-domain signal may be 512. Finally, the signal generation module adds the time-domain signal obtained through conversion and a synchronization signal, to obtain the time-domain signals to be sent to the N receive ends.
[0099] The dispersion compensation module is configured to separately perform dispersion compensation on the time-domain signal to be sent to each receive end.
[0100] The DAC is configured to convert the signal on which the dispersion compensation module has performed dispersion compensation into an analog signal.
[0101] The DDMZM is configured to convert, into an optical signal, the analog signal obtained through conversion by the DAC.
[0102] The IQMZM is configured to convert, into an optical signal, the analog signal obtained through conversion by the DAC.
[0103] In the optical communication system, each receive end may include a filter, an ROSA, an OSC, and a DSP.
[0104] The filter is configured to filter out an out-of-band amplifier spontaneous emission noise (ASE for short) in the optical signal received by the receive end.
[0105] The ROSA is configured to convert, into an electrical signal, the optical signal from which the ASE noise is filtered out.
[0106] The OSC is configured to convert, into a digital signal, the electrical signal obtained through conversion by the ROSA.
[0107] The DSP is configured to process the digital signal obtained through conversion by the OSC.
[0108] Based on the optical communication system shown in
[0109] Step 901: The transmit end obtains a subcarrier allocation result, where the subcarrier allocation result includes subcarriers allocated to at least two receive ends based on signal-to-noise ratio results of signals transmitted between the transmit end and the at least two receive ends.
[0110] In this step, the subcarrier allocation result obtained by the transmit end includes the subcarriers allocated to the at least two receive ends based on the signal-to-noise ratio results of the signals transmitted between the transmit end and the at least two receive ends. The transmit end may allocate the subcarriers to the at least two receive ends in a manner in the prior art, provided that the subcarriers allocated to the receive ends can meet a system requirement.
[0111] Step 902: The transmit end compensates, based on a correspondence between a communication distance and a dispersion compensation value, for a subcarrier allocated to each receive end for a dispersion compensation value corresponding to a first communication distance, to obtain a compensated signal.
[0112] In this embodiment, a communication distance between the transmit end and each receive end includes a first communication distance and a second communication distance. In a possible implementation, the second communication distance may be a smallest value in the distances between the receive ends and the transmit end, and the first communication distance is a distance obtained by subtracting the smallest value from the distance between each receive end and the transmit end. For example, as shown in
[0113] Optionally, in an actual application, usually, the first communication distance is relatively small, and is usually between 0 km and 80 km, and the second communication distance is relatively large, and is usually between 200 km and 320 km.
[0114] Because after the subcarrier allocated to each receive end is compensated for with the dispersion compensation value corresponding to the first communication distance, to obtain the compensated signal, a CP is added to the compensated signal, a length of the CP only needs to cover a delay caused by dispersion of the first communication distance, thereby reducing CP overheads as much as possible.
[0115] It should be noted that in an actual application, if there is no requirement on CP overheads, the first communication distance may also be set to a relatively large distance.
[0116] In a specific implementation process, the transmit end may determine, based on the correspondence between a communication distance and a dispersion compensation value, a dispersion compensation value corresponding to each first communication distance, so that the transmit end compensates, in frequency domain, the subcarrier allocated to each receive end for the determined dispersion compensation value corresponding to the first communication distance. For example, a subcarrier allocated to the first receive end may be compensated for with a dispersion compensation value corresponding to 0 km in frequency domain, a subcarrier allocated to the second receive end may be compensated for with a dispersion compensation value corresponding to 10 km in frequency domain, and a subcarrier allocated to the third receive end may be compensated for with a dispersion compensation value corresponding to 20 km in frequency domain, to obtain compensated signals.
[0117] Step 903: The transmit end adds the CP to the compensated signal.
[0118] Step 904: The transmit end compensates, a frequency-domain subcarrier corresponding to the signal to which the CP has been added, for a dispersion compensation value corresponding to a first communication distance.
[0119] Specifically, as a transmission distance increases, if a CP in a signal remains unchanged, system performance is severely affected. Therefore, to improve system performance, a CP length usually needs to be increased. However, when system performance is improved by increasing a CP length, system overheads are increased, and a system rate is reduced.
[0120] To resolve this problem, in this embodiment of this application, after compensating, the subcarrier allocated to each receive end for the dispersion compensation value corresponding to the first communication distance, to obtain the compensated signal, the transmit end adds the CP to the compensated signal, and then compensates, the frequency-domain subcarrier corresponding to the signal to which the CP has been added, for the dispersion compensation value corresponding to the second communication distance. The transmit end adds the CP only to the compensated signal that is obtained after the subcarrier allocated to each receive end is compensated for with the dispersion compensation value corresponding to the first communication distance, the first communication distance is usually relatively small, and a time-domain delay of dispersion impact corresponding to the first communication distance is relatively small. Therefore, CP overheads can be reduced, and a system rate can be increased. In addition, because compensation may be made with different dispersion compensation values for different transmission distances, to precisely compensate for link dispersion, a fading phenomenon caused by fiber dispersion is effectively alleviated, and it helps to improve performance of an optical communication system.
[0121] For example, in frequency domain, the transmit end compensates, the subcarrier allocated to the first receive end for the dispersion compensation value corresponding to 0 km, compensates, the subcarrier allocated to the second receive end for the dispersion compensation value corresponding to 10 km, compensates, the subcarrier allocated to the third receive end for the dispersion compensation value corresponding to 20 km, then, adds the CP to the compensated signals, and compensates, for all frequency-domain subcarriers corresponding to the signals to which the CP has been added, for the dispersion compensation value corresponding to 230 km.
[0122] Further, the compensated signal is a frequency-domain signal, and the transmit end may add the CP to the compensated signal in the following manner:
[0123] The transmit end performs inverse Fourier transform on the frequency-domain signal to obtain a time-domain signal, and the transmit end adds the CP to the time-domain signal.
[0124] Specifically, the compensated signal obtained after the transmit end compensates, in frequency domain, the subcarrier allocated to each receive end is a frequency-domain signal for the dispersion compensation value corresponding to the first communication distance. The transmit end first performs inverse Fourier transform on the frequency-domain signal to obtain a time-domain signal, and then adds the CP to the time-domain signal.
[0125] Because the CP is added to the compensated signal after compensation is made with the dispersion compensation value corresponding to the first communication distance, and the first communication distance is usually relatively small, CP overheads can be reduced.
[0126] In addition, after the transmit end adds the CP to the compensated signal, the transmit end may compensate, in the following manner with the dispersion compensation value corresponding to the second communication distance, for the frequency-domain subcarrier corresponding to the signal to which the CP has been added.
[0127] The transmit end performs Fourier transform on the signal to which the CP has been added, to obtain the frequency-domain signal, and the transmit end compensates, in frequency domain, the subcarrier corresponding to the frequency-domain signal for the dispersion compensation value corresponding to the second communication distance.
[0128] Specifically, because the signal to which the CP has been added is a time-domain signal, the transmit end first performs Fourier transform on the signal to which the CP has been added, to obtain a frequency-domain signal, and then compensates, in frequency domain, the frequency-domain subcarrier corresponding to the obtained frequency-domain signal for the dispersion compensation value corresponding to the second communication distance.
[0129] In the dispersion compensation method provided in this embodiment of this application, the transmit end obtains the subcarrier allocation result, where the subcarrier allocation result includes the subcarriers allocated to the at least two receive ends based on the signal-to-noise ratio results of the signals transmitted between the transmit end and the at least two receive ends. Then, the transmit end compensates, based on the correspondence between a communication distance and a dispersion compensation value, for the subcarrier allocated to each receive end for the dispersion compensation value corresponding to the first communication distance, to obtain the compensated signal, adds the CP to the compensated signal, and then compensates, the frequency-domain subcarrier corresponding to the signal to which the CP has been added, for the dispersion compensation value corresponding to the second communication distance. Because the transmit end adds the CP only to the compensated signal obtained after the subcarrier allocated to each receive end is compensated for with the dispersion compensation value corresponding to the first communication distance, but does not add the CP to a signal obtained after the subcarrier allocated to each receive end is compensated for with a dispersion compensation value corresponding to an entire communication distance, not only CP overheads can be reduced and a system rate can be improved, but also compensation can be made with different dispersion compensation values for different transmission distances, to precisely compensate for link dispersion, effectively alleviate a fading phenomenon caused by fiber dispersion, and help to improve performance of an optical communication system.
[0130] The following further describes the solutions in the embodiments of this application with reference to the schematic structural diagram of the optical communication system in
[0131] A Fourier transform unit in a dispersion compensation module may perform Fourier transform on a time-domain signal generated by a signal generation module. An allocation unit may obtain a subcarrier allocation result. A compensation unit compensates, based on a correspondence relationship between a communication distance and a dispersion compensation value, for a subcarrier allocated to each receive end for a dispersion compensation value corresponding to a first communication distance, to obtain a compensated frequency-domain signal. The signals obtained by the compensation units after dispersion compensation are superimposed, and an inverse Fourier transform unit performs inverse Fourier transform on the superimposed frequency-domain signal to obtain a time-domain signal. Then, a CP addition unit adds a CP to the obtained time-domain signal. In this embodiment of this application, the CP is loaded onto the time-domain signal obtained after inverse Fourier transform, to help to improve anti-dispersion performance of an optical communication system.
[0132] The transmit end performs Fourier transform on the signal to which the CP has been added, to obtain a frequency-domain signal. A compensation unit compensates, in frequency domain, a frequency-domain subcarrier corresponding to the obtained frequency-domain signal, and sends the compensated signal to each receive end for a dispersion compensation value corresponding to a second communication distance.
[0133] The Fourier transform unit may be a Fourier transform circuit, the compensation unit may be a subcarrier phase compensation circuit, the inverse Fourier transform unit may be an inverse Fourier transform circuit, and the CP addition unit may be a CP circuit.
[0134] The following describes, in detail by using the first receive end as an example, a process in which the transmit end sends, to the first receive end, the signal that has been compensated for with the dispersion compensation value corresponding to the second communication distance. In this embodiment of this application, a process in which the transmit end sends, to the other receive end, the signal that has been compensated for with the dispersion compensation value corresponding to the second communication distance is the same as the process in which the transmit end sends, to the first receive end, the signal that has been compensated for with the dispersion compensation value corresponding to the second communication distance. Therefore, for the process in which the transmit end sends, to each of the other receive end, the signal that has been compensated for with the dispersion compensation value corresponding to the second communication distance, refer to the process in which the transmit end sends, to the first receive end, the signal that has been compensated for with the dispersion compensation value corresponding to the second communication distance. Details are not described in this embodiment of this application again.
[0135] Specifically, the transmit end may send, to the first receive end in the following manner, the signal that has been compensated for with the dispersion compensation value corresponding to the second communication distance.
[0136] A1. The transmit end converts the compensated signal into an analog signal by using a DAC, and determines a real part I of the analog signal and an imaginary part Q of the analog signal.
[0137] A2. The transmit end processes the real part I of the analog signal by using an electrical-domain driver and an attenuator, and processes the imaginary part Q of the analog signal by using the electrical-domain driver and the attenuator.
[0138] A3. The transmit end separately inputs the processed real part I of the analog signal and the processed imaginary part Q of the analog signal to a DDMZM shown in
[0139] Specifically, the transmit end may input the processed real part I of the analog signal to an RF port of an upper-arm PM of the DDMZM, and input the processed imaginary part Q of the analog signal to an RF port of a lower-arm PM of the DDMZM, to drive the two PMs of the DDMZM to work. An optical input port of the DDMZM receives continuous wave (CW for short), and the two PMs of the DDMZM convert, driven by the analog signal, the received continuous wave into the optical signal corresponding to the analog signal.
[0140] Optionally, the transmit end may separately input the processed real part I of the analog signal and the processed imaginary part Q of the analog signal to an IQMZM, to convert the analog signal into an optical signal, and then send the optical signal obtained through conversion to the first receive end.
[0141] The following describes, in detail by using the first receive end as an example, a process in which the first receive end processes the received optical signal. In this embodiment of this application, the process in which the first receive end processes the received optical signal is the same as a process in which each of the other receive end processes the received optical signal. Therefore, for the process in which each of the other receive end processes the received optical signal, refer to the process in which the first receive end processes the received optical signal. Details are not described in this embodiment of this application again.
[0142] Specifically, the first receive end may process the received optical signal in the following manner:
[0143] B1. After receiving the optical signal, the first receive end filters out ASE noise from the received optical signal by using a filter.
[0144] B2. The first receive end converts, by using an ROSA, the optical signal from which the ASE noise is filtered out into an electrical signal.
[0145] B3. The first receive end converts, into a digital signal by using an OSC, the electrical signal obtained through conversion.
[0146] B4. The first receive end processes, by using a DSP, the digital signal obtained through conversion.
[0147] Each receive end generally parses only data information on a subcarrier allocated to the receive end.
[0148] In the dispersion compensation method provided in this embodiment of this application, the transmit end obtains the subcarrier allocation result, where the subcarrier allocation result includes the subcarriers allocated to the at least two receive ends based on the signal-to-noise ratio results of the signals transmitted between the transmit end and the at least two receive ends. Then, the transmit end compensates, based on the correspondence between a communication distance and a dispersion compensation value, for the subcarrier allocated to each receive end for the dispersion compensation value corresponding to the first communication distance, to obtain the compensated signal, adds the CP to the compensated signal, and then compensates, the frequency-domain subcarrier corresponding to the signal to which the CP has been added, for the dispersion compensation value corresponding to the second communication distance. Because the transmit end adds the CP only to the compensated signal obtained after the subcarrier allocated to each receive end is compensated for with the dispersion compensation value corresponding to the first communication distance, but does not add the CP to a signal obtained after the subcarrier allocated to each receive end is compensated for with a dispersion compensation value corresponding to an entire communication distance, not only CP overheads can be reduced and a system rate can be improved, but also compensation can be made with different dispersion compensation values for different transmission distances, to precisely compensate for link dispersion, effectively alleviate a fading phenomenon caused by fiber dispersion, and help to improve performance of an optical communication system.
[0149]
[0150]
[0151]
[0152] It should be noted that the results in
[0153]
[0154] an obtaining unit 11, configured to obtain a subcarrier allocation result, where the subcarrier allocation result includes subcarriers allocated to the at least two receive ends based on signal-to-noise ratio results of signals transmitted between a transmit end and the at least two receive ends;
[0155] a compensation unit 12, configured to compensate, based on a correspondence between a communication distance and a dispersion compensation value, for a subcarrier allocated to each receive end for a dispersion compensation value corresponding to the first communication distance, to obtain a compensated signal; and
[0156] an addition unit 13, configured to add a cyclic prefix CP to the compensated signal, where
[0157] the compensation unit 12 is further configured to compensate, a frequency-domain subcarrier corresponding to the signal to which the CP has been added, for a dispersion compensation value corresponding to the second communication distance.
[0158] Optionally, the second communication distance is a smallest value in distances between the receive ends and the transmit end.
[0159] Optionally, the compensation unit 12 is specifically configured to:
[0160] determine, based on the correspondence between a communication distance and a dispersion compensation value, the dispersion compensation value corresponding to the first communication distance; and
[0161] compensate, in frequency domain, the subcarrier allocated to each receive end for the dispersion compensation value corresponding to the first communication distance.
[0162] Optionally, the compensated signal is a frequency-domain signal; and
[0163] the addition unit 13 is specifically configured to:
[0164] perform inverse Fourier transform on the frequency-domain signal, to obtain a time-domain signal; and
[0165] add the CP to the time-domain signal.
[0166] Optionally, the compensation unit 12 is specifically configured to:
[0167] perform Fourier transform on the signal to which the CP has been added, to obtain a frequency-domain signal; and
[0168] compensate, in frequency domain, the subcarrier corresponding to the frequency-domain signal for the dispersion compensation value corresponding to the second communication distance.
[0169] In the embodiments of this application, module division is an example, and is merely logical function division. In an actual implementation, there may be another division manner. In addition, function modules in the embodiments of this application may be integrated into one processor, or each of the modules may exist alone physically, or two or more modules may be integrated into one module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module.
[0170] When the integrated module may be implemented in a form of hardware, as shown in
[0171] Specific connection media between the processor 1501, the memory 1502, and the communications interface 1503 is not limited in this embodiment of this application. In this embodiment of this application, in
[0172] The memory 1502 may be a volatile memory, for example, a random access memory (RAM for short). Alternatively, the memory 1502 may be a non-volatile memory, for example, a read-only memory (ROM for short), a flash memory, a hard disk drive (HDD for short), or a solid-state drive (SSD for short). Alternatively, the memory 1502 is, but not limited to, any other medium capable of carrying or storing expected program code having an instruction or data structure form and capable of being accessed by a computer. The memory 1502 may be a combination of the foregoing memories.
[0173] The processor 1501 is configured to execute the program code stored in the memory 1502, and is specifically configured to perform the method described in the embodiments corresponding to
[0174] The embodiments described herein are merely used to describe and explain this application, but are not used to limit this application. In a case of no conflict, the embodiments of this application and function modules in the embodiments may be combined.
[0175] In this embodiment of this application, the transmit end obtains the subcarrier allocation result, where the subcarrier allocation result includes the subcarriers allocated to the at least two receive ends based on the signal-to-noise ratio results of the signals transmitted between the transmit end and the at least two receive ends. Then, the transmit end compensates, based on the correspondence between a communication distance and a dispersion compensation value, for the subcarrier allocated to each receive end, to obtain the compensated signal for the dispersion compensation value corresponding to the first communication distance, adds the CP to the compensated signal, and then compensates, the frequency-domain subcarrier corresponding to the signal to which the CP has been added, for the dispersion compensation value corresponding to the second communication distance. Because the transmit end adds the CP only to the compensated signal obtained after the subcarrier allocated to each receive end is compensated for with the dispersion compensation value corresponding to the first communication distance, but does not add the CP to a signal obtained after the subcarrier allocated to each receive end is compensated for with a dispersion compensation value corresponding to an entire communication distance, not only CP overheads can be reduced and a system rate can be improved, but also compensation can be made with different dispersion compensation values for different transmission distances, to precisely compensate for link dispersion, effectively alleviate a fading phenomenon caused by fiber dispersion, and help to improve performance of an optical communication system.
[0176] This application further provides a storage medium, including a readable storage medium and a computer program. The computer program is used to implement the dispersion compensation method provided in any one of the foregoing embodiments.
[0177] This application further provides a program product. The program product includes a computer program (namely, an executable instruction). The computer program is stored in a readable storage medium. At least one processor of a transmit end may read the computer program from the readable storage medium, and the at least one processor executes the computer program to enable the transmit end to perform the dispersion compensation method provided in any one of the foregoing implementations.
[0178] An embodiment of this application further provides a dispersion compensation apparatus, including at least one storage component and at least one processing component. The at least one storage component is configured to store a program. When the program is executed, the dispersion compensation apparatus is enabled to perform operations of the transmit end in any one of the foregoing embodiments.
[0179] All or some of the steps of the foregoing method embodiments may be implemented by using a program instructing related hardware. The foregoing program may be stored in a readable memory. When the program is executed, the steps of the method in the embodiments are performed. The memory (a storage medium) includes: a read-only memory (ROM), a RAM, a flash memory, a hard disk, a solid state disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof.