US 12,010,352 B2
Coding method and related device
Ling Liu, Shenzhen (CN); Bin Li, Shenzhen (CN); Jiaqi Gu, Shenzhen (CN); and Hui Shen, Shenzhen (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Jan. 26, 2022, as Appl. No. 17/584,726.
Application 17/584,726 is a continuation of application No. PCT/CN2020/102694, filed on Jul. 17, 2020.
Claims priority of application No. 201910768348.8 (CN), filed on Aug. 15, 2019.
Prior Publication US 2022/0224947 A1, Jul. 14, 2022
Int. Cl. H04N 19/93 (2014.01); H04N 19/184 (2014.01); H04N 19/91 (2014.01)
CPC H04N 19/93 (2014.11) [H04N 19/184 (2014.11); H04N 19/91 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A coding method, wherein the method comprises:
obtaining a plurality of pieces of run-length encoding (RLE) data and a plurality of distribution probabilities corresponding to the plurality of pieces of RLE data;
sorting the plurality of pieces of RLE data based on the plurality of distribution probabilities;
mapping the plurality of pieces of sorted RLE data onto a plurality of pieces of reassembled data;
expanding the plurality of pieces of reassembled data into a plurality of pieces of binary data;
generating a first matrix based on the plurality of pieces of binary data;
calculating an occurrence probability of a bit 1 in each column in the first matrix based on the plurality of distribution probabilities;
determining, based on the occurrence probability, a code sequence by processing a source signal, wherein the code sequence comprises a first set and a second set, the first set comprises one or more bits reserved after processing the source signal, and the second set comprises one or more bits discarded after processing the source signal; and
decoding a first vector to output a third set, wherein the first vector is an all-0 sequence, or a vector obtained by multiplying a vector corresponding to the first set and a polarization matrix, and the third set comprises the one or more bits reserved after processing the source signal and one or more locations at which a decoding error occurs in the one or more bits discarded after processing the source signal.