Data transmission method and system for improving LDPC (Low Density Parity Check) decoding capability and Ethernet
By copying some information in the information bit data block in 2.5G/5G Ethernet and reconfiguring the log-likelihood ratio at the receiving end, the problem of burst interference and ISI interference in LDPC decoding capabilities is solved, and higher decoding performance and data transmission reliability are achieved.
Patent Information
- Application Number
- CN202411955341.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-28
- Publication Date
- 2025-04-22
AI Technical Summary
In 2.5G/5G Ethernet, LDPC decoding capabilities are affected by burst interference and ISI interference, resulting in data packet loss and decoding performance.
By copying part of the information in the information bit data block at the transmitting end and replacing the zero-bit data block, and reconfiguring the received replacement data at the receiving end, and then performing LDPC decoding.
The signal-to-noise ratio of information bit data blocks is improved, the performance of LDPC decoding is enhanced, the bit error rate is reduced, and the reliability of data transmission is improved.
Smart Images

Figure CN119865282A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data transmission method, system and Ethernet for improving LDPC decoding capability. Background Art
[0002] The 2.5 / 5G Ethernet physical coding sublayer (PCS) plays a vital role in data communication systems. It ensures the integrity and reliability of data by implementing necessary encoding, decoding and verification mechanisms, while managing the interfaces with upper and lower sublayers to support efficient and stable data transmission. In normal mode, after receiving data transmitted by the media independent interface (XGMII), the physical coding sublayer (PCS) will encode the data through the physical coding sublayer (PCS) sending module. Similarly, after receiving data transmitted by the physical media adaptation layer (PMA), the data content will be restored through the physical coding sublayer (PCS) receiving module and sent to the media independent interface (XGMII) through the clock restored in the physical media adaptation layer (PMA) sublayer.
[0003] In Ethernet transmission, the factors that affect the receiving performance mainly include inter-symbol interference (ISI) and burst noise interference. ISI interference is usually caused by the delay extension caused by the transmission medium during signal transmission, resulting in distortion. ISI interference can be reduced by pulse shaping technology at the transmitter and crosstalk elimination technology and equalization technology at the receiver. Burst interference is usually caused by the instantaneous and drastic changes in the electromagnetic field caused by other power lines or electronic devices.
[0004] Based on this, LDPC (Low-density Parity-check) coding is introduced in the 2.5G / 5G Ethernet physical layer. LDPC coding has good error correction performance and can improve the system's resistance to ISI and burst interference. According to the 2.5G / 5G Ethernet standard IEEE802.3bz, the processing architecture of the Ethernet PHY physical coding sublayer (PCS) is as follows: Figure 1 As shown. In the data mode, the 8 groups of data continuously transmitted by the physical coding sublayer (PCS) transmitter from the media independent interface (XGMII) plus a 1-bit character header are combined into a 65-bit block by the media independent interface (XGMII), and then the 65-bit blocks are scrambled separately, and after accumulating 25 65-bit blocks, 97 zero bits are added to the end and 1 auxiliary bit is added to the head to form 1723 bits of data, as shown Figure 2 Then LDPC encoding is performed, and the 2048-bit data frame after LDPC encoding is as follows Figure 3 The added 97 zero bits can be replaced by random corresponding bits, such as Figure 4 For ease of explanation, the 1-bit auxiliary indicator bit header data and 25 65-bit data blocks are referred to as information bit data blocks, and the 97 consecutive zero-bit data blocks are referred to as zero-bit data blocks. After each 2048-bit LDPC coded data block is divided into 512x4 bits, the symbol data is sent on 4 pairs of lines after PAM16 modulation.
[0005] At the receiving end, the data processing process is completely opposite to that at the transmitting end. The physical coding sublayer (PCS) processes the 128 4D symbol data received from the remote PHY, forms an LDPC frame and performs LDPC decoding to generate 1723 bits of data. Then, the 1723 bits of data are regenerated into 25 65-bit data blocks, and the last 97 bits of data are changed to 0. The encoding process is as follows: Figure 4 After descrambling and 65 / 64B conversion for each 65-bit data block, the decoded data is sent to the media independent interface (XGMII).
[0006] At present, at the receiving end, the physical coding sublayer (PCS) obtains the log-likelihood ratio (LLR) value after the data received from the remote PHY is processed by PAM16. These values reflect the reliability of the received signal and are used for LDPC decoding. Because different bit blocks are subject to different ISI interference and burst interference during signal transmission, especially burst interference, it often causes greater fluctuations in bit information. If a bit block in the information bit data block is subject to burst interference, data packet loss may occur.
[0007] In addition, the data in the zero-bit data block is currently randomly generated data sent by the sending end, and is replaced by 0 after the receiving end receives the corresponding information, and no valid information data is transmitted. Summary of the invention
[0008] In view of the problems existing in the prior art, the present invention provides a data transmission method for improving LDPC decoding capability, comprising:
[0009] Step S1, the transmitting end copies part of the information in the information bit data block in the LDPC-coded data to be sent, replaces the zero-bit data block in the data to be sent, obtains the replaced data, and sends it;
[0010] Step S2, the receiving end reconfigures the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero data blocks of the received replaced data, and then performs LDPC decoding.
[0011] Preferably, in step S1, a corresponding preset replacement mode is selected according to the current transmission environment noise state to determine the position of the data to be copied in the data to be sent, and then the corresponding partial information bit data block is extracted according to the position of the data to be copied for copying;
[0012] When the transmission environment noise state is that there is periodic noise interference, the corresponding preset replacement mode is a periodic selection mode;
[0013] When the transmission environment noise state is that there is fixed periodic noise interference, the corresponding preset replacement mode is a fixed selection mode;
[0014] When the transmission environment noise state is that there is random noise interference, the corresponding preset replacement mode is a random selection mode.
[0015] Preferably, the first and last positions of the data to be copied are loc(i+offset) and loc(i+96+offset) respectively;
[0016] Wherein, i=(k-1)*97+1; i represents the position of each bit in the data to be sent, k represents the number of times the receiving end has cumulatively received the data to be sent, and offset represents the position offset;
[0017] In the cycle selection mode, k=1, 2, ... 16, offset=0, 1, ... 74, and whenever mod(k, 16)=0, offset=mod(offset+1, 75);
[0018] In the fixed selection mode, k and offset are both fixed values;
[0019] In the random selection mode, k is randomly selected between 1 and 16, and offset is randomly selected between 0 and 74.
[0020] Preferably, step S2 comprises:
[0021] Step S21, the receiving end performs weighted averaging on the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero bit data blocks of the received replaced data to obtain a weighted average value;
[0022] Step S22, the receiving end replaces the log-likelihood ratio at the location where the original partial information bit data block is located with a weighted average value, and adjusts the log-likelihood ratio at the location where the original zero-bit data block is located to the log-likelihood ratio that is most likely to be judged as 0, so as to reconfigure the log-likelihood ratio;
[0023] Step S23, performing LDPC decoding according to the reconfigured log-likelihood ratio.
[0024] Preferably, the calculation formula of the weighted average is as follows:
[0025] llr(n)=α*i_llr(n)+(1-α)*z_llr(n),n=1,2,...,97
[0026] Among them, llr(n) is the weighted average value, α is the weighting factor, 0≤α≤1, i_llr(n) is the log-likelihood ratio of the original location of the partial information bit data block, and z_llr(n) is the log-likelihood ratio of the original location of the zero-bit data block.
[0027] Preferably, before executing step S1, the method further includes:
[0028] The sending end and the receiving end perform self-negotiation to send replacement information to the receiving end, wherein the replacement information includes an identification bit that the zero-bit data block of the to-be-sent data is replaced by part of the information bit data block and the preset replacement mode;
[0029] When the preset replacement mode is the periodic selection mode and the fixed selection mode, the replacement information further includes values of k and offset;
[0030] When the preset replacement mode is the random selection mode, the replacement information further includes a random seed used when randomly selecting k and offset values.
[0031] The present invention also provides a data transmission system for improving LDPC decoding capability, applying the above-mentioned data transmission method, comprising:
[0032] A transmitting end, the transmitting end is used to copy a part of the information bit data blocks of the data to be sent after LDPC coding, and then replace the zero bit data blocks in the data to be sent to obtain the replaced data and send it;
[0033] The receiving end establishes communication with the sending end, and is used to reconfigure the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero-bit data blocks in the received replaced data, and then perform LDPC decoding.
[0034] Preferably, the transmitting end includes:
[0035] A data replacement module, used to select a corresponding preset replacement mode according to the current transmission environment noise state to determine the position of the data to be copied in the data to be sent, and then extract the corresponding partial information bit data block according to the position of the data to be copied for copying, and replace the zero bit data block;
[0036] When the transmission environment noise state is that there is periodic noise interference, the corresponding preset replacement mode is a periodic selection mode;
[0037] When the transmission environment noise state is that there is fixed periodic noise interference, the corresponding preset replacement mode is a fixed selection mode;
[0038] When the transmission environment noise state is that there is random noise interference, the corresponding preset replacement mode is a random selection mode.
[0039] Preferably, the receiving end includes:
[0040] A calculation module, used for performing weighted averaging on the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero data blocks in the received encoded data to obtain a weighted average value;
[0041] a reconfiguration module, connected to the calculation module, configured to replace the log-likelihood ratio at the location of the original partial information bit data block with a weighted average value, and adjust the log-likelihood ratio at the location of the original zero data block to the log-likelihood ratio most likely to be judged as 0, so as to reconfigure the log-likelihood ratio;
[0042] A decoding module is connected to the reconfiguration module and is used to perform LDPC decoding according to the reconfigured log-likelihood ratio.
[0043] The present invention also provides an Ethernet, comprising the above-mentioned data transmission system, wherein the transmission rate of the Ethernet is 2.5G or 5G.
[0044] The above technical solution has the following advantages or beneficial effects: the transmitting end replaces the zero-bit data block with a partial information bit data block of the data to be sent, so that useful information can be sent in the zero-bit data block, and the receiving end performs log-likelihood ratio reconfiguration by receiving the information at the position of the zero-bit data block and the partial information bit data block at the corresponding position that is copied, which can effectively improve the signal-to-noise ratio of the partial information bit data block, thereby improving the LDPC decoding performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a flowchart of the existing 2.5G / 5PCS processing;
[0046] Figure 2It is a schematic diagram of the structure of a data block before existing LDPC encoding;
[0047] Figure 3 It is a schematic diagram of the structure of the data block after the existing LDPC coding;
[0048] Figure 4 It is a flowchart of the LDPC encoding process at the transmitting end;
[0049] Figure 5 A flowchart of a data transmission method for improving LDPC decoding capability in a preferred embodiment of the present invention;
[0050] Figure 6 Schematic diagram of the process of step S2 in a preferred embodiment of the present invention;
[0051] Figure 7 The present invention is a structural diagram of a data transmission system for improving LDPC decoding capability in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0052] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also fall within the scope of the present invention as long as they conform to the gist of the present invention.
[0053] In a preferred embodiment of the present invention, based on the above problems existing in the prior art, a data transmission method for improving LDPC decoding capability is provided. Figure 5 As shown, including:
[0054] Step S1, the transmitting end copies part of the information bit data blocks of the data to be sent after LDPC coding, replaces the zero bit data blocks in the data to be sent, obtains the replaced data and sends it;
[0055] Step S2, the receiving end reconfigures the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero bit data blocks in the received replaced data, and then performs LDPC decoding.
[0056] Specifically, in order to combat the influence of partial burst noise on the correct reception of data, in this embodiment, the bit block (i.e., part of the information bit data block) that is interfered with in the information bit data block contained in the LDPC-encoded data to be sent is copied to the zero-bit data block for transmission at the same time when sending, and the data at the position of the zero-bit data block and the data at the position copied and sent in the information bit data block are reconfigured in log-likelihood ratio after reception, which helps to reduce errors caused by burst noise and ISI interference, and can reduce the bit error rate of the corresponding bit block data in the information bit data block.
[0057] More specifically, in different Ethernet data transmission environments, noise will be presented in different ways. Based on this, in a preferred embodiment of the present invention, in step S1, a corresponding preset replacement mode is selected according to the current transmission environment noise state to determine the position of the data to be copied in the data to be sent, and then the corresponding partial information bit data block is extracted according to the position of the data to be copied for copying, and the zero bit data block is replaced;
[0058] When the transmission environment noise state is that there is periodic noise interference, the corresponding preset replacement mode is the periodic selection mode;
[0059] When the transmission environment noise state is that there is fixed periodic noise interference, the corresponding preset replacement mode is the fixed selection mode;
[0060] When the transmission environment noise state is that there is random noise interference, the corresponding preset replacement mode is the random selection mode.
[0061] In this embodiment, when the burst noise appears in a certain period, that is, when the transmission environment noise state is that there is periodic noise interference or fixed periodic noise interference, the data block selected to replace 97 bits in the information bit data block can be changed periodically to improve the log likelihood ratio of the corresponding position in the information bit data block interfered by the noise in a targeted manner. When the noise appears in a random burst, that is, when the transmission environment noise state is that there is random noise interference, a data block of 97 bits can be randomly selected in the information bit data block.
[0062] According to the above different transmission environment noise states, the preset replacement modes for the 97 bits data block in the information bit data block include:
[0063] 1) Cycle selection mode
[0064] If the interference position presents a certain periodicity, that is, when the transmission environment noise state is that there is periodic noise interference, in order to better cover the entire 1626-bit information bit data block, a 97-bit data block can be selected in each 1626-bit information bit data block in a periodic cycle. At the same time, a certain position offset can also be added when selecting each 97-bit data block.
[0065] Specifically, the first and last positions of the data to be copied are loc(i+offset) and loc(i+96+offset) respectively.
[0066] In other words, if the position of each bit in the 1626-bit information bit data block is loc(i), i=1, 2, ... 1626, the position of each 97-bit data block in the 1626-bit data block can be expressed as: loc(i+offset, i+96+offset).
[0067] Wherein, i=(k-1)*97+1; i represents the position of each bit in the data to be sent, k represents the number of times the receiving end cumulatively receives the data to be sent, k=1,2,...16, whenever k=16, k will start from 1 in the next calculation, offset represents the position offset, offset=0,1,...74.
[0068] The position offset offset starts from 0, and whenever mod(k,16)=0, offset=mod(offset+1,75).
[0069] 2) Fixed selection mode
[0070] If the channel interference situation has a fixed period, and the transmission environment noise state is that there is fixed periodic noise interference, some information bit data blocks can be fixedly selected. At this time, the above formula is still used to determine the position of the data to be copied. The difference is that k and offset here are fixed values, and the specific values are related to the channel interference period.
[0071] 3) Random selection mode
[0072] If the interference situation is random, that is, when the transmission environment noise state is that there is random noise interference, the 97-bit data block can be randomly selected by jumping in the information bit data block. At this time, the above formula is still used to determine the position of the data to be copied. The difference is that k here is randomly selected between 1 and 16, and offset is randomly selected between 0 and 74.
[0073] After determining the location of the data to be copied, the sending end may copy the corresponding partial information bit data block and replace the zero bit data block before sending it.
[0074] When the receiving end receives the encoded data, step S2 is executed to perform LDPC decoding. In a preferred embodiment of the present invention, Figure 6 As shown, step S2 includes:
[0075] Step S21, the receiving end performs weighted averaging on the log likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero data blocks in the received encoded data to obtain a weighted average value;
[0076] Step S22, the receiving end replaces the log likelihood ratio of the location where the original partial information bit data block is located with a weighted average value, and adjusts the log likelihood ratio of the location where the original zero data block is located to a log likelihood ratio with the most likely judgment of 0, so as to reconfigure the log likelihood ratio;
[0077] Step S23, performing LDPC decoding according to the reconfigured log-likelihood ratio.
[0078] Specifically, in this embodiment, the log-likelihood ratio llr value of each bit of the 97 bits data block (i.e., the partial information bit data block) in the information bit data block is recorded as i_llr(n), and the log-likelihood ratio llr value of each bit of the 97 bits in the zero bit data block is z_llr(n), wherein the new llr value obtained by weighted averaging is:
[0079] llr(n)=α*i_llr(n)+(1-α)*z_llr(n),n=1,2,...,97
[0080] Wherein, llr(n) is the weighted average, α is the weighting factor, 0≤α≤1, i_llr(n) is the log-likelihood ratio of the original partial information bit data block, and z_llr(n) is the log-likelihood ratio of the original zero data block.
[0081] The weighting factor α can be dynamically adjusted according to the signal interference conditions at the 97 bits position of the information bit data block and the 97 bits position of the zero bit data block.
[0082] This weighted average can be optimized based on channel conditions and noise characteristics. After the weighted average is completed, the 2048 log-likelihood ratios received each time are reconfigured to update the 2048 log-likelihood ratios.
[0083] The reconfiguration here consists of two parts:
[0084] The log-likelihood ratio of the portion of the location where the partial information bit data block is located is replaced by the weighted average value obtained by the above calculation.
[0085] For the log-likelihood ratio of the part where the zero-bit data block is located, since the zero-bit data block still needs to be restored to all-0 data, the log-likelihood ratio of its location is adjusted to the log-likelihood ratio that is most likely to be judged as 0. Here, it is preferred to select the log-likelihood ratio that is most likely to be judged as 0 from the data set formed by the log-likelihood ratios of all positions.
[0086] After the reconfiguration is completed, the updated log-likelihood ratio is used to perform LDPC decoding to recover the transmitted information data.
[0087] It can be seen from the above data processing process of the receiving end that the receiving end needs to know in advance which part of the information bit data block is copied and replaced with the zero bit data block. Based on this, in a preferred embodiment of the present invention, before executing step S1, it also includes:
[0088] The sending end and the receiving end conduct self-negotiation to send replacement information to the receiving end, where the replacement information includes an identification bit indicating that a zero-bit data block included in the data to be sent is replaced by part of the information in the information bit data block and a preset replacement mode;
[0089] When the preset replacement mode is the periodic selection mode and the fixed selection mode, the replacement information also includes the values of k and offset;
[0090] When the preset replacement mode is the random selection mode, the replacement information also includes a random seed used when randomly selecting k and offset values.
[0091] Specifically, in this embodiment, the above-mentioned identification bit can be a newly added custom identification bit, which is used to indicate that the sending end has performed an information replacement operation, and then the receiving end performs a reconfiguration operation of the log-likelihood ratio based on the corresponding identification bit. Once the above-mentioned self-negotiation is successful, the sending end can send replacement information related to the partial information bit data block, and the receiving end receives the replacement information of the sending end, so as to generate the data position to be copied of the zero-bit data block locally based on the replacement information, and then the log-likelihood ratio can be reconfigured.
[0092] The present invention also provides a data transmission system for improving LDPC decoding capability, using the above data transmission method, such as Figure 7 As shown, including:
[0093] The transmitting end 1 is used to copy some information bit data blocks in the data to be sent after LDPC coding and replace the zero bit data blocks in the data to be sent to obtain the replaced data and send it;
[0094] The receiving end 2 establishes communication with the transmitting end 1, and is used to reconfigure the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero bit data blocks in the received replaced data, and then perform LDPC decoding.
[0095] In a preferred embodiment of the present invention, the transmitting end 1 comprises:
[0096] The data replacement module 11 is used to select a corresponding preset replacement mode according to the current transmission environment noise state to determine the position of the data to be copied in the data to be sent, and then extract the corresponding partial information bit data block according to the position of the data to be copied for copying, and replace the zero bit data block;
[0097] When the transmission environment noise state is that there is periodic noise interference, the corresponding preset replacement mode is the periodic selection mode;
[0098] When the transmission environment noise state is that there is fixed periodic noise interference, the corresponding preset replacement mode is the fixed selection mode;
[0099] When the transmission environment noise state is that there is random noise interference, the corresponding preset replacement mode is the random selection mode.
[0100] In a preferred embodiment of the present invention, the receiving end 2 comprises:
[0101] A calculation module 21 is used to perform weighted averaging on the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero data blocks in the received replaced data to obtain a weighted average value;
[0102] A reconfiguration module 22, connected to the calculation module 21, is used to replace the log-likelihood ratio of the original location of the partial information bit data block with a weighted average value, and adjust the log-likelihood ratio of the location of the original zero data block to a log-likelihood ratio that is most likely to be judged as 0, so as to reconfigure the log-likelihood ratio;
[0103] The decoding module 23 is connected to the reconfiguration module 11 and is used for performing LDPC decoding according to the reconfigured log-likelihood ratio.
[0104] The present invention also provides an Ethernet, comprising the above-mentioned data transmission system, wherein the transmission rate of the Ethernet is 2.5G or 5G.
[0105] Example 1
[0106] In Ethernet transmission, the master node and the slave node establish a connection and start the automatic negotiation process. The master node and the slave node need to negotiate the relevant replacement information in the zero-bit data block, including:
[0107] 1. The sending end uses the identification bit that the zero-bit data block is replaced by the partial information bit data block to indicate that the zero-bit data block is replaced by the information in the information bit data block.
[0108] 2. The transmitter adopts a periodic selection mode for selecting the 97-bit data block in the information bit data block.
[0109] 3. The parameters related to the bit position selected by the transmitter when selecting the information bit data block include the above parameters such as k starting from 1, i starting from 1, offset starting from 0, and when mod(k,16)=0, offset=mod(offset+1,75).
[0110] After the master node and the slave node have successfully negotiated, the master node starts to send data information as the transmitter. During the LDPC framing process, after every 25 65-bit blocks are accumulated, the following replacement process is performed:
[0111] In the first cumulative reception of 25 65-bit blocks, 1 auxiliary bit is added to the head and 97 zero bits are added to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, according to the first and last bits of the data position to be copied, loc(i+offset) and loc(i+96+offset), k=1, offset=0, i=1. The information in the zero-bit data block is filled with the information at the 1st to 97th bit position in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0112] After receiving 25 65-bit blocks for the second time, add 1 auxiliary bit to the head and 97 zero bits to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, according to the first and last bits of the data to be copied, loc(i+offset) and loc(i+96+offset), k=2, offset=0, i=98. The information in the zero-bit data block is filled with the information of the 98th to 194th bit positions in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0113] Similarly, after receiving 25 65-bit blocks for the 16th time, 1 auxiliary bit is added to the head and 97 zero bits are added to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, the first and last bits of the data to be copied are loc(i+offset) and loc(i+96+offset), respectively. It can be seen that k=16, offset=0, i=1456. The information in the zero-bit data block is filled with the information at the 1456th to 1552th bit positions in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0114] After receiving 25 65-bit blocks for the 17th time, add 1 auxiliary bit to the head and 97 zero bits to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, according to the first and last bits of the data to be copied, loc(i+offset) and loc(i+96+offset), k=1, offset=1, i=98. The information in the zero-bit data block is filled with the information at the 2nd to 98th bit position in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0115] Similarly, after receiving 25 65-bit blocks for the 32nd time, 1 auxiliary bit is added to the head and 97 zero bits are added to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, according to the first and last bits of the data position to be copied, loc(i+offset) and loc(i+96+offset), k=16, offset=1, i=1456. The information in the zero-bit data block is filled with the information at the 1457th to 1553rd bit positions in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0116] After receiving 25 65-bit blocks for the 33rd time, 1 auxiliary bit is added to the head and 97 zero bits are added to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, according to the first and last bits of the data position to be copied, loc(i+offset) and loc(i+96+offset), k=1, offset=2, i=99. The information in the zero-bit data block is filled with the information at the 99th to 195th bit positions in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0117] And so on, until the sender stops sending data to the receiver.
[0118] Accordingly, at the receiving end, according to the zero-bit data block information periodic replacement mode used in the automatic negotiation process, the following operations are performed:
[0119] After receiving the 2048-bit LDPC data frame for the first time, the log-likelihood ratios corresponding to the 97-bit information in the zero-bit data information block and the 1st to 97th information in the current information bit data block are weighted averaged to obtain new llr values, which are then replaced with the 1st to 97th bits in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0120] After receiving the 2048-bit LDPC data frame for the second time, the log-likelihood ratios corresponding to the 97-bit information in the zero-bit data block and the 98th to 194th bits of information in the current information bit data block are weighted averaged to obtain new llr values, which are then replaced with the 98th to 194th bits in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0121] Similarly, after receiving the 2048-bit LDPC data frame for the 16th time, the log-likelihood ratios corresponding to the 97-bit information in the zero-bit data block and the 1456th to 1552th information in the current information bit data block are weighted averaged to obtain new llr values, which are then replaced with the 1456th to 1552th bits in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0122] After receiving the 2048-bit LDPC data frame for the 17th time, the log-likelihood ratio corresponding to the 97-bit information in the zero-bit data block and the 2nd to 98th bits of information in the current information bit data block is weighted averaged to obtain a new llr value, which is then replaced with the 2nd to 98th bits in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0123] Similarly, after receiving the 2048-bit LDPC data frame for the 32nd time, the log-likelihood ratios corresponding to the 97-bit information in the zero-bit data block and the 1457th to 1553th information in the current information bit data block are weighted averaged to obtain new llr values, which are then replaced with the 1457th to 1553th bits in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0124] After receiving the 2048-bit LDPC data frame for the 33rd time, the log-likelihood ratios corresponding to the 97-bit information in the zero-bit data block and the 99th to 195th bits of information in the current information bit data block are weighted averaged to obtain new llr values, which are then replaced with the 99th to 195th bits in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0125] And so on, until all data sent by the sender is received.
[0126] Example 2
[0127] In Ethernet transmission, the master node and the slave node establish a connection and start the automatic negotiation process. The master node and the slave node need to negotiate the relevant replacement information in the zero-bit data block, including:
[0128] 1. The sending end uses the identification bit that the zero-bit data block is replaced by the information in the information bit data block to indicate that the zero-bit data block is replaced by the information in the information bit data block.
[0129] 2. The transmitter adopts a fixed selection mode for selecting the 97-bit data block in the information bit data block.
[0130] 3. The sending end selects the bit position related parameters when selecting the information bit data block, including the above-mentioned fixed k and offset parameters.
[0131] After the master node and the slave node have successfully negotiated, the master node starts to send data information as the transmitter. During the LDPC framing process, after every 25 65-bit blocks are accumulated, the following is executed:
[0132] After receiving 25 65-bit blocks for the first time, add 1 auxiliary bit to the head and 97 zero bits to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, according to the first and last bits of the position of the data to be copied, which are loc(i+offset) and loc(i+96+offset), k is a fixed value between 1 and 16, and the position offset offset is a fixed value between 1 and 74. The information in the zero-bit data block is filled with the information of the (k-1)*97+1+offset to (k*97+offset)-bit positions in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0133] Similarly, after receiving 25 65-bit blocks for the second time, 1 auxiliary bit is added to the head and 97 zero bits are added to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, the information in the zero-bit data block is filled with the information from the (k-1)*97+1+offset to (k*97+offset) bit position in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0134] And so on, until the sender stops sending data to the receiver.
[0135] At the receiving end, according to the zero-bit data block information periodic replacement mode used in the auto-negotiation process, the following operations are performed:
[0136] After receiving the 2048-bit LDPC data frame for the first time, perform a weighted average of the log-likelihood ratios corresponding to the 97-bit information in the zero-bit data block and the information from the (k-1)*97+1+offset to (k*97+offset)th bit in the current information bit data block, and replace the new llr values with the (k-1)*97+1+offset to (k*97+offset)th bit in the information bit data block. At the same time, adjust the llr value in the current zero-bit data block to the llr value that is most likely to be judged as 0. Then perform LDPC decoding to obtain 1626 information bits, regenerate 25 65-bit data blocks and 1 auxiliary bit at the head, and then descramble each 65-bit data block.
[0137] Similarly, after receiving the 2048-bit LDPC data frame for the second time, the log-likelihood ratio corresponding to the 97-bit information in the zero-bit data block and the information from the (k-1)*97+1+offset to (k*97+offset)th bit in the current information bit data block is weighted averaged to obtain a new llr value, which is then replaced with the (k-1)*97+1+offset to (k*97+offset)th bit in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0138] And so on, until all data sent by the sender is received.
[0139] Example 3
[0140] In Ethernet transmission, the master node and the slave node establish a connection and start the automatic negotiation process. The master node and the slave node need to negotiate the relevant replacement information in the zero-bit data block, including:
[0141] 1. The sending end uses the identification bit that the zero-bit data block is replaced by the information in the information bit data block to indicate that the zero-bit data block is replaced by the information in the information bit data block.
[0142] 2. The sending end adopts a random selection mode for selecting the 97-bit data block in the information bit data block.
[0143] 3. The parameters related to the bit position selected by the transmitter when selecting the information bit data block include parameters such as the random seed for generating the parameter k and the random seed for generating the offset.
[0144] After the master node and the slave node have successfully negotiated, the master node, as the transmitter, starts to send data information. During the LDPC framing process, after every 25 65-bit blocks are accumulated, the following operations are performed:
[0145] After receiving 25 65-bit blocks for the first time, add 1 auxiliary bit to the head and 97 zero bits to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, generate parameters k and offset according to the random seed, and then obtain the information position of the zero-bit data block in the current information bit data block as ((k-1)*97+1+offset~k*97+offset) according to the first and last bits of the data position to be copied, respectively. The information in the zero-bit data block is filled with the information of the (k-1)*97+1+offset to (k*97+offset)th bit position in the current information bit data block, and perform pulse amplitude PAM16 modulation.
[0146] Similarly, after receiving 25 65-bit blocks for the second time, 1 auxiliary bit is added to the head and 97 zero bits are added to the tail to form a 1723-bit data block for LDPC encoding. After LDPC encoding, the parameters k and offset are generated again according to the random seed, and then the information position of the zero-bit data block in the current information bit data block is obtained as ((k-1)*97+1+offset~k*97+offset) according to the first and last bits of the position of the data to be copied, respectively. The information in the zero-bit data block fills the information in the (k-1)*97+1+offset to (k*97+offset)bit position in the current information bit data block, and pulse amplitude PAM16 modulation is performed.
[0147] And so on, until the sender stops sending data to the receiver.
[0148] At the receiving end, according to the zero-bit data block information periodic replacement mode used in the automatic negotiation process, the following operations are performed:
[0149] After receiving the 2048-bit LDPC data frame for the first time, the parameters k and offset are generated according to the random seed consistent with the transmitter, and then the information position of the zero-bit data block in the current information bit data block is obtained as ((k-1)*97+1+offset~k*97+offset) according to the first and last bits of the position of the data to be copied, which are loc(i+offset) and loc(i+96+offset) respectively. The log-likelihood ratio corresponding to the 97-bit information in the zero-bit data block and the information from the (k-1)*97+1+offset to (k*97+offset) bits in the current information bit data block is weighted averaged to obtain the new llr value, which is then replaced in the (k-1)*97+1+offset to (k*97+offset) bits in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated. Then, each 65-bit data block is descrambled.
[0150] Similarly, after receiving the 2048-bit LDPC data frame for the second time, the log-likelihood ratio corresponding to the 97-bit information in the zero-bit data block and the information from the (k-1)*97+1+offset to (k*97+offset)th bit in the current information bit data block is weighted averaged to obtain a new llr value, which is then replaced with the (k-1)*97+1+offset to (k*97+offset)th bit in the information bit data block. At the same time, the llr value in the current zero-bit data block is adjusted to the llr value that is most likely to be judged as 0. Then LDPC decoding is performed to obtain 1626 information bits, and 25 65-bit data blocks and 1 auxiliary bit at the head are regenerated, and then each 65-bit data block is descrambled.
[0151] And so on, until all data sent by the sender is received.
[0152] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of this specification and illustrations should be included in the protection scope of the present invention.
Claims
1. A data transmission method for improving LDPC decoding capability, characterized in that: include: Step S1, the transmitting end copies part of the information bit data blocks in the LDPC-coded data to be sent, replaces the zero-bit data blocks in the data to be sent, obtains the replaced data, and sends it; Step S2, the receiving end reconfigures the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero-bit data blocks of the received replaced data, and then performs LDPC decoding.
2. The data transmission method according to claim 1, characterized in that: In the step S1, a corresponding preset replacement mode is selected according to the current transmission environment noise state to determine the position of the data to be copied in the data to be sent, and then the corresponding partial information bit data block is extracted according to the position of the data to be copied for copying; When the transmission environment noise state is that there is periodic noise interference, the corresponding preset replacement mode is a periodic selection mode; When the transmission environment noise state is that there is fixed periodic noise interference, the corresponding preset replacement mode is a fixed selection mode; When the transmission environment noise state is that there is random noise interference, the corresponding preset replacement mode is a random selection mode.
3. The data transmission method according to claim 2, characterized in that: The first and last positions of the data to be copied are loc(i+offset) and loc(i+96+offset) respectively; Wherein, i=(k-1)*97+1; i represents the position of each bit in the data to be sent, k represents the number of times the receiving end has cumulatively received the data to be sent, and offset represents the position offset; In the cycle selection mode, k=1, 2, ... 16, offset=0, 1, ... 74, and whenever mod(k, 16)=0, offset=mod(offset+1, 75); In the fixed selection mode, k and offset are both fixed values; In the random selection mode, k is randomly selected between 1 and 16, and offset is randomly selected between 0 and 74.
4. The data transmission method according to claim 1, characterized in that: The step S2 comprises: Step S21, the receiving end performs weighted averaging on the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero bit data blocks of the received replaced data to obtain a weighted average value; Step S22, the receiving end replaces the log-likelihood ratio at the location where the original partial information bit data block is located with a weighted average value, and adjusts the log-likelihood ratio at the location where the original zero-bit data block is located to the log-likelihood ratio that is most likely to be judged as 0, so as to reconfigure the log-likelihood ratio; Step S23, performing LDPC decoding according to the reconfigured log-likelihood ratio.
5. The data transmission method according to claim 4, characterized in that: The weighted average is calculated as follows: llr(n)=α*i_llr(n)+(1-α)*z_llr(n),n=1,2,...,97 Among them, llr(n) is the weighted average value, α is the weighting factor, 0≤α≤1, i_llr(n) is the log-likelihood ratio of the original location of the partial information bit data block, and z_llr(n) is the log-likelihood ratio of the original location of the zero-bit data block.
6. The data transmission method according to claim 3, characterized in that: Before executing step S1, the method further includes: The sending end and the receiving end perform self-negotiation to send replacement information to the receiving end, wherein the replacement information includes an identification bit indicating that a zero-bit data block included in the data to be sent is replaced by part of the information in the information bit data block and the preset replacement mode; When the preset replacement mode is the periodic selection mode and the fixed selection mode, the replacement information further includes values of k and offset; When the preset replacement mode is the random selection mode, the replacement information further includes a random seed used when randomly selecting k and offset values.
7. A data transmission system for improving LDPC decoding capability, characterized in that: Applying the data transmission method according to any one of claims 1 to 6, comprising: A transmitting end, the transmitting end is used to copy a part of the information bit data blocks of the data to be sent after LDPC coding, and then replace the zero bit data blocks in the data to be sent to obtain the replaced data and send it; The receiving end establishes communication with the sending end, and is used to reconfigure the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero-bit data blocks in the received replaced data, and then perform LDPC decoding.
8. The data transmission system according to claim 7, characterized in that: The transmitting end comprises: A data replacement module, used to select a corresponding preset replacement mode according to the current transmission environment noise state to determine the position of the data to be copied in the data to be sent, and then extract the corresponding partial information bit data block according to the position of the data to be copied for copying, and replace the zero bit data block; When the transmission environment noise state is that there is periodic noise interference, the corresponding preset replacement mode is a periodic selection mode; When the transmission environment noise state is that there is fixed periodic noise interference, the corresponding preset replacement mode is a fixed selection mode; When the transmission environment noise state is that there is random noise interference, the corresponding preset replacement mode is a random selection mode.
9. The data transmission system according to claim 7, characterized in that: The receiving end comprises: A calculation module, used for performing weighted averaging on the log-likelihood ratios corresponding to the positions of the original partial information bit data blocks and the zero-bit data blocks in the received replaced data to obtain a weighted average value; a reconfiguration module, connected to the calculation module, configured to replace the log-likelihood ratio at the location of the original partial information bit data block with a weighted average value, and adjust the log-likelihood ratio at the location of the original zero-bit data block to the log-likelihood ratio most likely to be judged as 0, so as to reconfigure the log-likelihood ratio; A decoding module is connected to the reconfiguration module and is used to perform LDPC decoding according to the reconfigured log-likelihood ratio.
10. An Ethernet, characterized in that: Including the data transmission system described in claim 7, the transmission rate of the Ethernet is 2.5G or 5G.