An encoding method, a decoding method, a network device, a system, and a storage medium

By performing dual FEC encoding and decoding on multiple subcarrier signals, the problem of insufficient error correction capability caused by uneven interference is solved, thereby improving the error correction capability and decoding accuracy of the receiving equipment.

CN114553365BActive Publication Date: 2026-07-24HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2020-11-26
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

During the transmission of multi-subcarrier signals, the inconsistent interference conditions result in the receiving equipment having a lower FEC decoding and error correction capability for subcarrier signals that are subject to greater interference, thus reducing the overall error correction capability.

Method used

The transmitting device performs FEC encoding on the N bit streams twice, encoding each bit stream and the common bit stream separately, and performs corresponding decoding processing on the receiving device side to improve error correction capability.

Benefits of technology

By using dual FEC encoding and decoding, the error correction capability of the receiving device for multiple bit streams is improved, the bit error rate is reduced, and a balance and accuracy of error correction capability are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114553365B_ABST
    Figure CN114553365B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a kind of encoding method, decoding method, network device, system and storage medium.The method can improve the error correction capability of decoding bit stream, comprising: the first FEC encoding of N road first bit stream is carried out to obtain first overhead, the N road first bit stream includes N1 road first subcarrier bit stream and N2 road second subcarrier bit stream, wherein N1 is greater than or equal to 1 integer, N2 is natural number, and N1+N2=N;The first overhead is distributed to the N1 road first subcarrier bit stream, obtains N1 road third subcarrier bit stream;N road second bit stream is sent, and the N road second bit stream includes the N1 road third subcarrier bit stream and the N2 road second subcarrier bit stream.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to an encoding method, a decoding method, a network device, a system, and a storage medium. Background Technology

[0002] As network capacity demands continue to increase, network device traffic is evolving from 100G to 200G, 400G, and even 800G and above. To adapt to this evolution, the development of network devices from single-carrier to multi-subcarrier is an irreversible trend.

[0003] To enable the exchange of multi-subcarrier signals between two network devices, the transmitting network device performs forward error correction (FEC) encoding on each subcarrier signal individually. The receiving network device performs FEC decoding on each subcarrier signal individually.

[0004] However, because the interference experienced by the multi-carrier signals during transmission is inconsistent, both the heavily interfered and lightly interfered subcarrier signals undergo FEC encoding and decoding in the same way. Therefore, the receiving device will have lower error correction capability for FEC decoding of the heavily interfered subcarrier signals, thus reducing the overall error correction capability of the receiving device when performing FEC decoding on multi-carrier signals. Summary of the Invention

[0005] This application provides an encoding method, a decoding method, a network device, a system, and a storage medium for improving the error correction capability of decoding bit streams.

[0006] In a first aspect, embodiments of the present invention provide an encoding method, the method comprising: a transmitting device performing first FEC encoding on N first bit streams to obtain a first overhead, the N first bit streams including N1 first subcarrier bit streams and N2 second subcarrier bit streams, wherein N1 is an integer greater than or equal to 1, N2 is a natural number, and N1+N2=N; the transmitting device allocating the first overhead to the N1 first subcarrier bit streams to obtain N1 third subcarrier bit streams; and the transmitting device transmitting N second bit streams, the N second bit streams including the N1 third subcarrier bit streams and the N2 second subcarrier bit streams.

[0007] As can be seen, this aspect demonstrates FEC encoding of the N-channel first bitstream. By performing FEC encoding on all N-channel first bitstreams to obtain the N-channel second bitstream, the error correction capability for decoding the N-channel second bitstream is effectively improved, and the bit error rate of the N-channel second bitstream is effectively reduced.

[0008] Based on the first aspect, in one optional implementation, before performing first FEC encoding on the N first bit streams to obtain the first overhead, the method further includes: performing second FEC encoding on each of the N third bit streams to obtain the N first bit streams, wherein the first bit streams include the second overhead.

[0009] As can be seen, this implementation performs FEC encoding twice on the N-channel second bitstream. The first FEC encoding is performed on each channel of the third bitstream, and the second FEC encoding is performed on the N-channel first bitstream. By performing FEC encoding twice on the N-channel third bitstream to obtain the N-channel second bitstream, the error correction capability for decoding the N-channel third bitstream is effectively improved, and the bit error rate of the N-channel third bitstream is effectively reduced.

[0010] Based on the first aspect, in one optional implementation, the N-channel first bitstream includes a sidewave bitstream and an intermediate wave bitstream, wherein the first subcarrier bitstream is the sidewave bitstream, and the second subcarrier bitstream is either the intermediate wave bitstream or the sidewave bitstream. Therefore, the N2-channel second subcarrier bitstream can simultaneously include both the intermediate wave bitstream and the sidewave bitstream, or it can be entirely the intermediate wave bitstream or entirely the sidewave bitstream. For example, when N is 2, and N1 and N2 are each 1, the first bitstream contains only two bitstreams, both of which are sidewave bitstreams. In this case, the N2-channel second subcarrier bitstream includes one sidewave bitstream.

[0011] In this method, the N-channel first bitstream specifically includes an intermediate wavelet bitstream and a side wavelet bitstream. The intermediate wavelet bitstream represents the bitstream within the N-channel first bitstream that is less susceptible to interference. The side wavelet bitstream represents the bitstream within the N-channel first bitstream that is more susceptible to interference.

[0012] Among them, the sidewave bitstreams that are more susceptible to interference are those that are subject to greater channel noise and / or crosstalk. The middlewave bitstreams that are less susceptible to interference are those that are subject to less channel noise and / or crosstalk.

[0013] Based on the first aspect, in one optional implementation, the carrier frequency of the side bitstream is less than the carrier frequency of the intermediate bitstream, or the carrier frequency of the side bitstream is greater than the carrier frequency of the intermediate bitstream.

[0014] It is evident that the interference experienced by the third subcarrier bitstream is greater than that experienced by the second subcarrier bitstream. This aspect demonstrates a dual error protection system for the third subcarrier bitstream, which experiences greater interference, based on two FEC codes. This enhances the error correction capability for decoding the third subcarrier bitstream and ensures a balanced error correction capability for the receiving device when decoding N third bitstreams.

[0015] Based on the first aspect, in one optional implementation, allocating the second overhead to the N1 first subcarrier bitstreams to obtain N1 third subcarrier bitstreams includes: dividing the second overhead into N1 sub-overheadings; allocating the N1 sub-overheadings to the N1 first subcarrier bitstreams respectively to obtain the N1 third subcarrier bitstreams, wherein each of the N1 third subcarrier bitstreams includes one of the sub-overheadings.

[0016] It is evident that the N1-channel third carrier bit stream, which is subject to significant interference, includes both the first and second overheads, thus achieving dual error protection for the third subcarrier bit stream.

[0017] Based on the first aspect, in one optional implementation, each of the third bitstreams includes a first overhead, which is generated by performing the first FEC encoding on each of the first bitstreams, wherein the number of bits included in the first overhead of the third subcarrier bitstream is greater than the number of bits included in the first overhead of the second subcarrier bitstream.

[0018] It is evident that when the interference experienced by the third subcarrier bitstream is greater than that experienced by the second subcarrier bitstream, the transmitting device employs different first FEC encoding methods for the third and second subcarrier bitstreams. This ensures that the second overhead corresponding to the third subcarrier bitstream contains more bits than the second overhead corresponding to the second subcarrier bitstream, thereby guaranteeing that the receiving device has a stronger error correction capability for the third subcarrier bitstream based on the larger second overhead.

[0019] Based on the first aspect, in one optional implementation, performing first FEC encoding on the N first bit streams to obtain the first overhead includes: merging the N first bit streams to obtain a merged bit stream; and performing the first FEC encoding on the merged bit stream to obtain the first overhead.

[0020] Based on the first aspect, in one optional implementation, performing first FEC encoding on the N-channel first bitstream to obtain the first overhead includes: performing interleaving encoding on the N-channel first bitstream to obtain an interleaved bitstream; and performing the first FEC encoding on the interleaved bitstream to obtain the first overhead.

[0021] It is evident that all payloads and first overheads included in the N-channel first bitstream are evenly distributed in the interleaved bitstream, thereby effectively improving the accuracy of decoding the N-channel second bitstream.

[0022] Secondly, embodiments of the present invention provide a decoding method, the method comprising: receiving N second bit streams, the N second bit streams including N1 third subcarrier bit streams and N2 second subcarrier bit streams, wherein N1 is an integer greater than or equal to 1, N2 is a natural number, and N1+N2=N; the N1 third subcarrier bit streams include N1 first subcarrier bit streams and a first overhead; performing first FEC decoding on the N2 second subcarrier bit streams and the N1 third subcarrier bit streams to obtain N2 first FEC-decoded second subcarrier bit streams and N1 first FEC-decoded third subcarrier bit streams; performing second FEC decoding on each of the first FEC-decoded third subcarrier bit streams to obtain second FEC-decoded third subcarrier bit streams; and performing the first FEC decoding on the N2 first FEC-decoded second subcarrier bit streams and the N1 second FEC-decoded third subcarrier bit streams to obtain N first bit streams.

[0023] As can be seen, through the decoding method described in this aspect, the receiving device jointly performs first FEC decoding on the third subcarrier bitstream, which is subject to greater interference, and the second subcarrier bitstream, which has a relatively low bit error rate. This helps to improve the error correction capability of decoding the third subcarrier bitstream using the second subcarrier bitstream with a relatively low bit error rate. Moreover, by performing second FEC decoding on each third subcarrier bitstream after first FEC decoding, a third subcarrier bitstream after second FEC decoding with a relatively low bit error rate can be obtained. The receiving device then jointly performs first FEC decoding on both the second subcarrier bitstream after first FEC decoding and the third subcarrier bitstream after second FEC decoding. This helps to improve the error correction capability of decoding N2 second subcarrier bitstreams after first FEC decoding using the third subcarrier bitstream after second FEC decoding with a relatively low bit error rate. Therefore, the number of erroneous bits included in the third bitstream is effectively reduced.

[0024] Furthermore, this aspect demonstrates the ability to overcome the mathematical constraints of FEC decoding, improve the accuracy of decoding N-channel second bitstreams, and enhance the error correction capability of the receiving device in decoding N-channel second bitstreams, thus ensuring a balanced error correction capability of the receiving device in decoding N-channel second bitstreams.

[0025] Based on the second aspect, in one possible implementation, before performing the first FEC decoding on the N2 second subcarrier bit streams and the N1 third subcarrier bit streams, the method further includes: performing a second FEC decoding on each second subcarrier bit stream to obtain the second subcarrier bit stream after the second FEC decoding.

[0026] Based on the second aspect, in one optional implementation, the N-channel first bitstream includes a sidewave bitstream and an intermediate wave bitstream, wherein the first subcarrier bitstream is the sidewave bitstream, and the second subcarrier bitstream is either the intermediate wave bitstream or the sidewave bitstream. Therefore, the N2-channel second subcarrier bitstream can simultaneously include both the intermediate wave bitstream and the sidewave bitstream, or it can consist entirely of the intermediate wave bitstream or entirely of the sidewave bitstream. For example, when N is 2, and N1 and N2 are each 1, the third bitstream contains only two bitstreams, both of which are sidewave bitstreams. In this case, the N2-channel second subcarrier bitstream includes one sidewave bitstream.

[0027] Based on the second aspect, in one optional implementation, the carrier frequency of the sideband bitstream is less than the carrier frequency of the intermediate bitstream, or the carrier frequency of the sideband bitstream is greater than the carrier frequency of the intermediate bitstream.

[0028] Based on the second aspect, in one optional implementation, each of the third subcarrier bit streams includes a sub-overhead, and the N1 sub-overheads included in the N1 third subcarrier bit streams form the first overhead.

[0029] Based on the second aspect, in one optional implementation, the number of bits included in the first overhead B of the third subcarrier bitstream is greater than the number of bits included in the first overhead of the second subcarrier bitstream.

[0030] Based on the second aspect, in an optional implementation, the method further includes: performing equalization processing on each of the third subcarrier bit streams to obtain a third subcarrier bit stream after the first equalization processing; the first FEC decoding of the N2 second subcarrier bit streams and the N1 third subcarrier bit streams includes: performing first FEC decoding on the N2 second subcarrier bit streams and the N1 third subcarrier bit streams after the first equalization processing.

[0031] It is evident that equalization processing is performed on the third subcarrier bitstream, which is subject to significant interference, thereby further reducing the bit error rate of the third subcarrier bitstream and improving the error correction capability of decoding the third subcarrier bitstream.

[0032] Based on the second aspect, in an optional implementation, the method further includes: performing equalization processing on each of the first FEC-decoded third subcarrier bit streams to obtain a second equalized third subcarrier bit stream; the second FEC decoding of each of the first FEC-decoded third subcarrier bit streams includes: performing the second FEC decoding on each of the second equalized third subcarrier bit streams.

[0033] It is evident that by performing two equalization processes on the third subcarrier bitstream, which is subject to significant interference, the accuracy of decoding the third subcarrier bitstream is effectively improved.

[0034] Thirdly, embodiments of the present invention provide a processing circuit, which includes a logic circuit and an interface circuit connected in sequence. The logic circuit is used to execute any of the processing-related steps of the first or second aspect. The interface circuit is used to execute any of the steps related to transmitting and receiving bit streams of the first or second aspect.

[0035] Fourthly, embodiments of the present invention provide a network device, including: a processor, a memory, and a transceiver interconnected by a line, the memory and the processor being interconnected by a line, the memory storing instructions, the processor being configured to perform processing-related steps as described in either the first or second aspect, and the transceiver being configured to perform receiving and transmitting bit stream-related steps as described in either the first or second aspect.

[0036] Fifthly, embodiments of the present invention provide a communication system including a transmitting device and a receiving device, wherein the transmitting device is configured to perform the encoding method shown in any of the first aspects, and the receiving device is configured to perform the decoding method shown in any of the second aspects.

[0037] In a sixth aspect, embodiments of the present invention provide a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the method as described in either the first or second aspect.

[0038] In a seventh aspect, embodiments of the present invention provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the method described in either the first or second aspect.

[0039] According to the scheme shown in this application, during the encoding of N first bit streams, the transmitting device can perform FEC encoding twice on the N first bit streams to obtain N third bit streams. Specifically, the first FEC encoding involves the transmitting device performing a first FEC encoding on each of the N first bit streams to obtain N second bit streams. The second FEC encoding involves performing a second FEC encoding on all N second bit streams simultaneously. By performing FEC encoding twice on the N first bit streams during the encoding process, regardless of the interference experienced by each bit stream, the transmitting device can effectively improve the error correction capability for decoding the N first bit streams, ensuring a balanced error correction capability for the receiving device when decoding the N third bit streams.

[0040] During the decoding process of N third subcarrier bitstreams by the receiving device, it first assists in decoding the third subcarrier bitstreams by receiving second subcarrier bitstreams with relatively low bit error rates. Specifically, the receiving device performs second FEC decoding on each second subcarrier bitstream to obtain the second subcarrier bitstream after second FEC decoding. The receiving device then performs first FEC decoding on N2 of these second FEC-decoded second subcarrier bitstreams and N1 of these third subcarrier bitstreams to obtain N2 of these first FEC-decoded second subcarrier bitstreams and N1 of these first FEC-decoded third subcarrier bitstreams. Subsequently, it assists in decoding the second subcarrier bitstreams by receiving third subcarrier bitstreams with relatively low bit error rates. Specifically, the receiving device performs second FEC decoding on each of these first FEC-decoded third subcarrier bitstreams to obtain the third subcarrier bitstream after second FEC decoding. Then, it performs first FEC decoding on the N2 of these first FEC-decoded second subcarrier bitstreams and N1 of these second FEC-decoded third subcarrier bitstreams to obtain N first bitstreams. It is evident that this effectively reduces the number of erroneous bits included in the first bitstream obtained after decoding by the receiving device. Attached Figure Description

[0041] Figure 1 A structural example diagram of a communication system provided for an existing solution;

[0042] Figure 2 This is a flowchart illustrating the steps of a first embodiment of the encoding / decoding method provided in this application;

[0043] Figure 3 This is an example diagram of an N-channel bitstream provided in this application;

[0044] Figure 4 This is a flowchart illustrating the steps of a second embodiment of the encoding / decoding method provided in this application;

[0045] Figure 5This is a structural example diagram of one embodiment of the processing circuit provided in this application;

[0046] Figure 6 This is a structural example diagram of one embodiment of the transmitting device provided in this application;

[0047] Figure 7 This is a structural example diagram of a first embodiment of the receiving device provided in this application;

[0048] Figure 8 This is a structural example diagram of a second embodiment of the receiving device provided in this application;

[0049] Figure 9 This is a structural example diagram of one embodiment of the network device provided in this application. Detailed Implementation

[0050] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0051] To better understand the method provided in this application, the following first describes the communication system used in the method shown in the existing scheme.

[0052] Figure 1 The communication system shown includes a transmitting device 110 and a receiving device 120.

[0053] The transmitting device 110 is to send N bit streams, namely bit streams TXa1, TXa2 to TXaN, to the receiving device 120. The value of N is not limited; for example, N is a positive integer greater than 1.

[0054] The transmitting device 110 includes N FEC encoding modules, namely FEC encoding module 1, FEC encoding module 2 to FEC encoding module N. Each of the N FEC encoding modules performs FEC encoding on N bitstreams to obtain the encoded N bitstreams, namely encoded bitstreams TXb1, TXb2 to TXbN. For example, FEC encoding module N performs FEC encoding on bitstream TXaN alone to obtain the encoded bitstream TXbN.

[0055] The modulator 111 included in the transmitting device 110 is connected to N FEC coding modules. The modulator 111 is used to modulate the received N coded bit streams onto N subcarriers.

[0056] Specifically, the transmitting device uses multi-carrier modulation technology to modulate N encoded bit streams onto N orthogonal subcarriers. The multi-carrier modulation technology can be orthogonal frequency division multiplexing (OFDM), etc.

[0057] The modulator 111 transmits N subcarriers to the receiver 120 via the optical fiber 130 connecting the transmitting device 110 and the receiving device 120. The demodulator 121 included in the receiver 120 receives the N subcarriers from the optical fiber 130. The demodulator 121 demodulates each of the N subcarriers to obtain N demodulated bit streams, i.e., demodulated subcarriers RXc1, RXc2 to RXcN.

[0058] The receiving device 120 includes N FEC decoding modules connected to the demodulator 121, namely FEC decoding module 1, FEC decoding module 2 to FEC decoding module N. Each of the N FEC decoding modules performs FEC decoding on the N demodulated bitstreams to obtain the decoded N bitstreams, namely decoded bitstreams RXd1, RXd2 to RXdN. For example, FEC decoding module N performs FEC decoding on the demodulated bitstream RXcN to obtain the decoded bitstream RXdN.

[0059] As can be seen, the transmitting device 110 in the existing scheme performs FEC encoding on N bit streams to obtain encoded bit streams TXb1, TXb2 to TXbN. The encoded bit streams TXb1, TXb2 to TXbN experience different levels of interference during transmission to the receiving device 120. For example, the interference experienced by encoded bit streams TXb1 and TXbN is greater than that experienced by encoded bit streams TXb2 to TXbN-1.

[0060] The receiving device 120 performs FEC decoding on the N bit streams respectively. Therefore, the bit streams with more interference have lower error correction capability compared to the bit streams with less interference, which reduces the overall error correction capability of the receiving device in performing FEC decoding on the N bit streams, and thus reduces the accuracy of the receiving device in performing FEC decoding on the N bit streams.

[0061] Error correction capability refers to the ability to identify erroneous bits in a bitstream. Specifically, if a bitstream contains N erroneous bits, decoding is used to identify M erroneous bits. The closer the value M is to the value N, the stronger the error correction capability. The farther the value M is from the value N, the weaker the error correction capability.

[0062] In summary, this application provides an encoding and decoding method. Using the method described in this application, the transmitting device can employ different encoding methods for bitstreams with higher interference and bitstreams with lower interference. The receiving device can also employ different decoding methods for bitstreams with higher interference and bitstreams with lower interference. This effectively improves the error correction capability of the receiving device when decoding bitstreams with higher interference, and effectively achieves a balance in the error correction capability of the receiving device when decoding N bitstreams, thereby improving the overall error correction capability of the receiving device when decoding N bitstreams. The following, in conjunction with... Figure 2 The execution process of the method shown in this embodiment is illustrated below:

[0063] Step 201: The transmitting device performs first FEC encoding on each first bit stream to obtain the second bit stream.

[0064] The transmitting device acquires the N first bit streams to be sent to the receiving device. In this embodiment, the specific value of N is not limited. For example, Figure 3 As shown, the N first bit streams to be sent by the sending device to the receiving device are first bit stream 1, first bit stream 2 to first bit stream N.

[0065] Optionally, the transmitting device performs first FEC encoding on each of the N first bitstreams 310 separately to obtain N second bitstreams 320. For example, the transmitting device performs first FEC encoding on the first bitstream N separately to obtain the second bitstream.

[0066] Specifically, after performing a first FEC encoding on each first bit stream, the transmitting device generates a first overhead, which is used for FEC decoding. Therefore, each second bit stream includes this first overhead.

[0067] The following describes several optional configuration methods for the first overhead shown in this embodiment:

[0068] Method 1

[0069] The transmitting device shown in this method uses the same first FEC encoding method for each of the N first bit streams to obtain the same first overhead.

[0070] The transmitting device performs a first FEC encoding on the first bit stream 1 to obtain a first overhead M1. Similarly, the transmitting device performs a first FEC encoding on the first bit stream N to obtain a first overhead MN. Therefore, the transmitting device performs first FEC encoding on each of the N first bit streams to obtain N first overheads, and the number of bits included in each of the N first overheads is equal.

[0071] Method 2

[0072] This method can determine the size of the first overhead included in the second bitstream based on the interference situation of each first bitstream, as explained below:

[0073] In this method, the N-channel first bitstream 310 specifically includes an intermediate wavelet bitstream and a side wavelet bitstream. The intermediate wavelet bitstream is the bitstream included in the N-channel first bitstream 310 that is less susceptible to interference. The side wavelet bitstream is the bitstream included in the N-channel first bitstream 310 that is more susceptible to interference.

[0074] Among them, the sidewave bitstreams that are more susceptible to interference are those that are subject to greater channel noise and / or crosstalk. The middlewave bitstreams that are less susceptible to interference are those that are subject to less channel noise and / or crosstalk.

[0075] The following is an illustrative example of how the intermediate and side wavelet streams are distributed in the N-channel first bit stream. It should be noted that the descriptions of the number of intermediate and side wavelet streams and the carrier frequency in this method are optional examples and are not limited, as long as the interference experienced by the intermediate wavelet stream is less than that experienced by the side wavelet streams.

[0076] The N-channel first bitstream shown in this method includes multiple sidewave bitstreams. Each sidewave bitstream includes at least one first sidewave bitstream and at least one second sidewave bitstream. The carrier frequency of the first sidewave bitstream is greater than the carrier frequency of the intermediate bitstream. The carrier frequency of the second sidewave bitstream is less than the carrier frequency of the intermediate bitstream.

[0077] This method uses the example of one first-side bitstream and one second-side bitstream as the primary example. In other examples, the number of the first-side bitstream and the second-side bitstream may each be multiple. The number of intermediate bitstreams shown in this method is at least one.

[0078] For example, Figure 3 The N-channel first bitstream 310 shown specifically includes first bitstream 1, first bitstream 2 to first bitstream N. First bitstream 1 is the first sidewave bitstream. First bitstream N is the second sidewave bitstream. First bitstream 2 to first bitstream N-1 are intermediate wavewave bitstreams.

[0079] It is evident that the carrier frequency of the first bitstream 1 is greater than the carrier frequency of any bitstream from the first bitstream 2 to the first bitstream N-1. The carrier frequency of the first bitstream N is less than the carrier frequency of any bitstream from the first bitstream 2 to the first bitstream N-1.

[0080] When the interference experienced by the sideband bitstream is greater than that experienced by the middleband bitstream, the transmitting device uses different first FEC encoding methods for the middleband bitstream and the sideband bitstream to ensure that the first overhead corresponding to the middleband bitstream is less than the first overhead corresponding to the sideband bitstream, thereby ensuring that the receiving device has a stronger error correction capability for the sideband bitstream based on the larger first overhead.

[0081] As can be seen, the transmitting device performs first FEC encoding on the first bitstream 1 and the first bitstream N respectively to generate the first overhead T1. The transmitting device performs first FEC encoding on the first bitstream 2 to the first bitstream N-1 respectively to generate the second overhead T2. The number of bits included in the first overhead T1 is greater than the number of bits included in the first overhead T2.

[0082] Specifically, the transmitting device performs first FEC encoding on each H1 kilobits (kbits) of data in each sidewave bitstream to generate a first overhead. The transmitting device can then obtain a second bitstream including the sidewave bitstream and the corresponding first overhead.

[0083] For example, the transmitting device performs a first FEC encoding on a first bitstream 1 to generate a first overhead T1. The transmitting device then acquires a second bitstream 321. The second bitstream 321 includes the first bitstream 1 and the corresponding first overhead T1. Similarly, the transmitting device performs a first FEC encoding on a first bitstream N to generate a first overhead T1. The transmitting device then acquires a second bitstream 322. The second bitstream 322 includes the first bitstream N and the corresponding first overhead T1.

[0084] The transmitting device performs first FEC encoding on each H2 kbit of data in each intermediate bitstream to generate a first overhead T2. The transmitting device can then obtain a second bitstream including the intermediate bitstream and the corresponding first overhead T2.

[0085] For example, the transmitting device performs a first FEC encoding on the first bitstream 2 to generate a first overhead T2. The transmitting device acquires a second bitstream 323. The second bitstream 323 includes the first bitstream 2 and the corresponding first overhead T2. Similarly, the transmitting device performs a first FEC encoding on the first bitstream N-1 to generate a first overhead T2. The transmitting device acquires a second bitstream 324. The second bitstream 324 includes the first bitstream N-1 and the corresponding first overhead T2.

[0086] Optionally, the first overhead T2 corresponding to the intermediate wavelet bit stream is less than the first overhead T1 corresponding to the side wavelet bit stream. To ensure that the bandwidth of the multiple bit streams sent to the receiving device remains consistent, the transmitting device can guarantee that H1 is less than H2.

[0087] This embodiment uses the configuration shown in Method 2 above as an example to illustrate the first overhead.

[0088] Step 202: The transmitting device performs second FEC encoding on N second bit streams to obtain the second overhead.

[0089] The following provides illustrative examples of several optional methods by which the transmitting device in this embodiment obtains the second overhead:

[0090] Method 1

[0091] The transmitting device merges N second bitstreams to obtain a merged bitstream. Specifically, the transmitting device concatenates the N second bitstreams end-to-end to form the merged bitstream. For example, the transmitting device concatenates the last byte of second bitstream 321 with the first byte of second bitstream 323 to achieve concatenation of second bitstream 321 and second bitstream 323. This process continues until the last byte of second bitstream N-1 is concatenated with the first byte of second bitstream N to obtain the merged bitstream.

[0092] The transmitting device performs a second FEC encoding on the merged bitstream to obtain the second overhead.

[0093] Method 2

[0094] The transmitting device interleaves and encodes the N second bit streams to obtain the interleaved bit stream.

[0095] Specifically, in the signal transmitted from the transmitting device to the receiving device, erroneous bits are often consecutive. However, FEC coding is only effective for detecting and correcting single bits or short bit strings. To solve this problem, it is desirable to spread out the consecutive bits in the bit stream. In this way, even if a series of bit errors occur during transmission, the erroneous bits received by the receiving device are spread out, effectively improving the accuracy of decoding the bit stream. This technique of spreading out the bits in the bit stream to be transmitted is called interleaving coding.

[0096] Therefore, this embodiment uses interleaving coding to discretize a long burst error in the N-channel second bit stream into random errors, and then uses second FEC coding to eliminate the random errors. It is evident that by combining interleaving coding and second FEC coding, the reliability of the communication system can be effectively improved.

[0097] More specifically, after interleaving and encoding the N second bit streams, the transmitting device can shuffle the order of the individual second bit streams within the N second bit streams, as well as the distribution of all payloads and first overheads included in the N second bit streams. This results in all payloads and first overheads included in the N second bit streams being uniformly distributed in the interleaved bit streams.

[0098] The transmitting device performs the second FEC encoding on the interleaved bitstream to obtain the second overhead.

[0099] Step 203: The transmitting device allocates the second overhead to the N1-way first subcarrier bit stream to obtain the N1-way third subcarrier bit stream.

[0100] The N-channel second bitstream shown in this embodiment includes N1 channels of first subcarrier bitstream and N2 channels of second subcarrier bitstream. Here, N1 is an integer greater than or equal to 1, N2 is a natural number, and N1 + N2 = N. This embodiment uses an example where N2 is an integer greater than or equal to 1 for illustration. In other examples, if N2 is 0, it means that the N-channel second bitstream only includes the first subcarrier bitstream.

[0101] The transmitting device shown in this embodiment is used to allocate a second overhead to the N1-way first subcarrier bit stream, but not to allocate a second overhead to the N2-way second subcarrier bit stream.

[0102] The N-channel second bitstream shown in this embodiment includes a sidewave bitstream and a middlewave bitstream. For a detailed explanation of the sidewave bitstream and the middlewave bitstream, please refer to step 201 above. Detailed explanations will not be repeated here.

[0103] To improve the error correction capability for decoding sidewave bitstreams that are subject to significant interference, the N1-channel first subcarrier bitstream shown in this embodiment comprises all the sidewave bitstreams included in the N-channel second bitstream. The transmitting device can then allocate this second overhead to all sidewave bitstreams. The N2-channel second subcarrier bitstream comprises all the intermediate bitstreams included in the N-channel second bitstream. The transmitting device does not need to allocate this second overhead to the intermediate bitstreams.

[0104] For example, in N second bitstreams, second bitstream 321 and second bitstream 322 are sidewave bitstreams. It can be seen that both second bitstream 321 and second bitstream 322 are first subcarrier bitstreams. In this example, N1 is 2. The transmitting device allocates a second overhead to second bitstream 321 and second bitstream 322.

[0105] For example, in N second bit streams, second bit streams 323 to 324 are all intermediate wave bit streams. It can be seen that second bit streams 323 to 324 are all second subcarrier bit streams. The transmitting device does not need to allocate second overhead to second bit streams 323 to 324.

[0106] It should be clarified that this embodiment uses the example of all sidewave bitstreams being first subcarrier bitstreams and all intermediate waveband bitstreams being second subcarrier bitstreams for illustrative purposes, without limitation. This is only applicable if the transmitting device determines that a portion of the N second bitstreams are first subcarrier bitstreams, while the remaining portion are second subcarrier bitstreams.

[0107] For example, the transmitting device can determine that in N second bit streams, a portion of the sidewave bit streams are first subcarrier bit streams. The remaining sidewave bit streams and all intermediate wavewave bit streams are second subcarrier bit streams. Figure 3 The sidewave bitstream 321 shown is the first subcarrier bitstream, while the sidewave bitstream 322 and all intermediate bitstreams are the second subcarrier bitstreams.

[0108] For example, the transmitting device determines that in the N second bit streams, all sidewave bit streams and some intermediate wave bit streams are the first subcarrier bit streams, while the remaining intermediate wave bit streams are the second subcarrier bit streams.

[0109] The following explains the specific process by which the transmitting device allocates the second overhead to the N1-way first subcarrier bit stream:

[0110] The transmitting device divides this second overhead into N1 sub-overheads. As explained above, N1 is the number of bit streams in the first subcarrier.

[0111] The transmitting device allocates N1 sub-overheads to N1 first subcarrier bitstreams to obtain N1 third bitstreams. It can be seen that each third subcarrier bitstream includes one first subcarrier bitstream and one sub-overhead. Furthermore, different third subcarrier bitstreams include different first subcarrier bitstreams.

[0112] For example, in N second subcarrier bitstreams, the transmitting device has determined that second bitstreams 321 and 322 are first subcarrier bitstreams. Therefore, N1 has a value of 2. The transmitting device divides this second overhead into two sub-overheadings. First subcarrier bitstream 321 and one sub-overheading constitute the third subcarrier bitstream 331. First subcarrier bitstream 322 and another sub-overheading constitute the third subcarrier bitstream 332.

[0113] As can be seen, this embodiment can carry the second overhead through N1 third subcarrier bit streams to improve the error correction capability of the receiving device for sidewave bit streams that are subject to significant interference.

[0114] In this embodiment, the transmitting device can divide the second overhead into N1 sub-overheads on an equal footing. All N1 sub-overheads are of equal size. For example, taking a second overhead size of 2 M bits as an example, the transmitting device divides this 2 M bit second overhead into two sub-overheads, each of which is 1 M bit in size. The transmitting device allocates a 1 M bit sub-overhead in each third subcarrier bitstream.

[0115] It should be noted that this embodiment is illustrated using the example that all sub-overhead costs are the same size. In other examples, the sizes of different sub-overhead costs may also be different.

[0116] Using the steps described above, the transmitting device can perform two FEC encodings on the N-channel first bitstream 310: a first FEC encoding and a second FEC encoding. These two FEC encodings provide dual error correction protection for the N-channel first bitstream 310, improving the error correction capability for decoding the N-channel first bitstream 310 and ensuring a balanced error correction capability for the receiving device when decoding the N-channel bitstream, thereby enhancing the overall error correction capability of the receiving device when decoding the N-channel bitstream.

[0117] Step 204: The transmitting device sends N third bit streams to the receiving device.

[0118] The N-channel third bitstream 330 shown in this embodiment includes N1-channel third subcarrier bitstream and N2-channel second subcarrier bitstream. For a detailed explanation of the N1-channel third subcarrier bitstream and N2-channel second subcarrier bitstream, please refer to the steps above, which will not be repeated here.

[0119] The transmitting device modulates N third bit streams onto N subcarriers to transmit the N subcarriers to the receiving device.

[0120] Optionally, in order to improve the accuracy and efficiency of the receiving device in decoding the N third bit streams, the bandwidth of the N third subcarrier bit streams shown in this embodiment is the same.

[0121] Step 205: The receiving device acquires the second subcarrier bit stream after decoding the first FEC channel N2.

[0122] The receiving device demodulates the received N subcarriers to obtain N third bitstreams. The receiving device then performs first FEC decoding on each of the second subcarrier bitstreams included in the N third bitstreams to obtain N² first FEC-decoded second subcarrier bitstreams. The specific process of first FEC decoding for each second subcarrier bitstream is explained below:

[0123] First, upon receiving N third bit streams, the receiving device determines the N1 third subcarrier bit streams and N2 second subcarrier bit streams included in the N third bit streams. Specifically, the transmitting and receiving devices shown in this embodiment can pre-agree on the specific positions of the third and second subcarrier bit streams in the N third bit streams. For example, the transmitting and receiving devices can agree that in the N third bit streams, third bit stream 1 and third bit stream N are respectively the third subcarrier bit streams, and third bit streams 2 to N-1 are respectively the second subcarrier bit streams.

[0124] Secondly, the receiving device performs a first FEC decoding on each determined second subcarrier bitstream to obtain the second subcarrier bitstream after the first decoding. It can be seen that the receiving device performs a first FEC decoding on the intermediate wavelet bitstream included in the second subcarrier bitstream and the first overhead corresponding to that intermediate wavelet bitstream to obtain the second subcarrier bitstream after the first decoding. Specifically, the receiving device performs a first FEC decoding on each determined second subcarrier bitstream based on the first overhead to obtain the second subcarrier bitstream after the first decoding.

[0125] Continue as Figure 3 As shown, the receiving device determines that the third bitstream 333 included in the N-channel third bitstream 330 is the second subcarrier bitstream. The receiving device can then perform a first FEC decoding on the H2 kbit data included in the second subcarrier bitstream 333 and the corresponding first overhead to obtain the second subcarrier bitstream after the first decoding. The bit error rate of the second subcarrier bitstream after the first decoding is lower than that of the second subcarrier bitstream itself.

[0126] Step 206: The receiving device acquires the second subcarrier bit stream after decoding the second FEC on the N2 channel and the third subcarrier bit stream after decoding the second FEC on the N1 channel.

[0127] Specifically, the receiving device shown in this embodiment performs a second FEC decoding on the N2-channel second subcarrier bit stream after the first FEC decoding and the N1-channel third subcarrier bit stream based on the first overhead and the second overhead, so as to obtain the N2-channel second subcarrier bit stream after the second decoding and the N1-channel third subcarrier bit stream after the first decoding.

[0128] like Figure 3As shown, the receiving device performs a second FEC decoding on all third subcarrier bit streams and all second subcarrier bit streams after the first decoding to obtain N1 channels of second subcarrier bit streams after the second decoding and N1 channels of third subcarrier bit streams after the first decoding.

[0129] In this embodiment, because the interference experienced by the second subcarrier bitstream is relatively small, the number of erroneous bits in the second subcarrier bitstream is relatively small. Through step 205, the receiving device can obtain the second subcarrier bitstream after the first decoding with a relatively low bit error rate.

[0130] The receiving equipment jointly performs a second FEC decoding on the N1-channel third subcarrier bitstream, which is subject to greater interference, and the N2-channel second subcarrier bitstream, which has a relatively low bit error rate after the first decoding. This helps to improve the error correction capability of decoding the third subcarrier bitstream by using the second subcarrier bitstream after the first decoding, which has a relatively low bit error rate. This further reduces the number of erroneous bits in both the second subcarrier bitstream after the second decoding and the third subcarrier bitstream after the first decoding.

[0131] The reason for performing two FEC decodings on the second subcarrier bitstream to improve error correction capability is explained below:

[0132] If a second subcarrier bitstream contains D1 erroneous bits, and after performing the first FEC decoding on the second subcarrier bitstream, E1 erroneous bits can be found from it, where E1 is less than D1, then there are still D1-E1 erroneous bits in the second subcarrier bitstream that have not been found.

[0133] If the first FEC decoding is performed on the second subcarrier bitstream one or more more times, due to the mathematical constraints of the first FEC decoding, it is impossible to find more error bits in the second subcarrier bitstream based on the first FEC. Therefore, D1-E1 error bits in the second subcarrier bitstream have not yet been found.

[0134] The method shown in this embodiment can perform a first FEC decoding on the second subcarrier bitstream, and then perform a second FEC decoding on the second subcarrier bitstream after the first decoding to obtain the second subcarrier bitstream after the second decoding.

[0135] It is evident that the decoding objects of the second FEC decoding (the second subcarrier bitstream after the first decoding of N2 channels and the third subcarrier bitstream of N1 channels) are different from those of the first FEC decoding (the second subcarrier bitstream of N2 channels). For the second subcarrier bitstream, the second FEC decoding can break the mathematical constraints of the first FEC decoding. Therefore, when D1-E1 erroneous bits remain after the first FEC decoding of the second subcarrier bitstream, the second FEC decoding can further identify E2 erroneous bits. Here, E2 is less than D1. Thus, after this second FEC decoding, the second subcarrier bitstream only has D1-E1-E2 erroneous bits remaining.

[0136] As can be seen, this embodiment, through two FEC decodings, can effectively improve the error correction capability of the second subcarrier bit stream and reduce the bit error rate of the second subcarrier bit stream.

[0137] Step 207: The receiving device acquires the N1 channel third subcarrier bit stream after the second decoding.

[0138] Specifically, the receiving device performs a first FEC decoding on the third subcarrier bit stream after the first decoding of each channel in order to obtain the third subcarrier bit stream after the second decoding.

[0139] In this embodiment, to improve the error correction capability of the third subcarrier bitstream, which is subject to significant interference, it is necessary to perform two FEC decodings on the third subcarrier bitstream. The first FEC decoding is shown in step 206, and the second FEC decoding is shown in step 207.

[0140] The following explains why the third subcarrier bitstream is subjected to two FEC decoding operations to improve error correction capability:

[0141] If a third subcarrier bitstream contains D2 erroneous bits, performing a second FEC decoding on that third subcarrier bitstream will identify E3 erroneous bits. Since E3 is less than D2, there are still D2-E3 erroneous bits in the third subcarrier bitstream that have not been identified.

[0142] If the third subcarrier bitstream is subjected to one or more second FEC decodings, due to the mathematical constraints of the second FEC decoding, it is impossible to find more error bits in the third subcarrier bitstream based on the second FEC. Therefore, D2-E3 error bits in the third subcarrier bitstream have not yet been found.

[0143] The method shown in this embodiment can perform a second FEC decoding on the third subcarrier bit stream, and then perform a first FEC decoding on the third subcarrier bit stream to obtain the third subcarrier bit stream after the second decoding.

[0144] It is evident that the decoding objects of the second FEC decoding (the second subcarrier bitstream after the first decoding of N2 channels and the third subcarrier bitstream of N1 channels) are different from those of the first FEC decoding (the third subcarrier bitstream after the first decoding of N1 channels). For the third subcarrier bitstream, the first FEC decoding can break the mathematical constraints of the second FEC decoding. Therefore, when D2-E3 error bits remain after the first FEC decoding of the third subcarrier bitstream, the first FEC decoding can further identify E4 error bits. Here, E4 is less than D2. Thus, after the first FEC decoding, the third subcarrier bitstream only has D2-E3-E4 error bits remaining.

[0145] It is evident that two FEC decoding operations can effectively improve the error correction capability of the third subcarrier bit stream.

[0146] Step 208: The receiving device acquires the first bit stream of N channels.

[0147] Specifically, the receiving device shown in this embodiment performs a second FEC decoding on the N2-channel second subcarrier bit stream after the second decoding and the N1-channel third subcarrier bit stream after the second decoding to obtain the N-channel first bit stream.

[0148] As can be seen, after step 207, the receiving device can obtain the third subcarrier bitstream after the second decoding with a relatively low bit error rate. Then, through step 208, the receiving device performs a second FEC decoding on both the N2 and N1 second-decoded second subcarrier bitstreams. This allows the second-decoded third subcarrier bitstream with a lower bit error rate to aid in the decoding of the second-decoded second subcarrier bitstream, thereby further reducing the bit error rate of the second subcarrier bitstream and improving the receiving device's error correction capability for the second subcarrier bitstream.

[0149] Optionally, the receiving device shown in this embodiment has already acquired the N first bit streams and can return to step 205. It can be seen that by repeatedly performing the FEC decoding process as described in steps 205 to 207 above on the N first bit streams, the receiving device effectively improves the accuracy of decoding the N first bit streams.

[0150] Optionally, after acquiring N first bitstreams, the receiving device shown in this embodiment can perform first FEC decoding on each of the N first bitstreams individually to obtain N first FEC-decoded first bitstreams. The receiving device determines whether to return to step 205 for the N first FEC-decoded first bitstreams through a decision. If the decision is successful, it indicates that the receiving device has successfully decoded the N first bitstreams and does not need to return to step 205. If the decision fails, it indicates that the receiving device has failed to decode the N first bitstreams and needs to return to step 205 to re-decode.

[0151] This embodiment does not limit the specific method of decision-making. For example, the decision can be hard decision or soft decision. Hard decision simply determines the value of each bit in each first bitstream by setting a threshold. In binary terms, generally, a value greater than 0 is considered 1, and a value less than 0 is considered 0. Soft decision first quantizes each bit of each first bitstream into N values, and then calculates the most likely original value for each value using probability.

[0152] This embodiment illustrates the example where the sidewave bitstream on the transmitting device side includes data to be transmitted to the receiving device. In other examples, the data to be transmitted to the receiving device can be allocated only to the intermediate bitstream, while the sidewave bitstream does not include the data to be transmitted to the receiving device. Therefore, by using this example, the sidewave bitstream does not carry the data to be transmitted, thus reducing the bit error rate of the transmitted data.

[0153] The method shown in this embodiment improves the error correction capability of the receiving device in decoding N third bitstreams. It ensures a balanced error correction capability across the N third bitstreams, thereby enhancing the overall error correction capability of the receiving device. Furthermore, on the receiving device side, the overhead included in the third subcarrier bitstream differs from that included in the second subcarrier bitstream, resulting in faster convergence during decoding and thus better error correction capability.

[0154] The following combination Figure 4 The second embodiment of the method provided in this application is illustrated below. Using the method shown in this embodiment, the error correction capability of the receiving device for FEC decoding of N-channel third bitstreams can be further improved. The specific execution process is as follows:

[0155] Step 401: The transmitting device performs first FEC encoding on each first bit stream to obtain the second bit stream.

[0156] Step 402: The transmitting device performs second FEC encoding on the N second bit streams to obtain the second overhead.

[0157] Step 403: The transmitting device allocates the second overhead to the N1-way first subcarrier bit stream to obtain the N1-way third subcarrier bit stream.

[0158] Step 404: The transmitting device sends N third bit streams to the receiving device.

[0159] Step 405: The receiving device acquires the second subcarrier bit stream after the first decoding of N2 channels.

[0160] For a detailed description of the execution process of steps 401 to 405 shown in this embodiment, please refer to [link to documentation]. Figure 2 The specific execution process shown in steps 201 to 205 is not described in detail in this embodiment.

[0161] Step 406: The receiving device acquires the bit stream of the third subcarrier after the first equalization processing of N1 channels.

[0162] Specifically, for the third subcarrier bit stream that is subject to significant interference, the receiving device performs equalization processing on each third subcarrier bit stream to obtain the third subcarrier bit stream after the first equalization processing.

[0163] The equalization processing shown in this embodiment refers to the receiving device generating characteristics opposite to those of the channel for each third subcarrier bitstream to cancel inter-symbol interference (ISI) caused by the time-varying multipath propagation characteristics of the channel. Since ISI distorts the transmitted third subcarrier bitstream signal, bit errors occur during reception. This equalization processing is used by the receiving device to cancel ISI, thereby reducing the bit error rate of the third subcarrier bitstream after the first equalization processing.

[0164] This embodiment does not limit the execution sequence between steps 405 and 406.

[0165] Step 407: The receiving device acquires the second subcarrier bit stream after the second decoding of N2 channels and the third subcarrier bit stream after the first decoding of N1 channels.

[0166] Specifically, the receiving device shown in this embodiment performs a second FEC decoding on N2 channels of the second subcarrier bit stream after the first decoding and N1 channels of the third subcarrier bit stream after the first equalization processing, in order to obtain the second subcarrier bit stream after the second decoding and the third subcarrier bit stream after the first decoding.

[0167] For the execution process of step 407 shown in this embodiment, please refer to [link to relevant documentation]. Figure 2 The steps shown in step 206 are not detailed here.

[0168] Step 408: The receiving device acquires the bit stream of the third subcarrier after the second equalization processing of N1 channels.

[0169] Specifically, the receiving device performs equalization processing on each of the first decoded third subcarrier bitstreams to obtain the second equalized third subcarrier bitstream. For a detailed explanation of the equalization processing, please refer to step 406; further details will not be elaborated here.

[0170] Step 409: The receiving device acquires the N1 channel third subcarrier bit stream after the second decoding.

[0171] Specifically, the receiving device performs a first FEC decoding on each of the third subcarrier bit streams after the second equalization processing to obtain N1 third subcarrier bit streams after the second decoding.

[0172] For the execution process of step 409 shown in this embodiment, please refer to [link to relevant documentation]. Figure 3 The steps shown in step 207 are not detailed here.

[0173] Step 410: The receiving device acquires the first bit stream of N channels.

[0174] For the execution process of step 410 shown in this embodiment, please refer to [link to relevant documentation]. Figure 2 As shown in step 208, the specific execution process will not be elaborated upon.

[0175] The method shown in this embodiment is used to perform equalization processing on the third subcarrier bitstream, which is subject to significant interference, thereby further reducing the bit error rate of the third subcarrier bitstream and improving the error correction capability of decoding the third subcarrier bitstream.

[0176] Furthermore, because this embodiment performs two equalization processes on the third subcarrier bitstream, which is subject to significant interference, the accuracy of decoding the third subcarrier bitstream is effectively improved.

[0177] The following describes the application provided for execution. Figure 2 or Figure 4 The structure of the processing circuit in any embodiment will be described. For example... Figure 5 As shown, the processing circuit 500 in this embodiment includes a logic circuit 501 and an interface circuit 502 connected in sequence.

[0178] When the transmitting device includes the processing circuit 500, it is executed by the logic circuit 501. Figure 2 as well as Figure 4 The steps related to the transmitting device-side processing shown in any embodiment. Interface circuit 502 is used to perform... Figure 2 as well as Figure 4 The steps related to sending the bit stream are shown in any embodiment.

[0179] When the receiving device includes the processing circuit 500, it is executed by the logic circuit 501. Figure 2 as well as Figure 4 The steps related to receiving device-side processing shown in any embodiment. Interface circuit 502 is used to perform... Figure 2 as well as Figure 4 The steps related to receiving the bit stream shown in any embodiment.

[0180] Optionally, the logic circuit 501 shown in this embodiment can also be referred to as a processor. The interface circuit 502 can also be implemented with a single interface circuit to perform transmit and receive functions.

[0181] The processing device including the processing circuit 500 shown in this embodiment can be one or more chips, or one or more integrated circuits. For example, the processing device can be one or more field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), system-on-chips (SoCs), central processors (CPUs), digital signal processors (DSPs), microcontroller units (MCUs), programmable logic devices (PLDs), or other integrated chips, or any combination of the above chips or processors.

[0182] The following combination Figure 6 As shown, the structure of the transmitting device is explained from the perspective of functional modules:

[0183] The transmitting device 600 shown in this embodiment includes N first FEC encoding modules, a second FEC encoding module 610, N1 allocation modules, and N transmitting modules.

[0184] It should be clarified that the number of allocation modules shown in this embodiment is equal to the number of first subcarrier bit streams. This embodiment uses a value of 2 for N1 as an example for illustrative purposes. Among the N first FEC encoding modules, first FEC encoding module 1 is connected sequentially to allocation module 1 and transmission module 1. First FEC encoding module N is connected sequentially to allocation module 2 and transmission module N. First FEC encoding modules 2 to N-1 are connected to transmission modules 2 to N-1, respectively.

[0185] N first FEC encoding modules are each connected to a second FEC encoding module 610. The second FEC encoding module 610 is connected to allocation module 1 and allocation module 2.

[0186] exist Figure 6 The transmitting device shown performs Figure 2 In the illustrated embodiment, N first FEC encoding modules are used to perform step 201. Two first FEC encoding modules (i.e., first FEC encoding module 1 and first FEC encoding module N) for outputting the first subcarrier bitstream are respectively connected to two allocation modules to send the first subcarrier bitstream to the allocation modules. For a detailed description of the first subcarrier bitstream, please refer to [link to documentation]. Figure 2 As shown, the specifics will not be elaborated further.

[0187] The first FEC encoding module (i.e., the first FEC encoding module 2 and the first FEC encoding module N-1) used to output the second subcarrier bit stream sends the second subcarrier bit stream to the transmitting modules 2 to N-1 respectively.

[0188] The first FEC encoding module (i.e., the first FEC encoding module 1 and the first FEC encoding module N) is also used to send the acquired first subcarrier bit stream to the second FEC encoding module 610. The first FEC encoding module (i.e., the first FEC encoding module 2 and the first FEC encoding module N-1) is also used to send the acquired second subcarrier bit stream to the second FEC encoding module 610.

[0189] When the second FEC encoding module 610 receives N second bit streams from N first FEC encoding modules, the second FEC encoding module 610 is used to perform steps 202 to 203.

[0190] The second FEC encoding module 610 is also used to divide the second overhead into two sub-overheads. For a detailed explanation of the sub-overheads, please refer to [link to documentation]. Figure 2 As shown, details will not be elaborated further. The second FEC encoding module 610 is also used to send the two sub-overheads to allocation module 1 and allocation module 2 respectively.

[0191] Two allocation modules are used to construct a third subcarrier bitstream from the sub-overhead and the first subcarrier bitstream. For a detailed explanation of the third subcarrier bitstream, please refer to [link to documentation]. Figure 2 The specific implementation examples shown are not described in detail.

[0192] If N transmitting modules receive N third bit streams, then N transmitting modules are used to execute step 204. For a detailed explanation of the third bit stream, please see [link to documentation]. Figure 2 The specific implementation examples shown are not described in detail.

[0193] exist Figure 6 The transmitting device shown performs Figure 4In the illustrated embodiment, N first FEC encoding modules are used to perform step 401. The first FEC encoding modules (i.e., first FEC encoding module 2 and first FEC encoding module N-1) used to output the second subcarrier bit stream send the second subcarrier bit stream to the transmitting modules 2 to N-1 respectively.

[0194] The first FEC encoding module (i.e., the first FEC encoding module 1 and the first FEC encoding module N) is also used to send the acquired first subcarrier bit stream to the second FEC encoding module 610. The first FEC encoding module (i.e., the first FEC encoding module 2 and the first FEC encoding module N-1) is also used to send the acquired second subcarrier bit stream to the second FEC encoding module 610.

[0195] When the second FEC encoding module 610 receives N second bit streams from N first FEC encoding modules, the second FEC encoding module 610 is used to execute steps 402 to 403.

[0196] The second FEC encoding module 610 is also used to divide the second overhead into two sub-overheads. For a detailed explanation of the sub-overheads, please refer to [link to documentation]. Figure 2 As shown, details will not be elaborated further. The second FEC encoding module 610 is also used to send the two sub-overheads to allocation module 1 and allocation module 2 respectively.

[0197] Two allocation modules are used to construct a third subcarrier bitstream from the sub-overhead and the first subcarrier bitstream. For a detailed explanation of the third subcarrier bitstream, please refer to [link to documentation]. Figure 2 The specific implementation examples shown are not described in detail.

[0198] If N transmitting modules receive N third bit streams, then N transmitting modules are used to execute step 404. For a detailed explanation of the third bit stream, please see [link to documentation]. Figure 2 The specific implementation examples shown are not described in detail.

[0199] The following combination Figure 7 As shown, from the perspective of functional modules, the modules used for execution Figure 2 The structure of the receiving device 700 in the illustrated embodiment will be described below:

[0200] The receiving device 700 shown in this embodiment includes N first FEC decoding modules and a second FEC decoding module 710 connected to the N first FEC decoding modules.

[0201] Specifically, the first FEC decoding modules 2 to N-1 are used to acquire the second subcarrier bit stream. For a detailed explanation of the second subcarrier bit stream, please refer to [link to documentation]. Figure 2 The specific implementation examples shown are not described in detail.

[0202] The first FEC decoding modules 2 to N-1 are respectively used to execute step 205. Each first FEC decoding module sends the second subcarrier bit stream after the first decoding to the second FEC decoding module 710.

[0203] The second FEC decoding module 710 also receives the third subcarrier bit stream. The second FEC decoding module 710 performs step 206. The second FEC decoding module 710 sends the two output third subcarrier bit streams after the first decoding to the first FEC decoding module 1 and the first FEC decoding module N, respectively.

[0204] The first FEC decoding module 1 and the first FEC decoding module N are respectively used to execute step 207. The first FEC decoding module 1 and the first FEC decoding module N are also used to send the third subcarrier bit stream after the second decoding to the second FEC decoding module 710.

[0205] The second FEC decoding module 710 is used to perform step 208.

[0206] The following combination Figure 8 As shown, from the perspective of functional modules, the modules used for execution Figure 4 The structure of the receiving device 800 in the illustrated embodiment will be described below:

[0207] The receiving device 800 shown in this embodiment includes N first FEC decoding modules, and a second FEC decoding module 710 connected to the first FEC decoding modules 2 to N-1. An equalization module 720 is connected to the second FEC decoding module 710. Furthermore, the first FEC decoding modules 1 and N are each connected to N1 equalization modules 720. This embodiment uses a value of 2 for N1 as an example for illustrative purposes.

[0208] Specifically, the first FEC decoding modules 2 to N-1 are used to acquire the second subcarrier bit stream. For a detailed explanation of the second subcarrier bit stream, please refer to [link to documentation]. Figure 2 The specific implementation examples shown are not described in detail.

[0209] The first FEC decoding modules 2 to N-1 are respectively used to execute step 405. Each first FEC decoding module sends the second subcarrier bit stream after the first decoding to the second FEC decoding module 710.

[0210] The equalization module 720 is used to execute step 406. Furthermore, each equalization module 720 is also used to send the third subcarrier bit stream after the first equalization process to the second FEC decoding module 710.

[0211] The second FEC decoding module 710 also receives the third subcarrier bit stream after the first equalization process. The second FEC decoding module 710 executes step 407. The second FEC decoding module 710 sends the two output third subcarrier bit streams after the first decoding to the two equalization modules 720 respectively. The equalization module 720 executes step 408. The two equalization modules 720 also send two second equalization-processed third subcarrier bit streams to the first FEC decoding module 1 and the first FEC decoding module N respectively.

[0212] The first FEC decoding module 1 and the first FEC decoding module N are respectively used to execute step 409. The first FEC decoding module 1 and the first FEC decoding module N are also used to send the third subcarrier bit stream after the second decoding to the second FEC decoding module 710.

[0213] The second FEC decoding module 710 is used to perform step 410.

[0214] The following combination Figure 9 The specific structure of the network device provided in this application is illustrated below. Figure 9 As shown, the network device 900 includes a processor 901, a memory 902, and a transceiver 903. The processor 901, memory 902, and transceiver 903 are interconnected via a line. The memory 902 is used to store program instructions and data.

[0215] In this embodiment, when the network device is used as a transmitting device, the memory 902 stored in this embodiment supports... Figure 2 as well as Figure 4 The steps shown are executed by processor 901. Figure 2 as well as Figure 4 The processing-related steps shown in any embodiment. Transceiver 903 is used to perform... Figure 2 as well as Figure 4 The steps associated with sending the bit stream in any embodiment.

[0216] For example, in Figure 2 In this process, processor 901 is used to execute steps 201 to 203. Transceiver 903 is used to execute step 204.

[0217] For example, in Figure 4 In this process, processor 901 is used to execute steps 401 to 403. Transceiver 903 is used to execute step 404.

[0218] In this embodiment, when the network device is used as a receiving device, the memory 902 stored in this embodiment supports... Figure 2 as well as Figure 4The steps shown are executed by processor 901. Figure 2 as well as Figure 4 The processing-related steps shown in any embodiment. Transceiver 903 is used to perform... Figure 2 as well as Figure 4 The steps associated with receiving the bit stream in any embodiment.

[0219] For example, in Figure 2 In this context, processor 901 is used to execute steps 205 to 208. For example, in... Figure 4 In this process, processor 901 is used to execute steps 405 to 410.

[0220] Based on the above embodiments, this application also provides a computer-readable storage medium storing a software program that, when read and executed by one or more processors, can implement the methods provided in any one or more of the above embodiments.

[0221] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.

Claims

1. An encoding method, characterized in that, The method includes: The first forward error correction (FEC) coding is performed on the N-channel first bit stream to obtain the first overhead. The N-channel first bit stream includes N1 channels of first subcarrier bit stream and N2 channels of second subcarrier bit stream, where N1 is an integer greater than or equal to 1, N2 is a natural number, and N1 + N2 = N. The first overhead is allocated to the N1-way first subcarrier bit stream to obtain the N1-way third subcarrier bit stream; N second bit streams are transmitted, the N second bit streams including the N1 third subcarrier bit streams and the N2 second subcarrier bit streams, wherein the interference experienced by the third subcarrier bit streams is greater than the interference experienced by the second subcarrier bit streams.

2. The encoding method according to claim 1, characterized in that, Before performing the first FEC encoding on the N-channel first bitstream to obtain the first overhead, the method further includes: Each of the N third bitstreams is subjected to a second FEC encoding to obtain the N first bitstreams, wherein the first bitstreams include a second overhead.

3. The encoding method according to claim 1 or 2, characterized in that, The carrier frequency of the first subcarrier bitstream is less than the carrier frequency of the second subcarrier bitstream, or the carrier frequency of the first subcarrier bitstream is greater than the carrier frequency of the second subcarrier bitstream.

4. The encoding method according to claim 1 or 2, characterized in that, The step of allocating the first overhead to the N1-way first subcarrier bitstream to obtain the N1-way third subcarrier bitstream includes: Divide the first cost into N1 sub-costs; The N1 sub-overheads are allocated to the N1 first subcarrier bitstreams to obtain the N1 third subcarrier bitstreams, and each of the N1 third subcarrier bitstreams includes one of the sub-overheads.

5. The encoding method according to claim 2, characterized in that, Each of the third bitstreams includes a second overhead, which is generated by performing the second FEC encoding on each of the third bitstreams, wherein the second overhead included in the third subcarrier bitstream contains more bits than the second overhead included in the second subcarrier bitstream.

6. The encoding method according to claim 1 or 2, characterized in that, The step of performing first FEC encoding on the N-channel first bitstream to obtain the first overhead includes: The N first bit streams are merged to obtain the merged bit stream; The merged bitstream is subjected to the first FEC encoding to obtain the first overhead.

7. The encoding method according to claim 1 or 2, characterized in that, The step of performing first FEC encoding on the N-channel first bitstream to obtain the first overhead includes: The N-channel first bitstream is interleaved and encoded to obtain the interleaved bitstream; The interleaved bitstream is subjected to the first FEC encoding to obtain the first overhead.

8. A decoding method, characterized in that, The method includes: Receive N second bit streams, the N second bit streams including N1 third subcarrier bit streams and N2 second subcarrier bit streams, where N1 is an integer greater than or equal to 1, N2 is a natural number, and N1 + N2 = N; the N1 third subcarrier bit streams include a first overhead, wherein the interference received by the third subcarrier bit stream is greater than the interference received by the second subcarrier bit streams; Perform first FEC decoding on the N2-channel second subcarrier bitstream and the N1-channel third subcarrier bitstream to obtain the N2-channel second subcarrier bitstream and the N1-channel third subcarrier bitstream after first FEC decoding; Perform second FEC decoding on the third subcarrier bitstream after the first FEC decoding of each channel to obtain the third subcarrier bitstream after the second FEC decoding. The first FEC decoding is performed on the N2-channel first FEC decoded second subcarrier bitstream and the N1-channel second FEC decoded third subcarrier bitstream to obtain the N-channel first bitstream.

9. The decoding method according to claim 8, characterized in that, Before performing the first FEC decoding on the N2-channel second subcarrier bitstream and the N1-channel third subcarrier bitstream, the method further includes: Perform a second FEC decoding on each of the second subcarrier bit streams to obtain the second subcarrier bit stream after the second FEC decoding.

10. The decoding method according to claim 9, characterized in that, The carrier frequency of the first subcarrier bitstream is less than the carrier frequency of the second subcarrier bitstream, or the carrier frequency of the first subcarrier bitstream is greater than the carrier frequency of the second subcarrier bitstream.

11. The decoding method according to any one of claims 8 to 10, characterized in that, Each of the third subcarrier bitstreams includes a sub-overhead, and the N1 sub-overheads included in the N1 third subcarrier bitstreams form the first overhead.

12. The decoding method according to any one of claims 8 to 10, characterized in that, Each of the second bitstreams includes a second overhead, and the second overhead included in the third subcarrier bitstream contains more bits than the second overhead included in the second subcarrier bitstream.

13. The decoding method according to any one of claims 8 to 10, characterized in that, The method further includes: Perform equalization processing on each of the third subcarrier bit streams to obtain the third subcarrier bit stream after the first equalization processing; The second FEC decoding of the N2-channel second subcarrier bitstream and the N1-channel third subcarrier bitstream includes: The N2-channel second subcarrier bitstream and the N1-channel third subcarrier bitstream after the first equalization process are jointly subjected to the second FEC decoding.

14. The decoding method according to any one of claims 8 to 10, characterized in that, The method further includes: Equalization processing is performed on the third subcarrier bitstream after decoding the first FEC for each channel to obtain the third subcarrier bitstream after second equalization processing. The step of performing second FEC decoding on the third subcarrier bitstream after decoding the first FEC for each path includes: The second FEC decoding is performed on the third subcarrier bit stream after the second equalization processing of each channel.

15. A network device, characterized in that, include: A processor, a memory, and a transceiver are interconnected via a line, the memory and the processor being interconnected via a line, the memory storing instructions, the processor being configured to perform a processing-related method as claimed in any one of claims 1 to 14, and the transceiver being configured to perform a sending-receiving-related method as claimed in any one of claims 1 to 14.

16. A communication system, characterized in that, It includes a transmitting device and a receiving device, wherein the transmitting device is used to perform the encoding method according to any one of claims 1 to 7, and the receiving device is used to perform the decoding method according to any one of claims 8 to 14.

17. A computer-readable storage medium, characterized in that, Includes instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1 to 14.