[go: up one dir, main page]

CN108023677B - Information processing method, device and wireless communication device - Google Patents

Information processing method, device and wireless communication device Download PDF

Info

Publication number
CN108023677B
CN108023677B CN201710061834.7A CN201710061834A CN108023677B CN 108023677 B CN108023677 B CN 108023677B CN 201710061834 A CN201710061834 A CN 201710061834A CN 108023677 B CN108023677 B CN 108023677B
Authority
CN
China
Prior art keywords
matrix
equal
base matrix
factor
constant
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.)
Active
Application number
CN201710061834.7A
Other languages
Chinese (zh)
Other versions
CN108023677A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108023677A publication Critical patent/CN108023677A/en
Application granted granted Critical
Publication of CN108023677B publication Critical patent/CN108023677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/11Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits using multiple parity bits
    • H03M13/1102Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes
    • H03M13/1148Structural properties of the code parity-check or generator matrix
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Error Detection And Correction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了数据传输的方法及无线通信设备。其中,所述方法包括:获取LDPC码的第一基矩阵;根据所述第一基矩阵、扩展因子zf和自由因子rf对信息序列进行编码得到第一编码序列。采用本申请所提供的方法及设备,通过引入自由因子rf作为一个自由度,可以在生成与扩展因子zf相对应的第二基矩阵时,得到完全不同的第二基矩阵结构分布,从而可以减轻在扩展因子zf下所述生成的第二基矩阵存在错误平层较高的问题。

Figure 201710061834

The present application provides a data transmission method and a wireless communication device. Wherein, the method includes: acquiring a first base matrix of the LDPC code; and encoding an information sequence according to the first base matrix, the spreading factor z f and the free factor r f to obtain a first coding sequence. Using the method and device provided by the present application, by introducing the free factor r f as a degree of freedom, a completely different second fundamental matrix structure distribution can be obtained when the second fundamental matrix corresponding to the expansion factor z f is generated, thereby The problem that the generated second basis matrix has a high level of error under the expansion factor z f can be alleviated.

Figure 201710061834

Description

信息处理的方法、装置及无线通信设备Information processing method, device and wireless communication device

本申请要求于2016年11月3日提交中国专利局、申请号为201610973373.6、发明名称为“低密度奇偶校验码的基矩阵生成方法及无线通信设备”的中国专利申请,2016年11月9日提交中国专利局、申请号为201610985850.0、发明名称为“低密度奇偶校验码的基矩阵生成方法及无线通信设备”的中国专利申请,2016年12月12日提交中国专利局、申请号为201611141250.2、发明名称为“数据传输方法及无线通信设备”的中国专利申请,以及2017年1月6日提交中国专利局、申请号为201710010645.7、发明名称为“数据传输方法及无线通信设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires a Chinese patent application filed with the China Patent Office on November 3, 2016, the application number is 201610973373.6, and the invention title is "Low Density Parity Check Code Fundamental Matrix Generation Method and Wireless Communication Device", November 9, 2016 On December 12, 2016, it was submitted to the China Patent Office with the application number of 201610985850.0, and the invention name is "Basic Matrix Generation Method of Low Density Parity Check Code and Wireless Communication Device". 201611141250.2, a Chinese patent application titled "Data Transmission Method and Wireless Communication Device", and a Chinese patent application filed with the Chinese Patent Office on January 6, 2017 with the application number 201710010645.7 and the invention titled "Data Transmission Method and Wireless Communication Device" Priority to the patent application, the entire contents of which are incorporated herein by reference.

技术领域technical field

本发明实施例涉及通信领域,尤其涉及信息处理的方法、装置及无线通信设备。The embodiments of the present invention relate to the field of communications, and in particular, to a method, an apparatus, and a wireless communication device for information processing.

背景技术Background technique

低密度奇偶校验(low density parity check,简称LDPC)码是一类具有稀疏校验矩阵的线性分组编码。由于LDPC不仅具有逼近香农极限的良好性能,而且具有结构灵活译码复杂度较低的特点,因此可以被广泛应用于各种通信系统中。A low density parity check (low density parity check, LDPC for short) code is a type of linear block coding with a sparse check matrix. Because LDPC not only has good performance approaching the Shannon limit, but also has the characteristics of flexible structure and low decoding complexity, so it can be widely used in various communication systems.

在使用LDPC进行数据传输时,首先需要为无线通信设备构造一个基矩阵。由于在无线通信系统中,根据传输需求的不同可能会为无线通信设备分配不同大小的无线资源块(resource block,简称RB),而在不同大小的RB下,无线通信设备所支持的LDPC长也各不相同。为使无线通信设备能够兼容不同码长的LDPC,可以预先生成一个由m行n列矩阵元素所构成的基矩阵,其中,m=n-k,k与扩展因子的乘积为LDPC中信息序列的长度,m,n,k的取值均为正整数,并预先设置于各个LDPC长相对应的扩展因子。在LDPC长确定之后,数据传输设备首先获取与所述码长对应的扩展因子,然后使用所述扩展因子所述基矩阵进行展开,从而得到与所述码长对应的校验矩阵。采用该方式,可以在LDPC长不同时,在基矩阵的基础上得到不同的校验矩阵,从而使得无线通信设备能够支持不同码长的LDPC。When using LDPC for data transmission, it is first necessary to construct a basis matrix for the wireless communication device. In a wireless communication system, different sizes of radio resource blocks (resource blocks, RBs) may be allocated to wireless communication devices according to different transmission requirements. vary. In order to make the wireless communication device compatible with LDPC of different code lengths, a base matrix composed of matrix elements of m rows and n columns can be generated in advance, where m=n-k, and the product of k and the spreading factor is the length of the information sequence in the LDPC, The values of m, n, and k are all positive integers, and are preset to expansion factors corresponding to each LDPC length. After the LDPC length is determined, the data transmission device first obtains a spreading factor corresponding to the code length, and then uses the spreading factor to expand the base matrix, thereby obtaining a parity check matrix corresponding to the code length. In this way, when the LDPC lengths are different, different parity check matrices can be obtained on the basis of the base matrix, so that the wireless communication device can support LDPCs with different code lengths.

但是当使用多个不同的扩展因子对同一个基矩阵进行展开时,通常很难保证所形成的每一个校验矩阵都具有良好的环长特性,例如,4环的数目较少。在某些扩展因子下,对基矩阵进行展开所生成的基矩阵会有比较高的错误平层,从而影响采用所述扩展因子相应码长的LDPC进行数据传输的可靠性。However, when the same base matrix is expanded by using multiple different expansion factors, it is usually difficult to ensure that each check matrix formed has a good ring length characteristic, for example, the number of 4 rings is small. Under certain spreading factors, the base matrix generated by expanding the base matrix will have a relatively high level of error, thereby affecting the reliability of data transmission using the LDPC with the code length corresponding to the spreading factor.

发明内容SUMMARY OF THE INVENTION

本申请提供了信息处理的方法、装置及无线通信设备,以减轻在某些扩展因子下,对基矩阵进行展开所生成的基矩阵会有比较高的错误平层的问题,经过该方法处理的数据,其传输的可靠性得到了提高。The present application provides an information processing method, device and wireless communication device, so as to alleviate the problem that the basis matrix generated by expanding the basis matrix will have a relatively high level of error under certain expansion factors. data, the reliability of its transmission has been improved.

第一方面,本申请提供了一种低密度奇偶校验码校验矩阵生成方法,该方法包括:获取LDPC码的第一基矩阵,其中,m为所述第一基矩阵的行数,n为所述第一基矩阵的列数;获取所述第一基矩阵的扩展因子zf,其中,zf的取值为正整数;生成所述LDPC码的第二基矩阵,其中,m为所述第二基矩阵的行数,n为所述第二基矩阵的列数,所述第一基矩阵中等于-1的矩阵元素与所述第二基矩阵中等于-1的矩阵元素位置相同,所述第二基矩阵至少存在一个第i行第j列的矩阵元素pf,i,j是根据所述第一基矩阵中第i行第j列的矩阵元素pi,j,所述zf和自由因子rf生成的,其中,pf,i,j<zf,rf,m,n,i,j的取值均为整数,0≤i<m,0≤j<n。In a first aspect, the present application provides a method for generating a low-density parity check code check matrix, the method comprising: obtaining a first basis matrix of an LDPC code, where m is the number of rows of the first basis matrix, and n is the number of columns of the first base matrix; obtain the expansion factor z f of the first base matrix, where z f is a positive integer; generate the second base matrix of the LDPC code, where m is The number of rows of the second base matrix, n is the number of columns of the second base matrix, the positions of the matrix elements equal to -1 in the first base matrix and the matrix elements equal to -1 in the second base matrix In the same way, there is at least one matrix element p f,i,j in the i-th row and the j-th column in the second base matrix. generated by the above z f and the free factor r f , where p f,i,j <z f , r f , m,n,i,j are all integers, 0≤i<m, 0≤j< n.

采用本实现方式,通过引入自由因子rf作为一个自由度,通变换自由因子rf,可以在生成与扩展因子zf相对应的第二基矩阵时,得到完全不同的矩阵结构分布。从而可以在直接使用扩展因子zf对第一基矩阵进行展开所得的基矩阵错误平层较高时,通过改变矩阵结构分布,得到错误平层较低的第二基矩阵,减轻在扩展因子zf下所述生成的第二基矩阵存在错误平层较高的问题。With this implementation, by introducing the free factor r f as a degree of freedom, and by transforming the free factor r f , a completely different matrix structure distribution can be obtained when the second basis matrix corresponding to the expansion factor z f is generated. Therefore, when the base matrix error leveling of the base matrix obtained by directly using the expansion factor zf to expand the first base matrix is relatively high, by changing the matrix structure distribution, a second base matrix with a lower error leveling level can be obtained, and the expansion factor z can be alleviated. The generated second basis matrix described under f has the problem of high error leveling.

结合第一方面,在第一方面第一种可能的实现方式中,所述第二基矩阵的环长特性优于或者等于所述第一基矩阵。With reference to the first aspect, in a first possible implementation manner of the first aspect, the ring length characteristic of the second basis matrix is better than or equal to the first basis matrix.

结合第一方面第一种可能的实现方式,在第一方面第二种可能的实现方式中,In combination with the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect,

Figure BDA0001219790000000021
其中,c为预设常数;或者,
Figure BDA0001219790000000021
where c is a preset constant; or,

Figure BDA0001219790000000022
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA0001219790000000022
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA0001219790000000023
或者,
Figure BDA0001219790000000023
or,

Figure BDA0001219790000000024
Figure BDA0001219790000000024

在上述方式中,pf,i,j取值为整数:In the above method, p f,i,j are integers:

Figure BDA0001219790000000025
或者
Figure BDA0001219790000000026
其中c为常数,且不等于0;或者,
Figure BDA0001219790000000025
or
Figure BDA0001219790000000026
where c is a constant and not equal to 0; or,

Figure BDA0001219790000000027
或者
Figure BDA0001219790000000028
其中,c为常数,且不等于0;或者,
Figure BDA0001219790000000027
or
Figure BDA0001219790000000028
where c is a constant and not equal to 0; or,

Figure BDA0001219790000000031
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA0001219790000000031
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA0001219790000000032
或者
Figure BDA0001219790000000033
或者,
Figure BDA0001219790000000032
or
Figure BDA0001219790000000033
or,

Figure BDA0001219790000000034
或者
Figure BDA0001219790000000035
Figure BDA0001219790000000034
or
Figure BDA0001219790000000035

在上述各实现方式中,c一般可以为2的整数次幂,也可以为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In each of the above implementation manners, c may generally be an integer power of 2, or may be z max , where z max is the maximum value of the expansion factor z f to be supported by the first basis matrix.

结合第一方面或第一方面一至二种可能的实现方式,在第一方面第三种可能的实现方式中,在所述获取所述LDPC码的第二基矩阵之前,还包括:获取与所述扩展因子zf相对应的自由因子rfWith reference to the first aspect or one to two possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, before the acquiring the second basis matrix of the LDPC code, further comprising: acquiring and The free factor r f corresponding to the expansion factor z f described above.

结合第一方面至或第一方面一至三种可能的实现方式,在第一方面第四种可能的实现方式中,还包括:使用所述第二基矩阵对待编码序列进行编码,从而得到第一编码序列。With reference to the first aspect to or one to three possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes: using the second basis matrix to encode the sequence to be encoded, so as to obtain the first coding sequence.

结合第一方面至或第一方面一至三种可能的实现方式,在第一方面第五种可能的实现方式中,还包括:获取第二编码序列;使用所述第二基矩阵对所述第二编码序列进行译码。With reference to the first aspect to or the first to three possible implementation manners, in a fifth possible implementation manner of the first aspect, the method further includes: acquiring a second coding sequence; The two coding sequences are decoded.

第二方面,本申请还提供了一种数据传输的方法,该方法包括:获取低密度奇偶校验LDPC码的第一基矩阵,其中,m为所述第一基矩阵的行数,n为所述第一基矩阵的列数,m,n取值均为正整数;In a second aspect, the present application also provides a method for data transmission, the method comprising: acquiring a first basis matrix of a low density parity check LDPC code, wherein m is the number of rows of the first basis matrix, and n is the number of rows of the first basis matrix. The number of columns of the first base matrix, m and n are all positive integers;

根据所述第一基矩阵、扩展因子zf和自由因子rf对信息序列进行编码得到第一编码序列,其中,zf的取值为正整数,rf的取值为大于或者等于0的整数。The information sequence is encoded according to the first base matrix, the expansion factor z f and the free factor r f to obtain the first encoded sequence, wherein the value of z f is a positive integer, and the value of r f is greater than or equal to 0 Integer.

结合第二方面,在第二方面第一种可能的实现方式中,所述根据所述第一基矩阵、扩展因子zf和自由因子rf对信息序列进行编码得到第一编码序列,包括:对于所述第一基矩阵中每一第i行第j列的矩阵元素pi,j、所述扩展因子zf和自由因子rf计算pf,i,j,其中,pf,i,j<zf,i,j的取值均为整数,0≤i<m,0≤j<n;根据pf,i,j对信息序列进行编码得到第一编码序列。In combination with the second aspect, in a first possible implementation manner of the second aspect, the information sequence is encoded according to the first base matrix, the expansion factor z f and the free factor r f to obtain the first encoded sequence, including: Calculate p f,i,j for each i-th row and j-th column of the matrix element p i,j , the expansion factor z f and the free factor r f in the first basis matrix, where p f,i, j <z f , the values of i, j are all integers, 0≤i<m, 0≤j<n; the information sequence is encoded according to p f, i, j to obtain the first encoded sequence.

结合第二方面或者第二方面第一种可能的实现方式中,在第二方面第二种可能的实现方式中,还包括:发送所述第一编码序列。In combination with the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the method further includes: sending the first encoding sequence.

第三方面,本申请还提供了一种数据传输的方法,该方法包括:获取低密度奇偶校验LDPC码的第一基矩阵,其中,m为所述第一基矩阵的行数,n为所述第一基矩阵的列数,m,n取值均为正整数;In a third aspect, the present application further provides a method for data transmission, the method comprising: acquiring a first basis matrix of a low density parity check LDPC code, wherein m is the number of rows of the first basis matrix, and n is the number of rows of the first basis matrix. The number of columns of the first base matrix, m and n are all positive integers;

根据所述第一基矩阵、扩展因子zf和自由因子rf对第一编码序列进行译码得到信息序列,其中,zf的取值为正整数,rf的取值为大于或者等于0的整数。The information sequence is obtained by decoding the first coded sequence according to the first base matrix, the expansion factor z f and the free factor r f , wherein the value of z f is a positive integer, and the value of r f is greater than or equal to 0 the integer.

结合第三方面,在第三方面第一种可能的实现方式中,根据所述第一基矩阵、扩展因子zf和自由因子rf对第二编码序列进行译码得到信息序列,包括:对于所述第一基矩阵中每一第i行第j列的矩阵元素pi,j、所述扩展因子zf和自由因子rf计算pf,i,j,其中,pf,i,j<zf,i,j的取值均为整数,0≤i<m,0≤j<n;根据pf,i,j对所述第二编码序列进行译码得到信息序列。With reference to the third aspect, in a first possible implementation manner of the third aspect, the information sequence is obtained by decoding the second encoded sequence according to the first base matrix, the expansion factor z f and the free factor r f , including: for Calculate p f,i,j from the matrix element p i,j of each i-th row and j-th column of the first basis matrix, the expansion factor z f and the free factor r f , where p f,i,j <z f , the values of i and j are all integers, 0≤i<m, 0≤j<n; the information sequence is obtained by decoding the second coding sequence according to p f,i,j .

结合第三方面或者第三方面第一种可能的实现方式,在第三方面第二种可能的实现方式中,所述方法之前还包括:接收所述第一编码序列。With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the method further includes: receiving the first encoding sequence.

结合上述各方面及各种可能的任一实现方式中,一种可能的实现方式为:In combination with the above aspects and various possible implementation manners, a possible implementation manner is:

Figure BDA0001219790000000041
其中,c为预设常数;或者,
Figure BDA0001219790000000041
where c is a preset constant; or,

Figure BDA0001219790000000042
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA0001219790000000042
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA0001219790000000043
或者,
Figure BDA0001219790000000043
or,

Figure BDA0001219790000000044
Figure BDA0001219790000000044

在上述方式中,pf,i,j取值为整数:In the above method, p f,i,j are integers:

Figure BDA0001219790000000045
或者
Figure BDA0001219790000000046
其中c为常数,且不等于0;或者,
Figure BDA0001219790000000045
or
Figure BDA0001219790000000046
where c is a constant and not equal to 0; or,

Figure BDA0001219790000000047
或者
Figure BDA0001219790000000048
其中,c为常数,且不等于0;或者,
Figure BDA0001219790000000047
or
Figure BDA0001219790000000048
where c is a constant and not equal to 0; or,

Figure BDA0001219790000000049
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA0001219790000000049
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA0001219790000000051
或者
Figure BDA0001219790000000052
或者,
Figure BDA0001219790000000051
or
Figure BDA0001219790000000052
or,

Figure BDA0001219790000000053
或者
Figure BDA0001219790000000054
Figure BDA0001219790000000053
or
Figure BDA0001219790000000054

在上述各实现方式中,c一般可以为2的整数次幂,也可以为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In each of the above implementation manners, c may generally be an integer power of 2, or may be z max , where z max is the maximum value of the expansion factor z f to be supported by the first basis matrix.

结合上述各方面及各种可能的任一实现方式中,一种可能的实现方式为:In combination with the above aspects and various possible implementation manners, a possible implementation manner is:

pf,i,j满足以下公式:

Figure BDA0001219790000000055
其中,g1(pi,j,rf)表示以pi,j,rf为参数的函数,取值为整数,g2(zf)表示以zf为参数的函数,且g2(zf)≤zf,取值为整数。p f,i,j satisfy the following formula:
Figure BDA0001219790000000055
Among them, g 1 (p i,j ,r f ) represents a function with p i,j ,r f as parameters, which is an integer, g 2 (z f ) represents a function with z f as a parameter, and g 2 (z f )≤z f , which is an integer.

结合上述实现方式,在一种可能的实现方式中,g1(pi,j,rf)可以是满足以下公式:In combination with the above implementations, in a possible implementation, g 1 (pi ,j ,r f ) may satisfy the following formula:

Figure BDA0001219790000000056
或者
Figure BDA0001219790000000057
其中c为常数,且不等于0;或者,
Figure BDA0001219790000000056
or
Figure BDA0001219790000000057
where c is a constant and not equal to 0; or,

Figure BDA0001219790000000058
或者
Figure BDA0001219790000000059
其中,c为常数,且不等于0;或者,
Figure BDA0001219790000000058
or
Figure BDA0001219790000000059
where c is a constant and not equal to 0; or,

g1(pi,j,rf)=pi,j+(c-pi,j)rf,其中,c为常数,且不等于0;或者,g 1 (pi ,j ,r f )=pi ,j +(cp i,j )r f , where c is a constant and not equal to 0; or,

Figure BDA00012197900000000510
或者
Figure BDA00012197900000000511
或者,
Figure BDA00012197900000000510
or
Figure BDA00012197900000000511
or,

Figure BDA00012197900000000512
或者
Figure BDA00012197900000000513
Figure BDA00012197900000000512
or
Figure BDA00012197900000000513

结合上述实现方式,在一种可能的实现方式中,g2(zf)可以满足以下公式:g2(zf)=zf或者,

Figure BDA00012197900000000514
In combination with the above implementations, in a possible implementation, g 2 (z f ) may satisfy the following formula: g 2 (z f )=z f or,
Figure BDA00012197900000000514

在上述各实现方式中,c一般可以为2的整数次幂,也可以为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In each of the above implementation manners, c may generally be an integer power of 2, or may be z max , where z max is the maximum value of the expansion factor z f to be supported by the first basis matrix.

结合上述各方面及各种可能的任一实现方式中,一种可能的实现方式为:pf,i,j满足以下公式:Combining the above aspects and various possible implementations, a possible implementation is: p f,i,j satisfy the following formula:

Figure BDA0001219790000000061
其中,g3(pi,j,rf)表示以pi,j,rf为参数的函数,取值为整数,g4(zf)表示以zf为参数的函数,且0<g4(zf)≤1。
Figure BDA0001219790000000061
Among them, g 3 (p i,j ,r f ) represents a function with p i,j ,r f as parameters, which is an integer, g 4 (z f ) represents a function with z f as a parameter, and 0< g 4 (z f )≤1.

结合上述实现方式,在一种可能的实现方式中,g3(pi,j,rf)满足以下公式:Combining the above implementations, in a possible implementation, g 3 (pi ,j ,r f ) satisfies the following formula:

g3(pi,j,rf)=(pi,j+rf)modc,其中,c为常数,且不等于0;或者,g 3 (pi ,j ,r f )=(pi ,j +r f )modc, where c is a constant and not equal to 0; or,

g3(pi,j,rf)=(pi,j·rf)modc,其中,c为常数,且不等于0。g 3 (pi ,j ,r f )=(pi ,j ·r f )modc, where c is a constant and not equal to zero.

结合上述实现方式,在一种可能的实现方式中,g4(zf)满足以下公式:Combining the above implementations, in a possible implementation, g 4 (z f ) satisfies the following formula:

g4(zf)=zf/c;或者,

Figure BDA0001219790000000062
其中,c为常数,且不等于0。g 4 (z f )=z f /c; or,
Figure BDA0001219790000000062
where c is a constant and not equal to 0.

在上述各实现方式中,c一般可以为2的整数次幂,也可以为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In each of the above implementation manners, c may generally be an integer power of 2, or may be z max , where z max is the maximum value of the expansion factor z f to be supported by the first basis matrix.

第四方面,本申请还提供了一种无线通信设备,所述无线通信设备可以包括用于执行前述各方面及各种实现中所述的方法的单元模块,例如,获取单元,处理单元,发送单元等。所述获取单元所要实现的功能可以由所述无线通信设备的收发器实现,或者由处理器控制收发器实现;所述发送单元所要实现的功能也可以由所述无线通信设备的收发器实现,或者也可以由处理器控制所述收发器实现;所述处理单元所要实现的功能则可以由所述处理器实现。In a fourth aspect, the present application also provides a wireless communication device, the wireless communication device may include unit modules for executing the methods described in the foregoing aspects and various implementations, for example, an acquisition unit, a processing unit, a sending unit unit etc. The function to be implemented by the acquisition unit may be implemented by a transceiver of the wireless communication device, or implemented by a processor-controlled transceiver; the function to be implemented by the sending unit may also be implemented by the transceiver of the wireless communication device, Alternatively, the transceiver may be controlled by a processor to be implemented; the functions to be implemented by the processing unit may be implemented by the processor.

第五方面,本申请还提供了一种无线通信设备,所述无线通信设备可以包括用于执行前述各方面及各种实现中所述的方法的单元模块,例如,获取单元,处理单元,接收单元等。所述获取单元所要实现的功能可以由所述无线通信设备的收发器实现,或者由处理器控制收发器实现;所述接收单元所要实现的功能也可以由所述无线通信设备的收发器实现,或者也可以由处理器控制所述收发器实现;所述处理单元所要实现的功能则可以由所述处理器实现。In a fifth aspect, the present application also provides a wireless communication device, the wireless communication device may include unit modules for executing the methods described in the foregoing aspects and various implementations, for example, an acquisition unit, a processing unit, a receiving unit unit etc. The function to be implemented by the acquisition unit may be implemented by a transceiver of the wireless communication device, or implemented by a processor-controlled transceiver; the function to be implemented by the receiving unit may also be implemented by the transceiver of the wireless communication device, Alternatively, the transceiver may be controlled by a processor to be implemented; the functions to be implemented by the processing unit may be implemented by the processor.

第六方面,本申请还提供了一种存储介质,该计算机存储介质可存储有程序,该程序执行时可包括本申请提供的第二基矩阵生成方法、编码方法或译码方法的各实施例中的部分或全部步骤。In a sixth aspect, the present application further provides a storage medium, and the computer storage medium can store a program, and when the program is executed, it can include various embodiments of the second basis matrix generation method, the encoding method or the decoding method provided by the present application some or all of the steps in .

采用本申请所提供的方法及设备,通过引入自由因子rf作为一个自由度,通变换自由因子rf,可以在生成与扩展因子zf相对应的第二基矩阵时,得到完全不同的矩阵结构分布。从而可以在直接使用扩展因子zf对第一基矩阵进行展开所得的基矩阵错误平层较高时,通过改变矩阵结构分布,得到错误平层较低的第二基矩阵,减轻在扩展因子zf下所述生成的第二基矩阵存在错误平层较高的问题,提高数据传输的可靠性。Using the method and device provided in this application, by introducing the free factor r f as a degree of freedom, and by transforming the free factor r f , a completely different matrix can be obtained when the second basis matrix corresponding to the expansion factor z f is generated. structural distribution. Therefore, when the base matrix error leveling of the base matrix obtained by directly using the expansion factor zf to expand the first base matrix is relatively high, by changing the matrix structure distribution, a second base matrix with a lower error leveling level can be obtained, and the expansion factor z can be alleviated. The generated second base matrix described in f below has the problem of high error leveling, which improves the reliability of data transmission.

附图说明Description of drawings

为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present application more clearly, the accompanying drawings that need to be used in the embodiments will be briefly introduced below. Other drawings can also be obtained from these drawings.

图1为本申请LDPC码的基矩阵生成方法一个实施例的流程示意图;1 is a schematic flowchart of an embodiment of a method for generating a basis matrix of an LDPC code of the application;

图2为本申请第一基矩阵一个实施例的示意;FIG. 2 is a schematic diagram of an embodiment of the first basis matrix of the present application;

图3为本申请编码方法一个实施例的流程示意图;3 is a schematic flowchart of an embodiment of the coding method of the present application;

图4为本申请译码方法一个实施例的流程示意图;FIG. 4 is a schematic flowchart of an embodiment of the decoding method of the present application;

图5为本申请无线通信设备一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a wireless communication device of the present application;

图6为本申请无线通信设备另一个实施例的结构示意图。FIG. 6 is a schematic structural diagram of another embodiment of a wireless communication device of the present application.

具体实施方式Detailed ways

本申请实施例可以应用于包括网络设备和终端设备(terminal device orterminal equipment)等无线通信设备的无线通信系统中。例如,LTE系统,或其他采用各种无线接入技术的无线通信系统,例如采用码分多址,频分多址,时分多址,正交频分多址,单载波频分多址等接入技术的系统,后续的演进系统,如第五代(5G)系统等。本申请各实施例中所说的无线通信设备可以是无线通信系统中的任意设备,例如网络设备或终端设备等。The embodiments of the present application may be applied to a wireless communication system including wireless communication devices such as network devices and terminal devices (terminal devices or terminal equipment). For example, the LTE system, or other wireless communication systems using various wireless access technologies, such as code division multiple access, frequency division multiple access, time division multiple access, orthogonal frequency division multiple access, single carrier frequency division multiple access, etc. system, and subsequent evolution systems, such as fifth-generation (5G) systems, etc. The wireless communication device mentioned in the embodiments of this application may be any device in a wireless communication system, such as a network device or a terminal device.

其中,所述终端设备可以是指向用户提供语音或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(radio access network,简称RAN)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或车载的移动装置,它们与无线接入网交换语言和或数据。例如,个人通信业务(personal communication service,简称PCS)电话、无绳电话、会话发起协议(session initiation protocol,简称SIP)话机、无线本地环路(wireless localloop,简称WLL)站、个人数字助理(personal digital assistant,简称PDA)等设备。无线终端也可以称为系统、订户单元(subscriber unit,简称SU)、订户站(subscriber station,简称SS),移动站(mobile station,简称MS)、远程站(remote station,简称RS)、接入点(access point,简称AP)、远端设备(remote terminal,简称RT)、接入终端(accessterminal,简称AT)、用户终端(user terminal,简称UT)、用户代理(user agent,简称UA)、用户设备、或用户装备(user equipment,简称UE)。The terminal device may be a device that provides voice or data connectivity to the user, a handheld device with a wireless connection function, or other processing device connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a radio access network (RAN), and the wireless terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a mobile phone with a mobile terminal. Computers, for example, may be portable, pocket-sized, hand-held, computer-built-in or vehicle-mounted mobile devices that exchange language and/or data with the wireless access network. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (personal digital assistants) assistant, referred to as PDA) and other equipment. A wireless terminal may also be referred to as a system, a subscriber unit (SU for short), a subscriber station (SS for short), a mobile station (MS for short), a remote station (RS for short), an access access point (AP), remote terminal (RT), access terminal (AT), user terminal (UT), user agent (UA), User equipment, or user equipment (user equipment, UE for short).

所述网络设备可以是基站,或者接入点,或者可以是指接入网中在空中接口上通过一个或多个扇区与无线终端通信的设备。基站可用于将收到的空中帧与IP分组进行相互转换,作为无线终端与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议(Internet protocol,简称IP)网络。基站还可协调对空中接口的属性管理。例如,基站可以是GSM或CDMA中的基站(Base Transceiver Station,简称BTS),也可以是WCDMA中的基站(NodeB),还可以是LTE中的演进型基站(evolutional Node B,简称eNodeB),本申请并不限定。The network device may be a base station, or an access point, or may refer to a device in an access network that communicates with a wireless terminal over an air interface through one or more sectors. The base station can be used to convert received air frames and IP packets to each other, and act as a router between the wireless terminal and the rest of the access network, where the rest of the access network can include an Internet protocol (IP) network . The base station may also coordinate attribute management of the air interface. For example, the base station may be a base station (Base Transceiver Station, BTS for short) in GSM or CDMA, a base station (NodeB) in WCDMA, or an evolved base station (evolutional Node B, eNodeB for short) in LTE. The application is not limited.

在本说明书各实施例中,

Figure BDA0001219790000000071
表示对数值向上取整,
Figure BDA0001219790000000072
表示对数值向下取整,mod表示取模运算。In each embodiment of this specification,
Figure BDA0001219790000000071
Indicates that the logarithmic value is rounded up,
Figure BDA0001219790000000072
Indicates that the value is rounded down, and mod represents the modulo operation.

参见图1,为本申请信息处理方法一个实施例的流程示意图。该实施例所示的生成方法可以由无线通信设备执行。Referring to FIG. 1 , it is a schematic flowchart of an embodiment of an information processing method of the present application. The generation method shown in this embodiment may be performed by a wireless communication device.

步骤101,无线通信设备获取LDPC码的第一基矩阵。Step 101, the wireless communication device acquires the first basis matrix of the LDPC code.

所述第一基矩阵可以包括m行n列矩阵元素,其码率则可以为

Figure BDA0001219790000000081
或者也可以其它值。为便于描述,所述第一基矩阵的各行可以分别用第0行至第m-1行表示,所述第一基矩阵的各列可以分别用第0列至第n-1列表示。位于所述第一基矩阵第i行第j列的矩阵元素可以表示为pi,j。The first base matrix may include matrix elements with m rows and n columns, and the code rate may be
Figure BDA0001219790000000081
Or other values are also possible. For convenience of description, each row of the first basis matrix may be represented by the 0th row to the m-1th row, respectively, and each column of the first basis matrix may be represented by the 0th column to the n-1th column, respectively. The matrix element located at the i-th row and the j-th column of the first base matrix may be represented as p i,j .

无线通信设备可以直接从其他设备获取所述第一基矩阵;或者,也可以首先获取所述行数m及所述列数n,然后再采用密度进化理论或渐进边生长(progressive edgegrowth,简称PEG)方法构造第一基矩阵。其中,其中m及n的取值可以根据无线通信设备的数据传输需求确定。基矩阵的获取方法或构造方法在此就不再赘述。The wireless communication device may directly obtain the first basis matrix from other devices; or, it may first obtain the number of rows m and the number of columns n, and then use density evolution theory or progressive edge growth (PEG for short) ) method to construct the first basis matrix. Wherein, the values of m and n may be determined according to the data transmission requirement of the wireless communication device. The acquisition method or construction method of the basis matrix will not be repeated here.

步骤102,获取扩展因子zfStep 102, obtaining the expansion factor z f .

除需要获取所述第一基矩阵之外,无线通信设备还需要获取扩展因子zf。其中,所述扩展因子zf的取值可以由编码序列的码长决定。通常来说,zf的取值与基矩阵的列数的乘积为编码序列的码长,编码序列可以是信息序列经过编码后得到的序列。In addition to the need to obtain the first basis matrix, the wireless communication device also needs to obtain the spreading factor z f . The value of the spreading factor z f may be determined by the code length of the coding sequence. Generally speaking, the product of the value of z f and the number of columns of the base matrix is the code length of the coding sequence, and the coding sequence may be a sequence obtained after the information sequence is coded.

扩展因子zf可以为所述第一基矩阵所需支持的任一个扩展因子,或者也可以为所述第一基矩阵所需支持的扩展因子中,直接对第一基矩阵进行展开会生成错误平层较高的第二基矩阵的某一个扩展因子。其中,错误平层较高可以是指错误平层高于预定限度值,所述预定限度值可以根据数据传输的实际需求确定。The expansion factor z f can be any expansion factor that the first basis matrix needs to support, or it can also be among the expansion factors that the first basis matrix needs to support. Expanding the first basis matrix directly will generate an error A certain expansion factor of the second basis matrix with a higher level. The higher error leveling may mean that the error leveling is higher than a predetermined limit value, and the predetermined limit value may be determined according to the actual demand of data transmission.

其中,所述扩展因子zf为正整数,且需要小于基矩阵所支持的扩展因子最大值zmax,zmax取值为预设正整数。其中,zmax由编码序列的码长的最大值决定,zmax与基矩阵的列数的乘积即为编码序列的码长的最大值。例如,如果基矩阵包括30列而编码序列的码长的最大值为9600,那么基矩阵所支持的扩展因子最大值zmax为320,而zf的取值可以为1至320中的任意一个。Wherein, the expansion factor z f is a positive integer, and needs to be smaller than the maximum expansion factor z max supported by the base matrix, and the value of z max is a preset positive integer. Wherein, z max is determined by the maximum value of the code length of the coding sequence, and the product of z max and the number of columns of the base matrix is the maximum value of the code length of the coding sequence. For example, if the base matrix includes 30 columns and the maximum code length of the encoded sequence is 9600, then the maximum value of the spreading factor z max supported by the base matrix is 320, and the value of z f can be any one of 1 to 320 .

步骤103,生成所述LDPC码的第二基矩阵。Step 103: Generate a second basis matrix of the LDPC code.

无线通信设备在获取到所述第一基矩阵与所述扩展因子zf后,可以生成与扩展因子zf相对应的第二基矩阵,其中,所述第二基矩阵的行数仍m,所述第二基矩阵的列数仍为n。在生成第二基矩阵时,无线通信设备可以将所述第一基矩阵中每一个取值不为-1的矩阵元素均对应替换为对应的替换元素,其中,各个替换元素可以是无线通信设备根据矩阵元素及扩展因子zf及自由因子rf生成的替换元素。其中,位于所述第一基矩阵第i行第j列的矩阵元素可以用pi,j表示,而位于第二基矩阵中第i行第j列的矩阵元素所对应的替换元素可以用pf,i,j表示。After acquiring the first basis matrix and the expansion factor z f , the wireless communication device may generate a second basis matrix corresponding to the expansion factor z f , wherein the number of rows of the second basis matrix is still m, The number of columns of the second base matrix is still n. When generating the second basis matrix, the wireless communication device may replace each matrix element whose value is not -1 in the first basis matrix with a corresponding replacement element, wherein each replacement element may be a wireless communication device Replacement elements generated from matrix elements and expansion factors z f and free factors r f . Wherein, the matrix element located in the i-th row and the j-th column of the first base matrix can be represented by p i,j , and the replacement element corresponding to the matrix element located in the i-th row and the j-th column in the second base matrix can be represented by p f, i, j represent.

所述第一基矩阵中等于-1的矩阵元素与所述第二基矩阵中等于-1的矩阵元素位置相同,所述第二基矩阵至少存在一个第i行第j列的矩阵元素pf,i,j是根据所述第一基矩阵中第i行第j列的矩阵元素pi,j,所述zf和自由因子rf生成的,其中,所述pf,i,j<zf,rf,m,n,i,j的取值均为整数,0≤i<m,0≤j<n。而所述第二基矩阵的环长特性则可以优于或者等于所述第一基矩阵。其中,对于两个矩阵A和B,如果l表示环长,A(l)表示矩阵A中长度为l的环的数目,B(l)表示矩阵B中长度为l的环的数目,按照如下方式可以确定环长特性优的矩阵:The position of the matrix element equal to -1 in the first base matrix is the same as that of the matrix element equal to -1 in the second base matrix, and the second base matrix has at least one matrix element p f in the i-th row and the j-th column ,i,j are generated according to the matrix element p i,j of the i-th row and the j-th column of the first basis matrix, the z f and the free factor r f , wherein the pf ,i,j <z The values of f , r f , m, n, i, and j are all integers, 0≤i<m, 0≤j<n. The ring length characteristic of the second basis matrix may be better than or equal to that of the first basis matrix. Among them, for two matrices A and B, if l represents the ring length, A(l) represents the number of rings of length l in matrix A, and B(l) represents the number of rings of length l in matrix B, as follows The method can determine the matrix with excellent ring length characteristics:

l=4;l=4;

对A(l)和B(l)进行比较: (1)Compare A(l) and B(l): (1)

如果A(l)小于B(l),则矩阵A的环长特性优于矩阵B,结束比较;If A(l) is less than B(l), the loop length characteristic of matrix A is better than that of matrix B, and the comparison ends;

如果A(l)大于B(l),则矩阵B的环长特性优于矩阵A,结束比较;If A(l) is greater than B(l), the loop length characteristic of matrix B is better than that of matrix A, and the comparison is ended;

如果A(l)等于B(l):If A(l) is equal to B(l):

如果l达到最大值:If l reaches its maximum value:

则矩阵A的环长特性等于矩阵B的环长特性,结束比较;Then the ring length characteristic of matrix A is equal to the ring length characteristic of matrix B, and the comparison is ended;

否则l等于l+2,返回到(1).Otherwise l is equal to l+2, return to (1).

需要说明的是,上述矩阵的环长特性的比较方式也适用本发明的其他实施例。It should be noted that the method of comparing the loop length characteristics of the above-mentioned matrix is also applicable to other embodiments of the present invention.

例如,如果第二基矩阵的4环数目小于第一基矩阵的4环数目,则说明第二基矩阵的环长特性优于第一基矩阵。又例如,如果第二基矩阵的4环数目和第一基矩阵的4环数目相等,则进一步比较两者的6环数目,如果第二基矩阵的6环数目小于第一基矩阵的6环数目,则说明第二基矩阵的环长特性优于第一基矩阵。又例如,如果第二基矩阵和第一基矩阵的4环、6环的数目分别相等,6环已经达到最大环长,则说明第二基矩阵和第一基矩阵的环长特性相等。需要说明的是,这里都只是方便举例,本发明实施例并不以此为限制。For example, if the number of 4 rings of the second basis matrix is smaller than the number of 4 rings of the first basis matrix, it means that the ring length characteristic of the second basis matrix is better than that of the first basis matrix. For another example, if the number of 4 rings of the second basis matrix is equal to the number of 4 rings of the first basis matrix, then further compare the number of 6 rings of the two, if the number of 6 rings of the second basis matrix is less than the number of 6 rings of the first basis matrix number, it means that the ring length characteristic of the second basis matrix is better than that of the first basis matrix. For another example, if the number of 4 rings and 6 rings of the second basis matrix and the first basis matrix are respectively equal, and the 6 rings have reached the maximum ring length, it means that the ring length characteristics of the second basis matrix and the first basis matrix are equal. It should be noted that, the examples here are only for convenience, and the embodiments of the present invention are not limited thereto.

为确保最终生成的第二基矩阵相对于第一基矩阵有较低的错误平层,则可以使所述第二基矩阵的环长特性则优于或者等于所述第一基矩阵。为使所述第二基矩阵的环长特性则优于所述第一基矩阵,所述替换元素pf,i,j还需要满足:将矩阵元素pi,j替换为对应的替换元素pf,i,j后可以消除替换前矩阵中至少一个环。即,如果在替换前矩阵中,(a1-a2+a3-a4+...-al)%zf=0,其中,a1,a2,a3,a4,...,al为替换前矩阵中任意一个长度为l的环上的各个矩阵元素,l为大于或者等于4的偶数;那么在替换后矩阵中,(a1'-a2'+a3'-a4'+...-al')%zf≠0,其中,a1',a2',a3',a4',...,al'为替换后矩阵中的矩阵元素,并且aq'在替换后矩阵中的位置与aq在替换前矩阵中的位置相同,q=1,2,3,4,...,l。其中,所述替换前矩阵为将元素pi,j替换为pf,i,j之前的矩阵,替换后矩阵为将元素pi,j替换为pf,i,j之后所生成的矩阵。In order to ensure that the finally generated second basis matrix has lower error leveling than the first basis matrix, the ring length characteristic of the second basis matrix may be better than or equal to the first basis matrix. In order to make the ring length characteristic of the second basis matrix better than that of the first basis matrix, the replacement elements p f, i, j also need to satisfy: replace the matrix elements p i, j with the corresponding replacement elements p After f, i, j , at least one ring in the matrix before replacement can be eliminated. That is, if in the pre-replacement matrix, (a 1 -a 2 +a 3 -a 4 +...-a l )%z f =0, where a 1 ,a 2 ,a 3 ,a 4 ,. ..,a l is each matrix element on any ring of length l in the matrix before replacement, and l is an even number greater than or equal to 4; then in the matrix after replacement, (a 1 '-a 2 '+a 3 '-a 4 '+...-a l ')%z f ≠0, where a 1 ',a 2 ',a 3 ',a 4 ',...,a l ' are in the matrix after replacement , and the position of a q ' in the matrix after replacement is the same as the position of a q in the matrix before replacement, q=1, 2, 3, 4, ..., l. The pre-replacement matrix is a matrix before the elements p i,j are replaced by p f,i,j , and the post-replacement matrix is a matrix generated after the elements p i,j are replaced by p f,i,j .

pf,i,j可以由无线通信设备使用预设生成函数生成,其中,所述预设生成函数可以表示为y(pi,j,zf,rf),即,pf,i,j=y(pi,j,zf,rf)。其中,rf为自由因子,可以为一个随机值;rf,m,n,i,j的取值均为整数,0≤i<m,0≤j<n。p f,i,j may be generated by the wireless communication device using a preset generating function, wherein the preset generating function may be expressed as y(pi ,j ,z f ,r f ), that is, p f,i, j =y(pi ,j , zf , rf ). Among them, r f is a free factor, which can be a random value; the values of r f , m, n, i, and j are all integers, 0≤i<m, 0≤j<n.

所述预设生成函数pf,i,j=y(pi,j,zf,rf)可以包括多种。例如,所述预设生成函数

Figure BDA0001219790000000101
其中,c为预设常数;或者,所述预设生成函数
Figure BDA0001219790000000102
其中zmax为第一基矩阵所支持的扩展因子最大值;或者,所述预设生成函数
Figure BDA0001219790000000103
或者,所述预设生成函数
Figure BDA0001219790000000104
在此需要说明的是,上述仅是对预设生成函数的一些举例,符合预定条件的生成函数还有多种,在此就不再一一列举。The preset generating function p f,i,j =y(pi ,j ,z f ,r f ) may include multiple types. For example, the preset generating function
Figure BDA0001219790000000101
Wherein, c is a preset constant; or, the preset generating function
Figure BDA0001219790000000102
where z max is the maximum expansion factor supported by the first basis matrix; or, the preset generating function
Figure BDA0001219790000000103
Or, the preset generating function
Figure BDA0001219790000000104
It should be noted here that the above are only some examples of the preset generating functions, and there are many kinds of generating functions that meet the predetermined conditions, which will not be listed one by one here.

pf,i,j通常取值为整数,可以对上述函数中可能产生小数的部分进行向上取整或者向下取整,例如:p f, i, j are usually integers, and the parts that may generate decimals in the above functions can be rounded up or down, for example:

Figure BDA0001219790000000105
可以通过取整得到
Figure BDA0001219790000000105
can be obtained by rounding

Figure BDA0001219790000000106
或者
Figure BDA0001219790000000107
也可以通过取整得到
Figure BDA0001219790000000106
or
Figure BDA0001219790000000107
can also be obtained by rounding

Figure BDA0001219790000000108
或者
Figure BDA0001219790000000109
Figure BDA0001219790000000108
or
Figure BDA0001219790000000109

Figure BDA00012197900000001010
可以通过取整得到
Figure BDA00012197900000001010
can be obtained by rounding

Figure BDA00012197900000001011
或者
Figure BDA00012197900000001012
Figure BDA00012197900000001011
or
Figure BDA00012197900000001012

Figure BDA00012197900000001013
可以通过取整得到
Figure BDA00012197900000001013
can be obtained by rounding

Figure BDA0001219790000000111
或者
Figure BDA0001219790000000112
也可以通过取整得到
Figure BDA0001219790000000111
or
Figure BDA0001219790000000112
can also be obtained by rounding

Figure BDA0001219790000000113
或者
Figure BDA0001219790000000114
Figure BDA0001219790000000113
or
Figure BDA0001219790000000114

其中,

Figure BDA0001219790000000115
表示对数值向上取整,
Figure BDA0001219790000000116
表示对数值向下取整。in,
Figure BDA0001219790000000115
Indicates that the logarithmic value is rounded up,
Figure BDA0001219790000000116
Indicates that the logarithmic value is rounded down.

在上述公式中,c为常数,且不等于0,为了简化计算,c通常可以为2的整数次幂,或者取值为zmaxIn the above formula, c is a constant and is not equal to 0. In order to simplify the calculation, c can usually be an integer power of 2, or take a value of z max .

需要说明的是上述均只是举例,并不限于此。It should be noted that the above are only examples, and are not limited thereto.

由于所述预设生成函数的输出参数包括pi,j,zf,rf,其中,pi,j,zf都已经确定,根据rf的取值不同,最终生成的第二基矩阵也各不相同,而各个第二基矩阵的性能也不尽相同。因此,无线通信设备还可以选择合适的rf,以使得最终生成的第二基矩阵性能较优。Since the output parameters of the preset generating function include p i,j , z f , r f , where p i,j , z f have all been determined, according to the different values of r f , the final generated second basis matrix are also different, and the performance of each second basis matrix is also different. Therefore, the wireless communication device can also select an appropriate r f , so that the performance of the finally generated second basis matrix is better.

无线通信设备可以首先获取k个备选自由因子,所述k个备选自由因子可以由无线通信设备从其他设备获取,或者也可以由无线通信设备随机生成。由于pi,j,zf的取值已经确定,在获取到k个备选自由因子后,无线通信设备可以分别生成k个备选矩阵,其中,每个备选矩阵与一个所述备选自由因子相对应;然后再从所述备选矩阵中选出环长特性最优的一个作为所述第二基矩阵。其中,如果一个备选矩阵的环长特性分别优于其他k-1个备选矩阵的环长特性,则这个备选矩阵的环长特性最优,也即将该备选矩阵作为第二基矩阵,如果存在s个备选矩阵,s大于1且小于k+1,这s个备选矩阵的环长特性相等,并且都优于其他k-s个备选矩阵,则从中选择一个作为第二基矩阵,例如可以根据实际性能仿真选择一个作为第二基矩阵。The wireless communication device may first acquire k candidate free factors, and the k candidate free factors may be acquired by the wireless communication device from other devices, or may be randomly generated by the wireless communication device. Since the values of p i,j , z f have been determined, after acquiring k candidate free factors, the wireless communication device can generate k candidate matrices respectively, wherein each candidate matrix is related to one of the candidate free factors. The free factors correspond; and then the one with the best loop length characteristic is selected from the candidate matrices as the second basis matrix. Among them, if the ring length characteristics of one candidate matrix are better than the ring length characteristics of other k-1 candidate matrices, then the ring length characteristics of this candidate matrix are optimal, that is, the candidate matrix is used as the second basis matrix. , if there are s alternative matrices, s is greater than 1 and less than k+1, the ring length characteristics of these s alternative matrices are equal, and they are all better than the other k alternative matrices, then select one of them as the second basis matrix , for example, one can be selected as the second basis matrix according to the actual performance simulation.

与第k个备选自由因子对应的第k备选矩阵由所述第一基矩阵中每一个不为-1的矩阵元素均被替换与第k个备选自由因子对应的第k替换元素后生成。The k-th candidate matrix corresponding to the k-th candidate free factor is replaced by the k-th replacement element corresponding to the k-th candidate free factor after each matrix element in the first base matrix that is not -1 is replaced. generate.

其中,位于所述第一基矩阵第i行第j列的矩阵元素pi,j所对应的第k替换元素pf,k,i,j由预设生成函数pf,i,j=y(pi,j,zf,rf,k)生成,所述预设生成函数pf,i,j=y(pi,j,zf,rf.k)的输出范围为pf,i,j<zf,rf.k为第k个备选自由因子,m,n,i,j的取值均为整数,0≤i<m,0≤j<n。Wherein, the k-th replacement element p f,k,i,j corresponding to the matrix element p i,j in the i-th row and the j-th column of the first base matrix is generated by the preset function p f,i,j =y (p i,j ,z f ,r f ,k ) is generated, and the output range of the preset generation function p f,i,j =y(pi ,j ,z f ,r fk ) is p f,i ,j <z f , r fk is the kth candidate free factor, m, n, i, j are all integers, 0≤i<m, 0≤j<n.

申请人研究发现,对于每一个zf都存在一个rf,能够使得将pi,j替换为pf,i,j所生成的第二基矩阵的环长特性优于直接使用zf对第一基矩阵展开所得的第二基矩阵。The applicant has found through research that there is an r f for each z f , which can make the ring length characteristic of the second basis matrix generated by replacing p i,j with p f,i,j better than directly using z f for the second basis matrix. A second basis matrix obtained by expanding a basis matrix.

例如,当所述第一基矩阵如图2所示时,zf与rf之间的对应关系可以表1所示,在此需要说明的是,在表1中,zf的表示形式为10进制,而rf的表示形式为16进制。For example, when the first basis matrix is shown in Figure 2, the corresponding relationship between z f and r f can be shown in Table 1. It should be noted here that in Table 1, the representation of z f is Decimal, while the representation of r f is hexadecimal.

表1Table 1

Figure BDA0001219790000000121
Figure BDA0001219790000000121

Figure BDA0001219790000000131
Figure BDA0001219790000000131

由于当第一基矩阵确定后,zf与rf之间的对应关系也可以相应确定,因此可以在所述无线通信设备的存储器中保存zf与rf之间的对应关系。当需要生成所述第二基矩阵时,无线通信设备在获取到所述zf之后,可以直接根据所述对应关系获取对应的rf.Since the corresponding relationship between z f and r f can also be determined correspondingly after the first basis matrix is determined, the corresponding relationship between z f and r f can be stored in the memory of the wireless communication device. When the second basis matrix needs to be generated, after obtaining the z f , the wireless communication device can directly obtain the corresponding r f .

采用本实施例所提供的方法,在使用扩展因子zf构造第二基矩阵的基础上,引入了自由因子rf作为一个自由度,通过调整rf的取值可以得到完全不同的LDPC矩阵结构分布,从而得到错误平层不同的第二基矩阵,从而可以降低在某些扩展因子下,对基矩阵进行展开所生成的第二基矩阵会有比较高的错误平层的问题。与采用多个矩阵实现连续码长构造的方法相比,只需存储一个额外的rf表即可,所需存储空间小,描述简单。Using the method provided in this embodiment, on the basis of using the expansion factor z f to construct the second fundamental matrix, a free factor r f is introduced as a degree of freedom, and a completely different LDPC matrix structure can be obtained by adjusting the value of r f distribution, so as to obtain second basis matrices with different error levels, which can reduce the problem that the second basis matrix generated by expanding the basis matrix will have relatively high error leveling under certain expansion factors. Compared with the method of using multiple matrices to realize the construction of continuous code length, it only needs to store an additional r f table, which requires less storage space and is simple to describe.

本申请所提供的技术方案,通过改进不同的扩展因子下的移位因子计算方法,可以第一基矩阵实现一系列长度的低错误平层LDPC,与传统的移位因子计算方法相比,可以有效的消除坏点,保证在所有扩展因子下生成的校验矩阵都具有较低的错误平层。The technical solution provided in this application, by improving the calculation method of the shift factor under different expansion factors, can realize a series of lengths of low-error leveling LDPC with the first basis matrix. Compared with the traditional calculation method of the shift factor, the Effectively eliminates dead pixels and ensures that the parity check matrix generated under all expansion factors has a lower error level.

参见图3,为本申请信息处理方法一个实施例的流程示意图。无线通信设备可以使用前述实施例所生成的第二基矩阵进行编码。Referring to FIG. 3 , it is a schematic flowchart of an embodiment of an information processing method of the present application. The wireless communication device may use the second basis matrix generated by the foregoing embodiments for encoding.

如果所述无线通信设备为发送端设备,那么所述无线通信设备在生成所述第二基矩阵后,可以使用第二基矩阵对待编码序列进行编码。因此,当所述无线通信设备为发送端设备时,如图3所示,在步骤103之后还可以包括:If the wireless communication device is a transmitting end device, after generating the second basis matrix, the wireless communication device may use the second basis matrix to encode the sequence to be encoded. Therefore, when the wireless communication device is a transmitter device, as shown in FIG. 3 , after step 103, it may further include:

步骤104,使用所述第二基矩阵对待编码序列进行编码,从而得到第一编码序列。Step 104: Use the second basis matrix to encode the sequence to be encoded, thereby obtaining a first encoded sequence.

在第二基矩阵生成之后,无线通信设备可以使用所述第二基矩阵对待编码序列进行编码。其中,所述待编码序列可以由无线通信设备在生成所述第二基矩阵之前获取,或者也可以由无线通信设备在生成所述第二基矩阵之后获取。在此需要说明的是,本申请也不对步骤101与步骤102之间的执行顺序进行限定。After the second basis matrix is generated, the wireless communication device may use the second basis matrix to encode the sequence to be encoded. The sequence to be encoded may be acquired by the wireless communication device before generating the second basis matrix, or may also be acquired by the wireless communication device after generating the second basis matrix. It should be noted here that the present application also does not limit the execution sequence between step 101 and step 102 .

步骤105,发送所述第一编码序列。Step 105: Send the first encoding sequence.

在第一编码序列生成后,无线通信设备可以对所述第一编码序列进行调制和发送。对第一编码序列进行调制和发送的过程在此就不再赘述。After the first coding sequence is generated, the wireless communication device may modulate and transmit the first coding sequence. The process of modulating and transmitting the first coding sequence will not be repeated here.

在上述各方法实施例中,无线通信设备获取LDPC码的第一基矩阵,可以根据该第一基矩阵、扩展因子zf和自由因子rf对信息序列进行编码得到第一编码序列。其中,第一编码序列的校验矩阵对应的基矩阵为第二基矩阵,则第二基矩阵中至少存在一个第i行第j列的矩阵元素pf, i ,j是根据所述第一基矩阵中第i行第j列的矩阵元素pi,j,所述扩展因子zf和自由因子rf生成的,其中,pf,i,j<zf,i,j的取值均为整数,0≤i<m,0≤j<n。In the above method embodiments, the wireless communication device obtains the first basis matrix of the LDPC code, and can obtain the first encoded sequence by encoding the information sequence according to the first basis matrix, the spreading factor z f and the free factor r f . Wherein, the basis matrix corresponding to the parity check matrix of the first coding sequence is the second basis matrix, then there is at least one matrix element p f, i , j in the i-th row and the j-th column in the second basis matrix. The matrix element p i,j of the i-th row and the j-th column in the base matrix is generated by the expansion factor z f and the free factor r f , where p f,i,j <z f , and the values of i and j are both is an integer, 0≤i<m, 0≤j<n.

在一种可能的实现方式中,pf,i,j满足以下公式:In one possible implementation, p f,i,j satisfy the following formula:

Figure BDA0001219790000000141
其中,g1(pi,j,rf)表示以pi,j,rf为参数的函数,取值为整数,g2(zf)表示以zf为参数的函数,且g2(zf)≤zf,取值为整数。
Figure BDA0001219790000000141
Among them, g 1 (p i,j ,r f ) represents a function with p i,j ,r f as parameters, which is an integer, g 2 (z f ) represents a function with z f as a parameter, and g 2 (z f )≤z f , which is an integer.

其中,g1(pi,j,rf)可以是满足以下公式:Among them, g 1 (pi ,j ,r f ) can satisfy the following formula:

Figure BDA0001219790000000142
或者
Figure BDA0001219790000000143
其中c为常数,且不等于0;或者,
Figure BDA0001219790000000142
or
Figure BDA0001219790000000143
where c is a constant and not equal to 0; or,

Figure BDA0001219790000000144
或者
Figure BDA0001219790000000145
其中,c为常数,且不等于0;或者,
Figure BDA0001219790000000144
or
Figure BDA0001219790000000145
where c is a constant and not equal to 0; or,

g1(pi,j,rf)=pi,j+(c-pi,j)rf,其中c为常数,且不等于0;或者,g 1 (pi ,j ,r f )=pi ,j +(cp i,j )r f , where c is a constant and not equal to 0; or,

Figure BDA0001219790000000146
或者
Figure BDA0001219790000000147
或者,
Figure BDA0001219790000000146
or
Figure BDA0001219790000000147
or,

Figure BDA0001219790000000148
或者
Figure BDA0001219790000000149
或者,
Figure BDA0001219790000000148
or
Figure BDA0001219790000000149
or,

Figure BDA00012197900000001410
或者
Figure BDA00012197900000001411
Figure BDA00012197900000001410
or
Figure BDA00012197900000001411

g2(zf)可以满足以下公式:g2(zf)=zf或者,

Figure BDA00012197900000001412
g 2 (z f ) may satisfy the following formula: g 2 (z f )=z f or,
Figure BDA00012197900000001412

在上述公式中,c为常数,且不等于0,为了简化计算,c通常可以为2的整数次幂,或者取值为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In the above formula, c is a constant and not equal to 0. In order to simplify the calculation, c can usually be an integer power of 2, or a value of z max , where z max is the expansion factor z to be supported by the first basis matrix the maximum value of f .

可以通过多种形式得到满足上述公式的函数,例如,The function satisfying the above formula can be obtained in various forms, for example,

Figure BDA00012197900000001413
其中,c为预设常数;或者,
Figure BDA00012197900000001413
where c is a preset constant; or,

Figure BDA00012197900000001414
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA00012197900000001414
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA0001219790000000151
或者,
Figure BDA0001219790000000151
or,

Figure BDA0001219790000000152
Figure BDA0001219790000000152

pf,i,j通常取值为整数,可以对上述函数中可能产生小数的部分进行向上取整或者向下取整,例如:p f, i, j are usually integers, and the parts that may generate decimals in the above functions can be rounded up or down, for example:

Figure BDA0001219790000000153
可以通过取整得到
Figure BDA0001219790000000153
can be obtained by rounding

Figure BDA0001219790000000154
或者
Figure BDA0001219790000000155
也可以通过取整得到
Figure BDA0001219790000000154
or
Figure BDA0001219790000000155
can also be obtained by rounding

Figure BDA0001219790000000156
或者
Figure BDA0001219790000000157
Figure BDA0001219790000000156
or
Figure BDA0001219790000000157

Figure BDA0001219790000000158
可以通过取整得到
Figure BDA0001219790000000158
can be obtained by rounding

Figure BDA0001219790000000159
或者
Figure BDA00012197900000001510
Figure BDA0001219790000000159
or
Figure BDA00012197900000001510

Figure BDA00012197900000001511
可以通过取整得到
Figure BDA00012197900000001511
can be obtained by rounding

Figure BDA00012197900000001512
或者
Figure BDA00012197900000001513
也可以通过取整得到
Figure BDA00012197900000001512
or
Figure BDA00012197900000001513
can also be obtained by rounding

Figure BDA00012197900000001514
或者
Figure BDA00012197900000001515
Figure BDA00012197900000001514
or
Figure BDA00012197900000001515

其中,

Figure BDA0001219790000000161
表示对数值向上取整,
Figure BDA0001219790000000162
表示对数值向下取整。in,
Figure BDA0001219790000000161
Indicates that the logarithmic value is rounded up,
Figure BDA0001219790000000162
Indicates that the logarithmic value is rounded down.

在上述公式中,c为常数,且不等于0,为了简化计算,c通常可以为2的整数次幂,2n,n为正整数,或者取值为zmaxIn the above formula, c is a constant and is not equal to 0. In order to simplify the calculation, c can usually be an integer power of 2, 2 n , where n is a positive integer, or a value of z max .

例如,对于

Figure BDA0001219790000000163
或者
Figure BDA0001219790000000164
c可以是取值为2n的常数,例如4或者8,或者取值为zmax。For example, for
Figure BDA0001219790000000163
or
Figure BDA0001219790000000164
c may be a constant value of 2 n , such as 4 or 8, or z max .

对于

Figure BDA0001219790000000165
则for
Figure BDA0001219790000000165
but

Figure BDA0001219790000000166
或者,
Figure BDA0001219790000000166
or,

Figure BDA0001219790000000167
Figure BDA0001219790000000167

又例如:Another example:

Figure BDA0001219790000000168
或者
Figure BDA0001219790000000169
Figure BDA0001219790000000168
or
Figure BDA0001219790000000169

需要说明的是上述均只是举例,并不限于此。It should be noted that the above are only examples, and are not limited thereto.

在又一种可能的实现方式中,pf,i,j满足以下公式:In yet another possible implementation, p f,i,j satisfy the following formula:

Figure BDA00012197900000001610
其中,g3(pi,j,rf)表示以pi,j,rf为参数的函数,取值为整数,g4(zf)表示以zf为参数的函数,且0<g4(zf)≤1。
Figure BDA00012197900000001610
Among them, g 3 (p i,j ,r f ) represents a function with p i,j ,r f as parameters, which is an integer, g 4 (z f ) represents a function with z f as a parameter, and 0< g 4 (z f )≤1.

其中,g3(pi,j,rf)满足以下公式:where g 3 (pi ,j ,r f ) satisfies the following formula:

g3(pi,j,rf)=(pi,j+rf)modc,其中,c为常数,且不等于0;或者,g 3 (pi ,j ,r f )=(pi ,j +r f )modc, where c is a constant and not equal to 0; or,

g3(pi,j,rf)=(pi,j·rf)modc,其中,c为常数,且不等于0。g 3 (pi ,j ,r f )=(pi ,j ·r f )modc, where c is a constant and not equal to zero.

g4(zf)满足以下公式:g 4 (z f ) satisfies the following formula:

g4(zf)=zf/c,或者,

Figure BDA00012197900000001611
其中,c为常数,且不等于0。g 4 (z f )=z f /c, or,
Figure BDA00012197900000001611
where c is a constant and not equal to 0.

在上述公式中,c为常数,且不等于0,为了简化计算,c通常可以为2的整数次幂,2n,n为正整数,或者取值为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In the above formula, c is a constant and not equal to 0. In order to simplify the calculation, c can usually be an integer power of 2, 2 n , where n is a positive integer, or a value of z max , where z max is the first The maximum value of the expansion factor z f to be supported by the basis matrix.

例如:E.g:

Figure BDA0001219790000000171
Figure BDA0001219790000000171

又例如:Another example:

Figure BDA0001219790000000172
Figure BDA0001219790000000172

需要说明的是上述均只是举例,并不限于此。It should be noted that the above are only examples, and are not limited thereto.

可选地,无线通信设备还可以获取扩展因子zf和自由因子rfOptionally, the wireless communication device may also acquire the expansion factor z f and the free factor r f .

前述实施例中,生成第二基矩阵步骤仅为一种可选的实现方式,也可以对于每个第一基矩阵中的元素pi,j,根据pi,j、扩展因子zf和自由因子rf计算pf,i,j,根据pf,i,j对信息序列进行编码得到第一编码序列。需要说明的是本发明并不限于此。由于第一编码序列的校验矩阵具有较低的错误平层,因此可以提高数据传输的可靠性。In the foregoing embodiment, the step of generating the second basis matrix is only an optional implementation manner, and for each element p i,j in the first basis matrix, according to p i,j , the expansion factor z f and the free The factor r f calculates p f,i,j , and encodes the information sequence according to p f,i,j to obtain the first coding sequence. In addition, this invention is not limited to this. Since the parity check matrix of the first coding sequence has a lower error level, the reliability of data transmission can be improved.

参见图4,为本申请信息处理方法一个实施例的流程示意图。无线通信设备可以使用前述实施例所生成的第二基矩阵进行译码。Referring to FIG. 4 , it is a schematic flowchart of an embodiment of the information processing method of the present application. The wireless communication device may use the second basis matrix generated by the foregoing embodiments for decoding.

如果所述无线通信设备为接收端设备,那么所述无线通信设备在生成所述第二基矩阵后,可以使用第二基矩阵对接收到的编码序列进行译码。因此,当所述无线通信设备为接收端设备时,如图4所示,在步骤103之后还可以包括:If the wireless communication device is a receiving end device, after generating the second basis matrix, the wireless communication device may use the second basis matrix to decode the received coded sequence. Therefore, when the wireless communication device is a receiver device, as shown in FIG. 4 , after step 103, it may further include:

步骤106,获取第二编码序列。Step 106, obtaining a second encoding sequence.

无线通信设备可以接收其他设备发送无线信号,然后对所述无线信号进行解调等处理生成第二编码序列。第二编码序列的具体获取方式在此就不再赘述。The wireless communication device may receive wireless signals sent by other devices, and then perform processes such as demodulation on the wireless signals to generate the second coding sequence. The specific acquisition method of the second coding sequence is not repeated here.

步骤107,使用所述第二基矩阵对所述第二编码序列进行译码。Step 107: Use the second base matrix to decode the second encoded sequence.

在所述第二编码序列生成后,无线通信设备可以使用所述第二基矩阵对所述第二编码序列进行译码。无线通信设备对第二编码序列进行译码的具体方式在此也不再赘述。After the second coding sequence is generated, the wireless communication device may decode the second coding sequence using the second basis matrix. The specific manner in which the wireless communication device decodes the second coding sequence will not be repeated here.

在上述各方法实施例中,无线通信设备获取LDPC码的第一基矩阵,根据该第一基矩阵、扩展因子zf和自由因子rf对第二编码序列进行译码得到信息序列。其中,第二编码序列的校验矩阵对应的基矩阵为第二基矩阵,则第二基矩阵中至少存在一个第i行第j列的矩阵元素pf,i,j是根据所述第一基矩阵中第i行第j列的矩阵元素pi,j,所述扩展因子zf和自由因子rf生成的,其中,pf,i,j<zf,i,j的取值均为整数,0≤i<m,0≤j<n。In the above method embodiments, the wireless communication device obtains the first basis matrix of the LDPC code, and decodes the second coded sequence according to the first basis matrix, the spreading factor z f and the free factor r f to obtain the information sequence. Wherein, the base matrix corresponding to the check matrix of the second coding sequence is the second base matrix, then there is at least one matrix element p f,i,j in the i-th row and the j-th column in the second base matrix. The matrix element p i,j of the i-th row and the j-th column in the base matrix is generated by the expansion factor z f and the free factor r f , where p f,i,j <z f , and the values of i and j are both is an integer, 0≤i<m, 0≤j<n.

在一种可能的实现方式中,pf,i,j满足以下公式:In one possible implementation, p f,i,j satisfy the following formula:

Figure BDA0001219790000000173
其中,g1(pi,j,rf)表示以pi,j,rf为参数的函数,取值为整数,g2(zf)表示以zf为参数的函数,且g2(zf)≤zf,取值为整数。
Figure BDA0001219790000000173
Among them, g 1 (p i,j ,r f ) represents a function with p i,j ,r f as parameters, which is an integer, g 2 (z f ) represents a function with z f as a parameter, and g 2 (z f )≤z f , which is an integer.

其中,g1(pi,j,rf)可以是满足以下公式:Among them, g 1 (pi ,j ,r f ) can satisfy the following formula:

Figure BDA0001219790000000181
或者
Figure BDA0001219790000000182
其中c为常数,且不等于0;或者,
Figure BDA0001219790000000183
或者
Figure BDA0001219790000000184
其中,c为常数,且不等于0;或者,
Figure BDA0001219790000000181
or
Figure BDA0001219790000000182
where c is a constant and not equal to 0; or,
Figure BDA0001219790000000183
or
Figure BDA0001219790000000184
where c is a constant and not equal to 0; or,

g1(pi,j,rf)=pi,j+(c-pi,j)rf,其中,c为常数,且不等于0;或者,g 1 (pi ,j ,r f )=pi ,j +(cp i,j )r f , where c is a constant and not equal to 0; or,

Figure BDA0001219790000000185
或者
Figure BDA0001219790000000186
或者,
Figure BDA0001219790000000185
or
Figure BDA0001219790000000186
or,

Figure BDA0001219790000000187
或者
Figure BDA0001219790000000188
或者,
Figure BDA0001219790000000187
or
Figure BDA0001219790000000188
or,

Figure BDA0001219790000000189
或者
Figure BDA00012197900000001810
Figure BDA0001219790000000189
or
Figure BDA00012197900000001810

g2(zf)可以满足以下公式:g2(zf)=zf或者,

Figure BDA00012197900000001811
g 2 (z f ) may satisfy the following formula: g 2 (z f )=z f or,
Figure BDA00012197900000001811

在上述公式中,c为常数,且不等于0,为了简化计算,c通常可以为2的整数次幂,或者取值为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In the above formula, c is a constant and is not equal to 0. In order to simplify the calculation, c can usually be an integer power of 2, or a value of z max , where z max is the expansion factor z to be supported by the first basis matrix the maximum value of f .

可以通过多种形式得到满足上述公式的函数,例如,The function satisfying the above formula can be obtained in various forms, for example,

Figure BDA00012197900000001812
其中,c为预设常数;或者,
Figure BDA00012197900000001812
where c is a preset constant; or,

Figure BDA00012197900000001813
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA00012197900000001813
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA00012197900000001814
或者,
Figure BDA00012197900000001814
or,

Figure BDA00012197900000001815
Figure BDA00012197900000001815

pf,i,j通常取值为整数,可以对上述函数中可能产生小数的部分进行向上取整或者向下取整,例如:p f, i, j are usually integers, and the parts that may generate decimals in the above functions can be rounded up or down, for example:

Figure BDA00012197900000001816
可以通过取整得到
Figure BDA00012197900000001816
can be obtained by rounding

Figure BDA0001219790000000191
或者
Figure BDA0001219790000000192
也可以通过取整得到
Figure BDA0001219790000000191
or
Figure BDA0001219790000000192
can also be obtained by rounding

Figure BDA0001219790000000193
或者
Figure BDA0001219790000000194
Figure BDA0001219790000000193
or
Figure BDA0001219790000000194

Figure BDA0001219790000000195
可以通过取整得到
Figure BDA0001219790000000195
can be obtained by rounding

Figure BDA0001219790000000196
或者
Figure BDA0001219790000000197
Figure BDA0001219790000000196
or
Figure BDA0001219790000000197

Figure BDA0001219790000000198
可以通过取整得到
Figure BDA0001219790000000198
can be obtained by rounding

Figure BDA0001219790000000199
或者
Figure BDA00012197900000001910
也可以通过取整得到
Figure BDA0001219790000000199
or
Figure BDA00012197900000001910
can also be obtained by rounding

Figure BDA00012197900000001911
或者
Figure BDA00012197900000001912
Figure BDA00012197900000001911
or
Figure BDA00012197900000001912

其中,

Figure BDA00012197900000001913
表示对数值向上取整,
Figure BDA00012197900000001914
表示对数值向下取整。in,
Figure BDA00012197900000001913
Indicates that the logarithmic value is rounded up,
Figure BDA00012197900000001914
Indicates that the logarithmic value is rounded down.

在上述公式中,c为常数,且不等于0,为了简化计算,c通常可以为2的整数次幂,2n,n为正整数,或者取值为zmax。例如,对于

Figure BDA00012197900000001915
或者
Figure BDA00012197900000001916
c可以是取值为2n的常数,例如4或者8,或者取值为zmax。In the above formula, c is a constant and is not equal to 0. In order to simplify the calculation, c can usually be an integer power of 2, 2 n , where n is a positive integer, or a value of z max . For example, for
Figure BDA00012197900000001915
or
Figure BDA00012197900000001916
c may be a constant value of 2 n , such as 4 or 8, or z max .

对于

Figure BDA00012197900000001917
则for
Figure BDA00012197900000001917
but

Figure BDA00012197900000001918
或者,
Figure BDA00012197900000001918
or,

Figure BDA0001219790000000201
Figure BDA0001219790000000201

又例如:Another example:

Figure BDA0001219790000000202
或者
Figure BDA0001219790000000203
Figure BDA0001219790000000202
or
Figure BDA0001219790000000203

需要说明的是上述均只是举例,并不限于此。It should be noted that the above are only examples, and are not limited thereto.

在又一种可能的实现方式中,pf,i,j满足以下公式:In yet another possible implementation, p f,i,j satisfy the following formula:

Figure BDA0001219790000000204
其中,g3(pi,j,rf)表示以pi,j,rf为参数的函数,取值为整数,g4(zf)表示以zf为参数的函数,且0<g4(zf)≤1。
Figure BDA0001219790000000204
Among them, g 3 (p i,j ,r f ) represents a function with p i,j ,r f as parameters, which is an integer, g 4 (z f ) represents a function with z f as a parameter, and 0< g 4 (z f )≤1.

其中,g3(pi,j,rf)满足以下公式:where g 3 (pi ,j ,r f ) satisfies the following formula:

g3(pi,j,rf)=(pi,j+rf)modc,其中,c为常数,且不等于0;或者,g 3 (pi ,j ,r f )=(pi ,j +r f )modc, where c is a constant and not equal to 0; or,

g3(pi,j,rf)=(pi,j+rf)modc,其中,c为常数,且不等于0。g 3 (pi ,j ,r f )=(pi ,j +r f )modc, where c is a constant and not equal to zero.

g4(zf)满足以下公式:g 4 (z f ) satisfies the following formula:

g4(zf)=zf/c;或者,

Figure BDA0001219790000000205
其中,c为常数,且不等于0。g 4 (z f )=z f /c; or,
Figure BDA0001219790000000205
where c is a constant and not equal to 0.

在上述公式中,c为常数,且不等于0,为了简化计算,c通常可以为2的整数次幂,2n,n为正整数,或者取值为zmax,zmax为所述第一基矩阵所要支持的扩展因子zf的最大值。In the above formula, c is a constant and not equal to 0. In order to simplify the calculation, c can usually be an integer power of 2, 2 n , where n is a positive integer, or a value of z max , where z max is the first The maximum value of the expansion factor z f to be supported by the basis matrix.

例如:E.g:

Figure BDA0001219790000000206
Figure BDA0001219790000000206

又例如:Another example:

Figure BDA0001219790000000207
Figure BDA0001219790000000207

需要说明的是上述均只是举例,并不限于此。也可以参考前述方法实施例中对pf,i,j的描述。It should be noted that the above are only examples, and are not limited thereto. Reference may also be made to the description of p f,i,j in the foregoing method embodiments.

可选地,无线通信设备还可以获取扩展因子zf和自由因子rfOptionally, the wireless communication device may also acquire the expansion factor z f and the free factor r f .

前述实施例中,生成第二基矩阵步骤仅为一种可选的实现方式,也可以对于每个第一基矩阵中的元素pi,j,根据pi,j、扩展因子zf和自由因子rf计算pf,i,j,根据pf,i,j对信息序列进行译码。需要说明的是本发明并不限于此。In the foregoing embodiment, the step of generating the second basis matrix is only an optional implementation manner, and for each element p i,j in the first basis matrix, according to p i,j , the expansion factor z f and the free The factor r f calculates p f,i,j , and the information sequence is decoded according to p f,i,j . In addition, this invention is not limited to this.

由于第二编码序列的校验矩阵具有较低的错误平层,因此可以提高数据传输的可靠性。Since the parity check matrix of the second coding sequence has a lower error level, the reliability of data transmission can be improved.

参见图5,为本申请无线通信设备一个实施例的结构示意图。如图5所示,该无线通信设备包括:获取单元501,处理单元502,以及发送单元503。Referring to FIG. 5 , it is a schematic structural diagram of an embodiment of a wireless communication device of the present application. As shown in FIG. 5 , the wireless communication device includes: an obtaining unit 501 , a processing unit 502 , and a sending unit 503 .

其中,所述获取单元501,获取LDPC码的第一基矩阵,以及所述第一基矩阵的扩展因子zf,其中,m为所述第一基矩阵的行数,n为所述第一基矩阵的列数,zf的取值为正整数。处理单元502,用于生成所述LDPC码的第二基矩阵,其中,m为所述第二基矩阵的行数,n为所述第二基矩阵的列数,所述第一基矩阵中等于-1的矩阵元素与所述第二基矩阵中等于-1的矩阵元素位置相同,所述第二基矩阵至少存在一个第i行第j列的矩阵元素pf,i,j是根据所述第一基矩阵中第i行第j列的矩阵元素pi,j,所述zf和自由因子rf生成的,其中,pf,i,j<zf,rf,m,n,i,j的取值均为整数,0≤i<m,0≤j<n。Wherein, the obtaining unit 501 obtains the first base matrix of the LDPC code and the spreading factor z f of the first base matrix, where m is the number of rows of the first base matrix, and n is the first base matrix The number of columns of the base matrix, z f is a positive integer. A processing unit 502, configured to generate a second base matrix of the LDPC code, wherein m is the number of rows of the second base matrix, n is the number of columns of the second base matrix, and in the first base matrix The position of the matrix element equal to -1 is the same as that of the matrix element equal to -1 in the second base matrix, and the second base matrix has at least one matrix element p f,i,j in the i-th row and the j-th column. The matrix element p i,j of the i-th row and the j-th column of the first basis matrix is generated by the z f and the free factor r f , where p f,i,j <z f , r f , m, n , i, j are all integers, 0≤i<m, 0≤j<n.

可选的,所述第二基矩阵的环长特性优于或者等于所述第一基矩阵。Optionally, the ring length characteristic of the second basis matrix is better than or equal to that of the first basis matrix.

可选的,

Figure BDA0001219790000000211
其中,c为预设常数;或者,optional,
Figure BDA0001219790000000211
where c is a preset constant; or,

Figure BDA0001219790000000212
其中zmax为初始基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA0001219790000000213
或者,
Figure BDA0001219790000000212
where z max is the maximum value of the expansion factor z f to be supported by the initial basis matrix; or,
Figure BDA0001219790000000213
or,

Figure BDA0001219790000000214
Figure BDA0001219790000000214

pf,i,j通常取值为整数,可以对上述函数中可能产生小数的部分进行向上取整或者向下取整,例如:p f, i, j are usually integers, and the parts that may generate decimals in the above functions can be rounded up or down, for example:

Figure BDA0001219790000000215
可以通过取整得到
Figure BDA0001219790000000215
can be obtained by rounding

Figure BDA0001219790000000216
或者
Figure BDA0001219790000000217
也可以通过取整得到
Figure BDA0001219790000000216
or
Figure BDA0001219790000000217
can also be obtained by rounding

Figure BDA0001219790000000221
或者
Figure BDA0001219790000000222
Figure BDA0001219790000000221
or
Figure BDA0001219790000000222

Figure BDA0001219790000000223
可以通过取整得到
Figure BDA0001219790000000223
can be obtained by rounding

Figure BDA0001219790000000224
或者
Figure BDA0001219790000000225
Figure BDA0001219790000000224
or
Figure BDA0001219790000000225

Figure BDA0001219790000000226
可以通过取整得到
Figure BDA0001219790000000226
can be obtained by rounding

Figure BDA0001219790000000227
或者
Figure BDA0001219790000000228
也可以通过取整得到
Figure BDA0001219790000000227
or
Figure BDA0001219790000000228
can also be obtained by rounding

Figure BDA0001219790000000229
或者
Figure BDA00012197900000002210
Figure BDA0001219790000000229
or
Figure BDA00012197900000002210

其中,

Figure BDA00012197900000002211
表示对数值向上取整,
Figure BDA00012197900000002212
表示对数值向下取整。in,
Figure BDA00012197900000002211
Indicates that the logarithmic value is rounded up,
Figure BDA00012197900000002212
Indicates that the logarithmic value is rounded down.

需要说明的是上述均只是举例,并不限于此。It should be noted that the above are only examples, and are not limited thereto.

pf,i,j还可以参考前述方法实施例中的描述,此处不再赘述。For p f, i, j, reference may also be made to the descriptions in the foregoing method embodiments, which are not repeated here.

可选的,所述获取单元501,还可以用于获取与所述扩展因子zf相对应的自由因子rf。其中,所述自由因子rf可以由所述获取单元501在获取所述LDPC码的第二基矩阵之前获取。Optionally, the obtaining unit 501 may be further configured to obtain a free factor r f corresponding to the expansion factor z f . Wherein, the free factor r f may be obtained by the obtaining unit 501 before obtaining the second basis matrix of the LDPC code.

可选的,所述处理单元502,还用于使用所述第二基矩阵对待编码序列进行编码,从而得到第一编码序列;所述发送单元503,还用发送所述第一编码序列。Optionally, the processing unit 502 is further configured to use the second base matrix to encode the sequence to be encoded, so as to obtain a first encoded sequence; the sending unit 503 is further configured to send the first encoded sequence.

可选的,所述获取单元501,还用于获取第二编码序列;所述处理单元502,还用于使用所述第二基矩阵对所述第二编码序列进行译码。Optionally, the obtaining unit 501 is further configured to obtain a second coding sequence; the processing unit 502 is further configured to decode the second coding sequence by using the second base matrix.

本申请无线通信设备另一实施例中,包括获取单元和处理单元用于实现前述各方法实施例中相应步骤,其中,获取单元,用于获取低密度奇偶校验LDPC码的第一基矩阵,其中,m为所述第一基矩阵的行数,n为所述第一基矩阵的列数,m,n取值均为正整数;处理单元,用于根据所述第一基矩阵、扩展因子zf和自由因子rf对信息序列进行编码得到第一编码序列,其中,zf的取值为正整数,rf的取值为大于或者等于0的整数。In another embodiment of the wireless communication device of the present application, an acquisition unit and a processing unit are included for implementing the corresponding steps in the foregoing method embodiments, wherein the acquisition unit is used for acquiring the first basis matrix of the low density parity check LDPC code, Wherein, m is the number of rows of the first base matrix, n is the number of columns of the first base matrix, m, n are both positive integers; The factor z f and the free factor r f encode the information sequence to obtain the first coding sequence, wherein the value of z f is a positive integer, and the value of r f is an integer greater than or equal to 0.

可选地,获取单元还用于获取扩展因子zf和自由因子rfOptionally, the obtaining unit is also used to obtain the expansion factor z f and the free factor r f .

其中,一种可能的实现方式中,处理单元具体用于对于第一基矩阵中每一第i行第j列的矩阵元素pi,j,根据pi,j、扩展因子zf和自由因子rf计算pf,i,j,根据pf,i,j对信息序列进行编码得到第一编码序列,其中,pf,i,j<zf,i,j的取值均为整数,0≤i<m,0≤j<n。例如,Wherein, in a possible implementation manner, the processing unit is specifically configured to, for each matrix element p i,j of the i-th row and the j-th column in the first basis matrix, according to p i,j , the expansion factor z f and the free factor r f calculates p f,i,j , and encodes the information sequence according to p f,i,j to obtain the first coding sequence, where p f,i,j <z f , the values of i,j are both integers, 0≤i<m, 0≤j<n. E.g,

Figure BDA0001219790000000231
其中,c为预设常数;或者,
Figure BDA0001219790000000231
where c is a preset constant; or,

Figure BDA0001219790000000232
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA0001219790000000232
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA0001219790000000233
或者,
Figure BDA0001219790000000233
or,

Figure BDA0001219790000000234
Figure BDA0001219790000000234

pf,i,j通常取值为整数,可以对上述函数中可能产生小数的部分进行向上取整或者向下取整,例如:p f, i, j are usually integers, and the parts that may generate decimals in the above functions can be rounded up or down, for example:

Figure BDA0001219790000000235
可以通过取整得到
Figure BDA0001219790000000235
can be obtained by rounding

Figure BDA0001219790000000236
或者
Figure BDA0001219790000000237
也可以通过取整得到
Figure BDA0001219790000000236
or
Figure BDA0001219790000000237
can also be obtained by rounding

Figure BDA0001219790000000238
或者
Figure BDA0001219790000000239
Figure BDA0001219790000000238
or
Figure BDA0001219790000000239

Figure BDA00012197900000002310
可以通过取整得到
Figure BDA00012197900000002310
can be obtained by rounding

Figure BDA0001219790000000241
或者
Figure BDA0001219790000000242
Figure BDA0001219790000000241
or
Figure BDA0001219790000000242

Figure BDA0001219790000000243
可以通过取整得到
Figure BDA0001219790000000243
can be obtained by rounding

Figure BDA0001219790000000244
或者
Figure BDA0001219790000000245
也可以通过取整得到
Figure BDA0001219790000000244
or
Figure BDA0001219790000000245
can also be obtained by rounding

Figure BDA0001219790000000246
或者
Figure BDA0001219790000000247
Figure BDA0001219790000000246
or
Figure BDA0001219790000000247

其中,

Figure BDA0001219790000000248
表示对数值向上取整,
Figure BDA0001219790000000249
表示对数值向下取整。in,
Figure BDA0001219790000000248
Indicates that the logarithmic value is rounded up,
Figure BDA0001219790000000249
Indicates that the logarithmic value is rounded down.

需要说明的是上述均只是举例,并不限于此。It should be noted that the above are only examples, and are not limited thereto.

pf,i,j还可以参考前述方法实施例中的描述,此处不再赘述。For p f, i, j, reference may also be made to the descriptions in the foregoing method embodiments, which are not repeated here.

在上述实施例中,获取单元501和处理单元502也可以作为一个装置用于实现前述实施例中的信息处理方法,则无线通信设备包括该装置。In the above embodiment, the acquiring unit 501 and the processing unit 502 may also be used as a device to implement the information processing method in the previous embodiment, and the wireless communication device includes the device.

可选地,无线通信设备还包括发送单元,用于发送第一编码序列。Optionally, the wireless communication device further includes a sending unit for sending the first coding sequence.

本申请无线通信设备另一实施例中,包括获取单元和处理单元用于实现前述各方法实施例中相应步骤,其中,获取单元,用于获取低密度奇偶校验LDPC码的第一基矩阵,其中,m为所述第一基矩阵的行数,n为所述第一基矩阵的列数,m,n取值均为正整数;处理单元,用于根据所述第一基矩阵、扩展因子zf和自由因子rf对第二编码序列进行译码得到信息序列,其中,zf的取值为正整数,rf的取值为大于或者等于0的整数。In another embodiment of the wireless communication device of the present application, an acquisition unit and a processing unit are included for implementing the corresponding steps in the foregoing method embodiments, wherein the acquisition unit is used for acquiring the first basis matrix of the low density parity check LDPC code, Wherein, m is the number of rows of the first base matrix, n is the number of columns of the first base matrix, m, n are both positive integers; The second coded sequence is decoded by the factor z f and the free factor r f to obtain the information sequence, wherein the value of z f is a positive integer, and the value of r f is an integer greater than or equal to 0.

可选地,获取单元还用于获取扩展因子zf和自由因子rfOptionally, the obtaining unit is also used to obtain the expansion factor z f and the free factor r f .

其中,一种可能的实现方式中,处理单元具体用于对于第一基矩阵中每一第i行第j列的矩阵元素pi,j,根据pi,j、扩展因子zf和自由因子rf计算pf,i,j,根据pf,i,j对所述第二编码序列进行译码得到信息序列,其中,pf,i,j<zf,i,j的取值均为整数,0≤i<m,0≤j<n。例如,Wherein, in a possible implementation manner, the processing unit is specifically configured to, for each matrix element p i,j of the i-th row and the j-th column in the first basis matrix, according to p i,j , the expansion factor z f and the free factor r f calculates p f,i,j , and decodes the second coded sequence according to p f,i,j to obtain an information sequence, where p f,i,j <z f , the values of i,j are both is an integer, 0≤i<m, 0≤j<n. E.g,

Figure BDA00012197900000002410
其中,c为预设常数;或者,
Figure BDA00012197900000002410
where c is a preset constant; or,

Figure BDA00012197900000002411
其中zmax为所述第一基矩阵所要支持的扩展因子zf的最大值;或者,
Figure BDA00012197900000002411
where z max is the maximum value of the expansion factor z f to be supported by the first base matrix; or,

Figure BDA0001219790000000251
或者,
Figure BDA0001219790000000251
or,

Figure BDA0001219790000000252
Figure BDA0001219790000000252

pf,i,j通常取值为整数,可以对上述函数中可能产生小数的部分进行向上取整或者向下取整,例如:p f, i, j are usually integers, and the parts that may generate decimals in the above functions can be rounded up or down, for example:

Figure BDA0001219790000000253
可以通过取整得到
Figure BDA0001219790000000253
can be obtained by rounding

Figure BDA0001219790000000254
或者
Figure BDA0001219790000000255
也可以通过取整得到
Figure BDA0001219790000000254
or
Figure BDA0001219790000000255
can also be obtained by rounding

Figure BDA0001219790000000256
或者
Figure BDA0001219790000000257
Figure BDA0001219790000000256
or
Figure BDA0001219790000000257

Figure BDA0001219790000000258
可以通过取整得到
Figure BDA0001219790000000258
can be obtained by rounding

Figure BDA0001219790000000259
或者
Figure BDA00012197900000002510
Figure BDA0001219790000000259
or
Figure BDA00012197900000002510

Figure BDA00012197900000002511
可以通过取整得到
Figure BDA00012197900000002511
can be obtained by rounding

Figure BDA00012197900000002512
或者
Figure BDA00012197900000002513
也可以通过取整得到
Figure BDA00012197900000002512
or
Figure BDA00012197900000002513
can also be obtained by rounding

Figure BDA0001219790000000261
或者
Figure BDA0001219790000000262
Figure BDA0001219790000000261
or
Figure BDA0001219790000000262

其中,

Figure BDA0001219790000000263
表示对数值向上取整,
Figure BDA0001219790000000264
表示对数值向下取整。in,
Figure BDA0001219790000000263
Indicates that the logarithmic value is rounded up,
Figure BDA0001219790000000264
Indicates that the logarithmic value is rounded down.

需要说明的是上述均只是举例,并不限于此。It should be noted that the above are only examples, and are not limited thereto.

pf,i,j还可以参考前述方法实施例中的描述,此处不再赘述。For p f, i, j, reference may also be made to the descriptions in the foregoing method embodiments, which are not repeated here.

可选地,无线通信设备还包括接收单元,用于接收第二编码序列。Optionally, the wireless communication device further includes a receiving unit for receiving the second encoding sequence.

参见图6,为本申请参见图6,为本申请无线通信设备另一个实施例的结构示意图。Referring to FIG. 6 , which is a schematic structural diagram of another embodiment of a wireless communication device of the present application, referring to FIG. 6 .

参见图6为本申请无线通信设备一个实施例的结构示意图。所述无线通信设备可以是前述任意实施例中的无线通信设备,可以用于执行图1所示的第二基矩阵生成方法,或者也可以用于执行图2所示的编码方法,或者也可以用于执行图3所示的译码方法,或者也可以用于执行前述数据传输方法。Referring to FIG. 6, it is a schematic structural diagram of an embodiment of the wireless communication device of the present application. The wireless communication device may be the wireless communication device in any of the foregoing embodiments, and may be used to execute the second basis matrix generation method shown in FIG. 1 , or may also be used to execute the encoding method shown in FIG. 2 , or It is used to execute the decoding method shown in FIG. 3 , or it can also be used to execute the aforementioned data transmission method.

如图6所示,所述无线通信设备可以包括处理器601、存储器602及收发器603,所述收发器603可以包括接收机、发射机与天线等部件。所述无线通信设备还可以包括更多或更少的部件,或者组合某些部件,或者不同的部件布置,本申请对此不进行限定。As shown in FIG. 6 , the wireless communication device may include a processor 601, a memory 602, and a transceiver 603, and the transceiver 603 may include components such as a receiver, a transmitter, and an antenna. The wireless communication device may also include more or less components, or combine certain components, or arrange different components, which is not limited in this application.

处理器601为无线通信设备的控制中心,利用各种接口和线路连接整个无线通信设备的各个部分,通过运行或执行存储在存储器602内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行无线通信设备的各种功能和/或处理数据。所述处理器601可以由集成电路(integrated circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器可以仅包括中央处理器(central processing unit,简称CPU),也可以是GPU、数字信号处理器(digitalsignal processor,简称DSP)、及收发器603中的控制芯片(例如基带芯片)的组合。在本申请实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 601 is the control center of the wireless communication device, uses various interfaces and lines to connect various parts of the entire wireless communication device, runs or executes the software programs and/or modules stored in the memory 602, and calls the stored in the memory. data to perform various functions of the wireless communication device and/or process data. The processor 601 may be composed of an integrated circuit (integrated circuit, IC for short), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs connected with the same function or different functions. For example, the processor may only include a central processing unit (CPU), a GPU, a digital signal processor (DSP), and a control chip (eg, a baseband chip) in the transceiver 603 . )The combination. In the embodiments of the present application, the CPU may be a single computing core, or may include multiple computing cores.

所述收发器603用于建立通信信道,使无线通信设备通过所述通信信道以连接至接收设备,从而实现无线通信设备之间的数据传输。所述收发器603可以包括无线局域网(wireless local area network,简称WLAN)模块、蓝牙模块、基带(base band)模块等通信模块,以及所述通信模块对应的射频(radio frequency,简称RF)电路,用于进行无线局域网络通信、蓝牙通信、红外线通信及/或蜂窝式通信系统通信,例如宽带码分多重接入(wideband code division multiple access,简称WCDMA)及/或高速下行封包存取(highspeed downlink packet access,简称HSDPA)。所述收发器603用于控制无线通信设备中的各组件的通信,并且可以支持直接内存存取(direct memory access)。The transceiver 603 is used for establishing a communication channel, so that the wireless communication device is connected to the receiving device through the communication channel, so as to realize data transmission between the wireless communication devices. The transceiver 603 may include communication modules such as a wireless local area network (WLAN for short) module, a Bluetooth module, and a base band (base band) module, and a radio frequency (radio frequency, RF for short) circuit corresponding to the communication module, For wireless local area network communication, Bluetooth communication, infrared communication and/or cellular communication system communication, such as wideband code division multiple access (WCDMA for short) and/or high speed downlink packet access (highspeed downlink) packet access, referred to as HSDPA). The transceiver 603 is used to control the communication of various components in the wireless communication device, and may support direct memory access.

在本申请的不同实施方式中,所述收发器603中的各种收发器603一般以集成电路芯片(integrated circuit chip)的形式出现,并可进行选择性组合,而不必包括所有收发器603及对应的天线组。例如,所述收发器603可以仅包括基带芯片、射频芯片以及相应的天线以在一个蜂窝通信系统中提供通信功能。经由所述收发器603建立的无线通信连接,例如无线局域网接入或WCDMA接入,所述无线通信设备可以连接至蜂窝网(cellular network)或因特网(internet)。在本申请的一些可选实施方式中,所述收发器603中的通信模块,例如基带模块可以集成到处理器中,典型的如高通(Qualcomm)公司提供的APQ+MDM系列平台。射频电路用于信息收发或通话过程中接收和发送信号。例如,将网络设备的下行信息接收后,给处理器处理;另外,将设计上行的数据发送给网络设备。通常,所述射频电路包括用于执行这些功能的公知电路,包括但不限于天线系统、射频收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编解码(codec)芯片组、用户身份模块(SIM)卡、存储器等等。此外,射频电路还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(global system of mobilecommunication,简称GSM)、通用分组无线服务(general packet radio service,简称gprs)、码分多址(code division multiple access,简称CDMA)、宽带码分多址(widebandcode division multiple access,简称WCDMA)、高速上行行链路分组接入技术(highspeed uplink packet access,简称HSUPA)、长期演进(long term evolution,简称LTE)、电子邮件、短消息服务(short messaging service,简称SMS)等。In different embodiments of the present application, various transceivers 603 in the transceivers 603 generally appear in the form of integrated circuit chips, and can be selectively combined, rather than including all transceivers 603 and the corresponding antenna group. For example, the transceiver 603 may only include a baseband chip, a radio frequency chip, and a corresponding antenna to provide communication functions in a cellular communication system. Via the wireless communication connection established by the transceiver 603, such as wireless local area network access or WCDMA access, the wireless communication device can be connected to a cellular network or the Internet. In some optional implementation manners of the present application, the communication module in the transceiver 603, such as a baseband module, may be integrated into a processor, typically such as the APQ+MDM series platform provided by Qualcomm (Qualcomm). The radio frequency circuit is used to receive and transmit signals during information transmission and reception or during a call. For example, after receiving the downlink information of the network device, it is processed by the processor; in addition, the designed uplink data is sent to the network device. Typically, the radio frequency circuits include well-known circuits for performing these functions, including but not limited to antenna systems, radio frequency transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, codecs (codec) Chipset, Subscriber Identity Module (SIM) card, memory, etc. In addition, radio frequency circuits can also communicate with networks and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM for short), general packet radio service (gprs for short), code division multiple access (CDMA). code division multiple access (CDMA), wideband code division multiple access (WCDMA), high-speed uplink packet access (HSUPA), long term evolution (long term evolution, LTE for short), email, short messaging service (short messaging service, SMS for short), etc.

在本申请实施例中,无线通信设备可以用于实现前述实施例中信道状态信息参考信号接收方法的各个方法步骤。所述获取单元501所要实现的功能可以由所述无线通信设备的收发器603实现,或者由处理器601控制收发器603实现;所述发送单元503所要实现的功能也可以由所述无线通信设备的收发器603实现,或者也可以由处理器601控制所述收发器603实现;所述处理单元502所要实现的功能则可以由所述处理器601实现。In this embodiment of the present application, a wireless communication device may be used to implement each method step of the method for receiving a channel state information reference signal in the foregoing embodiments. The function to be implemented by the acquisition unit 501 can be implemented by the transceiver 603 of the wireless communication device, or the processor 601 controls the transceiver 603 to implement; the function to be implemented by the sending unit 503 can also be implemented by the wireless communication device. The transceiver 603 can be implemented by the processor 601 , or the transceiver 603 can be controlled by the processor 601 to be implemented; the functions to be implemented by the processing unit 502 can be implemented by the processor 601 .

具体实现中,本申请还提供计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本申请提供的LDPC码的基矩阵生成方法、编码方法或译码方法的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称ROM)或随机存储记忆体(英文:random access memory,简称RAM)等。In a specific implementation, the present application also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include each implementation of the method for generating the basis matrix, the encoding method or the decoding method of the LDPC code provided by the present application some or all of the steps in the example. The storage medium may be a magnetic disk, an optical disc, a read-only memory (English: read-only memory, ROM for short) or a random access memory (English: random access memory, RAM for short).

本领域的技术人员可以清楚地了解到本申请实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions in the embodiments of the present application can be embodied in the form of software products in essence or in the parts that make contributions to the prior art, and the computer software products can be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present application.

本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于网络设备及无线通信设备实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, for the network device and wireless communication device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for relevant details, refer to the descriptions in the method embodiments.

以上所述的本申请实施方式并不构成对本申请保护范围的限定。The above-described embodiments of the present application do not limit the protection scope of the present application.

Claims (22)

1. A method of information processing, comprising:
acquiring a first base matrix of a low-density parity check LDPC code, wherein m is the row number of the first base matrix, n is the column number of the first base matrix, and the values of m and n are positive integers;
according to the first base matrix and the spreading factor zfAnd free factor rfCoding the information sequence to obtain a first coding sequence, wherein zfIs a positive integer, rfIs an integer greater than or equal to 0;
wherein the first base matrix is a function of a spreading factor zfAnd free factor rfFor information sequencesCoding to obtain a first coding sequence, comprising:
for each ith row and jth column of matrix elements p in the first base matrixi,jAccording to pi,jThe spreading factor zfAnd free factor rfCalculating pf,i,jWherein p isf,i,j<zfThe values of i and j are integers, i is more than or equal to 0 and less than m, and j is more than or equal to 0 and less than n;
according to pf,i,jCoding the information sequence to obtain the first coding sequence;
wherein,
pf,i,jthe following formula is satisfied:
Figure FDA0002647769300000011
wherein, g1(pi,j,rf) Is represented by pi,j,rfAs a function of the parameter, taking the value as an integer, g2(zf) Is represented by zfIs a function of a parameter, and g2(zf)≤zfThe values are integers.
2. The method of claim 1, wherein g is1(pi,j,rf) The following formula is satisfied:
Figure FDA0002647769300000012
or
Figure FDA0002647769300000013
Wherein c is a constant and is not equal to 0;
Figure FDA0002647769300000014
or
Figure FDA0002647769300000015
Wherein c is a constant and is not equal to 0; or,
g1(pi,j,rf)=pi,j+(c-pi,j)rfwherein c is a constant and is not equal to 0; or,
Figure FDA0002647769300000016
or
Figure FDA0002647769300000017
Or,
Figure FDA0002647769300000018
or
Figure FDA0002647769300000019
3. The method of claim 1, wherein g is2(zf) The following formula is satisfied:
g2(zf)=zf(ii) a Or,
Figure FDA00026477693000000110
4. the method of claim 2, wherein c ═ z is determinedmax,zmaxSpreading factor z to be supported for the first base matrixfIs measured.
5. The method according to any one of claims 1 to 4, further comprising:
and transmitting the first coding sequence.
6. A method of information processing, comprising:
acquiring a first base matrix of a low-density parity check LDPC code, wherein m is the row number of the first base matrix, n is the column number of the first base matrix, and the values of m and n are positive integers;
according to the first base matrix and the spreading factor zfAnd free factor rfCoding the information sequence to obtain a first coding sequence, wherein zfIs a positive integer, rfIs an integer greater than or equal to 0;
wherein the first base matrix is a function of a spreading factor zfAnd free factor rfEncoding an information sequence to obtain a first encoding sequence, comprising:
for each ith row and jth column of matrix elements p in the first base matrixi,jAccording to pi,jThe spreading factor zfAnd free factor rfCalculating pf,i,jWherein p isf,i,j<zfThe values of i and j are integers, i is more than or equal to 0 and less than m, and j is more than or equal to 0 and less than n;
according to pf,i,jCoding the information sequence to obtain the first coding sequence;
wherein,
pf,i,jthe following formula is satisfied:
Figure FDA0002647769300000021
wherein, g3(pi,j,rf) Is represented by pi,j,rfAs a function of the parameter, taking the value as an integer, g4(zf) Is represented by zfIs a function of a parameter, and 0<g4(zf)≤1。
7. The method of claim 6, wherein g is3(pi,j,rf) The following formula is satisfied:
g3(pi,j,rf)=(pi,j+rf) modc, where c is a constant and is not equal to 0; or,
g3(pi,j,rf)=(pi,j·rf) modc, where c is a constant and is not equal to 0.
8. The method of claim 6, wherein g is4(zf) The following formula is satisfied:
g4(zf)=zfc, or alternatively,
Figure FDA0002647769300000022
wherein c is a constant and is not equal to 0.
9. The method of claim 7, wherein c ═ zmax,zmaxSpreading factor z to be supported for the first base matrixfIs measured.
10. The method according to any one of claims 6 to 9, further comprising:
and transmitting the first coding sequence.
11. An information processing apparatus, comprising:
an obtaining unit, configured to obtain a first base matrix of a low density parity check LDPC code, where m is a number of rows of the first base matrix and n is a number of columns of the first base matrix;
a processing unit for generating a first base matrix, a spreading factor zfAnd free factor rfCoding the information sequence to obtain a first coding sequence, wherein zfIs a positive integer, rfIs an integer greater than or equal to 0;
wherein the processing unit is specifically configured to, for each ith row and jth column of matrix elements p in the first base matrixi,jAccording to pi,jThe spreading factor zfAnd free factor rfCalculating pf,i,jWherein p isf,i,j<zfThe values of i and j are integers, i is more than or equal to 0 and less than m, and j is more than or equal to 0 and less than n;
according to pf,i,jCoding the information sequence to obtain a first coding sequence;
wherein p isf,i,jThe following formula is satisfied:
Figure FDA0002647769300000031
wherein, g1(pi,j,rf) Is represented by pi,j,rfAs a function of the parameter, taking the value as an integer, g2(zf) Is represented by zfIs a function of a parameter, and g2(zf)≤zfThe values are integers.
12. The apparatus of claim 11, wherein g is1(pi,j,rf) The following formula is satisfied:
Figure FDA0002647769300000032
or
Figure FDA0002647769300000033
Wherein c is a constant and is not equal to 0;
Figure FDA0002647769300000034
or
Figure FDA0002647769300000035
Wherein c is a constant and is not equal to 0; or,
g1(pi,j,rf)=pi,j+(c-pi,j)rfwherein c is a constant and is not equal to 0; or,
Figure FDA0002647769300000036
or
Figure FDA0002647769300000037
Or,
Figure FDA0002647769300000039
or
Figure FDA00026477693000000310
13. The apparatus of claim 11, wherein g is2(zf) The following formula is satisfied:
g2(zf)=zf(ii) a Or,
Figure FDA00026477693000000311
14. the apparatus of claim 12, wherein g is2(zf) The following formula is satisfied:
g2(zf)=zf(ii) a Or,
Figure FDA00026477693000000312
15. the apparatus of claim 12 or 14, wherein c-zmax,zmaxSpreading factor z to be supported for the first base matrixfIs measured.
16. An information processing apparatus, comprising:
an obtaining unit, configured to obtain a first base matrix of a low density parity check LDPC code, where m is a number of rows of the first base matrix and n is a number of columns of the first base matrix;
a processing unit for generating a first base matrix, a spreading factor zfAnd free factor rfCoding the information sequence to obtain a first coding sequence, wherein zfIs a positive integer, rfIs an integer greater than or equal to 0;
wherein the processing unit is specifically configured to, for each ith row and jth column of matrix elements p in the first base matrixi,jAccording to pi,jThe spreading factor zfAnd free factor rfCalculating pf,i,jWherein p isf,i,j<zfThe values of i and j are integers, i is more than or equal to 0 and less than m, and j is more than or equal to 0 and less than n;
wherein p isf,i,jThe following formula is satisfied:
Figure FDA0002647769300000041
wherein, g3(pi,j,rf) Is represented by pi,j,rfAs a function of the parameter, taking the value as an integer, g4(zf) Is represented by zfIs a function of a parameter, and 0<g4(zf)≤1。
17. The apparatus of claim 16, wherein g is3(pi,j,rf) The following formula is satisfied:
g3(pi,j,rf)=(pi,j+rf) modc, where c is a constant and is not equal to 0; or,
g3(pi,j,rf)=(pi,j·rf) modc, where c is a constant and is not equal to 0.
18. The apparatus of claim 17, wherein g is4(zf) The following formula is satisfied:
g4(zf)=zfc, or alternatively,
Figure FDA0002647769300000042
wherein c is a constant and is not equal to 0.
19. The apparatus according to any one of claims 17 and 18, wherein c-zmax,zmaxIs a stand forThe spreading factor z to be supported by the first base matrixfIs measured.
20. A wireless communication device, characterized in that it comprises the apparatus of any of claims 11 to 19.
21. The communication device according to claim 20, wherein the wireless communication device further comprises a transmitting unit:
and the sending unit is used for sending the first coding sequence.
22. A storage medium, characterized in that it stores a computer program which, when executed by a computer device, is capable of implementing the method of any one of claims 1 to 10.
CN201710061834.7A 2016-11-03 2017-01-26 Information processing method, device and wireless communication device Active CN108023677B (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
CN2016109733736 2016-11-03
CN201610973373 2016-11-03
CN2016109858500 2016-11-09
CN201610985850 2016-11-09
CN2016111412502 2016-12-12
CN201611141250 2016-12-12
CN2017100106457 2017-01-06
CN201710010645 2017-01-06

Publications (2)

Publication Number Publication Date
CN108023677A CN108023677A (en) 2018-05-11
CN108023677B true CN108023677B (en) 2020-12-08

Family

ID=62079185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710061834.7A Active CN108023677B (en) 2016-11-03 2017-01-26 Information processing method, device and wireless communication device

Country Status (1)

Country Link
CN (1) CN108023677B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327330B (en) * 2018-12-14 2022-04-08 深圳市中兴微电子技术有限公司 Information processing method, information processing equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1924001A1 (en) * 2005-08-10 2008-05-21 Mitsubishi Electric Corporation Test matrix generating method, encoding method, decoding method, communication apparatus, communication system, encoder and decoder
CN101217337A (en) * 2007-01-01 2008-07-09 中兴通讯股份有限公司 A low density parity code encoding device and method supporting incremental redundancy hybrid automatic repeat
CN101325474A (en) * 2007-06-12 2008-12-17 中兴通讯股份有限公司 Method for encoding channel of mixed automatic request retransmission and modulation mapping of LDPC code
CN101436918A (en) * 2007-11-15 2009-05-20 中兴通讯股份有限公司 Channel encoding method, apparatus and system for structured low density parity check code
CN101453297A (en) * 2007-12-07 2009-06-10 中兴通讯股份有限公司 Encoding method and apparatus for low density generation matrix code, and decoding method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1924001A1 (en) * 2005-08-10 2008-05-21 Mitsubishi Electric Corporation Test matrix generating method, encoding method, decoding method, communication apparatus, communication system, encoder and decoder
CN101217337A (en) * 2007-01-01 2008-07-09 中兴通讯股份有限公司 A low density parity code encoding device and method supporting incremental redundancy hybrid automatic repeat
CN101325474A (en) * 2007-06-12 2008-12-17 中兴通讯股份有限公司 Method for encoding channel of mixed automatic request retransmission and modulation mapping of LDPC code
CN101436918A (en) * 2007-11-15 2009-05-20 中兴通讯股份有限公司 Channel encoding method, apparatus and system for structured low density parity check code
CN101453297A (en) * 2007-12-07 2009-06-10 中兴通讯股份有限公司 Encoding method and apparatus for low density generation matrix code, and decoding method and apparatus

Also Published As

Publication number Publication date
CN108023677A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN110890906B (en) Method and equipment for transmitting and receiving antenna information
WO2019158031A1 (en) Encoding method, decoding method, encoding device, and decoding device
EP3484077B1 (en) Encoding method, wireless device, and computer readable storage medium
US11502704B2 (en) Polar coding method and apparatus
US10892849B2 (en) Polar code coding method and apparatus
EP3553980A1 (en) Method for transmitting data, terminal device and network device
US20190327018A1 (en) Data transmission method and communication device
CN109150396B (en) Send method, terminal, the network equipment, chip and the computer readable storage medium of data
CN110247690B (en) Method and apparatus for informing channel quality
CN110061769A (en) The method and apparatus for sending data
CN108023598B (en) Encoding method, decoding method and wireless communication device
RU2737171C1 (en) Information transmission method, terminal device and network device
CN109565694B (en) Paging method, terminal equipment and network equipment
CN106605372B (en) Data communication method and related equipment and communication system
WO2018054186A1 (en) Interleaving and de-interleaving methods, and device
CN108781454B (en) Bit block size determination method and device
CN110892668B (en) Method and transmission device for determining set of precoding matrices
CN108023677B (en) Information processing method, device and wireless communication device
CN103312433B (en) Data transmission method and system, base station and subscriber equipment
WO2022022516A1 (en) Wireless communication method and apparatus
CN108134648B (en) Broadcast channel sending method, receiving method and device
WO2018157403A1 (en) Resource allocation method, determination method and apparatus
CN108259124B (en) A data transmission method, network device and terminal device
CN115913450A (en) A method and device for obtaining information
CN113243133A (en) Communication method and device

Legal Events

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