WO2022033566A1 - Coding or decoding method in finite field and related device - Google Patents

Coding or decoding method in finite field and related device Download PDF

Info

Publication number
WO2022033566A1
WO2022033566A1 PCT/CN2021/112380 CN2021112380W WO2022033566A1 WO 2022033566 A1 WO2022033566 A1 WO 2022033566A1 CN 2021112380 W CN2021112380 W CN 2021112380W WO 2022033566 A1 WO2022033566 A1 WO 2022033566A1
Authority
WO
WIPO (PCT)
Prior art keywords
finite field
matrix
order
coding
decoding
Prior art date
Application number
PCT/CN2021/112380
Other languages
French (fr)
Chinese (zh)
Inventor
郑若滨
李宗鹏
孙奇福
唐汉琦
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022033566A1 publication Critical patent/WO2022033566A1/en

Links

Images

Classifications

    • 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/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/3776Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35 using a re-encoding step during the decoding process
    • 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/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35

Landscapes

  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Disclosed in embodiments of the present application are a coding or decoding method in a finite field, a receiving end, and an intermediate node. In a scenario where the computing power of a sending end, a receiving end, and an intermediate node is inconsistent, using a finite field having a nested structure for coding effectively reduces the computational complexity during decoding, improves the decoding speed and data throughout, and ensures the accuracy of decoding.

Description

一种有限域的编码或译码方法以及相关装置A finite field encoding or decoding method and related device
本申请要求于2020年08月14日提交中国专利局、申请号为202010820658.2、发明名称为“一种有限域的编码或译码方法以及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on August 14, 2020 with the application number 202010820658.2 and the invention titled "A Coding or Decoding Method and Related Apparatus for a Limited Field", the entire contents of which are obtained through Reference is incorporated in this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种有限域的编码或译码方法以及相关装置。The present application relates to the field of communication technologies, and in particular, to a finite field encoding or decoding method and related devices.
背景技术Background technique
2000年诞生的网络编码(Network Coding,NC)提出了通信网络中单发送端或多发送端对多个接收端组播或广播时,如何达到由“最大流最小割定理”确定的网络通信容量极限的一个思路。传统通信网络中,中间节点(例如基站或路由交换机等)只完成“存储-转发”功能,将信息看作“货物”,因而认为信息是不可叠加的。而这一认知上的局限导致网络难以达到最大流传输。NC指出如果允许中间节点对输入的多条信息流编码后再发送,则可以使得网络通信可以达到最大流传输。Network Coding (NC), which was born in 2000, proposes how to achieve the network communication capacity determined by the "maximum flow minimum cut theorem" when a single sender or multiple senders multicast or broadcast to multiple receivers in a communication network. An idea of the limit. In a traditional communication network, intermediate nodes (such as base stations or routing switches, etc.) only complete the "store-and-forward" function, and regard information as "goods", so it is considered that information cannot be superimposed. This cognitive limitation makes it difficult for the network to achieve maximum streaming. NC pointed out that if the intermediate nodes are allowed to encode multiple input information streams and then send them, the network communication can achieve the maximum stream transmission.
为了实现网络编码,发送端、接收端与中间节点要保持一致的在同一个有限域(如伽罗瓦域(galois field,GF))里进行编译码,例如,若发送端选择了在GF(2 8)的有限域进行编码,则要求所有参与网络编码的中间节点也要在GF(2 8)的有限域进行重编码(Recoding),所有的接收端都要在GF(2 8)的有限域进行译码。所以,在数据传输过程中,各个网络节点需要针对每个流或每个应用配置成与收发端一致的编译码参数。 In order to implement network coding, the sender, receiver, and intermediate nodes must be consistent in the same finite field (such as Galois field (GF)) for encoding and decoding. 2 8 ), then all intermediate nodes participating in network coding are required to perform recoding in the finite field of GF(2 8 ), and all receivers are required to perform recoding in the finite field of GF(2 8 ). domain to decode. Therefore, in the process of data transmission, each network node needs to be configured with coding and decoding parameters consistent with the transceiver end for each stream or each application.
发送端、接收端与中间节点的计算能力(也称为编码或译码能力)差异巨大,使用一致的有限域进行编码或译码存在较大难度,影响了网络编码的普及与应用。The computing capabilities (also called encoding or decoding capabilities) of the sender, the receiver, and the intermediate nodes are very different, and it is difficult to use a consistent finite field to encode or decode, which affects the popularization and application of network coding.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种有限域的编码或译码方法,具体包括:一种有限域的编码译码方法,一种有限域的译码方法和一种有限域的重编码方法,在发送端、接收端与中间节点算力不一致的场景下,使用具有嵌套结构的有限域进行编码,有效降低了译码时的计算复杂度,提高了译码速度和数据吞吐量,并且保障了译码的准确率。Embodiments of the present application provide a finite field encoding or decoding method, specifically including: a finite field encoding and decoding method, a finite field decoding method, and a finite field re-encoding method. In the scenario where the computing power of the terminal, the receiving terminal and the intermediate node is inconsistent, the finite field with the nested structure is used for encoding, which effectively reduces the computational complexity during decoding, improves the decoding speed and data throughput, and ensures the decoding. code accuracy.
第一方面,本申请实施例提出一种有限域的编码方法,包括:In the first aspect, an embodiment of the present application proposes a finite field encoding method, including:
使用第一编码系数矩阵对k个源数据块进行编码处理,生成k个第一编码数据块,第一编码数据块与第一编码系数矩阵中的一组编码系数对应,k为正整数;Using the first encoding coefficient matrix to perform encoding processing on the k source data blocks to generate k first encoded data blocks, the first encoded data blocks correspond to a group of encoding coefficients in the first encoding coefficient matrix, and k is a positive integer;
根据k个第一编码数据块,生成一个或多个第一编码报文,第一编码报文包含一个或多个第一编码数据块,以及一个或多个第一编码数据块对应的第一编码系数矩阵中的一组编码系数;One or more first encoded packets are generated according to the k first encoded data blocks, where the first encoded packet includes one or more first encoded data blocks and first encoded data blocks corresponding to the one or more first encoded data blocks a set of coding coefficients in the coding coefficient matrix;
其中,第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,第一有限域和第二有限域为具有嵌套结构的有限域,且,第二有限域的阶数高于第一有限域, 具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the first coding coefficient matrix includes coding coefficients of the first finite field and coding coefficients of the second finite field, the first finite field and the second finite field are finite fields with a nested structure, and the order of the second finite field The number is higher than the first finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
发送一个或多个第一编码报文。Send one or more first encoded messages.
具体的,发送端使用第一编码系数矩阵对一个组(Generation)中k个源数据块进行编码处理,得到一个或多个第一编码数据块(例如k个第一编码数据块)。其中,第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,k为正整数。第一有限域,与,第二有限域,为具有嵌套结构的有限域,其中,第一有限域为GF(E d),第二有限域为GF(E D),其中,E为素数,d为正整数,D为正整数,D=q*d,q为大于1的正整数。 Specifically, the transmitting end uses the first encoding coefficient matrix to perform encoding processing on k source data blocks in a group (Generation) to obtain one or more first encoded data blocks (eg, k first encoded data blocks). The first coding coefficient matrix includes coding coefficients of the first finite field and coding coefficients of the second finite field, and k is a positive integer. The first finite field, and the second finite field, are finite fields with nested structures, where the first finite field is GF(E d ), and the second finite field is GF(E D ), where E is a prime number , d is a positive integer, D is a positive integer, D=q*d, q is a positive integer greater than 1.
第一编码报文还包含一个或多个源数据块,源数据块与单位矩阵中的一组编码系数对应,单位矩阵的尺寸与第一编码系数矩阵相同。该单位矩阵中的一组编码系数,也称为该源数据块的编码系数。The first coded message further includes one or more source data blocks, where the source data blocks correspond to a group of coding coefficients in the unit matrix, and the size of the unit matrix is the same as that of the first coding coefficient matrix. A set of coding coefficients in the identity matrix, also called coding coefficients of the source data block.
第一编码数据块对应的第一编码系数矩阵中的一组编码系数,也称为第一编码系数矩阵的编码系数。A group of coding coefficients in the first coding coefficient matrix corresponding to the first coded data block is also referred to as coding coefficients of the first coding coefficient matrix.
该第一有限域与该第二有限域可以包括多个有限域,则第一编码系数矩阵中包括2个或以上的具有嵌套结构的有限域。The first finite field and the second finite field may include multiple finite fields, and the first coding coefficient matrix includes two or more finite fields with a nested structure.
本申请实施例中,发送端通过在多个具有嵌套结构的有限域内对源数据块进行编码,使得接收端可以接收具有嵌套结构的有限域的报文。由于具有嵌套结构的有限域中,阶数较高的有限域的元素和运算法则,包括阶数较低的有限域的元素和运算发送。因此,接收端可以根据自身算力和应用需求,首先,在阶数较低的有限域中对阶数较高的有限域的编码数据进行译码,其次,对前次译码结果在阶数较高的有限域中继续译码。有效降低了计算复杂度,提高了译码速度和数据吞吐量,并且保障了译码的准确率。In the embodiment of the present application, the sender encodes the source data block in multiple finite fields with nested structures, so that the receiver can receive packets of finite fields with nested structures. Due to the finite field with nested structure, the elements and operations of the higher-order finite field, including the elements and operations of the lower-order finite field, are sent. Therefore, the receiving end can, according to its own computing power and application requirements, first, decode the encoded data of the finite field with a higher order in a finite field with a lower order, and secondly, decode the result of the previous decoding in the order of the finite field. Continue decoding in higher finite fields. The computational complexity is effectively reduced, the decoding speed and data throughput are improved, and the decoding accuracy is guaranteed.
结合第一方面,在第一方面的一种可能的实现方式中,In combination with the first aspect, in a possible implementation manner of the first aspect,
源数据块为:p j,其中,j为正整数,1≤j≤k; The source data block is: p j , where j is a positive integer, 1≤j≤k;
第一有限域的编码系数和第二有限域的编码系数为α n,k,n为正整数; The coding coefficients of the first finite field and the coding coefficients of the second finite field are α n,k , where n is a positive integer;
一个或多个第一编码数据块包括:c n,其中,
Figure PCTCN2021112380-appb-000001
The one or more first encoded data blocks include: c n , wherein,
Figure PCTCN2021112380-appb-000001
示例性的,假设一个组包含k个源数据块即p j={p 1~p k},其中,j为正整数,1≤j≤k。发送端根据p 1~p k生成一个或多个第一编码数据块c n={c 1~c n},n为正整数。其中,c 1为p 1~p k在GF(E d)和GF(E D)有限域中进行编码得到的一个第一编码数据块,即发送端采用GF(E d)和GF(E D)有限域中的编码系数α 1,1…α 1,k对p 1~p k进行编码得到c 1,其中,c 1可以满足如下公式: Exemplarily, it is assumed that a group includes k source data blocks, that is, p j ={p 1 ˜p k }, where j is a positive integer, and 1≤j≤k. The transmitting end generates one or more first encoded data blocks c n ={c 1˜c n } according to p 1 to p k , where n is a positive integer. Wherein, c 1 is a first encoded data block obtained by encoding p 1 to p k in the finite fields of GF(E d ) and GF(E D ), that is, the sender uses GF(E d ) and GF(E D ) ) The coding coefficients α 1,1 ...α 1,k in the finite field encode p 1 to p k to obtain c 1 , where c 1 can satisfy the following formula:
Figure PCTCN2021112380-appb-000002
Figure PCTCN2021112380-appb-000002
其中,α 1,1…α 1,k为GF(E d)和GF(E D)有限域中的编码系数。 where α 1,1 . . . α 1,k are coding coefficients in the finite fields of GF(E d ) and GF(E D ).
c n为p 1~p k在GF(E d)和GF(E D)有限域中进行编码得到的第一编码数据块,即发送端采用GF(E d)和GF(E D)有限域中的编码系数α n,1…α n,k对p 1~p k进行编码得到c n,其中,c n可以满足如下公式: cn is the first encoded data block obtained by encoding p 1 to p k in the finite fields of GF(E d ) and GF(E D ), that is, the sender adopts the finite fields of GF(E d ) and GF(E D ) The coding coefficients α n,1 ...α n,k in , encode p 1 to p k to obtain c n , where c n can satisfy the following formula:
Figure PCTCN2021112380-appb-000003
Figure PCTCN2021112380-appb-000003
其中,α n,1…α n,k为GF(E d)和GF(E D)有限域中的编码系数。 where α n,1 . . . α n,k are coding coefficients in the finite fields of GF(E d ) and GF(E D ).
结合第一方面,在第一方面的一种可能的实现方式中,一个或多个第一编码报文还包括有限域阶数,有限域阶数与第一编码数据块,和/或,源数据块对应,有限域阶数为第一 编码数据块对应的第一编码系数矩阵中的一组编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。With reference to the first aspect, in a possible implementation manner of the first aspect, the one or more first encoded packets further include a finite field order, the finite field order and the first encoded data block, and/or a source Corresponding to the data block, the finite field order is the finite field order of a group of coding coefficients in the first coding coefficient matrix corresponding to the first coded data block, and/or the finite field order of the coding coefficients of the source data block.
在一种可选的实现方式中,一个第一编码报文中携带一个第一编码数据块(或一个源数据块)。In an optional implementation manner, a first encoded packet carries a first encoded data block (or a source data block).
在另一种可选的实现方式中,一个第一编码报文中携带多个第一编码数据块(和/或一个或多个源数据块)。这里不做具体限定。In another optional implementation manner, a first encoded packet carries multiple first encoded data blocks (and/or one or more source data blocks). There is no specific limitation here.
具体的,该有限域阶数可以携带于第一编码数据块后,该有限域阶数也可以携带于第一编码数据块前,此处不做限制。Specifically, the finite field order may be carried after the first encoded data block, and the finite field order may also be carried before the first encoded data block, which is not limited here.
示例性的,若有限域为GF(E 2),则有限域阶数可以为2。该有限域阶数用于指示第一编码数据块对应的有限域的阶。 Exemplarily, if the finite field is GF(E 2 ), the order of the finite field may be 2. The finite field order is used to indicate the order of the finite field corresponding to the first encoded data block.
本申请实施例中,在第一编码报文中携带有限域阶数,便于中间节点或接收端识别该有限域阶数对应的数据块,编码所使用的有限域。提升了译码速度。In the embodiment of the present application, the finite field order is carried in the first encoded message, so that the intermediate node or the receiving end can identify the data block corresponding to the finite field order and encode the finite field used. Improved decoding speed.
结合第一方面,在第一方面的一种可能的实现方式中,第一有限域的编码系数,携带于第一编码报文的网络层或数据链路层;With reference to the first aspect, in a possible implementation manner of the first aspect, the coding coefficients of the first finite field are carried at the network layer or the data link layer of the first coded message;
第二有限域的编码系数,携带于第一编码报文的传输层;The coding coefficients of the second finite field are carried in the transport layer of the first coded message;
源数据块的编码系数,携带于第一编码报文的网络层或数据链路层。The coding coefficients of the source data block are carried in the network layer or data link layer of the first coded packet.
示例性的,阶数较低的有限域的编码系数(例如d小于或等于2)携带于互联网协议(Internet Protocol,IP)报文头或以太网(Ethernet,ETH)帧头,例如可以通过设置第六版互联网协议(Internet Protocol version 6,IPv6)扩展头、IP或ETH扩展域实现;阶数较高的有限域的编码系数携带于传输控制协议(Transmission Control Protocol,TCP)报文头,例如可以通过设置TCP选项来携带。Exemplarily, the coding coefficient of the finite field with lower order (for example, d is less than or equal to 2) is carried in the header of an Internet Protocol (Internet Protocol, IP) packet or an Ethernet (Ethernet, ETH) frame header, for example, it can be set by setting The sixth version of the Internet Protocol (Internet Protocol version 6, IPv6) extension header, IP or ETH extension field implementation; the coding coefficient of the finite field with higher order is carried in the Transmission Control Protocol (Transmission Control Protocol, TCP) packet header, for example Can be carried by setting TCP options.
本申请实施例中,不同有限域的编码系数,可以携带于第一编码报文中不同的协议层,便于后续节点对该第一编码报文进行重编码或译码。In the embodiment of the present application, the coding coefficients of different finite fields may be carried in different protocol layers in the first coded message, which is convenient for subsequent nodes to re-encode or decode the first coded message.
第二方面,本申请实施例提出一种有限域的编码方法,包括:In the second aspect, an embodiment of the present application proposes a finite field encoding method, including:
使用第二编码系数矩阵对k个源数据块进行编码处理,生成k个第二编码数据块,第二编码数据块与第二编码系数矩阵中的一组编码系数对应,k为正整数;Using the second encoding coefficient matrix to perform encoding processing on the k source data blocks to generate k second encoding data blocks, the second encoding data blocks correspond to a group of encoding coefficients in the second encoding coefficient matrix, and k is a positive integer;
使用第三编码系数矩阵对k个第二编码数据块和k个源数据块进行编码处理,生成g个第三编码数据块,第三编码数据块与第三编码系数矩阵中的一组编码系数对应,g为正整数;The k second encoded data blocks and k source data blocks are encoded using the third encoding coefficient matrix to generate g third encoded data blocks, the third encoded data block and a set of encoding coefficients in the third encoding coefficient matrix Correspondingly, g is a positive integer;
根据k个第二编码数据块以及g个第三编码数据块,生成一个或多个第二编码报文,一个第二编码报文包括:一个或多个第三编码数据块和一个或多个第三编码数据块的编码系数,第二编码报文包含一个或多个第三编码数据块,以及第三编码系数矩阵对应的编码系数;One or more second coded packets are generated according to the k second coded data blocks and the g third coded data blocks. A second coded packet includes: one or more third coded data blocks and one or more coding coefficients of the third coded data block, the second coded message includes one or more third coded data blocks, and coding coefficients corresponding to the third coding coefficient matrix;
其中,第二编码系数矩阵包括第三有限域的编码系数,第三编码系数矩阵包括第四有限域的编码系数,第三有限域和第四有限域为具有嵌套结构的有限域,且,第四有限域的阶数高于第三有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the second coding coefficient matrix includes the coding coefficients of the third finite field, the third coding coefficient matrix includes the coding coefficients of the fourth finite field, the third finite field and the fourth finite field are finite fields with a nested structure, and, The order of the fourth finite field is higher than that of the third finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent;
发送一个或多个第二编码报文。One or more second encoded messages are sent.
具体的,第三编码系数矩阵对应的编码系数也称为第三编码系数矩阵的编码系数。Specifically, the coding coefficients corresponding to the third coding coefficient matrix are also referred to as coding coefficients of the third coding coefficient matrix.
第三有限域,与,第四有限域,为具有嵌套结构的有限域,其中,第三有限域为GF(E D1),第四有限域为GF(E d1),E为素数,d1为正整数,D1为正整数,D1=z*d1,z为大于1的正整数。源数据块为:p j,其中,j为正整数,1≤j≤k;第三有限域的编码系数为α′ n,k,n为正整数;一个或多个第二编码数据块(例如k个第二编码数据块)包括:c′ n,其中,
Figure PCTCN2021112380-appb-000004
第四有限域的编码系数为β m,k+n;一个或多个第三编码数据块(例如g个第三编码数据块)包括:b m,其中,
Figure PCTCN2021112380-appb-000005
m为正整数。
The third finite field, and the fourth finite field, are finite fields with nested structures, wherein the third finite field is GF(E D1 ), the fourth finite field is GF(E d1 ), E is a prime number, d1 is a positive integer, D1 is a positive integer, D1=z*d1, and z is a positive integer greater than 1. The source data block is: p j , where j is a positive integer, 1≤j≤k; the encoding coefficient of the third finite field is α′ n,k , n is a positive integer; one or more second encoded data blocks ( For example, the k second encoded data blocks) include: c′ n , wherein,
Figure PCTCN2021112380-appb-000004
The coding coefficient of the fourth finite field is β m,k+n ; one or more third coded data blocks (eg, g third coded data blocks) include: b m , wherein,
Figure PCTCN2021112380-appb-000005
m is a positive integer.
发送端使用第二编码系数矩阵对一个组(Generation)中k个源数据块进行编码处理,得到一个或多个第二编码数据块,其中,第二编码系数矩阵至少包括第三有限域的编码系数,k为正整数。第三有限域为GF(E D1),E为素数,D1为正整数。 The transmitting end uses the second encoding coefficient matrix to perform encoding processing on k source data blocks in a group (Generation) to obtain one or more second encoded data blocks, wherein the second encoding coefficient matrix at least includes the encoding of the third finite field coefficient, k is a positive integer. The third finite field is GF(E D1 ), E is a prime number, and D1 is a positive integer.
假设一个组包含k个源数据块即p j={p 1~p k},其中,j为正整数,1≤j≤k。发送端根据p 1~p k生成一个或多个第二编码数据块c’ n={c’ 1~c’ n},n为正整数。其中,c’ 1为p 1~p k在GF(E D1)有限域中进行编码得到的一个第二编码数据块,即发送端采用GF(E D1)有限域中的编码系数α′ 1,1…α′ 1,k对p 1~p k进行编码得到c’ 1,其中,c’ 1可以满足如下公式: It is assumed that a group contains k source data blocks, that is, p j ={p 1 -p k }, where j is a positive integer, and 1≤j≤k. The transmitting end generates one or more second encoded data blocks c' n ={c' 1~ c' n } according to p 1 to p k , where n is a positive integer. Wherein, c' 1 is a second encoded data block obtained by encoding p 1 to p k in the finite field of GF(E D1 ), that is, the transmitting end adopts the encoding coefficient α′ 1 in the finite field of GF(E D1 ), 1 ...α′ 1,k encodes p 1 to p k to obtain c′ 1 , where c′ 1 can satisfy the following formula:
Figure PCTCN2021112380-appb-000006
Figure PCTCN2021112380-appb-000006
其中,α′ 1,1…α′ 1,k为GF(E D1)有限域中的编码系数。 Among them, α′ 1,1 ···α′ 1,k are the coding coefficients in the finite field of GF(E D1 ).
c’ n为p 1~p k在GF(E D1)有限域中进行编码得到的第二编码数据块,即发送端采用GF(E D1)有限域中的编码系数α′ 1,1…α′ 1,k对p 1~p k进行编码得到c’ n,其中,c’ n可以满足如下公式: c' n is the second encoded data block obtained by encoding p 1 ~ p k in the finite field of GF(E D1 ), that is, the transmitting end adopts the coding coefficients α′ 1,1 . . . α in the finite field of GF(E D1 ) ′ 1,k encodes p 1 to p k to obtain c' n , where c' n can satisfy the following formula:
Figure PCTCN2021112380-appb-000007
Figure PCTCN2021112380-appb-000007
其中,α′ n,1…α′ n,k为GF(E D1)有限域中的编码系数。 Among them, α′ n,1 ···α′ n,k are the coding coefficients in the finite field of GF(E D1 ).
当发送端生成一个或多个第二编码数据块{c′ 1~c′ n}后,使用第三编码系数矩阵对一个或多个第二编码数据块{c′ 1~c′ n}和k个源数据块{p 1~p k}进行编码处理,生成一个或多个第三编码数据块{b 1~b m},m为正整数。 After generating one or more second coded data blocks {c' 1 ~c' n }, the sending end uses the third coding coefficient matrix to perform one or more second coded data blocks {c' 1 ~c' n } and The k source data blocks {p 1 to p k } are encoded to generate one or more third encoded data blocks {b 1 to b m }, where m is a positive integer.
其中,第三编码系数矩阵至少包括第四有限域的编码系数。第三有限域,与,第四有限域,为具有嵌套结构的有限域,其中,第三有限域为GF(E D1),第四有限域为GF(E d1),E为素数,d1为正整数,D1为正整数,D1=z*d1,z为大于1的正整数。 Wherein, the third coding coefficient matrix includes at least coding coefficients of the fourth finite field. The third finite field, and the fourth finite field, are finite fields with nested structures, wherein the third finite field is GF(E D1 ), the fourth finite field is GF(E d1 ), E is a prime number, d1 is a positive integer, D1 is a positive integer, D1=z*d1, and z is a positive integer greater than 1.
第三编码数据块为b m,其中,
Figure PCTCN2021112380-appb-000008
其中,β m,k+n为第四有限域的编码系数,k个源数据块为p j={p 1~p k},j为正整数,1≤j≤k。
The third encoded data block is b m , where,
Figure PCTCN2021112380-appb-000008
Wherein, β m,k+n are the coding coefficients of the fourth finite field, the k source data blocks are p j ={p 1 ~p k }, j is a positive integer, 1≤j≤k.
在一种可选的实现方式中,第四有限域为当前发送端支持的最低阶的有限域,该最低阶的有限域与第三有限域具有嵌套结构。In an optional implementation manner, the fourth finite field is the lowest-order finite field currently supported by the sender, and the lowest-order finite field and the third finite field have a nested structure.
本申请实施例中,发送端在多个具有嵌套结构的有限域内对源数据块进行编码,接收端可以在具有嵌套结构的有限域中对该报文进行译码。由于具有嵌套结构的有限域中,阶数较高的有限域的元素和运算法则,包括阶数较低的有限域的元素和运算发送。因此,首先,接收端可以根据自身算力和应用需求,在阶数较低的有限域中对阶数较高的有限域的编码数据进行译码,其次,对前次译码结果在阶数较高的有限域中继续译码。有效降低了 计算复杂度,提高了译码速度和数据吞吐量,并且保障了译码的准确率。In this embodiment of the present application, the sender encodes the source data block in multiple finite fields with nested structures, and the receiver can decode the message in the finite fields with nested structures. Due to the finite field with nested structure, the elements and operations of the higher-order finite field, including the elements and operations of the lower-order finite field, are sent. Therefore, first, the receiving end can decode the encoded data of the finite field with a higher order in a finite field with a lower order according to its own computing power and application requirements. Continue decoding in higher finite fields. The computational complexity is effectively reduced, the decoding speed and data throughput are improved, and the decoding accuracy is guaranteed.
结合第二方面,在第二方面的一种可能的实现方式中,一个第二编码报文还包括:In conjunction with the second aspect, in a possible implementation manner of the second aspect, a second encoded message further includes:
一个或多个第二编码数据块,以及一个或多个第二编码数据块对应的第二编码系数矩阵中的一组编码系数,one or more second coded data blocks, and a set of coding coefficients in the second coding coefficient matrix corresponding to the one or more second coded data blocks,
和/或,一个或多个源数据块,源数据块与单位矩阵中的一组编码系数对应,单位矩阵的尺寸由第二编码数据块的数量和源数据块的数量确定。And/or, one or more source data blocks, the source data blocks correspond to a set of coding coefficients in an identity matrix, and the size of the identity matrix is determined by the number of second coded data blocks and the number of source data blocks.
在一种可选的实现方式中,发送端生成的一个或多个第二编码系数报文中,携带源数据块。该一个或多个第二编码系数报文携带的数据块可以表示为:{p 1…p k}∪{c′ 1…c′ n}∪{b 1…b m}。该第二编码系数报文也可以称为系统码报文。 In an optional implementation manner, the source data block is carried in one or more second coding coefficient packets generated by the sender. The data blocks carried by the one or more second coding coefficient packets may be expressed as: {p 1 ···p k }∪{c′ 1 ···c′ n }∪{b 1 ···b m }. The second coding coefficient message may also be referred to as a system code message.
在另一种可选的实现方式中,发送端生成的一个或多个第二编码系数报文中,不携带源数据块和第二编码数据块。该一个或多个第二编码系数报文携带的数据块可以表示为:{b 1…b m}。该第二编码系数报文也可以称为非系统码报文。 In another optional implementation manner, the source data block and the second encoded data block are not carried in one or more second encoding coefficient packets generated by the sending end. The data blocks carried by the one or more second coding coefficient packets may be represented as: {b 1 . . . b m }. The second coding coefficient message may also be referred to as a non-systematic code message.
本申请实施例中,该第二编码系数报文可以是系统码报文,也可以是非系统码报文,提升了方案的实现灵活性。In this embodiment of the present application, the second encoding coefficient message may be a system code message or a non-system code message, which improves the implementation flexibility of the solution.
结合第二方面,在第二方面的一种可能的实现方式中,In combination with the second aspect, in a possible implementation manner of the second aspect,
第三有限域的编码系数,携带于第二编码报文的传输层;The coding coefficients of the third finite field are carried in the transport layer of the second coded message;
第四有限域的编码系数,携带于第二编码报文的网络层或数据链路层。The coding coefficients of the fourth finite field are carried in the network layer or the data link layer of the second coded message.
示例性的,阶数较低的有限域的编码系数携带于互联网协议(Internet Protocol,IP)报文头或以太网(Ethernet)帧头,例如可以通过设置第六版互联网协议(Internet Protocol version 6,IPv6)扩展头、IP或ETH扩展域实现;阶数较高的有限域的编码系数携带于传输控制协议(Transmission Control Protocol,TCP)报文头,例如可以通过设置TCP选项来携带。Exemplarily, the coding coefficients of the finite field with a lower order are carried in an Internet Protocol (Internet Protocol, IP) packet header or an Ethernet (Ethernet) frame header, for example, by setting an Internet Protocol version 6 (Internet Protocol version 6) , IPv6) extension header, IP or ETH extension field implementation; the coding coefficient of the finite field with higher order is carried in the Transmission Control Protocol (Transmission Control Protocol, TCP) packet header, for example, it can be carried by setting the TCP option.
本申请实施例中,不同有限域的编码系数,可以携带于第二编码报文中不同的协议层,便于后续节点对该第二编码报文进行重编码或译码。In the embodiment of the present application, the coding coefficients of different finite fields may be carried in different protocol layers in the second coded message, which is convenient for subsequent nodes to re-encode or decode the second coded message.
结合第二方面,在第二方面的一种可能的实现方式中,一个或多个第二编码报文还包括有限域阶数,有限域阶数包括第二编码数据块的编码系数所在有限域阶数、第三编码数据块的编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。With reference to the second aspect, in a possible implementation manner of the second aspect, one or more second encoded packets further include a finite field order, and the finite field order includes a finite field where the encoding coefficients of the second encoded data block are located The order, the order of the finite field where the coding coefficients of the third coded data block are located, and/or the order of the finite field where the coding coefficients of the source data block are located.
在一种可选的实现方式中,一个第二编码报文中携带一个第三编码数据块(或一个源数据块,或一个第二编码数据块)。In an optional implementation manner, a second encoded packet carries a third encoded data block (or a source data block, or a second encoded data block).
在另一种可选的实现方式中,一个第二编码报文中携带多个第三编码数据块(和/或一个或多个源数据块,和/或一个或多个第二编码数据块)。这里不做具体限定。In another optional implementation manner, a second encoded packet carries multiple third encoded data blocks (and/or one or more source data blocks, and/or one or more second encoded data blocks ). There is no specific limitation here.
示例性的,若有限域为GF(E 2),则有限域阶数可以为2。该有限域阶数用于指示第一编码数据块对应的有限域的阶。 Exemplarily, if the finite field is GF(E 2 ), the order of the finite field may be 2. The finite field order is used to indicate the order of the finite field corresponding to the first encoded data block.
本申请实施例中,在第一编码报文中携带有限域阶数,便于中间节点或接收端识别该有限域阶数对应的数据块,编码所使用的有限域。提升了译码速度。In the embodiment of the present application, the finite field order is carried in the first encoded message, so that the intermediate node or the receiving end can identify the data block corresponding to the finite field order and encode the finite field used. Improved decoding speed.
结合第二方面,在第二方面的一种可能的实现方式中,第二编码系数矩阵,还包括:第五有限域的编码系数,第五有限域与第三有限域具有嵌套结构,第五有限域的阶数与第 三有限域的阶数不同。With reference to the second aspect, in a possible implementation manner of the second aspect, the second coding coefficient matrix further includes: coding coefficients of a fifth finite field, the fifth finite field and the third finite field have a nested structure, and the third finite field has a nested structure. The order of the fifth finite field is different from the order of the third finite field.
本申请实施例中,第二编码系数矩阵中的编码系数,可以包括多个具有嵌套结构的有限域。发送端可适用于多种编码场景,提升了方案的多样性。In this embodiment of the present application, the coding coefficients in the second coding coefficient matrix may include multiple finite fields with a nested structure. The sender can be applied to a variety of coding scenarios, which improves the diversity of solutions.
第三方面,本申请实施例提出一种有限域的重编码方法,包括:In a third aspect, an embodiment of the present application proposes a finite field recoding method, including:
接收一个或多个第三编码报文,第三编码报文包含g’个第四编码数据块,以及g’个第四编码数据块对应的编码系数,g’为正整数;Receive one or more third encoded messages, where the third encoded message includes g' fourth encoded data blocks, and encoding coefficients corresponding to g' fourth encoded data blocks, where g' is a positive integer;
使用第四编码系数矩阵对g’个第四编码数据块进行编码处理,生成一个或多个第五编码数据块,第五编码数据块与第四编码系数矩阵中的一组编码系数对应;Use the fourth encoding coefficient matrix to carry out encoding processing to g' fourth encoding data blocks, generate one or more fifth encoding data blocks, and the fifth encoding data blocks correspond to a group of encoding coefficients in the fourth encoding coefficient matrix;
根据一个或多个第五编码数据块,生成一个或多个重编码报文,重编码报文包含一个或多个第五编码数据块,以及一个或多个第五编码数据块对应的第四编码系数矩阵中的一组编码系数;One or more re-encoded packets are generated according to the one or more fifth encoded data blocks, where the re-encoded packet includes one or more fifth encoded data blocks, and fourth encoded data blocks corresponding to the one or more fifth encoded data blocks a set of coding coefficients in the coding coefficient matrix;
其中,第四编码系数矩阵中编码系数的有限域与第三编码报文包含的编码系数的有限域具有嵌套结构,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the finite field of the coding coefficients in the fourth coding coefficient matrix and the finite field of coding coefficients included in the third coding message have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and, The number of features is consistent;
发送一个或多个重编码报文。Send one or more recoded packets.
具体的,为了便于描述,第四编码数据块对应的编码系数,也称为第四编码数据块的编码系数。Specifically, for the convenience of description, the coding coefficient corresponding to the fourth coded data block is also referred to as the coding coefficient of the fourth coded data block.
示例性的,中间节点可以接收其它中间节点发送的第三编码报文,该其它中间节点作为该中间节点的上一跳节点。中间节点也可以接收发送端发送的第三编码报文。该第三编码报文包括第一编码报文,和/或,第二编码报文。Exemplarily, the intermediate node may receive a third encoded packet sent by another intermediate node, where the other intermediate node serves as a previous hop node of the intermediate node. The intermediate node may also receive the third encoded message sent by the sender. The third encoded message includes the first encoded message, and/or the second encoded message.
该第三编码报文包含g’个第四编码数据块,以及g’个第四编码数据块对应的编码系数,g’为正整数。The third encoded message includes g' fourth encoded data blocks and encoding coefficients corresponding to the g' fourth encoded data blocks, where g' is a positive integer.
中间节点使用第四编码系数矩阵对第四编码数据块进行编码处理,生成第五编码数据块。第五编码数据块与第四编码系数矩阵中的一组编码系数对应。为了便于描述,第四编码系数矩阵中的编码系数,称为第四编码系数。第四编码系数矩阵包括一个或多个第四编码系数。The intermediate node performs encoding processing on the fourth encoded data block by using the fourth encoding coefficient matrix to generate a fifth encoded data block. The fifth encoded data block corresponds to a set of encoded coefficients in the fourth encoded coefficient matrix. For convenience of description, the coding coefficients in the fourth coding coefficient matrix are referred to as fourth coding coefficients. The fourth encoding coefficient matrix includes one or more fourth encoding coefficients.
第四编码系数矩阵中编码系数的有限域与第三编码报文包含的编码系数的有限域具有嵌套结构,具体的,第四编码系数的有限域与第四编码数据块对应的编码系数的有限域具有嵌套结构,其中,第四编码系数的有限域,与,第四编码数据块对应的编码系数的有限域,满足以下关系:阶数存在倍数关系,且,特征数一致。示例性的,当第三编码报文为第一编码报文时,第四编码系数的有限域,与第一有限域和第二有限域具有嵌套结构;当第三编码报文为第二编码报文时,第四编码系数的有限域,与第三有限域和第四有限域具有嵌套结构。The finite field of coding coefficients in the fourth coding coefficient matrix and the finite field of coding coefficients included in the third coding message have a nested structure. Specifically, the finite field of the fourth coding coefficients and the coding coefficients corresponding to the fourth coding data block The finite field has a nested structure, wherein the finite field of the fourth coding coefficient and the finite field of coding coefficients corresponding to the fourth coded data block satisfy the following relationship: the order has a multiple relationship, and the feature numbers are consistent. Exemplarily, when the third coded message is the first coded message, the finite field of the fourth coding coefficient has a nested structure with the first finite field and the second finite field; when the third coded message is the second When encoding the message, the finite field of the fourth coding coefficient has a nested structure with the third finite field and the fourth finite field.
中间节点生成一个或多个第五编码数据块后,生成一个或多个重编码报文。一个重编码报文包括:一个或多个第五编码数据块,一个或多个第四编码系数,和/或,一个或多个第四编码数据块,一个或多个第四编码数据块的编码系数;After generating one or more fifth encoded data blocks, the intermediate node generates one or more re-encoded packets. A re-encoded message includes: one or more fifth encoded data blocks, one or more fourth encoded coefficients, and/or, one or more fourth encoded data blocks, one or more fourth encoded data blocks coding coefficients;
一种可选的实现方式中,中间节点在发送第五编码数据块时,可以采用一个重编码报 文携带一个第五编码数据块的方式进行发送,也可以采用一个重编码报文携带多个第五编码数据块的方式进行发送,这里不做具体限定。In an optional implementation manner, when sending the fifth encoded data block, the intermediate node may use a re-encoded message to carry one fifth encoded data block, or use one re-encoded message to carry multiple encoded data blocks. The transmission is performed in the manner of the fifth encoded data block, which is not specifically limited here.
以中间节点在一个重编码报文携带一个第五编码数据块的方式,发送重编码报文为例,中间节点可以针对每个第五编码数据块添加报文头构成报文,并在报文头或报文尾添加相应的第四编码系数后随报文发送。Taking the way that the intermediate node carries a fifth encoded data block in a recoded packet and sends the recoded packet as an example, the intermediate node can add a packet header to each fifth encoded data block to form a packet, and add the packet to the packet. The corresponding fourth coding coefficient is added to the header or the end of the message and then sent with the message.
可选的,还可以在重编码报文中携带有限域阶数,该有限域阶数用于指示重编码报文所携带第五编码数据块对应的有限域的阶。示例性的,该有限域阶数可以是有限域对应的幂的取值,例如,假设该重编码报文中,第五编码数据块(该第五编码数据块对应的第四编码系数)的有限域为GF(E 2),则有限域阶数可以为2。该有限域阶数还可以是重编码报文中有限域的最大幂次次数。 Optionally, a finite field order may also be carried in the recoding message, where the finite field order is used to indicate the order of the finite field corresponding to the fifth encoded data block carried in the recoding message. Exemplarily, the finite field order may be a value of a power corresponding to the finite field. For example, it is assumed that in the re-encoded message, the fifth encoded data block (the fourth encoding coefficient corresponding to the fifth encoded data block) is If the finite field is GF(E 2 ), the order of the finite field can be 2. The finite field order may also be the maximum power order of the finite field in the recoded message.
本申请实施例中,中间节点通过对发送端输出的报文进行重编码,从而发送端和中间节点可以构成一种分布式的编码,也就是说,发送端编码一部分,中间节点再编码另一部分,通过这种方式发送端可以进行复杂度较低的编码,通过中间节点对发送端输出的报文进行进一步重编码,从而可以降低网络负载,提高传输效率。In the embodiment of the present application, the intermediate node re-encodes the message output by the transmitting end, so that the transmitting end and the intermediate node can form a distributed encoding, that is, the transmitting end encodes a part, and the intermediate node encodes another part In this way, the sender can perform coding with lower complexity, and further re-encode the message output by the sender through the intermediate node, thereby reducing the network load and improving the transmission efficiency.
结合第三方面,在第三方面的一种可能的实现方式中,第四编码系数矩阵中编码系数(第四编码系数)的有限域阶数等于中间节点所在的网络中有限域的最低阶数;With reference to the third aspect, in a possible implementation manner of the third aspect, the order of the finite field of the encoding coefficients (the fourth encoding coefficient) in the fourth encoding coefficient matrix is equal to the lowest order of the finite field in the network where the intermediate node is located ;
或者,第四编码系数矩阵中编码系数的有限域阶数小于或等于中间节点所在的网络中有限域的最高阶数;Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is less than or equal to the highest order of the finite field in the network where the intermediate node is located;
或者,第四编码系数矩阵中编码系数的有限域阶数大于或等于中间节点所在的网络中有限域的最低阶数。Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is greater than or equal to the lowest order of the finite field in the network where the intermediate node is located.
具体的,在一种可选的实现方式中,第四编码系数的有限域阶数等于中间节点所在的网络中有限域的最低阶数。示例性的,当该中间节点所在网络中有限域的最低阶数为d0,该最低阶数的有限域为GF(E d0),E为素数,d0为正整数。则第四编码系数所在的有限域为GF(E d0)。 Specifically, in an optional implementation manner, the order of the finite field of the fourth coding coefficient is equal to the lowest order of the finite field in the network where the intermediate node is located. Exemplarily, when the lowest order of the finite field in the network where the intermediate node is located is d0, the finite field of the lowest order is GF(E d0 ), E is a prime number, and d0 is a positive integer. Then the finite field where the fourth coding coefficient is located is GF(E d0 ).
在另一种可选的实现方式中,第四编码系数的有限域阶数小于或等于中间节点所在的网络中有限域的最高阶数,或,第四编码系数的有限域阶数大于或等于中间节点所在的网络中有限域的最低阶数。示例性的,当该中间节点所在网络中有限域的最低阶数为d0,该最低阶数的有限域为GF(E d0),E为素数,d0为正整数。该中间节点所在网络中有限域的最高阶数为dmax,该最高阶数的有限域为GF(E dmax),dmax为正整数。则该第四有限域的阶数的取值范围为:小于或等于dmax,大于或等于d0。 In another optional implementation manner, the finite field order of the fourth coding coefficient is less than or equal to the highest order of the finite field in the network where the intermediate node is located, or, the finite field order of the fourth coding coefficient is greater than or equal to The lowest order of the finite field in the network where the intermediate nodes are located. Exemplarily, when the lowest order of the finite field in the network where the intermediate node is located is d0, the finite field of the lowest order is GF(E d0 ), E is a prime number, and d0 is a positive integer. The highest order of the finite field in the network where the intermediate node is located is dmax, the finite field of the highest order is GF(E dmax ), and dmax is a positive integer. Then the value range of the order of the fourth finite field is: less than or equal to dmax, and greater than or equal to d0.
本申请实施例中,第四编码系数的有限域阶数,可以有多种取值方案。使得中间节点可适用于多种网络场景。增加了中间节点的适用范围。In the embodiment of the present application, the finite field order of the fourth coding coefficient may have various value schemes. This makes the intermediate node applicable to various network scenarios. Increased the scope of application of intermediate nodes.
结合第三方面,在第三方面的一种可能的实现方式中,In combination with the third aspect, in a possible implementation manner of the third aspect,
第四编码数据块为Xi,1≤i≤u,i为正整数,u为正整数;The fourth encoded data block is Xi, 1≤i≤u, i is a positive integer, and u is a positive integer;
第四编码系数为γ uv,其中,v大于1的正整数; The fourth coding coefficient is γ uv , where v is a positive integer greater than 1;
第五编码数据块为Y v,其中,
Figure PCTCN2021112380-appb-000009
其中,1≤j≤v。
The fifth encoded data block is Y v , where,
Figure PCTCN2021112380-appb-000009
Among them, 1≤j≤v.
具体的,第三编码报文(包括第一编码报文/第二编码报文)为X 1~X i,其中,一个第 三编码报文可以包括一个第四编码数据块和该第四编码数据块对应的编码系数。中间节点将X 1~X i与第四编码系数矩阵进行相乘,得到新报文Y 1~Y v。其中,第四编码系数矩阵包括的编码系数属于重编码的有限域,第四编码系数矩阵的第1行编码系数可以为{γ 1,1…γ 1,v},X 1~X u与{γ 1,1…γ 1,v}相乘,得到Y 1,依次类推,第四编码系数矩阵的第u行编码系数可以为{γ u,1…γ u,v},X 1~X u与{γ u,1…γ u,v}相乘,得到Y vSpecifically, the third encoded message (including the first encoded message/the second encoded message) is X 1 to X i , wherein a third encoded message may include a fourth encoded data block and the fourth encoded message Coding coefficients corresponding to the data block. The intermediate node multiplies X 1 ˜X i by the fourth coding coefficient matrix to obtain new messages Y 1 ˜Y v . The coding coefficients included in the fourth coding coefficient matrix belong to the re-coded finite field, and the coding coefficients in the first row of the fourth coding coefficient matrix may be {γ 1,1 ...γ 1,v }, X 1 to X u and { Multiply γ 1,1 ...γ 1,v } to obtain Y 1 , and so on, the coding coefficient of the uth row of the fourth coding coefficient matrix can be {γ u,1 ...γ u,v }, X 1 ~X u Multiply by {γ u,1 …γ u,v } to get Y v .
第四方面,本申请实施例提出一种有限域译码方法,方法包括:In a fourth aspect, an embodiment of the present application proposes a finite field decoding method, the method comprising:
接收一个或多个第四编码报文,其中,一个第四编码报文包括t’个第六编码数据块和t’个第六编码数据块的编码系数,t’为正整数;Receive one or more fourth encoded messages, wherein, a fourth encoded message includes the encoding coefficients of t' sixth encoded data blocks and t' sixth encoded data blocks, and t' is a positive integer;
采用第一译码方式对一个或多个第四编码报文在低次有限域和高次有限域内进行译码操作,生成k个源数据块,k为正整数,The first decoding method is used to perform decoding operations on one or more fourth coded messages in a low-order finite field and a high-order finite field to generate k source data blocks, where k is a positive integer,
低次有限域为接收端所在的网络中阶数最低的有限域,高次有限域为第六编码数据块对应的编码系数的任一高阶有限域,高次有限域的阶数高于低次有限域的阶数,低次有限域与高次有限域具有嵌套结构,其中,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;The low-order finite field is the finite field with the lowest order in the network where the receiver is located, and the high-order finite field is any higher-order finite field of the coding coefficients corresponding to the sixth encoded data block, and the order of the high-order finite field is higher than the low-order finite field. The order of the second-order finite field, the lower-order finite field and the higher-order finite field have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
或者,采用第二译码方式在第六编码数据块对应的编码系数的最高阶有限域内,对一个或多个第四编码报文进行译码操作,生成k’个源数据块,最高阶有限域为第六编码数据块对应的编码系数的最高阶有限域,k’为正整数。Alternatively, a second decoding method is used to perform a decoding operation on one or more fourth encoded packets in the highest-order finite field of the encoding coefficients corresponding to the sixth encoded data block to generate k' source data blocks, the highest-order finite The domain is the highest-order finite domain of the coding coefficients corresponding to the sixth coded data block, and k' is a positive integer.
具体的,接收端接收一个或多个第四编码报文。该第四编码报文可以是:第二编码报文或重编码报文。该第二编码报文,可以是由中间节点直接发送至接收端,也可以是由中间节点经过编码(也称为重编码)后转发至接收端,此处不做限制。Specifically, the receiving end receives one or more fourth encoded packets. The fourth encoded message may be: a second encoded message or a re-encoded message. The second encoded message may be directly sent by the intermediate node to the receiving end, or may be forwarded to the receiving end after being encoded (also called re-encoding) by the intermediate node, which is not limited here.
本申请实施例中,由于接收端接收的第四编码报文,利用了具有嵌套结构的有限域进行编码。从译码速度或吞吐量角度,将译码过程中高次有限域的译码运算,变换至低次有限域(例如:当前网络中的最低次有限域),有效降低了计算复杂度,提升了译码速度和数据吞吐量。In the embodiment of the present application, the fourth encoded message received by the receiving end is encoded by using a finite field with a nested structure. From the perspective of decoding speed or throughput, the decoding operation of the high-order finite field in the decoding process is transformed into a low-order finite field (for example, the lowest-order finite field in the current network), which effectively reduces the computational complexity and improves the Decoding speed and data throughput.
结合第四方面,在第四方面的一种可能的实现方式中,采用第一译码方式对一个或多个第四编码报文进行译码操作,生成k个源数据块包括:With reference to the fourth aspect, in a possible implementation manner of the fourth aspect, the first decoding method is used to perform a decoding operation on one or more fourth encoded packets, and the generation of k source data blocks includes:
对一个或多个第四编码报文在低次有限域内进行第一译码运算;performing a first decoding operation on one or more fourth encoded messages in a low-order finite field;
对第一译码运算得到的结果,在高次有限域中进行第二译码运算,生成k个源数据块。For the result obtained by the first decoding operation, a second decoding operation is performed in a high-order finite field to generate k source data blocks.
本申请实施例中,在接收端进行译码时,可以首先在低次有限域进行译码,并使用该低次有限域的译码结果,在高次有限域进行进一步译码,最终得到一个或多个源数据块。在低次有限域中进行译码,有效降低对接收端算力的要求。而保留在高次有限域的译码,提升了译码成功率。In the embodiment of the present application, when decoding is performed at the receiving end, decoding may be performed in a low-order finite field first, and the decoding result of the lower-order finite field may be used to further decode in a higher-order finite field, and finally a or multiple source data blocks. Decoding in a low-order finite field effectively reduces the computing power requirements of the receiver. The decoding reserved in the high-order finite field improves the decoding success rate.
结合第四方面,在第四方面的一种可能的实现方式中,对一个或多个第四编码报文在低次有限域内进行第一译码运算,包括:With reference to the fourth aspect, in a possible implementation manner of the fourth aspect, a first decoding operation is performed on one or more fourth encoded packets in a low-order finite field, including:
根据一个或多个第四编码报文中第六编码数据块对应的编码系数,确定低次有限域的编码系数和高次有限域的编码系数;According to the coding coefficients corresponding to the sixth coded data block in the one or more fourth coded messages, the coding coefficients of the lower-order finite field and the coding coefficients of the higher-order finite field are determined;
由低次有限域的编码系数,组成低次域编码系数矩阵;The low-order domain coding coefficient matrix is composed of the coding coefficients of the low-order finite field;
根据低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,其中,According to the low-order domain coding coefficient matrix, the first decoding matrix and the second decoding matrix are composed, wherein,
第一译码矩阵的编码系数中对应高次有限域的编码系数组成第一高次域编码系数组,第一高次域编码系数组的有限域为第六编码数据块对应的编码系数的所有高次有限域中阶数最低的有限域;The coding coefficients corresponding to the high-order finite field in the coding coefficients of the first decoding matrix form the first high-order field coding coefficient group, and the finite field of the first high-order field coding coefficient group is all the coding coefficients corresponding to the sixth coded data block. The finite field with the lowest order among the higher-order finite fields;
第二译码矩阵的编码系数中对应高次有限域的编码系数组成第二高次域编码系数组,第二高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组外的其它编码系数的有限域,第二高次域编码系数组的有限域阶数小于或等于接收端支持的最高阶有限域阶数;Among the coding coefficients of the second decoding matrix, the coding coefficients corresponding to the high-order finite field form the second high-order field coding coefficient group, and the finite field of the second high-order field coding coefficient group is divided by the coding coefficients corresponding to the sixth coded data block. The finite fields of other coding coefficients other than the first high-order finite field coding coefficient group, and the finite field order of the second high-order field coding coefficient group is less than or equal to the highest-order finite field order supported by the receiving end;
对第二译码矩阵进行译码操作,生成第一译码子矩阵和第二译码子矩阵,其中,第一译码子矩阵为零矩阵,第二译码矩阵为对角线系数为1的单位矩阵;Perform a decoding operation on the second decoding matrix to generate a first decoding sub-matrix and a second decoding sub-matrix, wherein the first decoding sub-matrix is a zero matrix, and the second decoding matrix is a diagonal coefficient of 1 the identity matrix of ;
当第二译码矩阵进行译码操作时,对第一译码矩阵同步译码操作,生成第三译码子矩阵和第四译码子矩阵;When the second decoding matrix performs a decoding operation, the first decoding matrix is synchronously decoded to generate a third decoding sub-matrix and a fourth decoding sub-matrix;
在一种可选的实现方式中,第三译码子矩阵的行数与第一译码子矩阵的行数一致,第四译码子矩阵的行数与第二译码子矩阵的行数一致;In an optional implementation manner, the number of rows of the third decoding sub-matrix is the same as the number of rows of the first decoding sub-matrix, and the number of rows of the fourth decoding sub-matrix is the same as the number of rows of the second decoding sub-matrix number the same;
在另一种可选的实现方式中,第三译码子矩阵的列数与第一译码子矩阵的列数一致,第四译码子矩阵的列数与第二译码子矩阵的列数一致;In another optional implementation manner, the number of columns of the third decoding sub-matrix is consistent with the number of columns of the first decoding sub-matrix, and the number of columns of the fourth decoding sub-matrix is the same as the number of columns of the second decoding sub-matrix. The number of columns is the same;
当第一译码矩阵进行译码操作时,对第一译码矩阵对应的第六编码数据块进行同步译码操作,生成待译码数据。When the first decoding matrix performs a decoding operation, a synchronous decoding operation is performed on the sixth encoded data block corresponding to the first decoding matrix to generate data to be decoded.
结合第四方面,在第四方面的一种可能的实现方式中,With reference to the fourth aspect, in a possible implementation manner of the fourth aspect,
对第一译码运算得到的结果,在高次有限域中进行第二译码运算,生成一个或多个源数据块包括:For the result obtained by the first decoding operation, a second decoding operation is performed in a high-order finite field, and generating one or more source data blocks includes:
第一译码运算得到的结果包括第三译码子矩阵、第四译码子矩阵,和待译码数据,The result obtained by the first decoding operation includes the third decoding sub-matrix, the fourth decoding sub-matrix, and the data to be decoded,
根据第四译码子矩阵,确定第四译码子矩阵对应的第五译码子矩阵,第五译码子矩阵由高次有限域的编码系数组成;According to the fourth decoding sub-matrix, the fifth decoding sub-matrix corresponding to the fourth decoding sub-matrix is determined, and the fifth decoding sub-matrix is composed of coding coefficients of high-order finite fields;
根据第四译码子矩阵和第五译码子矩阵,生成第六译码子矩阵,其中,第六译码子矩阵中的向量由第五译码子矩阵的一组编码系数与第四译码子矩阵的一组编码系数在第五译码子矩阵对应的有限域中做加法得到;A sixth decoding sub-matrix is generated according to the fourth decoding sub-matrix and the fifth decoding sub-matrix, wherein the vectors in the sixth decoding sub-matrix are composed of a set of coding coefficients of the fifth decoding sub-matrix and the fourth decoding sub-matrix. A set of coding coefficients of the code sub-matrix is obtained by addition in the finite field corresponding to the fifth decoding sub-matrix;
根据第三译码子矩阵和第六译码子矩阵,组成第四译码矩阵;According to the third decoding sub-matrix and the sixth decoding sub-matrix, form a fourth decoding matrix;
对第四译码矩阵进行译码操作,生成对角线系数为1的单位矩阵;A decoding operation is performed on the fourth decoding matrix to generate a unit matrix with a diagonal coefficient of 1;
对第四译码矩阵进行译码操作时,对待译码数据进行同步译码操作,生成k个源数据块。When performing a decoding operation on the fourth decoding matrix, a synchronous decoding operation is performed on the data to be decoded to generate k source data blocks.
结合第四方面,在第四方面的一种可能的实现方式中,根据低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,包括:With reference to the fourth aspect, in a possible implementation manner of the fourth aspect, the first decoding matrix and the second decoding matrix are formed according to the low-order domain coding coefficient matrix, including:
根据低次域编码系数矩阵,组成第一译码矩阵、第二译码矩阵和第三译码矩阵,其中,第三译码矩阵中对应高次有限域的编码系数组成第三高次域编码系数组,第三高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组和第二高次有限域编码系数组外的其它编码系数的有限域,对应第三高次域编码系数组的有限域 阶数高于接收端支持的最高阶有限域阶数;According to the low-order domain coding coefficient matrix, a first decoding matrix, a second decoding matrix and a third decoding matrix are formed, wherein the coding coefficients corresponding to the high-order finite field in the third decoding matrix form the third high-order domain coding Coefficient group, the finite field of the third higher-order domain coding coefficient group is the coding coefficients corresponding to the sixth coded data block except the first higher-order finite-field coding coefficient group and the second higher-order finite-field coding coefficient group. Other coding coefficients The finite field of , the order of the finite field corresponding to the third high-order field coding coefficient group is higher than the highest-order finite field order supported by the receiver;
对第三译码矩阵进行译码操作,生成零矩阵。A decoding operation is performed on the third decoding matrix to generate a zero matrix.
本申请实施例中,接收端可以丢弃超过自身算力的报文,以节省计算资源,提升译码速度。In this embodiment of the present application, the receiving end may discard packets that exceed its own computing power, so as to save computing resources and improve decoding speed.
结合第四方面,在第四方面的一种可能的实现方式中,对于k个源数据块,其中,k为正整数,With reference to the fourth aspect, in a possible implementation manner of the fourth aspect, for k source data blocks, where k is a positive integer,
当满足以下条件时,对w个第四编码报文进行译码,包括:When the following conditions are met, the w fourth encoded packets are decoded, including:
Figure PCTCN2021112380-appb-000010
Figure PCTCN2021112380-appb-000010
其中,
Figure PCTCN2021112380-appb-000011
Figure PCTCN2021112380-appb-000012
矩阵,
Figure PCTCN2021112380-appb-000013
满足
Figure PCTCN2021112380-appb-000014
第三译码矩阵为
Figure PCTCN2021112380-appb-000015
高次域编码系数矩阵为G,高次域编码系数矩阵由高次有限域的编码系数组成,低次域编码系数矩阵H,w为正整数。
in,
Figure PCTCN2021112380-appb-000011
for
Figure PCTCN2021112380-appb-000012
matrix,
Figure PCTCN2021112380-appb-000013
satisfy
Figure PCTCN2021112380-appb-000014
The third decoding matrix is
Figure PCTCN2021112380-appb-000015
The high-order domain coding coefficient matrix is G, the high-order domain coding coefficient matrix is composed of coding coefficients of the high-order finite domain, and the low-order domain coding coefficient matrix H, w is a positive integer.
本申请实施例中,接收端通过检测第四编码报文,确定对该第四编码报文的译码时间点。接收端在接收足够数量的第四编码报文后,再对这些第四编码报文进行译码,以保证译码的准确性。In the embodiment of the present application, the receiving end determines the decoding time point of the fourth encoded message by detecting the fourth encoded message. After receiving a sufficient number of fourth coded packets, the receiving end decodes these fourth coded packets to ensure the accuracy of the decoding.
结合第四方面,在第四方面的一种可能的实现方式中,采用第二译码方式对一个或多个第四编码报文进行译码操作,生成一个或多个源数据块,包括:In conjunction with the fourth aspect, in a possible implementation manner of the fourth aspect, a second decoding method is used to perform a decoding operation on one or more fourth encoded packets to generate one or more source data blocks, including:
在第六编码数据块的编码系数对应的最高阶有限域内,对第六编码数据块进行译码,使得第六编码数据块的编码系数组成的矩阵经过译码后得到单位矩阵;In the highest-order finite field corresponding to the coding coefficients of the sixth coded data block, the sixth coded data block is decoded, so that the matrix formed by the coding coefficients of the sixth coded data block is decoded to obtain a unit matrix;
第六编码数据块的编码系数组成的矩阵进行译码操作时,对第六编码数据块进行同步译码操作,生成k’个源数据块。When the matrix composed of the coding coefficients of the sixth coded data block is subjected to a decoding operation, a synchronous decoding operation is performed on the sixth coded data block to generate k' source data blocks.
本申请实施例中,接收端接收的第四编码报文,利用了具有嵌套结构的有限域进行编码。由于而具有嵌套结构的有限域中,可以使用等价乘法表(或等价加法表)进行乘法运算(或加法运算)。因此,在接收端进行译码时,可以在第六编码数据块的编码系数对应的最高阶有限域内,对第六编码数据块进行译码。有效降低了计算复杂度,提升了译码速度和数据吞吐量。并且,提升了方案的实现灵活性。In the embodiment of the present application, the fourth encoded message received by the receiving end is encoded by using a finite field with a nested structure. In a finite field with a nested structure, an equivalent multiplication table (or an equivalent addition table) can be used to perform multiplication (or addition). Therefore, when decoding is performed at the receiving end, the sixth encoded data block can be decoded within the highest-order finite field corresponding to the encoding coefficients of the sixth encoded data block. The computational complexity is effectively reduced, and the decoding speed and data throughput are improved. Moreover, the implementation flexibility of the solution is improved.
第五方面,本申请提出一种网络装置,包括:In a fifth aspect, the present application provides a network device, comprising:
处理模块,用于使用第一编码系数矩阵对k个源数据块进行编码处理,生成k个第一编码数据块,第一编码数据块与第一编码系数矩阵中的一组编码系数对应,k为正整数;The processing module is configured to use the first coding coefficient matrix to perform coding processing on the k source data blocks to generate k first coded data blocks, where the first coded data blocks correspond to a set of coding coefficients in the first coding coefficient matrix, and k is a positive integer;
处理模块,还用于根据k个第一编码数据块,生成一个或多个第一编码报文,第一编码报文包含一个或多个第一编码数据块,以及一个或多个第一编码数据块对应的第一编码系数矩阵中的一组编码系数;The processing module is further configured to generate one or more first encoded messages according to the k first encoded data blocks, where the first encoded message includes one or more first encoded data blocks and one or more first encoded data blocks a group of coding coefficients in the first coding coefficient matrix corresponding to the data block;
其中,第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,第一有限域和第二有限域为具有嵌套结构的有限域,且,第二有限域的阶数高于第一有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the first coding coefficient matrix includes coding coefficients of the first finite field and coding coefficients of the second finite field, the first finite field and the second finite field are finite fields with a nested structure, and the order of the second finite field The number is higher than the first finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
收发模块,用于发送一个或多个第一编码报文。The transceiver module is used for sending one or more first encoded messages.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
源数据块为:p j,其中,j为正整数,1≤j≤k; The source data block is: p j , where j is a positive integer, 1≤j≤k;
第一有限域的编码系数和第二有限域的编码系数为α n,k,n为正整数; The coding coefficients of the first finite field and the coding coefficients of the second finite field are α n,k , where n is a positive integer;
一个或多个第一编码数据块包括:c n,其中,
Figure PCTCN2021112380-appb-000016
The one or more first encoded data blocks include: c n , wherein,
Figure PCTCN2021112380-appb-000016
在本申请的一些可选实施例中,第一编码报文还包含一个或多个源数据块,源数据块与单位矩阵中的一组编码系数对应,单位矩阵的尺寸与第一编码系数矩阵相同。In some optional embodiments of the present application, the first encoded message further includes one or more source data blocks, the source data blocks correspond to a set of encoding coefficients in the unit matrix, and the size of the unit matrix is the same as that of the first encoding coefficient matrix same.
在本申请的一些可选实施例中,第一有限域的编码系数,携带于第一编码报文的网络层或数据链路层;In some optional embodiments of the present application, the coding coefficients of the first finite field are carried at the network layer or the data link layer of the first coded message;
第二有限域的编码系数,携带于第一编码报文的传输层。The coding coefficients of the second finite field are carried in the transport layer of the first coded message.
第六方面,本申请提出一种网络装置,包括:In a sixth aspect, the present application provides a network device, comprising:
处理模块,用于使用第二编码系数矩阵对k个源数据块进行编码处理,生成k个第二编码数据块,第二编码数据块与第二编码系数矩阵中的一组编码系数对应,k为正整数;The processing module is configured to use the second encoding coefficient matrix to perform encoding processing on the k source data blocks to generate k second encoded data blocks, where the second encoded data blocks correspond to a set of encoding coefficients in the second encoding coefficient matrix, and k is a positive integer;
处理模块,还用于使用第三编码系数矩阵对k个第二编码数据块和k个源数据块进行编码处理,生成g个第三编码数据块,第三编码数据块与第三编码系数矩阵中的一组编码系数对应,g为正整数;The processing module is further configured to perform encoding processing on the k second encoded data blocks and the k source data blocks by using the third encoding coefficient matrix to generate g third encoded data blocks, the third encoded data block and the third encoding coefficient matrix Corresponding to a set of coding coefficients in , g is a positive integer;
处理模块,还用于根据k个第二编码数据块以及g个第三编码数据块,生成一个或多个第二编码报文,一个第二编码报文包括:一个或多个第三编码数据块和一个或多个第三编码数据块的编码系数,第二编码报文包含一个或多个第三编码数据块,以及第三编码系数矩阵对应的编码系数;The processing module is further configured to generate one or more second encoded packets according to the k second encoded data blocks and the g third encoded data blocks, where a second encoded packet includes: one or more third encoded data blocks encoding coefficients of the block and one or more third encoded data blocks, the second encoded message includes one or more third encoded data blocks, and encoding coefficients corresponding to the third encoding coefficient matrix;
其中,第二编码系数矩阵包括第三有限域的编码系数,第三编码系数矩阵包括第四有限域的编码系数,第三有限域和第四有限域为具有嵌套结构的有限域,且,第四有限域的阶数高于第三有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the second coding coefficient matrix includes the coding coefficients of the third finite field, the third coding coefficient matrix includes the coding coefficients of the fourth finite field, the third finite field and the fourth finite field are finite fields with a nested structure, and, The order of the fourth finite field is higher than that of the third finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent;
收发模块,用于发送一个或多个第二编码报文。The transceiver module is used for sending one or more second encoded messages.
在本申请的一些可选实施例中,第二编码报文还包括:In some optional embodiments of the present application, the second encoded message further includes:
一个或多个第二编码数据块,以及一个或多个第二编码数据块对应的第二编码系数矩阵中的一组编码系数,one or more second coded data blocks, and a set of coding coefficients in the second coding coefficient matrix corresponding to the one or more second coded data blocks,
和/或,一个或多个源数据块,源数据块与单位矩阵中的一组编码系数对应,单位矩阵的尺寸由第二编码数据块的数量和源数据块的数量确定。And/or, one or more source data blocks, the source data blocks correspond to a set of coding coefficients in an identity matrix, and the size of the identity matrix is determined by the number of second coded data blocks and the number of source data blocks.
在本申请的一些可选实施例中,源数据块为:p j,其中,j为正整数,1≤j≤k; In some optional embodiments of the present application, the source data block is: p j , where j is a positive integer, and 1≤j≤k;
第三有限域的编码系数为α′ n,k,n为正整数; The coding coefficient of the third finite field is α′ n,k , where n is a positive integer;
一个或多个第二编码数据块包括:c′ n,其中,
Figure PCTCN2021112380-appb-000017
The one or more second encoded data blocks include: c' n , wherein,
Figure PCTCN2021112380-appb-000017
第四有限域的编码系数为β m,k+nThe coding coefficient of the fourth finite field is β m,k+n ;
一个或多个第三编码数据块包括:b m,其中,
Figure PCTCN2021112380-appb-000018
m为正整数。
The one or more third encoded data blocks include: b m , wherein,
Figure PCTCN2021112380-appb-000018
m is a positive integer.
在本申请的一些可选实施例中,第三有限域的编码系数,携带于第二编码报文的传输层;In some optional embodiments of the present application, the coding coefficients of the third finite field are carried in the transport layer of the second coded message;
第四有限域的编码系数,携带于第二编码报文的网络层或数据链路层。The coding coefficients of the fourth finite field are carried in the network layer or the data link layer of the second coded message.
在本申请的一些可选实施例中,一个或多个第二编码报文还包括有限域阶数,有限域阶数包括第二编码数据块的编码系数所在有限域阶数、第三编码数据块的编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。In some optional embodiments of the present application, the one or more second encoded packets further include a finite field order, and the finite field order includes the finite field order where the encoding coefficients of the second encoded data block are located, and the third encoded data The order of the finite field where the coding coefficients of the block are located, and/or the order of the finite field where the coding coefficients of the source data block are located.
在本申请的一些可选实施例中,第二编码系数矩阵,还包括:第五有限域的编码系数,第五有限域与第三有限域具有嵌套结构,其中,第五有限域与第三有限域,满足以下关系:阶数存在倍数关系,且,特征数一致。In some optional embodiments of the present application, the second coding coefficient matrix further includes: coding coefficients of a fifth finite field, where the fifth finite field and the third finite field have a nested structure, wherein the fifth finite field and the third finite field have a nested structure. The three finite fields satisfy the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent.
第七方面,本申请提出一种网络装置,包括:In a seventh aspect, the present application provides a network device, comprising:
收发模块,用于接收一个或多个第三编码报文,第三编码报文包含g’个第四编码数据块,以及g’个第四编码数据块对应的编码系数,g’为正整数;A transceiver module, configured to receive one or more third encoded packets, where the third encoded packet includes g' fourth encoded data blocks and encoding coefficients corresponding to the g' fourth encoded data blocks, where g' is a positive integer ;
处理模块,用于使用第四编码系数矩阵对g’个第四编码数据块进行编码处理,生成一个或多个第五编码数据块,第五编码数据块与第四编码系数矩阵中的一组编码系数对应;A processing module, configured to perform encoding processing on g' fourth encoded data blocks by using the fourth encoding coefficient matrix to generate one or more fifth encoded data blocks, the fifth encoded data block and a group of the fourth encoded coefficient matrix Corresponding coding coefficients;
处理模块,还用于根据一个或多个第五编码数据块,生成一个或多个重编码报文,重编码报文包含一个或多个第五编码数据块,以及一个或多个第五编码数据块对应的第四编码系数矩阵中的一组编码系数;The processing module is further configured to generate one or more re-encoded messages according to one or more fifth encoded data blocks, where the re-encoded message includes one or more fifth encoded data blocks and one or more fifth encoded data blocks a group of coding coefficients in the fourth coding coefficient matrix corresponding to the data block;
其中,第四编码系数矩阵中编码系数的有限域与第三编码报文包含的编码系数的有限域具有嵌套结构,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the finite field of the coding coefficients in the fourth coding coefficient matrix and the finite field of coding coefficients included in the third coding message have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and, The number of features is consistent;
收发模块,还用于发送一个或多个重编码报文。The transceiver module is also used to send one or more recoded messages.
在本申请的一些可选实施例中,第四编码系数矩阵中编码系数的有限域阶数等于中间节点所在的网络中有限域的最低阶数;In some optional embodiments of the present application, the finite field order of the coding coefficients in the fourth coding coefficient matrix is equal to the lowest order of the finite field in the network where the intermediate node is located;
或者,第四编码系数矩阵中编码系数的有限域阶数小于或等于中间节点所在的网络中有限域的最高阶数;Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is less than or equal to the highest order of the finite field in the network where the intermediate node is located;
或者,第四编码系数矩阵中编码系数的有限域阶数大于或等于中间节点所在的网络中有限域的最低阶数。Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is greater than or equal to the lowest order of the finite field in the network where the intermediate node is located.
在本申请的一些可选实施例中,第四编码数据块为Xi,1≤i≤u,i为正整数,u为正整数;In some optional embodiments of the present application, the fourth encoded data block is Xi, 1≤i≤u, i is a positive integer, and u is a positive integer;
第四编码系数为γ u,v,其中,v大于1的正整数; The fourth coding coefficient is γ u,v , where v is a positive integer greater than 1;
第五编码数据块为Y v,其中,
Figure PCTCN2021112380-appb-000019
其中,1≤j≤v。
The fifth encoded data block is Y v , where,
Figure PCTCN2021112380-appb-000019
Among them, 1≤j≤v.
第八方面,本申请提出一种网络装置,包括:In an eighth aspect, the present application provides a network device, comprising:
收发模块,用于接收一个或多个第四编码报文,第四编码报文包含t’个第六编码数据块,以及t’个第六编码数据块对应的编码系数,t’为正整数;The transceiver module is used to receive one or more fourth encoded messages, where the fourth encoded message includes t' sixth encoded data blocks and encoding coefficients corresponding to the t' sixth encoded data blocks, where t' is a positive integer ;
处理模块,用于采用第一译码方式对一个或多个第四编码报文在低次有限域和高次有限域内进行译码操作,生成k个源数据块,k为正整数;a processing module, configured to perform a decoding operation on one or more fourth encoded messages in a low-order finite field and a high-order finite field by using the first decoding method, and generate k source data blocks, where k is a positive integer;
低次有限域为接收端所在的网络中阶数最低的有限域,高次有限域为第六编码数据块对应的编码系数的任一高阶有限域,高次有限域的阶数高于低次有限域的阶数,低次有限域与高次有限域具有嵌套结构,其中,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;The low-order finite field is the finite field with the lowest order in the network where the receiver is located, and the high-order finite field is any higher-order finite field of the coding coefficients corresponding to the sixth encoded data block, and the order of the high-order finite field is higher than the low-order finite field. The order of the second-order finite field, the lower-order finite field and the higher-order finite field have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
或者,or,
处理模块,还用于采用第二译码方式在第六编码数据块对应的编码系数的最高阶有限域内,对一个或多个第四编码报文进行译码操作,生成k”个源数据块,最高阶有限域为第六编码数据块对应的编码系数的最高阶有限域。The processing module is further configured to perform a decoding operation on one or more fourth encoded messages in the highest-order finite field of the encoding coefficients corresponding to the sixth encoded data block by using the second decoding method to generate k" source data blocks , the highest-order finite field is the highest-order finite field of the coding coefficients corresponding to the sixth coded data block.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理模块,具体用于对一个或多个第四编码报文在低次有限域内进行第一译码运算;a processing module, specifically configured to perform a first decoding operation on one or more fourth encoded packets in a low-order finite field;
处理模块,具体用于对第一译码运算得到的结果,在高次有限域中进行第二译码运算,生成k个源数据块。The processing module is specifically configured to perform a second decoding operation on the result obtained by the first decoding operation in a high-order finite field to generate k source data blocks.
在本申请的一些可选实施例中,处理模块,具体用于根据一个或多个第四编码报文中第六编码数据块对应的编码系数,确定低次有限域的编码系数和高次有限域的编码系数;In some optional embodiments of the present application, the processing module is specifically configured to determine, according to the coding coefficients corresponding to the sixth coded data block in one or more fourth coded packets, the coding coefficients of the lower-order finite field and the coding coefficients of the higher-order finite field the coding coefficients of the domain;
处理模块,具体用于由低次有限域的编码系数,组成低次域编码系数矩阵;a processing module, which is specifically used to form a low-order domain coding coefficient matrix from coding coefficients of a low-order finite field;
处理模块,具体用于根据低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,其中,第一译码矩阵的编码系数中对应高次有限域的编码系数组成第一高次域编码系数组,第一高次域编码系数组的有限域为第六编码数据块对应的编码系数的所有高次有限域中阶数最低的有限域;The processing module is specifically configured to form a first decoding matrix and a second decoding matrix according to the low-order domain encoding coefficient matrix, wherein the encoding coefficients corresponding to the high-order finite field in the encoding coefficients of the first decoding matrix form the first high-order finite field. A sub-domain coding coefficient group, the finite field of the first higher-order domain coding coefficient group is the finite field with the lowest order among all the higher-order finite fields of the coding coefficients corresponding to the sixth coded data block;
第二译码矩阵的编码系数中对应高次有限域的编码系数组成第二高次域编码系数组,第二高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组外的其它编码系数的有限域,第二高次域编码系数组的有限域阶数小于或等于接收端支持的最高阶有限域阶数;Among the coding coefficients of the second decoding matrix, the coding coefficients corresponding to the high-order finite field form the second high-order field coding coefficient group, and the finite field of the second high-order field coding coefficient group is divided by the coding coefficients corresponding to the sixth coded data block. The finite fields of other coding coefficients other than the first high-order finite field coding coefficient group, and the finite field order of the second high-order field coding coefficient group is less than or equal to the highest-order finite field order supported by the receiving end;
处理模块,具体用于对第二译码矩阵进行译码操作,生成第一译码子矩阵和第二译码子矩阵,其中,第一译码子矩阵为零矩阵,第二译码矩阵为单位矩阵;The processing module is specifically used to perform a decoding operation on the second decoding matrix to generate a first decoding sub-matrix and a second decoding sub-matrix, wherein the first decoding sub-matrix is a zero matrix, and the second decoding matrix is identity matrix;
处理模块,具体用于当第二译码矩阵进行译码操作时,对第一译码矩阵同步译码操作,生成第三译码子矩阵和第四译码子矩阵,其中,第三译码子矩阵的行数与第一译码子矩阵的行数一致,第四译码子矩阵的行数与第二译码子矩阵的行数一致,或,第三译码子矩阵的列数与第一译码子矩阵的列数一致,第四译码子矩阵的列数与第二译码子矩阵的列数一致;The processing module is specifically configured to perform a synchronous decoding operation on the first decoding matrix when the second decoding matrix performs a decoding operation to generate a third decoding sub-matrix and a fourth decoding sub-matrix, wherein the third decoding sub-matrix is The number of rows of the sub-matrix is the same as the number of rows of the first decoding sub-matrix, the number of rows of the fourth decoding sub-matrix is the same as the number of rows of the second decoding sub-matrix, or the columns of the third decoding sub-matrix The number is consistent with the column number of the first decoding sub-matrix, and the column number of the fourth decoding sub-matrix is consistent with the column number of the second decoding sub-matrix;
处理模块,具体用于当第一译码矩阵进行译码操作时,对第六编码数据块,进行同步译码操作,生成待译码数据。The processing module is specifically configured to perform a synchronous decoding operation on the sixth encoded data block to generate data to be decoded when the first decoding matrix performs a decoding operation.
在本申请的一些可选实施例中,第一译码运算得到的结果包括第三译码子矩阵、第四译码子矩阵,和待译码数据,In some optional embodiments of the present application, the result obtained by the first decoding operation includes the third decoding sub-matrix, the fourth decoding sub-matrix, and the data to be decoded,
处理模块,具体用于根据第四译码子矩阵,确定第四译码子矩阵对应的第五译码子矩阵,第五译码子矩阵由高次有限域的编码系数组成;The processing module is specifically used for determining the fifth decoding sub-matrix corresponding to the fourth decoding sub-matrix according to the fourth decoding sub-matrix, and the fifth decoding sub-matrix is composed of coding coefficients of high-order finite fields;
处理模块,具体用于根据第四译码子矩阵和第五译码子矩阵,生成第六译码子矩阵,其中,第六译码子矩阵中的向量由第五译码子矩阵的一组编码系数与第四译码子矩阵的一组编码系数在第五译码子矩阵对应的有限域中做加法得到;The processing module is specifically configured to generate a sixth decoding sub-matrix according to the fourth decoding sub-matrix and the fifth decoding sub-matrix, wherein the vectors in the sixth decoding sub-matrix are composed of a group of the fifth decoding sub-matrix. The coding coefficients and a group of coding coefficients of the fourth decoding sub-matrix are obtained by addition in the finite field corresponding to the fifth decoding sub-matrix;
处理模块,具体用于根据第三译码子矩阵和第六译码子矩阵,组成第四译码矩阵;a processing module, specifically configured to form a fourth decoding matrix according to the third decoding sub-matrix and the sixth decoding sub-matrix;
处理模块,具体用于对第四译码矩阵进行译码操作,生成单位矩阵;a processing module, specifically configured to perform a decoding operation on the fourth decoding matrix to generate a unit matrix;
处理模块,具体用于对第四译码矩阵进行译码操作时,对待译码数据进行同步译码操作,生成k个源数据块。The processing module is specifically configured to perform a synchronous decoding operation on the data to be decoded when performing a decoding operation on the fourth decoding matrix to generate k source data blocks.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理模块,具体用于根据低次域编码系数矩阵,组成第一译码矩阵、第二译码矩阵和第三译码矩阵,其中,第三译码矩阵中对应高次有限域的编码系数组成第三高次域编码系数组,第三高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组和第二高次有限域编码系数组外的其它编码系数的有限域,对应第三高次域编码系数组的有限域阶数高于接收端支持的最高阶有限域阶数;The processing module is specifically used to form a first decoding matrix, a second decoding matrix and a third decoding matrix according to the low-order domain encoding coefficient matrix, wherein the encoding coefficients corresponding to the high-order finite field in the third decoding matrix are composed of The third high-order domain coding coefficient group, the finite field of the third high-order domain coding coefficient group is the coding coefficients corresponding to the sixth coded data block divided by the first high-order finite field coding coefficient group and the second high-order finite field coding coefficients For the finite fields of other coding coefficients outside the group, the finite field order corresponding to the third high-order field coding coefficient group is higher than the highest-order finite field order supported by the receiver;
处理模块,具体用于对第三译码矩阵进行译码操作,生成零矩阵。The processing module is specifically configured to perform a decoding operation on the third decoding matrix to generate a zero matrix.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
对于k个源数据块,当满足以下条件时,处理模块,还用于对w个第四编码报文进行译码,包括:For the k source data blocks, when the following conditions are met, the processing module is further configured to decode the w fourth encoded packets, including:
Figure PCTCN2021112380-appb-000020
Figure PCTCN2021112380-appb-000020
其中,
Figure PCTCN2021112380-appb-000021
Figure PCTCN2021112380-appb-000022
矩阵,
Figure PCTCN2021112380-appb-000023
满足
Figure PCTCN2021112380-appb-000024
第三译码矩阵为
Figure PCTCN2021112380-appb-000025
高次域编码系数矩阵为G,高次域编码系数矩阵由高次有限域的编码系数组成,低次域编码系数矩阵H,w为正整数。
in,
Figure PCTCN2021112380-appb-000021
for
Figure PCTCN2021112380-appb-000022
matrix,
Figure PCTCN2021112380-appb-000023
satisfy
Figure PCTCN2021112380-appb-000024
The third decoding matrix is
Figure PCTCN2021112380-appb-000025
The high-order domain coding coefficient matrix is G, the high-order domain coding coefficient matrix is composed of coding coefficients of the high-order finite domain, and the low-order domain coding coefficient matrix H, w is a positive integer.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理模块,具体用于在第六编码数据块的编码系数对应的最高阶有限域内,对第六编码数据块进行译码,使得第六编码数据块的编码系数组成的矩阵经过译码后得到单位矩阵;The processing module is specifically configured to decode the sixth coded data block in the highest-order finite field corresponding to the coding coefficients of the sixth coded data block, so that the matrix composed of the coding coefficients of the sixth coded data block is decoded to obtain a unit matrix;
处理模块,具体用于当第六编码数据块的编码系数组成的矩阵进行译码操作时,对第六编码数据块进行同步译码操作,生成k”个源数据块。The processing module is specifically configured to perform a synchronous decoding operation on the sixth encoded data block to generate k" source data blocks when the matrix composed of the encoding coefficients of the sixth encoded data block is subjected to a decoding operation.
第九方面,本申请实施例提供了一种网络装置,该网络装置可以实现上述第一、二、三或四方面所涉及方法中发送端、接收端以及中间节点所执行的功能。该网络装置包括处理器、存储器以及与该处理器连接的接收器和与该处理器连接的发射器;该存储器用于存储程序代码,并将该程序代码传输给该处理器;该处理器用于根据该程序代码中的指令驱动该接收器和该发射器执行如上述第一、二、三、或四方面该的方法;接收器和发射器分别与该处理器连接,以执行上述各个方面的该的方法中发送端、接收端以及中间节点的操作。具体地,发射器可以进行发送的操作,接收器可以进行接收的操作。可选的,该接收器与发射器可以是射频电路,该射频电路通过天线实现接收与发送消息;该接收器与发射器还可以是通信接口,处理器与该通信接口通过总线连接,该处理器通过该通信接口实现接收或发送消息。In a ninth aspect, an embodiment of the present application provides a network device, where the network device can implement the functions performed by the sending end, the receiving end, and the intermediate node in the methods involved in the first, second, third, or fourth aspects. The network device includes a processor, a memory, a receiver connected to the processor and a transmitter connected to the processor; the memory is used for storing program codes and transmitting the program codes to the processor; the processor is used for Drive the receiver and the transmitter to execute the method according to the first, second, third, or fourth aspects above according to the instructions in the program code; the receiver and the transmitter are respectively connected to the processor to execute the methods of the above-mentioned aspects. Operations of the sender, the receiver and the intermediate node in the method. Specifically, the transmitter can perform the operation of sending, and the receiver can perform the operation of receiving. Optionally, the receiver and the transmitter can be a radio frequency circuit, and the radio frequency circuit can receive and send messages through an antenna; the receiver and the transmitter can also be a communication interface, and the processor and the communication interface are connected through a bus, and the processing The server implements receiving or sending messages through this communication interface.
第十方面,本申请实施例提供一种网络装置,该网络装置可以包括网络设备,终端设备或者芯片等实体,该网络装置包括:处理器,存储器;该存储器用于存储指令;该处理器用于执行该存储器中的该指令,使得该网络装置执行如前述第一方面或第二方面或第三方面或第四方面中任一项该的方法。In a tenth aspect, an embodiment of the present application provides a network device. The network device may include entities such as network equipment, terminal equipment, or chips. The network device includes: a processor and a memory; the memory is used for storing instructions; the processor is used for Execution of the instructions in the memory causes the network device to perform the method of any of the aforementioned first or second or third or fourth aspects.
第十一方面,本申请实施例提供了一种存储一个或多个计算机执行指令的计算机可读 存储介质,当该计算机执行指令被处理器执行时,该处理器执行如前述第一方面或第二方面或第三方面或第四方面中任意一种可能的实现方式。In an eleventh aspect, embodiments of the present application provide a computer-readable storage medium that stores one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes the first aspect or the first aspect described above. Any possible implementation manner of the second aspect, the third aspect or the fourth aspect.
第十二方面,本申请实施例提供一种存储一个或多个计算机执行指令的计算机程序产品(或称计算机程序),当该计算机执行指令被该处理器执行时,该处理器执行前述第一方面或第二方面或第三方面或第四方面中任意一种可能的实现方式。In a twelfth aspect, an embodiment of the present application provides a computer program product (or computer program) that stores one or more computer-executable instructions. When the computer-executable instructions are executed by the processor, the processor executes the aforementioned first Any possible implementation of the aspect or the second aspect or the third aspect or the fourth aspect.
第十三方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机设备实现上述方面中所涉及的功能。在一种可能的设计中,该芯片系统还包括存储器,该存储器,用于保存计算机设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a thirteenth aspect, the present application provides a chip system, where the chip system includes a processor for supporting a computer device to implement the functions involved in the above aspects. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the computer device. The chip system may be composed of chips, or may include chips and other discrete devices.
第十四方面,本申请提供了一种通信系统,该通信系统包括如上述第五方面、第六、第七、或第八方面中的网络装置。In a fourteenth aspect, the present application provides a communication system, the communication system including the network device in the fifth aspect, sixth aspect, seventh aspect, or eighth aspect.
附图说明Description of drawings
图1a为本申请实施例涉及的一种应用场景示意图;FIG. 1a is a schematic diagram of an application scenario involved in an embodiment of the present application;
图1b为本申请实施例涉及的又一种应用场景示意图;FIG. 1b is a schematic diagram of another application scenario involved in the embodiment of the present application;
图1c为本申请实施例涉及的又一种应用场景示意图;FIG. 1c is a schematic diagram of another application scenario involved in the embodiment of the present application;
图1d为本申请实施例涉及的又一种应用场景示意图;FIG. 1d is a schematic diagram of another application scenario involved in the embodiment of the present application;
图2为本申请实施例中网络装置的硬件结构示意图;2 is a schematic diagram of a hardware structure of a network device in an embodiment of the present application;
图3a为本申请实施例提出的一种协议栈结构示意图;3a is a schematic structural diagram of a protocol stack proposed by an embodiment of the application;
图3b为本申请实施例提出的另一种协议栈结构示意图;FIG. 3b is a schematic structural diagram of another protocol stack proposed by an embodiment of the application;
图4为本申请实施例提出的一种有限域的编码或译码方法的实施例示意图;4 is a schematic diagram of an embodiment of a finite field encoding or decoding method proposed by an embodiment of the present application;
图5为本申请实施例中一个发送端编码示意图;FIG. 5 is a schematic diagram of encoding of a transmitting end in an embodiment of the present application;
图6为本申请实施例中又一种发送端的编码示意图;FIG. 6 is a schematic diagram of encoding of another transmitting end in an embodiment of the present application;
图7为本申请实施例提出的又一种有限域的编码或译码方法的实施例示意图;7 is a schematic diagram of an embodiment of another finite field encoding or decoding method proposed by an embodiment of the present application;
图8为本申请实施例中一个发送端编码示意图;FIG. 8 is a schematic diagram of encoding of a transmitting end in an embodiment of the present application;
图9为本申请实施例中又一种编码示意图;Fig. 9 is another coding schematic diagram in the embodiment of the application;
图10为本申请实施例中又一种编码示意图;Fig. 10 is another coding schematic diagram in the embodiment of the application;
图11为本申请实施例中又一种编码示意图;Fig. 11 is another coding schematic diagram in the embodiment of the application;
图12为本申请实施例提出的又一种有限域的编码或译码方法的实施例示意图;12 is a schematic diagram of an embodiment of yet another finite field encoding or decoding method proposed by an embodiment of the present application;
图13为本申请实施例中一种重编码示意图;13 is a schematic diagram of recoding in an embodiment of the present application;
图14为本申请实施例提出的又一种有限域的编码或译码方法的实施例示意图;14 is a schematic diagram of an embodiment of yet another finite field encoding or decoding method proposed by an embodiment of the present application;
图15为本申请实施例中一种译码运算的实施例示意图;15 is a schematic diagram of an embodiment of a decoding operation in an embodiment of the present application;
图16为本申请实施例中一种译码运算的实施例示意图;16 is a schematic diagram of an embodiment of a decoding operation in an embodiment of the present application;
图17为本申请实施例中又一种译码示意图;17 is another schematic diagram of decoding in an embodiment of the present application;
图18为本申请实施例中又一种译码示意图;18 is another schematic diagram of decoding in an embodiment of the present application;
图19为本申请实施例提出的又一种译码示意图;19 is another schematic diagram of decoding proposed by an embodiment of the present application;
图20a为本申请实施例提出的又一种有限域的编码或译码方法的实施例示意图;20a is a schematic diagram of an embodiment of yet another finite field encoding or decoding method proposed by an embodiment of the present application;
图20b为本申请实施例中一种译码示意图;FIG. 20b is a schematic diagram of decoding in an embodiment of the present application;
图20c为本申请实施例中又一种译码示意图;20c is another schematic diagram of decoding in the embodiment of the present application;
图21为本申请实施例涉及的一种嵌套域的等价乘法表示意图;21 is a schematic diagram of an equivalent multiplication table of a nested field involved in an embodiment of the application;
图22为本申请实施例中网络装置的一种实施例示意图;FIG. 22 is a schematic diagram of an embodiment of a network device in an embodiment of the present application;
图23为本申请实施例中网络装置的一种实施例示意图;FIG. 23 is a schematic diagram of an embodiment of a network device in an embodiment of the present application;
图24为本申请实施例中网络装置的一种实施例示意图;FIG. 24 is a schematic diagram of an embodiment of a network device in an embodiment of the present application;
图25为本申请实施例中网络装置的一种实施例示意图;FIG. 25 is a schematic diagram of an embodiment of a network device in an embodiment of the present application;
图26为本申请实施例提出的一种处理装置示意图。FIG. 26 is a schematic diagram of a processing apparatus according to an embodiment of the present application.
具体实施方式detailed description
本申请实施例提供了一种有限域的编码或译码方法,在发送端、接收端与中间节点算力不一致的场景下,使用具有嵌套结构的有限域进行编码,有效降低了译码时的计算复杂度,提高了译码速度和数据吞吐量,并且保障了译码的准确率。The embodiment of the present application provides a method for encoding or decoding a finite field. In a scenario where the computing power of the sending end, the receiving end and the intermediate node is inconsistent, the finite field with a nested structure is used for encoding, which effectively reduces the decoding time. The computational complexity is improved, the decoding speed and data throughput are improved, and the decoding accuracy is guaranteed.
本申请的说明书和权利要求书及上述附图中的术语“第一”、第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way Can be interchanged under appropriate circumstances, this is only the way of distinction adopted when describing the objects of the same property in the embodiments of the present application. In addition, the terms "comprising" and "having" and any of their deformations are intended to be Non-exclusive inclusion is covered so that a process, method, system, product or device comprising a series of units is not necessarily limited to those units, but may include other units not expressly listed or inherent to those processes, methods, products or devices .
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述。在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请的描述中,“至少一项”是指一项或者多项,“多项”是指两项或两项以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. In the description of this application, unless otherwise stated, "/" means or means, for example, A/B can mean A or B; "and/or" in this application is only an association relationship that describes an associated object , which means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the present application, "at least one item" refers to one or more items, and "multiple items" refers to two or more items. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one item (a) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple .
首先,介绍本申请实施例涉及的一些概念:First, some concepts involved in the embodiments of the present application are introduced:
1、有限域(finite field):1. Finite field:
有限域是含有限的多个元素的域。有限域又可以称为伽罗瓦域(Galois field,GF)。与其他域一样,有限域是进行加减乘除运算都有定义并且满足特定规则的集合。有限域的元素个数称为它的阶,有限域的阶通常是一个素数的幂。有限域的特征数必为某一素数E,因此它含的素域同构于Zp.若F是特征为E的有限域,则F中元素的个数为E d,d为某一正整数.元素个数相同的有限域是同构的。因此,通常用GF(E d)表示E d元的有限域.GF(E d)的乘法群是(E d-1)阶的循环群。有限域是本领域技术人员公知的技术,具体描述可以参阅现有技术,这里不再展开叙述。 A finite field is a field with a finite number of elements. Finite fields can also be called Galois fields (GF). Like other fields, a finite field is a set of operations that are defined for addition, subtraction, multiplication and division and satisfy certain rules. The number of elements of a finite field is called its order, and the order of a finite field is usually a power of a prime number. The characteristic number of a finite field must be a prime number E, so the prime field it contains is isomorphic to Zp. If F is a finite field with characteristic E, then the number of elements in F is E d , and d is a positive integer . Finite fields with the same number of elements are isomorphic. Therefore, GF(E d ) is usually used to represent the finite field of Ed d elements. The multiplicative group of GF(E d ) is a cyclic group of order (E d -1). The finite field is a well-known technology by those skilled in the art, and the specific description can refer to the prior art, which will not be described here.
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
本申请提供的一种有限域的编码或译码方法可以应用于各类通信系统中,例如,可以是物联网(internet of things,IoT)、窄带物联网(narrow band internet of things,NB-IoT)、长期演进(long term evolution,LTE),也可以是第五代(5G)通信系统,还可以是LTE与5G混合架构、也可以是5G新无线(new radio,NR)系统以及未来通信发展中出现的新的通信系统等。本申请的5G通信系统可以包括非独立组网(non-standalone,NSA)的5G通信系统、独立组网(standalone,SA)的5G通信系统中的至少一种。通信系统还可以是公共陆地移动网络(public land mobile network,PLMN)网络、设备到设备(device-to-device,D2D)网络、机器到机器(machine to machine,M2M)网络或者其他网络。A limited-field encoding or decoding method provided by this application can be applied to various communication systems, for example, the Internet of Things (IoT), the narrowband Internet of Things (NB-IoT) ), long term evolution (LTE), it can also be the fifth generation (5G) communication system, it can also be a hybrid architecture of LTE and 5G, it can also be a 5G new radio (NR) system and future communication development new communication systems, etc. The 5G communication system of the present application may include at least one of a non-standalone (NSA) 5G communication system and an independent (standalone, SA) 5G communication system. The communication system may also be a public land mobile network (PLMN) network, a device-to-device (D2D) network, a machine-to-machine (M2M) network, or other networks.
本申请实施例包括多种应用场景,示例性的,请参阅图1a-图1b,图1a为本申请实施例涉及的一种应用场景示意图,图1b为本申请实施例涉及的又一种应用场景示意图。The embodiments of the present application include a variety of application scenarios. For example, please refer to FIGS. 1a-1b. FIG. 1a is a schematic diagram of an application scenario involved in the embodiments of the present application, and FIG. 1b is another application involved in the embodiments of the present application. Schematic diagram of the scene.
图1a中,发送端支持多个具有嵌套结构的有限域,本申请实施例中,具有嵌套结构的有限域也可以称为嵌套域。示例性的,发送端支持的嵌套域包括:GF((2 2) d0)···GF((2 2) d)···GF((2 2) D),其中,0≤d0≤d≤D,d0为大于或等于零的整数,d为大于或等于零的整数,D为大于或等于零的整数。d0、d和D满足,D整除d,d整除d0。该发送端支持在多个嵌套域中进行编码。该发送端也可以称为新型发送端。可选的,该发送端可以在GF((2 2) d0)~GF((2 2) D)之间灵活选择一个或多个嵌套域,对源数据块进行编码。 In FIG. 1a, the sender supports multiple finite fields with nested structures. In this embodiment of the present application, the finite fields with nested structures may also be referred to as nested fields. Exemplarily, the nested fields supported by the sender include: GF((2 2 ) d0 )... GF((2 2 ) d )... GF((2 2 ) D ), where 0≤d0≤ d≤D, d0 is an integer greater than or equal to zero, d is an integer greater than or equal to zero, and D is an integer greater than or equal to zero. d0, d, and D satisfy that D is divisible by d, and d is divisible by d0. The sender supports encoding in multiple nested fields. The sender may also be referred to as a new-type sender. Optionally, the sender may flexibly select one or more nested fields between GF((2 2 ) d0 )˜GF((2 2 ) D ) to encode the source data block.
中间节点支持一个嵌套域,示例性的,中间节点支持的嵌套域包括:GF((2 2) d0)。该中间节点支持在1个嵌套域中对接收的报文进行重编码。该中间节点也可以称为新型中间节点。 The intermediate node supports one nested field. Exemplarily, the nested fields supported by the intermediate node include: GF((2 2 ) d0 ). The intermediate node supports re-encoding of received messages in 1 nested field. The intermediate node may also be referred to as a new type of intermediate node.
接收端在自身支持的嵌套域(例如:GF((2 2) d))中,对报文进行译码。示例性的,可以先执行高速的最低次有限域消元操作进行部分译码,减少高次嵌套域系数,最后再利用高次有限域做剩余部分的嵌套域译码,提高译码计算速度。该接收端也可以称为新型接收节点。 The receiving end decodes the message in the nested field (for example: GF((2 2 ) d )) supported by itself. Exemplarily, a high-speed lowest-order finite field elimination operation can be performed first to perform partial decoding to reduce the high-order nested field coefficients, and finally the high-order finite field can be used to decode the remaining part of the nested field to improve the decoding calculation. speed. The receiving end may also be referred to as a new type of receiving node.
在图1a所示应用场景的基础上,请参阅图1b。发送端针对中间节点与接收端算力的不同,可以在多个嵌套域中对源数据块进行嵌套域编码,生成编码报文。Based on the application scenario shown in Figure 1a, please refer to Figure 1b. According to the difference in computing power between the intermediate node and the receiving end, the sender can perform nested domain encoding on the source data block in multiple nested domains to generate encoded messages.
发送端向中间节点发送该编码报文,该编码报文中携带编码系数。中间节点支持单个嵌套域。算力受限的中间节点在GF((2 2) d0)对该编码报文进行重编码。中间节点向接收端发送该重编码报文。 The sender sends the coded message to the intermediate node, where the coded message carries the coding coefficients. Intermediate nodes support a single nested domain. The intermediate node with limited computing power re-encodes the encoded message at GF((2 2 ) d0 ). The intermediate node sends the recoded message to the receiver.
接收端接收重编码报文后,首先,在接收端支持的低次嵌套域(例如GF((2 2) d0)),对该重编码报文进行嵌套域译码。其次,接收端在支持的高次嵌套域(例如GF((2 2) d)),进行进一步嵌套域译码,译码得到源数据块。 After the receiving end receives the recoded message, first, in the low-order nested field (eg GF((2 2 ) d0 )) supported by the receiving end, the recoded message is decoded in the nested field. Secondly, the receiving end performs further nested field decoding in a supported high-order nested field (eg, GF((2 2 ) d )), and decodes to obtain a source data block.
示例性的,请参阅图1c-图1d,图1c为本申请实施例涉及的又一种应用场景示意图,图1d为本申请实施例涉及的又一种应用场景示意图。For example, please refer to FIGS. 1c to 1d . FIG. 1c is a schematic diagram of another application scenario involved in the embodiment of the present application, and FIG. 1d is a schematic diagram of another application scenario involved in the embodiment of the present application.
为了适用现有的传统发送端(设备),如图1c所示,发送端支持单个具有嵌套结构的有限域。示例性的,发送端支持的嵌套域包括GF((2 2) D)。该发送端支持在单个嵌套域中进行编码。该发送端也可以称为传统发送端。 In order to adapt to the existing traditional sender (device), as shown in Figure 1c, the sender supports a single finite field with a nested structure. Exemplarily, the nested fields supported by the sender include GF((2 2 ) D ). The sender supports encoding in a single nested field. The sender may also be referred to as a legacy sender.
为了实现分布式编码,中间节点支持多个嵌套域,示例性的,中间节点支持的嵌套域包括:GF((2 2) d0)···GF((2 2) D)。该中间节点可以灵活地选择1个嵌套域,对接收的报文进行重编码。可选的,该中间节点选择GF((2 2) d0)对接收的报文进行重编码。可选的,该中间节点还可以在GF((2 2) d0)~GF((2 2) D)之间灵活选择一个或多个嵌套域,对接收的报文进行重编码。 In order to realize distributed coding, the intermediate node supports multiple nested fields. Exemplarily, the nested fields supported by the intermediate node include: GF((2 2 ) d0 )... GF((2 2 ) D ). The intermediate node can flexibly select a nested field and re-encode the received message. Optionally, the intermediate node selects GF((2 2 ) d0 ) to re-encode the received message. Optionally, the intermediate node may also flexibly select one or more nested fields from GF((2 2 ) d0 ) to GF((2 2 ) D ) to re-encode the received message.
该中间节点也可以称为新型中间节点。分布式的编码的优点除了兼容现有的传统发送端设备外,还可以减低发送端和中间节点之间的报文传输量,是发送端和中间节点之间的网络保持较低传输负载。The intermediate node may also be referred to as a new type of intermediate node. In addition to being compatible with existing traditional sender devices, the advantages of distributed encoding can also reduce the amount of message transmission between the sender and the intermediate node, and the network between the sender and the intermediate node keeps a low transmission load.
接收端在自身支持的嵌套域(例如:GF((2 2) d))中,对报文进行译码。示例性的,可以先执行高速的最低次有限域消元操作进行部分译码,减少高次嵌套域系数,最后再利用高次有限域做剩余部分的嵌套域译码,提高译码计算速度。该接收端也可以称为新型接收节点。 The receiving end decodes the message in the nested field (for example: GF((2 2 ) d )) supported by itself. Exemplarily, a high-speed lowest-order finite field elimination operation can be performed first to perform partial decoding to reduce the high-order nested field coefficients, and finally the high-order finite field can be used to decode the remaining part of the nested field to improve the decoding calculation. speed. The receiving end may also be referred to as a new type of receiving node.
在图1c所示应用场景的基础上,请参阅图1d。图1d中,发送端支持单个嵌套域,发送端可以在单个嵌套域中对源数据块进行嵌套域编码,生成编码报文。发送端向中间节点发送该编码报文,该编码报文中携带编码系数。Based on the application scenario shown in Figure 1c, please refer to Figure 1d. In Fig. 1d, the sender supports a single nested field, and the sender can encode the source data block in a single nested field to generate an encoded message. The sender sends the coded message to the intermediate node, where the coded message carries the coding coefficients.
中间节点支持多个嵌套域,针对接收端算力的不同,中间节点可以选择一个或多个嵌套域对该编码报文进行重编码。中间节点向接收端发送该重编码报文。The intermediate node supports multiple nested fields. Depending on the computing power of the receiver, the intermediate node can select one or more nested fields to re-encode the encoded message. The intermediate node sends the recoded message to the receiver.
接收端接收重编码报文后,首先,在接收端支持的低次嵌套域,对该重编码报文进行嵌套域译码。其次,接收端在支持的高次嵌套域(例如GF((2 2) 2)),进行进一步嵌套域译码,译码得到源数据块。 After receiving the re-encoded message, the receiver firstly decodes the re-encoded message in the low-order nested field supported by the receiver. Secondly, the receiving end performs further nested domain decoding in a supported high-order nested domain (eg, GF((2 2 ) 2 )), and decodes to obtain a source data block.
需要说明的是,图1a-图1d仅做示例性说明,具体实现方式请参阅后续实施例,此处不做赘述。It should be noted that FIGS. 1 a to 1 d are only illustrative, and for the specific implementation, please refer to the subsequent embodiments, which will not be repeated here.
下面对本申请实施例提出的:嵌套结构的有限域(也称为嵌套域),进行详细说明:The following is a detailed description of the finite field of the nested structure (also referred to as the nested field) proposed by the embodiments of the present application:
以第一有限域为GF(E d),与,第二有限域为GF(E D)为例,E为素数,d为正整数,D为正整数。当第一有限域与第二有限域为具有嵌套结构的有限域时,则d与D满足以下关系:D=q*d,q为大于1的正整数,d也称为D的因数,写作d|D。该第二有限域为最大域。需要说明的是,为了便于说明,在本申请实施例中嵌套结构的有限域也称为嵌套域。 Taking the first finite field as GF(E d ), and the second finite field as GF(E D ) as an example, E is a prime number, d is a positive integer, and D is a positive integer. When the first finite field and the second finite field are finite fields with a nested structure, then d and D satisfy the following relationship: D=q*d, q is a positive integer greater than 1, d is also called a factor of D, Write d|D. The second finite field is a maximum field. It should be noted that, for the convenience of description, in the embodiments of the present application, the finite field of the nested structure is also referred to as a nested field.
具有嵌套结构的有限域,还可以表示为:该两个或多个有限域满足以下关系:阶数存在倍数关系,且,特征数一致。A finite field with a nested structure can also be expressed as: the two or more finite fields satisfy the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent.
需要说明的是,该第一有限域可以包括一个或多个有限域,此时,该第一有限域包括的一个或多个有限域,与第二有限域之间,同样满足上述关系。It should be noted that the first finite field may include one or more finite fields. In this case, the one or more finite fields included in the first finite field and the second finite field also satisfy the above relationship.
具有嵌套结构的有限域,是保证跨有限域编译码可行的数学基础。有限域GF(E D)和GF(E d)不仅可以看作是基于有限域GF(E)的D次和d次扩展;GF(E D)也可以看作是GF(E d)的q次扩展,GF(E D)称为GF(E d)的拓展域,或者,GF(E D)称为GF(E d)的q次拓展域。 Finite fields with nested structures are the mathematical basis for ensuring that coding and decoding across finite fields is feasible. Finite fields GF(E D ) and GF(E d ) can not only be regarded as D and d extensions based on finite fields GF(E); GF(E D ) can also be regarded as q of GF(E d ) The second extension, GF(E D ) is called the extension field of GF(E d ), or GF(E D ) is called the q-time extension field of GF(E d ).
例如:当E=2,D=4,d=2时,对于有限域GF(2 4),不仅可以看成是GF(2)的4次扩展域,还可以看成是GF(2 2)的2次扩展域,写作GF(4 2)或GF((2 2) 2)或
Figure PCTCN2021112380-appb-000026
更一般地,GF(2 8)不仅可以看成是GF(2)的8次扩展域,也可以看成GF(4 4),还可以看成GF(16 2),还可以看成GF(((2 2) 2) 2)或
Figure PCTCN2021112380-appb-000027
For example: when E=2, D=4, d=2, for the finite field GF(2 4 ), not only can it be regarded as the fourth-order extension field of GF(2), but also GF(2 2 ) 2-fold extension field of , written as GF(4 2 ) or GF((2 2 ) 2 ) or
Figure PCTCN2021112380-appb-000026
More generally, GF(2 8 ) can not only be regarded as the 8th expansion field of GF(2), but also can be regarded as GF(4 4 ), GF(16 2 ), and GF( ((2 2 ) 2 ) 2 ) or
Figure PCTCN2021112380-appb-000027
为了定义有限域GF(E d)的q次扩展域的运算法则,需要选择一个基于GF(E d)上的q次既约多项式,下面说明嵌套域之间的定义方法。 In order to define the algorithm of the q-order extended field of the finite field GF(E d ), it is necessary to select a q-order reduced polynomial based on GF(E d ). The following describes the definition method between nested fields.
例如:x 4+x+1是GF(2)的4次既约多项式,由于GF(2 4)还可以看作GF(4 2),多项式x 4+x+1在GF(2 2)上可约,可以写成(x 2+x+α)(x 2+x+α 2),其中,α∈GF(2 2)满足α 2+α+1=0,α是GF(2 2)生成元,GF(2 2)={0,1,α,α 2}。因此,GF(4 2)可以通过基于GF(4)上的2次既约多项式x 2+x+α或者x 2+x+α 2来进一步表示。选择x 2+x+α为基于GF(4)上的2次既约多项式,设β是扩展域GF(4 2)的生成元且满足β 2+β+α=0,代入α 2+α+1=0经计算可得到β 4+β+1=0。经过表1查表可得α=β 2+β=β 5(从另一角度来看,α是GF(4)生成元,必有α 3=1;β是GF(4 2)生成元,必有β 15=1,亦可得α=β 5)。具体的,表1表示:扩展域GF(2 4)在既约多项式为x 4+x+1下的多项式表示法、幂次方表示法,以及二进制表示的该多项式二元系数,与化为十进制后的该多项式二元系数(0~15)之间的对应关系。 For example: x 4 +x+1 is a polynomial of degree 4 of GF(2). Since GF(2 4 ) can also be regarded as GF(4 2 ), the polynomial x 4 +x+1 is on GF(2 2 ). Reducible, it can be written as (x 2 +x+α)(x 2 +x+α 2 ), where α∈GF(2 2 ) satisfies α 2 +α+1=0, and α is generated by GF(2 2 ) element, GF(2 2 )={0,1,α,α 2 }. Therefore, GF(4 2 ) can be further represented by a polynomial x 2 +x+α or x 2 +x+α 2 based on a 2-order approximation polynomial over GF(4). Choose x 2 +x+α to be a polynomial based on the 2nd degree reduction on GF(4), let β be the generator of the extended field GF(4 2 ) and satisfy β 2 +β+α=0, substitute α 2 +α +1=0 After calculation, β 4 +β+1=0 can be obtained. After looking up the table in Table 1, we can get α=β 2 +β=β 5 (from another point of view, α is the generator of GF(4), there must be α 3 =1; β is the generator of GF(4 2 ), There must be β 15 =1, and α = β 5 ). Specifically, Table 1 shows: the polynomial representation and the power representation of the extended field GF(2 4 ) when the approximation polynomial is x 4 +x+1, and the binary coefficient of the polynomial in binary representation, and the sum is Correspondence between the binary coefficients (0~15) of the polynomial after decimal.
Figure PCTCN2021112380-appb-000028
Figure PCTCN2021112380-appb-000028
表1Table 1
那么扩展域GF(4 2)即
Figure PCTCN2021112380-appb-000029
的元素可以根据定义写作aβ+b的形式如下表2,其中 a,b∈GF(4)={0,1,α,α 2}。由上述描述可知,用嵌套域形式可以不重不漏地得到所有的扩展域元素。具体的,表2表示:扩展域
Figure PCTCN2021112380-appb-000030
元素写作aβ+b形式下,其中a,b={0,1,α,α 2},元素之间对应关系。
Then the extended field GF(4 2 ) is
Figure PCTCN2021112380-appb-000029
The elements of can be written as aβ+b by definition in the form of Table 2, where a,b∈GF(4)={0,1,α, α2 }. It can be seen from the above description that all extended field elements can be obtained without repetition and omission in the form of nested fields. Specifically, Table 2 shows: extended domain
Figure PCTCN2021112380-appb-000030
Elements are written in the form of aβ+b, where a,b={0,1,α,α 2 }, the correspondence between elements.
Figure PCTCN2021112380-appb-000031
Figure PCTCN2021112380-appb-000031
表2Table 2
具有嵌套域形式的有限域不仅在元素上具有嵌套关系(即GF(E d)中所有元素均包含于GF(E D)中),而且在域定义的加法和乘法运算上也具有嵌套关系,即GF(E d)中所有二元运算法则同样包含于GF(E D)中,换一种说法:GF(E D)的乘法表中包括GF(E d)的乘法表,GF(E D)的加法表中包括GF(E d)的加法表。 Finite fields with the form of nested fields not only have nested relations in elements (that is, all elements in GF(E d ) are contained in GF(E D )), but also have nesting in addition and multiplication operations defined by the field. Set of relations, that is, all binary operations in GF(E d ) are also included in GF(E D ), in other words: the multiplication table of GF(E D ) includes the multiplication table of GF(E d ), GF The addition table of (E D ) includes the addition table of GF(E d ).
示例性的,如表3a和表3b;表4a和表4b所示。其中,表3a表示GF(2 2)中元素之间加法运算关系,表3b表示GF((2 2) 2)中元素之间加法运算关系;表4a表示GF(2 2)中元素之间乘法运算关系,表4b表示GF((2 2) 2)中元素之间乘法运算关系。换一种说法:表3a表示GF(4)中元素之间加法运算关系,表3b表示GF(4 2)中元素之间加法运算关系;表4a表示GF(4)中元素之间乘法运算关系,表4b表示GF(4 2)中元素之间乘法运算关系。 Exemplary, as shown in Table 3a and Table 3b; Table 4a and Table 4b. Among them, Table 3a represents the addition operation relationship between elements in GF(2 2 ), Table 3b represents the addition operation relationship between elements in GF((2 2 ) 2 ); Table 4a represents the multiplication between elements in GF(2 2 ) Operation relationship, Table 4b shows the multiplication operation relationship between elements in GF((2 2 ) 2 ). In other words: Table 3a represents the addition operation relationship between elements in GF(4), Table 3b represents the addition operation relationship between elements in GF(4 2 ); Table 4a represents the multiplication operation relationship between elements in GF(4) , and Table 4b shows the multiplication relationship between elements in GF(4 2 ).
需要说明的是,在本申请实施例中,为了便于描述,将该乘法表与该加法表也称为二元运算表。It should be noted that, in the embodiments of the present application, for convenience of description, the multiplication table and the addition table are also referred to as binary operation tables.
GF(2 2) GF(2 2 ) 00 11 α alpha α 2 α 2
00 00 11 α alpha α 2 α 2
11 11 00 α 2 α 2 αalpha
α alpha αalpha α 2 α 2 00 11
α 2 α 2 α 2 α 2 αalpha 11 00
表3aTable 3a
Figure PCTCN2021112380-appb-000032
Figure PCTCN2021112380-appb-000032
表3bTable 3b
GF(2 2) GF(2 2 ) 00 11 α alpha α 2 α 2
00 00 00 00 00
11 00 11 αalpha α 2 α 2
αalpha 00 α alpha α 2 α 2 11
α 2 α 2 00 α 2 α 2 11 αalpha
表4aTable 4a
Figure PCTCN2021112380-appb-000033
Figure PCTCN2021112380-appb-000033
表4bTable 4b
由于扩展域元素
Figure PCTCN2021112380-appb-000034
可以写作aβ+b的形式,其中a,b={0,1,α,α 2},那么16*16的二元运算表根据a和b取值的不同,可以分成4*4的块,那么其中左上角的块(两个元素的a值均为0),恰好即为表3a和表4a中显示的GF(2 2)中4个元素的加法和乘法关系。
Due to the extended domain element
Figure PCTCN2021112380-appb-000034
It can be written in the form of aβ+b, where a,b={0,1,α,α 2 }, then the 16*16 binary operation table can be divided into 4*4 blocks according to the different values of a and b, Then the block in the upper left corner (the value of a of both elements is 0) is exactly the addition and multiplication relationship of the 4 elements in GF(2 2 ) shown in Table 3a and Table 4a.
为了描述上的方便,本申请实施例根据有限域阶数区分不同的有限域,例如,以素数为2为例,元素个数(阶数)为2 1的有限域可以称为GF(2 1),元素个数(阶数)为2 2的有限域可以称为GF(2 2),元素个数(阶数)为2 n的有限域可以称为GF(2 n),等等。应理解,这里仅以素数为2进行举例说明,并不对素数的取值进行具体限定。 For the convenience of description, the embodiment of the present application distinguishes different finite fields according to the order of the finite field. For example, taking the prime number as 2 as an example, the finite field with the number of elements (order) of 2 1 can be called GF(2 1 ), the finite field with the number of elements (order) 2 2 can be called GF(2 2 ), the finite field with the number of elements (order) 2 n can be called GF(2 n ), and so on. It should be understood that the prime number is only 2 for illustration, and the value of the prime number is not specifically limited.
本申请实施例应用的通信系统可以包括一个或多个发送端,以及一个或多个接收端,该通信系统中还可以包括一个或多个中间节点。其中,一个发送端可以向一个或多个接收端传输数据。多个发送端也可以同时为一个接收端传输数据。一个发送端也可以同时为多个接收端传输数据。发送端在向接收端传输数据时可以通过一个或中间节点进行传输。本申请实施例中并不对通信系统中发送端、中间节点、接收端的数量以及连接关系进行具体限定。示例性的,发送端可以是网络设备,也可以是终端设备,也可以是其他发送数据的设备,或者也可以是编码器。接收端可以是网络设备,或终端设备,或者也可以是其他接收数据的设备,或者也可以是译码器。中间节点可以是网络设备,例如:路由节点、转发节点、中继节点等传输设备,或者也可以是编码器,还可以是终端设备。The communication system applied in the embodiments of this application may include one or more sending ends and one or more receiving ends, and the communication system may further include one or more intermediate nodes. Among them, one sender can transmit data to one or more receivers. Multiple senders can also transmit data for one receiver at the same time. A sender can also transmit data for multiple receivers at the same time. The sender can transmit data through one or an intermediate node when transmitting data to the receiver. The embodiments of the present application do not specifically limit the number of sending ends, intermediate nodes, and receiving ends in the communication system and the connection relationship. Exemplarily, the sending end may be a network device, a terminal device, or another device that sends data, or an encoder. The receiving end may be a network device, or a terminal device, or other devices that receive data, or may also be a decoder. The intermediate node may be a network device, for example, a transmission device such as a routing node, a forwarding node, and a relay node, or an encoder, or a terminal device.
本申请实施例中涉及的终端设备,是用户侧的一种用于接收或发射信号的实体。终端设备可以是一种向用户提供语音、数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。终端设备也可以是连接到无线调制解调器的其他处理设备。终端设备可以通过无线接入网(radio access network,RAN)与一个或多个核心网进行通信。终端设备也可以称为无线终端、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point)、远程终端(remote terminal)、接入终端(access terminal)、用户终端(user terminal)、用户代理(user agent)、用户设备(user device)、或用户装备(user equipment)等等。终端设备可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言、数据。例如,终端设备还可以是个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、等设备。常见的终端设备例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等,但本申请实施例不限于此。本申请实施例中涉及的终端设备还可以是未来演进的公用陆地移动网(public land mobile network,PLMN)中出现的终端设备等,本申请实施例对此并不限定。The terminal equipment involved in the embodiments of this application is an entity on the user side that is used to receive or transmit signals. The terminal device may be a device that provides voice and data connectivity to the user, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like. The terminal device may also be other processing device connected to the wireless modem. Terminal devices can communicate with one or more core networks through a radio access network (RAN). Terminal equipment may also be referred to as wireless terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point , remote terminal, access terminal, user terminal, user agent, user device, or user equipment, etc. Terminal devices may be mobile terminals, such as mobile phones (or "cellular" phones) and computers with mobile terminals, for example, may be portable, pocket-sized, hand-held, computer-built, or vehicle-mounted mobile devices, which are associated with wireless The access network exchanges language and data. For example, the terminal device may also be a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (personal digital assistant, PDA), and other equipment. Common terminal devices include, for example: mobile phones, tablet computers, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices, such as smart watches, smart bracelets, pedometers, etc. The example is not limited to this. The terminal device involved in the embodiment of the present application may also be a terminal device appearing in a public land mobile network (public land mobile network, PLMN) evolved in the future, which is not limited in the embodiment of the present application.
此外,在本申请实施例中,终端设备还可以是物联网(Internet of Things,IoT)系统中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。在本申请实施例中,IoT技术可以通过例如窄带(narrow band,NB)技术,做到海量连接,深度覆盖,终端省电。In addition, in the embodiments of the present application, the terminal device may also be a terminal device in an Internet of Things (Internet of Things, IoT) system. IoT is an important part of the future development of information technology, and its main technical feature is that items are passed through communication technology. Connect with the network, so as to realize the intelligent network of human-machine interconnection and interconnection of things. In the embodiments of the present application, the IoT technology can achieve massive connections, deep coverage, and power saving of terminals through, for example, a narrow band (narrow band, NB) technology.
此外,在本申请实施例中,终端设备还可以包括智能打印机、火车探测器、加油站等传感器,主要功能包括收集数据(部分终端设备)、接收网络设备的控制信息与下行数据,并发送电磁波,向网络设备传输上行数据。In addition, in the embodiment of the present application, the terminal device may also include sensors such as smart printers, train detectors, and gas stations, and the main functions include collecting data (part of terminal devices), receiving control information and downlink data of network devices, and sending electromagnetic waves. , to transmit uplink data to the network device.
本申请实施例中所涉及的网络设备,是网络侧的一种用于发射或接收信号的实体。本申请实施例中的网络设备可以是无线网络中的设备,例如将终端接入到无线网络的RAN节点。例如,网络设备可以是LTE中的演进型基站(evolutional Node B,eNB或e-NodeB),还可以是新无线控制器(new radio controller,NR controller),可以是5G系统中的gNode B(gNB),可以是集中式网元(centralized unit,CU),可以是新无线基站,可以是射频拉远模块,可以是微基站,可以是中继(relay),可以是分布式网元(distributed unit,DU),可以是家庭基站,可以是传输接收点(transmission reception point,TRP)或传输点(transmission point,TP)或者任何其它无线接入设备,但本申请实施例不限于此。网络设备可以覆盖1个或多个小区。The network device involved in the embodiments of this application is an entity on the network side that is used to transmit or receive signals. The network device in this embodiment of the present application may be a device in a wireless network, for example, a RAN node that accesses a terminal to the wireless network. For example, the network device may be an evolved base station (evolutional Node B, eNB or e-NodeB) in LTE, or a new radio controller (NR controller), or a gNode B (gNB) in the 5G system. ), it can be a centralized unit (CU), a new wireless base station, a remote radio module, a micro base station, a relay, or a distributed unit , DU), can be a home base station, can be a transmission reception point (transmission reception point, TRP) or a transmission point (transmission point, TP) or any other wireless access device, but the embodiment of the present application is not limited to this. A network device can cover one or more cells.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术 问题,同样适用。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
网络编码主要用于多播网络中,在中间节点进行编码以提高信息传输速率。在网络编码中,发送端、接收端和中间节点要保持一致的在同一个有限域(GF)里进行编译码,例如若发送端选择了例如在阶数为2 8的有限域进行编码,则要求所有参与网络编码的中间节点也要在阶数为2 8的有限域进行重编码,所有的接收端都要在阶数为2 8的有限域进行译码;所以,所有参与网络编码的网络节点设备需要支持针对每个流或每个应用配置成与发送端、接收端一致的编译码参数。 Network coding is mainly used in multicast networks, and coding is performed at intermediate nodes to improve the information transmission rate. In network coding, the sender, receiver, and intermediate nodes must be consistent in the same finite field (GF) for encoding and decoding. All intermediate nodes participating in network coding are required to re-encode in a finite field of order 28 , and all receivers must decode in a finite field of order 28 ; therefore, all networks participating in network coding The node device needs to support coding and decoding parameters that are configured for each stream or each application to be consistent with the sender and the receiver.
但是,发送端、接收端与中间节点要保持一致的在同一个有限域里进行编译码,但中间节点通常编码算力受限,成为数据吞吐量瓶颈。However, the sender, the receiver, and the intermediate node must be consistent in the same finite field to encode and decode, but the intermediate node usually has limited coding computing power, which becomes the bottleneck of data throughput.
其次,终端计算能力相差甚远,可能导致组播或单播应用无法开展。例如,计算能力有限的低功耗IoT设备、电视等家用设备,只能用阶数较小的有限域,如阶数为2 1的有限域,进行编译码,以减少开销和计算成本;而服务器、计算机或智能手机等高计算能力的设备,能处理GF(2 8)以上的有限域的编译码。所以,当考虑组播应用时,若发送端选择了例如在GF(2 8)的有限域进行编码,则要求所有的接收端都要在GF(2 8)的有限域进行译码,计算机或智能手机等接收设备计算能力可以满足译码要求顺畅译码,但同一个组播树下的电视等设备却因计算能力不足无法译码,从而导致组播应用无法开展。当考虑单播应用时,中间节点往往为了消除编码算力受限而导致的数据吞吐量瓶颈而选择在低次有限域,如在GF(2 1)内进行编译码,而发送端和接收端也要在同一个有限域(即GF(2 1))里进行编译码,但由于GF(2 1)里进行编译码性能较差导致发送端与接收端间的通信不能满足上层应用的服务质量(quality of service,QoS)需求。 Second, the computing capabilities of the terminals are far from each other, which may result in the inability to carry out multicast or unicast applications. For example, low-power IoT devices, TVs and other household devices with limited computing power can only use a finite field with a smaller order, such as a finite field with an order of 2 1 , for encoding and decoding to reduce overhead and computing costs; Devices with high computing power, such as servers, computers or smart phones, can handle the encoding and decoding of finite fields above GF(2 8 ). Therefore, when considering multicast applications, if the sender chooses to encode in the finite field of GF(2 8 ), for example, all receivers are required to decode in the finite field of GF(2 8 ). The computing power of receiving devices such as smart phones can meet the decoding requirements and decoding is smooth, but devices such as TVs under the same multicast tree cannot decode due to insufficient computing power, resulting in the failure of multicast applications. When considering unicast applications, intermediate nodes often choose to perform encoding and decoding in a low-order finite field, such as in GF(2 1 ), in order to eliminate the data throughput bottleneck caused by limited coding computing power, while the sender and receiver It is also necessary to perform coding and decoding in the same finite field (ie, GF(2 1 )), but due to the poor performance of coding and decoding in GF(2 1 ), the communication between the sender and the receiver cannot meet the service quality of the upper-layer application. (quality of service, QoS) requirements.
此外,本申请实施例还可以适用于面向未来的其他通信技术,例如6G等。本申请描述的网络架构以及业务场景是为了更加清楚的说明本申请的技术方案,并不构成对本申请提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请提供的技术方案对于类似的技术问题,同样适用。In addition, the embodiments of the present application may also be applicable to other future-oriented communication technologies, such as 6G and the like. The network architecture and service scenarios described in this application are for the purpose of illustrating the technical solutions of this application more clearly, and do not constitute a limitation on the technical solutions provided by this application. appears, the technical solutions provided in this application are also applicable to similar technical problems.
图2为本申请实施例中网络装置的硬件结构示意图。该网络装置可以是本申请实施例中发送端、接收端或中间节点的一种可能的实现方式。如图2所示,网络装置至少包括处理器204,存储器203,和收发器202,存储器203进一步用于存储指令2031和数据2032。可选的,该网络装置还可以包括天线206,I/O(输入/输出,Input/Output)接口210和总线212。收发器202进一步包括发射器2021和接收器2022。此外,处理器204,收发器202,存储器203和I/O接口210通过总线212彼此通信连接,天线206与收发器202相连。FIG. 2 is a schematic diagram of a hardware structure of a network device in an embodiment of the present application. The network device may be a possible implementation manner of the sending end, the receiving end or the intermediate node in the embodiment of the present application. As shown in FIG. 2 , the network device includes at least a processor 204 , a memory 203 , and a transceiver 202 , and the memory 203 is further configured to store instructions 2031 and data 2032 . Optionally, the network device may further include an antenna 206 , an I/O (input/output, Input/Output) interface 210 and a bus 212 . The transceiver 202 further includes a transmitter 2021 and a receiver 2022. In addition, the processor 204 , the transceiver 202 , the memory 203 and the I/O interface 210 are communicatively connected to each other through the bus 212 , and the antenna 206 is connected to the transceiver 202 .
处理器204可以是通用处理器,例如但不限于,中央处理器(Central Processing Unit,CPU),也可以是专用处理器,例如但不限于,数字信号处理器(Digital Signal Processor,DSP),应用专用集成电路(Application Specific Integrated Circuit,ASIC)和现场可编程门阵列(Field Programmable Gate Array,FPGA)等。此外,处理器204还可以是多个处理器的组合。特别的,在本申请实施例提供的技术方案中,处理器204可以用于执行,后续方法实施例中通信方法的相关步骤。处理器204可以是专门设计用于执行上述步骤和/或操作的处理器,也可以是通过读取并执行存储器203中存储的指令2031来执行上述步骤和/或操 作的处理器,处理器204在执行上述步骤和/或操作的过程中可能需要用到数据2032。The processor 204 can be a general-purpose processor, such as, but not limited to, a central processing unit (Central Processing Unit, CPU), or can be a special-purpose processor, such as, but not limited to, a digital signal processor (Digital Signal Processor, DSP), application Application Specific Integrated Circuit (ASIC) and Field Programmable Gate Array (FPGA), etc. Furthermore, the processor 204 may also be a combination of multiple processors. In particular, in the technical solutions provided in the embodiments of the present application, the processor 204 may be configured to execute the relevant steps of the communication method in the subsequent method embodiments. The processor 204 may be a processor specially designed to perform the above steps and/or operations, or may be a processor that performs the above steps and/or operations by reading and executing the instructions 2031 stored in the memory 203, the processor 204 Data 2032 may be required in performing the steps and/or operations described above.
收发器202包括发射器2021和接收器2022,在一种可选的实现方式中,发射器2021用于通过天线206发送信号。接收器2022用于通过天线206之中的至少一根天线接收信号。特别的,在本申请实施例提供的技术方案中,发射器2021具体可以用于通过天线206之中的至少一根天线执行,例如,后续方法实施例中通信方法应用于发送端、接收端或中间节点时,发送端、接收端或中间节点中收发模块或发送模块所执行的操作。The transceiver 202 includes a transmitter 2021 and a receiver 2022 . In an optional implementation manner, the transmitter 2021 is used to transmit signals through the antenna 206 . The receiver 2022 is used to receive signals through at least one of the antennas 206 . In particular, in the technical solutions provided in the embodiments of the present application, the transmitter 2021 may be specifically configured to be executed by at least one antenna among the antennas 206. For example, the communication method in the When it is an intermediate node, the operation performed by the transceiver module or the sending module in the sender, receiver, or intermediate node.
在本申请实施例中,收发器202用于支持网络装置执行前述的接收功能和发送功能。将具有处理功能的处理器视为处理器204。接收器2022也可以称为接收机、输入口、接收电路等,发射器2021可以称为发射机、发射器或者发射电路等。In this embodiment of the present application, the transceiver 202 is configured to support the network device to perform the aforementioned receiving function and sending function. A processor with processing capabilities is considered processor 204 . The receiver 2022 may also be referred to as a receiver, an input port, a receiving circuit, and the like, and the transmitter 2021 may be referred to as a transmitter, a transmitter, or a transmitting circuit, and the like.
处理器204可用于执行该存储器203存储的指令,以控制收发器202接收的报文(或消息)和/或发送消息,完成本申请方法实施例中网络装置的功能。作为一种实现方式,收发器202的功能可以考虑通过收发电路或者收发的专用芯片实现。本申请实施例中,收发器202接收的报文(或消息)可以理解为收发器202输入报文(或消息),收发器202发送报文(或消息)可以理解为收发器202输出报文(或消息)。The processor 204 may be configured to execute the instructions stored in the memory 203 to control the packet (or message) received by the transceiver 202 and/or send the message, so as to complete the function of the network device in the method embodiment of the present application. As an implementation manner, the function of the transceiver 202 may be implemented by a transceiver circuit or a dedicated chip for transceiver. In this embodiment of the present application, a packet (or message) received by the transceiver 202 may be understood as an input packet (or message) by the transceiver 202, and a packet (or message) sent by the transceiver 202 may be understood as an output packet by the transceiver 202 (or message).
存储器203可以是各种类型的存储介质,例如随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),非易失性RAM(Non-Volatile RAM,NVRAM),可编程ROM(Programmable ROM,PROM),可擦除PROM(Erasable PROM,EPROM),电可擦除PROM(Electrically Erasable PROM,EEPROM),闪存,光存储器和寄存器等。存储器203具体用于存储指令2031和数据2032,处理器204可以通过读取并执行存储器203中存储的指令2031,来执行本申请方法实施例中的步骤和/或操作,在执行本申请方法实施例中操作和/或步骤的过程中可能需要用到数据2032。The memory 203 may be various types of storage media, such as random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), non-volatile RAM (Non-Volatile RAM, NVRAM), and Programmable ROM (Programmable ROM, PROM), Erasable PROM (Erasable PROM, EPROM), Electrically Erasable PROM (Electrically Erasable PROM, EEPROM), Flash memory, optical memory and registers, etc. The memory 203 is specifically used to store the instructions 2031 and the data 2032, and the processor 204 can perform the steps and/or operations in the method embodiments of the present application by reading and executing the instructions 2031 stored in the memory 203. Data 2032 may be required during the operations and/or steps in the example.
可选的,该网络装置还可以包括I/O接口210,该I/O接口210用于接收来自外围设备的指令和/或数据,以及向外围设备输出指令和/或数据。Optionally, the network device may further include an I/O interface 210, and the I/O interface 210 is used for receiving instructions and/or data from peripheral devices, and outputting instructions and/or data to peripheral devices.
下面介绍本申请实施例的方法部分。首先介绍本申请实施例提出的一种协议栈。本申请实施例提出的嵌套域的编码系数,在发送端、中间节点或接收端中可以承载于协议栈的不同的层。The method part of the embodiment of the present application is described below. First, a protocol stack proposed by an embodiment of the present application is introduced. The coding coefficients of the nested fields proposed in the embodiments of the present application may be carried in different layers of the protocol stack in the transmitting end, the intermediate node or the receiving end.
在一种可选的实现方式中,请参阅图3a,图3a为本申请实施例提出的一种协议栈结构示意图。图3a适用的系统架构中,发送端支持阶数较高的有限域(高次嵌套域)和阶数较低的有限域(低次嵌套域)的编码,中间节点支持阶数较低的有限域(低次嵌套域)的重编码,接收端支持阶数较高的有限域(高次嵌套域)和阶数较低的有限域(低次嵌套域)的译码。阶数较高的有限域(高次嵌套域)的阶数,高于,阶数较低的有限域(低次嵌套域)的阶数。In an optional implementation manner, please refer to FIG. 3a, which is a schematic structural diagram of a protocol stack proposed by an embodiment of the present application. In the applicable system architecture of Figure 3a, the sender supports encoding of higher-order finite fields (high-order nested fields) and lower-order finite fields (low-order nested fields), and intermediate nodes support lower-order encodings Re-encoding of the finite field (low-order nesting field) of , the receiving end supports the decoding of the finite field with higher order (high-order nesting field) and the finite field with lower order (low-order nesting field). The order of a finite field with a higher order (higher-order nested field) is higher than the order of a finite field with a lower order (a lower-order nested field).
在发送端中,阶数较高的有限域的编码系数承载于传输(transport)层中,发送端使用阶数较高的有限域的编码系数对传输层的数据进行编码;阶数较低的有限域的编码系数承载于网络(network)层(和/或数据链路(data link)层)中,发送端使用阶数较低的有限域的编码系数对网络层(和/或数据链路层)的数据进行编码。示例性的,该网络层包括互联网协议(Internet protocol)层,该传输层包括传输控制协议(Transmission Control  Protocol,TCP)层。In the sender, the coding coefficients of the finite field with higher order are carried in the transport layer, and the sender uses the coding coefficients of the finite field with higher order to encode the data of the transport layer; The coding coefficients of the finite field are carried in the network layer (and/or the data link layer), and the sender uses the coding coefficients of the finite field of lower order to layer) data is encoded. Exemplarily, the network layer includes an Internet protocol (Internet protocol) layer, and the transport layer includes a Transmission Control Protocol (Transmission Control Protocol, TCP) layer.
中间节点(如图中中间节点1···中间节点n)使用阶数较低的有限域的编码系数对网络层(和/或数据链路层)的数据进行重编码。中间节点使用的阶数较低的有限域的编码系数,承载于网络层(和/或数据链路层)中。可选的,中间节点中部分或全部的中间节点,可以使用阶数较低的有限域的编码系数对来自发送端的报文进行重编码;也可以不对该来自发送端的报文进行重编码,而是将该来自发送端的报文直接转发至下一跳中间节点或接收端。Intermediate nodes (eg, intermediate node 1 . . . intermediate node n in the figure) re-encode the data of the network layer (and/or the data link layer) using coding coefficients of a finite field with a lower order. The lower-order finite field coding coefficients used by the intermediate nodes are carried in the network layer (and/or the data link layer). Optionally, some or all of the intermediate nodes in the intermediate nodes may re-encode the message from the sender by using the coding coefficients of the finite field with a lower order; or not re-encode the message from the sender, but It is to directly forward the message from the sender to the next-hop intermediate node or the receiver.
接收端使用阶数较高的有限域的编码系数对传输层的数据进行译码;接收端使用阶数较低的有限域的编码系数对网络层(和/或数据链路层)的数据进行译码。The receiving end uses the coding coefficients of the finite field of higher order to decode the data of the transmission layer; the receiving end uses the coding coefficients of the finite field of the lower order to decode the data of the network layer (and/or the data link layer). decoding.
本实施例中,通过上述协议栈结构,保障发送端到接收端的TCP可靠性不被破坏。In this embodiment, the above-mentioned protocol stack structure ensures that the TCP reliability from the sender to the receiver is not damaged.
在另一种可选的实现方式中,请参阅图3b,图3b为本申请实施例提出的另一种协议栈结构示意图。图3b适用的系统架构中,发送端支持阶数较高的有限域(高次嵌套域)的编码,中间节点支持阶数较低的有限域(低次嵌套域)的重编码,接收端支持阶数较高的有限域(高次嵌套域)和阶数较低的有限域(低次嵌套域)的译码。In another optional implementation manner, please refer to FIG. 3b, which is a schematic structural diagram of another protocol stack proposed by an embodiment of the present application. In the applicable system architecture of Figure 3b, the sender supports encoding of a finite field with a higher order (high-order nested field), and the intermediate node supports recoding of a finite field with a lower order (low-order nested field). The terminal supports the decoding of finite fields with higher order (high-order nested fields) and finite fields with lower orders (lower-order nested fields).
在发送端中,阶数较高的有限域的编码系数承载于传输(transport)层中,发送端使用阶数较高的有限域的编码系数对传输层的数据进行编码。示例性的,该传输层包括传输控制协议(Transmission Control Protocol,TCP)层。In the transmitting end, the coding coefficients of the finite field with higher order are carried in the transport layer, and the transmitting end uses the coding coefficients of the finite field with higher order to encode the data of the transport layer. Exemplarily, the transport layer includes a Transmission Control Protocol (Transmission Control Protocol, TCP) layer.
中间节点(如图中中间节点1···中间节点n)使用阶数较低的有限域的编码系数对网络层(和/或数据链路层)的数据进行重编码。中间节点使用的阶数较低的有限域的编码系数,承载于网络层(和/或数据链路层)中。示例性的,该网络层包括互联网协议(Internet protocol)层。可选的,中间节点中部分或全部的中间节点,可以使用阶数较低的有限域的编码系数对来自发送端的报文进行重编码;也可以不对该来自发送端的报文进行重编码,而是将该来自发送端的报文直接转发至下一跳中间节点或接收端。Intermediate nodes (eg, intermediate node 1 . . . intermediate node n in the figure) re-encode the data of the network layer (and/or the data link layer) using coding coefficients of a finite field with a lower order. The lower-order finite field coding coefficients used by the intermediate nodes are carried in the network layer (and/or the data link layer). Exemplarily, the network layer includes an Internet protocol (Internet protocol) layer. Optionally, some or all of the intermediate nodes in the intermediate nodes may re-encode the message from the sender by using the coding coefficients of the finite field with a lower order; or not re-encode the message from the sender, but It is to directly forward the message from the sender to the next-hop intermediate node or the receiver.
接收端使用阶数较高的有限域的编码系数对传输层的数据进行译码;接收端使用阶数较低的有限域的编码系数对网络层(和/或数据链路层)的数据进行译码。The receiving end uses the coding coefficients of the finite field of higher order to decode the data of the transmission layer; the receiving end uses the coding coefficients of the finite field of the lower order to decode the data of the network layer (and/or the data link layer). decoding.
本实施例中,通过分布式的编码,在兼容现有的网络装置(发送端)的基础上。降低发送端与中间节点之间的报文传输量,降低发送端与中间节点之间网络的传输负载。In this embodiment, distributed coding is used on the basis of compatibility with existing network devices (transmitters). The packet transmission volume between the sender and the intermediate node is reduced, and the network transmission load between the sender and the intermediate node is reduced.
其次,本申请实施例提出的一种有限域的编码或译码方法,该方法可以应用于前述图1a-1d。在该通信系统中,在发送端和接收端之间可以存在中间节点对发送端发送的报文进行重编码,或者发送端和接收端之间也可以没有中间节点;或者发送端和接收端之间存在中间节点,但是中间节点不进行重编码,本申请不做具体限定。下面对发送端侧、中间节点侧、以及接收端侧的方法分别进行描述。Secondly, a method for encoding or decoding a finite field proposed by an embodiment of the present application can be applied to the foregoing Figs. 1a-1d. In this communication system, there may be an intermediate node between the sender and the receiver to re-encode the message sent by the sender, or there may be no intermediate node between the sender and the receiver; There are intermediate nodes between, but the intermediate nodes do not perform recoding, which is not specifically limited in this application. The methods on the sending end side, the intermediate node side, and the receiving end side are respectively described below.
请参阅图4,图4为本申请实施例提出的一种有限域的编码方法的实施例示意图。该有限域的编码方法应用于发送端,包括:Please refer to FIG. 4 , which is a schematic diagram of an embodiment of a finite field encoding method proposed by an embodiment of the present application. The finite field encoding method is applied to the sender, including:
401、发送端使用第一编码系数矩阵对k个源数据块进行编码处理,生成一个或多个第一编码数据块。401. The transmitting end uses the first encoding coefficient matrix to perform encoding processing on the k source data blocks to generate one or more first encoded data blocks.
本实施例中,发送端使用第一编码系数矩阵对一个组(Generation)中k个源数据块 进行编码处理,得到k个第一编码数据块。其中,第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,k为正整数。第一有限域和第二有限域为具有嵌套结构的有限域,且,第二有限域的阶数高于第一有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致。In this embodiment, the transmitting end uses the first encoding coefficient matrix to perform encoding processing on k source data blocks in a group (Generation) to obtain k first encoded data blocks. The first coding coefficient matrix includes coding coefficients of the first finite field and coding coefficients of the second finite field, and k is a positive integer. The first finite field and the second finite field are finite fields with nested structure, and the order of the second finite field is higher than that of the first finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship , and the number of features is the same.
具体的,第一有限域,与,第二有限域,为具有嵌套结构的有限域,其中,第一有限域为GF(E d),第二有限域为GF(E D),其中,E为素数,d为正整数,D为正整数,D=q*d,q为大于1的正整数。 Specifically, the first finite field and the second finite field are finite fields with nested structures, wherein the first finite field is GF(E d ), and the second finite field is GF(E D ), wherein, E is a prime number, d is a positive integer, D is a positive integer, D=q*d, and q is a positive integer greater than 1.
该第一有限域与该第二有限域可以包括多个有限域,则第一编码系数矩阵中包括2个或以上的具有嵌套结构的有限域。The first finite field and the second finite field may include multiple finite fields, and the first coding coefficient matrix includes two or more finite fields with a nested structure.
需要说明的是,本申请实施例中涉及的编码系数矩阵(如第一编码系数矩阵、第二编码系数矩阵等)可以包括多组编码系数,其中,编码系数矩阵的一行元素为一组编码系数,或者,编码系数矩阵的一列元素为一组编码系数。将多个数据块与编码系数矩阵进行相乘时,可以将多个数据块与每组编码系数进行相乘,例如,若编码系数矩阵的一行元素为一组编码系数,将k个源数据块与第一编码系数矩阵进行编码处理时,可以将第一编码系数矩阵的每一行元素分别与k个源数据块相乘。若编码系数矩阵的一列元素为一组编码系数,将k个源数据块与第一编码系数矩阵进行编码处理时,可以将第一编码系数矩阵的每一列元素分别与k个源数据块相乘。为了描述上的方便,下面以编码系数矩阵的一行元素为一组编码系数为例进行说明。应理解,编码系数矩阵的一列元素为一组编码系数时发送端对源数据块进行编码的逻辑,与编码系数矩阵的一行元素为一组编码系数时发送端对源数据块进行编码的逻辑类似。It should be noted that, the coding coefficient matrix (such as the first coding coefficient matrix, the second coding coefficient matrix, etc.) involved in the embodiments of the present application may include multiple sets of coding coefficients, wherein an element of a row of the coding coefficient matrix is a set of coding coefficients , or, a column of elements of the coding coefficient matrix is a set of coding coefficients. When multiplying multiple data blocks with a coding coefficient matrix, you can multiply multiple data blocks with each set of coding coefficients. For example, if one row of the coding coefficient matrix is a set of coding coefficients, the k source data blocks are When performing encoding processing with the first encoding coefficient matrix, each row element of the first encoding coefficient matrix may be multiplied by k source data blocks respectively. If one column of the coding coefficient matrix is a set of coding coefficients, when the k source data blocks are encoded with the first coding coefficient matrix, each column element of the first coding coefficient matrix can be multiplied by the k source data blocks respectively . For the convenience of description, the following description is given by taking an example that one row of the coding coefficient matrix is a set of coding coefficients. It should be understood that when the elements of a column of the coding coefficient matrix are a set of coding coefficients, the logic of the sender encoding the source data block is similar to the logic of the sender coding the source data block when the elements of a row of the coding coefficient matrix are a set of coding coefficients. .
具体的,如图5所示,图5为本申请实施例中一个发送端编码示意图。假设一个组包含k个源数据块即p j={p 1~p k},其中,j为正整数,1≤j≤k。发送端根据p 1~p k生成一个或多个第一编码数据块c n={c 1~c n},n为正整数。其中,c 1为p 1~p k在GF(E d)和GF(E D)有限域中进行编码得到的一个第一编码数据块,即发送端采用GF(E d)和GF(E D)有限域中的编码系数α 1,1…α 1,k对p 1~p k进行编码得到c 1,其中,c 1可以满足如下公式: Specifically, as shown in FIG. 5 , FIG. 5 is a schematic diagram of encoding at a transmitting end in an embodiment of the present application. It is assumed that a group contains k source data blocks, that is, p j ={p 1 -p k }, where j is a positive integer, and 1≤j≤k. The transmitting end generates one or more first encoded data blocks c n ={c 1˜c n } according to p 1 to p k , where n is a positive integer. Wherein, c 1 is a first encoded data block obtained by encoding p 1 to p k in the finite fields of GF(E d ) and GF(E D ), that is, the sender uses GF(E d ) and GF(E D ) ) The coding coefficients α 1,1 ...α 1,k in the finite field encode p 1 to p k to obtain c 1 , where c 1 can satisfy the following formula:
Figure PCTCN2021112380-appb-000035
Figure PCTCN2021112380-appb-000035
其中,α 1,1…α 1,k为GF(E d)和GF(E D)有限域中的编码系数。 where α 1,1 . . . α 1,k are coding coefficients in the finite fields of GF(E d ) and GF(E D ).
c n为p 1~p k在GF(E d)和GF(E D)有限域中进行编码得到的第一编码数据块,即发送端采用GF(E d)和GF(E D)有限域中的编码系数α n,1…α n,k对p 1~p k进行编码得到c n,其中,c n可以满足如下公式: cn is the first encoded data block obtained by encoding p 1 to p k in the finite fields of GF(E d ) and GF(E D ), that is, the sender adopts the finite fields of GF(E d ) and GF(E D ) The coding coefficients α n,1 ...α n,k in , encode p 1 to p k to obtain c n , where c n can satisfy the following formula:
Figure PCTCN2021112380-appb-000036
Figure PCTCN2021112380-appb-000036
其中,α n,1…α n,k为GF(E d)和GF(E D)有限域中的编码系数。 where α n,1 . . . α n,k are coding coefficients in the finite fields of GF(E d ) and GF(E D ).
示例性的,如图6所示,图6为本申请实施例中又一种发送端的编码示意图。假设一个组包含k个源数据块p j,其中j=1,2,…,k。该组数据用矩阵P表示,写作:P=[p 1p 2…p k] T。定义维度为(k+n)*k的第一编码系数矩阵:G=[I k A 1 ... A D] T。其中,矩阵I k是k*k单位矩阵,单位矩阵为对角线元素为1,其余各个元素为0的矩阵。矩阵A d是一个 基于第一有限域GF(E d)的编码系数和第二有限域GF(E D)的编码系数的r d×k矩阵,1≤d≤D,令
Figure PCTCN2021112380-appb-000037
通过G左乘P,发送端编码得到多个第一编码数据块,写作c 1…c n
Exemplarily, as shown in FIG. 6 , FIG. 6 is a schematic diagram of encoding of another transmitting end in an embodiment of the present application. Suppose a group contains k source data blocks p j , where j = 1,2,...,k. This set of data is represented by a matrix P, written as: P=[p 1 p 2 …p k ] T . Define a first encoding coefficient matrix of dimension (k+n)*k: G=[I k A 1 . . . A D ] T . Among them, the matrix I k is a k*k unit matrix, and the unit matrix is a matrix in which the diagonal element is 1, and the other elements are 0. The matrix Ad is an r d ×k matrix based on the coding coefficients of the first finite field GF(E d ) and the coding coefficients of the second finite field GF(E D ) , 1≤d≤D, let
Figure PCTCN2021112380-appb-000037
By left-multiplying P by G, the sender encodes to obtain a plurality of first encoded data blocks, which are written as c 1 . . . c n .
在另一种可选的实现方式中,第一编码系数矩阵中还可以不包括矩阵I k,即第一编码系数矩阵中仅包括矩阵A d。具体的,图6所示的第一编码系数矩阵中前4行编码系数也可以不与p 1…p 4进行相乘,而是在发送p 1~p 4时携带相应的编码系数,例如,在发送p 1时携带第一编码系数矩阵中第1行编码系数,在发送p 2时携带第一编码系数矩阵中第2行编码系数等等。 In another optional implementation manner, the first coding coefficient matrix may not include the matrix I k , that is, the first coding coefficient matrix only includes the matrix A d . Specifically, the first four rows of coding coefficients in the first coding coefficient matrix shown in FIG. 6 may not be multiplied by p 1 . . . p 4 , but carry corresponding coding coefficients when sending p 1 to p 4. For example, When p 1 is sent, the coded coefficients of the first row in the first coding coefficient matrix are carried, and when p 2 is sent, the coded coefficients of the second row of the first coding coefficient matrix are carried, and so on.
如图6所示,示例性的,k=4,n=4为例,第一编码系数矩阵包括:As shown in FIG. 6, for example, k=4, n=4, the first coding coefficient matrix includes:
A 1 T=[α 1,1 α 1,2 α 1,3 α 1,4]; A 1 T =[α 1,1 α 1,2 α 1,3 α 1,4 ];
A 2 T=[α 2,1 α 2,2 α 2,3 α 2,4]; A 2 T =[α 2,1 α 2,2 α 2,3 α 2,4 ];
A 3 T=[α 3,1 α 3,2 α 3,3 α 3,4]; A 3 T =[α 3,1 α 3,2 α 3,3 α 3,4 ];
A 4 T=[α 4,1 α 4,2 α 4,3 α 4,4]。 A 4 T =[α 4,1 α 4,2 α 4,3 α 4,4 ].
令1≤d≤D,d为正整数。则具体编码如下: Let 1≤d≤D, where d is a positive integer. The specific code is as follows:
第一编码系数矩阵第5行为
Figure PCTCN2021112380-appb-000038
有限域的一组编码系数{α 1,1…α 1,4},第一编码系数矩阵中第5行编码系数与p 1~p 4进行相乘,得到c 1。因此,c 1对应的一组编码系数为{α 1,1…α 1,4}。
The 5th row of the first coding coefficient matrix
Figure PCTCN2021112380-appb-000038
A set of coding coefficients {α 1,1 . . . α 1,4 } in the finite field, the coding coefficients of the fifth row in the first coding coefficient matrix are multiplied by p 1 to p 4 to obtain c 1 . Therefore, a set of coding coefficients corresponding to c 1 is {α 1,1 ···α 1,4 }.
第一编码系数矩阵第6行为
Figure PCTCN2021112380-appb-000039
有限域的一组编码系数{α 2,1…α 2,4},第一编码系数矩阵中第6行编码系数与p 1~p 4进行相乘,得到c 2。因此,c 2对应的一组编码系数为{α 2,1…α 2,4}。
The sixth row of the first coding coefficient matrix
Figure PCTCN2021112380-appb-000039
A set of coding coefficients {α 2,1 . . . α 2,4 } in the finite field, the coding coefficients of the sixth row in the first coding coefficient matrix are multiplied by p 1 to p 4 to obtain c 2 . Therefore, a set of coding coefficients corresponding to c 2 is {α 2,1 ···α 2,4 }.
第一编码系数矩阵第7行为
Figure PCTCN2021112380-appb-000040
有限域的一组编码系数{α 3,1…α 3,4},第一编码系数矩阵中第7行编码系数与p 1~p 4进行相乘,得到c 3。因此,c 3对应的一组编码系数为{α 3,1…α 3,4}。
The 7th row of the first coding coefficient matrix
Figure PCTCN2021112380-appb-000040
A set of coding coefficients {α 3,1 . . . α 3,4 } in the finite field, the coding coefficients in the seventh row in the first coding coefficient matrix are multiplied by p 1 to p 4 to obtain c 3 . Therefore, a set of coding coefficients corresponding to c 3 is {α 3,1 ···α 3,4 }.
第一编码系数矩阵第8行为
Figure PCTCN2021112380-appb-000041
有限域的一组编码系数{α 4,1…α 4,4},第一编码系数矩阵中第8行编码系数与p 1~p 4进行相乘,得到c 4。因此,c 4对应的一组编码系数为{α 4,1…α 4,4}。
The 8th row of the first coding coefficient matrix
Figure PCTCN2021112380-appb-000041
A set of coding coefficients { α 4,1 . Therefore, a set of coding coefficients corresponding to c 4 is {α 4,1 ···α 4,4 }.
在另一种可选的实现方式中,可以使用分布式编码,具体的:发送端使用第一有限域的编码系数对k个源数据块进行编码处理,生成一个或多个编码数据块。发送端向中间节点发送携带该编码数据块的编码报文,由中间节点使用第二有限域的编码系数对该编码报文进行编码处理。In another optional implementation manner, distributed coding may be used. Specifically, the sending end uses coding coefficients of the first finite field to perform coding processing on k source data blocks to generate one or more coded data blocks. The sending end sends an encoded message carrying the encoded data block to the intermediate node, and the intermediate node performs encoding processing on the encoded message using the encoding coefficients of the second finite field.
或者,发送端使用第二有限域的编码系数对k个源数据块进行编码处理,生成一个或多个编码数据块。发送端向中间节点发送携带该编码数据块的编码报文,由中间节点使用第一有限域的编码系数对该编码报文进行编码处理。Alternatively, the transmitting end uses the coding coefficients of the second finite field to perform coding processing on the k source data blocks to generate one or more coded data blocks. The sending end sends an encoded message carrying the encoded data block to the intermediate node, and the intermediate node performs encoding processing on the encoded message using the encoding coefficients of the first finite field.
402、发送端生成一个或多个第一编码报文。402. The sending end generates one or more first encoded packets.
本实施例中,发送端根据k个第一编码数据块和第一编码系数矩阵,生成一个或多个第一编码报文。第一编码报文包含一个或多个第一编码数据块,以及一个或多个第一编码数据块对应的第一编码系数矩阵中的一组编码系数。In this embodiment, the transmitting end generates one or more first encoded packets according to the k first encoded data blocks and the first encoded coefficient matrix. The first coded message includes one or more first coded data blocks and a set of coding coefficients in the first coding coefficient matrix corresponding to the one or more first coded data blocks.
在一种可选的实现方式中,第一编码报文还包含一个或多个源数据块,源数据块与单位矩阵中的一组编码系数对应,单位矩阵的尺寸与第一编码系数矩阵相同。In an optional implementation manner, the first encoded message further includes one or more source data blocks, the source data blocks correspond to a set of encoding coefficients in the unit matrix, and the size of the unit matrix is the same as that of the first encoding coefficient matrix .
示例性的,如图6所示,发送端发送的第一编码报文包括p 1~p 4和c 1~c 4,且在发送p 1时携带第一编码系数矩阵中第1行编码系数{1000},在发送p 2时携带第一编码系数矩阵中第2行编码系数{0100},在发送p 3时携带第一编码系数矩阵中第3行编码系数{0010},在发送p 4时携带第一编码系数矩阵中第4行编码系数{0001},在发送c 1时携带第一编码系数矩阵中第5行编码系数{α 1,1…α 1,4},在发送c 2时携带第一编码系数矩阵中第6行编码系数{α 2,1…α 2,4},在发送c 3时携带第一编码系数矩阵中第7行编码系数{α 3,1…α 3,4},在发送c 4时携带第一编码系数矩阵中第8行编码系数{α 4,1…α 4,4}。 Exemplarily, as shown in FIG. 6 , the first encoded message sent by the sender includes p 1 to p 4 and c 1 to c 4 , and when sending p 1 , it carries the encoding coefficient of the first row in the first encoding coefficient matrix. {1000}, when sending p 2 , carry the coding coefficient {0100} in the second row of the first coding coefficient matrix, when sending p 3 , carry the coding coefficient {0010} in the third row in the first coding coefficient matrix, when sending p 4 When sending c 1 , it carries the coding coefficient {α 1,1 ... α 1,4 } of the fifth row in the first coding coefficient matrix, and when sending c 2 When sending c 3, it carries the coding coefficients of the sixth row in the first coding coefficient matrix {α 2,1 ... α 2,4 }, and when sending c 3 , it carries the coding coefficients of the seventh row of the first coding coefficient matrix {α 3,1 ... α 3 ,4 }, when sending c 4 , the encoding coefficients {α 4,1 ···α 4,4 } of the 8th row in the first encoding coefficient matrix are carried.
在一种可选的实现方式中,一个第一编码报文中携带一个第一编码数据块(或一个源数据块)。In an optional implementation manner, a first encoded packet carries a first encoded data block (or a source data block).
在另一种可选的实现方式中,一个第一编码报文中携带多个第一编码数据块(和/或一个或多个源数据块)。这里不做具体限定。In another optional implementation manner, a first encoded packet carries multiple first encoded data blocks (and/or one or more source data blocks). There is no specific limitation here.
可选的,一个或多个第一编码报文还包括有限域阶数,有限域阶数与第一编码数据块,和/或,源数据块对应,有限域阶数为第一编码数据块对应的第一编码系数矩阵中的一组编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。该有限域阶数可以携带于第一编码数据块后(如图6所示),该有限域阶数也可以携带于第一编码数据块前(如图6所示的“header”),此处不做限制。Optionally, one or more first encoded packets further include a finite field order, the finite field order corresponds to the first encoded data block, and/or the source data block, and the finite field order is the first encoded data block. The order of the finite field where a group of coding coefficients in the corresponding first coding coefficient matrix is located, and/or the order of the finite field where the coding coefficients of the source data block are located. The finite field order can be carried after the first coded data block (as shown in FIG. 6 ), and the finite field order can also be carried before the first coded data block (“header” shown in FIG. 6 ). This There are no restrictions.
示例性的,若有限域为GF(E 2),则有限域阶数可以为2。该有限域阶数用于指示第一编码数据块对应的有限域的阶。 Exemplarily, if the finite field is GF(E 2 ), the order of the finite field may be 2. The finite field order is used to indicate the order of the finite field corresponding to the first encoded data block.
示例性的,阶数较低的有限域的编码系数(例如d小于或等于2)携带于互联网协议(Internet Protocol,IP)报文头或以太网(Ethernet)帧头,例如可以通过设置第六版互联网协议(Internet Protocol version 6,IPv6)扩展头、IP或ETH扩展域实现;阶数较高的有限域的编码系数(例如d大于2)携带于TCP报文头,例如可以通过设置TCP选项来携带。Exemplarily, the coding coefficients of the finite field with lower order (for example, d is less than or equal to 2) are carried in the Internet Protocol (Internet Protocol, IP) packet header or Ethernet (Ethernet) frame header, for example, by setting the sixth Internet Protocol version 6 (IPv6) extension header, IP or ETH extension field implementation; the coding coefficients of the finite field with higher order (for example, d is greater than 2) are carried in the TCP packet header, for example, by setting the TCP option to carry.
在一种可选的实现方式中,发送端生成的一个或多个第一编码系数报文中,携带源数据块。该一个或多个第一编码系数报文携带的数据块可以表示为:{p 1…p k}∪{c 1…c n}。该第一编码系数报文也可以称为系统码报文。 In an optional implementation manner, the source data block is carried in one or more first coding coefficient packets generated by the sender. The data blocks carried by the one or more first coding coefficient packets may be represented as: {p 1 ···p k }∪{c 1 ···c n }. The first coding coefficient message may also be referred to as a system code message.
在另一种可选的实现方式中,发送端生成的一个或多个第一编码系数报文中,不携带源数据块。该一个或多个第一编码系数报文携带的数据块可以表示为:{c 1…c n}。该第一编码系数报文也可以称为非系统码报文。 In another optional implementation manner, the source data block is not carried in one or more first coding coefficient packets generated by the sending end. The data blocks carried by the one or more first coding coefficient packets may be represented as: {c 1 . . . c n }. The first coding coefficient message may also be referred to as a non-systematic code message.
403、发送端发送一个或多个第一编码报文。403. The sending end sends one or more first encoded packets.
本申请实施例中,发送端在多个具有嵌套结构的有限域内对源数据块进行编码,接收端可以在具有嵌套结构的有限域中对该报文进行译码。由于具有嵌套结构的有限域中,阶 数较高的有限域的元素和运算法则,包括阶数较低的有限域的元素和运算发送。因此,首先,接收端可以根据自身算力和应用需求,在阶数较低的有限域中对阶数较高的有限域的编码数据进行译码,其次,对前次译码结果在阶数较高的有限域中继续译码。有效降低了计算复杂度,提高了译码速度和数据吞吐量,并且保障了译码的准确率。In this embodiment of the present application, the sender encodes the source data block in multiple finite fields with nested structures, and the receiver can decode the message in the finite fields with nested structures. Due to the finite field with nested structure, the elements and operations of the higher-order finite field, including the elements and operations of the lower-order finite field, are sent. Therefore, first, the receiving end can decode the encoded data of the finite field with a higher order in a finite field with a lower order according to its own computing power and application requirements. Continue decoding in higher finite fields. The computational complexity is effectively reduced, the decoding speed and data throughput are improved, and the decoding accuracy is guaranteed.
上述有限域的编码方法,也可以反向作为译码方法使用,即编码端和译码端为对端实现的方式。The above-mentioned finite field encoding method can also be used as a decoding method in reverse, that is, the encoding end and the decoding end are implemented by opposite ends.
发送端对源数据块进行编码处理,存在多种不同的实现方式。请参阅图7,图7为本申请实施例提出的又一种有限域的编码方法的实施例示意图。该有限域的编码方法应用于发送端,包括:The sender encodes the source data block, and there are many different implementations. Please refer to FIG. 7 , which is a schematic diagram of an embodiment of yet another finite field encoding method proposed by an embodiment of the present application. The finite field encoding method is applied to the sender, including:
701、发送端使用第二编码系数矩阵对k个源数据块进行编码处理,生成一个或多个第二编码数据块。701. The transmitting end uses the second encoding coefficient matrix to perform encoding processing on the k source data blocks to generate one or more second encoded data blocks.
本实施例中,发送端使用第二编码系数矩阵对一个组(Generation)中k个源数据块进行编码处理,得到k个第二编码数据块,第二编码数据块与第二编码系数矩阵中的一组编码系数对应,其中,第二编码系数矩阵至少包括第三有限域的编码系数,k为正整数。第三有限域为GF(E D1),E为素数,D1为正整数。 In this embodiment, the transmitting end uses the second encoding coefficient matrix to perform encoding processing on k source data blocks in a group (Generation) to obtain k second encoded data blocks. The second encoded data block and the second encoding coefficient matrix A set of coding coefficients corresponding to , wherein the second coding coefficient matrix includes at least coding coefficients of the third finite field, and k is a positive integer. The third finite field is GF(E D1 ), E is a prime number, and D1 is a positive integer.
具体的,如图8所示,图8为本申请实施例中一个发送端编码示意图。假设一个组包含k个源数据块即p j={p 1~p k},其中,j为正整数,1≤j≤k。发送端根据第二编码矩阵G与源数据P{p 1~p k},生成一个或多个第二编码数据块c’ n={c’ 1~c’ n},n为正整数。其中,c’ 1为p 1~p k在GF(E D1)有限域中进行编码得到的一个第二编码数据块,即发送端采用GF(E D1)有限域中的编码系数α′ 11…α′ 1k对p 1~p k进行编码得到c’ 1,其中,c’ 1可以满足如下公式: Specifically, as shown in FIG. 8 , FIG. 8 is a schematic diagram of encoding at a transmitting end in an embodiment of the present application. It is assumed that a group contains k source data blocks, that is, p j ={p 1 -p k }, where j is a positive integer, and 1≤j≤k. The transmitting end generates one or more second encoded data blocks c' n ={c' 1˜c ' n } according to the second encoding matrix G and the source data P{p 1 ˜p k }, where n is a positive integer. Among them, c' 1 is a second encoded data block obtained by encoding p 1 to p k in the finite field of GF(E D1 ), that is, the transmitting end adopts the encoding coefficients α′ 11 . . . in the finite field of GF(E D1 ). α′ 1k encodes p 1 to p k to obtain c′ 1 , where c′ 1 can satisfy the following formula:
Figure PCTCN2021112380-appb-000042
Figure PCTCN2021112380-appb-000042
其中,α′ 1,1…α′ 1,k为GF(E D1)有限域中的编码系数。 Among them, α′ 1,1 ···α′ 1,k are the coding coefficients in the finite field of GF(E D1 ).
c’ n为p 1~p k在GF(E D1)有限域中进行编码得到的第二编码数据块,即发送端采用GF(E D1)有限域中的编码系数α′ 1,1…α′ 1,k对p 1~p k进行编码得到c’ n,其中,c’ n可以满足如下公式: c' n is the second encoded data block obtained by encoding p 1 ~ p k in the finite field of GF(E D1 ), that is, the transmitting end adopts the coding coefficients α′ 1,1 . . . α in the finite field of GF(E D1 ) ′ 1,k encodes p 1 to p k to obtain c' n , where c' n can satisfy the following formula:
Figure PCTCN2021112380-appb-000043
Figure PCTCN2021112380-appb-000043
其中,α′ n,1…α′ n,k为GF(E D1)有限域中的编码系数。 Among them, α′ n,1 ···α′ n,k are the coding coefficients in the finite field of GF(E D1 ).
令1≤d1≤D1,d1为正整数。则具体编码如下: Let 1≤d1≤D1, and d1 is a positive integer. The specific code is as follows:
第二编码系数矩阵第5行为
Figure PCTCN2021112380-appb-000044
有限域的一组编码系数{α′ 1,1…α′ 1,4},第二编码系数矩阵中第5行编码系数与p 1~p 4进行相乘,得到c′ 1。因此,c′ 1对应的一组编码系数为α′ 1,1…α′ 1,4
The 5th row of the second coding coefficient matrix
Figure PCTCN2021112380-appb-000044
A set of coding coefficients {α' 1,1 ... α' 1,4 } in the finite field, and the coding coefficients in the 5th row in the second coding coefficient matrix are multiplied by p 1 -p 4 to obtain c' 1 . Therefore, a set of coding coefficients corresponding to c′ 1 is α′ 1,1 ···α′ 1,4 .
第二编码系数矩阵第6行为
Figure PCTCN2021112380-appb-000045
有限域的一组编码系数{α′ 2,1…α′ 2,4},第二编码系数矩阵中第6行编码系数与p 1~p 4进行相乘,得到c′ 2。因此,c′ 2对应的一组编码系数为{α′ 2,1…α′ 2,4}。
The 6th row of the second coding coefficient matrix
Figure PCTCN2021112380-appb-000045
A set of coding coefficients {α' 2,1 ... α' 2,4 } in the finite field, the coding coefficients in the sixth row in the second coding coefficient matrix are multiplied by p 1 -p 4 to obtain c' 2 . Therefore, a set of coding coefficients corresponding to c′ 2 is {α′ 2,1 …α′ 2,4 }.
第二编码系数矩阵第7行为
Figure PCTCN2021112380-appb-000046
有限域的一组编码系数{α′ 3,1…α′ 3,4},第二编码系数矩阵中第7行编码系数与p 1~p 4进行相乘,得到c′ 3。因此,c′ 3对应的一组编码系数为{α′ 3,1…α′ 3,4}。
The 7th row of the second coding coefficient matrix
Figure PCTCN2021112380-appb-000046
A set of coding coefficients {α' 3,1 ... α' 3,4 } in the finite field, the coding coefficients in the 7th row in the second coding coefficient matrix are multiplied by p 1 -p 4 to obtain c' 3 . Therefore, a set of coding coefficients corresponding to c′ 3 is {α′ 3,1 …α′ 3,4 }.
第二编码系数矩阵第8行为
Figure PCTCN2021112380-appb-000047
有限域的一组编码系数{α′ 4,1…α′ 4,4},第二编码 系数矩阵中第8行编码系数与p 1~p 4进行相乘,得到c′ 4。因此,c′ 4对应的一组编码系数为{α′ 4,1…α′ 4,4}。
The 8th row of the second coding coefficient matrix
Figure PCTCN2021112380-appb-000047
A set of coding coefficients {α' 4,1 ... α' 4,4 } in the finite field, the coding coefficients in the 8th row in the second coding coefficient matrix are multiplied by p 1 -p 4 to obtain c' 4 . Therefore, a set of coding coefficients corresponding to c′ 4 is {α′ 4,1 …α′ 4,4 }.
在另一种可选的实现方式中,第二编码系数矩阵,还包括:第五有限域的编码系数,第五有限域与第三有限域具有嵌套结构,其中,第五有限域与第三有限域,满足以下关系:阶数存在倍数关系,且,特征数一致。In another optional implementation manner, the second coding coefficient matrix further includes: coding coefficients of a fifth finite field, where the fifth finite field and the third finite field have a nested structure, wherein the fifth finite field and the third finite field have a nested structure. The three finite fields satisfy the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent.
702、使用第三编码系数矩阵对一个或多个第二编码数据块和k个源数据块进行编码处理,生成一个或多个第三编码数据块。702. Use the third encoding coefficient matrix to perform encoding processing on one or more second encoded data blocks and k source data blocks to generate one or more third encoded data blocks.
本实施例中,发送端使用第三编码系数矩阵对k个第二编码数据块和k个源数据块进行编码处理,生成g个第三编码数据块,第三编码数据块与第三编码系数矩阵中的一组编码系数对应,g为正整数。In this embodiment, the transmitting end uses the third encoding coefficient matrix to perform encoding processing on k second encoded data blocks and k source data blocks to generate g third encoded data blocks, the third encoded data block and the third encoded coefficients A set of coding coefficients in the matrix corresponds, and g is a positive integer.
请参阅图9,图9为本申请实施例中又一种编码示意图。当发送端生成一个或多个第二编码数据块{c′ 1~c′ n}后,使用第三编码系数矩阵G”对一个或多个第二编码数据块{c′ 1~c′ n}和k个源数据块{p 1~p k}进行编码处理,生成一个或多个第三编码数据块{b 1~b m},m为正整数。 Please refer to FIG. 9. FIG. 9 is a schematic diagram of another encoding according to an embodiment of the present application. After the transmitting end generates one or more second encoded data blocks {c′ 1 ~c′ n }, the third encoding coefficient matrix G” is used to generate one or more second encoded data blocks {c′ 1 ~c′ n } and k source data blocks {p 1 to p k } are encoded to generate one or more third encoded data blocks {b 1 to b m }, where m is a positive integer.
其中,第三编码系数矩阵至少包括第四有限域的编码系数。第三有限域,与,第四有限域,为具有嵌套结构的有限域,其中,第三有限域为GF(E D1),第四有限域为GF(E d1),E为素数,d1为正整数,D1为正整数,D1=z*d1,z为大于1的正整数。 Wherein, the third coding coefficient matrix includes at least coding coefficients of the fourth finite field. The third finite field, and the fourth finite field, are finite fields with a nested structure, wherein the third finite field is GF(E D1 ), the fourth finite field is GF(E d1 ), E is a prime number, d1 is a positive integer, D1 is a positive integer, D1=z*d1, and z is a positive integer greater than 1.
第三编码数据块为b m,其中,
Figure PCTCN2021112380-appb-000048
其中,β m,k+n为第四有限域的编码系数,k个源数据块为p j={p 1~p k},j为正整数,1≤j≤k。
The third encoded data block is b m , where,
Figure PCTCN2021112380-appb-000048
Wherein, β m,k+n are the coding coefficients of the fourth finite field, the k source data blocks are p j ={p 1 ~p k }, j is a positive integer, 1≤j≤k.
在一种可选的实现方式中,第四有限域为当前发送端支持的最低阶的有限域,该最低阶的有限域与第三有限域具有嵌套结构。In an optional implementation manner, the fourth finite field is the lowest-order finite field currently supported by the sender, and the lowest-order finite field and the third finite field have a nested structure.
在一种可选的实现方式中,示例性的,请参阅图10,图10为本申请实施例中又一种编码示意图。{p 1…p k}∪{c′ 1…c′ n}∪{b 1…b m},是由k个源数据块和n个第二编码数据块{p 1…p k}∪{c′ 1…c′ n},经过(k+n+m)*(k+n)维度的第三编码系数矩阵,左乘第二编码系数矩阵和源数据块编码得到。图10所示的编码方式,也称为系统码的编码方式。第三编码系数矩阵中单位矩阵的尺寸,由第二编码数据块的数量(n)和源数据块的数量(k)确定。源数据块的编码系数为该单位矩阵中对应元素,源数据块的编码系数属于第四有限域。 In an optional implementation manner, for example, please refer to FIG. 10 , which is another schematic diagram of encoding in an embodiment of the present application. {p 1 …p k }∪{c′ 1 …c′ n }∪{b 1 …b m }, is composed of k source data blocks and n second encoded data blocks {p 1 …p k }∪{ c′ 1 ... c′ n }, obtained by left-multiplying the second encoding coefficient matrix and the source data block through the third encoding coefficient matrix of (k+n+m)*(k+n) dimension. The encoding method shown in FIG. 10 is also referred to as a systematic code encoding method. The size of the identity matrix in the third encoding coefficient matrix is determined by the number (n) of the second encoded data blocks and the number (k) of the source data blocks. The coding coefficients of the source data block are corresponding elements in the unit matrix, and the coding coefficients of the source data block belong to the fourth finite field.
以k=4,n=4,m=1为例,第三编码系数矩阵为9*8的矩阵,其中,第1~8行构成对角线元素为1,且除对角线元素以外的其他元素为0的8*8矩阵。Taking k=4, n=4, m=1 as an example, the third coding coefficient matrix is a 9*8 matrix, wherein the diagonal elements of the 1st to 8th rows are 1, and the elements other than the diagonal elements are 1. 8*8 matrix whose other elements are 0.
第三编码系数矩阵中第1行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到p 1The coding coefficients of the first row in the third coding coefficient matrix are multiplied by p 1 to p 4 and c' 1 to c' 4 to obtain p 1 .
第三编码系数矩阵中第2行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到p 2The coding coefficients of the second row in the third coding coefficient matrix are multiplied by p 1 -p 4 and c' 1 -c' 4 to obtain p 2 .
第三编码系数矩阵中第3行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到p 3The coding coefficients of the third row in the third coding coefficient matrix are multiplied by p 1 to p 4 and c' 1 to c' 4 to obtain p 3 .
第三编码系数矩阵中第4行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到p 4The coding coefficients of the fourth row in the third coding coefficient matrix are multiplied by p 1 to p 4 and c' 1 to c' 4 to obtain p 4 .
第三编码系数矩阵中第5行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到c’ 1In the third coding coefficient matrix, the coding coefficients in the fifth row are multiplied by p 1 -p 4 and c' 1 -c' 4 to obtain c' 1 .
第三编码系数矩阵中第6行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到c’ 2The coding coefficients of the sixth row in the third coding coefficient matrix are multiplied by p 1 -p 4 and c' 1 -c' 4 to obtain c' 2 .
第三编码系数矩阵中第7行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到c’ 3In the third coding coefficient matrix, the coding coefficients in the seventh row are multiplied by p 1 -p 4 and c' 1 -c' 4 to obtain c' 3 .
第三编码系数矩阵中第8行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到c’ 4In the third coding coefficient matrix, the coding coefficients in the 8th row are multiplied by p 1 -p 4 and c' 1 -c' 4 to obtain c' 4 .
需要说明的是,图10所示的第三编码系数矩阵中前8行编码系数也可以不与p 1~p 4以及c’ 1~c’ 4进行相乘,而是在发送p 1~p 4以及c’ 1~c’ 4时携带相应的编码系数,例如,在发送p 1时携带第三编码系数矩阵中第1行编码系数,在发送p 2时携带第三编码系数矩阵中第2行编码系数等等。 It should be noted that, the coding coefficients of the first 8 rows in the third coding coefficient matrix shown in FIG. 10 may not be multiplied by p 1 ˜p 4 and c′ 1 ˜c’ 4 , but are sent when p 1 ˜p 4 and c' 1 to c' 4 carry the corresponding coding coefficients, for example, when sending p 1 , carry the coding coefficient of the first row in the third coding coefficient matrix, and when sending p 2 , carry the second coding coefficient in the third coding coefficient matrix Row coding coefficients, etc.
第三编码系数矩阵第9行为GF(2 1)有限域的一组编码系数{β m,1…β m,4}。第三编码系数矩阵中第9行编码系数与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 1。因此,b 1对应的一组编码系数为{β m,1…β m,8}。 The ninth row of the third coding coefficient matrix is a set of coding coefficients {β m,1 . . . β m,4 } for the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients of the ninth row are multiplied by p 1 to p 4 and c' 1 to c' 4 to obtain b 1 . Therefore, a set of coding coefficients corresponding to b 1 is {β m,1 ···β m,8 }.
在另一种可选的实现方式中,示例性的,请参阅图11,图11为本申请实施例中又一种编码示意图。图11所示的编码方式与图10所示的编码方式,不同点在于第三编码系数矩阵中不包括单位矩阵,单位矩阵指的是对角线元素为1,其它元素为0的矩阵。具体的,以k=4,n=4,m=8,第四有限域为GF(2 1)为例进行说明,具体如下: In another optional implementation manner, for example, please refer to FIG. 11 , which is another schematic diagram of encoding in this embodiment of the present application. The difference between the encoding method shown in FIG. 11 and the encoding method shown in FIG. 10 is that the third encoding coefficient matrix does not include a unit matrix, and the unit matrix refers to a matrix whose diagonal element is 1 and other elements are 0. Specifically, taking k=4, n=4, m=8, and the fourth finite field is GF(2 1 ) as an example, the details are as follows:
第三编码系数矩阵中第1行编码系数为GF(2 1)有限域的一组编码系数{β 1,1…β 1,8}。第三编码系数矩阵中第1行编码系数{β 1,1…β 1,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 1。因此,b 1对应的一组编码系数为{β 1,1…β 1,8}。 The coding coefficients of the first row in the third coding coefficient matrix are a set of coding coefficients {β 1,1 . . . β 1,8 } in the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 1,1 . Therefore, a set of coding coefficients corresponding to b 1 is {β 1,1 ... β 1,8 }.
第三编码系数矩阵中第2行编码系数为GF(2 1)有限域的一组编码系数{β 2,1…β 2,8}。第三编码系数矩阵中第2行编码系数{β 2,1…β 2,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 2。因此,b 2对应的一组编码系数为{β 2,1…β 2,8}。 The coding coefficients of the second row in the third coding coefficient matrix are a set of coding coefficients {β 2,1 . . . β 2,8 } of the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 2,1 . Therefore, a set of coding coefficients corresponding to b 2 is {β 2,1 . . . β 2,8 }.
第三编码系数矩阵中第3行编码系数为GF(2 1)有限域的一组编码系数{β 3,1…β 3,8}。第三编码系数矩阵中第3行编码系数{β 3,1…β 3,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 3。因此,b 3对应的一组编码系数为{β 3,1…β 3,8}。 The coding coefficients of the third row in the third coding coefficient matrix are a set of coding coefficients {β 3,1 . . . β 3,8 } of the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 3,1 . Therefore, a set of coding coefficients corresponding to b 3 is {β 3,1 ... β 3,8 }.
第三编码系数矩阵中第4行编码系数为GF(2 1)有限域的一组编码系数{β 4,1…β 4,8}。第三编码系数矩阵中第4行编码系数{β 4,1…β 4,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 4。因此,b 4对应的一组编码系数为{β 4,1…β 4,8}。 The coding coefficients of the fourth row in the third coding coefficient matrix are a set of coding coefficients {β 4,1 . . . β 4,8 } of the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 4,1 . Therefore, a set of coding coefficients corresponding to b 4 is {β 4,1 ... β 4,8 }.
第三编码系数矩阵中第5行编码系数为GF(2 1)有限域的一组编码系数{β 5,1…β 5,8}。第三编码系数矩阵中第5行编码系数{β 5,1…β 5,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 5。因此,b 5对应的一组编码系数为{β 5,1…β 5,8}。 The coding coefficients of the fifth row in the third coding coefficient matrix are a set of coding coefficients {β 5,1 . . . β 5,8 } of the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 5,1 . Therefore, a set of coding coefficients corresponding to b 5 is {β 5,1 ···β 5,8 }.
第三编码系数矩阵中第6行编码系数为GF(2 1)有限域的一组编码系数{β 6,1…β 6,8}。第三编码系数矩阵中第6行编码系数{β 6,1…β 6,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 6。因此,b 6对应的一组编码系数为{β 6,1…β 6,8}。 The coding coefficients of the sixth row in the third coding coefficient matrix are a set of coding coefficients {β 6,1 . . . β 6,8 } of the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 6,1 . Therefore, a set of coding coefficients corresponding to b 6 is {β 6,1 ... β 6,8 }.
第三编码系数矩阵中第7行编码系数为GF(2 1)有限域的一组编码系数{β 7,1…β 7,8}。第三编码系数矩阵中第7行编码系数{β 7,1…β 7,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 7。因此,b 7对应的一组编码系数为{β 7,1…β 7,8}。 In the third coding coefficient matrix, the coding coefficients of the seventh row are a set of coding coefficients {β 7,1 . . . β 7,8 } of the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 7,1 . Therefore, a set of coding coefficients corresponding to b 7 is {β 7,1 ... β 7,8 }.
第三编码系数矩阵中第8行编码系数为GF(2 1)有限域的一组编码系数{β 8,1…β 8,8}。第三编码系数矩阵中第8行编码系数{β 8,1…β 8,8}与p 1~p 4以及c’ 1~c’ 4进行相乘,得到b 8。因此,b 8对应的一组编码系数为{β 8,1…β 8,8}。 In the third coding coefficient matrix, the coding coefficients of the 8th row are a set of coding coefficients {β 8,1 . . . β 8,8 } of the finite field of GF(2 1 ). In the third coding coefficient matrix, the coding coefficients { β 8,1 . Therefore, a set of coding coefficients corresponding to b 8 is {β 8,1 ... β 8,8 }.
703、发送端生成一个或多个第二编码报文。703. The sending end generates one or more second encoded packets.
本实施例中,发送端根据k个第二编码数据块以及g个第三编码数据块,生成一个或 多个第二编码报文,一个第二编码报文包括:一个或多个第三编码数据块和一个或多个第三编码数据块的编码系数,第二编码报文包含一个或多个第三编码数据块,以及第三编码系数矩阵对应的编码系数。In this embodiment, the sending end generates one or more second encoded packets according to the k second encoded data blocks and the g third encoded data blocks, and a second encoded packet includes: one or more third encoded data blocks The coding coefficients of the data block and one or more third coded data blocks, the second coded message includes one or more third coded data blocks, and coding coefficients corresponding to the third coding coefficient matrix.
一个或多个第二编码报文还包括有限域阶数,有限域阶数包括第二编码数据块的编码系数所在有限域阶数、第三编码数据块的编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。The one or more second encoded messages further include a finite field order, and the finite field order includes the finite field order where the encoding coefficients of the second encoded data block are located, the finite field order where the encoding coefficients of the third encoded data block are located, and /or, the order of the finite field where the coding coefficients of the source data block are located.
在一种可选的实现方式中,一个第二编码报文中携带一个第三编码数据块(或一个源数据块,或一个第二编码数据块)。In an optional implementation manner, a second encoded packet carries a third encoded data block (or a source data block, or a second encoded data block).
在另一种可选的实现方式中,一个第二编码报文中携带多个第三编码数据块(和/或一个或多个源数据块,和/或一个或多个第二编码数据块)。这里不做具体限定。In another optional implementation manner, a second encoded packet carries multiple third encoded data blocks (and/or one or more source data blocks, and/or one or more second encoded data blocks ). There is no specific limitation here.
可选的,一个或多个第二编码报文还包括有限域阶数,有限域阶数,有限域阶数包括第二编码数据块的编码系数所在有限域阶数、第三编码数据块的编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。该有限域阶数可以携带于第二编码数据块/第三编码数据块后,该有限域阶数也可以携带于第二编码数据块/第三编码数据块前,此处不做限制。Optionally, the one or more second encoded packets further include a finite field order, the finite field order, and the finite field order includes the finite field order where the encoding coefficients of the second encoded data block are located, and the order of the third encoded data block. The order of the finite field where the coding coefficients are located, and/or the order of the finite field where the coding coefficients of the source data block are located. The finite field order may be carried after the second encoded data block/third encoded data block, and the finite field order may also be carried before the second encoded data block/third encoded data block, which is not limited here.
示例性的,若有限域为GF(E 2),则有限域阶数可以为2。该有限域阶数用于指示第二编码数据块/第三编码数据块对应的有限域的阶。 Exemplarily, if the finite field is GF(E 2 ), the order of the finite field may be 2. The finite field order is used to indicate the order of the finite field corresponding to the second encoded data block/third encoded data block.
示例性的,阶数较低的有限域的编码系数携带于互联网协议(Internet Protocol,IP)报文头或以太网(Ethernet)帧头,例如可以通过设置第六版互联网协议(Internet Protocol version 6,IPv6)扩展头、IP或ETH扩展域实现;阶数较高的有限域的编码系数携带于TCP报文头,例如可以通过设置TCP选项来携带。Exemplarily, the coding coefficients of the finite field with a lower order are carried in an Internet Protocol (Internet Protocol, IP) packet header or an Ethernet (Ethernet) frame header, for example, by setting an Internet Protocol version 6 (Internet Protocol version 6) , IPv6) extension header, IP or ETH extension field implementation; the coding coefficient of the finite field with higher order is carried in the TCP packet header, for example, it can be carried by setting the TCP option.
在一种可选的实现方式中,发送端生成的一个或多个第二编码系数报文中,携带源数据块。该一个或多个第二编码系数报文携带的数据块可以表示为:{p 1…p k}∪{c′ 1…c′ n}∪{b 1…b m}。该第二编码系数报文也可以称为系统码报文。 In an optional implementation manner, the source data block is carried in one or more second coding coefficient packets generated by the sender. The data blocks carried by the one or more second coding coefficient packets may be expressed as: {p 1 ···p k }∪{c′ 1 ···c′ n }∪{b 1 ···b m }. The second coding coefficient message may also be referred to as a system code message.
示例性的,以图10为例,在该实现方式中,发送端发送的第二编码报文包括p 1~p 4、c’ 1~c’ 4、b 1,且在发送p 1时携带的一组编码系数为第三编码系数矩阵中第1行编码系数{10000000},在发送p 2时携带的一组编码系数为第三编码系数矩阵中第2行编码系数{01000000},在发送p 3时携带的一组编码系数为第三编码系数矩阵中第3行编码系数{00100000},在发送p 4时携带的一组编码系数为第三编码系数矩阵中第4行编码系数{00010000}。在发送c’ 1时携带的一组编码系数为第二编码系数矩阵中第5行编码系数{α′ 1,1…α′ 1,4}以及第三编码系数矩阵中第5行编码系数{00001000},在发送c’ 2时携带的一组编码系数为第二编码系数矩阵中第6行编码系数{α′ 2,1…α′ 2,4}以及第三编码系数矩阵中第6行编码系数{00000100},在发送c’ 3时携带的一组编码系数为第二编码系数矩阵中第7行编码系数{α′ 3,1…α′ 3,4}以及第三编码系数矩阵中第7行编码系数{00000010},在发送c’ 4时携带的一组编码系数为第二编码系数矩阵中第8行编码系数{α′ 4,1…α′ 4,4}以及第三编码系数矩阵中第8行编码系数{00000001},在发送b 1时携带的一组编码系数为第三编码系数矩阵中第9行编码系数{β m,1…β m,8}。 Exemplarily, taking FIG. 10 as an example, in this implementation manner, the second encoded packet sent by the sender includes p 1 ˜p 4 , c′ 1 ˜c′ 4 , and b 1 , and is carried when sending p 1 The set of coding coefficients is the coding coefficient {10000000} of the first row in the third coding coefficient matrix, and the set of coding coefficients carried when sending p 2 is the coding coefficient {01000000} of the second row in the third coding coefficient matrix. The set of coding coefficients carried when p 3 is the coding coefficient of the third row in the third coding coefficient matrix {00100000}, and the set of coding coefficients carried when sending p 4 is the coding coefficient of the fourth row of the third coding coefficient matrix {00010000 }. A set of coding coefficients carried when sending c' 1 are the coding coefficients {α' 1,1 . 00001000}, a set of coding coefficients carried when sending c' 2 are the coding coefficients {α' 2,1 ... α' 2,4 } in the 6th row in the second coding coefficient matrix and the 6th row in the third coding coefficient matrix Coding coefficients {00000100}, a group of coding coefficients carried when sending c' 3 is the coding coefficients {α' 3,1 ... α' 3,4 } in the 7th row in the second coding coefficient matrix and in the third coding coefficient matrix The 7th line of coding coefficients {00000010}, a set of coding coefficients carried when sending c' 4 is the 8th line of coding coefficients {α' 4,1 ... α' 4,4 } in the second coding coefficient matrix and the third coding The 8th row in the coefficient matrix encodes the coefficients {00000001}, and a group of encoding coefficients carried when sending b 1 is the 9th row encoding coefficients {β m, 1 . . . β m, 8 } in the third encoding coefficient matrix.
在另一种可选的实现方式中,发送端生成的一个或多个第二编码系数报文中,不携带源数据块和第二编码数据块。该一个或多个第二编码系数报文携带的数据块可以表示为:{b 1…b m}。该第二编码系数报文也可以称为非系统码报文。 In another optional implementation manner, the source data block and the second encoded data block are not carried in one or more second encoding coefficient packets generated by the sending end. The data blocks carried by the one or more second coding coefficient packets may be represented as: {b 1 . . . b m }. The second coding coefficient message may also be referred to as a non-systematic code message.
示例性的,以图11为例,在该实现方式中,发送端发送的第二编码报文包括b 1~b 8,且在发送b 1时携带的一组编码系数为第三编码系数矩阵中第1行编码系数{β 1,1…β 1,8},在发送b 2时携带的一组编码系数为第三编码系数矩阵中第2行编码系数{β 2,1…β 2,8},在发送b 3时携带的一组编码系数为第三编码系数矩阵中第3行编码系数{β 3,1…β 3,8},在发送b 4时携带的一组编码系数为第三编码系数矩阵中第4行编码系数{β 4,1…β 4,8}。在发送b 5时携带的一组编码系数为第二编码系数矩阵中第5行编码系数{α′ 1,1…α′ 1,4}以及第三编码系数矩阵中第5行编码系数{β 5,1…β 5,8},在发送b 6时携带的一组编码系数为第二编码系数矩阵中第6行编码系数{α′ 2,1…α′ 2,4}以及第三编码系数矩阵中第6行编码系数{β 6,1…β 6,8},在发送b 7时携带的一组编码系数为第二编码系数矩阵中第7行编码系数{α′ 3,1…α′ 3,4}以及第三编码系数矩阵中第7行编码系数{β 7,1…β 7,8},在发送b 8时携带的一组编码系数为第二编码系数矩阵中第8行编码系数{α′ 4,1…α′ 4,4}以及第三编码系数矩阵中第8行编码系数{β 8,1…β 8,8}。 Exemplarily, taking FIG. 11 as an example, in this implementation manner, the second encoded packet sent by the sending end includes b 1 to b 8 , and a set of encoding coefficients carried when sending b 1 is a third encoding coefficient matrix. The coding coefficients in the first row of the encoding coefficient {β 1,1 ...β 1,8 }, a set of encoding coefficients carried when sending b 2 are the encoding coefficients in the second row in the third encoding coefficient matrix {β 2,1 ...β 2, 8 }, a set of coding coefficients carried when sending b 3 is the coding coefficients {β 3,1 ... β 3, 8 } in the third row in the third coding coefficient matrix, and a set of coding coefficients carried when sending b 4 is The fourth row in the third encoding coefficient matrix encodes the coefficients {β 4,1 . . . β 4,8 }. A set of coding coefficients carried when sending b 5 are the coding coefficients {α′ 1,1 . 5,1 ... β 5,8 }, a set of coding coefficients carried when sending b 6 are the coding coefficients {α' 2,1 ... α' 2,4 } of the sixth row in the second coding coefficient matrix and the third coding The 6th row of the coefficient matrix encodes the coefficients { β 6,1 . α′ 3,4 } and the 7th row coding coefficients { β 7,1 . Row coding coefficients {α' 4,1 ···α' 4,4 } and the 8th row coding coefficients {β 8,1 ··· β 8,8 } in the third coded coefficient matrix.
704、发送端发送一个或多个第二编码报文。704. The sending end sends one or more second encoded packets.
本申请实施例中,发送端在多个具有嵌套结构的有限域内对源数据块进行编码,接收端可以在具有嵌套结构的有限域中对该报文进行译码。由于具有嵌套结构的有限域中,阶数较高的有限域的元素和运算法则,包括阶数较低的有限域的元素和运算发送。因此,首先,接收端可以根据自身算力和应用需求,在阶数较低的有限域中对阶数较高的有限域的编码数据进行译码,其次,对前次译码结果在阶数较高的有限域中继续译码。有效降低了计算复杂度,提高了译码速度和数据吞吐量,并且保障了译码的准确率。In this embodiment of the present application, the sender encodes the source data block in multiple finite fields with nested structures, and the receiver can decode the message in the finite fields with nested structures. Due to the finite field with nested structure, the elements and operations of the higher-order finite field, including the elements and operations of the lower-order finite field, are sent. Therefore, first, the receiving end can decode the encoded data of the finite field with a higher order in a finite field with a lower order according to its own computing power and application requirements. Continue decoding in higher finite fields. The computational complexity is effectively reduced, the decoding speed and data throughput are improved, and the decoding accuracy is guaranteed.
上述有限域的编码方法,也可以反向作为译码方法使用,即编码端和译码端为对端实现的方式。The above-mentioned finite field encoding method can also be used as a decoding method in reverse, that is, the encoding end and the decoding end are implemented by opposite ends.
请参阅图12,图12为本申请实施例提出的又一种有限域的重编码方法的实施例示意图。该有限域的重编码方法可以应用于中间节点,包括:Please refer to FIG. 12. FIG. 12 is a schematic diagram of an embodiment of another finite field recoding method proposed by an embodiment of the present application. This finite field recoding method can be applied to intermediate nodes, including:
1201、中间节点接收一个或多个第三编码报文。1201. The intermediate node receives one or more third encoded packets.
本实施例中,中间节点接收一个或多个第三编码报文,该第三编码报文中包含g’个第四编码数据块和g’个第四编码数据块对应的编码系数,g’为正整数。第四编码数据块对应的编码系数也称为第三编码报文包含的编码系数。In this embodiment, the intermediate node receives one or more third encoded packets, where the third encoded packets include g' fourth encoded data blocks and encoding coefficients corresponding to g' fourth encoded data blocks, g' is a positive integer. The coding coefficient corresponding to the fourth coded data block is also referred to as the coding coefficient included in the third coded packet.
示例性的,中间节点可以接收其它中间节点发送的第三编码报文,该其它中间节点作为该中间节点的上一跳节点。中间节点也可以接收发送端发送的第三编码报文。该第三编码报文包括第一编码报文,和/或,第二编码报文。Exemplarily, the intermediate node may receive a third encoded packet sent by another intermediate node, where the other intermediate node serves as a previous hop node of the intermediate node. The intermediate node may also receive the third encoded message sent by the sender. The third encoded message includes the first encoded message, and/or the second encoded message.
1202、中间节点使用第四编码系数矩阵对第四编码数据块进行编码处理,生成第五编码数据块。1202. The intermediate node uses the fourth encoding coefficient matrix to perform encoding processing on the fourth encoded data block to generate a fifth encoded data block.
本实施例中,中间节点使用第四编码系数矩阵对g’个第四编码数据块进行编码处理,生成一个或多个第五编码数据块,第五编码数据块与第四编码系数矩阵中的一组编码系数对应。为了便于描述,第四编码系数矩阵中的编码系数也称为第四编码系数。In this embodiment, the intermediate node uses the fourth encoding coefficient matrix to perform encoding processing on g' fourth encoded data blocks to generate one or more fifth encoded data blocks, the fifth encoded data block and the fourth encoding coefficient matrix A set of coding coefficients corresponds to. For convenience of description, the coding coefficients in the fourth coding coefficient matrix are also referred to as fourth coding coefficients.
第四编码系数矩阵包括一个或多个第四编码系数,第四编码系数的有限域与第四编码数据块对应的编码系数的有限域具有嵌套结构,其中,第四编码系数的有限域,与,第四编码数据块对应的编码系数的有限域,满足以下关系:阶数存在倍数关系,且,特征数一致。示例性的,当第三编码报文为第一编码报文时,第四编码系数的有限域,与第一有限域和第二有限域具有嵌套结构;当第三编码报文为第二编码报文时,第四编码系数的有限域,与第三有限域和第四有限域具有嵌套结构。The fourth coding coefficient matrix includes one or more fourth coding coefficients, and the finite field of the fourth coding coefficients and the finite field of coding coefficients corresponding to the fourth coded data block have a nested structure, wherein the finite field of the fourth coding coefficients, The finite field of the coding coefficients corresponding to the fourth coded data block satisfies the following relationship: the order has a multiple relationship, and the feature numbers are consistent. Exemplarily, when the third coded message is the first coded message, the finite field of the fourth coding coefficient has a nested structure with the first finite field and the second finite field; when the third coded message is the second When encoding the message, the finite field of the fourth coding coefficient has a nested structure with the third finite field and the fourth finite field.
具体的,第四编码数据块为Xi,1≤i≤u,i为正整数,u为正整数;Specifically, the fourth encoded data block is Xi, 1≤i≤u, i is a positive integer, and u is a positive integer;
第四编码系数为γ u,v,其中,v大于1的正整数; The fourth coding coefficient is γ u,v , where v is a positive integer greater than 1;
第五编码数据块为Y v,其中,
Figure PCTCN2021112380-appb-000049
其中,1≤j≤v。
The fifth encoded data block is Y v , where,
Figure PCTCN2021112380-appb-000049
Among them, 1≤j≤v.
步骤1202中具体的编码方式,如图13所示,图13为本申请实施例中一种重编码示意图。第三编码报文(包括第一编码报文/第二编码报文)为X 1~X i,其中,一个第三编码报文可以包括一个第四编码数据块和该第四编码数据块对应的第四编码数据块对应的编码系数。中间节点将X 1~X i与第四编码系数矩阵进行相乘,得到新报文Y 1~Y v。其中,第四编码系数矩阵包括的编码系数属于重编码的有限域,第四编码系数矩阵的第1行编码系数可以为{γ 1,1…γ 1,v},X 1~X u与{γ 1,1…γ 1,v}相乘,得到Y 1,依次类推,第四编码系数矩阵的第u行编码系数可以为{γ u,1…γ u,v},X 1~X u与{γ u,1…γ u,v}相乘,得到Y vA specific encoding method in step 1202 is shown in FIG. 13 , which is a schematic diagram of re-encoding in an embodiment of the present application. The third encoded packets (including the first encoded packet/second encoded packet) are X 1 to X i , wherein a third encoded packet may include a fourth encoded data block corresponding to the fourth encoded data block The coding coefficients corresponding to the fourth coded data block of . The intermediate node multiplies X 1 ˜X i by the fourth coding coefficient matrix to obtain new messages Y 1 ˜Y v . The coding coefficients included in the fourth coding coefficient matrix belong to the re-coded finite field, and the coding coefficients in the first row of the fourth coding coefficient matrix may be {γ 1,1 ...γ 1,v }, X 1 to X u and { Multiply γ 1,1 ...γ 1,v } to obtain Y 1 , and so on, the coding coefficient of the uth row of the fourth coding coefficient matrix can be {γ u,1 ...γ u,v }, X 1 ~X u Multiply by {γ u,1 …γ u,v } to get Y v .
在一种可选的实现方式中,第四编码系数的有限域阶数,等于,中间节点所在的网络中有限域的最低阶数。示例性的,当该中间节点所在网络中有限域的最低阶数为d0,该最低阶数的有限域为GF(E d0),E为素数,d0为正整数。则第四编码系数所在的有限域为GF(E d0)。 In an optional implementation manner, the order of the finite field of the fourth coding coefficient is equal to the lowest order of the finite field in the network where the intermediate node is located. Exemplarily, when the lowest order of the finite field in the network where the intermediate node is located is d0, the finite field of the lowest order is GF(E d0 ), E is a prime number, and d0 is a positive integer. Then the finite field where the fourth coding coefficient is located is GF(E d0 ).
在另一种可选的实现方式中,第四编码系数的有限域阶数小于或等于中间节点所在的网络中有限域的最高阶数,或,第四编码系数的有限域阶数大于或等于中间节点所在的网络中有限域的最低阶数。示例性的,当该中间节点所在网络中有限域的最低阶数为d0,该最低阶数的有限域为GF(E d0),E为素数,d0为正整数。该中间节点所在网络中有限域的最高阶数为dmax,该最高阶数的有限域为GF(E dmax),dmax为正整数。则该第四有限域的阶数的取值范围为:小于或等于dmax,大于或等于d0。 In another optional implementation manner, the finite field order of the fourth coding coefficient is less than or equal to the highest order of the finite field in the network where the intermediate node is located, or, the finite field order of the fourth coding coefficient is greater than or equal to The lowest order of the finite field in the network where the intermediate nodes are located. Exemplarily, when the lowest order of the finite field in the network where the intermediate node is located is d0, the finite field of the lowest order is GF(E d0 ), E is a prime number, and d0 is a positive integer. The highest order of the finite field in the network where the intermediate node is located is dmax, the finite field of the highest order is GF(E dmax ), and dmax is a positive integer. Then the value range of the order of the fourth finite field is: less than or equal to dmax, and greater than or equal to d0.
1203、中间节点生成一个或多个重编码报文。1203. The intermediate node generates one or more recoded packets.
本实施例中,中间节点生成一个或多个第五编码数据块后,生成一个或多个重编码报文。一个重编码报文包括:一个或多个第五编码数据块,一个或多个第四编码系数,和/或,一个或多个第四编码数据块,一个或多个第四编码数据块的编码系数;In this embodiment, after generating one or more fifth encoded data blocks, the intermediate node generates one or more re-encoded packets. A re-encoded message includes: one or more fifth encoded data blocks, one or more fourth encoded coefficients, and/or, one or more fourth encoded data blocks, one or more fourth encoded data blocks coding coefficients;
一种可选的实现方式中,中间节点在发送第五编码数据块时,可以采用一个重编码报文携带一个第五编码数据块的方式进行发送,也可以采用一个重编码报文携带多个第五编码数据块的方式进行发送,这里不做具体限定。In an optional implementation manner, when sending the fifth encoded data block, the intermediate node may use a re-encoded message to carry one fifth encoded data block, or use one re-encoded message to carry multiple encoded data blocks. The transmission is performed in the manner of the fifth encoded data block, which is not specifically limited here.
以中间节点在一个重编码报文携带一个第五编码数据块的方式,发送重编码报文为例,中间节点可以针对每个第五编码数据块添加报文头构成报文,并在报文头或报文尾添加相应的第四编码系数后随报文发送。Taking the way that the intermediate node carries a fifth encoded data block in a recoded packet and sends the recoded packet as an example, the intermediate node can add a packet header to each fifth encoded data block to form a packet, and add the packet to the packet. The corresponding fourth coding coefficient is added to the header or the end of the message and then sent with the message.
可选的,还可以在重编码报文中携带有限域阶数,该有限域阶数用于指示第五编码数 据块对应的有限域的阶。示例性的,该有限域阶数可以是有限域对应的幂的取值,例如,假设该重编码报文中,第五编码数据块的有限域为GF(E 2),则有限域阶数可以为2。该有限域阶数还可以是重编码报文中有限域的最大幂次次数。 Optionally, a finite field order may also be carried in the recoding message, where the finite field order is used to indicate the order of the finite field corresponding to the fifth encoded data block. Exemplarily, the finite field order may be a value of a power corresponding to the finite field. For example, assuming that in the re-encoded message, the finite field of the fifth encoded data block is GF(E 2 ), then the finite field order Can be 2. The finite field order may also be the maximum power order of the finite field in the recoded message.
1204、中间节点发送一个或多个重编码报文。1204. The intermediate node sends one or more recoded packets.
本申请实施例中,中间节点通过对发送端输出的报文进行重编码,从而发送端和中间节点可以构成一种分布式的编码,也就是说,发送端编码一部分,中间节点再编码另一部分,通过这种方式发送端可以进行复杂度较低的编码,通过中间节点对发送端输出的报文进行进一步重编码,从而可以降低网络负载,提高传输效率。In the embodiment of the present application, the intermediate node re-encodes the message output by the transmitting end, so that the transmitting end and the intermediate node can form a distributed encoding, that is, the transmitting end encodes a part, and the intermediate node encodes another part In this way, the sender can perform coding with lower complexity, and further re-encode the message output by the sender through the intermediate node, thereby reducing the network load and improving the transmission efficiency.
接收端接收第四编码报文后,可以采用多种译码方式:第一译码方式,或,第二译码方式,下面分别进行说明。其中,第一译码方式可以针对图7所示实施例的编码方式,第二译码方式可以针对图4所示实施例的编码方式。首先,对第一译码方式进行介绍。请参阅图14,图14为本申请实施例提出的又一种有限域的编码或译码方法的实施例示意图。该有限域的译码方法应用于接收端,包括:After receiving the fourth coded message, the receiving end may use multiple decoding methods: the first decoding method, or the second decoding method, which will be described below respectively. The first decoding manner may be directed to the encoding manner of the embodiment shown in FIG. 7 , and the second decoding manner may be directed to the encoding manner of the embodiment shown in FIG. 4 . First, the first decoding method is introduced. Please refer to FIG. 14. FIG. 14 is a schematic diagram of an embodiment of yet another finite field encoding or decoding method proposed by an embodiment of the present application. The finite field decoding method is applied to the receiving end, including:
1401、接收端接收一个或多个第四编码报文。1401. The receiving end receives one or more fourth encoded packets.
本实施例中,接收端接收一个或多个第四编码报文。具体的,该第四编码报文包括:第二编码报文、重编码报文或携带源数据块的报文。该第二编码报文,可以是由中间节点直接发送至接收端,也可以是由中间节点经过编码(又称为:重编码)后转发至接收端,此处不做限制。具体的,第二编码报文与重编码报文的详细介绍,请参阅前述实施例,此处不再赘述。In this embodiment, the receiving end receives one or more fourth encoded packets. Specifically, the fourth encoded message includes: a second encoded message, a re-encoded message, or a message carrying the source data block. The second encoded message may be directly sent by the intermediate node to the receiving end, or may be forwarded to the receiving end by the intermediate node after being encoded (also called: re-encoding), which is not limited here. Specifically, for the detailed introduction of the second encoded message and the re-encoded message, please refer to the foregoing embodiment, and details are not repeated here.
第四编码报文包含t’个第六编码数据块,以及t’个第六编码数据块对应的编码系数,t’为正整数。示例性的,当第四编码报文包括第二编码报文时,该第六编码数据块包括第二编码数据块,和/或,第三编码数据块。当第四编码报文包括重编码报文时,该第六编码数据块包括第五编码数据块。The fourth encoded message includes t' sixth encoded data blocks and encoding coefficients corresponding to the t' sixth encoded data blocks, where t' is a positive integer. Exemplarily, when the fourth encoded packet includes the second encoded packet, the sixth encoded data block includes the second encoded data block, and/or the third encoded data block. When the fourth encoded message includes the re-encoded message, the sixth encoded data block includes the fifth encoded data block.
1402、对一个或多个第四编码报文在低次有限域内进行第一译码运算。1402. Perform a first decoding operation on one or more fourth encoded packets in a low-order finite field.
本实施例中,接收端对一个或多个第四编码报文在低次有限域和高次有限域内进行译码,低次有限域为接收端所在的网络中阶数最低的有限域。低次有限域为接收端所在的网络中阶数最低的有限域,高次有限域为第六编码数据块对应的编码系数的任一高阶有限域,高次有限域的阶数高于低次有限域的阶数,低次有限域与高次有限域具有嵌套结构,其中,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致。为了便于理解,请参阅图15-图16,图15为本申请实施例中一种译码运算的实施例示意图,图16为本申请实施例中一种译码运算的实施例示意图。第一译码运算,具体如下:In this embodiment, the receiving end decodes one or more fourth encoded packets in a low-order finite field and a high-order finite field, where the low-order finite field is the finite field with the lowest order in the network where the receiving end is located. The low-order finite field is the finite field with the lowest order in the network where the receiver is located, and the high-order finite field is any higher-order finite field of the coding coefficients corresponding to the sixth encoded data block, and the order of the high-order finite field is higher than the low-order finite field. The order of the second finite field, the lower order finite field and the higher order finite field have a nested structure, wherein, the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent. For ease of understanding, please refer to FIGS. 15-16 . FIG. 15 is a schematic diagram of an embodiment of a decoding operation in an embodiment of the present application, and FIG. 16 is a schematic diagram of an embodiment of a decoding operation in an embodiment of the present application. The first decoding operation is as follows:
根据一个或多个第四编码报文中第六编码数据块的编码系数,确定低次有限域的编码系数和高次有限域的编码系数;由低次有限域的编码系数,组成低次域编码系数矩阵。According to the coding coefficients of the sixth coded data block in the one or more fourth coded messages, the coding coefficients of the lower-order finite field and the coding coefficients of the higher-order finite field are determined; the coding coefficients of the lower-order finite field are composed of the coding coefficients of the lower-order finite field. Encoding coefficient matrix.
首先,根据低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,其中,第一译码矩阵的编码系数中对应高次有限域的编码系数组成第一高次域编码系数组,第一高次域编码系数组的有限域为第六编码数据块对应的编码系数的所有高次有限域中阶数最低的有限域;第二译码矩阵的编码系数中对应高次有限域的编码系数组成第二高次域编码系数组, 第二高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组外的其它编码系数的有限域,第二高次域编码系数组的有限域阶数小于或等于接收端支持的最高阶有限域阶数。First, a first decoding matrix and a second decoding matrix are formed according to the low-order domain coding coefficient matrix, wherein the coding coefficients corresponding to the high-order finite field in the coding coefficients of the first decoding matrix form the first high-order domain coding coefficients group, the finite field of the first higher-order domain coding coefficient group is the finite field with the lowest order among all the higher-order finite fields of the coding coefficients corresponding to the sixth coded data block; the coding coefficients of the second decoding matrix correspond to the higher-order finite fields. The coding coefficients of the domain form the second high-order domain coding coefficient group, and the finite field of the second high-order domain coding coefficient group is the coding coefficients corresponding to the sixth coded data block except the first high-order finite domain coding coefficient group. The finite field of coefficients, the finite field order of the second high-order field coding coefficient group is less than or equal to the highest-order finite field order supported by the receiving end.
可选的,根据低次域编码系数矩阵,组成第一译码矩阵、第二译码矩阵和第三译码矩阵,其中,第三译码矩阵中对应高次有限域的编码系数组成第三高次域编码系数组,第三高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组和第二高次有限域编码系数组外的其它编码系数的有限域,对应第三高次域编码系数组的有限域阶数高于接收端支持的最高阶有限域阶数;对第三译码矩阵进行译码操作,生成零矩阵。Optionally, a first decoding matrix, a second decoding matrix and a third decoding matrix are formed according to the low-order domain coding coefficient matrix, wherein the coding coefficients corresponding to the high-order finite field in the third decoding matrix form the third decoding matrix. High-order domain coding coefficient group, the finite field of the third high-order domain coding coefficient group is the coding coefficient corresponding to the sixth coded data block, except for the first high-order finite field coding coefficient group and the second high-order finite field coding coefficient group. The finite field of other coding coefficients corresponding to the third high-order domain coding coefficient group is higher than the highest-order finite field order supported by the receiving end; the third decoding matrix is decoded to generate a zero matrix.
示例性的,以k=4,n=4,r1=1,r2=1,r3=2,D1=3,d0=0,dt=2。低次有限域为GF(2),接收端支持的最高阶有限域为
Figure PCTCN2021112380-appb-000050
也称为:接收端的算力被约束在嵌套域
Figure PCTCN2021112380-appb-000051
中,dt=2为例进行说明。图15所示的是低次域编码系数矩阵,其中,
Exemplarily, k=4, n=4, r1=1, r2=1, r3=2, D1=3, d0=0, dt=2. The lower-order finite field is GF(2), and the highest-order finite field supported by the receiver is
Figure PCTCN2021112380-appb-000050
Also known as: The computing power of the receiver is constrained in the nested domain
Figure PCTCN2021112380-appb-000051
, dt=2 is taken as an example for description. Figure 15 shows the low-order domain coding coefficient matrix, where,
第一译码矩阵:
Figure PCTCN2021112380-appb-000052
The first decoding matrix:
Figure PCTCN2021112380-appb-000052
第二译码矩阵:
Figure PCTCN2021112380-appb-000053
The second decoding matrix:
Figure PCTCN2021112380-appb-000053
第三译码矩阵:
Figure PCTCN2021112380-appb-000054
The third decoding matrix:
Figure PCTCN2021112380-appb-000054
其次,对第二译码矩阵进行译码操作,生成第一译码子矩阵和第二译码子矩阵,其中,第一译码子矩阵为零矩阵,第二译码矩阵为对角线系数为1的单位矩阵。Next, perform a decoding operation on the second decoding matrix to generate a first decoding sub-matrix and a second decoding sub-matrix, wherein the first decoding sub-matrix is a zero matrix, and the second decoding matrix is a diagonal coefficient is an identity matrix of 1.
在第二译码矩阵进行译码操作时,对第一译码矩阵同步译码操作,生成第三译码子矩阵和第四译码子矩阵。When the second decoding matrix performs the decoding operation, the first decoding matrix is synchronously decoded to generate the third decoding sub-matrix and the fourth decoding sub-matrix.
在第一译码矩阵进行译码操作时,对第六编码数据块进行同步译码操作,生成待译码数据。When the first decoding matrix performs a decoding operation, a synchronous decoding operation is performed on the sixth encoded data block to generate data to be decoded.
在一种可选的实现方式中,第三译码子矩阵的行数与第一译码子矩阵的行数一致,第四译码子矩阵的行数与第二译码子矩阵的行数一致。In an optional implementation manner, the number of rows of the third decoding sub-matrix is the same as the number of rows of the first decoding sub-matrix, and the number of rows of the fourth decoding sub-matrix is the same as the number of rows of the second decoding sub-matrix The numbers are the same.
在另一种可选的实现方式中,第三译码子矩阵的列数与第一译码子矩阵的列数一致,第四译码子矩阵的列数与第二译码子矩阵的列数一致。In another optional implementation manner, the number of columns of the third decoding sub-matrix is consistent with the number of columns of the first decoding sub-matrix, and the number of columns of the fourth decoding sub-matrix is the same as the number of columns of the second decoding sub-matrix. The number of columns is the same.
示例性的,图15所示的是低次域编码系数矩阵为例,经过译码操作后,请参阅图16,图16为本申请实施例中又一种译码操作示意图。Exemplarily, FIG. 15 shows a low-order domain coding coefficient matrix as an example. After the decoding operation, please refer to FIG. 16 , which is a schematic diagram of another decoding operation in an embodiment of the present application.
对第二译码矩阵:
Figure PCTCN2021112380-appb-000055
进行译码操作,例如高斯消元。得到第一译码子矩阵:
Figure PCTCN2021112380-appb-000056
和第二译码子矩阵:
Figure PCTCN2021112380-appb-000057
该第二译码子矩阵的秩也称为第二译码矩阵的秩。
For the second decoding matrix:
Figure PCTCN2021112380-appb-000055
Perform decoding operations such as Gaussian elimination. Get the first decoding sub-matrix:
Figure PCTCN2021112380-appb-000056
and the second decoding submatrix:
Figure PCTCN2021112380-appb-000057
The rank of the second decoding sub-matrix is also referred to as the rank of the second decoding matrix.
在第二译码矩阵进行译码操作时,第一译码矩阵同步译码操作,例如:高斯消元。得到第三译码子矩阵:
Figure PCTCN2021112380-appb-000058
和第四译码子矩阵:
Figure PCTCN2021112380-appb-000059
When the second decoding matrix performs a decoding operation, the first decoding matrix synchronizes the decoding operation, such as Gaussian elimination. Obtain the third decoding sub-matrix:
Figure PCTCN2021112380-appb-000058
and the fourth decoding submatrix:
Figure PCTCN2021112380-appb-000059
在一种可选的实现方式中,接收端进行第一译码运算前。当接收端接收到w个第四编码报文后,w为正整数。接收端针对一个组中k个源数据块,对w个第四编码报文进行判断,确定是否进行译码操作。In an optional implementation manner, before the receiving end performs the first decoding operation. After the receiving end receives w fourth encoded packets, w is a positive integer. The receiving end judges the w fourth encoded packets for the k source data blocks in a group, and determines whether to perform a decoding operation.
当满足以下条件时,对w个第四编码报文进行译码,包括:When the following conditions are met, the w fourth encoded packets are decoded, including:
Figure PCTCN2021112380-appb-000060
Figure PCTCN2021112380-appb-000060
其中,
Figure PCTCN2021112380-appb-000061
Figure PCTCN2021112380-appb-000062
矩阵,
Figure PCTCN2021112380-appb-000063
满足
Figure PCTCN2021112380-appb-000064
第三译码矩阵为
Figure PCTCN2021112380-appb-000065
高次域编码系数矩阵为G,高次域编码系数矩阵由高次有限域的编码系数组成,低次域编码系数矩阵H。
in,
Figure PCTCN2021112380-appb-000061
for
Figure PCTCN2021112380-appb-000062
matrix,
Figure PCTCN2021112380-appb-000063
satisfy
Figure PCTCN2021112380-appb-000064
The third decoding matrix is
Figure PCTCN2021112380-appb-000065
The high-order domain coding coefficient matrix is G, the high-order domain coding coefficient matrix is composed of the coding coefficients of the high-order finite domain, and the low-order domain coding coefficient matrix H.
示例性的,以第四编码报文中包括第二编码报文为例进行说明。第二编码系数矩阵G=[I k A 1 ... A D] T,其中。矩阵A d是一个基于第三有限域GF(E d1)的编码系数和第二有限域GF(E D1)的编码系数的r d×k矩阵。为了便于描述,令d1=d,D1=D,其中,1≤d≤D,令
Figure PCTCN2021112380-appb-000066
Exemplarily, the fourth coded packet includes the second coded packet as an example for description. The second encoding coefficient matrix G=[I k A 1 . . . A D ] T , where. The matrix Ad is an r d × k matrix based on the coded coefficients of the third finite field GF(E d1 ) and the coded coefficients of the second finite field GF(E D1 ). For the convenience of description, let d1=d, D1=D, where 1≤d≤D, let
Figure PCTCN2021112380-appb-000066
假设,接收端的算力被约束在嵌套域
Figure PCTCN2021112380-appb-000067
中,d 0≤d t≤D,且在某一时刻该接收端收到了w个第四编码报文(或一个或多个第四编码报文中,携带的w个第四编码报文的编码数据块)b′ 1,b′ 2,…,b′ w
Assume that the computing power of the receiver is constrained in the nested domain
Figure PCTCN2021112380-appb-000067
, d 0 ≤d t ≤D, and at a certain moment the receiving end receives w fourth encoded packets (or one or more fourth encoded packets, the number of w fourth encoded packets carried Encoded data blocks) b' 1 , b' 2 , ..., b' w .
接收端将每个第四编码报文的报文头中,携带的低次有限域的编码系数按行并置,得到基于
Figure PCTCN2021112380-appb-000068
的w×(k+n)维度的低次域编码系数矩阵H,其满足:
The receiving end juxtaposes the coding coefficients of the low-order finite field carried in the header of each fourth coded packet in rows, and obtains a result based on
Figure PCTCN2021112380-appb-000068
The low-order domain coding coefficient matrix H of dimension w×(k+n), which satisfies:
[b′ 1 T,b′ 2 T,…,b′ w T] T=HG[p 1 T,p 2 T,…,p k T] T[b′ 1 T ,b′ 2 T ,…,b′ w T ] T =HG[p 1 T ,p 2 T ,…,p k T ] T .
注意到低次域编码系数矩阵中,最后
Figure PCTCN2021112380-appb-000069
个元素对应着信源(该信源为发送端或中间节点)使用大于
Figure PCTCN2021112380-appb-000070
的阶数较高的有限域编码得到的编码数据块。这部分编码数据块在当前算力的接收端中无法直接译码。需要通过基于
Figure PCTCN2021112380-appb-000071
的高斯消元消除
Figure PCTCN2021112380-appb-000072
个阶数较高的有限域编码系数后,才能得到可用于译码的编码数据块。
Note that in the low-order domain coding coefficient matrix, finally
Figure PCTCN2021112380-appb-000069
elements correspond to the source (the source is the sender or the intermediate node) using more than
Figure PCTCN2021112380-appb-000070
The encoded data block obtained by the finite field encoding of higher order. This part of the encoded data block cannot be directly decoded by the receiving end of the current computing power. need to be based on
Figure PCTCN2021112380-appb-000071
Gaussian elimination of
Figure PCTCN2021112380-appb-000072
Only after the finite field coding coefficients of higher order are obtained, the coded data block that can be used for decoding can be obtained.
基于上述分析,当前算力为
Figure PCTCN2021112380-appb-000073
的接收端的可译码的判定充要条件为:
Based on the above analysis, the current computing power is
Figure PCTCN2021112380-appb-000073
The sufficient and necessary conditions for the decodable judgment of the receiving end are:
Figure PCTCN2021112380-appb-000074
Figure PCTCN2021112380-appb-000074
其中
Figure PCTCN2021112380-appb-000075
是一个
Figure PCTCN2021112380-appb-000076
矩阵,其满足:
in
Figure PCTCN2021112380-appb-000075
Is an
Figure PCTCN2021112380-appb-000076
matrix, which satisfies:
Figure PCTCN2021112380-appb-000077
Figure PCTCN2021112380-appb-000077
第三译码矩阵为
Figure PCTCN2021112380-appb-000078
通过
Figure PCTCN2021112380-appb-000079
乘积可以得到一个(w-rank(H d))×(k+n)维
Figure PCTCN2021112380-appb-000080
-矩阵,其中最后
Figure PCTCN2021112380-appb-000081
列系数均为0。因此若选取矩阵
Figure PCTCN2021112380-appb-000082
Figure PCTCN2021112380-appb-000083
个彼此线性无关的行向量构成矩阵H',那么上述判定条件与如下条件等价:
The third decoding matrix is
Figure PCTCN2021112380-appb-000078
pass through
Figure PCTCN2021112380-appb-000079
The product can get a (w-rank(H d ))×(k+n) dimension
Figure PCTCN2021112380-appb-000080
- matrix, where last
Figure PCTCN2021112380-appb-000081
The column coefficients are all 0. So if you choose the matrix
Figure PCTCN2021112380-appb-000082
middle
Figure PCTCN2021112380-appb-000083
Row vectors that are linearly independent of each other form a matrix H', then the above judgment conditions are equivalent to the following conditions:
rank(H'G)=k。rank(H'G)=k.
下面介绍矩阵
Figure PCTCN2021112380-appb-000084
和H'的迭代算法:
The following describes the matrix
Figure PCTCN2021112380-appb-000084
and the iterative algorithm for H':
h w表示该接收端收到的,第w个基于
Figure PCTCN2021112380-appb-000085
的,(k+n)维低次有限域的编码系数构成的行向量。假设h w中都至少存在一个非零元。令
Figure PCTCN2021112380-appb-000086
表示h w中最后
Figure PCTCN2021112380-appb-000087
个元素构成的行向量。
h w represents what the receiver receives, and the wth is based on
Figure PCTCN2021112380-appb-000085
, a row vector consisting of coding coefficients of a (k+n) dimensional low-order finite field. Suppose there is at least one non-zero element in h w . make
Figure PCTCN2021112380-appb-000086
means the last in h w
Figure PCTCN2021112380-appb-000087
A row vector of elements.
1、初始化:令矩阵
Figure PCTCN2021112380-appb-000088
H'、M、
Figure PCTCN2021112380-appb-000089
为空矩阵,它们的列数分别是w列、(k+n)列、(k+n)列和
Figure PCTCN2021112380-appb-000090
列。
1. Initialization: Let the matrix
Figure PCTCN2021112380-appb-000088
H', M,
Figure PCTCN2021112380-appb-000089
are empty matrices with columns w, (k+n), (k+n) and
Figure PCTCN2021112380-appb-000090
List.
2、接收端刚刚收到第w个第四编码报文,且,之前的w–1个第四编码报文已经处理完毕,那么针对
Figure PCTCN2021112380-appb-000091
执行下面两种选择之一。
2. The receiving end has just received the wth fourth encoded message, and the previous w–1 fourth encoded message has been processed, then for
Figure PCTCN2021112380-appb-000091
Do one of the two options below.
A:当
Figure PCTCN2021112380-appb-000092
是一个零向量,首先用新矩阵
Figure PCTCN2021112380-appb-000093
更新
Figure PCTCN2021112380-appb-000094
其次,分别在当前矩阵M和
Figure PCTCN2021112380-appb-000095
的下面添加一个全零行。最后确定h w是否与当前H'中的所有行线性无关。
A: When
Figure PCTCN2021112380-appb-000092
is a zero vector, first use the new matrix
Figure PCTCN2021112380-appb-000093
renew
Figure PCTCN2021112380-appb-000094
Second, in the current matrix M and
Figure PCTCN2021112380-appb-000095
Add an all-zero line below the . Finally determine whether h w is linearly independent of all rows in the current H'.
如果不是,则保持H'不变;如果是,则用新矩阵
Figure PCTCN2021112380-appb-000096
更新H'(将h w作为新的一行加入线性无关组),结束循环。
If not, keep H'unchanged; if so, use the new matrix
Figure PCTCN2021112380-appb-000096
Update H' (add h w as a new row to the linearly independent group), ending the loop.
B:当
Figure PCTCN2021112380-appb-000097
不是一个零向量,那么确定是否满足与当前
Figure PCTCN2021112380-appb-000098
中所有行线性无关。
B: when
Figure PCTCN2021112380-appb-000097
is not a zero vector, then determine whether it satisfies the current
Figure PCTCN2021112380-appb-000098
All rows in are linearly independent.
如果是,分别对
Figure PCTCN2021112380-appb-000099
M、
Figure PCTCN2021112380-appb-000100
进行更新:
Figure PCTCN2021112380-appb-000101
Figure PCTCN2021112380-appb-000102
如果不是,执行如下步骤:首先计算(w–1)维行向量k满足
Figure PCTCN2021112380-appb-000103
其次,使用新矩阵
Figure PCTCN2021112380-appb-000104
更新
Figure PCTCN2021112380-appb-000105
进一步计算新向量S=kM+h w,分别在当前矩阵M和
Figure PCTCN2021112380-appb-000106
的下面添加一个全零行;
If yes, respectively
Figure PCTCN2021112380-appb-000099
M.
Figure PCTCN2021112380-appb-000100
To update:
Figure PCTCN2021112380-appb-000101
Figure PCTCN2021112380-appb-000102
If not, perform the following steps: first calculate the (w–1) dimensional row vector k such that
Figure PCTCN2021112380-appb-000103
Second, use the new matrix
Figure PCTCN2021112380-appb-000104
renew
Figure PCTCN2021112380-appb-000105
Further calculate the new vector S=kM+h w , respectively in the current matrix M and
Figure PCTCN2021112380-appb-000106
Add an all-zero line below the ;
再次,确定向量S是否与当前H'中的所有行线性无关;如果不是,保持H'不变;如果是,则用新矩阵
Figure PCTCN2021112380-appb-000107
更新H',结束循环。
Again, determine whether the vector S is linearly independent of all rows in the current H'; if not, keep H'unchanged; if so, use the new matrix
Figure PCTCN2021112380-appb-000107
Update H', ending the loop.
上述迭代过程具有下列性质:
Figure PCTCN2021112380-appb-000108
的非零行与
Figure PCTCN2021112380-appb-000109
的行数之和相加等于w;
Figure PCTCN2021112380-appb-000110
的非零行在循环过程中一直保持是
Figure PCTCN2021112380-appb-000111
行向量空间的一组基。
Figure PCTCN2021112380-appb-000112
的行向量形成了H d行向量空间的零空间的一组基。H'的行向量则一直保持是
Figure PCTCN2021112380-appb-000113
行向量空间的一组基,其中
Figure PCTCN2021112380-appb-000114
即H为w个报文的w×(k+n)低次域编码系数矩阵。
The above iterative process has the following properties:
Figure PCTCN2021112380-appb-000108
the non-zero row with
Figure PCTCN2021112380-appb-000109
The sum of the number of rows is equal to w;
Figure PCTCN2021112380-appb-000110
The non-zero row of the loop remains constant as
Figure PCTCN2021112380-appb-000111
A set of basis for row vector spaces.
Figure PCTCN2021112380-appb-000112
The row vectors of form a set of basis for the null space of the H d row vector space. The row vector of H' always remains
Figure PCTCN2021112380-appb-000113
a set of basis for row vector spaces where
Figure PCTCN2021112380-appb-000114
That is, H is the w×(k+n) low-order domain coding coefficient matrix of w messages.
示例性的,为了便于理解,以本申请实施例中给出一个具体例子来说明上述判定执行过程:Exemplarily, for ease of understanding, a specific example is given in the embodiment of the present application to illustrate the above judgment execution process:
假设参数k=3,n=2,其中r 1=r 2=1,D=2,d 0=0。第二编码系数矩阵G定义为
Figure PCTCN2021112380-appb-000115
其中α ,β分别为GF(2 2)和GF(2 4)的本原元且满足α=β 5
Assume parameters k=3, n=2, where r 1 =r 2 =1, D=2, d 0 =0. The second coding coefficient matrix G is defined as
Figure PCTCN2021112380-appb-000115
where α and β are the primitives of GF(2 2 ) and GF(2 4 ) respectively and satisfy α=β 5 .
对于一个接收端t,GF(2 2)是其能够计算的最大有限域,即d t=1(只能计算本原元α及其幂次方之间的加乘运算),目前已经收到了4个第四编码报文,其编码系数按行并置得 到低次域编码系数矩阵H表示为: For a receiver t, GF(2 2 ) is the largest finite field that it can calculate, that is, d t = 1 (only the addition and multiplication between the primitive element α and its power can be calculated), and it has received Four fourth coded messages, the coding coefficients of which are juxtaposed row by row to obtain the low-order domain coding coefficient matrix H, which is expressed as:
Figure PCTCN2021112380-appb-000116
Figure PCTCN2021112380-appb-000116
由于此时
Figure PCTCN2021112380-appb-000117
根据之前提到的迭代方法可以构成如下的
Figure PCTCN2021112380-appb-000118
和H':
Because at this time
Figure PCTCN2021112380-appb-000117
According to the iterative method mentioned earlier, the following can be formed
Figure PCTCN2021112380-appb-000118
and H':
Figure PCTCN2021112380-appb-000119
Figure PCTCN2021112380-appb-000119
Figure PCTCN2021112380-appb-000120
Figure PCTCN2021112380-appb-000120
H'的行向量组成了
Figure PCTCN2021112380-appb-000121
行向量空间的一组基。根据
Figure PCTCN2021112380-appb-000122
的等价条件rank(H'G)=k,计算
Figure PCTCN2021112380-appb-000123
由于在GF(2 2)中1+α+α 2=0,rank(H'G)=2<3,因此还需要接收更多第四编码报文来完成译码。
The row vector of H' consists of
Figure PCTCN2021112380-appb-000121
A set of basis for row vector spaces. according to
Figure PCTCN2021112380-appb-000122
The equivalent condition of rank(H'G)=k, calculate
Figure PCTCN2021112380-appb-000123
Since 1+α+α 2 =0 and rank(H'G)=2<3 in GF(2 2 ), more fourth encoded packets need to be received to complete decoding.
设h 5=[1 0 0 1 1]是接收端接收到的第5个编码系数向量,此处按照迭代算法的方式来更新并更新
Figure PCTCN2021112380-appb-000124
M、
Figure PCTCN2021112380-appb-000125
为:
Let h 5 =[1 0 0 1 1] be the 5th encoding coefficient vector received by the receiving end, here it is updated and updated according to the iterative algorithm
Figure PCTCN2021112380-appb-000124
M.
Figure PCTCN2021112380-appb-000125
for:
Figure PCTCN2021112380-appb-000126
Figure PCTCN2021112380-appb-000126
但是得到的新向量S=[0 0 0 1 0]不满足与当前H'中的所有行线性无关,因此保持H'不变,此时rank(H'G)同样没有发生变化,原始k个第四编码报文仍不可译码。However, the obtained new vector S=[0 0 0 1 0] does not satisfy the linear relationship with all the rows in the current H', so keep H' unchanged, at this time rank(H'G) also does not change, the original k The fourth encoded message is still undecipherable.
设h 6=[0 0 1 0 0]是接收端接收到的第6个编码系数向量,由于最后一位的元素为0,直接更新
Figure PCTCN2021112380-appb-000127
M、
Figure PCTCN2021112380-appb-000128
为:
Let h 6 =[0 0 1 0 0] be the sixth coding coefficient vector received by the receiver, since the element of the last bit is 0, update it directly
Figure PCTCN2021112380-appb-000127
M.
Figure PCTCN2021112380-appb-000128
for:
Figure PCTCN2021112380-appb-000129
Figure PCTCN2021112380-appb-000129
其后判定h 6=[0 0 1 0 0]与H'中的所有行向量线性无关,将H'更新为: Then it is determined that h 6 =[0 0 1 0 0] is linearly independent of all row vectors in H', and H' is updated to:
Figure PCTCN2021112380-appb-000130
Figure PCTCN2021112380-appb-000130
计算
Figure PCTCN2021112380-appb-000131
其满足rank(H'G)=3,表示此时接收端已经接收到足够多的信息实现译码。
calculate
Figure PCTCN2021112380-appb-000131
It satisfies rank(H'G)=3, indicating that the receiving end has received enough information to implement decoding at this time.
在两种特殊情况下,判定条件
Figure PCTCN2021112380-appb-000132
可以进一步简化。当接收端t具有当前网络中的最高算力,即d t=D时,上述条件等价于rank(HG)=k;当d 0=0且接收端t具有网络中的最低算力,即d t=d 0=0时,上述条件等价于
Figure PCTCN2021112380-appb-000133
Figure PCTCN2021112380-appb-000134
In two special cases, the decision condition
Figure PCTCN2021112380-appb-000132
can be further simplified. When the receiver t has the highest computing power in the current network, that is, d t =D, the above condition is equivalent to rank(HG)=k; when d 0 =0 and the receiver t has the lowest computing power in the network, that is When d t =d 0 =0, the above conditions are equivalent to
Figure PCTCN2021112380-appb-000133
Figure PCTCN2021112380-appb-000134
在另一种实现方式中,当发送端在有限域
Figure PCTCN2021112380-appb-000135
中生成第二编码报文,中间节点在与有限域
Figure PCTCN2021112380-appb-000136
具有嵌套结构的有限域中,对第二编码报文进行重编码。上述译码判定条件可以简化为:
In another implementation, when the sender is in the finite field
Figure PCTCN2021112380-appb-000135
The second encoded message is generated in the intermediate node and the finite field
Figure PCTCN2021112380-appb-000136
In a finite field with a nested structure, the second encoded message is re-encoded. The above decoding judgment conditions can be simplified as:
第二编码系数矩阵G表示为G=[I k A D] T,其中矩阵A D是一个基于嵌套域
Figure PCTCN2021112380-appb-000137
的n×k矩阵。假设算力为
Figure PCTCN2021112380-appb-000138
的接收端t收到的报文为b′ 1,b′ 2,…,b′ w,其可表示为:
The second coding coefficient matrix G is expressed as G=[I k A D ] T , where the matrix A D is a nested field based
Figure PCTCN2021112380-appb-000137
The n×k matrix of . Suppose the computing power is
Figure PCTCN2021112380-appb-000138
The packets received by the receiver t are b′ 1 , b′ 2 ,…,b′ w , which can be expressed as:
[b′ 1 T,b′ 2 T,…,b′ w T] T=HG[p 1 T,p 2 T,…,p k T] T=H[p 1 T,…,p k T,c 1 T,…,c n T], [b′ 1 T ,b′ 2 T ,…,b′ w T ] T =HG[p 1 T ,p 2 T ,…,p k T ] T =H[p 1 T ,…,p k T , c 1 T ,…,c n T ],
即H的第j行对应的是报文b′ j的一组编码系数。若b′ j的一组编码系数包含超出接收端t算力的编码系数时,由于t不能译码,则直接丢弃报文b′ jThat is, the jth row of H corresponds to a set of coding coefficients of the message b'j. If a set of coding coefficients of b' j includes coding coefficients that exceed the computing power of t at the receiving end, because t cannot be decoded, the message b' j is directly discarded.
因此,假设H中编码系数均属于
Figure PCTCN2021112380-appb-000139
即在接收端t的算力之内。由于G中只存在GF(2)和
Figure PCTCN2021112380-appb-000140
两种有限域系数,因此译码判定准则只会存在两种情况:
Therefore, it is assumed that the coding coefficients in H belong to
Figure PCTCN2021112380-appb-000139
That is, within the computing power of the receiving end t. Since G exists only GF(2) and
Figure PCTCN2021112380-appb-000140
There are two kinds of finite field coefficients, so there are only two cases for the decoding decision criterion:
当d t≥D,HG中所有的高次域译码系数均在接收端t的算力之内,即,HG中所有的 高次域译码系数的有限域的阶数,小于或等于接收端支持的有限域的最大阶数。因此上述译码条件可以简化为rank(HG)=k; When d t ≥ D, all the high-order domain decoding coefficients in HG are within the computing power of the receiving end t, that is, the order of the finite field of all high-order domain decoding coefficients in HG is less than or equal to the receiving end. Maximum order of finite fields supported by the terminal. Therefore, the above decoding conditions can be simplified as rank(HG)=k;
当d t<D,由于第二编码报文c 1T,…,c nT是基于有限域
Figure PCTCN2021112380-appb-000141
生成的,接收端t对这些第二编码报文进行译码后,无法进一步译码得到源数据块p 1,…,p k。因此接收端t需在低次域编码系数矩阵H的基础上,通过基于
Figure PCTCN2021112380-appb-000142
的线性操作译码得到源数据块p 1,…,p k。上述译码条件可以简化为rank(H)–rank(H n)=k,其中H n为矩阵H只取最后n列的子矩阵。
When d t <D, since the second encoded message c 1T ,...,c nT is based on finite fields
Figure PCTCN2021112380-appb-000141
generated, after the receiving end t decodes these second encoded packets, the source data blocks p 1 , . . . , p k cannot be obtained by further decoding. Therefore, the receiving end t needs to encode the coefficient matrix H in the low-order domain on the basis of
Figure PCTCN2021112380-appb-000142
The linear operation of decoding obtains the source data blocks p 1 ,...,p k . The above decoding conditions can be simplified as rank(H)−rank(H n )=k, where H n is a submatrix whose matrix H only takes the last n columns.
1403、对第一译码运算得到的结果,在高次有限域中进行第二译码运算,生成一个或多个源数据块。1403. Perform a second decoding operation on the result obtained by the first decoding operation in a high-order finite field to generate one or more source data blocks.
本实施例中,步骤1402后,接收端对第一译码运算得到的结果,在高次有限域中进行第二译码运算,生成一个或多个源数据块。In this embodiment, after step 1402, the receiving end performs a second decoding operation on the result obtained by the first decoding operation in a high-order finite field to generate one or more source data blocks.
为了便于理解,在图15-16的基础上,请参阅图17-图19,图17为本申请实施例中又一种译码示意图。图18为本申请实施例中又一种译码示意图。以第四编码报文中包括第二编码报文为例:第二编码报文的第二编码系数矩阵中,包括该第四编码报文中的高次有限域的编码系数。For ease of understanding, on the basis of FIGS. 15-16 , please refer to FIGS. 17-19 , and FIG. 17 is another schematic diagram of decoding in an embodiment of the present application. FIG. 18 is another schematic diagram of decoding according to an embodiment of the present application. Taking the fourth coded message including the second coded message as an example: the second coding coefficient matrix of the second coded message includes coding coefficients of higher-order finite fields in the fourth coded message.
首先,根据第四译码子矩阵,确定第五译码子矩阵,第五译码子矩阵由高次有限域的编码系数组成。示例性的,该第五译码子矩阵包括:GF(2 2)矩阵A 1=[3 1 2 2],
Figure PCTCN2021112380-appb-000143
矩阵A 2=[14 3 2 7]。
First, a fifth decoding sub-matrix is determined according to the fourth decoding sub-matrix, and the fifth decoding sub-matrix is composed of coding coefficients of a high-order finite field. Exemplarily, the fifth decoding sub-matrix includes: GF(2 2 ) matrix A 1 =[3 1 2 2],
Figure PCTCN2021112380-appb-000143
Matrix A 2 =[14 3 2 7].
其次,根据第四译码子矩阵,和第五译码子矩阵,生成第六译码子矩阵,第六译码子矩阵中的向量为:第五译码子矩阵的一组编码系数与第四译码子矩阵的一组编码系数,在第五译码子矩阵对应的有限域中做加法得到。Secondly, according to the fourth decoding sub-matrix and the fifth decoding sub-matrix, generate a sixth decoding sub-matrix, and the vector in the sixth decoding sub-matrix is: a set of coding coefficients of the fifth decoding sub-matrix and the first decoding sub-matrix A set of coding coefficients of the four decoding sub-matrixes are obtained by addition in the finite field corresponding to the fifth decoding sub-matrix.
示例性的,第五译码子矩阵的一组编码系数为:[14 3 2 7],第四译码子矩阵的一组编码系数为:[1 0 0 0],两者在第五译码子矩阵对应的有限域
Figure PCTCN2021112380-appb-000144
中做加法,得到第六译码子矩阵的一组向量:[15 3 2 7]。
Exemplarily, a set of coding coefficients of the fifth decoding sub-matrix is: [14 3 2 7], and a set of coding coefficients of the fourth decoding sub-matrix is: [1 0 0 0], both of which are in the fifth decoding The finite field corresponding to the code submatrix
Figure PCTCN2021112380-appb-000144
Do addition in , to obtain a set of vectors of the sixth decoding sub-matrix: [15 3 2 7].
步骤1402后,得到的待译码数据表示为:[h1’h2’h3’h4’],其中:After step 1402, the obtained data to be decoded is expressed as: [h1'h2'h3'h4'], where:
1·p 1+0·p 2+0·p 3+1·p 4=h' 1    (1); 1·p 1 +0·p 2 +0·p 3 +1·p 4 =h′ 1 (1);
0·p 1+1·p 2+0·p 3+1·p 4=h' 2    (2); 0·p 1 +1·p 2 +0·p 3 +1·p 4 =h′ 2 (2);
0·p 1+0·p 2+1·p 3+0·p 4+1·c 1=h' 3    (3); 0·p 1 +0·p 2 +1·p 3 +0·p 4 +1·c 1 =h′ 3 (3);
1·p 1+0·p 2+0·p 3+0·p 4+1·c 2=h' 4    (4) 1·p 1 +0·p 2 +0·p 3 +0·p 4 +1·c 2 =h′ 4 (4)
根据第四译码子矩阵:
Figure PCTCN2021112380-appb-000145
第五译码子矩阵:
Figure PCTCN2021112380-appb-000146
基于GF(2 2)矩阵A 1=[3 1 2 2],将c 1=3·p 1+1·p 2+2·p 3+2·p 4代入公式(3),得到:
According to the fourth decoding sub-matrix:
Figure PCTCN2021112380-appb-000145
Fifth decoding sub-matrix:
Figure PCTCN2021112380-appb-000146
Based on the GF(2 2 ) matrix A 1 =[3 1 2 2], substituting c 1 =3·p 1 +1·p 2 +2·p 3 +2·p 4 into formula (3), we get:
3·p 1+1·p 2+3·p 3+2·p 4=h' 3    (5); 3·p 1 +1·p 2 +3·p 3 +2·p 4 =h′ 3 (5);
基于,
Figure PCTCN2021112380-appb-000147
矩阵A 2=[14 3 2 7],将c 2=14·p 1+3·p 2+2·p 3+7·p 4代入公式(4),得到:
based on,
Figure PCTCN2021112380-appb-000147
Matrix A 2 =[14 3 2 7], substituting c 2 =14·p 1 +3·p 2 +2·p 3 +7·p 4 into formula (4), we get:
15·p 1+3·p 2+2·p 3+7·p 4=h' 4    (6)。 15·p 1 +3·p 2 +2·p 3 +7·p 4 =h′ 4 (6).
通过上述计算,得到第六译码子矩阵:
Figure PCTCN2021112380-appb-000148
Through the above calculation, the sixth decoding sub-matrix is obtained:
Figure PCTCN2021112380-appb-000148
再次,根据第三译码子矩阵和第六译码子矩阵,得到第四译码矩阵。其中,第六译码子矩阵中的向量为:第五译码子矩阵的一组编码系数与第四译码子矩阵的一组编码系数,在第五译码子矩阵对应的有限域中做加法得到。Thirdly, a fourth decoding matrix is obtained according to the third decoding sub-matrix and the sixth decoding sub-matrix. Wherein, the vectors in the sixth decoding sub-matrix are: a set of coding coefficients of the fifth decoding sub-matrix and a set of coding coefficients of the fourth decoding sub-matrix, which are calculated in the finite field corresponding to the fifth decoding sub-matrix. Addition to get.
示例性的,请参阅图18,图18中根据第三译码子矩阵:
Figure PCTCN2021112380-appb-000149
和第六译码子矩阵:
Figure PCTCN2021112380-appb-000150
生成第四译码矩阵:
Figure PCTCN2021112380-appb-000151
Exemplarily, please refer to FIG. 18. In FIG. 18, according to the third decoding sub-matrix:
Figure PCTCN2021112380-appb-000149
and the sixth decoding submatrix:
Figure PCTCN2021112380-appb-000150
Generate the fourth decoding matrix:
Figure PCTCN2021112380-appb-000151
再次,接收端对第四译码矩阵进行译码操作,生成对角线系数为1的单位矩阵;Again, the receiving end performs a decoding operation on the fourth decoding matrix to generate a unit matrix with a diagonal coefficient of 1;
第四译码矩阵进行译码操作时,待译码数据进行同步译码操作,生成一个或多个源数据块。When the fourth decoding matrix performs a decoding operation, the data to be decoded is subjected to a synchronous decoding operation to generate one or more source data blocks.
示例性的,请参阅图19,图19为本申请实施例提出的又一种译码示意图。对第四译码矩阵进行译码处理。具体如下:在第三译码子矩阵的有限域中,对第四译码矩阵进行高斯消元。得到矩阵
Figure PCTCN2021112380-appb-000152
具体高斯消元步骤如下:
Exemplarily, please refer to FIG. 19 , which is another schematic diagram of decoding proposed by an embodiment of the present application. A decoding process is performed on the fourth decoding matrix. The details are as follows: in the finite field of the third decoding sub-matrix, Gaussian elimination is performed on the fourth decoding matrix. get the matrix
Figure PCTCN2021112380-appb-000152
The specific Gaussian elimination steps are as follows:
h' 3+3·h' 1+h' 2h' 3 +3 h' 1 +h' 2 ,
Figure PCTCN2021112380-appb-000153
Figure PCTCN2021112380-appb-000153
h' 4+15·h' 1+3·h' 2h' 4 +15·h' 1 +3·h' 2 ,
Figure PCTCN2021112380-appb-000154
Figure PCTCN2021112380-appb-000154
由于其中的子矩阵
Figure PCTCN2021112380-appb-000155
无法在第三译码子矩阵的有限域中进一步消元,因此,需要 对矩阵
Figure PCTCN2021112380-appb-000156
进行求逆操作。首先,将
Figure PCTCN2021112380-appb-000157
中的元素,转换为对应的第五译码子矩阵所在的最高次有限域中对应的元素。例如:子矩阵中元素“3”所在的低次有限域为GF(2 2),该元素“3”在对应的第五译码子矩阵中,最高次有限域为
Figure PCTCN2021112380-appb-000158
由于元素“3”在GF(2 2)中表示“α 2”,而在
Figure PCTCN2021112380-appb-000159
中“α 2”对应“7”。因此,对子矩阵
Figure PCTCN2021112380-appb-000160
进行转换,可得
Figure PCTCN2021112380-appb-000161
对该矩阵
Figure PCTCN2021112380-appb-000162
求逆:
Figure PCTCN2021112380-appb-000163
Because of the submatrix in it
Figure PCTCN2021112380-appb-000155
No further elimination can be done in the finite field of the third decoding sub-matrix, therefore, the matrix
Figure PCTCN2021112380-appb-000156
Perform the inverse operation. First, put
Figure PCTCN2021112380-appb-000157
The elements in are converted into corresponding elements in the highest-order finite field where the corresponding fifth decoding sub-matrix is located. For example: the low-order finite field of the element "3" in the sub-matrix is GF(2 2 ), and the element "3" is in the corresponding fifth decoding sub-matrix, and the highest-order finite field is
Figure PCTCN2021112380-appb-000158
Since element "3" represents "α 2 " in GF(2 2 ), while in GF(2 2 )
Figure PCTCN2021112380-appb-000159
2 " corresponds to "7". Therefore, for the submatrix
Figure PCTCN2021112380-appb-000160
convert to get
Figure PCTCN2021112380-appb-000161
for the matrix
Figure PCTCN2021112380-appb-000162
Inverse:
Figure PCTCN2021112380-appb-000163
在上述第四译码矩阵进行译码操作时,待译码数据进行同步译码操作,生成一个或多个源数据块。When the above-mentioned fourth decoding matrix performs a decoding operation, the data to be decoded is subjected to a synchronous decoding operation to generate one or more source data blocks.
本申请实施例中,由于接收端接收的第四编码报文,利用了具有嵌套结构的有限域进行编码。因此,在接收端进行译码时,可以首先在低次有限域进行译码,并使用该低次有限域的译码结果,在高次有限域进行进一步译码,最终得到一个或多个源数据块。In the embodiment of the present application, the fourth encoded message received by the receiving end is encoded by using a finite field with a nested structure. Therefore, when decoding is performed at the receiving end, the decoding can be performed in the low-order finite field first, and the decoding result of the low-order finite field can be used to further decode in the high-order finite field, and finally one or more source data block.
在低次有限域中进行译码,有效降低对接收端算力的要求。而保留在高次有限域的译码,提升了译码成功率。从译码速度或吞吐量角度,将译码过程中高次有限域的译码运算,变换至低次有限域(例如:当前网络中的最低次有限域),有效降低了计算复杂度,提升了译码速度和数据吞吐量。Decoding in a low-order finite field effectively reduces the computing power requirements of the receiver. The decoding reserved in the high-order finite field improves the decoding success rate. From the perspective of decoding speed or throughput, the decoding operation of the high-order finite field in the decoding process is transformed into a low-order finite field (for example, the lowest-order finite field in the current network), which effectively reduces the computational complexity and improves the Decoding speed and data throughput.
其次,对第二译码方式进行介绍。请参阅图20a,图20a为本申请实施例提出的又一种有限域的编码或译码方法的实施例示意图。该方法应用于接收端,包括:Next, the second decoding method is introduced. Please refer to FIG. 20a. FIG. 20a is a schematic diagram of an embodiment of another finite field encoding or decoding method proposed by an embodiment of the present application. This method is applied to the receiving end, including:
2001、接收端接收一个或多个第四编码报文。2001. The receiving end receives one or more fourth encoded packets.
本实施例中,与前述步骤1401一致,此处不再赘述。In this embodiment, it is the same as the foregoing step 1401, and details are not repeated here.
2002、采用第二译码方式对一个或多个第四编码报文进行译码操作,生成一个或多个源数据块。2002. Use the second decoding mode to perform a decoding operation on one or more fourth encoded packets to generate one or more source data blocks.
本实施例中,接收端采用第二译码方式在第六编码数据块对应的编码系数的最高阶有限域内,对一个或多个第四编码报文进行译码操作,生成k’个源数据块,最高阶有限域为第六编码数据块对应的编码系数的最高阶有限域,k’为正整数。In this embodiment, the receiving end uses the second decoding method to perform a decoding operation on one or more fourth encoded packets in the highest-order finite field of the encoding coefficients corresponding to the sixth encoded data block to generate k' pieces of source data block, the highest-order finite field is the highest-order finite field of the coding coefficients corresponding to the sixth coded data block, and k' is a positive integer.
具体的,在第六编码数据块的编码系数对应的最高阶有限域内,对第六编码数据块进行译码,使得第六编码数据块的编码系数组成的矩阵,经过译码后得到对角线元素为1,且除对角线元素以外的其他元素为0的矩阵;Specifically, in the highest-order finite field corresponding to the coding coefficients of the sixth coded data block, the sixth coded data block is decoded, so that the matrix composed of the coding coefficients of the sixth coded data block is decoded to obtain a diagonal line A matrix whose elements are 1 and whose elements are 0 except for the diagonal elements;
第六编码数据块的编码系数组成的矩阵进行译码操作时,第六编码数据块进行同步译码操作,生成一个或多个源数据块。When the matrix composed of the coding coefficients of the sixth coded data block is subjected to a decoding operation, the sixth coded data block is subjected to a synchronous decoding operation to generate one or more source data blocks.
示例性的,如图20b所示,图20b为本申请实施例中一种译码示意图。Exemplarily, as shown in FIG. 20b, FIG. 20b is a schematic diagram of decoding in an embodiment of the present application.
以第六编码数据块的编码系数包括:{α″ 1,1…α″ 1,4},{α″ 2,1…α″ 2,4},{α″ 3,1…α″ 3,4}和{α″ 4,1…α″ 4,4};该第四编码报文中携带的第六编码数据块包括:数据块X” 1、数据块X” 2、数据块X” 3和数据块X” k=4;其中数据块X” 1携带的编码系数为{α″ 1,1…α″ 1,4},数据块X” 2 携带的编码系数为{α″ 2,1…α″ 2,4},数据块X” 3携带的编码系数为{α″ 3,1…α″ 3,4},数据块X” k=4携带的编码系数为{α″ 4,1…α″ 4,4}。根据该第六编码数据块的编码系数,组成矩阵:
Figure PCTCN2021112380-appb-000164
The coding coefficients of the sixth coded data block include: {α″ 1,1 …α″ 1,4 }, {α″ 2,1 …α″ 2,4 }, {α″ 3,1 …α″ 3, 4 } and {α″ 4,1 …α″ 4,4 }; the sixth encoded data block carried in the fourth encoded message includes: data block X” 1 , data block X” 2 , data block X” 3 and the data block X"k=4; wherein the coding coefficients carried by the data block X" 1 are {α" 1,1 ...α" 1,4 }, and the coding coefficients carried by the data block X" 2 are {α" 2,1 …α″ 2,4 }, the coding coefficients carried by the data block X” 3 are {α″ 3,1 …α″ 3,4 }, and the coding coefficients carried by the data block X” k=4 are {α″ 4,1 ...α″ 4,4 }. According to the coding coefficients of the sixth coded data block, a matrix is formed:
Figure PCTCN2021112380-appb-000164
示例性的,该矩阵的具体数值,可以是:
Figure PCTCN2021112380-appb-000165
其中,编码系数组[1 0 00]和[0 1 0 0]对应的有限域为GF(2),又称为1次域;编码系数组[3 1 2 2]对应的有限域为GF(2 2),又称为2次域;编码系数组[15 3 2 26]对应的有限域为
Figure PCTCN2021112380-appb-000166
又称为4次域。
Exemplarily, the specific value of the matrix can be:
Figure PCTCN2021112380-appb-000165
Among them, the finite field corresponding to the coding coefficient groups [1 0 00] and [0 1 0 0] is GF(2), also known as the first-order field; the finite field corresponding to the coding coefficient group [3 1 2 2] is GF( 2 2 ), also known as the second-order field; the finite field corresponding to the coding coefficient group [15 3 2 26] is
Figure PCTCN2021112380-appb-000166
Also known as the 4th domain.
由于
Figure PCTCN2021112380-appb-000167
GF(2 2)和GF(2)为具有嵌套结构的有限域。这三个有限域中加法操作,与,乘法操作可以使用等价加法表和等价乘法表进行关联。
Figure PCTCN2021112380-appb-000168
GF(2 2)和GF(2)的等价乘法表如图21所示,图21为本申请实施例涉及的一种嵌套域的等价乘法表示意图。在第六编码数据块的编码系数对应的最高阶有限域
Figure PCTCN2021112380-appb-000169
内,对第六编码数据块进行译码。
due to
Figure PCTCN2021112380-appb-000167
GF(2 2 ) and GF(2) are finite fields with nested structures. The addition, and, and multiplication operations in these three finite fields can be associated using the equivalent addition table and the equivalent multiplication table.
Figure PCTCN2021112380-appb-000168
The equivalent multiplication table of GF(2 2 ) and GF(2) is shown in FIG. 21 , and FIG. 21 is a schematic diagram of an equivalent multiplication table of a nested field involved in the embodiment of the present application. The highest-order finite field corresponding to the coded coefficients in the sixth coded data block
Figure PCTCN2021112380-appb-000169
Inside, the sixth encoded data block is decoded.
具体如下:details as follows:
请参阅图20c,图20c为本申请实施例中又一种译码示意图。使用该等价乘法表,对上述矩阵
Figure PCTCN2021112380-appb-000170
在有限域
Figure PCTCN2021112380-appb-000171
中进行高斯消元处理。
Please refer to FIG. 20c. FIG. 20c is another schematic diagram of decoding according to an embodiment of the present application. Using this equivalent multiplication table, for the above matrix
Figure PCTCN2021112380-appb-000170
in a finite field
Figure PCTCN2021112380-appb-000171
Gaussian elimination is performed in .
首先,如图20b中矩阵(1)所示,使用[1 0 0 0]和[0 1 0 0],对[15 3 2 26]进行消元处理,得到矩阵(2)。First, as shown in matrix (1) in Figure 20b, using [1 0 0 0] and [0 1 0 0], perform elimination processing on [15 3 2 26] to obtain matrix (2).
其次,为了对矩阵(2)进行进一步消元。根据图21所示的等价乘法表,矩阵(2)中[0 0 2 6]*9后,可以得到矩阵(3)。Second, in order to perform further elimination of matrix (2). According to the equivalent multiplication table shown in Figure 21, after [0 0 2 6]*9 in matrix (2), matrix (3) can be obtained.
再次,对该矩阵(3)进行进一步消元,根据图21所示的等价乘法表,矩阵(3)中[0 0 1 3]*2后,消元可以得到矩阵(4)。Again, the matrix (3) is further eliminated. According to the equivalent multiplication table shown in Figure 21, after [0 0 1 3]*2 in the matrix (3), the elimination can obtain the matrix (4).
再次,对矩阵(4)进行进一步消元,可以得到单位矩阵(5),
Figure PCTCN2021112380-appb-000172
Again, by further elimination of matrix (4), the identity matrix (5) can be obtained,
Figure PCTCN2021112380-appb-000172
可选的,接收端丢弃超过自身算力的第四编码报文,例如:当接收端支持译码的最高次有限域为
Figure PCTCN2021112380-appb-000173
则当第四编码报文的有限域为
Figure PCTCN2021112380-appb-000174
接收端丢弃该第四编码报文。
Optionally, the receiving end discards the fourth encoded message that exceeds its own computing power. For example, when the receiving end supports decoding, the highest-order finite field is
Figure PCTCN2021112380-appb-000173
Then when the finite field of the fourth encoded message is
Figure PCTCN2021112380-appb-000174
The receiving end discards the fourth encoded message.
本申请实施例中,接收端接收的第四编码报文,利用了具有嵌套结构的有限域进行编码。由于而具有嵌套结构的有限域中,可以使用等价乘法表(或等价加法表)进行乘法运算(或加法运算)。因此,在接收端进行译码时,可以在第六编码数据块的编码系数对应的最高阶有限域内,对第六编码数据块进行译码。有效降低了计算复杂度,提升了译码速度 和数据吞吐量。并且,提升了方案的实现灵活性。In the embodiment of the present application, the fourth encoded message received by the receiving end is encoded by using a finite field with a nested structure. In a finite field with a nested structure, an equivalent multiplication table (or an equivalent addition table) can be used to perform multiplication (or addition). Therefore, when decoding is performed at the receiving end, the sixth encoded data block can be decoded within the highest-order finite field corresponding to the encoding coefficients of the sixth encoded data block. It effectively reduces the computational complexity and improves the decoding speed and data throughput. Moreover, the implementation flexibility of the solution is improved.
图4所示的有限域编码方法,图7所示的有限域编码方法以及图12所示的有限域重编码方法,通常应用于具有编码模块的网络装置的发送端(或中间节点),在一种可能的应用场景中,该具有编码模块的网络装置同时具有译码模块,该网络装置还可以执行图14所示的有限域译码方法和图20a所示的有限域译码方法,本申请对执行上述编码方法或上述译码方法的网络装置不做限定,仅以该网络装置执行编码方法或译码方法进行区分。图4所示的有限域编码方法,图7所示的有限域编码方法以及图12所示的有限域重编码方法,在本申请中避免冗余仅作为编码方法公开。应理解,上述编码方法也可以解析为译码方法,即译码侧按照编码侧的方法反向执行,其技术手段与编码侧类似,则与该编码方法对应执行的译码方法也属于本申请的保护范围。同理,图14所示的有限域译码方法和图20a所示的有限域译码方法也可以解析为编码方法,即编码侧按照译码侧的方法反向执行,其技术手段与译码侧类似,则与上述译码方法对应执行的编码方法也属于本申请的保护范围。The finite field coding method shown in FIG. 4 , the finite field coding method shown in FIG. 7 and the finite field recoding method shown in FIG. 12 are usually applied to the transmitting end (or intermediate node) of the network device with the coding module. In a possible application scenario, the network device with the encoding module also has a decoding module, and the network device can also perform the finite field decoding method shown in FIG. 14 and the finite field decoding method shown in FIG. 20a. The application does not limit the network device that executes the encoding method or the decoding method, and only distinguishes the network device that executes the encoding method or the decoding method. The finite field coding method shown in FIG. 4 , the finite field coding method shown in FIG. 7 and the finite field recoding method shown in FIG. 12 are only disclosed as coding methods in this application to avoid redundancy. It should be understood that the above-mentioned encoding method can also be interpreted as a decoding method, that is, the decoding side performs the reverse execution according to the method of the encoding side, and its technical means is similar to that of the encoding side, and the decoding method performed corresponding to the encoding method also belongs to this application. scope of protection. Similarly, the finite field decoding method shown in FIG. 14 and the finite field decoding method shown in FIG. 20a can also be parsed as encoding methods, that is, the encoding side is executed in reverse according to the method on the decoding side. Similarly, the encoding method performed corresponding to the above-mentioned decoding method also belongs to the protection scope of the present application.
上述主要以方法的角度对本申请实施例提供的方案进行了介绍。可以理解的是,网络装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solutions provided by the embodiments of the present application are described above mainly from the perspective of methods. It can be understood that, in order to implement the above-mentioned functions, the network device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with reference to the modules and algorithm steps of each example described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对网络装置(包括发送端、接收端与中间节点)进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the network device (including the transmitting end, the receiving end, and the intermediate node) may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided into each function, or two or more The functions are integrated in a processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
下面对本申请中的网络装置进行详细描述,请参阅图22,图22为本申请实施例中网络装置的一种实施例示意图。网络装置可以部署于网络设备或终端设备中,网络装置包括:The following describes the network device in the present application in detail, please refer to FIG. 22 , which is a schematic diagram of an embodiment of the network device in the embodiment of the present application. The network device can be deployed in network equipment or terminal equipment, and the network device includes:
处理模块2201,用于使用第一编码系数矩阵对k个源数据块进行编码处理,生成k个第一编码数据块,第一编码数据块与第一编码系数矩阵中的一组编码系数对应,k为正整数;The processing module 2201 is configured to perform encoding processing on k source data blocks using the first encoding coefficient matrix to generate k first encoded data blocks, where the first encoded data blocks correspond to a set of encoding coefficients in the first encoding coefficient matrix, k is a positive integer;
处理模块2201,还用于根据k个第一编码数据块,生成一个或多个第一编码报文,第一编码报文包含一个或多个第一编码数据块,以及一个或多个第一编码数据块对应的第一编码系数矩阵中的一组编码系数;The processing module 2201 is further configured to generate one or more first encoded packets according to the k first encoded data blocks, where the first encoded packet includes one or more first encoded data blocks, and one or more first encoded data blocks a group of encoding coefficients in the first encoding coefficient matrix corresponding to the encoded data block;
其中,第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,第一有限域和第二有限域为具有嵌套结构的有限域,且,第二有限域的阶数高于第一有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the first coding coefficient matrix includes coding coefficients of the first finite field and coding coefficients of the second finite field, the first finite field and the second finite field are finite fields with a nested structure, and the order of the second finite field The number is higher than the first finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
收发模块2202,用于发送一个或多个第一编码报文。The transceiver module 2202 is configured to send one or more first encoded messages.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
源数据块为:p j,其中,j为正整数,1≤j≤k; The source data block is: p j , where j is a positive integer, 1≤j≤k;
第一有限域的编码系数和第二有限域的编码系数为α n,k,n为正整数; The coding coefficients of the first finite field and the coding coefficients of the second finite field are α n,k , where n is a positive integer;
一个或多个第一编码数据块包括:c n,其中,
Figure PCTCN2021112380-appb-000175
The one or more first encoded data blocks include: c n , wherein,
Figure PCTCN2021112380-appb-000175
在本申请的一些可选实施例中,一个或多个第二编码报文还包括有限域阶数,有限域阶数与第一编码数据块,和/或,源数据块对应,有限域阶数为第一编码数据块对应的第一编码系数矩阵中的一组编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。In some optional embodiments of the present application, the one or more second encoded packets further include a finite field order, and the finite field order corresponds to the first encoded data block, and/or, the source data block corresponds to a finite field order. The number is the finite field order of a group of coding coefficients in the first coding coefficient matrix corresponding to the first coded data block, and/or the finite field order of the coding coefficients of the source data block.
在本申请的一些可选实施例中,第一有限域的编码系数,携带于第一编码报文的网络层或数据链路层;In some optional embodiments of the present application, the coding coefficients of the first finite field are carried at the network layer or the data link layer of the first coded message;
第二有限域的编码系数,携带于第一编码报文的传输层;The coding coefficients of the second finite field are carried in the transport layer of the first coded message;
源数据块的编码系数,携带于第一编码报文的网络层或数据链路层。The coding coefficients of the source data block are carried in the network layer or data link layer of the first coded packet.
在一种可能的实现方式中,处理模块2201用于执行图4对应的实施例中的步骤401和步骤402。In a possible implementation manner, the processing module 2201 is configured to perform step 401 and step 402 in the embodiment corresponding to FIG. 4 .
在一种可能的实现方式中,收发模块2202用于执行图4对应的实施例中的步骤403。In a possible implementation manner, the transceiver module 2202 is configured to perform step 403 in the embodiment corresponding to FIG. 4 .
请参阅图23,图23为本申请实施例中网络装置的一种实施例示意图。网络装置,包括:Please refer to FIG. 23. FIG. 23 is a schematic diagram of an embodiment of a network device in an embodiment of the present application. Network devices, including:
处理模块2301,用于使用第二编码系数矩阵对k个源数据块进行编码处理,生成k个第二编码数据块,第二编码数据块与第二编码系数矩阵中的一组编码系数对应,k为正整数;The processing module 2301 is configured to perform encoding processing on k source data blocks using the second encoding coefficient matrix to generate k second encoded data blocks, where the second encoded data blocks correspond to a set of encoding coefficients in the second encoding coefficient matrix, k is a positive integer;
处理模块2301,还用于使用第三编码系数矩阵对k个第二编码数据块和k个源数据块进行编码处理,生成g个第三编码数据块,第三编码数据块与第三编码系数矩阵中的一组编码系数对应,g为正整数;The processing module 2301 is further configured to use the third encoding coefficient matrix to perform encoding processing on the k second encoded data blocks and the k source data blocks to generate g third encoded data blocks, the third encoded data block and the third encoded coefficients A set of coding coefficients in the matrix corresponds, and g is a positive integer;
处理模块2301,还用于根据k个第二编码数据块以及g个第三编码数据块,生成一个或多个第二编码报文,一个第二编码报文包括:一个或多个第三编码数据块和一个或多个第三编码数据块的编码系数,第二编码报文包含一个或多个第三编码数据块,以及第三编码系数矩阵对应的编码系数;The processing module 2301 is further configured to generate one or more second encoded packets according to the k second encoded data blocks and the g third encoded data blocks, where a second encoded packet includes: one or more third encoded data blocks coding coefficients of the data block and one or more third coded data blocks, the second coded message includes one or more third coded data blocks, and coding coefficients corresponding to the third coding coefficient matrix;
其中,第二编码系数矩阵包括第三有限域的编码系数,第三编码系数矩阵包括第四有限域的编码系数,第三有限域和第四有限域为具有嵌套结构的有限域,且,第四有限域的阶数高于第三有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the second coding coefficient matrix includes the coding coefficients of the third finite field, the third coding coefficient matrix includes the coding coefficients of the fourth finite field, the third finite field and the fourth finite field are finite fields with a nested structure, and, The order of the fourth finite field is higher than that of the third finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent;
收发模块2302,用于发送一个或多个第二编码报文。The transceiver module 2302 is configured to send one or more second encoded messages.
在本申请的一些可选实施例中,第二编码报文还包括:In some optional embodiments of the present application, the second encoded message further includes:
一个或多个第二编码数据块,以及一个或多个第二编码数据块对应的第二编码系数矩阵中的一组编码系数,one or more second coded data blocks, and a set of coding coefficients in the second coding coefficient matrix corresponding to the one or more second coded data blocks,
和/或,一个或多个源数据块,源数据块与单位矩阵中的一组编码系数对应,单位矩阵的尺寸由第二编码数据块的数量和源数据块的数量确定。And/or, one or more source data blocks, the source data blocks correspond to a set of coding coefficients in an identity matrix, and the size of the identity matrix is determined by the number of second coded data blocks and the number of source data blocks.
在本申请的一些可选实施例中,源数据块为:p j,其中,j为正整数,1≤j≤k; In some optional embodiments of the present application, the source data block is: p j , where j is a positive integer, and 1≤j≤k;
第三有限域的编码系数为α′ n,k,n为正整数; The coding coefficient of the third finite field is α′ n,k , where n is a positive integer;
一个或多个第二编码数据块包括:c′ n,其中,
Figure PCTCN2021112380-appb-000176
The one or more second encoded data blocks include: c' n , wherein,
Figure PCTCN2021112380-appb-000176
第四有限域的编码系数为β m,k+nThe coding coefficient of the fourth finite field is β m,k+n ;
一个或多个第三编码数据块包括:b m,其中,
Figure PCTCN2021112380-appb-000177
m为正整数。
The one or more third encoded data blocks include: b m , wherein,
Figure PCTCN2021112380-appb-000177
m is a positive integer.
在本申请的一些可选实施例中,第三有限域的编码系数,携带于第二编码报文的传输层;In some optional embodiments of the present application, the coding coefficients of the third finite field are carried in the transport layer of the second coded message;
第四有限域的编码系数,携带于第二编码报文的网络层或数据链路层。The coding coefficients of the fourth finite field are carried in the network layer or the data link layer of the second coded message.
在本申请的一些可选实施例中,一个或多个第二编码报文还包括有限域阶数,有限域阶数包括第二编码数据块的编码系数所在有限域阶数、第三编码数据块的编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。In some optional embodiments of the present application, the one or more second encoded packets further include a finite field order, and the finite field order includes the finite field order where the encoding coefficients of the second encoded data block are located, and the third encoded data The order of the finite field where the coding coefficients of the block are located, and/or the order of the finite field where the coding coefficients of the source data block are located.
在本申请的一些可选实施例中,第二编码系数矩阵,还包括:第五有限域的编码系数,第五有限域与第三有限域具有嵌套结构,其中,第五有限域与第三有限域,满足以下关系:阶数存在倍数关系,且,特征数一致。In some optional embodiments of the present application, the second coding coefficient matrix further includes: coding coefficients of a fifth finite field, where the fifth finite field and the third finite field have a nested structure, wherein the fifth finite field and the third finite field have a nested structure. The three finite fields satisfy the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent.
在一种可能的实现方式中,处理模块2301用于执行图7对应的实施例中的步骤701、步骤702和步骤703。In a possible implementation manner, the processing module 2301 is configured to execute step 701 , step 702 and step 703 in the embodiment corresponding to FIG. 7 .
在一种可能的实现方式中,收发模块2302用于执行图7对应的实施例中的步骤704。In a possible implementation manner, the transceiver module 2302 is configured to perform step 704 in the embodiment corresponding to FIG. 7 .
请参阅图24,图24为本申请实施例中网络装置的一种实施例示意图。网络装置,包括:Please refer to FIG. 24. FIG. 24 is a schematic diagram of an embodiment of a network device according to an embodiment of the present application. Network devices, including:
收发模块2401,用于接收一个或多个第三编码报文,第三编码报文包含g’个第四编码数据块,以及g’个第四编码数据块对应的编码系数,g’为正整数;The transceiver module 2401 is configured to receive one or more third encoded packets, where the third encoded packets include g' fourth encoded data blocks and encoding coefficients corresponding to the g' fourth encoded data blocks, where g' is positive integer;
处理模块2402,用于使用第四编码系数矩阵对g’个第四编码数据块进行编码处理,生成一个或多个第五编码数据块,第五编码数据块与第四编码系数矩阵中的一组编码系数对应;The processing module 2402 is configured to use the fourth encoding coefficient matrix to perform encoding processing on g' fourth encoded data blocks, and generate one or more fifth encoded data blocks, one of the fifth encoded data block and the fourth encoded coefficient matrix. Group coding coefficient correspondence;
处理模块2402,还用于根据一个或多个第五编码数据块,生成一个或多个重编码报文,重编码报文包含一个或多个第五编码数据块,以及一个或多个第五编码数据块对应的第四编码系数矩阵中的一组编码系数;The processing module 2402 is further configured to generate one or more re-encoded messages according to one or more fifth encoded data blocks, where the re-encoded message includes one or more fifth encoded data blocks, and one or more fifth encoded data blocks a group of encoding coefficients in the fourth encoding coefficient matrix corresponding to the encoded data block;
其中,第四编码系数矩阵中编码系数的有限域与第三编码报文包含的编码系数的有限域具有嵌套结构,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the finite field of the coding coefficients in the fourth coding coefficient matrix and the finite field of coding coefficients included in the third coding message have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and, The number of features is consistent;
收发模块2401,用于发送一个或多个重编码报文。The transceiver module 2401 is configured to send one or more recoded packets.
在本申请的一些可选实施例中,第四编码系数矩阵中编码系数(第四编码系数)的有限域阶数等于中间节点所在的网络中有限域的最低阶数;In some optional embodiments of the present application, the finite field order of the coding coefficients (fourth coding coefficients) in the fourth coding coefficient matrix is equal to the lowest order of the finite field in the network where the intermediate node is located;
或者,第四编码系数矩阵中编码系数的有限域阶数小于或等于中间节点所在的网络中有限域的最高阶数;Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is less than or equal to the highest order of the finite field in the network where the intermediate node is located;
或者,第四编码系数矩阵中编码系数的有限域阶数大于或等于中间节点所在的网络中有限域的最低阶数。Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is greater than or equal to the lowest order of the finite field in the network where the intermediate node is located.
在本申请的一些可选实施例中,第四编码数据块为Xi,1≤i≤u,i为正整数,u为正整数;In some optional embodiments of the present application, the fourth encoded data block is Xi, 1≤i≤u, i is a positive integer, and u is a positive integer;
第四编码系数为γ u,v,其中,v大于1的正整数; The fourth coding coefficient is γ u,v , where v is a positive integer greater than 1;
第五编码数据块为Y v,其中,
Figure PCTCN2021112380-appb-000178
其中,1≤j≤v。
The fifth encoded data block is Y v , where,
Figure PCTCN2021112380-appb-000178
Among them, 1≤j≤v.
在一种可能的实现方式中,处理模块2402用于执行图12对应的实施例中的步骤1202和步骤1203。In a possible implementation manner, the processing module 2402 is configured to perform step 1202 and step 1203 in the embodiment corresponding to FIG. 12 .
在一种可能的实现方式中,收发模块2401用于执行图12对应的实施例中的步骤1201和步骤1204。In a possible implementation manner, the transceiver module 2401 is configured to perform step 1201 and step 1204 in the embodiment corresponding to FIG. 12 .
请参阅图25,图25为本申请实施例中网络装置的一种实施例示意图。网络装置,包括:Please refer to FIG. 25. FIG. 25 is a schematic diagram of an embodiment of a network device according to an embodiment of the present application. Network devices, including:
收发模块2501,用于接收一个或多个第四编码报文,第四编码报文包含t’个第六编码数据块,以及t’个第六编码数据块对应的编码系数,t’为正整数;The transceiver module 2501 is configured to receive one or more fourth encoded packets, where the fourth encoded packet includes t' sixth encoded data blocks and encoding coefficients corresponding to the t' sixth encoded data blocks, where t' is positive integer;
处理模块2502,用于采用第一译码方式对一个或多个第四编码报文在低次有限域和高次有限域内进行译码操作,生成k个源数据块,k为正整数;The processing module 2502 is configured to perform a decoding operation on one or more fourth encoded messages in a low-order finite field and a high-order finite field by using the first decoding method, and generate k source data blocks, where k is a positive integer;
低次有限域为接收端所在的网络中阶数最低的有限域,高次有限域为第六编码数据块对应的编码系数的任一高阶有限域,高次有限域的阶数高于低次有限域的阶数,低次有限域与高次有限域具有嵌套结构,其中,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;The low-order finite field is the finite field with the lowest order in the network where the receiver is located, and the high-order finite field is any higher-order finite field of the coding coefficients corresponding to the sixth encoded data block, and the order of the high-order finite field is higher than the low-order finite field. The order of the second-order finite field, the lower-order finite field and the higher-order finite field have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
处理模块2502,还用于采用第二译码方式在第六编码数据块对应的编码系数的最高阶有限域内,对一个或多个第四编码报文进行译码操作,生成k’个源数据块,最高阶有限域为第六编码数据块对应的编码系数的最高阶有限域。The processing module 2502 is further configured to perform a decoding operation on one or more fourth encoded packets in the highest-order finite field of the encoding coefficients corresponding to the sixth encoded data block by using the second decoding method to generate k' source data block, the highest-order finite field is the highest-order finite field of the coding coefficients corresponding to the sixth coded data block.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理模块2502,具体用于对一个或多个第四编码报文在低次有限域内进行第一译码运算;The processing module 2502 is specifically configured to perform a first decoding operation on one or more fourth encoded packets in a low-order finite field;
处理模块2502,具体用于对第一译码运算得到的结果,在高次有限域中进行第二译码运算,生成k个源数据块。The processing module 2502 is specifically configured to perform a second decoding operation on the result obtained by the first decoding operation in a high-order finite field to generate k source data blocks.
在本申请的一些可选实施例中,处理模块2502,具体用于根据一个或多个第四编码报文中第六编码数据块对应的编码系数,确定低次有限域的编码系数和高次有限域的编码系数;In some optional embodiments of the present application, the processing module 2502 is specifically configured to determine, according to the coding coefficients corresponding to the sixth coded data block in one or more fourth coded packets, the coding coefficients of the lower-order finite field and the coding coefficients of the higher-order finite fields. the coding coefficients of the finite field;
处理模块2502,具体用于由低次有限域的编码系数,组成低次域编码系数矩阵;The processing module 2502 is specifically used to form a low-order domain coding coefficient matrix from the coding coefficients of the low-order finite field;
处理模块2502,具体用于根据低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,其中,第一译码矩阵的编码系数中对应高次有限域的编码系数组成第一高次域编码系数组,第一高次域编码系数组的有限域为第六编码数据块对应的编码系数的所有高次有限域中阶数最低的有限域;The processing module 2502 is specifically configured to form a first decoding matrix and a second decoding matrix according to the low-order domain encoding coefficient matrix, wherein the encoding coefficients corresponding to the high-order finite field in the encoding coefficients of the first decoding matrix form the first decoding matrix. High-order domain coding coefficient group, the finite field of the first high-order domain coding coefficient group is the finite field with the lowest order among all the high-order finite fields of the coding coefficients corresponding to the sixth coded data block;
第二译码矩阵的编码系数中对应高次有限域的编码系数组成第二高次域编码系数组,第二高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组外的其它编码系数的有限域,第二高次域编码系数组的有限域阶数小于或等于接 收端支持的最高阶有限域阶数;Among the coding coefficients of the second decoding matrix, the coding coefficients corresponding to the high-order finite field form the second high-order field coding coefficient group, and the finite field of the second high-order field coding coefficient group is divided by the coding coefficients corresponding to the sixth coded data block. The finite fields of other coding coefficients other than the first high-order finite field coding coefficient group, and the finite field order of the second high-order field coding coefficient group is less than or equal to the highest-order finite field order supported by the receiving end;
处理模块2502,具体用于对第二译码矩阵进行译码操作,生成第一译码子矩阵和第二译码子矩阵,其中,第一译码子矩阵为零矩阵,第二译码矩阵为单位矩阵;The processing module 2502 is specifically configured to perform a decoding operation on the second decoding matrix to generate a first decoding sub-matrix and a second decoding sub-matrix, wherein the first decoding sub-matrix is a zero matrix and the second decoding matrix is the unit matrix;
处理模块2502,具体用于当第二译码矩阵进行译码操作时,对第一译码矩阵同步译码操作,生成第三译码子矩阵和第四译码子矩阵,其中,第三译码子矩阵的行数与第一译码子矩阵的行数一致,第四译码子矩阵的行数与第二译码子矩阵的行数一致,或,第三译码子矩阵的列数与第一译码子矩阵的列数一致,第四译码子矩阵的列数与第二译码子矩阵的列数一致;The processing module 2502 is specifically configured to perform a synchronous decoding operation on the first decoding matrix when the second decoding matrix performs a decoding operation to generate a third decoding sub-matrix and a fourth decoding sub-matrix, wherein the third decoding sub-matrix The number of rows of the code sub-matrix is the same as the number of rows of the first decoding sub-matrix, the number of rows of the fourth decoding sub-matrix is the same as the number of rows of the second decoding sub-matrix, or the number of rows of the third decoding sub-matrix is the same. The number of columns is consistent with the number of columns of the first decoding sub-matrix, and the number of columns of the fourth decoding sub-matrix is consistent with the number of columns of the second decoding sub-matrix;
处理模块2502,具体用于当第一译码矩阵进行译码操作时,对第六编码数据块,进行同步译码操作,生成待译码数据。The processing module 2502 is specifically configured to perform a synchronous decoding operation on the sixth encoded data block to generate data to be decoded when the first decoding matrix performs a decoding operation.
在本申请的一些可选实施例中,第一译码运算得到的结果包括第三译码子矩阵、第四译码子矩阵,和待译码数据,In some optional embodiments of the present application, the result obtained by the first decoding operation includes the third decoding sub-matrix, the fourth decoding sub-matrix, and the data to be decoded,
处理模块2502,具体用于根据第四译码子矩阵,确定第四译码子矩阵对应的第五译码子矩阵,第五译码子矩阵由高次有限域的编码系数组成;The processing module 2502 is specifically configured to determine a fifth decoding sub-matrix corresponding to the fourth decoding sub-matrix according to the fourth decoding sub-matrix, and the fifth decoding sub-matrix is composed of coding coefficients of high-order finite fields;
处理模块2502,具体用于根据第四译码子矩阵和第五译码子矩阵,生成第六译码子矩阵,其中,第六译码子矩阵中的向量由第五译码子矩阵的一组编码系数与第四译码子矩阵的一组编码系数在第五译码子矩阵对应的有限域中做加法得到;The processing module 2502 is specifically configured to generate a sixth decoding sub-matrix according to the fourth decoding sub-matrix and the fifth decoding sub-matrix, wherein the vectors in the sixth decoding sub-matrix are determined by one of the fifth decoding sub-matrix. The set of coding coefficients and the set of coding coefficients of the fourth decoding sub-matrix are obtained by addition in the finite field corresponding to the fifth decoding sub-matrix;
处理模块2502,具体用于根据第三译码子矩阵和第六译码子矩阵,组成第四译码矩阵;The processing module 2502 is specifically configured to form a fourth decoding matrix according to the third decoding sub-matrix and the sixth decoding sub-matrix;
处理模块2502,具体用于对第四译码矩阵进行译码操作,生成单位矩阵;The processing module 2502 is specifically configured to perform a decoding operation on the fourth decoding matrix to generate a unit matrix;
处理模块2502,具体用于对第四译码矩阵进行译码操作时,对待译码数据进行同步译码操作,生成k个源数据块。The processing module 2502 is specifically configured to perform a synchronous decoding operation on the data to be decoded when performing a decoding operation on the fourth decoding matrix, and generate k source data blocks.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理模块2502,具体用于根据低次域编码系数矩阵,组成第一译码矩阵、第二译码矩阵和第三译码矩阵,其中,第三译码矩阵中对应高次有限域的编码系数组成第三高次域编码系数组,第三高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组和第二高次有限域编码系数组外的其它编码系数的有限域,对应第三高次域编码系数组的有限域阶数高于接收端支持的最高阶有限域阶数;The processing module 2502 is specifically configured to form a first decoding matrix, a second decoding matrix and a third decoding matrix according to the low-order domain encoding coefficient matrix, wherein the encoding coefficient corresponding to the high-order finite field in the third decoding matrix A third high-order domain coding coefficient group is formed, and the finite field of the third high-order domain coding coefficient group is the coding coefficients corresponding to the sixth coded data block except the first high-order finite field coding coefficient group and the second high-order finite field coding. For the finite fields of other coding coefficients outside the coefficient group, the finite field order corresponding to the third higher-order field coding coefficient group is higher than the highest-order finite field order supported by the receiver;
处理模块2502,具体用于对第三译码矩阵进行译码操作,生成零矩阵。The processing module 2502 is specifically configured to perform a decoding operation on the third decoding matrix to generate a zero matrix.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
对于k个源数据块,其中,k为正整数,当满足以下条件时,For k source data blocks, where k is a positive integer, when the following conditions are met,
处理模块2502,还用于对w个第四编码报文进行译码,包括:The processing module 2502 is further configured to decode the w fourth encoded packets, including:
Figure PCTCN2021112380-appb-000179
Figure PCTCN2021112380-appb-000179
其中,
Figure PCTCN2021112380-appb-000180
Figure PCTCN2021112380-appb-000181
矩阵,
Figure PCTCN2021112380-appb-000182
满足
Figure PCTCN2021112380-appb-000183
第三译码矩阵为
Figure PCTCN2021112380-appb-000184
高次域编码系数矩阵为G,高次域编码系数矩阵由高次有限域的编码系数组成,低次域编码系数矩阵H,w为正整数。
in,
Figure PCTCN2021112380-appb-000180
for
Figure PCTCN2021112380-appb-000181
matrix,
Figure PCTCN2021112380-appb-000182
satisfy
Figure PCTCN2021112380-appb-000183
The third decoding matrix is
Figure PCTCN2021112380-appb-000184
The high-order domain coding coefficient matrix is G, the high-order domain coding coefficient matrix is composed of coding coefficients of the high-order finite domain, and the low-order domain coding coefficient matrix H, w is a positive integer.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理模块2502,具体用于在第六编码数据块的编码系数对应的最高阶有限域内,对第六编码数据块进行译码,使得第六编码数据块的编码系数组成的矩阵经过译码后得到单位矩阵;The processing module 2502 is specifically configured to decode the sixth encoded data block in the highest-order finite field corresponding to the encoding coefficients of the sixth encoded data block, so that the matrix composed of the encoding coefficients of the sixth encoded data block is decoded to obtain identity matrix;
处理模块2502,具体用于当第六编码数据块的编码系数组成的矩阵进行译码操作时,对第六编码数据块进行同步译码操作,生成k’个源数据块。The processing module 2502 is specifically configured to perform a synchronous decoding operation on the sixth encoded data block when the matrix composed of the encoding coefficients of the sixth encoded data block is subjected to a decoding operation to generate k' source data blocks.
在一种可能的实现方式中,处理模块2502用于执行图14对应的实施例中的步骤1402和步骤1403,和/或,图20a对应的实施例中的步骤2002。In a possible implementation manner, the processing module 2502 is configured to perform steps 1402 and 1403 in the embodiment corresponding to FIG. 14 , and/or step 2002 in the embodiment corresponding to FIG. 20a .
在一种可能的实现方式中,收发模块2501用于执行图14对应的实施例中的步骤1401,和/或,图20a对应的实施例中的步骤2001。In a possible implementation manner, the transceiver module 2501 is configured to perform step 1401 in the embodiment corresponding to FIG. 14 and/or step 2001 in the embodiment corresponding to FIG. 20a.
上述实施例中的网络装置,可以是网络设备,也可以是应用于网络设备中的芯片或者其他可实现上述网络设备功能的组合器件、部件等。当网络装置是网络设备时,收发模块与发送模块可以是收发器,该收发器可以包括天线和射频电路等,处理模块可以是处理器,例如基带芯片等。当网络装置是具有上述网络设备功能的部件时,收发模块与发送模块可以是射频单元,处理模块可以是处理器。当网络装置是芯片系统时,收发模块可以是芯片系统的输入端口,发送模块可以是芯片系统的输出接口、处理模块可以是芯片系统的处理器,例如:中央处理器(central processing unit,CPU)。The network device in the foregoing embodiment may be a network device, or may be a chip applied in the network device or other combined devices, components, etc. that can implement the functions of the foregoing network device. When the network device is a network device, the transceiver module and the sending module may be transceivers, and the transceiver may include an antenna and a radio frequency circuit, and the processing module may be a processor, such as a baseband chip. When the network device is a component having the functions of the above network equipment, the transceiver module and the sending module may be radio frequency units, and the processing module may be a processor. When the network device is a system-on-chip, the transceiver module may be an input port of the system-on-chip, the sending module may be an output interface of the system-on-chip, and the processing module may be a processor of the system-on-chip, such as a central processing unit (CPU) .
在本申请实施例中,该网络装置所包括的存储器主要用于存储软件程序和数据,例如存储上述实施例中所描述的第一编码系数矩阵或第二编码系数矩阵等。该网络装置还具有以下功能:In this embodiment of the present application, the memory included in the network device is mainly used to store software programs and data, for example, to store the first coding coefficient matrix or the second coding coefficient matrix described in the foregoing embodiments. The network device also has the following functions:
一种网络装置,包括:A network device, comprising:
处理器,用于使用第一编码系数矩阵对k个源数据块进行编码处理,生成k个第一编码数据块,第一编码数据块与第一编码系数矩阵中的一组编码系数对应,k为正整数;a processor, configured to perform encoding processing on k source data blocks by using the first encoding coefficient matrix to generate k first encoded data blocks, where the first encoded data blocks correspond to a set of encoding coefficients in the first encoding coefficient matrix, k is a positive integer;
处理器,还用于根据k个第一编码数据块,生成一个或多个第一编码报文,第一编码报文包含一个或多个第一编码数据块,以及一个或多个第一编码数据块对应的第一编码系数矩阵中的一组编码系数;The processor is further configured to generate one or more first encoded messages according to the k first encoded data blocks, where the first encoded message includes one or more first encoded data blocks and one or more first encoded data blocks a group of coding coefficients in the first coding coefficient matrix corresponding to the data block;
其中,第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,第一有限域和第二有限域为具有嵌套结构的有限域,且,第二有限域的阶数高于第一有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the first coding coefficient matrix includes coding coefficients of the first finite field and coding coefficients of the second finite field, the first finite field and the second finite field are finite fields with a nested structure, and the order of the second finite field The number is higher than the first finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
收发器,用于发送一个或多个第一编码报文。A transceiver, configured to send one or more first encoded messages.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
源数据块为:p j,其中,j为正整数,1≤j≤k; The source data block is: p j , where j is a positive integer, 1≤j≤k;
第一有限域的编码系数和第二有限域的编码系数为α n,k,n为正整数; The coding coefficients of the first finite field and the coding coefficients of the second finite field are α n,k , where n is a positive integer;
一个或多个第一编码数据块包括:c n,其中,
Figure PCTCN2021112380-appb-000185
The one or more first encoded data blocks include: c n , wherein,
Figure PCTCN2021112380-appb-000185
在本申请的一些可选实施例中,一个或多个第二编码报文还包括有限域阶数,有限域阶数与第一编码数据块,和/或,源数据块对应,有限域阶数为第一编码数据块的编码系数所在有限域阶数,和/或,源数据块的编码系数所在有限域阶数。In some optional embodiments of the present application, the one or more second encoded packets further include a finite field order, and the finite field order corresponds to the first encoded data block, and/or, the source data block corresponds to a finite field order. The number is the order of the finite field where the coding coefficients of the first coded data block are located, and/or the order of the finite field where the coding coefficients of the source data block are located.
在本申请的一些可选实施例中,第一有限域的编码系数,携带于第一编码报文的网络层或数据链路层;In some optional embodiments of the present application, the coding coefficients of the first finite field are carried at the network layer or the data link layer of the first coded message;
第二有限域的编码系数,携带于第一编码报文的传输层;The coding coefficients of the second finite field are carried in the transport layer of the first coded message;
源数据块的编码系数,携带于第一编码报文的网络层或数据链路层。The coding coefficients of the source data block are carried in the network layer or data link layer of the first coded packet.
在一种可能的实现方式中,处理器用于执行图4对应的实施例中的步骤401和步骤402。In a possible implementation manner, the processor is configured to execute step 401 and step 402 in the embodiment corresponding to FIG. 4 .
在一种可能的实现方式中,收发器用于执行图4对应的实施例中的步骤403。In a possible implementation manner, the transceiver is configured to perform step 403 in the embodiment corresponding to FIG. 4 .
一种网络装置,包括:A network device, comprising:
处理器,用于使用第二编码系数矩阵对k个源数据块进行编码处理,生成k个第二编码数据块,第二编码数据块与第二编码系数矩阵中的一组编码系数对应,k为正整数;a processor, configured to use the second encoding coefficient matrix to perform encoding processing on the k source data blocks to generate k second encoded data blocks, where the second encoded data blocks correspond to a set of encoding coefficients in the second encoding coefficient matrix, k is a positive integer;
处理器,还用于使用第三编码系数矩阵对k个第二编码数据块和k个源数据块进行编码处理,生成g个第三编码数据块,第三编码数据块与第三编码系数矩阵中的一组编码系数对应,g为正整数;The processor is further configured to perform encoding processing on the k second encoded data blocks and the k source data blocks by using the third encoding coefficient matrix to generate g third encoded data blocks, the third encoded data block and the third encoded coefficient matrix Corresponding to a set of coding coefficients in , g is a positive integer;
处理器,还用于根据k个第二编码数据块以及g个第三编码数据块,生成一个或多个第二编码报文,一个第二编码报文包括:一个或多个第三编码数据块和一个或多个第三编码数据块的编码系数,第二编码报文包含一个或多个第三编码数据块,以及第三编码系数矩阵对应的编码系数;The processor is further configured to generate one or more second encoded packets according to the k second encoded data blocks and the g third encoded data blocks, where a second encoded packet includes: one or more third encoded data blocks encoding coefficients of the block and one or more third encoded data blocks, the second encoded message includes one or more third encoded data blocks, and encoding coefficients corresponding to the third encoding coefficient matrix;
其中,第二编码系数矩阵包括第三有限域的编码系数,第三编码系数矩阵包括第四有限域的编码系数,第三有限域和第四有限域为具有嵌套结构的有限域,且,第四有限域的阶数高于第三有限域,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the second coding coefficient matrix includes the coding coefficients of the third finite field, the third coding coefficient matrix includes the coding coefficients of the fourth finite field, the third finite field and the fourth finite field are finite fields with a nested structure, and, The order of the fourth finite field is higher than that of the third finite field, and the finite field with nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent;
收发器,用于发送一个或多个第二编码报文。A transceiver for sending one or more second encoded messages.
在本申请的一些可选实施例中,第二编码报文还包括:In some optional embodiments of the present application, the second encoded message further includes:
一个或多个第二编码数据块,以及一个或多个第二编码数据块对应的第二编码系数矩阵中的一组编码系数,one or more second coded data blocks, and a set of coding coefficients in the second coding coefficient matrix corresponding to the one or more second coded data blocks,
和/或,一个或多个源数据块,源数据块与单位矩阵中的一组编码系数对应,单位矩阵的尺寸由第二编码数据块的数量和源数据块的数量确定。And/or, one or more source data blocks, the source data blocks correspond to a set of coding coefficients in an identity matrix, and the size of the identity matrix is determined by the number of second coded data blocks and the number of source data blocks.
在本申请的一些可选实施例中,源数据块为:p j,其中,j为正整数,1≤j≤k; In some optional embodiments of the present application, the source data block is: p j , where j is a positive integer, and 1≤j≤k;
第三有限域的编码系数为α′ n,k,n为正整数; The coding coefficient of the third finite field is α′ n,k , where n is a positive integer;
一个或多个第二编码数据块包括:c′ n,其中,
Figure PCTCN2021112380-appb-000186
The one or more second encoded data blocks include: c' n , wherein,
Figure PCTCN2021112380-appb-000186
第四有限域的编码系数为β m,k+nThe coding coefficient of the fourth finite field is β m,k+n ;
一个或多个第三编码数据块包括:b m,其中,
Figure PCTCN2021112380-appb-000187
m为正整数。
The one or more third encoded data blocks include: b m , wherein,
Figure PCTCN2021112380-appb-000187
m is a positive integer.
在本申请的一些可选实施例中,第三有限域的编码系数,携带于第二编码报文的传输层;In some optional embodiments of the present application, the coding coefficients of the third finite field are carried in the transport layer of the second coded message;
第四有限域的编码系数,携带于第二编码报文的网络层或数据链路层。The coding coefficients of the fourth finite field are carried in the network layer or the data link layer of the second coded message.
在本申请的一些可选实施例中,一个或多个第二编码报文还包括有限域阶数,有限域阶数包括第二编码数据块的编码系数所在有限域阶数、第三编码数据块的编码系数所在有 限域阶数,和/或,源数据块的编码系数所在有限域阶数。In some optional embodiments of the present application, the one or more second encoded packets further include a finite field order, and the finite field order includes the finite field order where the encoding coefficients of the second encoded data block are located, and the third encoded data The order of the finite field where the coding coefficients of the block are located, and/or the order of the finite field where the coding coefficients of the source data block are located.
在本申请的一些可选实施例中,第二编码系数矩阵,还包括:第五有限域的编码系数,第五有限域与第三有限域具有嵌套结构,其中,第五有限域与第三有限域,满足以下关系:阶数存在倍数关系,且,特征数一致。In some optional embodiments of the present application, the second coding coefficient matrix further includes: coding coefficients of a fifth finite field, where the fifth finite field and the third finite field have a nested structure, wherein the fifth finite field and the third finite field have a nested structure. The three finite fields satisfy the following relations: the order has a multiple relationship, and the characteristic numbers are consistent.
在一种可能的实现方式中,处理器用于执行图7对应的实施例中的步骤701、步骤702和步骤703。In a possible implementation manner, the processor is configured to execute step 701 , step 702 and step 703 in the embodiment corresponding to FIG. 7 .
在一种可能的实现方式中,收发器用于执行图7对应的实施例中的步骤704。In a possible implementation manner, the transceiver is configured to perform step 704 in the embodiment corresponding to FIG. 7 .
一种网络装置,包括:A network device, comprising:
收发器,用于接收一个或多个第三编码报文,第三编码报文包含g’个第四编码数据块,以及g’个第四编码数据块对应的编码系数,g’为正整数;A transceiver, configured to receive one or more third encoded packets, where the third encoded packets include g' fourth encoded data blocks and encoding coefficients corresponding to the g' fourth encoded data blocks, where g' is a positive integer ;
处理器,用于使用第四编码系数矩阵对g’个第四编码数据块进行编码处理,生成一个或多个第五编码数据块,第五编码数据块与第四编码系数矩阵中的一组编码系数对应;a processor, configured to perform encoding processing on g' fourth encoded data blocks by using the fourth encoding coefficient matrix to generate one or more fifth encoded data blocks, the fifth encoded data block and a group of the fourth encoded coefficient matrix Corresponding coding coefficients;
处理器,还用于根据一个或多个第五编码数据块,生成一个或多个重编码报文,重编码报文包含一个或多个第五编码数据块,以及一个或多个第五编码数据块对应的第四编码系数矩阵中的一组编码系数;The processor is further configured to generate one or more re-encoded messages according to the one or more fifth encoded data blocks, where the re-encoded message includes one or more fifth encoded data blocks and one or more fifth encoded data blocks a group of coding coefficients in the fourth coding coefficient matrix corresponding to the data block;
其中,第四编码系数矩阵中编码系数的有限域与第三编码报文包含的编码系数的有限域具有嵌套结构,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the finite field of the coding coefficients in the fourth coding coefficient matrix and the finite field of coding coefficients included in the third coding message have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and, The number of features is consistent;
收发器,用于发送一个或多个重编码报文。Transceiver for sending one or more recoded messages.
在本申请的一些可选实施例中,第四编码系数矩阵中编码系数(第四编码系数)的有限域阶数等于中间节点所在的网络中有限域的最低阶数;In some optional embodiments of the present application, the finite field order of the coding coefficients (fourth coding coefficients) in the fourth coding coefficient matrix is equal to the lowest order of the finite field in the network where the intermediate node is located;
或者,第四编码系数矩阵中编码系数的有限域阶数小于或等于中间节点所在的网络中有限域的最高阶数;Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is less than or equal to the highest order of the finite field in the network where the intermediate node is located;
或者,第四编码系数矩阵中编码系数的有限域阶数大于或等于中间节点所在的网络中有限域的最低阶数。Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is greater than or equal to the lowest order of the finite field in the network where the intermediate node is located.
在本申请的一些可选实施例中,第四编码数据块为Xi,1≤i≤u,i为正整数,u为正整数;In some optional embodiments of the present application, the fourth encoded data block is Xi, 1≤i≤u, i is a positive integer, and u is a positive integer;
第四编码系数为γ u,v,其中,v大于1的正整数; The fourth coding coefficient is γ u,v , where v is a positive integer greater than 1;
第五编码数据块为Y v,其中,
Figure PCTCN2021112380-appb-000188
其中,1≤j≤v。
The fifth encoded data block is Y v , where,
Figure PCTCN2021112380-appb-000188
Among them, 1≤j≤v.
在一种可能的实现方式中,处理器用于执行图12对应的实施例中的步骤1202和步骤1203。In a possible implementation manner, the processor is configured to execute step 1202 and step 1203 in the embodiment corresponding to FIG. 12 .
在一种可能的实现方式中,收发器用于执行图12对应的实施例中的步骤1201和步骤1204。In a possible implementation manner, the transceiver is configured to perform step 1201 and step 1204 in the embodiment corresponding to FIG. 12 .
一种网络装置,包括:A network device, comprising:
收发器,用于接收一个或多个第四编码报文,第四编码报文包含t’个第六编码数据块,以及t’个第六编码数据块对应的编码系数,t’为正整数;a transceiver, configured to receive one or more fourth encoded packets, where the fourth encoded packet includes t' sixth encoded data blocks and encoding coefficients corresponding to the t' sixth encoded data blocks, where t' is a positive integer ;
处理器,用于采用第一译码方式对一个或多个第四编码报文在低次有限域和高次有限 域内进行译码操作,生成k个源数据块,k为正整数;The processor is used for adopting the first decoding mode to carry out a decoding operation to one or more fourth encoded messages in a low-order finite field and a high-order finite field, and generates k source data blocks, and k is a positive integer;
低次有限域为接收端所在的网络中阶数最低的有限域,高次有限域为第六编码数据块对应的编码系数的任一高阶有限域,高次有限域的阶数高于低次有限域的阶数,低次有限域与高次有限域具有嵌套结构,其中,具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;The low-order finite field is the finite field with the lowest order in the network where the receiver is located, and the high-order finite field is any higher-order finite field of the coding coefficients corresponding to the sixth encoded data block, and the order of the high-order finite field is higher than the low-order finite field. The order of the second-order finite field, the lower-order finite field and the higher-order finite field have a nested structure, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
处理器,还用于采用第二译码方式在第六编码数据块对应的编码系数的最高阶有限域内,对一个或多个第四编码报文进行译码操作,生成k’个源数据块,最高阶有限域为第六编码数据块对应的编码系数的最高阶有限域。The processor is further configured to perform a decoding operation on one or more fourth encoded packets in the highest-order finite field of the encoding coefficients corresponding to the sixth encoded data block by using the second decoding method to generate k' source data blocks , the highest-order finite field is the highest-order finite field of the coding coefficients corresponding to the sixth coded data block.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理器,具体用于对一个或多个第四编码报文在低次有限域内进行第一译码运算;a processor, specifically configured to perform a first decoding operation on one or more fourth encoded messages in a low-order finite field;
处理器,具体用于对第一译码运算得到的结果,在高次有限域中进行第二译码运算,生成k个源数据块。The processor is specifically configured to perform a second decoding operation on the result obtained by the first decoding operation in a high-order finite field to generate k source data blocks.
在本申请的一些可选实施例中,处理器,具体用于根据一个或多个第四编码报文中第六编码数据块对应的编码系数,确定低次有限域的编码系数和高次有限域的编码系数;In some optional embodiments of the present application, the processor is specifically configured to determine, according to the coding coefficients corresponding to the sixth coded data block in one or more fourth coded packets, the coding coefficients of the lower-order finite field and the coding coefficients of the higher-order finite field the coding coefficients of the domain;
处理器,具体用于由低次有限域的编码系数,组成低次域编码系数矩阵;a processor, which is specifically used to form a low-order domain coding coefficient matrix from coding coefficients of a low-order finite field;
处理器,具体用于根据低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,其中,第一译码矩阵的编码系数中对应高次有限域的编码系数组成第一高次域编码系数组,第一高次域编码系数组的有限域为第六编码数据块对应的编码系数的所有高次有限域中阶数最低的有限域;The processor is specifically configured to form a first decoding matrix and a second decoding matrix according to the low-order domain encoding coefficient matrix, wherein the encoding coefficients corresponding to the high-order finite field in the encoding coefficients of the first decoding matrix form the first high-order finite field. A sub-domain coding coefficient group, the finite field of the first higher-order domain coding coefficient group is the finite field with the lowest order among all the higher-order finite fields of the coding coefficients corresponding to the sixth coded data block;
第二译码矩阵的编码系数中对应高次有限域的编码系数组成第二高次域编码系数组,第二高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组外的其它编码系数的有限域,第二高次域编码系数组的有限域阶数小于或等于接收端支持的最高阶有限域阶数;Among the coding coefficients of the second decoding matrix, the coding coefficients corresponding to the high-order finite field form the second high-order field coding coefficient group, and the finite field of the second high-order field coding coefficient group is divided by the coding coefficients corresponding to the sixth coded data block. The finite fields of other coding coefficients other than the first high-order finite field coding coefficient group, and the finite field order of the second high-order field coding coefficient group is less than or equal to the highest-order finite field order supported by the receiving end;
处理器,具体用于对第二译码矩阵进行译码操作,生成第一译码子矩阵和第二译码子矩阵,其中,第一译码子矩阵为零矩阵,第二译码矩阵为单位矩阵;The processor is specifically configured to perform a decoding operation on the second decoding matrix to generate a first decoding sub-matrix and a second decoding sub-matrix, wherein the first decoding sub-matrix is a zero matrix, and the second decoding matrix is identity matrix;
处理器,具体用于当第二译码矩阵进行译码操作时,对第一译码矩阵同步译码操作,生成第三译码子矩阵和第四译码子矩阵,其中,第三译码子矩阵的行数与第一译码子矩阵的行数一致,第四译码子矩阵的行数与第二译码子矩阵的行数一致,或,第三译码子矩阵的列数与第一译码子矩阵的列数一致,第四译码子矩阵的列数与第二译码子矩阵的列数一致;The processor is specifically configured to perform a synchronous decoding operation on the first decoding matrix when the second decoding matrix performs a decoding operation, and generate a third decoding sub-matrix and a fourth decoding sub-matrix, wherein the third decoding sub-matrix is The number of rows of the sub-matrix is the same as the number of rows of the first decoding sub-matrix, the number of rows of the fourth decoding sub-matrix is the same as the number of rows of the second decoding sub-matrix, or the columns of the third decoding sub-matrix The number is consistent with the column number of the first decoding sub-matrix, and the column number of the fourth decoding sub-matrix is consistent with the column number of the second decoding sub-matrix;
处理器,具体用于当第一译码矩阵进行译码操作时,对第六编码数据块,进行同步译码操作,生成待译码数据。The processor is specifically configured to perform a synchronous decoding operation on the sixth encoded data block to generate data to be decoded when the first decoding matrix performs a decoding operation.
在本申请的一些可选实施例中,第一译码运算得到的结果包括第三译码子矩阵、第四译码子矩阵,和待译码数据,In some optional embodiments of the present application, the result obtained by the first decoding operation includes the third decoding sub-matrix, the fourth decoding sub-matrix, and the data to be decoded,
处理器,具体用于根据第四译码子矩阵,确定第四译码子矩阵对应的第五译码子矩阵,第五译码子矩阵由高次有限域的编码系数组成;The processor is specifically configured to determine a fifth decoding sub-matrix corresponding to the fourth decoding sub-matrix according to the fourth decoding sub-matrix, and the fifth decoding sub-matrix is composed of coding coefficients of a high-order finite field;
处理器,具体用于根据第四译码子矩阵和第五译码子矩阵,生成第六译码子矩阵,其 中,第六译码子矩阵中的向量由第五译码子矩阵的一组编码系数与第四译码子矩阵的一组编码系数在第五译码子矩阵对应的有限域中做加法得到;The processor is specifically configured to generate a sixth decoding sub-matrix according to the fourth decoding sub-matrix and the fifth decoding sub-matrix, wherein the vectors in the sixth decoding sub-matrix are determined by a group of the fifth decoding sub-matrix The coding coefficients and a group of coding coefficients of the fourth decoding sub-matrix are obtained by addition in the finite field corresponding to the fifth decoding sub-matrix;
处理器,具体用于根据第三译码子矩阵和第六译码子矩阵,组成第四译码矩阵;a processor, specifically configured to form a fourth decoding matrix according to the third decoding sub-matrix and the sixth decoding sub-matrix;
处理器,具体用于对第四译码矩阵进行译码操作,生成单位矩阵;a processor, specifically configured to perform a decoding operation on the fourth decoding matrix to generate a unit matrix;
处理器,具体用于对第四译码矩阵进行译码操作时,对待译码数据进行同步译码操作,生成k个源数据块。The processor is specifically configured to perform a synchronous decoding operation on the data to be decoded when performing a decoding operation on the fourth decoding matrix to generate k source data blocks.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理器,具体用于根据低次域编码系数矩阵,组成第一译码矩阵、第二译码矩阵和第三译码矩阵,其中,第三译码矩阵中对应高次有限域的编码系数组成第三高次域编码系数组,第三高次域编码系数组的有限域为第六编码数据块对应的编码系数中除第一高次有限域编码系数组和第二高次有限域编码系数组外的其它编码系数的有限域,对应第三高次域编码系数组的有限域阶数高于接收端支持的最高阶有限域阶数;The processor is specifically configured to form a first decoding matrix, a second decoding matrix and a third decoding matrix according to the low-order domain encoding coefficient matrix, wherein the encoding coefficients corresponding to the high-order finite field in the third decoding matrix are composed of The third high-order domain coding coefficient group, the finite field of the third high-order domain coding coefficient group is the coding coefficients corresponding to the sixth coded data block divided by the first high-order finite field coding coefficient group and the second high-order finite field coding coefficients For the finite fields of other coding coefficients outside the group, the finite field order corresponding to the third high-order field coding coefficient group is higher than the highest-order finite field order supported by the receiver;
处理器,具体用于对第三译码矩阵进行译码操作,生成零矩阵。The processor is specifically configured to perform a decoding operation on the third decoding matrix to generate a zero matrix.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
对于k个源数据块,其中,k为正整数,当满足以下条件时,For k source data blocks, where k is a positive integer, when the following conditions are met,
处理器,还用于对w个第四编码报文进行译码,包括:The processor is further configured to decode the w fourth encoded packets, including:
Figure PCTCN2021112380-appb-000189
Figure PCTCN2021112380-appb-000189
其中,
Figure PCTCN2021112380-appb-000190
Figure PCTCN2021112380-appb-000191
矩阵,
Figure PCTCN2021112380-appb-000192
满足
Figure PCTCN2021112380-appb-000193
第三译码矩阵为
Figure PCTCN2021112380-appb-000194
高次域编码系数矩阵为G,高次域编码系数矩阵由高次有限域的编码系数组成,低次域编码系数矩阵H,w为正整数。
in,
Figure PCTCN2021112380-appb-000190
for
Figure PCTCN2021112380-appb-000191
matrix,
Figure PCTCN2021112380-appb-000192
satisfy
Figure PCTCN2021112380-appb-000193
The third decoding matrix is
Figure PCTCN2021112380-appb-000194
The high-order domain coding coefficient matrix is G, the high-order domain coding coefficient matrix is composed of coding coefficients of the high-order finite domain, and the low-order domain coding coefficient matrix H, w is a positive integer.
在本申请的一些可选实施例中,In some optional embodiments of the present application,
处理器,具体用于在第六编码数据块的编码系数对应的最高阶有限域内,对第六编码数据块进行译码,使得第六编码数据块的编码系数组成的矩阵经过译码后得到单位矩阵;The processor is specifically configured to decode the sixth encoded data block in the highest-order finite field corresponding to the encoding coefficients of the sixth encoded data block, so that the matrix composed of the encoding coefficients of the sixth encoded data block is decoded to obtain a unit matrix;
处理器,具体用于当第六编码数据块的编码系数组成的矩阵进行译码操作时,对第六编码数据块进行同步译码操作,生成k’个源数据块。The processor is specifically configured to perform a synchronous decoding operation on the sixth encoded data block to generate k' source data blocks when the matrix composed of the encoding coefficients of the sixth encoded data block is subjected to a decoding operation.
在一种可能的实现方式中,处理器用于执行图14对应的实施例中的步骤1402和步骤1403,和/或,图20a对应的实施例中的步骤2002。In a possible implementation manner, the processor is configured to execute step 1402 and step 1403 in the embodiment corresponding to FIG. 14 , and/or step 2002 in the embodiment corresponding to FIG. 20a .
在一种可能的实现方式中,收发器用于执行图14对应的实施例中的步骤1401,和/或,图20a对应的实施例中的步骤2001。In a possible implementation manner, the transceiver is configured to perform step 1401 in the embodiment corresponding to FIG. 14 and/or step 2001 in the embodiment corresponding to FIG. 20a.
需要说明的是,网络装置各模块/或元器件之间的信息交互、执行过程等内容,与本申请中图4-图20a对应的方法实施例基于同一构思,具体内容可参见本申请前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information exchange, execution process and other contents among the modules/or components of the network device are based on the same concept as the method embodiments corresponding to FIGS. 4 to 20a in this application. The descriptions in the method embodiments shown are not repeated here.
需要说明的是,对于网络装置的具体实现方式以及带来的有益效果,均可以参考图4-图20a对应的各个方法实施例中的叙述,此处不再一一赘述。It should be noted that, for the specific implementation manner of the network device and the beneficial effects brought about, reference may be made to the descriptions in the respective method embodiments corresponding to FIG. 4-FIG. 20a, and details are not repeated here.
本申请实施例还提供了一种处理装置,请参阅图26,图26为本申请实施例提出的一 种处理装置示意图。处理装置包括处理器2601和接口2602;该处理器2601,用于执行上述任一方法实施例的有限域的编码或译码方法。An embodiment of the present application also provides a processing device, please refer to FIG. 26, which is a schematic diagram of a processing device proposed by an embodiment of the present application. The processing device includes a processor 2601 and an interface 2602; the processor 2601 is configured to execute the finite field encoding or decoding method in any of the above method embodiments.
应理解,上述处理装置可以是一个芯片,该处理器2601可以通过硬件实现也可以通过软件来实现,当通过硬件实现时,该处理器2601可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器2601可以是一个通用处理器,通过读取存储器中存储的软件代码来实现,该存储器可以集成在处理器2601中,可以位于该处理器2601之外,独立存在。It should be understood that the above-mentioned processing device may be a chip, and the processor 2601 may be implemented by hardware or software. When implemented by hardware, the processor 2601 may be a logic circuit, an integrated circuit, etc.; when implemented by software At this time, the processor 2601 may be a general-purpose processor, which is implemented by reading software codes stored in a memory, and the memory may be integrated in the processor 2601 or located outside the processor 2601 and exist independently.
其中,“通过硬件实现”是指通过不具有程序指令处理功能的硬件处理电路来实现上述模块或者单元的功能,该硬件处理电路可以通过分立的硬件元器件组成,也可以是集成电路。为了减少功耗、降低尺寸,通常会采用集成电路的形式来实现。硬件处理电路可以包括ASIC(application-specific integrated circuit,专用集成电路),或者PLD(programmable logic device,可编程逻辑器件);其中,PLD又可包括FPGA(field programmable gate array,现场可编程门阵列)、CPLD(complex programmable logic device,复杂可编程逻辑器件)等等。这些硬件处理电路可以是单独封装的一块半导体芯片(如封装成一个ASIC);也可以跟其他电路(如CPU、DSP)集成在一起后封装成一个半导体芯片,例如,可以在一个硅基上形成多种硬件电路以及CPU,并单独封装成一个芯片,这种芯片也称为SoC,或者也可以在硅基上形成用于实现FPGA功能的电路以及CPU,并单独封闭成一个芯片,这种芯片也称为SoPC(system on a programmable chip,可编程片上系统)。Wherein, "implemented by hardware" means that the functions of the above-mentioned modules or units are realized by a hardware processing circuit that does not have the function of processing program instructions. The hardware processing circuit can be composed of discrete hardware components or an integrated circuit. In order to reduce power consumption and reduce size, it is usually implemented in the form of integrated circuits. The hardware processing circuit may include ASIC (application-specific integrated circuit, application-specific integrated circuit), or PLD (programmable logic device, programmable logic device); wherein, PLD may include FPGA (field programmable gate array, field programmable gate array) , CPLD (complex programmable logic device, complex programmable logic device) and so on. These hardware processing circuits can be a single semiconductor chip packaged separately (such as packaged into an ASIC); they can also be integrated with other circuits (such as CPU, DSP) and packaged into a semiconductor chip, for example, can be formed on a silicon substrate A variety of hardware circuits and CPUs are individually packaged into a chip, which is also called SoC, or circuits and CPUs for implementing FPGA functions can also be formed on a silicon substrate and individually enclosed into a single chip. Also known as SoPC (system on a programmable chip, programmable system on a chip).
本申请还提供一种通信系统,其包括发送端、接收端和中间节点中的至少一种或多种。The present application also provides a communication system, which includes at least one or more of a sender, a receiver, and an intermediate node.
本申请实施例还提供的一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机控制网络装置执行如前述方法实施例所示任一项实现方式。An embodiment of the present application further provides a computer-readable storage medium, including instructions, which, when executed on a computer, cause the computer to control a network device to execute any one of the implementations shown in the foregoing method embodiments.
本申请实施例还提供的一种计算机程序产品,计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行如前述方法实施例所示任一项实现方式。An embodiment of the present application also provides a computer program product, the computer program product includes computer program code, and when the computer program code runs on a computer, the computer can execute any one of the implementations shown in the foregoing method embodiments.
本申请实施例还提供一种芯片系统,包括存储器和处理器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得芯片执行如前述方法实施例所示任一项实现方式。An embodiment of the present application further provides a chip system, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the chip executes any one of the implementations shown in the foregoing method embodiments. Way.
本申请实施例还提供一种芯片系统,包括处理器,处理器用于调用并运行计算机程序,使得芯片执行如前述方法实施例所示任一项实现方式。Embodiments of the present application further provide a chip system, including a processor, where the processor is configured to call and run a computer program, so that the chip executes any one of the implementations shown in the foregoing method embodiments.
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。In addition, it should be noted that the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units , that is, it can be located in one place, or it can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容 易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、ROM、RAM、磁碟或者光盘等,包括若干指令用以使得一台计算机设备执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware. Special components, etc. to achieve. Under normal circumstances, all functions completed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structures used to implement the same function can also be various, such as analog circuits, digital circuits or special circuit, etc. However, a software program implementation is a better implementation in many cases for this application. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that make contributions to the prior art. The computer software products are stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including several instructions to make a computer device execute the methods described in the various embodiments of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、网络装置、计算设备或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、网络装置、计算设备或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的网络装置、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website, computer, network device, computing equipment or data center to another website site, computer, network appliance, computing device, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) transmission. The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a network device, a data center, or the like that includes one or more available media integrated. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的一个或多个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in one or more embodiments of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨 论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the various embodiments of the present application.
总之,以上所述仅为本申请技术方案的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In a word, the above descriptions are only preferred embodiments of the technical solutions of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.

Claims (36)

  1. 一种有限域的编码方法,其特征在于,所述方法包括:A finite field encoding method, characterized in that the method comprises:
    使用第一编码系数矩阵对k个源数据块进行编码处理,生成一个或多个第一编码数据块,所述第一编码数据块与所述第一编码系数矩阵中的一组编码系数对应,k为正整数;encoding the k source data blocks using the first encoding coefficient matrix to generate one or more first encoding data blocks, the first encoding data blocks corresponding to a set of encoding coefficients in the first encoding coefficient matrix, k is a positive integer;
    根据所述一个或多个第一编码数据块,生成一个或多个第一编码报文,所述第一编码报文包含一个或多个所述第一编码数据块,以及一个或多个所述第一编码数据块对应的所述第一编码系数矩阵中的一组编码系数;One or more first encoded messages are generated according to the one or more first encoded data blocks, where the first encoded message includes one or more of the first encoded data blocks, and one or more of the first encoded data blocks. a group of coding coefficients in the first coding coefficient matrix corresponding to the first coded data block;
    其中,所述第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,所述第一有限域和所述第二有限域为具有嵌套结构的有限域,所述第二有限域的阶数高于所述第一有限域,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;The first coding coefficient matrix includes coding coefficients of a first finite field and coding coefficients of a second finite field, and the first finite field and the second finite field are finite fields with a nested structure, and the The order of the second finite field is higher than that of the first finite field, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent;
    发送所述一个或多个第一编码报文。The one or more first encoded messages are sent.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述源数据块为:p j,其中,j为正整数,1≤j≤k; The source data block is: p j , where j is a positive integer, 1≤j≤k;
    所述第一有限域的编码系数和所述第二有限域的编码系数为α n,k,n为正整数; The coding coefficients of the first finite field and the coding coefficients of the second finite field are α n,k , where n is a positive integer;
    一个或多个所述第一编码数据块包括:c n,其中,
    Figure PCTCN2021112380-appb-100001
    One or more of the first encoded data blocks include: c n , wherein,
    Figure PCTCN2021112380-appb-100001
  3. 根据权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that,
    所述第一有限域的编码系数,携带于所述第一编码报文的网络层或数据链路层;The coding coefficients of the first finite field are carried in the network layer or the data link layer of the first coded message;
    所述第二有限域的编码系数,携带于所述第一编码报文的传输层。The coding coefficients of the second finite field are carried in the transport layer of the first coded message.
  4. 一种有限域的编码方法,其特征在于,所述方法包括:A finite field encoding method, characterized in that the method comprises:
    使用第二编码系数矩阵对k个源数据块进行编码处理,生成一个或多个第二编码数据块,所述第二编码数据块与所述第二编码系数矩阵中的一组编码系数对应,k为正整数;encoding the k source data blocks using the second encoding coefficient matrix to generate one or more second encoding data blocks, the second encoding data blocks corresponding to a set of encoding coefficients in the second encoding coefficient matrix, k is a positive integer;
    使用第三编码系数矩阵对所述一个或多个第二编码数据块和所述k个源数据块进行编码处理,生成g个第三编码数据块,所述第三编码数据块与所述第三编码系数矩阵中的一组编码系数对应,g为正整数;The one or more second encoded data blocks and the k source data blocks are encoded using the third encoding coefficient matrix to generate g third encoded data blocks, the third encoded data blocks and the Corresponding to a group of coding coefficients in the matrix of three coding coefficients, g is a positive integer;
    根据所述一个或多个第二编码数据块以及所述g个第三编码数据块,生成一个或多个第二编码报文,一个所述第二编码报文包括:至少一个或多个所述第三编码数据块和一个或多个所述第三编码数据块的编码系数;One or more second encoded packets are generated according to the one or more second encoded data blocks and the g third encoded data blocks, and one of the second encoded packets includes: at least one or more of the said third encoded data block and one or more encoding coefficients of said third encoded data block;
    其中,所述第二编码系数矩阵包括第三有限域的编码系数,所述第三编码系数矩阵包括第四有限域的编码系数,所述第三有限域和所述第四有限域为具有嵌套结构的有限域,所述第四有限域的阶数高于所述第三有限域,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the second encoding coefficient matrix includes encoding coefficients of a third finite field, the third encoding coefficient matrix includes encoding coefficients of a fourth finite field, and the third finite field and the fourth finite field have embedded The finite field of the nested structure, the order of the fourth finite field is higher than the third finite field, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is consistent;
    发送一个或多个所述第二编码报文。Sending one or more of the second encoded messages.
  5. 根据权利要求4所述的方法,其特征在于,所述第二编码报文还包括:The method according to claim 4, wherein the second encoded message further comprises:
    至少一个所述第二编码数据块,和,至少一个所述第二编码数据块的编码系数,at least one said second encoded data block, and, at least one encoded coefficient of said second encoded data block,
    和/或,至少一个所述源数据块,和,至少一个所述源数据块的编码系数,至少一个所述源数据块的编码系数为单位矩阵中对应元素,所述单位矩阵的尺寸由所述第二编码数据块的数量和所述源数据块的数量确定,所述源数据块的编码系数属于所述第四有限域。And/or, at least one of the source data blocks, and, the coding coefficients of at least one of the source data blocks, the coding coefficients of at least one of the source data blocks are corresponding elements in the unit matrix, and the size of the unit matrix is determined by The number of the second encoded data blocks and the number of the source data blocks are determined, and the encoding coefficients of the source data blocks belong to the fourth finite field.
  6. 根据权利要求4或5所述的方法,其特征在于,The method according to claim 4 or 5, wherein,
    所述第三有限域的编码系数,携带于所述第二编码报文的传输层;The coding coefficients of the third finite field are carried in the transport layer of the second coded message;
    所述第四有限域的编码系数,携带于所述第二编码报文的网络层或数据链路层。The coding coefficients of the fourth finite field are carried in the network layer or the data link layer of the second coded message.
  7. 根据权利要求4-6中任一项所述的方法,其特征在于,所述第二编码系数矩阵还包括第五有限域的编码系数,所述第五有限域与所述第三有限域具有嵌套结构,所述第五有限域的阶数与所述第三有限域的阶数不同。The method according to any one of claims 4-6, wherein the second coding coefficient matrix further comprises coding coefficients of a fifth finite field, and the fifth finite field and the third finite field have In a nested structure, the order of the fifth finite field is different from the order of the third finite field.
  8. 一种有限域的重编码方法,其特征在于,所述方法包括:A method for recoding a finite field, wherein the method comprises:
    接收一个或多个第三编码报文,所述第三编码报文包含g’个第四编码数据块,以及所述g’个所述第四编码数据块对应的编码系数,g’为正整数;Receive one or more third encoded packets, where the third encoded packets include g' fourth encoded data blocks and encoding coefficients corresponding to the g' fourth encoded data blocks, where g' is positive integer;
    使用第四编码系数矩阵对所述g’个第四编码数据块进行编码处理,生成一个或多个第五编码数据块,所述第五编码数据块与所述第四编码系数矩阵中的一组编码系数对应;Using the fourth encoding coefficient matrix to perform encoding processing on the g' fourth encoded data blocks to generate one or more fifth encoded data blocks, the fifth encoded data block and one of the fourth encoded coefficient matrices Group coding coefficient correspondence;
    根据所述一个或多个第五编码数据块,生成一个或多个重编码报文,所述重编码报文包含一个或多个所述第五编码数据块,以及一个或多个所述第五编码数据块对应的所述第四编码系数矩阵中的一组编码系数;One or more re-encoded messages are generated according to the one or more fifth encoded data blocks, where the re-encoded message includes one or more of the fifth encoded data blocks, and one or more of the first encoded data blocks. A group of encoding coefficients in the fourth encoding coefficient matrix corresponding to five encoded data blocks;
    其中,所述第四编码系数矩阵中编码系数的有限域与所述第三编码报文包含的所述编码系数的有限域具有嵌套结构,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the finite field of the coding coefficients in the fourth coding coefficient matrix and the finite field of the coding coefficients included in the third coding message have a nested structure, and the finite field with the nested structure satisfies the following relationship: The order has a multiple relationship, and the number of features is consistent;
    发送一个或多个所述重编码报文。Send one or more of the recoded messages.
  9. 根据权利要求8所述的方法,其特征在于,The method of claim 8, wherein:
    所述第四编码系数矩阵中编码系数的有限域阶数等于所述中间节点所在的网络中有限域的最低阶数;The finite field order of the coding coefficients in the fourth coding coefficient matrix is equal to the lowest order of the finite field in the network where the intermediate node is located;
    或者,所述第四编码系数矩阵中编码系数的有限域阶数小于或等于所述中间节点所在的网络中有限域的最高阶数;Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is less than or equal to the highest order of the finite field in the network where the intermediate node is located;
    或者,所述第四编码系数矩阵中编码系数的有限域阶数大于或等于所述中间节点所在的网络中有限域的最低阶数。Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is greater than or equal to the lowest order of the finite field in the network where the intermediate node is located.
  10. 根据权利要求8-9中任一项所述的方法,其特征在于,The method according to any one of claims 8-9, wherein,
    所述第四编码数据块为Xi,1≤i≤u,i为正整数,u为正整数;The fourth encoded data block is Xi, 1≤i≤u, i is a positive integer, and u is a positive integer;
    所述第四编码系数为γ u,v,其中,v大于1的正整数; The fourth coding coefficient is γ u,v , where v is a positive integer greater than 1;
    述第五编码数据块为Y v,其中,
    Figure PCTCN2021112380-appb-100002
    其中,1≤j≤v。
    The fifth encoded data block is Y v , wherein,
    Figure PCTCN2021112380-appb-100002
    Among them, 1≤j≤v.
  11. 一种有限域的译码方法,其特征在于,所述方法包括:A decoding method for a finite field, characterized in that the method comprises:
    接收一个或多个第四编码报文,所述第四编码报文包含t’个第六编码数据块,以及所述t’个第六编码数据块对应的编码系数,t’为正整数;Receive one or more fourth encoded messages, where the fourth encoded message includes t' sixth encoded data blocks, and encoding coefficients corresponding to the t' sixth encoded data blocks, where t' is a positive integer;
    采用第一译码方式对所述一个或多个第四编码报文在低次有限域和高次有限域内进行译码操作,生成k个源数据块,k为正整数;The one or more fourth encoded messages are decoded in a low-order finite field and a high-order finite field by adopting the first decoding method to generate k source data blocks, where k is a positive integer;
    所述低次有限域为接收端所在的网络中阶数最低的有限域,所述高次有限域为所述第六编码数据块对应的编码系数的任一高阶有限域,所述高次有限域的阶数高于所述低次有限域的阶数,所述低次有限域与所述高次有限域具有嵌套结构,其中,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;The low-order finite field is the finite field with the lowest order in the network where the receiving end is located, the high-order finite field is any high-order finite field of the coding coefficients corresponding to the sixth encoded data block, and the high-order finite field is The order of the finite field is higher than the order of the lower-order finite field, and the lower-order finite field and the higher-order finite field have a nested structure, wherein the finite field with the nested structure satisfies the following relationship: The order has a multiple relationship, and the number of features is consistent;
    或者,采用第二译码方式在所述第六编码数据块对应的编码系数的最高阶有限域内,对所述一个或多个第四编码报文进行译码操作,生成k’个源数据块,所述最高阶有限域为所述第六编码数据块对应的编码系数的最高阶有限域,k’为正整数。Alternatively, a second decoding method is used to perform a decoding operation on the one or more fourth encoded packets in the highest-order finite field of the encoding coefficients corresponding to the sixth encoded data block to generate k' source data blocks , the highest-order finite field is the highest-order finite field of the coding coefficients corresponding to the sixth coded data block, and k' is a positive integer.
  12. 根据权利要求11所述的方法,其特征在于,采用所述第一译码方式对所述一个或多个第四编码报文在所述低次有限域和所述高次有限域内进行译码操作,生成所述k个源数据块,包括:The method according to claim 11, wherein the first decoding mode is used to decode the one or more fourth encoded packets in the lower-order finite field and the higher-order finite field operation to generate the k source data blocks, including:
    对所述一个或多个第四编码报文在所述低次有限域内进行第一译码运算;performing a first decoding operation on the one or more fourth encoded messages in the low-order finite field;
    对所述第一译码运算得到的结果,在所述高次有限域中进行第二译码运算,生成所述k个源数据块。For the result obtained by the first decoding operation, a second decoding operation is performed in the high-order finite field to generate the k source data blocks.
  13. 根据权利要求12所述的方法,其特征在于,对所述一个或多个第四编码报文在所述低次有限域内进行所述第一译码运算,包括:The method according to claim 12, wherein performing the first decoding operation on the one or more fourth encoded packets in the low-order finite field comprises:
    根据所述一个或多个第四编码报文中所述第六编码数据块对应的编码系数,确定所述低次有限域的编码系数和所述高次有限域的编码系数;According to the coding coefficients corresponding to the sixth coded data block in the one or more fourth coded messages, determine the coding coefficients of the lower-order finite field and the coding coefficients of the higher-order finite field;
    由所述低次有限域的编码系数,组成低次域编码系数矩阵;A low-order domain coding coefficient matrix is formed from the coding coefficients of the low-order finite field;
    根据所述低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,其中,According to the low-order domain coding coefficient matrix, a first decoding matrix and a second decoding matrix are formed, wherein,
    所述第一译码矩阵的编码系数中对应所述高次有限域的编码系数组成第一高次域编码系数组,所述第一高次域编码系数组的有限域为所述第六编码数据块对应的编码系数的所有高次有限域中阶数最低的有限域;The coding coefficients corresponding to the high-order finite field in the coding coefficients of the first decoding matrix form a first high-order field coding coefficient group, and the finite field of the first high-order field coding coefficient group is the sixth coding The finite field with the lowest order among all the higher-order finite fields of the coding coefficients corresponding to the data block;
    所述第二译码矩阵的编码系数中对应所述高次有限域的编码系数组成第二高次域编码系数组,所述第二高次域编码系数组的有限域为所述第六编码数据块对应的编码系数中除所述第一高次有限域编码系数组外的其它编码系数的有限域,所述第二高次域编码系数组的有限域阶数小于或等于所述接收端支持的最高阶有限域阶数;The coding coefficients corresponding to the high-order finite field in the coding coefficients of the second decoding matrix form a second high-order field coding coefficient group, and the finite field of the second high-order field coding coefficient group is the sixth coding The finite field of other coding coefficients except the first high-order finite field coding coefficient group in the coding coefficients corresponding to the data block, and the finite field order of the second high-order field coding coefficient group is less than or equal to the receiving end the highest order finite field order supported;
    对所述第二译码矩阵进行译码操作,生成第一译码子矩阵和第二译码子矩阵,其中,所述第一译码子矩阵为零矩阵,所述第二译码矩阵为单位矩阵;Perform a decoding operation on the second decoding matrix to generate a first decoding sub-matrix and a second decoding sub-matrix, wherein the first decoding sub-matrix is a zero matrix, and the second decoding matrix is identity matrix;
    当所述第二译码矩阵进行译码操作时,对所述第一译码矩阵同步译码操作,生成第三译码子矩阵和第四译码子矩阵,其中,所述第三译码子矩阵的行数与所述第一译码子矩阵的行数一致,所述第四译码子矩阵的行数与所述第二译码子矩阵的行数一致,或,所述第三译码子矩阵的列数与所述第一译码子矩阵的列数一致,所述第四译码子矩阵的列数与所述第二译码子矩阵的列数一致;When a decoding operation is performed on the second decoding matrix, a decoding operation is performed on the first decoding matrix to generate a third decoding sub-matrix and a fourth decoding sub-matrix, wherein the third decoding sub-matrix is The number of rows of the sub-matrix is the same as the number of rows of the first decoding sub-matrix, the number of rows of the fourth decoding sub-matrix is the same as the number of rows of the second decoding sub-matrix, or, the The number of columns of the third decoding sub-matrix is consistent with the number of columns of the first decoding sub-matrix, and the number of columns of the fourth decoding sub-matrix is consistent with the number of columns of the second decoding sub-matrix;
    当所述第一译码矩阵进行译码操作时,对所述第六编码数据块进行同步译码操作,生成待译码数据。When a decoding operation is performed on the first decoding matrix, a synchronous decoding operation is performed on the sixth encoded data block to generate data to be decoded.
  14. 根据权利要求13所述的方法,其特征在于,对所述第一译码运算得到的结果,在所述高次有限域中进行所述第二译码运算,生成所述k个源数据块,包括:The method according to claim 13, wherein the second decoding operation is performed on the result obtained by the first decoding operation in the high-order finite field to generate the k source data blocks ,include:
    所述第一译码运算得到的结果包括所述第三译码子矩阵、所述第四译码子矩阵,和所述待译码数据,The result obtained by the first decoding operation includes the third decoding sub-matrix, the fourth decoding sub-matrix, and the data to be decoded,
    根据所述第四译码子矩阵,确定所述第四译码子矩阵对应的第五译码子矩阵,所述第五译码子矩阵由所述高次有限域的编码系数组成;determining, according to the fourth decoding sub-matrix, a fifth decoding sub-matrix corresponding to the fourth decoding sub-matrix, where the fifth decoding sub-matrix is composed of coding coefficients of the higher-order finite field;
    根据所述第四译码子矩阵和所述第五译码子矩阵,生成第六译码子矩阵,其中,所述 第六译码子矩阵中的向量由所述第五译码子矩阵的一组编码系数与所述第四译码子矩阵的一组编码系数在所述第五译码子矩阵对应的有限域中做加法得到;A sixth decoding sub-matrix is generated according to the fourth decoding sub-matrix and the fifth decoding sub-matrix, wherein the vectors in the sixth decoding sub-matrix are determined by the values of the fifth decoding sub-matrix. A set of coding coefficients and a set of coding coefficients of the fourth decoding sub-matrix are obtained by addition in the finite field corresponding to the fifth decoding sub-matrix;
    根据所述第三译码子矩阵和所述第六译码子矩阵,组成第四译码矩阵;forming a fourth decoding matrix according to the third decoding sub-matrix and the sixth decoding sub-matrix;
    对所述第四译码矩阵进行译码操作,生成对角线系数为1的单位矩阵;performing a decoding operation on the fourth decoding matrix to generate a unit matrix with a diagonal coefficient of 1;
    对所述第四译码矩阵进行译码操作时,对所述待译码数据进行同步译码操作,生成所述k个源数据块。When performing a decoding operation on the fourth decoding matrix, a synchronous decoding operation is performed on the data to be decoded to generate the k source data blocks.
  15. 根据权利要求13-14中任一项所述的方法,其特征在于,根据所述低次域编码系数矩阵,组成所述第一译码矩阵和所述第二译码矩阵,包括:The method according to any one of claims 13-14, wherein forming the first decoding matrix and the second decoding matrix according to the low-order domain coding coefficient matrix, comprising:
    根据所述低次域编码系数矩阵,组成所述第一译码矩阵、所述第二译码矩阵和第三译码矩阵,其中,所述第三译码矩阵中对应所述高次有限域的编码系数组成第三高次域编码系数组,所述第三高次域编码系数组的有限域为所述第六编码数据块对应的编码系数中除所述第一高次有限域编码系数组和所述第二高次有限域编码系数组外的其它编码系数的有限域,对应第三高次域编码系数组的有限域阶数高于所述接收端支持的最高阶有限域阶数;According to the low-order domain coding coefficient matrix, the first decoding matrix, the second decoding matrix and the third decoding matrix are formed, wherein the third decoding matrix corresponds to the high-order finite field The coding coefficients form the third higher-order domain coding coefficient group, and the finite field of the third higher-order domain coding coefficient group is the coding coefficients corresponding to the sixth coded data block divided by the first higher-order finite field coding coefficients group and the finite fields of other coding coefficients other than the second higher-order finite field coding coefficient group, the finite field order corresponding to the third higher-order finite field coding coefficient group is higher than the highest-order finite field order supported by the receiving end ;
    对所述第三译码矩阵进行译码操作,生成零矩阵。A decoding operation is performed on the third decoding matrix to generate a zero matrix.
  16. 根据权利要求10-15中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 10-15, wherein the method further comprises:
    对于k个所述源数据块,其中,k为正整数,For k said source data blocks, where k is a positive integer,
    当满足以下条件时,对w个所述第四编码报文进行译码,包括:When the following conditions are met, the w fourth encoded packets are decoded, including:
    Figure PCTCN2021112380-appb-100003
    Figure PCTCN2021112380-appb-100003
    其中,
    Figure PCTCN2021112380-appb-100004
    Figure PCTCN2021112380-appb-100005
    矩阵,高次域编码系数矩阵为G,所述高次域编码系数矩阵由所述高次有限域的编码系数组成,所述低次域编码系数矩阵H,w为正整数。
    in,
    Figure PCTCN2021112380-appb-100004
    for
    Figure PCTCN2021112380-appb-100005
    Matrix, the high-order domain coding coefficient matrix is G, the high-order domain coding coefficient matrix is composed of the coding coefficients of the high-order finite field, and the low-order domain coding coefficient matrix H, w are positive integers.
  17. 根据权利要求10-16中任一项所述的方法,其特征在于,采用所述第二译码方式对所述一个或多个第四编码报文进行译码操作,生成所述k’个源数据块,包括:The method according to any one of claims 10-16, wherein the second decoding mode is used to perform a decoding operation on the one or more fourth encoded packets to generate the k' Source data blocks, including:
    在所述第六编码数据块的编码系数对应的最高阶有限域内,对所述第六编码数据块进行译码,使得所述第六编码数据块的编码系数组成的矩阵经过译码后得到单位矩阵;In the highest-order finite field corresponding to the coding coefficients of the sixth coded data block, the sixth coded data block is decoded, so that the matrix composed of the coding coefficients of the sixth coded data block is decoded to obtain a unit matrix;
    当所述第六编码数据块的编码系数组成的矩阵进行译码操作时,对所述第六编码数据块进行同步译码操作,生成所述k’个源数据块。When a decoding operation is performed on the matrix formed by the encoding coefficients of the sixth encoded data block, a synchronous decoding operation is performed on the sixth encoded data block to generate the k' source data blocks.
  18. 一种网络装置,其特征在于,包括:A network device, comprising:
    处理器,用于使用第一编码系数矩阵对k个源数据块进行编码处理,生成一个或多个第一编码数据块,所述第一编码数据块与所述第一编码系数矩阵中的一组编码系数对应,k为正整数;A processor, configured to perform encoding processing on k source data blocks by using the first encoding coefficient matrix to generate one or more first encoding data blocks, the first encoding data block and one of the first encoding coefficient matrices Corresponding to the group coding coefficient, k is a positive integer;
    所述处理器,还用于根据所述一个或多个第一编码数据块,生成一个或多个第一编码报文,所述第一编码报文包含一个或多个所述第一编码数据块,以及一个或多个所述第一编码数据块对应的所述第一编码系数矩阵中的一组编码系数;The processor is further configured to generate one or more first encoded packets according to the one or more first encoded data blocks, where the first encoded packets include one or more of the first encoded data a block, and a set of coding coefficients in the first coding coefficient matrix corresponding to one or more of the first coded data blocks;
    其中,所述第一编码系数矩阵包括第一有限域的编码系数和第二有限域的编码系数,所述第一有限域和所述第二有限域为具有嵌套结构的有限域,所述第二有限域的阶数高于所述第一有限域,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特 征数一致;The first coding coefficient matrix includes coding coefficients of a first finite field and coding coefficients of a second finite field, and the first finite field and the second finite field are finite fields with a nested structure, and the The order of the second finite field is higher than that of the first finite field, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic numbers are consistent;
    接收器,用于发送所述一个或多个第一编码报文。A receiver, configured to send the one or more first encoded messages.
  19. 根据权利要求18所述的网络装置,其特征在于,The network device of claim 18, wherein:
    所述源数据块为:p j,其中,j为正整数,1≤j≤k; The source data block is: p j , where j is a positive integer, 1≤j≤k;
    所述第一有限域的编码系数和所述第二有限域的编码系数为α n,k,n为正整数; The coding coefficients of the first finite field and the coding coefficients of the second finite field are α n,k , and n is a positive integer;
    一个或多个所述第一编码数据块包括:c n,其中,
    Figure PCTCN2021112380-appb-100006
    One or more of the first encoded data blocks include: c n , wherein,
    Figure PCTCN2021112380-appb-100006
  20. 根据权利要求18或19所述的网络装置,其特征在于,The network device according to claim 18 or 19, characterized in that:
    所述第一有限域的编码系数,携带于所述第一编码报文的网络层或数据链路层;The coding coefficients of the first finite field are carried in the network layer or the data link layer of the first coded message;
    所述第二有限域的编码系数,携带于所述第一编码报文的传输层。The coding coefficients of the second finite field are carried in the transport layer of the first coded message.
  21. 一种有限域的编码网络装置,其特征在于,所述网络装置包括:A limited field coding network device, characterized in that, the network device comprises:
    处理器,用于使用第二编码系数矩阵对k个源数据块进行编码处理,生成一个或多个第二编码数据块,所述第二编码数据块与所述第二编码系数矩阵中的一组编码系数对应,k为正整数;The processor is configured to perform encoding processing on the k source data blocks by using the second encoding coefficient matrix to generate one or more second encoding data blocks, the second encoding data block and one of the second encoding coefficient matrices Corresponding to the group coding coefficient, k is a positive integer;
    所述处理器,还用于使用第三编码系数矩阵对所述一个或多个第二编码数据块和所述k个源数据块进行编码处理,生成g个第三编码数据块,所述第三编码数据块与所述第三编码系数矩阵中的一组编码系数对应,g为正整数;The processor is further configured to perform encoding processing on the one or more second encoded data blocks and the k source data blocks by using a third encoding coefficient matrix to generate g third encoded data blocks, the The three encoded data blocks correspond to a group of encoding coefficients in the third encoding coefficient matrix, and g is a positive integer;
    所述处理器,还用于根据所述一个或多个第二编码数据块以及所述g个第三编码数据块,生成一个或多个第二编码报文,一个所述第二编码报文包括:一个或多个所述第三编码数据块和一个或多个所述第三编码数据块的编码系数;The processor is further configured to generate one or more second encoded packets according to the one or more second encoded data blocks and the g third encoded data blocks, one of the second encoded packets comprising: one or more of the third encoded data blocks and one or more encoding coefficients of the third encoded data blocks;
    其中,所述第二编码系数矩阵包括第三有限域的编码系数,所述第三编码系数矩阵包括第四有限域的编码系数,所述第三有限域和所述第四有限域为具有嵌套结构的有限域,且,所述第四有限域的阶数高于所述第三有限域,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the second encoding coefficient matrix includes encoding coefficients of a third finite field, the third encoding coefficient matrix includes encoding coefficients of a fourth finite field, and the third finite field and the fourth finite field have embedded The finite field of the nested structure, and the order of the fourth finite field is higher than the third finite field, and the finite field with the nested structure satisfies the following relationship: the order has a multiple relationship, and the characteristic number is one to;
    收发器,用于发送一个或多个所述第二编码报文。A transceiver, configured to send one or more of the second encoded messages.
  22. 根据权利要求21所述的网络装置,其特征在于,所述第二编码报文还包括:The network device according to claim 21, wherein the second encoded message further comprises:
    至少一个所述第二编码数据块,和,至少一个所述第二编码数据块的编码系数,at least one said second encoded data block, and, at least one encoded coefficient of said second encoded data block,
    和/或,至少一个所述源数据块,和,至少一个所述源数据块的编码系数,至少一个所述源数据块的编码系数为单位矩阵中对应元素,所述单位矩阵的尺寸由所述第二编码数据块的数量和所述源数据块的数量确定,所述源数据块的编码系数属于所述第四有限域。And/or, at least one of the source data blocks, and, the coding coefficients of at least one of the source data blocks, the coding coefficients of at least one of the source data blocks are corresponding elements in the unit matrix, and the size of the unit matrix is determined by The number of the second encoded data blocks and the number of the source data blocks are determined, and the encoding coefficients of the source data blocks belong to the fourth finite field.
  23. 根据权利要求21或22所述的网络装置,其特征在于,The network device according to claim 21 or 22, characterized in that:
    所述第三有限域的编码系数,携带于所述第二编码报文的传输层;The coding coefficients of the third finite field are carried in the transport layer of the second coded message;
    所述第四有限域的编码系数,携带于所述第二编码报文的网络层或数据链路层。The coding coefficients of the fourth finite field are carried in the network layer or the data link layer of the second coded message.
  24. 根据权利要求21-23中任一项所述的网络装置,其特征在于,所述第二编码系数矩阵还包括第五有限域的编码系数,所述第五有限域与所述第三有限域具有嵌套结构,所述第五有限域的阶数与所述第三有限域的阶数不同。The network device according to any one of claims 21-23, wherein the second coding coefficient matrix further comprises coding coefficients of a fifth finite field, the fifth finite field and the third finite field Having a nested structure, the order of the fifth finite field is different from the order of the third finite field.
  25. 一种有限域的重编码网络装置,其特征在于,所述网络装置包括:A finite field recoding network device, characterized in that the network device comprises:
    收发器,用于接收一个或多个第三编码报文,所述第三编码报文包含g’个第四编码数据块,以及所述g’个所述第四编码数据块对应的编码系数,g’为正整数;a transceiver, configured to receive one or more third encoded packets, where the third encoded packets include g' fourth encoded data blocks and encoding coefficients corresponding to the g' fourth encoded data blocks , g' is a positive integer;
    处理器,用于使用第四编码系数矩阵对所述g’个第四编码数据块进行编码处理,生成一个或多个第五编码数据块,所述第五编码数据块与所述第四编码系数矩阵中的一组编码系数对应;a processor, configured to perform encoding processing on the g' fourth encoded data blocks by using the fourth encoding coefficient matrix to generate one or more fifth encoded data blocks, the fifth encoded data blocks and the fourth encoded data blocks A set of coding coefficients in the coefficient matrix corresponds to;
    所述处理器,还用于根据所述一个或多个第五编码数据块,生成一个或多个重编码报文,所述重编码报文包含一个或多个所述第五编码数据块,以及一个或多个所述第五编码数据块对应的所述第四编码系数矩阵中的一组编码系数;The processor is further configured to generate one or more re-encoded messages according to the one or more fifth encoded data blocks, where the re-encoded messages include one or more of the fifth encoded data blocks, and a set of encoding coefficients in the fourth encoding coefficient matrix corresponding to one or more of the fifth encoded data blocks;
    其中,所述第四编码系数矩阵中编码系数的有限域与所述第三编码报文包含的所述编码系数的有限域具有嵌套结构,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;Wherein, the finite field of the coding coefficients in the fourth coding coefficient matrix and the finite field of the coding coefficients included in the third coding message have a nested structure, and the finite field with the nested structure satisfies the following relationship: The order has a multiple relationship, and the number of features is consistent;
    所述收发器,还用于发送一个或多个所述重编码报文。The transceiver is further configured to send one or more of the recoded packets.
  26. 根据权利要求25所述的网络装置,其特征在于,The network device of claim 25, wherein:
    所述第四编码系数矩阵中编码系数的有限域阶数等于所述中间节点所在的网络中有限域的最低阶数;The finite field order of the coding coefficients in the fourth coding coefficient matrix is equal to the lowest order of the finite field in the network where the intermediate node is located;
    或者,所述第四编码系数矩阵中编码系数的有限域阶数小于或等于所述中间节点所在的网络中有限域的最高阶数;Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is less than or equal to the highest order of the finite field in the network where the intermediate node is located;
    或者,所述第四编码系数矩阵中编码系数的有限域阶数大于或等于所述中间节点所在的网络中有限域的最低阶数。Or, the finite field order of the coding coefficients in the fourth coding coefficient matrix is greater than or equal to the lowest order of the finite field in the network where the intermediate node is located.
  27. 根据权利要求25-26中任一项所述的网络装置,其特征在于,The network device according to any one of claims 25-26, characterized in that,
    所述第四编码数据块为Xi,1≤i≤u,i为正整数,u为正整数;The fourth encoded data block is Xi, 1≤i≤u, i is a positive integer, and u is a positive integer;
    所述第四编码系数为γ u,v,其中,v大于1的正整数; The fourth coding coefficient is γ u,v , where v is a positive integer greater than 1;
    所述第五编码数据块为Y v,其中,
    Figure PCTCN2021112380-appb-100007
    其中,1≤j≤v。
    The fifth encoded data block is Y v , wherein,
    Figure PCTCN2021112380-appb-100007
    Among them, 1≤j≤v.
  28. 一种有限域的译码网络装置,其特征在于,所述网络装置包括:A finite field decoding network device, characterized in that the network device comprises:
    收发器,用于接收一个或多个第四编码报文,所述第四编码报文包含t’个第六编码数据块,以及所述t’个第六编码数据块对应的编码系数,t’为正整数;a transceiver, configured to receive one or more fourth encoded messages, where the fourth encoded message includes t' sixth encoded data blocks and encoding coefficients corresponding to the t' sixth encoded data blocks, t ' is a positive integer;
    处理器,用于采用第一译码方式对所述一个或多个第四编码报文在低次有限域和高次有限域内进行译码操作,生成k个源数据块,k为正整数;a processor, configured to perform a decoding operation on the one or more fourth encoded messages in a low-order finite field and a high-order finite field by using the first decoding method, and generate k source data blocks, where k is a positive integer;
    所述低次有限域为接收端所在的网络中阶数最低的有限域,所述高次有限域为所述第六编码数据块对应的编码系数的任一高阶有限域,所述高次有限域的阶数高于所述低次有限域的阶数,所述低次有限域与所述高次有限域具有嵌套结构,其中,所述具有嵌套结构的有限域满足以下关系:阶数存在倍数关系,且,特征数一致;The low-order finite field is the finite field with the lowest order in the network where the receiving end is located, the high-order finite field is any high-order finite field of the coding coefficients corresponding to the sixth encoded data block, and the high-order finite field is The order of the finite field is higher than the order of the lower-order finite field, and the lower-order finite field and the higher-order finite field have a nested structure, wherein the finite field with the nested structure satisfies the following relationship: The order has a multiple relationship, and the number of features is consistent;
    或者,or,
    所述处理器,还用于采用第二译码方式在所述第六编码数据块对应的编码系数的最高阶有限域内,对所述一个或多个第四编码报文进行译码操作,生成k’个源数据块,所述最高阶有限域为所述第六编码数据块对应的编码系数的最高阶有限域,k’为正整数。The processor is further configured to perform a decoding operation on the one or more fourth encoded packets in the highest-order finite field of the encoding coefficients corresponding to the sixth encoded data block by using the second decoding method, and generate There are k' source data blocks, the highest-order finite field is the highest-order finite field of the coding coefficients corresponding to the sixth coded data block, and k' is a positive integer.
  29. 根据权利要求28所述的网络装置,其特征在于,The network device of claim 28, wherein:
    所述处理器,具体用于对所述一个或多个第四编码报文在所述低次有限域内进行第一译码运算;The processor is specifically configured to perform a first decoding operation on the one or more fourth encoded packets in the low-order finite field;
    所述处理器,具体用于对所述第一译码运算得到的结果,在所述高次有限域中进行第 二译码运算,生成所述k个源数据块。The processor is specifically configured to perform a second decoding operation on the result obtained by the first decoding operation in the high-order finite field to generate the k source data blocks.
  30. 根据权利要求29所述的网络装置,其特征在于,The network device of claim 29, wherein:
    所述处理器,具体用于根据所述一个或多个第四编码报文中所述第六编码数据块对应的编码系数,确定所述低次有限域的编码系数和所述高次有限域的编码系数;The processor is specifically configured to determine, according to the encoding coefficients corresponding to the sixth encoded data block in the one or more fourth encoded packets, the encoding coefficients of the low-order finite field and the high-order finite field the coding coefficients;
    所述处理器,具体用于由所述低次有限域的编码系数,组成低次域编码系数矩阵;The processor is specifically configured to form a low-order domain coding coefficient matrix from the coding coefficients of the low-order finite field;
    所述处理器,具体用于根据所述低次域编码系数矩阵,组成第一译码矩阵和第二译码矩阵,其中,所述第一译码矩阵的编码系数中对应所述高次有限域的编码系数组成第一高次域编码系数组,所述第一高次域编码系数组的有限域为所述第六编码数据块对应的编码系数的所有高次有限域中阶数最低的有限域;The processor is specifically configured to form a first decoding matrix and a second decoding matrix according to the low-order domain encoding coefficient matrix, wherein the encoding coefficients of the first decoding matrix correspond to the high-order finite The coding coefficients of the domain form the first high-order domain coding coefficient group, and the finite field of the first high-order domain coding coefficient group is the lowest order among all the high-order finite fields of the coding coefficients corresponding to the sixth coded data block. finite field;
    所述第二译码矩阵的编码系数中对应所述高次有限域的编码系数组成第二高次域编码系数组,所述第二高次域编码系数组的有限域为所述第六编码数据块对应的编码系数中除所述第一高次有限域编码系数组外的其它编码系数的有限域,所述第二高次域编码系数组的有限域阶数小于或等于所述接收端支持的最高阶有限域阶数;The coding coefficients corresponding to the high-order finite field in the coding coefficients of the second decoding matrix form a second high-order field coding coefficient group, and the finite field of the second high-order field coding coefficient group is the sixth coding The finite field of other coding coefficients except the first high-order finite field coding coefficient group in the coding coefficients corresponding to the data block, and the finite field order of the second high-order field coding coefficient group is less than or equal to the receiving end the highest order finite field order supported;
    所述处理器,具体用于对所述第二译码矩阵进行译码操作,生成第一译码子矩阵和第二译码子矩阵,其中,所述第一译码子矩阵为零矩阵,所述第二译码矩阵为单位矩阵;The processor is specifically configured to perform a decoding operation on the second decoding matrix to generate a first decoding sub-matrix and a second decoding sub-matrix, wherein the first decoding sub-matrix is a zero matrix, The second decoding matrix is an identity matrix;
    所述处理器,具体用于当所述第二译码矩阵进行译码操作时,对所述第一译码矩阵同步译码操作,生成第三译码子矩阵和第四译码子矩阵,其中,所述第三译码子矩阵的行数与所述第一译码子矩阵的行数一致,所述第四译码子矩阵的行数与所述第二译码子矩阵的行数一致,或,所述第三译码子矩阵的列数与所述第一译码子矩阵的列数一致,所述第四译码子矩阵的列数与所述第二译码子矩阵的列数一致;The processor is specifically configured to perform a synchronous decoding operation on the first decoding matrix when the second decoding matrix performs a decoding operation to generate a third decoding sub-matrix and a fourth decoding sub-matrix, The number of rows of the third decoding sub-matrix is consistent with the number of rows of the first decoding sub-matrix, and the number of rows of the fourth decoding sub-matrix is the same as the number of rows of the second decoding sub-matrix The number of columns is the same, or, the number of columns of the third decoding sub-matrix is the same as the number of columns of the first decoding sub-matrix, and the number of columns of the fourth decoding sub-matrix is the same as the number of columns of the second decoding sub-matrix The number of columns of the submatrix is the same;
    所述处理器,具体用于当所述第一译码矩阵进行译码操作时,对所述第六编码数据块,进行同步译码操作,生成待译码数据。The processor is specifically configured to perform a synchronous decoding operation on the sixth encoded data block to generate data to be decoded when the first decoding matrix performs a decoding operation.
  31. 根据权利要求30所述的网络装置,其特征在于,The network device of claim 30, wherein:
    所述第一译码运算得到的结果包括所述第三译码子矩阵、所述第四译码子矩阵,和所述待译码数据,The result obtained by the first decoding operation includes the third decoding sub-matrix, the fourth decoding sub-matrix, and the data to be decoded,
    所述处理器,具体用于根据所述第四译码子矩阵,确定所述第四译码子矩阵对应的第五译码子矩阵,所述第五译码子矩阵由所述高次有限域的编码系数组成;The processor is specifically configured to determine a fifth decoding sub-matrix corresponding to the fourth decoding sub-matrix according to the fourth decoding sub-matrix, and the fifth decoding sub-matrix is determined by the higher-order finite The coding coefficient composition of the domain;
    所述处理器,具体用于根据所述第四译码子矩阵和所述第五译码子矩阵,生成第六译码子矩阵,其中,所述第六译码子矩阵中的向量由所述第五译码子矩阵的一组编码系数与所述第四译码子矩阵的一组编码系数在所述第五译码子矩阵对应的有限域中做加法得到;The processor is specifically configured to generate a sixth decoding sub-matrix according to the fourth decoding sub-matrix and the fifth decoding sub-matrix, wherein the vectors in the sixth decoding sub-matrix are determined by the A set of coding coefficients of the fifth decoding sub-matrix and a set of coding coefficients of the fourth decoding sub-matrix are obtained by addition in the finite field corresponding to the fifth decoding sub-matrix;
    所述处理器,具体用于根据所述第三译码子矩阵和所述第六译码子矩阵,组成第四译码矩阵;The processor is specifically configured to form a fourth decoding matrix according to the third decoding sub-matrix and the sixth decoding sub-matrix;
    所述处理器,具体用于对所述第四译码矩阵进行译码操作,生成单位矩阵;The processor is specifically configured to perform a decoding operation on the fourth decoding matrix to generate a unit matrix;
    所述处理器,具体用于对所述第四译码矩阵进行译码操作时,对所述待译码数据进行同步译码操作,生成所述k个源数据块。The processor is specifically configured to perform a synchronous decoding operation on the data to be decoded to generate the k source data blocks when performing a decoding operation on the fourth decoding matrix.
  32. 根据权利要求28-31中任一项所述的网络装置,其特征在于,The network device according to any one of claims 28-31, wherein,
    所述处理器,具体用于根据所述低次域编码系数矩阵,组成所述第一译码矩阵、所述第二译码矩阵和第三译码矩阵,其中,所述第三译码矩阵中对应所述高次有限域的编码系 数组成第三高次域编码系数组,所述第三高次域编码系数组的有限域为所述第六编码数据块对应的编码系数中除所述第一高次有限域编码系数组和所述第二高次有限域编码系数组外的其它编码系数的有限域,对应第三高次域编码系数组的有限域阶数高于所述接收端支持的最高阶有限域阶数;The processor is specifically configured to form the first decoding matrix, the second decoding matrix and the third decoding matrix according to the low-order domain coding coefficient matrix, wherein the third decoding matrix The coding coefficients corresponding to the high-order finite field in the above form a third high-order field coding coefficient group, and the finite field of the third high-order field coding coefficient group is divided by the coding coefficients corresponding to the sixth coded data block. The finite field of the coding coefficients other than the first high-order finite field coding coefficient group and the second high-order finite field coding coefficient group, and the finite field order corresponding to the third high-order field coding coefficient group is higher than that of the receiving end the highest order finite field order supported;
    所述处理器,具体用于对所述第三译码矩阵进行译码操作,生成零矩阵。The processor is specifically configured to perform a decoding operation on the third decoding matrix to generate a zero matrix.
  33. 根据权利要求28-32中任一项所述的网络装置,其特征在于,所述网络装置还包括:The network device according to any one of claims 28-32, wherein the network device further comprises:
    对于k个所述源数据块,当满足以下条件时,所述处理器,还用于对w个所述第四编码报文进行译码,包括:For the k source data blocks, when the following conditions are met, the processor is further configured to decode the w fourth encoded packets, including:
    Figure PCTCN2021112380-appb-100008
    Figure PCTCN2021112380-appb-100008
    其中,
    Figure PCTCN2021112380-appb-100009
    Figure PCTCN2021112380-appb-100010
    矩阵,高次域编码系数矩阵为G,所述高次域编码系数矩阵由所述高次有限域的编码系数组成,所述低次域编码系数矩阵H,w为正整数。
    in,
    Figure PCTCN2021112380-appb-100009
    for
    Figure PCTCN2021112380-appb-100010
    matrix, the high-order domain coding coefficient matrix is G, the high-order domain coding coefficient matrix is composed of the coding coefficients of the high-order finite field, and the low-order domain coding coefficient matrix H, w are positive integers.
  34. 根据权利要求28-33中任一项所述的网络装置,其特征在于,The network device according to any one of claims 28-33, wherein,
    所述处理器,具体用于在所述第六编码数据块的编码系数对应的最高阶有限域内,对所述第六编码数据块进行译码,使得所述第六编码数据块的编码系数组成的矩阵经过译码后得到单位矩阵;The processor is specifically configured to decode the sixth coded data block in the highest-order finite field corresponding to the coding coefficients of the sixth coded data block, so that the coding coefficients of the sixth coded data block consist of The matrix is decoded to obtain the identity matrix;
    所述处理器,具体用于当所述第六编码数据块的编码系数组成的矩阵进行译码操作时,对所述第六编码数据块进行同步译码操作,生成所述k’个源数据块。The processor is specifically configured to perform a synchronous decoding operation on the sixth encoded data block when the matrix composed of the encoding coefficients of the sixth encoded data block is subjected to a decoding operation to generate the k' pieces of source data Piece.
  35. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质具有程序指令,当所述程序指令被直接或者间接执行时,使得如权利要求1-3,和/或,权利要求4-7,和/或,权利要求8-10,和/或,权利要求11-17中任一所述的方法被实现。A computer-readable storage medium, characterized in that the computer-readable storage medium has program instructions, and when the program instructions are directly or indirectly executed, make such as claims 1-3, and/or claim 4 -7, and/or, the method of any one of claims 8-10, and/or, claims 11-17 is implemented.
  36. 一种芯片系统,其特征在于,所述芯片系统包括一个或多个处理器和存储器,所述存储器中存储有程序指令,当所述程序指令在所述一个或多个处理器中执行时,使得如权利要求1-3,和/或,权利要求4-7,和/或,权利要求8-10,和/或,权利要求11-17中任一所述的方法被实现。A chip system, characterized in that the chip system includes one or more processors and a memory, the memory stores program instructions, and when the program instructions are executed in the one or more processors, A method as claimed in any of claims 1-3, and/or, claims 4-7, and/or, claims 8-10, and/or, claims 11-17, is caused to be implemented.
PCT/CN2021/112380 2020-08-14 2021-08-13 Coding or decoding method in finite field and related device WO2022033566A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010820658.2 2020-08-14
CN202010820658.2A CN114079475A (en) 2020-08-14 2020-08-14 Encoding or decoding method of finite field and related device

Publications (1)

Publication Number Publication Date
WO2022033566A1 true WO2022033566A1 (en) 2022-02-17

Family

ID=80247732

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112380 WO2022033566A1 (en) 2020-08-14 2021-08-13 Coding or decoding method in finite field and related device

Country Status (2)

Country Link
CN (1) CN114079475A (en)
WO (1) WO2022033566A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510783A (en) * 2009-03-26 2009-08-19 北京理工大学 Multi-scale fountain encode and decode method based on finite domain
CN107306140A (en) * 2016-04-25 2017-10-31 华为技术有限公司 A kind of GEL codeword structures coding and method, device and the relevant device of decoding
US20170331498A1 (en) * 2016-05-13 2017-11-16 Hyperstone Gmbh Method and device for error correction coding based on high-rate generalized concatenated codes
CN110601699A (en) * 2019-09-28 2019-12-20 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for realizing code rate dynamic variable multi-element LDPC code
CN111384971A (en) * 2018-12-29 2020-07-07 泰斗微电子科技有限公司 Data processing method and device in finite field and decoder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510783A (en) * 2009-03-26 2009-08-19 北京理工大学 Multi-scale fountain encode and decode method based on finite domain
CN107306140A (en) * 2016-04-25 2017-10-31 华为技术有限公司 A kind of GEL codeword structures coding and method, device and the relevant device of decoding
US20170331498A1 (en) * 2016-05-13 2017-11-16 Hyperstone Gmbh Method and device for error correction coding based on high-rate generalized concatenated codes
CN111384971A (en) * 2018-12-29 2020-07-07 泰斗微电子科技有限公司 Data processing method and device in finite field and decoder
CN110601699A (en) * 2019-09-28 2019-12-20 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for realizing code rate dynamic variable multi-element LDPC code

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTEL CORPORATION ET AL.: "Use cases and options for network coding in IAB, RP-193077", 3GPP TSG RAN MEETING #86, 12 December 2019 (2019-12-12), XP051838800 *

Also Published As

Publication number Publication date
CN114079475A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN106899379B (en) Method and communication device for processing polarization code
KR20170102173A (en) Data transfer method and device
CN103348739A (en) Method and apparatus for supporting modulation-coding scheme set in very high throughput wireless systems
WO2017124844A1 (en) Method for determining transmission block size of polarisation code, and communication device
WO2019158031A1 (en) Encoding method, decoding method, encoding device, and decoding device
US20180026751A1 (en) Polar code hybrid automatic repeat request method and apparatus
CN107800510B (en) Method and device for coding polarized Polar code
KR20170054046A (en) Method and apparatus for decoding in a wireless communication system
JP2014140175A (en) Method and apparatus for high speed structured multi rate low density parity check codes
TWI765359B (en) Joint encoding schemes with interleaver and tone mapper for multi-ru operation
EP3844883A1 (en) Method and system for decoding data using compressed channel output information
CN111385059B (en) Method and apparatus for polar coded modulation
WO2021254422A1 (en) Polar code encoding method and apparatus, and polar code decoding method and apparatus
CN113381838A (en) Data transmission method and communication device
WO2022161201A1 (en) Methods and apparatus for coding modulation and demodulation decoding
CN112106302A (en) Reduced complexity polarization encoding and decoding
WO2019047946A1 (en) Codebook subsets limiting method
WO2022033566A1 (en) Coding or decoding method in finite field and related device
CN111371478B (en) Precoding method and device and information transmission method and device
WO2022268130A1 (en) Network encoding method and apparatus
WO2021249080A1 (en) Coding method and device
CN115549849A (en) Data processing method and device
WO2022033245A1 (en) Network coding method and apparatus
WO2022027661A1 (en) Communication method, apparatus and system
WO2023241626A1 (en) Ldpc encoding method, ldpc decoding method, and related apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21855616

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21855616

Country of ref document: EP

Kind code of ref document: A1