Data transmission method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorYongjun Liu
Life of this patent
Estimating the term…
Abstract
A data transmission method, which can improve an error correction capability during decoding, includes: determining, by a transmit end, a target code length L and an original code length K; generating an initial code block according to the original code length K, where the initial code block includes 2K initial code words; generating a superposition code block according to the target code length and an arrangement order of the 2K initial code words in the initial code block, and superposing the initial code words and the corresponding superposition code words to generate the block code words in the block code set, so that a difference between feature code distances in the block code set is ±1 or 0, where the feature code distance is a code distance between the block code words.
Claims20
A data transmission method, comprising:
- determining, by a transmit end, a target code length L, wherein the target code length is a quantity of bits comprised in each block code word in a block code set to be generated, and L≧3;
- determining an original code length K, wherein the original code length is a quantity of bits comprised in an original code word to be transmitted to a receive end, and L>K≧2;
- generating an initial code block according to the original code length K, wherein the initial code block comprises 2K initial code words;
- generating a superposition code block according to the target code length and an arrangement order of the 2K initial code words in the initial code block, wherein the superposition code block comprises 2K superposition code words, and the 2K initial code words correspond to the 2K superposition code words in a one-to-one manner, and superposing the initial code words and the corresponding superposition code words to generate the block code words in the block code set, so that a difference between feature code distances in the block code set is ±1 or 0, wherein the feature code distance is a code distance between the block code words;
- performing coding processing on the original code word according to the block code set, so as to determine, from the block code words in the block code set, a target block code word corresponding to the original code word;
- and
- transmitting the target block code word to the receive end.
A data transmission method, comprising:
- determining, by a receive end, a target code length L, wherein the target code length is a quantity of bits comprised in each block code word in a block code set to be generated, and L≧3;
- determining an original code length K, wherein the original code length is a quantity of bits comprised in an original code word, and L>K≧2;
- generating an initial code block according to the original code length K, wherein the initial code block comprises 2K initial code words;
- generating a superposition code block according to the target code length and an arrangement order of the 2K initial code words in the initial code block, wherein the superposition code block comprises 2K superposition code words, and the 2K initial code words correspond to the 2K superposition code words in a one-to-one manner, and superposing the initial code words and the corresponding superposition code words to generate the block code words in the block code set, so that a difference between feature code distances in the block code set is ±1 or 0, wherein the feature code distance is a code distance between the block code words;
- receiving a target block code word transmitted by a transmit end and corresponding to the original code word, wherein the target block code word is determined from the block code words in the block code set by the transmit end by performing coding processing on the original code word according to the block code set;
- and
- performing decoding processing on the target block code word according to the block code set to acquire the original code word.
A data transmission apparatus, comprising:
- a processor, configured to:
- determine a target code length L and an original code length K, wherein the target code length is a quantity of bits comprised in each block code word in a block code set to be generated, the original code length is a quantity of bits comprised in an original code word to be transmitted to a receive end, L≧3, and L>K≧2,
- generate an initial code block according to the original code length K, wherein the initial code block comprises 2K initial code words, generate a superposition code block according to the target code length and an arrangement order of the 2K initial code words in the initial code block, wherein the superposition code block comprises 2K superposition code words, and the 2K initial code words correspond to the 2K superposition code words in a one-to-one manner, and superpose the initial code words and the corresponding superposition code words to generate the block code words in the block code set, so that a difference between feature code distances in the block code set is ±1 or 0, wherein the feature code distance is a code distance between the block code words, and
- perform coding processing on the original code word according to the block code set, so as to determine, from the block code words in the block code set, a target block code word corresponding to the original code word;
- and
- a transmitter, configured to transmit the target block code word to the receive end.
A data transmission apparatus, comprising:
- a processor, configured to:
- determine a target code length L and an original code length K, wherein the target code length is a quantity of bits comprised in each block code word in a block code set to be generated, the original code length is a quantity of bits comprised in an original code word, L≧3, and L>K≧2, and
- generate an initial code block according to the original code length K, wherein the initial code block comprises 2K initial code words, generate a superposition code block according to the target code length and an arrangement order of the 2K initial code words in the initial code block, wherein the superposition code block comprises 2K superposition code words, and the 2K initial code words correspond to the 2K superposition code words in a one-to-one manner, and superpose the initial code words and the corresponding superposition code words to generate the block code words in the block code set, so that a difference between feature code distances in the block code set is ±1 or 0, wherein the feature code distance is a code distance between the block code words;
- a receiver, configured to receive a target block code word transmitted by a transmit end and corresponding to the original code word, wherein the target block code word is determined from the block code words in the block code set by the transmit end by performing coding processing on the original code word according to the block code set;
- and
- wherein the processor is further configured to perform decoding processing on the target block code word according to the block code set to acquire the original code word.
Dependencies are inferred from the claim text.