CN118199796A - Coding block coding method, device, equipment and storage medium - Google Patents

Coding block coding method, device, equipment and storage medium Download PDF

Info

Publication number
CN118199796A
CN118199796A CN202410251141.4A CN202410251141A CN118199796A CN 118199796 A CN118199796 A CN 118199796A CN 202410251141 A CN202410251141 A CN 202410251141A CN 118199796 A CN118199796 A CN 118199796A
Authority
CN
China
Prior art keywords
block
check code
length
coding
code length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410251141.4A
Other languages
Chinese (zh)
Inventor
刘明文
杨婉珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202410251141.4A priority Critical patent/CN118199796A/en
Publication of CN118199796A publication Critical patent/CN118199796A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The application discloses a coding block coding method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring a coding block to be coded and coding block information corresponding to the coding block; determining a variable check code length of the encoded block based on a padding bit length included in the encoded block information; and encoding the encoding block based on the variable check code length to obtain an encoded encoding block.

Description

Coding block coding method, device, equipment and storage medium
Technical Field
The present application relates to the field of coding technologies, and in particular, to a method, an apparatus, a device, and a storage medium for coding a coding block.
Background
The Low-density parity Check code (LDPC code) of the wireless network of the fifth generation mobile communication technology (5th Generation Mobile Communication Technology,5G) adopts Quasi-cyclic LDPC code (QC-LDPC) for coding, and the QC-LDPC code can realize the coding of different code rates and different information blocks, so that the coding rate has higher index in the practical application of 5G.
Under the condition of traditional low code rate, the length of the check code generally has fixed length according to different base graph numbers (graphs), so that the processing efficiency is lower for complex and changeable data length, and the coding time delay exists.
Disclosure of Invention
The embodiment of the application provides a coding block coding method, a device, equipment and a storage medium.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a coding block coding method, which comprises the steps of obtaining a coding block to be coded and coding block information corresponding to the coding block; determining a variable check code length of the encoded block based on a padding bit length included in the encoded block information; and encoding the encoding block based on the variable check code length to obtain an encoded encoding block.
In the above method, the encoded block information includes a lifting value of the encoded block; the determining the variable check code length of the coding block based on the filling bit length included in the coding block information includes:
based on the filling bit length, determining a check code length intermediate variable corresponding to the coding block; the size of the filling bit length changes along with the peak rate of the transmission of the coding block;
determining the size of the check code based on the relationship between the check code length intermediate variable and a preset maximum check code length and a preset minimum check code length;
the product of the check code size and the lifting value is determined as the variable check code length.
In the above method, the encoded block information further includes a bit length of the encoded block, and a code block rate matching soft information length; the determining, based on the padding bit length, a check code length intermediate variable corresponding to the encoded block includes:
Determining a ratio of the bit length to the lifting value as a first parameter;
Determining the sum of the code block rate matching soft information length and the padding bit length as a second parameter, and determining the ratio of the second parameter to the lifting value as a third parameter;
And adding a preset value to the difference between the third parameter and the first parameter to determine the third parameter and the first parameter as the check code length intermediate variable.
In the above method, the determining the check code size based on the relationship between the check code length intermediate variable and a preset maximum check code length, and a preset minimum check code length includes:
determining the preset maximum check code length as the check code length under the condition that the check code length intermediate variable is not smaller than the preset maximum check code length;
determining the check code length intermediate variable as the check code length under the condition that the check code length intermediate variable is not smaller than the preset minimum check code length and the check code length intermediate variable is smaller than the preset maximum check code length;
and under the condition that the check code length intermediate variable is smaller than a preset minimum check code length, determining the preset minimum check code length as the check code length.
In the above method, the determining the check code size based on the relationship between the check code length intermediate variable and a preset maximum check code length, and a preset minimum check code length includes:
determining the preset maximum check code length as the check code length under the condition that the check code length intermediate variable is not smaller than the preset maximum check code length;
determining the check code length intermediate variable as the check code length under the condition that the check code length intermediate variable is not smaller than the preset minimum check code length and the check code length intermediate variable is smaller than the preset maximum check code length;
and under the condition that the check code length intermediate variable is smaller than a preset minimum check code length, determining the preset minimum check code length as the check code length.
In the above method, the determining the padding bit length corresponding to the coding block, the lifting value and the code block rate matching soft information length based on the base map number of each coding block to be coded respectively includes:
For each coding block to be coded, determining the difference between the preset bit length corresponding to the base map number and the bit length corresponding to the base map number as the filling bit length;
and determining the code block length corresponding to each code block to be coded based on the base map number of each code block to be coded, determining the minimum code block length in a plurality of code block lengths corresponding to the code blocks to be coded one by one as the lifting value, and determining the maximum code block length as the code block rate matching soft information length.
In the above method, after the encoding the encoded block based on the variable check code length to obtain an encoded block, the method further includes:
performing rate matching on the coded coding block to obtain a matched coding block;
And carrying out code block cascade connection on a plurality of matched coding blocks obtained by the coding blocks corresponding to the transmission blocks to obtain data to be transmitted, so that the coding block coding equipment can send the data to be transmitted.
The embodiment of the application provides a coding block coding device, which comprises:
The acquisition module is used for acquiring the coding block to be coded and the coding block information corresponding to the coding block;
a determining module, configured to determine a variable check code length of the encoded block based on a padding bit length included in the encoded block information;
and the coding module is used for coding the coding block based on the variable check code length to obtain a coded coding block.
An embodiment of the present application provides an encoding block encoding apparatus including: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the computer program stored in the memory, so as to implement the above coding method of the coding block.
Embodiments of the present application provide a computer readable storage medium storing one or more computer programs executable by one or more processors to implement the above described encoding block encoding method.
The embodiment of the application provides a coding block coding method, a device, equipment and a storage medium, which are used for acquiring a coding block to be coded and coding block information corresponding to the coding block; determining a variable check code length of the encoded block based on a padding bit length included in the encoded block information; and encoding the encoding block based on the variable check code length to obtain an encoded encoding block.
Drawings
Fig. 1 is a schematic diagram of a coding structure of a coding block according to an embodiment of the present application;
Fig. 2 is a schematic flow chart of a coding method of a coding block according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating an exemplary determination of a variable check code length according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of an exemplary method for determining intermediate variables of check code length according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of exemplary determining the length of a check code according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a process for determining coding block information according to an embodiment of the present application;
Fig. 7 is a second flowchart of an exemplary determination of coding block information according to an embodiment of the present application;
FIG. 8 is a flow chart of an exemplary encoded block processing provided by an embodiment of the present application;
FIG. 9 is a flow chart of an exemplary link bit level process provided by an embodiment of the present application;
Fig. 10 is a schematic structural diagram of an encoding device for an encoding block according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a coding device for coding blocks according to an embodiment of the present application.
Detailed Description
The technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting of the application. It should be noted that, for convenience of description, only a portion related to the related application is shown in the drawings.
The coding implementation process of the LDPC of the 5G protocol specification comprises the following steps 1 to 3: 1. dividing the input bits according to the code block length K, and attaching a cyclic redundancy check code (Cyclic Redundancy Check, CRC) to each code block to determine the length required by the required coding; 2. according to the length K of each code block, finding a packet length Zc which is greater than or equal to the length required by the code, filling the original bits into the packets, and according to different graphs, the number of the packets is different; 3. and performing LDPC coding on each code block with the length of K to obtain a coded code block with the length of N. The code block length is 66Zc for graph=1 and 50Zc for graph=2. The coded LDPC code is divided into two parts, the first half part is a systematic code, the second half part is an LDPC check code, as shown in fig. 1, and the length of a code block is K, where the code block includes an original code block 11 and a cyclic redundancy check code 12, and the protocol specifies that the length of 2Zc in front of each code block is removed during coding, so as to obtain the length of K-2Zc, and the LDPC check code 13 with the length mb×zc. That is, the length of the check code is related to mb×zc, but according to the third generation partnership project (3rd Generation Partnership Project,3gpp) protocol, the conventional mb value is selected based on the base map number, and there are only two cases, when the base map 1 is selected, mb is 46, and when the base map 2 is selected, mb is 48, which results in that the check code cannot adapt to flexible and changeable actual situations, especially in the case of peak rate, the check code is especially lengthy, resulting in low coding efficiency.
The embodiment of the application provides a coding block coding method, which is realized by a coding block coding device, as shown in fig. 2, and comprises the following steps S201 to S203:
Step S201, obtaining a coding block to be coded and coding block information corresponding to the coding block.
In an embodiment of the present application, the encoding block encoding device is an electronic device having an encoding block encoding function. The encoding block encoding device may be an electronic device such as a computer device, a smart terminal device, or the like, for example.
In the embodiment of the application, the coding block coding device can obtain the coding block to be coded and the coding block information corresponding to the coding block.
Step S202, based on the filling bit length included in the coding block information, the variable check code length of the coding block is determined.
In an embodiment of the present application, the padding bit length of the encoded block is included in the encoded block information, and the encoded block encoding apparatus may determine the variable check code length of the encoded block based on the padding bit length. Since the length of the padding bits of each encoded block is different, the length of the check code determined based on the length of the padding bits is also changed, i.e., is a variable check code length.
Step S203, based on the variable check code length, the coding block is coded, and the coded coding block is obtained.
In an embodiment of the present application, the encoding block encoding apparatus encodes the encoding block based on the variable check code length, and the obtained encoded encoding block has different lengths.
Compared with the setting of the fixed check code length in the related prior art, the method considers the difference of the filling bit length of the coding blocks, and further the determined variable check code length is also changed, so that the coding block which is finally coded based on the variable check code length is also flexible and variable, the processing efficiency can be improved, and the coding time delay is reduced.
In some embodiments, the encoded block information includes an enhancement value of the encoded block, and when the encoded block encoding performs the above step S202, as shown in fig. 3, the following steps S301 to S303 may be further included:
Step S301, based on the length of the filling bit, determining a check code length intermediate variable corresponding to the coding block; the size of the filler bit length varies with the peak rate of the transport encoded block.
In the embodiment of the application, the encoding device of the encoding block determines the intermediate variable of the check code length corresponding to the encoding block based on the length of the filling bit, and the size of the filling bit varies with the peak rate of the transmission encoding block. Illustratively, the peak rate is higher, the pad bit length is smaller, the peak rate is lower, and the pad bit length is larger.
In an embodiment of the present application, the encoding block encoding device may determine the check code length intermediate variable mbtmp based on the filler bit length F that varies with the peak rate of the transmission encoded block.
Step S302, determining the check code size based on the relationship between the check code length intermediate variable and the preset maximum check code length and the preset minimum check code length.
In an embodiment of the present application, the preset maximum check code length mbmax and the preset minimum check code length mbmin may be determined based on a certain algorithm, and the minimum check code length may be 4, for example.
In the embodiment of the present application, after obtaining the intermediate variable mbtmp of the check code length, the encoding device of the encoding block compares the relationship between the preset maximum check code length mbmax and the preset minimum check code length mbmin, and further determines the check code size mb.
Step S303, the product of the check code size and the lifting value is determined as a variable check code length.
In an embodiment of the present application, the encoded block information further includes a lifting value Zc of the encoded block, and after the encoded block encoding apparatus obtains the check code size, a product of the check code size mb and the lifting value Zc is determined as a variable check code length, i.e., mb×zc.
In some embodiments, the encoded block information further comprises a bit length of the encoded block, and the code block rate matching soft information length; when the encoding block encoding apparatus performs the above step S301, as shown in fig. 4, the following steps S401 to S403 are further included:
step S401, the ratio of the bit length to the lifting value is determined as a first parameter.
In an embodiment of the application, the encoding block encoding device determines the ratio of the bit length K to the lifting value Zc as the first parameter K b.
Step S402, determining the sum of the code block rate matching soft information length and the filling bit length as a second parameter, and determining the ratio of the second parameter to the lifting value as a third parameter.
In an embodiment of the present application, the encoding block encoding apparatus determines the sum of the code block rate matching soft information length E and the padding bit length F as the second parameter, and determines the ratio of the second parameter to the lifting value Zc as the third parameter ([ (e+f)/Zc ]).
Step S403, adding a preset value to the difference between the third parameter and the first parameter to determine the third parameter as a check code length intermediate variable.
In an embodiment of the present application, the encoding block encoding apparatus determines the difference between the third parameter ([ (E+F)/Zc ]) and the first parameter k b plus a preset value as the check code length intermediate variable mbtmp. Wherein, the preset value can be 2. For example, the manner in which the check code length intermediate variable is determined is shown in equation (1):
mbtmp=[(E+F)/Zc]-kb+2 (1);
Wherein mbtmp is a check code length intermediate variable, E is a code block rate matching soft information length, F is a filler bit length, zc is a lifting value, and k b is a first parameter.
In some embodiments, when the encoding block encoding apparatus performs the above step S302, as shown in fig. 5, the following steps S501 to S503 may be further included:
Step S501, determining the preset maximum check code length as the check code length under the condition that the check code length intermediate variable is not smaller than the preset maximum check code length.
In the embodiment of the present application, if the check code length intermediate variable mbtmp is not less than the preset maximum check code length mbmax, the encoding block encoding apparatus determines the preset maximum check code length mbmax as the check code length mb, as shown in the formula (2).
Step S502, determining the intermediate variable of the check code length as the check code length under the condition that the intermediate variable of the check code length is not smaller than the preset minimum check code length and the intermediate variable of the check code length is smaller than the preset maximum check code length.
In the embodiment of the present application, if the check code length intermediate variable mbtmp is not less than the preset minimum check code length mbmin and the check code length intermediate variable mbtmp is less than the preset maximum check code length mbmax, the encoding block encoding apparatus determines the check code length intermediate variable as the check code length mb, as shown in the above formula (2).
Step S503, when the intermediate variable of the check code length is smaller than the preset minimum check code length, determining the preset minimum check code length as the check code length.
In the embodiment of the present application, if the check code length intermediate variable mbtmp is smaller than the preset minimum check code length mbmin, the preset minimum check code length mbmin of the encoding device of the encoding block is determined as the check code length, which is shown in the above formula (2).
From the above formula (2), mb is calculated in real time according to different conditions, so that the coding length with highest efficiency can be obtained, the number of mb represents the number of check codes, especially under the peak rate, the minimum value of mb can be 4, the LDPC check code is extremely simplified, and the highest code rate can reach 22/22+4=0.846 approximately 4/5. Where 22 is the coding block length that is not coded. Namely, the minimum value of the mb parameter is designed, so that the high code rate design is realized, and the coding delay is reduced.
In some embodiments, when the encoding block encoding apparatus performs the above step S201, the following steps S601 to S603 may be included:
Step S601, obtaining a transmission block to be processed, and adding a check code to the transmission block to obtain the transmission block added with the check code.
In the embodiment of the application, the coding block coding device can acquire the transmission block TB to be processed and add the check code to the transmission block to obtain the transmission block TB CRC added with the check code.
Step S602, performing coding block segmentation on the transmission block added with the check code and adding the check code of the coding block to obtain a plurality of coding blocks to be coded corresponding to the transmission block and bit length of each coding block to be coded in the plurality of coding blocks to be coded.
In the embodiment of the application, the coding block coding equipment performs coding block segmentation on the transmission block TB CRC added with the check code and attaches the coding block check code to obtain a plurality of coding blocks to be coded corresponding to the transmission block. Illustratively, the bits in each code block are denoted as Cr0, cr1, cr2, cr3, … …, cr (Kr-1), where r represents the code block number, kr represents the number of bits (bit length) in the code block r, the code block total is denoted as C, and each code block is LDPC coded separately. The encoded bits (encoded blocks) are denoted as dr0, dr1, dr2, dr3, … …, dr (Nr-1).
Step S603, based on the base map number of each coding block to be coded, the padding bit length of the corresponding coding block, the lifting value and the code block rate matching soft information length are determined respectively.
In the embodiment of the present application, the base map number of each coding block is information carried by each coding block in data transmission, and the coding block coding device may determine, based on the known base map number of each coding block to be coded, a padding bit length of the corresponding coding block, a lifting value, and a code block rate matching soft information length, respectively.
In some embodiments, when performing the above step S603, the encoding block encoding apparatus further includes the following steps S701 and S702 as shown in fig. 7:
Step S701, for each coding block to be coded, determining a difference between a preset bit length corresponding to the base map number and a corresponding bit length as a corresponding padding bit length.
For the coding block, if the preset bit length corresponding to the base map number is 8 bits and the corresponding bit length is 5 bits, the determined padding bit length is 3 bits.
Step S702, determining a code block length corresponding to each code block to be encoded based on the base map number of each code block to be encoded, and determining a minimum code block length among a plurality of code block lengths corresponding to the plurality of code blocks to be encoded one by one as an enhancement value, and determining a maximum code block length as a code block rate matching soft information length.
In the embodiment of the application, the encoding block encoding device determines the code block length corresponding to each encoding block to be encoded according to the base map number of each encoding block to be encoded, then determines the minimum code block length in a plurality of code block lengths corresponding to the plurality of encoding blocks to be encoded one by one as a lifting value, and determines the maximum code block length as the code block rate matching soft information length.
In some embodiments, after the above step S203 is performed by the encoding block encoding, as shown in fig. 8, the following steps S801 and S802 may also be performed:
step S801, performing rate matching on the coded coding block to obtain a matched coding block.
In the embodiment of the present application, since the length of the encoded block is actually different from the length in the protocol, rate matching is required, if the bit stream of the encoded block is small, the bit stream is complemented, and if the bit stream of the encoded block is large, the bit stream is deleted. Therefore, the encoding block encoding device performs rate matching on the encoded encoding block after determining the encoded encoding block, so as to obtain the encoding block after rate matching. In this way, the rate matching processing delay can be shortened.
Step S802, performing code block cascade connection on a plurality of matched coding blocks obtained by the corresponding transmission blocks of the coding blocks to obtain data to be transmitted, so that the coding block coding equipment can send the data to be transmitted.
In the embodiment of the application, the coding block coding equipment carries out code block cascading on a plurality of matched coding blocks to obtain data to be transmitted, and then sends the obtained data to be transmitted. For example, the code block concatenation may be to splice a plurality of matched code blocks to obtain data to be transmitted.
As shown in fig. 9, the physical downlink shared channel (Physical Downlink SHARED CHANNEL, PDSCH) link bit-level processing procedure (coding method) includes the following steps S901 to S906:
step S901, add-on TBCRC.
Here, a check code is added to the transport block TB, resulting in TBCRC, the protocol type used being 38.212-7.2.1.
S902, code block segmentation and appending CBCRC.
Here, the data TBCRC to which the transport block check code is added is subjected to code block division, and the check code CBCRC of the code block is further added to the obtained plurality of code blocks (code blocks), and the protocol type used is 38.212 to 7.2.3.
S903, selecting the base map number.
Here, the number of base maps corresponding to the coding blocks is different, and the coding conditions are also different, and the protocol type used is 38.212-7.2.2.
S904, LDPC encoding.
Here, the check code CBCRC added with the code block is encoded based on the base map number, so as to obtain an encoded code block, and the type of the used protocol is 38.212-7.2.4.
S905, rate matching.
Here, each code block is protocol-defined, where the current transmission rate is adapted, and each code block is processed independently, using a protocol type 38.212-7.2.5.
S906, code block cascading.
Here, each adapted code block is concatenated to obtain data to be transmitted, and the protocol type used is 38.212-7.2.6.
The embodiment of the application provides a coding block coding method, which comprises the steps of obtaining a coding block to be coded and coding block information corresponding to the coding block; determining a variable check code length of the encoded block based on a padding bit length included in the encoded block information; and encoding the encoding block based on the variable check code length to obtain an encoded encoding block. According to the coding method of the coding block, the difference of the filling bit length of the coding block is considered, and the determined variable check code length is changed, so that the coding block which is finally coded based on the variable check code length is flexible and variable, the processing efficiency can be improved, and the coding time delay is reduced.
An embodiment of the present application provides a coding block coding apparatus, as shown in fig. 10, including:
An obtaining module 1001, configured to obtain a coding block to be coded and coding block information corresponding to the coding block;
a determining module 1002, configured to determine a variable check code length of the encoded block based on a padding bit length included in the encoded block information;
The encoding module 1003 is configured to encode the encoded block based on the variable check code length, to obtain an encoded block.
In an embodiment of the present application, the encoded block information includes an enhancement value of the encoded block; the determining module 1002 is further configured to determine a check code length intermediate variable corresponding to the encoding block based on the padding bit length; the size of the filling bit length changes with the peak rate of the transmission coding block; determining the size of the check code based on the relation between the check code length intermediate variable and the preset maximum check code length and the preset minimum check code length; the product of the check code size and the lifting value is determined as a variable check code length.
In an embodiment of the present application, the encoded block information further includes a bit length of the encoded block, and a code block rate matching soft information length; a determining module 1002, configured to determine a ratio of the bit length to the lifting value as a first parameter; determining the sum of the code block rate matching soft information length and the filling bit length as a second parameter, and determining the ratio of the second parameter to the lifting value as a third parameter; and adding a preset value to the difference between the third parameter and the first parameter to determine the difference as a check code length intermediate variable.
In an embodiment of the present application, the determining module 1002 is further configured to determine, when the intermediate variable of the check code length is not less than the preset maximum check code length, the preset maximum check code length as the check code length; determining the intermediate variable of the check code length as the check code length under the condition that the intermediate variable of the check code length is not smaller than the preset minimum check code length and the intermediate variable of the check code length is smaller than the preset maximum check code length; and under the condition that the check code length intermediate variable is smaller than the preset minimum check code length, determining the preset minimum check code length as the check code length.
In an embodiment of the present application, the obtaining module 1001 is further configured to obtain a transmission block to be processed, and add a check code to the transmission block to obtain a transmission block to which the check code is added; dividing the transmission block added with the check code into coding blocks and adding the check code of the coding blocks to obtain a plurality of coding blocks to be coded corresponding to the transmission block and bit length of each coding block to be coded in the plurality of coding blocks to be coded; and respectively determining the filling bit length of the corresponding coding block, the lifting value and the code block rate matching soft information length based on the base picture number of each coding block to be coded.
In an embodiment of the present application, the obtaining module 1001 is further configured to determine, for each coding block to be coded, a difference between a preset bit length corresponding to the base map number and a corresponding bit length as a corresponding padding bit length; the method comprises the steps of determining the code block length of each code block to be coded based on the base graph number of each code block to be coded, determining the minimum code block length in a plurality of code block lengths corresponding to the code blocks to be coded one by one as an improvement value, and determining the maximum code block length as a code block rate matching soft information length.
In an embodiment of the present application, the apparatus further includes a processing module (not shown in the figure) configured to perform rate matching on the encoded block to obtain a matched encoded block; and carrying out code block cascade connection on a plurality of matched coding blocks obtained by the coding blocks corresponding to the transmission blocks to obtain data to be transmitted, so that the coding block coding equipment can send the data to be transmitted.
An embodiment of the present application provides an encoding block encoding apparatus, as shown in fig. 11, including: a processor 1101, memory 1102, and a communication bus 1103;
A communication bus 1103 for implementing a communication connection between the processor 1101 and the memory 1102;
A processor 1101 for executing computer programs stored in the memory 1102 to implement the above-described encoding block encoding method.
The embodiment of the application provides coding block coding equipment, which acquires a coding block to be coded and coding block information corresponding to the coding block; determining a variable check code length of the encoded block based on a padding bit length included in the encoded block information; and encoding the encoding block based on the variable check code length to obtain an encoded encoding block. The coding device of the coding block provided by the application considers the difference of the filling bit length of the coding block, and further determines the variable check code length to be changed, so that the coding block which is finally coded based on the variable check code length is flexible and variable, the processing efficiency can be improved, and the coding time delay can be reduced.
Embodiments of the present application provide a computer readable storage medium storing one or more computer programs executable by one or more processors to implement the above described encoding block encoding method. The computer readable storage medium may be a volatile Memory (RAM), such as a Random-Access Memory (RAM); or a nonvolatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a hard disk (HARD DISK DRIVE, HDD) or a Solid state disk (Solid-state-STATE DRIVE, SSD); but may be a respective device, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc., comprising one or any combination of the above memories.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The present application is not limited to the above embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present application are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. A method of encoding a coded block, the method comprising:
Acquiring a coding block to be coded and coding block information corresponding to the coding block;
determining a variable check code length of the encoded block based on a padding bit length included in the encoded block information;
and encoding the encoding block based on the variable check code length to obtain an encoded encoding block.
2. The method of claim 1, the encoded block information comprising a lifting value of the encoded block; the determining the variable check code length of the coding block based on the filling bit length included in the coding block information includes:
based on the filling bit length, determining a check code length intermediate variable corresponding to the coding block; the size of the filling bit length changes along with the peak rate of the transmission of the coding block;
determining the size of the check code based on the relationship between the check code length intermediate variable and a preset maximum check code length and a preset minimum check code length;
the product of the check code size and the lifting value is determined as the variable check code length.
3. The method of claim 2, the encoded block information further comprising a bit length of the encoded block, and a code block rate matching soft information length; the determining, based on the padding bit length, a check code length intermediate variable corresponding to the encoded block includes:
Determining a ratio of the bit length to the lifting value as a first parameter;
Determining the sum of the code block rate matching soft information length and the padding bit length as a second parameter, and determining the ratio of the second parameter to the lifting value as a third parameter;
And adding a preset value to the difference between the third parameter and the first parameter to determine the third parameter and the first parameter as the check code length intermediate variable.
4. The method of claim 3, wherein the determining the check code size based on the relationship between the check code length intermediate variable and a preset maximum check code length, and a preset minimum check code length, comprises:
determining the preset maximum check code length as the check code length under the condition that the check code length intermediate variable is not smaller than the preset maximum check code length;
determining the check code length intermediate variable as the check code length under the condition that the check code length intermediate variable is not smaller than the preset minimum check code length and the check code length intermediate variable is smaller than the preset maximum check code length;
and under the condition that the check code length intermediate variable is smaller than a preset minimum check code length, determining the preset minimum check code length as the check code length.
5. A method according to claim 3, wherein the obtaining the coding block to be coded and the coding block information corresponding to the coding block includes:
acquiring a transmission block to be processed, and adding a check code to the transmission block to obtain a transmission block added with the check code;
dividing the transmission block added with the check code into coding blocks and adding the check code of the coding blocks to obtain a plurality of coding blocks to be coded corresponding to the transmission block and the bit length of each coding block to be coded in the plurality of coding blocks to be coded;
and respectively determining the filling bit length corresponding to the coding block, the lifting value and the code block rate matching soft information length based on the base map number of each coding block to be coded.
6. The method of claim 5, wherein the determining the padding bit length corresponding to the encoded block, the lifting value, and the code block rate matching soft information length based on the base map number of each encoded block to be encoded, respectively, comprises:
For each coding block to be coded, determining the difference between the preset bit length corresponding to the base map number and the bit length corresponding to the base map number as the filling bit length;
and determining the code block length corresponding to each code block to be coded based on the base map number of each code block to be coded, determining the minimum code block length in a plurality of code block lengths corresponding to the code blocks to be coded one by one as the lifting value, and determining the maximum code block length as the code block rate matching soft information length.
7. The method according to any one of claims 1 to 6, wherein the encoding the encoded block based on the variable check code length, after obtaining the encoded block, the method further comprises:
performing rate matching on the coded coding block to obtain a matched coding block;
And carrying out code block cascade connection on a plurality of matched coding blocks obtained by the coding blocks corresponding to the transmission blocks to obtain data to be transmitted, so that the coding block coding equipment can send the data to be transmitted.
8. An encoding block encoding apparatus comprising:
The acquisition module is used for acquiring the coding block to be coded and the coding block information corresponding to the coding block;
a determining module, configured to determine a variable check code length of the encoded block based on a padding bit length included in the encoded block information;
and the coding module is used for coding the coding block based on the variable check code length to obtain a coded coding block.
9. An encoding block encoding apparatus comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
The processor is configured to execute a computer program stored in the memory to implement the encoding block encoding method of any one of claims 1 to 7.
10. A computer readable storage medium storing one or more computer programs executable by one or more processors to implement the method of encoding the encoded block of any of claims 1-7.
CN202410251141.4A 2024-03-05 2024-03-05 Coding block coding method, device, equipment and storage medium Pending CN118199796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410251141.4A CN118199796A (en) 2024-03-05 2024-03-05 Coding block coding method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410251141.4A CN118199796A (en) 2024-03-05 2024-03-05 Coding block coding method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118199796A true CN118199796A (en) 2024-06-14

Family

ID=91407960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410251141.4A Pending CN118199796A (en) 2024-03-05 2024-03-05 Coding block coding method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118199796A (en)

Similar Documents

Publication Publication Date Title
EP3550749B1 (en) Information processing method, device and communication system
US20200236589A1 (en) Method and device for transmitting data
US20150103947A1 (en) Encoding method and device
EP3584972A1 (en) Polar code encoding method and apparatus
EP3910830B1 (en) Decoding method and apparatus
US11057054B2 (en) Channel coding method and apparatus in communication system
EP3193472A1 (en) Data packet processing method and device
US11683052B2 (en) Data processing method and device
CN108988869B (en) Method and device for determining check matrix and computer storage medium
EP3591868B1 (en) Information processing method, apparatus and device
JP7216011B2 (en) Polar code rate matching method and apparatus
CN107370560A (en) Coding and speed matching method, the device and equipment of a kind of polarization code
US11974165B2 (en) Methods, terminal device and network device for code block segmentation
WO2018146552A1 (en) Crc aided decoding of polar codes
CN110476357B (en) Polarization code transmission method and device
EP3734874B1 (en) Coding mode indication method and device
EP4191911A1 (en) Coding method and apparatus and decoding method and apparatus
CN108574491B (en) Data processing method, data processing device and communication equipment
US11025366B2 (en) Channel encoding method and apparatus in wireless communications
EP3614592A1 (en) Encoding method and device
CN111771336B (en) Apparatus and method for generating polarization code
CN118199796A (en) Coding block coding method, device, equipment and storage medium
EP4131785A1 (en) Encoding and decoding methods and apparatuses, and device
CN108011691A (en) The transmission method and device of a kind of low density parity check code
EP3734873A1 (en) Channel encoding method and encoding device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination