Length determination method of LDPC code word in UWB system and related device
Patent Information
- Application Number
- CN202380050760.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-20
- Filing Date
- 2023-06-26
- Publication Date
- 2025-02-11
AI Technical Summary
In UWB systems, how to determine the length of LDPC codewords to improve error control performance and reduce code rate loss is an urgent problem to be solved, especially when high-speed and reliable data transmission needs to be achieved under limited frequency and power resources.
Determine the length of the LDPC codeword by obtaining the length of the information bits to be encoded. The specific method includes: if the length of the information bits to be encoded is between 0 and 324 bits, the length is 648 bits; when it is 324 to 648 bits, the length is 1296 bits; When 648 to 972 bits, the length is 1944 bits; when 972 to 1296 bits, the length is 1296 bits; when more than 1296 bits, the length is 1944 bits, and the length of the codeword is adjusted according to actual needs during the transmission process.
It achieves better error control performance gains while reducing code rate loss and reducing power consumption of UWB systems, especially when using LDPC codes with short and medium code lengths in WLAN.
Smart Images

Figure CN119422343A_ABST
Abstract
Description
Method and related device for determining the length of LDPC codeword in UWB system
[0001] This application claims the priority of the Chinese patent application filed with the Patent Office of China on July 1, 2022, with application number 202210769913.4 and application name “Method for determining the length of LDPC codewords in UWB system and related devices”, and the priority of the Chinese patent application filed with the Patent Office of China on October 18, 2022, with application number 202211274829.1 and application name “Method for determining the length of LDPC codewords in UWB system and related devices”. The application claims priority to the Chinese patent application filed with the Patent Office of China on October 20, 2022, with application number 202211289383.X and application name “Method for determining the length of LDPC codewords in UWB system and related devices”, and the application claims priority to the Chinese patent application filed with the Patent Office of China on March 20, 2023, with application number 202310305051.4 and application name “Method for determining the length of LDPC codewords in UWB system and related devices”, all contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a method for determining the length of a low-density parity-check (LDPC) codeword in an ultra-wideband (UWB) system and a related device. Background Art
[0003] The Institute of Electrical and Electronics Engineers (IEEE) 802.11n / ac / ax / be wireless local area network (WLAN) standards focus on improving user experience in 60GHz wide-bandwidth scenarios, including increasing average user throughput and the energy efficiency of battery-powered devices. This requires high-speed and reliable transmission of data, video, and other services using limited frequency and power resources, necessitating highly reliable and efficient channel coding schemes.
[0004] Turbo codes and LDPC codes are currently the two most commonly used channel coding schemes. Both codes boast performance close to the Shannon limit and are widely used in communications. Compared to Turbo codes, LDPC codes offer significant advantages, including superior bit error performance without the need for deep interleaving, improved frame error rate performance, significantly reduced error floor, support for parallel decoding, and minimal decoding latency. Consequently, LDPC codes have become the standard channel coding scheme for low-frequency, short-range WLAN communication systems such as 802.11n / ac / ax.
[0005] To improve the transmission reliability of wireless transmission systems, LDPC codes have been widely used in WLAN standards. Next-generation UWB standards, such as IEEE 802.15ab, are considering incorporating LDPC codes, also used in WLANs, to enhance data transmission reliability. However, the length of the LDPC codeword affects error control performance, leading to an urgent need to explore how to determine the length of the LDPC codeword in UWB systems.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a method and related apparatus for determining the length of an LDPC codeword in a UWB system, which can achieve better error control performance gain and reduce code rate loss.
[0008] The present application is introduced below from different aspects. It should be understood that the implementation methods and beneficial effects of the following different aspects can be referenced to each other.
[0009] In a first aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including one or more of the following: if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the communication device determines the length of the LDPC codeword to be 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the communication device determines the length of the LDPC codeword to be 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the communication device determines the length of the LDPC codeword to be 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the communication device determines the length of the LDPC codeword to be 1296 bits.
[0010] The beneficial effects of the present application are analyzed in detail in the description of the method embodiment below, which will not be described in detail here. The present application can achieve better error control performance gain and reduce bit rate loss.
[0011] In this application, the information bits to be encoded refer to the information bits before channel coding, or the information bits input at the input end of the channel coding module. Exemplarily, the information bits to be encoded can be data bits to be encoded (i.e., payload bits), or the information bits to be encoded include data bits to be encoded and CRC bits, which are not limited in the embodiments of this application.
[0012] In combination with the first aspect, in a possible implementation, the communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, and also includes: if the length of the above-mentioned information bits to be encoded is greater than 1296 bits, the communication device determines that the length of the LDPC codeword is 1944 bits.
[0013] In combination with the first aspect, in a possible implementation method, the communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, and also includes one or more of the following: if the length of the above-mentioned information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the communication device determines that the length of the LDPC codeword is 648 bits; if the length of the above-mentioned information bits to be encoded is greater than 1620 bits and less than or equal to 1944 bits, the communication device determines that the length of the LDPC codeword is 1944 bits; if the length of the above-mentioned information bits to be encoded is greater than 1944 bits and less than or equal to 2592 bits, the communication device determines that the length of the LDPC codeword is 1296 bits; if the length of the above-mentioned information bits to be encoded is greater than 2592 bits, the communication device determines that the length of the LDPC codeword is 1944 bits.
[0014] In conjunction with the first aspect, in one possible implementation, the method further includes: a communication device transmitting the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits. Exemplarily, the communication device generates the LDPC codeword based on information such as the determined LDPC codeword length, the information bits to be encoded, and a reference code rate for the LDPC codeword, and transmits the LDPC codeword.
[0015] In combination with the first aspect, in a possible implementation, the reference code rate of the LDPC codeword is 1 / 2.
[0016] In conjunction with the first aspect, in one possible implementation, the number of shortened 0 bits in the LDPC codeword is determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword. The number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and a reference code rate.
[0017] Exemplarily, the number of shortened 0 bits in the LDPC codeword is:
[0018] Padding_Num=mod(K-mod(Inf_Num,K),K);
[0019] Where Padding_Num represents the number of shortened zero bits in the LDPC codeword, K represents the number of information bits in the LDPC codeword, Inf_Num represents the length of the information bits to be encoded, and mod represents the modulo operation. K = N × R, where N represents the length of the LDPC codeword and R represents the reference bit rate of the LDPC codeword.
[0020] In a second aspect, the present application provides a communication device, comprising an acquisition unit and a determination unit. The acquisition unit is configured to acquire the length of information bits to be encoded; the determination unit is configured to determine the length of a low-density parity check (LDPC) codeword based on the length of the information bits to be encoded, wherein the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded and generate check bits; wherein the determination unit is specifically configured to perform one or more of the following operations: when the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, determining that the length of the LDPC codeword is 648 bits; when the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, determining that the length of the LDPC codeword is 1296 bits; when the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, determining that the length of the LDPC codeword is 1944 bits; and when the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, determining that the length of the LDPC codeword is 1296 bits.
[0021] In this application, the information bits to be encoded refer to the information bits before channel coding, or the information bits input at the input end of the channel coding module. Exemplarily, the information bits to be encoded can be data bits to be encoded (i.e., payload bits), or the information bits to be encoded include data bits to be encoded and CRC bits, which are not limited in the embodiments of this application.
[0022] In combination with the second aspect, in a possible implementation, the above-mentioned determination unit is further used to: when the length of the information bits to be encoded is greater than 1296 bits, determine that the length of the LDPC codeword is 1944 bits.
[0023] In combination with the second aspect, in a possible implementation, the above-mentioned determination unit is further used to perform one or more of the following operations: when the length of the information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, determining that the length of the LDPC codeword is 648 bits; when the length of the information bits to be encoded is greater than 1620 bits and less than or equal to 1944 bits, determining that the length of the LDPC codeword is 1944 bits; when the length of the information bits to be encoded is greater than 1944 bits and less than or equal to 2592 bits, determining that the length of the LDPC codeword is 1296 bits; when the length of the information bits to be encoded is greater than 2592 bits, determining that the length of the LDPC codeword is 1944 bits.
[0024] In combination with the second aspect, in a possible implementation, the communication device further includes a transmission unit, configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0025] In combination with the second aspect, in a possible implementation, the reference code rate of the LDPC codeword is 1 / 2.
[0026] In conjunction with the second aspect, in one possible implementation, the number of shortened 0 bits in the LDPC codeword is determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword. The number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and a reference code rate.
[0027] Exemplarily, the number of shortened 0 bits in the LDPC codeword is:
[0028] Padding_Num=mod(K-mod(Inf_Num,K),K);
[0029] Where Padding_Num represents the number of shortened zero bits in the LDPC codeword, K represents the number of information bits in the LDPC codeword, Inf_Num represents the length of the information bits to be encoded, and mod represents the modulo operation. K = N × R, where N represents the length of the LDPC codeword and R represents the reference bit rate of the LDPC codeword.
[0030] In a third aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including: if the length of the information bits to be encoded is greater than 1296 bits, the communication device determines the length of the LDPC codeword to be 1944 bits.
[0031] In a fourth aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including one or more of the following: if the length of the information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the communication device determines the length of the LDPC codeword to be 648 bits; if the length of the information bits to be encoded is greater than 1620 bits and less than or equal to 1944 bits, the communication device determines the length of the LDPC codeword to be 1944 bits; if the length of the information bits to be encoded is greater than 1944 bits and less than or equal to 2592 bits, the communication device determines the length of the LDPC codeword to be 1296 bits; if the length of the information bits to be encoded is greater than 2592 bits, the communication device determines the length of the LDPC codeword to be 1944 bits.
[0032] In a fifth aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including: if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the communication device determines that the length of the LDPC codeword is 1296 bits.
[0033] In a sixth aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including one or more of the following: if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the communication device determines that the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the communication device determines that the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the communication device determines that the length of the LDPC codeword is 648 bits.
[0034] This application can not only achieve better error control performance gain and reduce code rate loss; it also reduces the power consumption of the UWB system by only using LDPC codes with medium and short code lengths in WLAN (i.e., LDPC codes with code lengths of 648 bits and 1296 bits).
[0035] In this application, the information bits to be encoded refer to the information bits before channel coding, or the information bits input at the input end of the channel coding module. Exemplarily, the information bits to be encoded can be data bits to be encoded (i.e., payload bits), or the information bits to be encoded include data bits to be encoded and CRC bits, which are not limited in the embodiments of this application.
[0036] In combination with the sixth aspect, in a possible implementation method, the communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, and also includes: if the length of the above-mentioned information bits to be encoded is greater than 972 bits, the communication device determines that the length of the LDPC codeword is 1296 bits.
[0037] In combination with the sixth aspect, in a possible implementation method, the communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, and also includes one or more of the following: if the length of the above-mentioned information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the communication device determines that the length of the LDPC codeword is 1296 bits; if the length of the above-mentioned information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the communication device determines that the length of the LDPC codeword is 648 bits; if the length of the above-mentioned information bits to be encoded is greater than 1620 bits, the communication device determines that the length of the LDPC codeword is 1296 bits.
[0038] In conjunction with the sixth aspect, in one possible implementation, the method further includes: a communication device transmitting the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits. Exemplarily, the communication device generates the LDPC codeword based on information such as the determined LDPC codeword length, the information bits to be encoded, and a reference code rate for the LDPC codeword, and transmits the LDPC codeword.
[0039] In combination with the sixth aspect, in a possible implementation, the reference code rate of the above LDPC codeword is 1 / 2.
[0040] In conjunction with the sixth aspect, in one possible implementation, the number of shortened 0 bits in the LDPC codeword is determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword. The number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and a reference code rate.
[0041] Exemplarily, the number of shortened 0 bits in the LDPC codeword is:
[0042] Padding_Num=mod(K-mod(Inf_Num,K),K);
[0043] Where Padding_Num represents the number of shortened zero bits in the LDPC codeword, K represents the number of information bits in the LDPC codeword, Inf_Num represents the length of the information bits to be encoded, and mod represents the modulo operation. K = N × R, where N represents the length of the LDPC codeword and R represents the reference bit rate of the LDPC codeword.
[0044] In a seventh aspect, the present application provides a communication device, comprising an acquisition unit and a determination unit. The acquisition unit is used to acquire the length of the information bits to be encoded; the determination unit is used to determine the length of a low-density parity check (LDPC) codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The determination unit is specifically used to perform one or more of the following operations: when the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is determined to be 648 bits; when the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is determined to be 1296 bits; when the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is determined to be 648 bits.
[0045] In this application, the information bits to be encoded refer to the information bits before channel coding, or the information bits input at the input end of the channel coding module. Exemplarily, the information bits to be encoded can be data bits to be encoded (i.e., payload bits), or the information bits to be encoded include data bits to be encoded and CRC bits, which are not limited in the embodiments of this application.
[0046] In combination with the seventh aspect, in a possible implementation, the above-mentioned determination unit is further used to: when the length of the above-mentioned information bits to be encoded is greater than 972 bits, determine that the length of the LDPC codeword is 1296 bits.
[0047] In combination with the seventh aspect, in a possible implementation, the above-mentioned determination unit is further used to perform one or more of the following operations: when the length of the above-mentioned information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, determining that the length of the LDPC codeword is 1296 bits; when the length of the above-mentioned information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, determining that the length of the LDPC codeword is 648 bits; when the length of the above-mentioned information bits to be encoded is greater than 1620 bits, determining that the length of the LDPC codeword is 1296 bits.
[0048] In combination with the seventh aspect, in a possible implementation, the communication device further includes a transmission unit for transmitting the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0049] In combination with the seventh aspect, in a possible implementation, the reference code rate of the LDPC codeword is 1 / 2.
[0050] In conjunction with the seventh aspect, in one possible implementation, the number of shortened 0 bits in the LDPC codeword is determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword. The number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and a reference code rate.
[0051] Exemplarily, the number of shortened 0 bits in the LDPC codeword is:
[0052] Padding_Num=mod(K-mod(Inf_Num,K),K);
[0053] Where Padding_Num represents the number of shortened zero bits in the LDPC codeword, K represents the number of information bits in the LDPC codeword, Inf_Num represents the length of the information bits to be encoded, and mod represents the modulo operation. K = N × R, where N represents the length of the LDPC codeword and R represents the reference bit rate of the LDPC codeword.
[0054] In an eighth aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including: if the length of the information bits to be encoded is greater than 972 bits, the communication device determines the length of the LDPC codeword to be 1296 bits.
[0055] In a ninth aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including one or more of the following: if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the communication device determines that the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the communication device determines that the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 1620 bits, the communication device determines that the length of the LDPC codeword is 1296 bits.
[0056] In a tenth aspect, the present application provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including one or more of the following: if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the communication device determines that the length of the LDPC codeword is 648 bits.
[0057] In an eleventh aspect, the present application further provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including: if the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the communication device determines that the length of the LDPC codeword is 1296 bits.
[0058] In a twelfth aspect, the present application also provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtaining the length of information bits to be encoded, and determining the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including: if the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the communication device determines that the length of the LDPC codeword is 1296 bits.
[0059] In a thirteenth aspect, the present application also provides a method for determining the length of an LDPC codeword in a UWB system, the method comprising: a communication device obtains the length of the information bits to be encoded, and determines the length of the LDPC codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. When the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, if the data rate is less than or equal to a preset threshold, the length of the LDPC codeword is 1296 bits; when the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, if the data rate is greater than the preset threshold, the length of the LDPC codeword is 1944 bits.
[0060] In combination with the thirteenth aspect, in a possible implementation, the length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than 162 bytes, the length of the LDPC codeword is 1944 bits.
[0061] In combination with the thirteenth aspect, in a possible implementation, the preset threshold is 1.95 Mbps or 7.8 Mbps.
[0062] In combination with the thirteenth aspect, in a possible implementation, the length of the above-mentioned information bits to be encoded and the length of the LDPC codeword also satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 21 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 21 bytes and less than or equal to 44 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 44 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits.
[0063] In a fourteenth aspect, the present application provides a communication device, comprising a processor for executing the method described in any possible implementation of the first aspect, the third aspect to the fifth aspect, or any one of them. Alternatively, the processor is used to execute a program stored in a memory, and when the program is executed, the method described in any possible implementation of the sixth aspect, the eighth aspect to the tenth aspect, or any one of them is executed. Alternatively, the processor is used to execute a program stored in a memory, and when the program is executed, the method described in any possible implementation of the eleventh aspect, the twelfth aspect, the thirteenth aspect, or any one of them is executed.
[0064] In combination with the fourteenth aspect, in a possible implementation, the memory is located outside the above-mentioned communication device.
[0065] In combination with the fourteenth aspect, in a possible implementation, the memory is located within the above-mentioned communication device.
[0066] In an embodiment of the present application, the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together.
[0067] In combination with the fourteenth aspect, in a possible implementation, the communication device further includes a transceiver, which is used to receive signals or send signals.
[0068] In a fifteenth aspect, the present application provides a communication device, comprising a logic circuit and an interface, wherein the logic circuit and the interface are coupled. The logic circuit and the interface may be used to perform the method described in any possible implementation of the first aspect, the third through fifth aspects, the sixth aspect, the eighth through thirteenth aspects, or any possible implementation of any of these aspects.
[0069] In one design, a logic circuit is used to obtain the length of information bits to be encoded and, based on the length of the information bits to be encoded, determine the length of a low-density parity check (LDPC) codeword. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded and generate check bits. An interface is used to output the LDPC codeword, which includes the information bits to be encoded and the check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits.
[0070] In another design, a logic circuit is used to obtain the length of the information bits to be encoded and determine the length of a low-density parity check (LDPC) codeword based on the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded and generate check bits. The interface is used to output the LDPC codeword, which includes the information bits to be encoded and the check bits. The length of the information bits to be encoded and the length of the LDPC codeword meet one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 648 bits.
[0071] In the sixteenth aspect, the present application provides a computer-readable storage medium for storing a computer program, which, when run on a computer, enables the method shown in the first aspect, the third to fifth aspects, the sixth aspect, the eighth to thirteenth aspects, or any possible implementation of any one of them to be executed.
[0072] In the seventeenth aspect, the present application provides a computer program product, which includes a computer program or computer code, which, when running on a computer, enables the method shown in the first aspect, the third to fifth aspects, the sixth aspect, the eighth to thirteenth aspects, or any possible implementation of any aspect therein to be executed.
[0073] In the eighteenth aspect, the present application provides a computer program. When the computer program is run on a computer, the method shown in the first aspect, the third aspect to the fifth aspect, the sixth aspect, the eighth aspect to the thirteenth aspect, or any possible implementation of any aspect therein is executed.
[0074] By implementing the embodiments of the present application, on the one hand, a better error control performance gain can be obtained, and on the other hand, bit rate loss can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.
[0076] FIG1 is a schematic structural diagram of a wireless communication system provided in an embodiment of the present application;
[0077] FIG2 is another schematic structural diagram of a wireless communication system provided in an embodiment of the present application;
[0078] FIG3a is a schematic diagram of an LDPC code check matrix provided in an embodiment of the present application;
[0079] FIG3b is a Tanner graph of an LDPC code provided in an embodiment of the present application;
[0080] FIG4a is a schematic diagram of a parity check matrix of an LDPC code with a code rate of 1 / 2 and a code length of 648 provided in an embodiment of the present application;
[0081] FIG4 b is a schematic diagram of a cyclic shift matrix P1 provided in an embodiment of the present application;
[0082] FIG5 is a schematic diagram of an LDPC encoding process in a WLAN provided in an embodiment of the present application;
[0083] FIG6 a is a schematic diagram of a parity check matrix of an LDPC code with a code rate of 1 / 2 and a code length of 1296 provided in an embodiment of the present application;
[0084] FIG6 b is a schematic diagram of a parity check matrix of an LDPC code with a code rate of 1 / 2 and a code length of 1944 provided in an embodiment of the present application;
[0085] FIG7 is a flow chart of a method for determining the length of an LDPC codeword in a UWB system according to an embodiment of the present application;
[0086] FIG8 is a schematic diagram of an LDPC encoding process in a UWB system according to an embodiment of the present application;
[0087] FIG9 is a schematic diagram showing how the number of shortened 0 bits required for LDPC codes of different code lengths varies with the length of information bits to be encoded, according to an embodiment of the present application;
[0088] FIG10 is a schematic diagram showing how the effective code rate of LDPC codes with different code lengths varies with the length of information bits to be encoded, provided in an embodiment of the present application;
[0089] FIG11a is a schematic diagram of LDPC codeword length selection according to an embodiment of the present application;
[0090] FIG11b is a schematic diagram of another LDPC codeword length selection provided in an embodiment of the present application;
[0091] FIG12 is another flow chart of a method for determining the length of an LDPC codeword in a UWB system according to an embodiment of the present application;
[0092] FIG13a is a schematic diagram of another LDPC codeword length selection method provided in an embodiment of the present application;
[0093] FIG13b is a schematic diagram of yet another LDPC codeword length selection method provided in an embodiment of the present application;
[0094] FIG14 is another flow chart of a method for determining the length of an LDPC codeword in a UWB system provided in an embodiment of the present application;
[0095] FIG15 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0096] FIG16 is a schematic structural diagram of a communication device 1000 provided in an embodiment of the present application;
[0097] FIG17 is another schematic structural diagram of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0098] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0099] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c; a and b; a and c; b and c; or a, b, and c. Among them, a, b, and c can be single or multiple.
[0100] The terms "comprise," "include," "have," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0101] In this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary," "for example," or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete way.
[0102] It should be understood that in this application, "when", "if" and "if" all mean that the device will perform corresponding processing under certain objective circumstances, and do not limit the time. It does not require that the device must perform a judgment action when it is implemented, nor does it mean that there are other limitations.
[0103] Elements used in the singular herein are intended to mean "one or more" rather than "one and only one" unless specifically stated otherwise.
[0104] It should be understood that in each embodiment of the present application, determining B based on A does not mean determining B only based on A, but B can also be determined based on A and / or other information.
[0105] The technical solution provided in this application can be applied to wireless personal area networks (WPANs) based on UWB technology. For example, the method provided in this application can be applied to IEEE 802.15 series protocols, such as the 802.15.4ab protocol, or a future generation of UWB WPAN standards, which are not listed here one by one. The method provided in this application can also be applied to various communication systems, for example, the Internet of Things (IoT) system, the Vehicle to X (V2X) system, the Narrow Band Internet of Things (NB-IoT) system, devices in the Internet of Things (IoT), IoT nodes and sensors in the Internet of Things (IoT), smart cameras in smart homes, smart remote controls, smart water and electricity meters, and sensors in smart cities. The method provided in the present application can also be applied to LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), world-wide interoperability for microwave access (WiMAX) communication system, long term evolution (LTE) system, and can also be a fifth-generation (5G) communication system, a sixth-generation (6G) communication system, etc.
[0106] UWB technology is a new type of wireless communication technology. It uses nanosecond-scale, non-sinusoidal narrow pulses to transmit data. By modulating impulse pulses with very steep rise and fall times, it occupies a wide spectrum range, giving the signal a bandwidth in the gigahertz (GHz) range. The bandwidth used by UWB is typically above 1 GHz. Because UWB systems do not need to generate sinusoidal carrier signals and can directly transmit impulse trains, UWB systems have a wide spectrum and very low average power. UWB wireless communication systems have advantages such as strong multipath resolution, low power consumption, and strong confidentiality, which facilitates coexistence with other systems, thereby improving spectrum utilization and system capacity. In addition, in short-range communication applications, the transmission power of UWB transmitters can typically be less than 1 mW (milliwatt). In theory, the interference generated by UWB signals is equivalent to white noise. This facilitates good coexistence between ultra-wideband and existing narrowband communications. Therefore, UWB systems can operate simultaneously with narrowband (NB) communication systems without interfering with each other. The method provided in this application can be implemented by a communication device in a wireless communication system. In a communication device, a device or chip that implements UWB system functions can be referred to as a UWB module, and a device or chip that implements narrowband communication system functions can be referred to as a narrowband communication module. The UWB module and the narrowband communication module can be different devices or chips. Of course, the UWB module and the narrowband communication module can also be integrated into a single device or chip. The embodiments of this application do not limit the implementation of the UWB module and the narrowband communication module in the communication device. The communication device in this application includes a UWB module and optionally also includes a narrowband communication module.
[0107] The method provided in the present application can be implemented by a communication device in a wireless communication system. The communication device can be a device involved in a UWB system. For example, the communication device can include but is not limited to a communication server, router, switch, bridge, computer, mobile phone, etc. that supports UWB technology. For another example, the communication device can include user equipment (UE), which can include various handheld devices, vehicle-mounted devices (such as cars or components installed on cars, etc.) that support UWB technology, wearable devices, Internet of Things (IoT) devices, computing devices or other processing devices connected to a wireless modem, etc., which are not listed here one by one. For another example, the communication device can include a central control point, such as a personal area network (PAN) or a PAN coordinator, etc. The PAN coordinator or PAN can be a mobile phone, a vehicle-mounted device, an anchor point (Anchor), a tag (tag) or a smart home, etc. For another example, the communication device can include a chip, which can be set in a communication server, a router, a switch or a terminal device, etc., which are not listed here one by one. It can be understood that the above description of the communication device applies to the communication device in the present application.
[0108] Optionally, the communication device in the embodiment of the present application may be a device that supports multiple WPAN standards such as IEEE 802.15.4ab or subsequent versions currently under discussion.
[0109] In an embodiment of the present application, the above-mentioned communication device may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software. In addition, the embodiment of the present application does not specifically limit the specific structure of the execution subject of the method provided in the embodiment of the present application, as long as it can communicate according to the method provided in the embodiment of the present application by running a program that records the code of the method provided in the embodiment of the present application.
[0110] For example, see Figure 1, which is a schematic diagram of the structure of a wireless communication system provided in an embodiment of the present application. As shown in Figure 1, the wireless communication system is a star topology, in which a central control node (such as the PAN coordinator in Figure 1) can communicate data with one or more other devices. See Figure 2, which is another schematic diagram of the structure of a wireless communication system provided in an embodiment of the present application. As shown in Figure 2, the wireless communication system is a point-to-point topology, in which a central control node (such as the PAN coordinator in Figure 2) can communicate data with one or more other devices, and other different devices can also communicate data with each other. In Figures 1 and 2, full-function devices and reduced-function devices can both be understood as the communication devices shown in this application. Among them, full-function devices and reduced-function devices are relative terms, for example, a reduced-function device cannot be a PAN coordinator. For example, compared with a full-function device, a reduced-function device may have no coordination capabilities or a lower communication rate than a full-function device. It is understood that the PAN coordinator shown in Figure 2 is only an example. The other three full-function devices shown in Figure 2 can also serve as PAN coordinators and are not shown here one by one. It is also understood that the full-function device and low-function device shown in this application are only examples of communication devices. Any device that can implement the method for determining the length of an LDPC codeword in a UWB system provided in this application falls within the scope of protection of this application.
[0111] The following is a brief introduction to some relevant contents, terms or nouns involved in this application.
[0112] 1. LDPC Code
[0113] The check matrix of the LDPC code is a sparse matrix, that is, the number of non-zero elements in the matrix is much smaller than the number of zero elements, or the ratio of the row weight to the code length and the ratio of the column weight to the code length of the matrix are both very small values. LDPC codes can be represented by a graph, which is called a Tanner graph. The Tanner graph corresponds one-to-one to the check matrix and consists of two types of nodes: the first type of node represents the codeword symbol, called a variable node; the second type of node represents the check constraint relationship, called a check node, and each check node represents a check constraint relationship. For example, as shown in Figures 3a and 3b, Figure 3a is a schematic diagram of the LDPC code check matrix provided in an embodiment of the present application, and Figure 3b is a Tanner graph of the LDPC code provided in an embodiment of the present application. In Figures 3a and 3b, {V i} represents a variable node set, {C i} represents the check node set.
[0114] The LDPC code used in the 802.11ac / ax standard is a quasi-cyclic LDPC (QC-LDPC) code. QC-LDPC code is a type of widely used structured LDPC code. Due to the unique structure of its check matrix, it can be implemented using a simple feedback shift register during encoding, so it can better solve the coding complexity problem of the LDPC code. See Figure 4a, which is a schematic diagram of the LDPC code check matrix with a code rate of 1 / 2 and a code length of 648 provided in an embodiment of the present application. As shown in Figure 4a, each element in the LDPC code check matrix with a code length of N=648 and a code rate of R=1 / 2 represents a square matrix of order Z=N / 24, where "0" represents a Z×Z unit matrix and "-" represents a Z×Z all-zero matrix. For example, the element "22" in Figure 4a represents that the Z×Z unit matrix P is cyclically shifted 22 bits to the right to obtain a cyclic shift matrix P 22 , the other non-zero elements in Figure 4a are similar to element "22" and will not be described in detail. i represents a cyclic shift matrix, and i (0≤i≤Z-1) represents a cyclic shift value. Referring to FIG4b , FIG4b is a schematic diagram of a cyclic shift matrix P1 provided in an embodiment of the present application. As shown in FIG4b , cyclic shift matrix P1 represents a Z×Z unit matrix P cyclically shifted right by 1 bit.
[0115] Existing WLAN standards (such as 802.11n / ac) use orthogonal frequency division multiplexing (OFDM) technology. The LDPC encoding module needs to encode data bits (also known as payload bits) and place them into an integer number of OFDM symbols. These encoded bits must also fit into an integer number of LDPC codewords. Therefore, before transmission, it is necessary to calculate the minimum number of OFDM symbols N required for this transmission. SYM , and then according to N SYM Calculate the total number of coded bits N that can be stored in all OFDM symbols using the current coding and modulation scheme TCB =N CBPS ×N SYM , where N CBPS Indicates the number of coded bits that can be stored in each OFDM symbol. Then, according to the total number of coded bits N TCB Determine the LDPC code length L used in the current transmission LDPC and the required number of codewords N CW. However, for most of the data bit lengths to be encoded and the coding modulation schemes, there are not enough data bits to fill the information bit positions in the LDPC codeword, so a shortening operation is required before generating the parity bits. The shortening operation refers to filling a certain number of 0s in the information bit positions of the LDPC codeword before the LDPC encoding generates the parity bits, and then deleting these 0s after the LDPC encoding generates the parity bits. See Figure 5, which is a schematic diagram of the LDPC encoding process in WLAN provided by an embodiment of the present application. As shown in Figure 5, the LDPC encoding process in WLAN includes at least steps 1 (step 1) to step 6 (step 6). Specifically, step 1 is the data bits to be encoded, such as payload bits (payload bits). Step 2 determines the length L of the LDPC codeword LDPC and the number of codewords N CW , please refer to the description below for the specific determination method. Step 3: Shorten the data bits to be encoded, that is, fill in shortened zero bits after the data bits to be encoded. Step 4: Use the LDPC code check matrix to encode the data bits to be encoded and the shortened zero bits in each LDPC codeword to generate check bits, and then delete these shortened zero bits. Step 5: Repeat (repeat) part of the data bits to be encoded in the LDPC codeword or puncture (puncture) the check bits in the LDPC codeword so that the codeword bits after processing (puncturing or repeating) just fill the OFDM symbol to be transmitted, that is, the number of codeword bits after processing (puncturing or repeating) is equal to the number of bits that the OFDM symbol can carry. Step 6: Concatenate multiple codewords and perform stream parsing.
[0116] In this application, "LDPC code length" refers to the length of an LDPC codeword (LDPC code word length), and "LDPC code length", "LDPC code word length", and "LDPC code word length" can be used interchangeably.
[0117] 2. Method for Determining LDPC Codeword Length in 802.11ac / ax
[0118] The 802.11ac / ax standard adopts a total of 12 LDPC code parity check matrices, with three code lengths: 648 bits, 1296 bits, and 1944 bits. Each code length supports four different code rates (the code rates here refer to reference code rates): 1 / 2, 2 / 3, 3 / 4, and 5 / 6. Figures 6a and 6b illustrate the LDPC parity check matrices for code rates of 1 / 2 (i.e., R = 1 / 2) and code lengths of 1296 bits and 1944 bits, respectively. The LDPC parity check matrix for code rate 1 / 2 and code length 648 bits is shown in Figure 4a. It should be understood that the meanings of the various elements in Figures 6a and 6b refer to those of Figure 4a and are not further elaborated here.
[0119] Optionally, the code rate selection in the 802.11ac / ax standard is determined by the modulation and coding scheme (MCS) selected by link adaptive transmission. In WLAN, LDPC codes are selected from 12 parity check matrices based on the code length and code rate, with each parity check matrix being different for each code length and code rate. For a given code rate, existing WLAN standards calculate the required LDPC code length for data transmission based on the current packet length and the number of OFDM symbols.
[0120] Specifically, the calculation method of the LDPC codeword length in the existing WLAN standard is as follows:
[0121] 1. Calculate the number of OFDM channels required for this data transmission:
[0122] Among them, N SYM Indicates the number of OFDM symbols required for this data transmission, length indicates the length of the data packet (in bytes), m STBC Indicates the space-time coding mode of the data packet (the value is 1 when space-time coding is not used), N DBPS Indicates the number of data bits carried by each OFDM symbol. Indicates rounding up, which will not be further explained below.
[0123] 2. Calculate the bit length of this data transmission after adding the 16-bit cyclic redundancy check (CRC): N pld =8·length+16................................................................................................(1-2)
[0124] 3. Calculate the number of codeword bits for this data transmission: N TCB =N CBPS ×N SYM ............................................................................................................(1-3)
[0125] Among them, N TCB Indicates the number of codeword bits transmitted this time, N CBPS Indicates the number of codeword bits carried by each OFDM symbol.
[0126] 4. According to the above parameters (N TCB 、N pld etc.) and the following Table 1 to determine the LDPC codeword length for this data transmission.
[0127] Table 1
[0128] It should be understood that R in Table 1 represents the code rate.
[0129] The selection of LDPC codeword length in WLAN standard is based on the above parameters (N TCB , N pld In addition to the performance of the long code and the number of punctured bits, it is also necessary to comprehensively consider. As shown in step 5 of Figure 5 above, puncturing may be required after LDPC encoding in WLAN, that is, several check bits at the end are not transmitted. Puncturing will lead to an increase in the actual code rate (that is, the actual code rate is greater than the reference code rate), resulting in a certain performance loss. Although the longer the LDPC code length, the better the error control performance, so the long code should be selected as much as possible in the selection of code length. However, in practice, the code length selection of WLAN's LDPC code needs to balance between the long code and the number of punctured bits. As shown in Table 1 above, the code length selection of WLAN's LDPC code does not increase monotonically with the increase of data packet length, but may continue to fall back to a shorter code length as the data packet length increases. In addition, because the encoded bits must at least fill a single OFDM symbol, under the shortest packet length (that is, N TCB ≤648), the LDPC code of WLAN selects the intermediate code length (1296 bits) instead of the shortest code length (648 bits).
[0130] As can be seen from the preceding, LDPC codes are widely used in WLAN standards to improve the transmission reliability of wireless transmission systems. Next-generation UWB standards, such as IEEE 802.15ab, are considering introducing 1 / 2 LDPC codes in WLAN to enhance system transmission reliability. One key candidate is to reuse 1 / 2 LDPC codes with code lengths of 648 bits, 1296 bits, and 1944 bits used in WLAN. However, if 1 / 2 LDPC codes with code lengths of 648 bits, 1296 bits, and 1944 bits are reused in WLAN, the determination of the LDPC codeword length in UWB systems remains a pressing issue.
[0131] The present application provides a method and related device for determining the length of LDPC codewords in a UWB system, which can ensure that long codes are used as much as possible during UWB transmission to obtain better error control performance gain, and can also reduce the code rate loss caused by excessive shortening of 0 bits.
[0132] The technical solution provided in this application will be described in detail below with reference to more drawings.
[0133] In order to facilitate the clear description of the technical solution of the present application, the present application is described through a plurality of embodiments, and the specific embodiments are as follows. In the present application, unless otherwise specified, the same or similar parts between the various embodiments or implementation methods can refer to each other. In the various embodiments of the present application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The implementation methods of the present application described below do not constitute a limitation on the scope of protection of the present application. It should be understood that the order of the following embodiments does not represent the degree of importance.
[0134] Example 1
[0135] Embodiment 1 of the present application mainly introduces a method for determining the length of an LDPC codeword when reusing LDPC codes of three code lengths (i.e., 648 bits, 1296 bits, and 1944 bits) in a WLAN in a UWB system.
[0136] Referring to FIG. 7 , FIG. 7 is a flow chart illustrating a method for determining the length of an LDPC codeword in a UWB system according to an embodiment of the present application. The communication device in this method may be any of the devices in FIG. 1 or FIG. 2 . As shown in FIG. 7 , the method for determining the length of an LDPC codeword in a UWB system includes, but is not limited to, the following steps:
[0137] S101: The communication device obtains the length of information bits to be encoded.
[0138] The information bits to be encoded in the embodiment of the present application may refer to information bits before channel coding, or information bits input at the input end of the channel coding module. Exemplarily, the information bits to be encoded may be data bits to be encoded (i.e., payload bits), or the information bits to be encoded may include data bits to be encoded and CRC bits, which is not limited in the embodiment of the present application.
[0139] S102, the communication device determines the length of the LDPC codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits, wherein if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits.
[0140] The reference code rate R of the LDPC codeword is 1 / 2.
[0141] Optionally, the communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including: if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the communication device determines the length of the LDPC codeword to be 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the communication device determines the length of the LDPC codeword to be 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the communication device determines the length of the LDPC codeword to be 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the communication device determines the length of the LDPC codeword to be 1296 bits. In one possible implementation, if the length of the information bits to be encoded is greater than 1296 bits, the communication device determines the length of the LDPC codeword to be 1944 bits. In another possible implementation, if the length of the above-mentioned information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the communication device determines that the length of the LDPC codeword is 648 bits; if the length of the above-mentioned information bits to be encoded is greater than 1620 bits and less than or equal to 1944 bits, the communication device determines that the length of the LDPC codeword is 1944 bits; if the length of the above-mentioned information bits to be encoded is greater than 1944 bits and less than or equal to 2592 bits, the communication device determines that the length of the LDPC codeword is 1296 bits; if the length of the above-mentioned information bits to be encoded is greater than 2592 bits, the communication device determines that the length of the LDPC codeword is 1944 bits.
[0142] In other words, the communication device can determine the length of the LDPC codeword based on the length of the above-mentioned information bits to be encoded and at least one row in the following Table 2 or the following Table 3. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. Among them, Table 2 and Table 3 can be defined by the standard, or can be preset, or can be determined by negotiation between the communicating parties, etc. It can be understood that Table 2 and Table 3 are only examples. In actual applications, the relationship between the length range of the information bits to be encoded and the length of the LDPC codeword can be a subset of Table 2 or Table 3. That is to say, the rows shown in Table 2 can be decoupled, and in actual applications, some or all of the rows shown in Table 2 can exist. Similarly, the rows shown in Table 3 can be decoupled, and in actual applications, some or all of the rows shown in Table 3 can exist.
[0143] Table 2
[0144] Table 3
[0145] In Table 2 and Table 3 above, "Inf_Num" represents the length of the information bits to be encoded. The same characters have the same meanings below and will not be repeated here.
[0146] Optionally, after step S102, the communication device may generate the LDPC codeword based on the determined length of the LDPC codeword, the above-mentioned information bits to be encoded, the reference code rate (1 / 2) of the LDPC codeword, and other information, and transmit the LDPC codeword. The LDPC codeword includes the information bits to be encoded and the check bits generated by encoding the information bits to be encoded (or the information bits to be encoded and shortened 0 bits) using the check matrix corresponding to the LDPC codeword. For example, the way in which the communication device generates the LDPC codeword can refer to steps 1 to 4 of Figure 5 above. Exemplarily, the communication device can transmit the LDPC codeword to other communication devices, or to the next module of the channel coding module for processing. For example, the way in which the communication device transmits the LDPC codeword can refer to step 6 of Figure 5 above. In other words, because there are no OFDM symbols in the UWB system, step 5 in Figure 5 above does not exist in the LDPC encoding process in the UWB system.
[0147] The number of shortened 0 bits in the LDPC codeword of the embodiment of the present application can be determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword. The number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and the reference code rate. Specifically, the number of shortened 0 bits is: Padding_Num = mod(K - mod(Inf_Num, K), K)................................................................(2-1)
[0148] Padding_Num represents the number of zero bits shortened in the LDPC codeword, K represents the number of information bits in the LDPC codeword, and Inf_Num represents the length of the information bits to be encoded. mod represents the modulo operation. The same expressions below have the same meaning and are not repeated here. K = N × R, where N represents the length of the LDPC codeword and R represents the reference bit rate of the LDPC codeword.
[0149] The beneficial effects of the embodiments of the present application are described in detail below in combination with the design concepts of Table 2 and Table 3.
[0150] It can be understood that the LDPC encoding process in the WLAN system is as shown in Figure 5 above. All the encoded codeword bits need to be placed in the OFDM symbol to be transmitted; if the number of all the encoded codeword bits exceeds the number of bits that the OFDM symbol can carry, the codeword needs to be punctured so that all the encoded codeword bits can be punctured to just fit into the OFDM symbol to be transmitted; if the number of all the encoded codeword bits is less than the number of bits that the OFDM symbol can carry, some information bits in the codeword need to be repeated to fill the OFDM symbol.
[0151] Unlike WLAN systems, UWB systems do not have OFDM symbols. This means that UWB transmission does not require the encoded codeword bits to be loaded into OFDM symbols, nor does it require puncturing to remove parity bits that may exceed the maximum number of bits that can be loaded into an OFDM symbol. Therefore, when selecting the LDPC codeword length in a UWB system, it is necessary to consider both performance and code rate waste (i.e., excessive shortening of zero bits). This is in addition to the considerations of repeat bits and punctured bits caused by OFDM symbols. This also means that the impact of step 5 in Figure 5 on the selection of the LDPC codeword length does not need to be considered. In other words, the method for selecting (or determining) the LDPC codeword length in a UWB system differs from that in a WLAN system. However, selecting (or determining) the LDPC codeword length in a UWB system also requires a trade-off between long and short codes. This is because: consistently using long codes (such as 1944-bit LDPC codes) will achieve better error control performance, but for shorter information bits to be encoded, a large number of zero bits need to be shortened, resulting in a waste of code rate; while consistently using short codes (such as 648-bit LDPC codes) will reduce the performance of long data packets compared to using long codes. In other words, consistently using short codes will result in performance loss for long data packets.
[0152] See Figure 8, which is a schematic diagram of the LDPC encoding process in the UWB system provided by an embodiment of the present application. For ease of description, as shown in Figure 8, taking the information bits to be encoded as payload bits as an example, it should be understood that the information bits to be encoded in Figure 8 are not limited to payload bits, but can also be a set of payload bits and CRC bits. In step 3 (step 3), if the information bits to be encoded cannot fill the information bit positions of the LDPC codeword, it is necessary to add zeros after the information bits to be encoded to fill the information bit positions of the LDPC codeword; and then use the check matrix corresponding to the LDPC codeword to encode the information bits to be encoded and the shortened zero bits (shortening zero bits) to generate check bits. After encoding to obtain the complete LDPC codeword, delete the shortened zero bits added in step 3 as shown in step 4 to obtain the final transmitted codeword sequence.
[0153] As shown in Figure 8, the shortening operation in step 3 causes the actual code rate of the final transmitted codeword sequence to be lower than the reference code rate of the LDPC codeword. For example, for an LDPC code with a reference code rate of 1 / 2 (i.e., R = 1 / 2) and a code length of 1944 bits (i.e., N = 1944), the number of information bits K = N × R = 1944 × (1 / 2) = 972 bits, and the number of parity bits M = N × (1-R) = 1944 × (1 / 2) = 972 bits. If the zero bit is shortened to 486 bits, the actual code rate R′ = (972-486) / (972-486+972) = 486 / 1458 = 1 / 3. However, the required code rate for system transmission is 1 / 2, but the actual code rate of the 1944-bit LDPC code is R′ = 1 / 3, resulting in a waste of code rate and increasing the system's transmission overhead.
[0154] According to the calculation method of the number of shortened 0 bits in the above formula (2-1), when the reference code rate is fixed at 1 / 2, the number of shortened 0 bits required for LDPC codes of three code lengths (i.e., 648 bits, 1296 bits, and 1944 bits) varies with the length of the information bits to be encoded, as shown in Figure 9. The horizontal axis in Figure 9 represents the length of the information bits to be encoded, and the vertical axis represents the number of shortened 0 bits. "①" in Figure 9 represents the curve of the number of shortened 0 bits required for an LDPC code with a reference code rate of 1 / 2 and a code length of 648 bits as the length of the information bits to be encoded. "②" in Figure 9 represents the curve of the number of shortened 0 bits required for an LDPC code with a reference code rate of 1 / 2 and a code length of 1296 bits as the length of the information bits to be encoded. "③" in Figure 9 represents the curve of the number of shortened 0 bits required for an LDPC code with a reference code rate of 1 / 2 and a code length of 1944 bits as the length of the information bits to be encoded. In order to reduce code rate waste (or transmission overhead), it is possible to consider selecting the code length with the least number of shortened 0 bits given the length of the information bits to be encoded; if the number of shortened 0 bits required for LDPC codes of multiple code lengths is the same, then the LDPC code with the longest code length is selected because the long code has better error control performance. For example, when the length of the information bits to be encoded is 0 to 324 bits, a 648-bit LDPC code is selected; when the length of the information bits to be encoded is 325 to 648 bits, a 1296-bit LDPC code is selected; when the length of the information bits to be encoded is 649 to 972 bits, a 1944-bit LDPC code is selected; when the length of the information bits to be encoded is 973 to 1296 bits, a 1296-bit LDPC code is selected; when the length of the information bits to be encoded is 1297 to 1620 bits, a 648-bit LDPC code is selected; when the length of the information bits to be encoded is 1621 to 1944 bits, a 1944-bit LDPC code is selected; and so on.
[0155] However, minimizing the number of shortened 0 bits will result in switching back and forth between the three code lengths as the length of the information bits to be encoded increases. This will result in the selection of a short code for long data packets (such as when the length of the information bits to be encoded is 1297 to 1620 bits, an LDPC code with a length of 648 bits will be selected), resulting in performance loss. In order to reduce the performance loss of long data packets, the embodiment of the present application considers assisting the selection of code length by using an effective code rate. Among them, the effective code rate (Rate_E) can be determined based on the length of the information bits to be encoded (Inf_Num), the number of information bits in the LDPC codeword (K), and the number of check bits in the LDPC codeword (M). Specifically, the effective code rate (Rate_E) can be expressed as: Rate_E=Inf_Num / Trans_Bits......................................................................................(2-2) Trans_Bits=Inf_Num+(floor((Inf_Num-1) / K)+1)*M...............................................(2-3)
[0156] Among them, floor means rounding down.
[0157] According to the calculation method of the effective code rate (Rate_E) of formula (2-2), when the reference code rate is fixed at 1 / 2, the effective code rates of LDPC codes of three code lengths (i.e., 648 bits, 1296 bits, and 1944 bits) vary with the length of the information bits to be encoded, as shown in Figure 10. The horizontal axis in Figure 10 represents the length of the information bits to be encoded, and the vertical axis represents the effective code rate. "①" in Figure 10 represents the curve of the effective code rate of the LDPC code with a reference code rate of 1 / 2 and a code length of 648 bits varying with the length of the information bits to be encoded. "②" in Figure 10 represents the curve of the effective code rate of the LDPC code with a reference code rate of 1 / 2 and a code length of 1296 bits varying with the length of the information bits to be encoded. "③" in Figure 10 represents the curve of the effective code rate of the LDPC code with a reference code rate of 1 / 2 and a code length of 1944 bits varying with the length of the information bits to be encoded. To minimize performance loss for long data packets, consider selecting a code length with a higher effective code rate for a given information bit length. If multiple LDPC codes have the same effective code rate, select the one with the longest code length, as longer codes offer better error control. For example, if the information bits to be encoded are 0 to 324 bits long, select a 648-bit LDPC code; if the information bits to be encoded are 325 to 648 bits, select a 1296-bit LDPC code; if the information bits to be encoded are 649 to 972 bits, select a 1944-bit LDPC code; if the information bits to be encoded are 973 to 1296 bits, select a 1296-bit LDPC code; and so on.
[0158] As can be understood, as shown in Figure 10, as the length of the information bits to be encoded increases, the effective code rate (Rate_E) approaches the reference code rate of 1 / 2. Therefore, when the information bits to be encoded are very long, the code rate loss caused by shortening the 0 bits is very small. In other words, when the information bits to be encoded are very long, the LDPC code with the longest code length (i.e., 1944 bits) can be selected. This is because the error control performance gain of long codes is greater.
[0159] The embodiment of the present application selects the length of the LDPC codeword according to the effective code rate, specifically by setting a threshold value Rth. When the effective code rate is greater than the threshold value Rth, the longest codeword is selected to obtain the optimal coding gain; when the effective code rate is less than or equal to the threshold value Rth, the codeword length with the highest effective code rate is selected. For example, refer to Figure 11a, which is a schematic diagram of the length selection of the LDPC codeword provided by the embodiment of the present application. As shown in Figure 11a, assuming that the threshold value Rth is 0.4, according to the above principles, the above Table 2 can be obtained. For another example, refer to Figure 11b, which is a schematic diagram of the length selection of another LDPC codeword provided by the embodiment of the present application. As shown in Figure 11b, assuming that the threshold value Rth is 0.42, according to the above principles, the above Table 3 can be obtained. In Figures 11a and 11b, the horizontal axis represents the length of the information bits to be encoded, and the vertical axis represents the effective code rate. In Figures 11a and 11b, "①" represents the curve of the effective code rate of the LDPC code with a reference code rate of 1 / 2 and a code length of 648 bits varying with the length of the information bits to be encoded; "②" represents the curve of the effective code rate of the LDPC code with a reference code rate of 1 / 2 and a code length of 1296 bits varying with the length of the information bits to be encoded; "③" represents the curve of the effective code rate of the LDPC code with a reference code rate of 1 / 2 and a code length of 1944 bits varying with the length of the information bits to be encoded.
[0160] Therefore, the method for determining the length of the LDPC codeword in the embodiment of the present application, through the trade-off between the effective code rate and the long code performance, can ensure that long codes are used as much as possible in UWB transmission to obtain better error control performance gain, and can avoid the code rate loss caused by excessive shortening of 0 bits when the length of the information bits to be encoded is short.
[0161] In some scenarios, to reduce power consumption in UWB systems, only LDPC codes with medium and short code lengths in WLANs, i.e., LDPC codes with code lengths of 648 bits and 1296 bits, may be reused.
[0162] Example 2
[0163] The second embodiment of the present application mainly introduces a method for determining the LDPC codeword length in a UWB system when reusing LDPC codes with medium and short code lengths (i.e., 648 and 1296 bits) in a WLAN.
[0164] Referring to FIG. 12 , FIG. 12 is another flow chart of a method for determining the length of an LDPC codeword in a UWB system according to an embodiment of the present application. The communication device in this method may be any of the devices in FIG. 1 or FIG. 2 . As shown in FIG. 12 , the method for determining the length of an LDPC codeword in a UWB system includes, but is not limited to, the following steps:
[0165] S201: The communication device obtains the length of information bits to be encoded.
[0166] The information bits to be encoded in the embodiment of the present application may refer to information bits before channel coding, or information bits input at the input end of the channel coding module. Exemplarily, the information bits to be encoded may be data bits to be encoded (i.e., payload bits), or the information bits to be encoded may also include data bits to be encoded and CRC bits, which is not limited in the embodiment of the present application.
[0167] S202, the communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits, wherein if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 648 bits.
[0168] The reference code rate R of the LDPC codeword is 1 / 2.
[0169] Optionally, the communication device determines the length of the LDPC codeword based on the length of the information bits to be encoded, including: if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the communication device determines the length of the LDPC codeword to be 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the communication device determines the length of the LDPC codeword to be 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the communication device determines the length of the LDPC codeword to be 648 bits. In one possible implementation, if the length of the information bits to be encoded is greater than 972 bits, the communication device determines the length of the LDPC codeword to be 1296 bits. In another possible implementation, if the length of the above-mentioned information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the communication device determines that the length of the LDPC codeword is 1296 bits; if the length of the above-mentioned information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the communication device determines that the length of the LDPC codeword is 648 bits; if the length of the above-mentioned information bits to be encoded is greater than 1620 bits, the communication device determines that the length of the LDPC codeword is 1296 bits.
[0170] In other words, the communication device can determine the length of the LDPC codeword based on the length of the above-mentioned information bits to be encoded and at least one row in the following Table 4 or the following Table 5. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. Among them, Table 4 and Table 5 can be defined by the standard, or can be preset, or can be determined by negotiation between the communicating parties, etc. It can be understood that Table 4 and Table 5 are only examples. In actual applications, the relationship between the length range of the information bits to be encoded and the length of the LDPC codeword can be a subset of Table 4 or Table 5. That is to say, the rows shown in Table 4 can be decoupled, and in actual applications, some or all of the rows shown in Table 4 can exist. Similarly, the rows shown in Table 5 can be decoupled, and in actual applications, some or all of the rows shown in Table 5 can exist.
[0171] Table 4
[0172] Table 5
[0173] In Tables 4 and 5 above, “Inf_Num” represents the length of the information bits to be encoded.
[0174] Optionally, after step S202, the communication device may generate the LDPC codeword based on the determined length of the LDPC codeword, the above-mentioned information bits to be encoded, the reference code rate (1 / 2) of the LDPC codeword, and other information, and transmit the LDPC codeword. The LDPC codeword includes the information bits to be encoded and the check bits generated by encoding the information bits to be encoded (or the information bits to be encoded and shortened 0 bits) using the check matrix corresponding to the LDPC codeword. For example, the way in which the communication device generates the LDPC codeword can refer to steps 1 to 4 of Figure 5 above. Exemplarily, the communication device can transmit the LDPC codeword to other communication devices, or to the next module of the channel coding module for processing. For example, the way in which the communication device transmits the LDPC codeword can refer to step 6 of Figure 5 above. In other words, because there are no OFDM symbols in the UWB system, step 5 in Figure 5 above does not exist in the LDPC encoding process in the UWB system.
[0175] The number of shortened 0 bits in the LDPC codeword of the embodiment of the present application can be determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword. The number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and the reference bit rate. Specifically, the number of shortened 0 bits is determined according to the above formula (2-1).
[0176] It can be understood that the design concepts of Tables 4 and 5 in the embodiments of the present application are similar to those of Tables 2 and 3 in the aforementioned embodiment 1. Specifically, to reduce power consumption in UWB systems, the embodiments of the present application reuse only LDPC codes with medium and short code lengths in WLAN, namely LDPC codes with code lengths of 648 bits and 1296 bits. The length of the LDPC codeword is selected based on the effective code rate, specifically by setting a threshold value Rth. When the effective code rate is greater than the threshold value Rth, the longest codeword between 648 bits and 1296 bits is selected to achieve the optimal coding gain. When the effective code rate is less than or equal to the threshold value Rth, the codeword length with the highest effective code rate is selected. For example, see Figure 13a, which is a schematic diagram of another LDPC codeword length selection provided in the embodiments of the present application. As shown in Figure 13a, assuming the threshold value Rth is 0.4, according to the above principles, the above Table 4 can be obtained. For another example, see Figure 13b, which is a schematic diagram of yet another LDPC codeword length selection provided in the embodiments of the present application. As shown in Figure 13b, assuming the threshold value Rth is 0.42, according to the above principles, Table 5 can be obtained. In Figures 13a and 13b, the abscissa represents the length of the information bits to be encoded, and the ordinate represents the effective code rate. In Figures 13a and 13b, "①" represents the effective code rate of an LDPC code with a reference code rate of 1 / 2 and a code length of 648 bits versus the length of the information bits to be encoded; "②" represents the effective code rate of an LDPC code with a reference code rate of 1 / 2 and a code length of 1296 bits versus the length of the information bits to be encoded.
[0177] The beneficial effects of the embodiments of the present application and the beneficial effects of the aforementioned embodiment 1 can be referenced with each other. Specifically, the embodiments of the present application still ensure that long codes are used as much as possible in UWB transmission to obtain better error control performance gains by balancing the effective code rate and long code performance, while also avoiding code rate losses caused by excessive shortening of zero bits when the length of the information bits to be encoded is short. In addition, the embodiments of the present application only use LDPC codes with medium and short code lengths in WLAN (i.e., LDPC codes with code lengths of 648 bits and 1296 bits), which can reduce the power consumption of the UWB system.
[0178] It is understood that the length of the information bits to be encoded in the aforementioned embodiments 1 and 2 is designed and described in bits. In some scenarios, the length of the information bits to be encoded can also be expressed in bytes. In this case, the method for determining the length of the LDPC codeword in the UWB system can be as described in the following embodiment 3. It is also understood that the design concept of the following embodiment 3 is similar to that of the aforementioned embodiments 1 and 2, and their beneficial effects can also be referenced to each other.
[0179] Example 3
[0180] Referring to FIG. 14 , FIG. 14 is another flow chart of a method for determining the length of an LDPC codeword in a UWB system provided by an embodiment of the present application. The communication device in this method may be any of the devices in FIG. 1 or FIG. 2 . As shown in FIG. 14 , the method for determining the length of an LDPC codeword in a UWB system includes, but is not limited to, the following steps:
[0181] S301: The communication device obtains the length of information bits to be encoded.
[0182] The information bits to be encoded in the embodiment of the present application may refer to information bits before channel coding, or information bits input at the input end of the channel coding module. Exemplarily, the information bits to be encoded may be data bits to be encoded (i.e., payload bits), or the information bits to be encoded may include data bits to be encoded and CRC bits, which is not limited in the embodiment of the present application.
[0183] S302: The communication device determines the length of the LDPC codeword according to the length of the information bits to be encoded. The check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits.
[0184] Optionally, the communication device may determine the length of the LDPC codeword based on the length of the information bits to be encoded and any one of the following implementations 1 to 4.
[0185] Implementation method 1:
[0186] The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 41 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 82 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits. In a possible implementation, if the length of the information bits to be encoded is greater than or equal to 163 bytes, the length of the LDPC codeword is 1944 bits. In another possible implementation, the length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than or equal to 244 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 325 bytes, the length of the LDPC codeword is 1944 bits.
[0187] Illustratively, the relationship between the length range of the information bits to be encoded and the length of the LDPC codeword in Implementation 1 can be shown as at least one row in Table 6 or Table 7 below. For example, when the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits. For another example, when the length of the information bits to be encoded is greater than or equal to 41 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits. For another example, when the length of the information bits to be encoded is greater than or equal to 82 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits. For another example, when the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits. For another example, when the length of the information bits to be encoded is greater than or equal to 163 bytes, the length of the LDPC codeword is 1944 bits. It will be understood that the same or similar descriptions below represent the same or similar meanings and are not listed one by one.
[0188] Tables 6 and 7 may be defined by a standard, preset, or negotiated between the communicating parties. It should be understood that Tables 6 and 7 are merely examples. In actual applications, the relationship between the length range of the information bits to be encoded and the LDPC codeword length may be a subset of Tables 6 or 7. That is, the rows shown in Table 6 can be decoupled, and in actual applications, some or all of the rows shown in Table 6 may exist. Similarly, the rows shown in Table 7 can be decoupled, and in actual applications, some or all of the rows shown in Table 7 may exist.
[0189] Table 6
[0190] Table 7
[0191] Implementation 2:
[0192] The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 40 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 81 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits. In one possible implementation, if the length of the information bits to be encoded is greater than 162 bytes, the length of the LDPC codeword is 1944 bits. In another possible implementation, the length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 243 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 324 bytes, the length of the LDPC codeword is 1944 bits.
[0193] Exemplarily, the relationship between the length range of the information bits to be encoded and the LDPC codeword length in implementation method 2 can be shown as at least one row in Table 8 or Table 9 below. Among them, Table 8 and Table 9 can be defined by the standard, or can be preset, or can be determined by negotiation between the communicating parties, etc. It can be understood that Table 8 and Table 9 are only examples. In actual applications, the relationship between the length range of the information bits to be encoded and the LDPC codeword length can be a subset of Table 8 or Table 9. In other words, the rows shown in Table 8 can be decoupled, and in actual applications, some or all of the rows shown in Table 8 can exist. Similarly, the rows shown in Table 9 can be decoupled, and in actual applications, some or all of the rows shown in Table 9 can exist.
[0194] Table 8
[0195] Table 9
[0196] Implementation 3:
[0197] The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 41 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 82 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 648 bits. In one possible implementation, if the length of the information bits to be encoded is greater than or equal to 122 bytes, the length of the LDPC codeword is 1296 bits. In another possible implementation, the length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes, the length of the LDPC codeword is 1296 bits.
[0198] Exemplarily, the relationship between the length range of the information bits to be encoded and the length of the LDPC codeword in implementation method 3 can be shown in at least one row of Table 10 or Table 11 (except the first row) below. Among them, Table 10 and Table 11 can be defined by the standard, or can be preset, or can be determined by negotiation between the communicating parties, etc. It can be understood that Table 10 and Table 11 are only examples. In actual applications, the relationship between the length range of the information bits to be encoded and the length of the LDPC codeword can be a subset of Table 10 or Table 11. That is to say, the rows shown in Table 10 can be decoupled, and in actual applications, some or all of the rows shown in Table 10 can exist. Similarly, the rows shown in Table 11 can be decoupled, and in actual applications, some or all of the rows shown in Table 11 can exist.
[0199] Table 10
[0200] Table 11
[0201] Implementation 4:
[0202] The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 40 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 81 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 648 bits. In one possible implementation, if the length of the information bits to be encoded is greater than 121 bytes, the length of the LDPC codeword is 1296 bits. In another possible implementation, the length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes, the length of the LDPC codeword is 1296 bits.
[0203] Exemplarily, the relationship between the length range of the information bits to be encoded and the length of the LDPC codeword in implementation method 4 can be shown in at least one row of Table 12 or Table 13 (except the first row) below. Among them, Table 12 and Table 13 can be defined by the standard, or can be preset, or can be determined by negotiation between the communicating parties, etc. It can be understood that Table 12 and Table 13 are only examples. In actual applications, the relationship between the length range of the information bits to be encoded and the length of the LDPC codeword can be a subset of Table 12 or Table 13. That is to say, the rows shown in Table 12 can be decoupled, and in actual applications, some or all of the rows shown in Table 12 can exist. Similarly, the rows shown in Table 13 can be decoupled, and in actual applications, some or all of the rows shown in Table 13 can exist.
[0204] Table 12
[0205] Table 13
[0206] Implementation 5:
[0207] The communication device can determine the length of the LDPC codeword not only based on the length of the information bits to be encoded, but also in combination with the data rate.
[0208] Among them, the length of the information bits to be encoded and the length of the LDPC codeword meet the following conditions: when the length of the above-mentioned information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, if the data rate is less than or equal to the preset threshold, the length of the above-mentioned LDPC codeword is 1296 bits; when the length of the above-mentioned information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, if the data rate is greater than the preset threshold, the length of the above-mentioned LDPC codeword is 1944 bits. It can be understood that when the data rate is equal to the preset threshold, the length of the above-mentioned LDPC codeword can be either 1296 bits or 1944 bits. In other words, when the data rate is equal to the preset threshold, the length of the LDPC codeword can be selected as 1296 bits or 1944 bits according to the actual situation, and the embodiments of the present application do not impose any restrictions.
[0209] It is understood that the data rate can also be understood as the data symbol rate or the nominal bit rate, which is not limited in the present embodiment. The data rate may include 1.95 Mbps, 7.8 Mbps, 31.2 Mbps, and 62.4 Mbps, and optionally also includes 124.8 Mbps. Of course, as the standard evolves, the data rate may also include other values, which are not listed here.
[0210] Exemplarily, the preset threshold may be 1.95 Mbps, 7.8 Mbps, 31.2 Mbps, or 62.4 Mbps. Alternatively, the preset threshold may be a rounded-down value of 1.95 Mbps, a rounded-down value of 7.8 Mbps, a rounded-down value of 31.2 Mbps, or a rounded-down value of 62.4 Mbps. Alternatively, the preset threshold may be a value near 1.95 Mbps, such as 1.94 Mbps or 1.96 Mbps; or a value near 7.8 Mbps, such as 7.7 Mbps, 7.6 Mbps, 7.9 Mbps, or 8.0 Mbps; or a value near 31.2 Mbps, such as 31.1 Mbps, 31.15 Mbps, or 31.3 Mbps; or a value near 62.4 Mbps, such as 62.5 Mbps, 62.35 Mbps, 62.34 Mbps, or 62.5 Mbps. Of course, the preset threshold may also be a range, such as 1.90 Mbps to 2.0 Mbps, or 7.5 Mbps to 8.0 Mbps, or 31.0 Mbps to 32.0 Mbps, or 62.3 Mbps to 62.5 Mbps. The preset threshold may be set according to actual conditions, and the embodiments of the present application do not limit the specific value of the preset threshold.
[0211] It can be understood that implementation method 5 can effectively improve transmission performance and reduce latency by determining the length of the LDPC codeword in combination with the data rate. For example, as shown in Table 14 below, Table 14 shows the time difference between the transmission of an LDPC codeword of 1944 bits in the air and an LDPC codeword of 1296 bits in length when the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, using the same data rate. As shown in Table 14 below, when the length of the above-mentioned information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, if the data rate is less than or equal to 1.95Mbps or the data rate is less than 7.8Mbps, using an LDPC codeword of 1944 bits can save approximately 166us (microseconds) compared to using an LDPC codeword of 1296 bits.
[0212] Table 14
[0213] Optionally, the length of the information bits to be encoded and the length of the LDPC codeword may also satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 21 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 21 bytes and less than or equal to 44 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 44 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits.
[0214] In one possible implementation, if the length of the information bits to be encoded is greater than 162 bytes, the length of the LDPC codeword is 1944 bits. In another possible implementation, the length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 243 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 324 bytes, the length of the LDPC codeword is 1944 bits.
[0215] Exemplarily, the relationship between the length range of the information bits to be encoded and the LDPC codeword length in implementation method 5 can be shown as at least one row in Table 15 or Table 16 below. In Tables 15 and 16 below, R represents the data rate, and Rth represents the preset threshold. Tables 15 and 16 can be defined by the standard, preset, or determined by negotiation between the communicating parties. It can be understood that Tables 15 and 16 are only examples. In actual applications, the relationship between the length range of the information bits to be encoded and the LDPC codeword length can be a subset of Table 15 or Table 16. That is to say, the rows shown in Table 15 can be decoupled, and in actual applications, some or all of the rows shown in Table 15 can exist. Similarly, the rows shown in Table 16 can be decoupled, and in actual applications, some or all of the rows shown in Table 16 can exist.
[0216] Table 15
[0217] Table 16
[0218] Optionally, the reference code rate R of the LDPC codeword is 1 / 2.
[0219] Optionally, after step S302, the communication device may generate the LDPC codeword based on the determined length of the LDPC codeword, the above-mentioned information bits to be encoded, the reference code rate (1 / 2) of the LDPC codeword, and other information, and transmit the LDPC codeword. The LDPC codeword includes the information bits to be encoded and the check bits generated after encoding the information bits to be encoded (or the information bits to be encoded and shortened 0 bits) using the check matrix corresponding to the LDPC codeword. For example, the way in which the communication device generates the LDPC codeword can refer to steps 1 to 4 of Figure 5 above. Exemplarily, the communication device can transmit the LDPC codeword to other communication devices, or to the next module of the channel coding module for processing. For example, the way in which the communication device transmits the LDPC codeword can refer to step 6 of Figure 5 above. In other words, because there are no OFDM symbols in the UWB system, step 5 in Figure 5 above does not exist in the LDPC encoding process in the UWB system.
[0220] The number of shortened 0 bits in the LDPC codeword of the embodiment of the present application can be determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword. The number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and the reference bit rate. Specifically, the number of shortened 0 bits is determined according to the above formula (2-1).
[0221] The beneficial effects of the embodiments of the present application can refer to the beneficial effects of the aforementioned embodiment 1 or embodiment 2, which will not be repeated here.
[0222] The above content elaborates on the method provided by the present application. In order to facilitate the implementation of the above scheme of the embodiment of the present application, the embodiment of the present application also provides corresponding devices or equipment.
[0223] The present application divides the functional modules of the communication device according to the above-mentioned method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in this application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The communication device of the embodiment of the present application will be described in detail below with reference to Figures 15 to 17.
[0224] 15 is a schematic diagram of a communication device according to an embodiment of the present application. As shown in FIG15 , the communication device includes an acquisition unit 10 and a determination unit 20. Optionally, the communication device further includes a transmission unit 30.
[0225] In one design, an acquisition unit 10 is used to obtain the length of information bits to be encoded; a determination unit 20 is used to determine the length of an LDPC codeword based on the length of the information bits to be encoded, and a check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. If the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits.
[0226] In a possible implementation, the transmission unit 30 is configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0227] In another design, the acquisition unit 10 is used to obtain the length of the information bits to be encoded; the determination unit 20 is used to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. If the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 648 bits.
[0228] In a possible implementation, the transmission unit 30 is configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0229] In another design, the acquisition unit 10 is used to obtain the length of the information bits to be encoded; the determination unit 20 is used to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 41 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 82 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits.
[0230] In another design, the obtaining unit 10 is configured to obtain the length of the information bits to be encoded; the determining unit 20 is configured to determine the length of an LDPC codeword based on the length of the information bits to be encoded, and the parity check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate parity bits. If the length of the information bits to be encoded is greater than or equal to 163 bytes, the length of the LDPC codeword is 1944 bits.
[0231] In another design, the acquisition unit 10 is configured to acquire the length of the information bits to be encoded; the determination unit 20 is configured to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions:
[0232] If the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than or equal to 244 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 325 bytes, the length of the LDPC codeword is 1944 bits.
[0233] In a possible implementation of any of the above designs, the transmission unit 30 is configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0234] In another design, the acquisition unit 10 is used to obtain the length of the information bits to be encoded; the determination unit 20 is used to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 40 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 81 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits.
[0235] In another design, obtaining unit 10 is configured to obtain a length of information bits to be encoded; determining unit 20 is configured to determine a length of an LDPC codeword based on the length of the information bits to be encoded, and a check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. If the length of the information bits to be encoded is greater than 162 bytes, the length of the LDPC codeword is 1944 bits.
[0236] In another design, the acquisition unit 10 is configured to acquire the length of the information bits to be encoded; the determination unit 20 is configured to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions:
[0237] If the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 243 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 324 bytes, the length of the LDPC codeword is 1944 bits.
[0238] In a possible implementation of any of the above designs, the transmission unit 30 is configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0239] In another design, the acquisition unit 10 is used to obtain the length of the information bits to be encoded; the determination unit 20 is used to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 41 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 82 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 648 bits.
[0240] In another design, the obtaining unit 10 is configured to obtain the length of the information bits to be encoded; the determining unit 20 is configured to determine the length of an LDPC codeword based on the length of the information bits to be encoded, and the parity check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate parity bits. If the length of the information bits to be encoded is greater than or equal to 122 bytes, the length of the LDPC codeword is 1296 bits.
[0241] In another design, the acquisition unit 10 is configured to acquire the length of the information bits to be encoded; the determination unit 20 is configured to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions:
[0242] If the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes, the length of the LDPC codeword is 1296 bits.
[0243] In a possible implementation of any of the above designs, the transmission unit 30 is configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0244] In another design, the acquisition unit 10 is used to obtain the length of the information bits to be encoded; the determination unit 20 is used to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 40 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 81 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 648 bits.
[0245] In another design, the obtaining unit 10 is configured to obtain the length of the information bits to be encoded; the determining unit 20 is configured to determine the length of an LDPC codeword based on the length of the information bits to be encoded, and the parity check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate parity bits. If the length of the information bits to be encoded is greater than 121 bytes, the length of the LDPC codeword is 1296 bits.
[0246] In another design, the acquisition unit 10 is configured to acquire the length of the information bits to be encoded; the determination unit 20 is configured to determine the length of the LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits. The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions:
[0247] If the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes, the length of the LDPC codeword is 1296 bits.
[0248] In a possible implementation of any of the above designs, the transmission unit 30 is configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
[0249] The acquisition unit 10, the determination unit 20, and the transmission unit 30 may be integrated into one unit or module, such as a processing unit. Optionally, the transmission unit 30 may also be a transceiver or a transceiver unit.
[0250] It should be understood that the specific functions or execution steps of each of the above units can be referred to the above method embodiments and will not be described in detail here.
[0251] The above describes the communication device according to the embodiment of the present application. The following describes possible product forms of the communication device. It should be understood that any product having the functions of the communication device described in FIG. 15 falls within the scope of protection of the embodiment of the present application. It should also be understood that the following description is merely illustrative and does not limit the product forms of the communication device according to the embodiment of the present application to these examples.
[0252] In the communication device shown in Figure 15, the acquisition unit 10, the determination unit 20, and the transmission unit 30 can be implemented by one or more processors. Referring to Figure 16, Figure 16 is a structural diagram of the communication device 1000 provided in an embodiment of the present application. Figure 16 only shows the main components of the communication device 1000. In addition to the processor 1001, the communication device may further include a transceiver 1002 and a memory 1003, as well as an input and output device (not shown). The processor 1001 and the transceiver 1002 can be coupled, etc., and the embodiment of the present application does not limit the connection method between the processor and the transceiver.
[0253] Processor 1001 is primarily used to process communication protocols and communication data, control the entire communication device, execute software programs, and process software program data. Memory 1003 is primarily used to store software programs and data. Transceiver 1002 may include control circuitry and an antenna. The control circuitry is primarily used to convert baseband signals into radio frequency signals and process radio frequency signals. The antenna is primarily used to transmit and receive radio frequency signals in the form of electromagnetic waves. Input / output devices, such as a touch screen, display, and keyboard, are primarily used to receive user input and output data to the user.
[0254] After the communication device is powered on, the processor 1001 can read the software program in the memory 1003, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 1001 performs baseband processing on the data to be transmitted and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and then transmits the radio frequency signal to the outside in the form of electromagnetic waves via the antenna. When data is sent to the communication device, the radio frequency circuit receives the radio frequency signal via the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 1001. The processor 1001 converts the baseband signal into data and processes the data.
[0255] In another implementation, the RF circuit and antenna may be provided independently of the processor performing baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be remotely arranged independent of the communication device.
[0256] The processor 1001 , the transceiver 1002 , and the memory 1003 may be connected via a communication bus.
[0257] In one design, the communication device 1000 can be used to perform the functions of the aforementioned embodiment one: the processor 1001 can be used to execute steps S101 and S102 in Figure 7, and / or to perform other processes of the technology described in this document; the transceiver 1002 can be used to send and receive the information or data required in Figure 7, and / or to perform other processes of the technology described in this document.
[0258] In another design, the communication device 1000 can be used to perform the functions of the aforementioned embodiment 2: the processor 1001 can be used to execute steps S201 and S202 in Figure 12, and / or to execute other processes of the technology described in this document; the transceiver 1002 can be used to send and receive the information or data required in Figure 12, and / or to perform other processes of the technology described in this document.
[0259] In another design, the communication device 1000 can be used to perform the functions of the aforementioned embodiment three: the processor 1001 can be used to execute steps S301 and S302 in Figure 14, and / or to perform other processes of the technology described in this document; the transceiver 1002 can be used to send and receive the information or data required in Figure 14, and / or to be used for other processes of the technology described in this document.
[0260] In any of the above designs, processor 1001 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or the transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.
[0261] In any of the above designs, processor 1001 may store instructions, which may be computer programs. The computer programs, when executed on processor 1001, may cause communication device 1000 to perform the methods described in the above method embodiments. The computer programs may be embedded in processor 1001, in which case processor 1001 may be implemented by hardware.
[0262] In one implementation, the communication device 1000 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in this application can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit (RFIC), a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0263] The scope of the communication device described in this application is not limited thereto, and the structure of the communication device may not be limited to FIG. 16 . The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:
[0264] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;
[0265] (2) a collection of one or more ICs, optionally including a storage component for storing data and computer programs;
[0266] (3) ASIC, such as modem;
[0267] (4) Modules that can be embedded in other devices;
[0268] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;
[0269] (6)Others, etc.
[0270] In another possible implementation, in the communication device shown in Figure 15, the above-mentioned acquisition unit 10 and the above-mentioned determination unit 20 can be implemented by one or more logic circuits, and the above-mentioned transmission unit 30 can be an input / output interface, or also called a communication interface, or an interface circuit, or an interface, etc. Or the transmission unit 30 can also be a sending unit and a receiving unit, the sending unit can be an output interface, the receiving unit can be an input interface, and the sending unit and the receiving unit are integrated into one unit, such as an input / output interface. Referring to Figure 17, Figure 17 is another structural diagram of the communication device provided in an embodiment of the present application. As shown in Figure 17, the communication device shown in Figure 17 includes a logic circuit 901 and an interface 902. Among them, the logic circuit 901 can be a chip, a processing circuit, an integrated circuit or a system on chip (SoC) chip, etc., and the interface 902 can be a communication interface, an input / output interface, a pin, etc. Exemplarily, Figure 17 is shown as an example of the above-mentioned communication device being a chip, and the chip includes a logic circuit 901 and an interface 902.
[0271] In the embodiment of the present application, the logic circuit and the interface may also be coupled to each other. The embodiment of the present application does not limit the specific connection method between the logic circuit and the interface.
[0272] Exemplarily, when the communication device is used to execute the method, function, or step performed by the communication device in the aforementioned embodiment 1, the logic circuit 901 is used to obtain the length of the information bits to be encoded, and determine the length of the low-density parity check LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; the interface 902 is used to output the LDPC codeword, which includes the information bits to be encoded and the check bits. Among them, if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits.
[0273] Exemplarily, when the communication device is used to execute the method, function, or step executed by the communication device in the aforementioned second embodiment, the logic circuit 901 is used to obtain the length of the information bits to be encoded, and determine the length of the low-density parity check (LDPC) codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; the interface 902 is used to output the LDPC codeword, which includes the information bits to be encoded and the check bits. If the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 648 bits.
[0274] Exemplarily, when the communication device is used to execute the method, function, or step performed by the communication device in the aforementioned embodiment three, the logic circuit 901 is used to obtain the length of the information bits to be encoded, and determine the length of the low-density parity check LDPC codeword based on the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; the interface 902 is used to output the LDPC codeword, which includes the information bits to be encoded and the check bits.
[0275] It can be understood that the communication device shown in the embodiment of the present application can implement the method provided in the embodiment of the present application in the form of hardware, or can implement the method provided in the embodiment of the present application in the form of software, etc., and the embodiment of the present application is not limited to this.
[0276] For the specific implementation methods of the various embodiments shown in Figure 17, you can also refer to the above embodiments, which will not be described in detail here.
[0277] The present application also provides a computer program, which is used to implement the operations and / or processing performed by the communication device in the method provided by the present application.
[0278] The present application also provides a computer-readable storage medium having computer code stored therein. When the computer code is run on a computer, the computer executes the operations and / or processing performed by the communication device in the method provided by the present application.
[0279] The present application also provides a computer program product, which includes computer code or computer program. When the computer code or computer program is run on a computer, the operations and / or processing performed by the communication device in the method provided by the present application are executed.
[0280] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0281] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the technical effects of the solutions provided in the embodiments of the present application.
[0282] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0283] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media that can store program code.
[0284] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits.
2. The method according to claim 1, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than 1296 bits, the length of the LDPC codeword is 1944 bits.
3. The method according to claim 1, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 1620 bits and less than or equal to 1944 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 1944 bits and less than or equal to 2592 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 2592 bits, the length of the LDPC codeword is 1944 bits.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The communication device transmits the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
5. The method according to any one of claims 1 to 4, characterized in that The reference code rate of the LDPC codeword is 1 / 2.
6. The method according to any one of claims 1 to 5, characterized in that The number of shortened 0 bits in the LDPC codeword is determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword, and the number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and a reference code rate.
7. The method according to claim 5, characterized in that The number of shortened 0 bits in the LDPC codeword is: Padding_Num=mod(K-mod(Inf_Num, K), K); Wherein, Padding_Num represents the number of shortened 0 bits in the LDPC codeword, K represents the number of information bits in the LDPC codeword, Inf_Num represents the length of the information bits to be encoded, and mod represents a modulo operation; K = N × R; N represents the length of the LDPC codeword, and R represents the reference code rate of the LDPC codeword.
8. The method according to any one of claims 1 to 7, characterized in that The information bits to be encoded include cyclic redundancy check CRC bits.
9. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits. Special; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 648 bits.
10. The method according to claim 9, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than 972 bits, the length of the LDPC codeword is 1296 bits.
11. The method according to claim 9, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 1620 bits, the length of the LDPC codeword is 1296 bits.
12. The method according to any one of claims 9 to 11, characterized in that The method further comprises: The communication device transmits the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
13. The method according to any one of claims 9 to 12, characterized in that The reference code rate of the LDPC codeword is 1 / 2.
14. The method according to any one of claims 9 to 13, characterized in that The number of shortened 0 bits in the LDPC codeword is determined based on the length of the information bits to be encoded and the number of information bits in the LDPC codeword, and the number of information bits in the LDPC codeword is determined based on the length of the LDPC codeword and a reference code rate.
15. The method according to claim 14, characterized in that The number of shortened 0 bits in the LDPC codeword is: Padding_Num=mod(K-mod(Inf_Num, K), K); Wherein, Padding_Num represents the number of shortened 0 bits in the LDPC codeword, K represents the number of information bits in the LDPC codeword, Inf_Num represents the length of the information bits to be encoded, and mod represents a modulo operation; K = N × R; N represents the length of the LDPC codeword, and R represents the reference code rate of the LDPC codeword.
16. The method according to any one of claims 9 to 15, characterized in that The information bits to be encoded include cyclic redundancy check CRC bits.
17. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 41 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 82 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits.
18. The method according to claim 17, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than or equal to 163 bytes, the length of the LDPC codeword is 1944 bits.
19. The method according to claim 17, wherein The length of the information bits to be encoded and the length of the LDPC codeword further satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 648 bits. The length of the word is 1944 bits; if the length of the information bits to be encoded is greater than or equal to 244 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 325 bytes, the length of the LDPC codeword is 1944 bits.
20. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; If the length of the information bits to be encoded is greater than or equal to 163 bytes, the length of the LDPC codeword is 1944 bits.
21. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than or equal to 244 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 325 bytes, the length of the LDPC codeword is 1944 bits.
22. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 40 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 81 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits.
23. The method according to claim 22, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than 162 bytes, the length of the LDPC codeword is 1944 bits.
24. The method according to claim 22, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 243 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 324 bytes, the length of the LDPC codeword is 1944 bits.
25. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; If the length of the information bits to be encoded is greater than 162 bytes, the length of the LDPC codeword is 1944 bits.
26. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes and less than or equal to 243 bytes, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 243 bytes and less than or equal to 324 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 324 bytes, the length of the LDPC codeword is 1944 bits.
27. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 41 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 82 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 648 bits.
28. The method according to claim 27, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than or equal to 122 bytes, the length of the LDPC codeword is 1296 bits.
29. The method according to claim 27, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes, the length of the LDPC codeword is 1296 bits.
30. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; If the length of the information bits to be encoded is greater than or equal to 122 bytes, the length of the LDPC codeword is 1296 bits.
31. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than or equal to 122 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than or equal to 163 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than or equal to 203 bytes, the length of the LDPC codeword is 1296 bits.
32. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 0 and less than or equal to 40 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 40 bytes and less than or equal to 81 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 81 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 648 bits.
33. The method according to claim 32, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than 121 bytes, the length of the LDPC codeword is 1296 bits.
34. The method according to claim 32, wherein The length of the information bits to be encoded and the length of the LDPC codeword further satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes, the length of the LDPC codeword is 1296 bits.
35. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; If the length of the information bits to be encoded is greater than 121 bytes, the length of the LDPC codeword is 1296 bits.
36. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy one or more of the following conditions: If the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 162 bytes and less than or equal to 202 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 202 bytes, the length of the LDPC codeword is 1296 bits.
37. A method for determining the length of a low-density parity-check codeword in an ultra-wideband system, characterized in that: include: The communication device obtains the length of the information bits to be encoded; The communication device determines the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, and the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; The length of the information bits to be encoded and the length of the LDPC codeword satisfy the following conditions: when the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, if the data rate is less than or equal to a preset threshold, the length of the LDPC codeword is 1296 bits; when the length of the information bits to be encoded is greater than 121 bytes and less than or equal to 162 bytes, if the data rate is greater than the preset threshold, the length of the LDPC codeword is 1944 bits.
38. The method according to claim 37, wherein The length of the information bits to be encoded and the length of the LDPC codeword further satisfy: if the length of the information bits to be encoded is greater than 162 bytes, the length of the LDPC codeword is 1944 bits.
39. The method according to claim 37 or 38, characterized in that The preset threshold is 1.95 Mbps or 7.8 Mbps.
40. The method according to any one of claims 37-38, characterized in that The length of the information bits to be encoded and the length of the LDPC codeword also satisfy one or more of the following conditions: if the length of the information bits to be encoded is greater than 0 and less than or equal to 21 bytes, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 21 bytes and less than or equal to 44 bytes, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 44 bytes and less than or equal to 121 bytes, the length of the LDPC codeword is 1944 bits.
41. A communication device, characterized in that The method comprises a unit or module for performing the method according to any one of claims 17 to 40.
42. A communication device, characterized in that include: An acquiring unit, configured to acquire the length of information bits to be encoded; a determining unit, configured to determine the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, wherein the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; Among them, if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits.
43. The device according to claim 42, characterized in that If the length of the information bits to be encoded is greater than 1296 bits, the length of the LDPC codeword is 1944 bits.
44. The device according to claim 42, characterized in that If the length of the information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 1620 bits and less than or equal to 1944 bits, the length of the LDPC codeword is 1944 bits; if the length of the information bits to be encoded is greater than 1944 bits and less than or equal to 2592 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 2592 bits, the length of the LDPC codeword is 1944 bits.
45. The device according to any one of claims 42 to 44, characterized in that The device further includes a transmission unit configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
46. A communication device, characterized in that include: An acquiring unit, configured to acquire the length of information bits to be encoded; a determining unit, configured to determine the length of a low-density parity check (LDPC) codeword according to the length of the information bits to be encoded, wherein the check matrix corresponding to the LDPC codeword is used to encode the information bits to be encoded to generate check bits; Among them, if the length of the information bits to be encoded is greater than 0 and less than or equal to 324 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 324 bits and less than or equal to 648 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 648 bits and less than or equal to 972 bits, the length of the LDPC codeword is 648 bits.
47. The device according to claim 46, characterized in that If the length of the information bits to be encoded is greater than 972 bits, the length of the LDPC codeword is 1296 bits.
48. The device according to claim 46, characterized in that If the length of the information bits to be encoded is greater than 972 bits and less than or equal to 1296 bits, the length of the LDPC codeword is 1296 bits; if the length of the information bits to be encoded is greater than 1296 bits and less than or equal to 1620 bits, the length of the LDPC codeword is 648 bits; if the length of the information bits to be encoded is greater than 1620 bits, the length of the LDPC codeword is 1296 bits.
49. The device according to any one of claims 46 to 48, characterized in that The device further includes a transmission unit configured to transmit the LDPC codeword, where the LDPC codeword includes the information bits to be encoded and the check bits.
50. A communication device, characterized in that including processor and memory; The memory is used to store instructions; The processor is configured to execute the instructions so that the method according to any one of claims 1 to 40 is performed.
51. A communication device, characterized in that comprising a logic circuit and an interface, wherein the logic circuit and the interface are coupled; The interface is used to input and / or output code instructions, and the logic circuit is used to execute the code instructions so that the method according to any one of claims 1 to 40 is executed.
52. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program. When the computer program is executed, the method according to any one of claims 1 to 40 is performed.