Data processing method and apparatus to restore mother code sequences with different code lengths by using an indication sequence and a basic sequence
AssigneeHuawei Technologies Co., Ltd.
InventorsGongzheng Zhang, Rong Li, Jun Wang, Ying Chen, Huazi Zhang
Life of this patent
Estimating the term…
Abstract
A data processing method is disclosed, and the method includes: receiving, by an encoding end, a to-be-encoded data block; obtaining, by the encoding end, a first mother code element for each first indication element in a first indication sequence based on an association relationship in which S=Q+B*N0 when B>0, and S=Q when B=0; and placing the first mother code element at a location of the first indication element in the first indication sequence to obtain a first mother code sequence.
Claims20
A data processing method, comprising:
- receiving, by an encoding end, a to-be-encoded data block;
- obtaining, by the encoding end, a first mother code element for each first indication element in a first indication sequence based on an association relationship in which S=Q+B*N0 when B>0, and S=Q when B=0, wherein B is a value indicated by the first indication element, N0 is a quantity of first basic elements in a first basic sequence, Q is a value indicated by a first basic element corresponding to the first indication element, and S is a value indicated by the first mother code element;
- placing the first mother code element at a location of the first indication element in the first indication sequence to obtain a first mother code sequence, wherein the N0 first basic elements in the first basic sequence are used to indicate N0 consecutive polar channel sequence numbers, N1 first mother code elements in the first mother code sequence are used to indicate N1 consecutive polar channel sequence numbers, the N1 polar channel sequence numbers comprise the N0 polar channel sequence numbers, and a polar channel sequence number is used to indicate a polar channel;
- the first mother code elements are ranked in the first mother code sequence in ascending order or descending order of reliability of polar channels indicated by the first mother code elements, wherein N1 is a positive integer multiple of N0, N0 equals to 2x, N1 equals to 2y, and X and Y both are positive integers;
- and the first indication elements at different locations in the first indication sequence have at least two different values, and correspondingly, B also has at least two different values, wherein B is an integer, and the at least two different values are consecutive values starting from 0;
- encoding, by the encoding end, the data block in a polar encoding manner by using the first mother code sequence;
- and
- outputting, by the encoding end, a result obtained after the data block is encoded.
A data processing method, comprising:
- receiving, by an encoding end, a to-be-encoded data block;
- obtaining, by the encoding end, a first mother code element for each first indication element in a first indication sequence based on an association relationship in which S=Q+B*N0, wherein B is a value indicated by the first indication element, N0 is a quantity of first basic elements in the first indication sequence, Q is a value indicated by a first basic element corresponding to the first indication element, and S is a value indicated by the first mother code element;
- placing the first mother code element at a location of the first indication element in the first indication sequence to obtain a first mother code sequence, wherein the N0 first basic elements are used to indicate N0 consecutive polar channel sequence numbers;
- a total quantity of the first indication elements and the first basic elements in the first indication sequence is N1, and correspondingly, a total quantity of the first mother code elements and the first basic elements in the first mother code sequence is also N1;
- the N1 elements comprising the first mother code elements and the first basic elements are used to indicate N1 consecutive polar channel sequence numbers, the N1 polar channel sequence numbers comprise the N0 polar channel sequence numbers, and a polar channel sequence number is used to indicate a polar channel;
- the first mother code elements and the first basic elements are ranked in the first mother code sequence in ascending order or descending order of reliability of polar channels indicated by the first mother code elements and the first basic elements, wherein N1 is a positive integer multiple of N0, N0 equals to 2x, N1 equals to 2y, and X and Y both are positive integers;
- and the first indication elements at different locations in the first indication sequence have one value or a plurality of different values, and correspondingly, B also has one value or a plurality of different values, wherein B is an integer, the plurality of different values of B are consecutive values starting from 1, and B is 1 when B has one value;
- encoding, by the encoding end, the data block in a polar encoding manner by using the first mother code sequence;
- and
- outputting, by the encoding end, a result obtained after the data block is encoded.
A data processing apparatus, comprising:
- an interface module, configured to receive a to-be-encoded data block;
- and
- a first encoding module, configured to obtain a first mother code element for each first indication element in a first indication sequence based on an association relationship in which S=Q+B*N0 when B>0, and S=Q when B=0, wherein B is a value indicated by the first indication element, N0 is a quantity of first basic elements in a first basic sequence, Q is a value indicated by a first basic element corresponding to the first indication element, and S is a value indicated by the first mother code element;
- and place the first mother code element at a location of the first indication element in the first indication sequence to obtain a first mother code sequence, wherein the N0 first basic elements in the first basic sequence are used to indicate N0 consecutive polar channel sequence numbers, N1 first mother code elements in the first mother code sequence are used to indicate N1 consecutive polar channel sequence numbers, the N1 polar channel sequence numbers comprise the N0 polar channel sequence numbers, and a polar channel sequence number is used to indicate a polar channel;
- the first mother code elements are ranked in the first mother code sequence in ascending order or descending order of reliability of polar channels indicated by the first mother code elements, wherein N1 is a positive integer multiple of N0, N0 equals to 2x, N1 equals to 2y, and X and Y both are positive integers;
- and the first indication elements at different locations in the first indication sequence have at least two different values, and correspondingly, B also has at least two different values, wherein B is an integer, and the at least two different values are consecutive values starting from 0, wherein
- the first encoding module is further configured to encode the data block in a polar encoding manner by using the first mother code sequence;
- and
- the interface module is further configured to output a result obtained after the data block is encoded.
Dependencies are inferred from the claim text.