Data processing method, configuration method and communication device
Data blocks are generated and restored in carrier aggregation or dual-connection communication systems through network encoding methods, which solves the problem of low spectrum utilization caused by high redundancy and achieves more efficient data transmission.
Patent Information
- Application Number
- CN202010027931.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-10
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-01-10
AI Technical Summary
In the prior art, the redundancy of data transmission in carrier aggregation or dual-connection communication systems is high, resulting in low spectrum utilization.
The network encoding method is adopted to generate the encoded sub-block of the data block by obtaining the network encoding parameters, and restore the original data block according to the received encoding sub-block at the receiving end, reducing the redundancy and improving spectrum utilization.
While ensuring the reliability of data transmission, the redundancy of data transmission is reduced, the spectrum utilization rate is improved, the delay is reduced, and signaling overhead is reduced.
Smart Images

Figure CN113114410B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a data processing method, a configuration method and a communication device. Background Art
[0002] At present, in carrier aggregation (CA) or dual connectivity (DC) communication systems, in order to improve the reliability of data transmission, packet duplication (Packet Duplication), also known as packet data convergence protocol (PDCP) duplication (Duplication), is generally used to transmit data, that is, two independent transmission paths are used to transmit the same PDCP packet (PDCP Packet), such as transmitting the same data packet on two different carriers or two wireless connections.
[0003] Although the above method can improve the reliability of data transmission to a certain extent, it will cause high redundancy of data transmission and lead to low spectrum utilization. Summary of the invention
[0004] The embodiments of the present invention provide a data processing method, a configuration method and a communication device to solve the problem of low spectrum utilization due to high redundancy of data transmission in the prior art.
[0005] To solve the above problems, the present invention is achieved as follows:
[0006] In a first aspect, an embodiment of the present invention provides a data processing method, which is applied to a first communication device, and the method includes:
[0007] Get network coding parameters;
[0008] Generating N coded sub-blocks of the first data block through the target layer according to the network coding parameters;
[0009] The N coded sub-blocks are sent to a second communication device, where N is a positive integer.
[0010] In a second aspect, an embodiment of the present invention provides a data processing method, which is applied to a second communication device, and the method includes:
[0011] When M coded sub-blocks corresponding to the first data block are received, M column vectors corresponding to the M coded sub-blocks are obtained, each of the column vectors includes K elements, K is the number of partitions of the first data block, and M is a positive integer less than or equal to the number N of coded sub-blocks generated based on the first data block;
[0012] Generate a first matrix, wherein the first matrix includes the M column vectors;
[0013] In the case where the first matrix is a row full rank matrix, the first data block is restored according to the first matrix and the M coding sub-blocks.
[0014] In a third aspect, an embodiment of the present invention provides a configuration method, which is applied to a third communication device, and the method includes:
[0015] Sending configuration information for configuring network coding parameters, where the network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer;
[0016] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0017] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0018] The first parameter is used to determine the number of partitions of the data block;
[0019] The second parameter is used to determine the value of N;
[0020] The third parameter is used to determine the distribution of the degrees of freedom.
[0021] In a fourth aspect, an embodiment of the present invention further provides a communication device, wherein the communication device is a first communication device, and the communication device includes:
[0022] A first acquisition module, used to acquire network coding parameters;
[0023] A first generating module, configured to generate N coding sub-blocks of a first data block through a target layer according to the network coding parameter, where N is a positive integer;
[0024] The first sending module is used to send the N coding sub-blocks to the second communication device.
[0025] In a fifth aspect, an embodiment of the present invention further provides a communication device, where the communication device is a second communication device, and the communication device includes:
[0026] A second acquisition module is configured to, upon receiving M coded sub-blocks corresponding to the first data block, acquire M column vectors corresponding to the M coded sub-blocks, each of the column vectors including K elements, where K is the number of partitions of the first data block, and M is a positive integer less than or equal to the number N of coded sub-blocks generated based on the first data block;
[0027] A second generating module, used to generate a first matrix, wherein the first matrix includes the M column vectors;
[0028] A recovery module is used to recover the first data block according to the first matrix and the M coding sub-blocks when the first matrix is a row full rank matrix.
[0029] In a sixth aspect, an embodiment of the present invention further provides a communication device, wherein the communication device is a third communication device, and is characterized in that the communication device includes:
[0030] A second sending module, used to send configuration information for configuring network coding parameters, where the network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer;
[0031] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0032] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0033] The first parameter is used to determine the number of partitions of the data block;
[0034] The second parameter is used to determine the value of N;
[0035] The third parameter is used to determine the distribution of the degrees of freedom.
[0036] In the seventh aspect, an embodiment of the present invention further provides a communication device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the data processing method as described in the first aspect above, or the steps of the data processing method as described in the second aspect above, or the steps of the configuration method as described in the third aspect above.
[0037] In an eighth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the data processing method as described in the first aspect above, or the steps of the data processing method as described in the second aspect above, or the steps of the configuration method as described in the third aspect above are implemented.
[0038] In an embodiment of the present invention, the first communication device can generate N coding sub-blocks of the first data block through the target layer according to the acquired network coding parameters, and send the N coding sub-blocks to the second communication device, where N is a positive integer. In this way, the second communication device can obtain the first data block based on the received coding sub-blocks. It can be seen that the embodiment of the present invention adopts network coding to realize the transmission of the first data block from the first communication device to the second communication device, thereby reducing the redundancy of data transmission while ensuring the reliability of data transmission, thereby improving the spectrum utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0040] Figure 1 It is one of the flow charts of the data processing method provided by the embodiment of the present invention;
[0041] Figure 2 This is the second flowchart of the data processing method provided by the embodiment of the present invention;
[0042] Figure 3 It is one of the flow charts of the configuration method provided by the embodiment of the present invention;
[0043] Figure 4 This is the second flowchart of the configuration method provided by the embodiment of the present invention;
[0044] Figure 5 This is the third flowchart of the data processing method provided by the embodiment of the present invention;
[0045] Figure 6 This is the fourth flow chart of the data processing method provided by the embodiment of the present invention;
[0046] Figure 7 It is one of the schematic diagrams of the communication system provided by the embodiment of the present invention;
[0047] Figure 8 is one of the schematic diagrams of the header of the coding sub-block provided by the embodiment of the present invention;
[0048] Fig. 9 This is a second schematic diagram of a communication system provided by an embodiment of the present invention;
[0049] Fig.10 This is a second schematic diagram of a header of a coding sub-block provided by an embodiment of the present invention;
[0050] Fig.11 It is the third schematic diagram of the communication system provided by the embodiment of the present invention;
[0051] Fig.12 This is a third schematic diagram of a header of a coding sub-block provided by an embodiment of the present invention;
[0052] Fig.13 It is one of the structural diagrams of the communication device provided by the embodiment of the present invention;
[0053] Fig.14 This is the second structural diagram of the communication device provided by the embodiment of the present invention;
[0054] Fig.15 This is a third structural diagram of a communication device provided by an embodiment of the present invention;
[0055] Fig.16 This is the fourth structural diagram of the communication device provided in the embodiment of the present invention. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In addition, the terms "include" and "have" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. In addition, the use of "and / or" in the present invention represents at least one of the connected objects, such as A and / or B and / or C, which means including 7 situations including single A, single B, single C, and both A and B exist, both B and C exist, both A and C exist, and both A, B and C exist.
[0058] For ease of understanding, network coding is explained below:
[0059] When performing network coding on the original data block (Source Data Packet), the network coding process may include the following steps:
[0060] Step 1: The sending end divides the original data blocks.
[0061] The original data block can be evenly divided into K original data sub-blocks (Source Data Segment). The original data block can be expressed as:
[0062] P=[p1 p2 … p K ]
[0063] Among them, p k represents the Kth original data sub-block obtained by segmenting the original data block P. p k Each element in belongs to GF(2), GF is the Galois Field, and GF(2) is the simplest finite field. In other words, p k Each element in can only take values between 0 and 1, and the results of the operation are also only 0 and 1, which is equivalent to only having XOR and multiplication.
[0064] It should be noted that, in practical applications, if the data length of the last original data sub-block is not enough, it can be padded with 0 to make its data length equal to the data length of other original data sub-blocks. For example, assuming that the original data block is 01 00 10 0 and the value of K is 4, then:
[0065] P = [01 00 10 00]
[0066] Step 2: The transmitting end generates a coding matrix.
[0067] The encoding matrix is shown below:
[0068]
[0069] It can be seen that the encoding matrix M includes elements of K rows and N columns, where K is the number of original data sub-blocks obtained by equally dividing the original data block, and N is the number of coded sub-blocks obtained by encoding the K original data sub-blocks. It should be understood that i in the encoding matrix M is a positive integer less than or equal to K, and j is a positive integer less than or equal to N. In addition, a column of elements in the encoding matrix M can be called a column vector in the encoding matrix M.
[0070] The sum of the elements in each column vector in the encoding matrix M is defined as the degree of freedom d, and the formula is:
[0071]
[0072] Since each column vector in the encoding matrix M includes K elements, and each element in the encoding matrix can only take values between 0 and 1, the value of the degree of freedom of each column vector in the encoding matrix M is greater than or equal to 0 and less than or equal to K. It should be understood that the values of the degrees of freedom of different columns may be the same or different.
[0073] The degrees of freedom d follow a specific distribution μ(d).
[0074]
[0075] Among them, the calculation formula of τ(d) is:
[0076]
[0077] The calculation formula of ρ(d) is:
[0078]
[0079] Further, c is a suitable constant, and δ is the allowable failure probability.
[0080] From the above, we can see that the distribution of degrees of freedom d is related to K, c and δ.
[0081] The j-th column vector in the encoding matrix M (i.e., the j-th column vector from left to right in the encoding matrix M) can be generated in the following way:
[0082] Determine the degrees of freedom d of the jth column vector based on the distribution of degrees of freedom j ;
[0083] Randomly select d from the jth column vector j elements have the value 1, and the remaining elements have the value 0.
[0084] Exemplarily, assume that the value of K of the encoding matrix M is 3, and the value of N is 4; the value of the degree of freedom of the first column vector of the encoding matrix M is 1, the value of the degree of freedom of the second column vector is 3, the value of the degree of freedom of the third column vector is 2, and the value of the degree of freedom of the fourth column vector is 2. In addition, the first element of the first column vector from top to bottom is 1, the second element and the third element of the third column vector from top to bottom are 1, and the first element and the second element of the fourth column vector from top to bottom are 1. Then, in this case, the encoding matrix M is:
[0085]
[0086] Step 3: The transmitting end encodes the original data block P to generate N coded sub-blocks.
[0087] C=PM=[c1 c2 … c N ]
[0088] Among them, c N is the Nth coded sub-block among the N coded sub-blocks. From the above formula, we can see that c N It is determined based on the original data block P and the Nth column vector in the coding matrix M. Therefore, it can be considered that the Nth coding sub-block has a corresponding relationship with the Nth column vector in the coding matrix M. It can be seen that each coding sub-block corresponds to a column vector in the coding matrix M.
[0089] The column vector corresponding to the coding sub-block can also be called the number of the original data sub-block required to generate the coding sub-block. Since the column vectors corresponding to different coding sub-blocks are different column vectors of the coding matrix M, the numbers of the original data sub-blocks required to generate different coding sub-blocks are different.
[0090] Step 4: The receiving end decodes the received coded sub-block to restore the original data block.
[0091] Both the transmitting and receiving ends need to have the original data sub-block number required to generate the coding sub-block (i.e., the j-th column vector in the coding matrix M corresponding to the j-th coding sub-block). The receiving end combines the column vectors corresponding to the received coding sub-blocks into a matrix H. When H satisfies the row full rank condition (rank(H)=K), it means that the currently received coding sub-block is sufficient to restore the original data block P.
[0092] The column vectors that form the full row rank in the matrix H and the corresponding coding sub-blocks are taken out to form a new coding matrix H′ and a new coding sub-block vector C′, so the original data can be obtained as follows:
[0093] [p1 p2 … p K ]=C′H′
[0094] The obtained original data sub-blocks are combined in sequence, that is, the original data block P is completely restored.
[0095] Network coding is used for redundant transmission to improve transmission reliability and thus transmission delay. The required redundancy varies in different situations, but in general, the required redundancy is significantly less than 100%.
[0096] Network coding has the following characteristics:
[0097] 1) The number of coded sub-blocks generated by the transmitting end can be infinite in theory;
[0098] 2) The sender only needs to transmit a small amount of redundant encoded packets so that the receiver can successfully restore the original data block;
[0099] 3) The receiving end has no bias towards the received coded sub-blocks (it is not required to receive a specific coded sub-block). The coded sub-block can be successfully decoded as long as the matrix composed of the column vectors corresponding to the received coded sub-blocks meets the condition of full row rank.
[0100] Therefore, if "network coding" is applied to the communication system, the receiving end only needs to feedback an indication to the transmitting end when the received coding sub-block meets certain conditions, instead of feeding back to the transmitting end every time a coding sub-block is received as in the past, which can greatly reduce the delay. Therefore, applying "network coding" to the communication system can effectively solve the delay problem caused by the use of repeated transmission (such as automatic repeat request (ARQ) or hybrid automatic repeat request (HARQ)) in the air interface (Uu interface) to ensure the stability of the communication system. In addition, from the above characteristic 2), it can be seen that compared with carrier aggregation (CA) or dual connectivity (DC) data packet duplication (Packet Duplication), the use of network coding to transmit data has lower redundancy, thereby improving spectrum utilization.
[0101] The embodiment of the present invention adopts network coding to realize the transmission of data blocks from a first communication device to a second communication device. The embodiment of the present invention includes a data processing method applied to a first communication device, a data processing method applied to a second communication device, and a configuration method applied to a third communication device.
[0102] In specific implementation, by applying the data processing method to the first communication device, the first communication device can send the data block by network coding. By applying the data processing method to the second communication device, the second communication device can restore the database sent by the first communication device by network coding. By applying the configuration method to the third communication device, the third communication device can configure network coding parameters for the first communication device and the second communication device.
[0103] In practical applications, the communication device may be a network side device or a terminal (also referred to as user equipment (UE)).
[0104] The embodiments of the present invention may include the following application scenarios.
[0105] Application scenario 1: Both the first communication device and the second communication device may be UEs. That is, data blocks may be transmitted between UEs in a network coding manner.
[0106] Application scenario 2: One of the first communication device and the second communication device is a UE, and the other communication device is a base station. That is, data blocks can be transmitted between the UE and the base station in a network coding manner.
[0107] Application scenario three: one of the first communication device and the second communication device is a UE, and the other communication device may be an intermediate point between the UE and the base station. That is, data blocks may be transmitted between the UE and the intermediate point in a network coding manner.
[0108] Application scenario 4: one of the first communication device and the second communication device is a base station, and the other communication device can be an intermediate point between the UE and the base station. That is, data blocks can be transmitted between the base station and the intermediate point in a network coding manner.
[0109] In scenario 5, both the first communication device and the second communication device can be intermediate points between the UE and the base station. That is, data blocks can be transmitted between the intermediate points in a network coding manner.
[0110] In practical applications, UE may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device, etc. The intermediate point between the UE and the base station may be a relay or an integrated access backhaul (IAB) node, etc. In addition, the third communication device of the embodiment of the present invention may be a base station, an IAB node, a relay or an access point, etc.
[0111] The embodiments of the present invention are described in detail below.
[0112] See also Figure 1 , Figure 1 This is one of the flow charts of the data processing method provided by the embodiment of the present invention. Figure 1 The data processing method shown can be applied to the first communication device.
[0113] like Figure 1 As shown, the data processing method may include the following steps:
[0114] Step 101: Obtain network coding parameters.
[0115] Optionally, the acquiring of network coding parameters includes: acquiring network coding parameters according to at least one of a protocol agreement and configuration information sent by a third communication device. That is, the network coding parameters may be agreed upon by the protocol and / or configured by the third communication device.
[0116] In a specific implementation, the network coding parameters may include one or at least two parameters. It should be understood that when the number of parameters included in the network coding parameters is different, the network coding parameters may be obtained in different ways, as described below:
[0117] In the case that the network coding parameters include only one parameter, the network coding parameter may be predetermined by a protocol or configured by a third communication device.
[0118] When the network coding parameter includes two or more parameters, the following implementations may be included:
[0119] Implementation method 1: All parameters of the network coding parameters are configured by a third communication device.
[0120] Implementation method 2: All parameters of the network coding parameters are predetermined by the protocol.
[0121] Implementation method three, the network coding parameters include a first part of parameters and a second part of parameters, the first part of parameters is predetermined by the protocol, and the second part of parameters is configured by a third communication device. In implementation method three, the specific expressions of the first part of parameters and the second part of parameters can be determined according to actual conditions, and the embodiment of the present invention does not limit this.
[0122] Optionally, the network coding parameter corresponds to a target object, and the target object may correspond to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, or a logical channel group. In other words, the network coding parameter is a network coding parameter of the target object, and the network coding parameter serves the target object.
[0123] In actual applications, for a data block of a target object, the first communication device may perform network coding processing based on network coding parameters corresponding to the target object.
[0124] Step 102: Generate N coding sub-blocks of the first data block through the target layer according to the network coding parameters, where N is a positive integer.
[0125] It should be noted that, when N is 1, the target layer may be regarded as not performing network coding on the first data block. When N is greater than 1, the target layer performs network coding on the first data block. The following mainly describes the case where N is greater than 1.
[0126] It can be seen from the foregoing that the N coding sub-blocks are determined based on the original data block P and the coding matrix M. Therefore, in a specific implementation, the target layer of the first communication device can first generate the first data block P and the coding matrix M according to the network coding parameters, and then use the first data block P and the coding matrix M to generate N coding sub-blocks of the first data block.
[0127] Step 103: Send the N coded sub-blocks to a second communication device.
[0128] In the data processing method of this embodiment, the first communication device can generate N coding sub-blocks of the first data block through the target layer according to the obtained network coding parameters, and send the N coding sub-blocks to the second communication device, where N is a positive integer. In this way, the second communication device can obtain the first data block based on the received coding sub-blocks. It can be seen that the embodiment of the present invention adopts network coding to realize the transmission of the first data block from the first communication device to the second communication device, thereby reducing the redundancy of data transmission while ensuring the reliability of data transmission, thereby improving the spectrum utilization.
[0129] Optionally, the network coding parameter includes at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer;
[0130] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0131] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0132] The first parameter is used to determine the number of parts into which the first data block is divided;
[0133] The second parameter is used to determine the value of N;
[0134] The third parameter is used to determine the distribution of the degrees of freedom.
[0135] For ease of understanding, the above parameters are described below.
[0136] 1) The first parameter
[0137] The first parameter can be used to determine the number of parts into which the first data block is divided, that is, the value of K.
[0138] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
[0139] In a specific implementation, when the first parameter is the number of segments of the first data block, the first communication device may directly determine the value of the first parameter as the number of segments of the first data block. Exemplarily, assuming that the value of the first parameter is 5, the number of segments of the first data block is 5, and the first communication device may evenly divide the first data block into 5 data sub-blocks.
[0140] In the case where the first parameter is the maximum number of divisible portions of the first data block, the first communication device may select any positive integer less than or equal to the value of the first parameter as the number of portions of the first data block. Exemplarily, assuming that the value of the first parameter is 5, the first communication device may determine that the number of portions of the first data block is 3, and the first data block is evenly divided into 3 data sub-blocks.
[0141] 2) Second parameter
[0142] The second parameter can be used to determine the value of N.
[0143] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0144] In a specific implementation, when the second parameter is the number of coding sub-blocks corresponding to the first data block, the first communication device may directly determine the value of the second parameter as the value of N. Exemplarily, assuming that the value of the second parameter is 10, the value of N is 10. At this time, for the first data block, the first communication device may generate 10 coding sub-blocks, that is, the first data block corresponds to 10 coding sub-blocks.
[0145] In the case where the second parameter is the maximum number of coding sub-blocks corresponding to the first data block, the first communication device may select any positive integer less than or equal to the value of the second parameter as the value of N. Exemplarily, assuming that the value of the second parameter is 10, the first communication device may determine that the value of N is 8. At this time, for the first data block, the first communication device may generate 8 coding sub-blocks, that is, the first data block corresponds to 8 coding sub-blocks.
[0146] 3) The third parameter
[0147] The third parameter may be used to determine the distribution of the degrees of freedom.
[0148] As can be seen from the above, the distribution of the degree of freedom d is related to K, c and δ. The value of K can be determined by the first parameter, so the third parameter can be used to determine c and δ.
[0149] 4) Pseudo-random code seed
[0150] The pseudo-random code seed may be used to determine column vector information corresponding to the coding sub-block.
[0151] It should be noted that in practical applications, when the communication device determines the column vector information corresponding to the coding sub-block according to the pseudo-random code seed, it also needs to combine the distribution of the degree of freedom d. In other words, the pseudo-random code seed determines the column vector information corresponding to the coding sub-block based on the distribution of the degree of freedom d.
[0152] In a first implementation manner, the column vector information may include the degree of freedom of the column vector and the numbers of the elements with values of 1 in the column vector.
[0153] In a first implementation, the pseudo-random code seed may include a first pseudo-random code seed and a second pseudo-random code seed, wherein the first pseudo-random code seed is used to generate the degrees of freedom of the column vector corresponding to the coding sub-block, and the second pseudo-random code seed is used to generate the number of elements with a value of 1 in the column vector corresponding to the coding sub-block.
[0154] It can be seen from the above content that the first pseudo-random code seed and the second pseudo-random code seed have different functions, and therefore, the first pseudo-random code seed and the second pseudo-random code seed can be regarded as different types of pseudo-random code seeds.
[0155] In specific implementation, optionally, different types of pseudo-random code seeds may be expressed in different forms, such as: the first pseudo-random code seed may be expressed as Arabic numerals, and the second pseudo-random code seed may be expressed as English letters. In this way, the communication device can distinguish different types of pseudo-random code seeds. Of course, the above method is only an example. In actual applications, different types of pseudo-random code seeds may also be distinguished by other methods, and the embodiments of the present invention do not limit this.
[0156] In specific implementation, the first pseudo-random code seed can generate N values, each value represents the value of the degree of freedom of a column vector; the second pseudo-random code seed can generate N groups of values, each group of values includes V values, the value of V is equal to the number of elements with a value of 1 in the column vector, and each value in the V values represents the number of the element with a value of 1 in the column vector.
[0157] Exemplarily, when the value of K is 5, assuming that the value sequence generated by the first pseudo-random code seed is 2; 3; 5; 5; 1; 2, the value sequence generated by the second pseudo-random code seed is: 1, 2; 1, 3, 5; 1, 2, 3, 4, 5; 1, 2, 3, 4, 5; 3; 4, 5.
[0158] Then, the first communication device can determine that the value of N is 6 based on the first pseudo-random code seed, the coding matrix includes 6 column vectors, and the degree of freedom of the first column vector is 2, the degree of freedom of the second column vector is 3, the degree of freedom of the third column vector is 5, the degree of freedom of the fourth column vector is 5, the degree of freedom of the fifth column vector is 1, and the degree of freedom of the sixth column vector is 2.
[0159] The second communication device can determine, based on the second pseudo-random code seed, that the values of the first element and the second element in the first column vector are 1, and the values of the remaining elements are 0; the values of the first element, the third element and the fifth element in the first column vector are 1, and the values of the remaining elements are 0; the values of all elements in the third column vector and the fourth column vector are 1; the value of the third element in the fifth column vector is 1, and the values of the remaining elements are 0; the values of the fourth element and the fifth element in the sixth column vector are 1, and the values of the remaining elements are 0.
[0160] Based on the above, the first communication device may generate a coding matrix M:
[0161]
[0162] Assuming that the first data block is 11001, based on the acquired value of K of 5, the first communication device can generate P = [1 1 0 0 1].
[0163] In this way, the first communication device generates 6 coding sub-blocks based on the first data block:
[0164]
[0165] It should be noted that, for first pseudo-random code seeds with different values, the N values generated are different, but the N values all obey the distribution of the degree of freedom d.
[0166] For example, assuming that d follows a normal distribution, the values can be 1; 3; 5; 5; 2, etc. according to the distribution probability of d.
[0167] If the first pseudo-random code seed is 2, the value sequence that can be obtained based on the first pseudo-random code seed is 2; 3; 5; 5; 1.
[0168] If the first pseudo-random code seed is 3, the value sequence that can be obtained based on the first pseudo-random code seed is 2; 3; 1; 2; 1.
[0169] It can be seen that the first pseudo-random code seed can be used to determine the degree of freedom corresponding to the coding sub-block.
[0170] Similarly, for the second pseudo-random code seeds with different values, the N groups of values generated may be different.
[0171] In the second implementation manner, the column vector information may be a column vector.
[0172] In a second implementation, the pseudo-random code seed may be used to generate N column vectors. In this way, the first communication device may generate a coding matrix M based on the generated N column vectors; in addition, the first communication device may determine the value of K based on the number of elements included in any column vector of the generated N column vectors, and generate a first data block P. Then, N coding sub-blocks of the first data block are generated.
[0173] It can be seen that when the network coding parameters include the pseudo-random code seed, the second communication device can autonomously determine the column vector corresponding to the coding sub-block based on the pseudo-random code seed, thereby reducing the signaling overhead between the first communication device and the second communication device compared to the second communication device determining the column vector corresponding to the coding sub-block based on the indication of the first communication device.
[0174] 4) Number
[0175] The number is the number of the network coding parameter combination, which can be used to indicate the network coding parameter combination. The network coding parameter combination may include at least two of the following: a first parameter, a second parameter, and a third parameter.
[0176] In practical applications, the first communication device may store P network coding parameter combinations. The first communication device may determine L network coding parameter combinations among the P network coding parameter combinations based on L numbers.
[0177] It is assumed that the network coding parameter combination includes a first parameter, a second parameter and a third parameter.
[0178] Then, when L is 1, the first communication device can determine the values of K, N, c and δ.
[0179] When L is greater than 1, the first communication device can autonomously select a target number from the L numbers, and then determine the values of K, N, c and δ according to the target coding parameter combination corresponding to the target number.
[0180] From the above content, we can know that the value of K can be obtained by any of the following methods:
[0181] Acquisition method 1: Acquire the value of K according to the first parameter.
[0182] Acquisition method two: acquiring the value of K according to the serial number of the network coding parameter combination, where the network coding parameter combination includes the first parameter.
[0183] The value of N can be obtained in any of the following ways:
[0184] Acquisition method three: obtain the value of N according to the second parameter.
[0185] Acquisition method four: acquiring the value of N according to the serial number of the network coding parameter combination, where the network coding parameter combination includes the second parameter.
[0186] The values of c and δ can be obtained according to the third parameter.
[0187] In this embodiment, the purpose of the first communication device acquiring the network coding parameters is to generate a first data block P and a coding matrix M, and then generate N coding sub-blocks of the first data block according to the generated first data block P and the coding matrix M.
[0188] For the first data block P, the first communication device can generate the first data block P after obtaining the value of K.
[0189] For the encoding matrix M, it can be generated according to K, N, c and δ.
[0190] In summary, any of the following network coding parameters can enable the first communication device to generate a first data block P and a coding matrix M, and then generate N coding sub-blocks of the first data block based on the generated first data block P and the coding matrix M.
[0191] Expression form 1: the network coding parameters include L first parameters, L second parameters and a third parameter.
[0192] For the network coding parameters in expression form one, when L is greater than 1, the first communication device can select a first parameter from L first parameters, and then determine the value of K based on the first parameter; can select a second parameter from L second parameters, and then determine the value of N based on the second parameter.
[0193] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters. Specifically, the L second parameters correspond to the L first parameters in a one-to-one relationship. In this way, the first communication device can only select the first parameter or the second parameter, and then determine the other one of the first parameter and the second parameter based on the above correspondence, thereby simplifying the selection operation of the first communication device.
[0194] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0195] Further, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0196] The Q third parameters correspond to the L first parameters;
[0197] The Q third parameters correspond to the L second parameters.
[0198] In the case where the Q third parameters correspond to the L first parameters, if the value of Q is less than the value of L, one of the L first parameters may correspond to one of the Q third parameters, or may correspond to two or more of the Q third parameters; if the value of Q is equal to the value of L, one of the L first parameters corresponds to one of the Q third parameters. In this case, the first communication device may determine the third parameter based on the determined first parameter.
[0199] Similarly, in the case where the Q third parameters correspond to the L second parameters, if the value of Q is less than the value of L, one of the L second parameters may correspond to one of the Q third parameters, or may correspond to two or more of the Q third parameters; if the value of Q is equal to the value of L, one of the L second parameters corresponds to one of the Q third parameters. In this case, the first communication device may determine the third parameter based on the determined second parameter.
[0200] In the second expression, the network coding parameters include L numbers.
[0201] For the network coding parameters in the second representation, when the network coding parameter combination includes the first parameter, the second parameter and the third parameter, the network coding parameters may only include L numbers.
[0202] In the case where the network coding parameter combination includes the first parameter and the third parameter, the network coding parameter may further include L second parameters.
[0203] In the case where the network coding parameter combination includes the first parameter and the second parameter, the network coding parameter may further include a third parameter.
[0204] In the case where the network coding parameter combination includes the second parameter and the third parameter, the network coding parameter may further include L first parameters.
[0205] For the network coding parameters in the second representation, when L is greater than 1, the first communication device may first select one of the L parameters, and then generate N coding sub-blocks based on the selected parameter.
[0206] It should be noted that, in practical applications, the value of N determined by the first communication device may optionally be greater than the value of K to improve the reliability of data block transmission. Exemplarily, assuming that the network coding parameters include 1 first parameter and 1 second parameter, the first parameter is the maximum number of divisible parts of the first data block, the second parameter is the maximum number of coded sub-blocks corresponding to the first data block, and the values of the first parameter and the second parameter are both 10, then the value of K determined by the first communication device may be 3, and the value of N may be 6.
[0207] The network coding parameters in the above-mentioned form are only examples, and any network coding parameters that can enable the first communication device to generate a first data block P and a coding matrix M, and then generate N coding sub-blocks of the first data block based on the generated first data block P and the coding matrix M, can fall within the protection scope of the embodiments of the present invention.
[0208] In a specific implementation, when generating the coding matrix M, the first communication device may first determine the distribution of the degree of freedom d according to K, c and δ, and then generate the coding matrix M according to the distribution of the degree of freedom d, K and N.
[0209] After determining the distribution of the degrees of freedom d, K, and N, in order to generate the encoding matrix M, it is necessary to determine the degrees of freedom corresponding to the N column vectors in the encoding matrix and the number of the elements with a value of 1 in each of the N column vectors.
[0210] In the first implementation, the first communication device can autonomously determine the degrees of freedom corresponding to the N column vectors in the coding matrix and the number of the elements with a value of 1 in each of the N column vectors according to the distribution of the degrees of freedom d.
[0211] In the second implementation, after determining the distribution of the degrees of freedom d, the first communication device may generate the degrees of freedom of N column vectors and the numbers of the elements of each column vector whose value is 1 in the N column vectors based on a pseudo-random code seed.
[0212] It can be understood that when the first communication device determines the degrees of freedom corresponding to the N column vectors in the coding matrix and the number of elements with a value of 1 in each of the N column vectors according to the second embodiment, the network coding parameters in the above-mentioned expression form one and expression form two may also include a pseudo-random code seed.
[0213] It should be noted that, for the first embodiment, since the degrees of freedom corresponding to the N column vectors in the coding matrix and the number of elements with values 1 in each of the N column vectors are independently determined by the first communication device, in order for the second communication device to successfully decode, the first communication device should indicate to the second communication device the degrees of freedom corresponding to the N column vectors in the determined coding matrix and the number of elements with values 1 in each of the N column vectors.
[0214] For the second embodiment, since the degrees of freedom corresponding to the N column vectors in the coding matrix and the number of elements with values of 1 in each of the N column vectors are determined by a pseudo-random code seed, the second communication device can determine the degrees of freedom corresponding to the N column vectors in the coding matrix and the number of elements with values of 1 in each of the N column vectors by obtaining the pseudo-random code seed without the need for instructions from the first communication device, thereby reducing the signaling overhead between the first communication device and the second communication device.
[0215] The following describes the header of the coded sub-block.
[0216] Optionally, when L is 1, the header of a first coding sub-block among the N coding sub-blocks includes a first set field, and the first set field includes at least one of the following:
[0217] A first field is used to indicate the number of parts into which the first data block is divided;
[0218] The second field is used to indicate the serial number of the first data block;
[0219] The third field is used to indicate the number of the first coding sub-block;
[0220] A fourth field is used to indicate column vector information corresponding to the first coding sub-block;
[0221] The fifth field is used to indicate the data length of the first coding sub-block.
[0222] Optionally, when L is greater than 1, the header of the first coding sub-block among the N coding sub-blocks includes a second set field, and the second set field includes at least one of the following:
[0223] A first field is used to indicate the number of parts into which the first data block is divided;
[0224] A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block;
[0225] The seventh field is used to indicate the target number among the L numbers;
[0226] The second field is used to indicate the serial number of the first data block;
[0227] The third field is used to indicate the number of the first coding sub-block;
[0228] A fourth field is used to indicate column vector information corresponding to the first coding sub-block;
[0229] The fifth field is used to indicate the data length of the first coding sub-block.
[0230] For ease of understanding, the above fields are described below.
[0231] 1) First Domain
[0232] The first field is used to indicate the number of partitions of the first data block, that is, the value of K. It can be seen that the first communication device can explicitly indicate the value of K by carrying the first field in the header of the coding sub-block.
[0233] 2) Second Domain
[0234] The second domain is used to indicate the number of the first data block. In practical applications, the first communication device may send two or more data blocks to the second communication device. In this case, the first communication device sends coding sub-blocks with different data blocks. Therefore, in order to facilitate the second communication device to accurately identify the coding sub-blocks corresponding to the same data block, the first communication device may carry a second domain in the header of each coding sub-block to indicate the number of the data block corresponding to the coding sub-block.
[0235] 3) The Third Domain
[0236] The third field is used to indicate the number of the first coding sub-block. In practical applications, the value of N is generally greater than 1. As can be seen from the foregoing content, the column vectors in the coding matrix corresponding to different coding sub-blocks are different. Therefore, in order to facilitate the second communication device to accurately determine the column vector corresponding to each coding sub-block, the first communication device can carry a third field in the header of each coding sub-block to indicate the number of the coding sub-block.
[0237] 4) The Fourth Domain
[0238] The fourth field is used to indicate the column vector information corresponding to the first coding sub-block. Specifically, the fourth field can be used to indicate the degree of freedom of the column vector corresponding to the first coding sub-block, and the number of elements in the column vector whose value is 1. In this way, the second communication device can obtain the column vector corresponding to the first coding sub-block based on the fourth field and the value of K.
[0239] 5) Fifth Domain
[0240] The fifth field is used to indicate the data length of the first coding sub-block.
[0241] 6) The Sixth Domain
[0242] The sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of splits of the first data block. In practical applications, the protocol may agree on the corresponding relationship between the fourth parameter and K. For example, if the value of the fourth parameter is 1, the value of K corresponding to the fourth parameter is 4; if the value of the fourth parameter is 2, the value of K corresponding to the fourth parameter is 5. In this way, the second communication device may determine the value of K based on the fourth parameter indicated by the sixth field and the above-mentioned corresponding relationship.
[0243] 7) Seventh Domain
[0244] The seventh field is used to indicate a target number among the L numbers, and the target number indicates a network coding parameter combination among the P network coding parameter combinations. It should be understood that the target network coding parameter combination corresponding to the target number is a parameter used by the first communication device to generate the N coding sub-blocks. In this way, the second communication device can determine the value of K based on the target number indicated by the seventh field.
[0245] From the above content, it can be seen that the first field, the sixth field and the seventh field can all be used to determine the value of K. It can be seen that the first communication device can explicitly indicate the value of K by carrying the first field, the sixth field or the seventh field in the header of the coding sub-block.
[0246] It should be noted that, in other implementations, the first communication device may also implicitly indicate the value of K. Optionally, when L is greater than 1, the size of the first coding sub-block in the N coding sub-blocks corresponds to any one of the following:
[0247] The number of splits of the first data block;
[0248] The number of the network coding parameter combination corresponding to the number of divisions of the first data block.
[0249] In this optional implementation, the value of K is different, and the size of the coding sub-block is different. Specifically, the value of K may be negatively correlated with the size of the coding sub-block, that is, the smaller the value of K is, the larger the size of the coding sub-block is, anyway, the smaller it is. In practical applications, the sizes of different coding sub-blocks corresponding to the same data block may be the same. Therefore, the first communication device may determine the value of K corresponding to the data block based on the size of any coding sub-block corresponding to the same data block.
[0250] It should be understood that the above implicit indication method is only an example, and other implicit indication methods of the value of K may fall within the protection scope of the embodiments of the present invention.
[0251] In this embodiment, when the protocol defines or the network (pre) configures multiple optional network coding layer parameters, such as L first parameters, the header of the network coding layer or the subheader of the network coding sublayer may explicitly indicate the parameters used, or the network coding layer parameters may be implicitly indicated.
[0252] It should be noted that the first coding sub-block can be understood as any coding sub-block of the N coding sub-blocks.
[0253] In addition, the headers of different coding sub-blocks in the N coding sub-blocks may be the same or different. Exemplarily, since one data block corresponds to one K value, a coding sub-block corresponding to the data block may carry the first field to indicate the K value, and other coding sub-blocks corresponding to the data block may not carry the first field.
[0254] In practical applications, it can be known from the foregoing that if the second communication device determines to obtain the column vector corresponding to the received coding sub-block through the foregoing implementation mode 1, the header of the coding sub-block may include the fourth field. If the second communication device determines to obtain the column vector corresponding to the received coding sub-block through the foregoing implementation mode 2, the header of the coding sub-block may not include the fourth field, thereby reducing the signaling overhead between the first communication device and the second communication device.
[0255] It can be seen from the foregoing that the first communication device can perform network coding on the data block through the target layer. In practical applications, the target layer can be:
[0256] The first layer in the Radio Access Network (RAN) protocol stack, or
[0257] The second layer in the RAN protocol stack;
[0258] Among them, the first layer can be regarded as an existing layer in the RAN protocol stack, such as the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, the Backhaul Adaptation Protocol (BAP) layer, the Medium Access Control (MAC) layer, and the physical (PHY) layer; the second layer can be regarded as a newly added layer in the RAN protocol stack.
[0259] The following describes the cases where the target layer is the first layer and the case where the target layer is the second layer.
[0260] Case 1: the target layer is the first layer.
[0261] Optionally, the first layer includes a network coding sublayer, the first target indication field is generated by the network coding sublayer, and the first target set field is the first set field or the second set field.
[0262] In case one, the first communication device performs network coding on the data block through the network coding sublayer of the first layer to generate a coding subblock.
[0263] Since the target layer is an existing layer, optionally, the header of the first coding sub-block may further include a third set field, where the third set field is generated by other sub-layers in the target layer except the network coding sub-layer.
[0264] In this case, the header of the coding sub-block includes a first target set field and a third set field, the first target set field can be regarded as the first sub-header of the coding sub-block, and the third set field can be regarded as the second sub-header of the coding sub-block. The third set field is generated by other sub-layers in the first layer except the network coding sub-layer, and the second sub-header can be regarded as the header of the original first layer. Exemplarily, if the first layer is the PDCP layer, the second sub-header can be regarded as the header of the PDCP layer.
[0265] Further, the third set domain is located before the first target set domain, or the third set domain is located after the first target set domain.
[0266] In the case that the third set domain is located before the first target set domain, the first layer first performs network coding processing to generate the first target set domain, and then performs existing processing of the first layer to generate the third set domain.
[0267] In the case that the third set domain is located after the first target set domain, the first layer first performs the existing processing of the first layer to generate the third set domain, and then performs network coding processing to generate the first target set domain.
[0268] Case 2: the target layer is the second layer.
[0269] In case 2, the target layer is an independent layer, so the header of the coding sub-block may only include the first target set field.
[0270] In practical applications, the target layer can be set between any two layers in the existing layers of the RAN protocol stack.
[0271] Optionally, the network coding layer satisfies any of the following:
[0272] The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer;
[0273] The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
[0274] See also Figure 2 , Figure 2 This is the second flowchart of the data processing method provided by the embodiment of the present invention. Figure 2 The data processing method shown can be applied to the second communication device.
[0275] like Figure 2 As shown, the data processing method of this embodiment includes the following steps:
[0276] Step 201: When M coding sub-blocks corresponding to a first data block are received, M column vectors corresponding to the M coding sub-blocks are obtained, where each column vector includes K elements, K is the number of partitions of the first data block, and M is a positive integer less than or equal to the number N of coding sub-blocks generated based on the first data block.
[0277] Step 202: Generate a first matrix, where the first matrix includes the M column vectors.
[0278] Step 203: When the first matrix is a full-rank matrix, restore the first data block according to the first matrix and the M coding sub-blocks.
[0279] In a specific implementation, when the second communication device executes the above step 201, the number of coded sub-blocks of the received first data block may be greater than or equal to M.
[0280] In the case that the number of coding sub-blocks of the received first data block may be greater than M, the second communication device may select M coding sub-blocks from the received coding sub-blocks, and determine whether the matrix generated by the M column vectors corresponding to the M coding sub-blocks is a row full rank matrix, until the coding sub-blocks that make the row of the first matrix full rank are found.
[0281] The recovering the first data block according to the first matrix and the M coding sub-blocks may specifically include: obtaining data sub-blocks corresponding to the first data block according to the first matrix and the M coding sub-blocks, and then combining the obtained array sub-blocks in sequence to obtain the first data block.
[0282] It should be noted that, in practical applications, the second communication device may perform the above steps through a target layer, wherein the target layer may refer to the above description and will not be described in detail here.
[0283] Optionally, obtaining M column vectors corresponding to the M coding sub-blocks includes:
[0284] Obtain, according to first information, M column vectors corresponding to the M coding sub-blocks, where the first information includes any one of the following:
[0285] A pseudo-random code seed in the network coding parameters, wherein the pseudo-random code seed is used to determine column vector information corresponding to the coding sub-block;
[0286] The fourth field in the header of each coding sub-block in the M coding sub-blocks, the fourth field in the header of each coding sub-block is used to indicate the column vector information corresponding to the coding sub-block.
[0287] Optionally, the network coding parameter further includes at least one of the following: L first parameters, L second parameters, a third parameter, and L numbers, where L is a positive integer;
[0288] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0289] The first parameter is used to determine the number of parts into which the first data block is divided;
[0290] The second parameter is used to determine the value of N;
[0291] The third parameter is used to determine the distribution of the degrees of freedom.
[0292] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0293] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0294] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0295] The Q third parameters correspond to the L first parameters;
[0296] The Q third parameters correspond to the L second parameters.
[0297] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
[0298] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0299] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0300] Optionally, the network coding parameter is determined according to at least one of a protocol agreement and configuration information sent by a third communication device.
[0301] Optionally, the header of the second coding sub-block in the M coding sub-blocks further includes a fourth set field, and the fourth set field includes at least one of the following:
[0302] A first field is used to indicate the number of parts into which the first data block is divided;
[0303] The second field is used to indicate the serial number of the first data block;
[0304] The third field is used to indicate the number of the second coding sub-block;
[0305] The fifth field is used to indicate the data length of the second coding sub-block.
[0306] Optionally, the header of the second coding sub-block in the M coding sub-blocks further includes a fifth set field, and the fifth set field includes at least one of the following:
[0307] A first field is used to indicate the number of parts into which the first data block is divided;
[0308] A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block;
[0309] The seventh field is used to indicate a target number, where the target number indicates a target network coding parameter combination among P network coding parameter combinations, where P is a positive integer;
[0310] The second field is used to indicate the serial number of the first data block;
[0311] The third field is used to indicate the number of the second coding sub-block;
[0312] The fifth field is used to indicate the data length of the second coding sub-block.
[0313] Optionally, in a case where the second target set field is generated by a network coding sublayer in a first layer in the RAN protocol stack, the header of the second coding sub-block further includes a sixth set field, and the sixth set field is generated by other sublayers in the first layer except the network coding sublayer;
[0314] The second target set domain is the fourth set domain or the fifth set domain.
[0315] Optionally, the sixth set domain is located before the second target set domain, or the third set domain is located after the second target set domain.
[0316] In the data processing method of this embodiment, the second communication device can decode and obtain the first data block based on the received coding sub-block. It can be seen that the embodiment of the present invention adopts network coding to realize the transmission of the first data block from the first communication device to the second communication device, thereby reducing the redundancy of data transmission while ensuring the reliability of data transmission, thereby improving the spectrum utilization.
[0317] It should be noted that this embodiment is Figure 1 The corresponding method embodiment corresponds to the embodiment of the second communication device, therefore, refer to Figure 1 The relevant descriptions in the corresponding method embodiments can achieve the same beneficial effects. In order to avoid repeated descriptions, they will not be repeated here.
[0318] See also Figure 3 , Figure 3 This is one of the flow charts of the configuration method provided in the embodiment of the present invention. Figure 3 The configuration method shown can be applied to a third communication device.
[0319] like Figure 3 As shown, the configuration method of this embodiment includes the following steps:
[0320] Step 301: Send configuration information for configuring network coding parameters, where the network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer.
[0321] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0322] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0323] The first parameter is used to determine the number of partitions of the data block;
[0324] The second parameter is used to determine the value of N;
[0325] The third parameter is used to determine the distribution of the degrees of freedom.
[0326] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0327] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0328] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0329] The Q third parameters correspond to the L first parameters;
[0330] The Q third parameters correspond to the L second parameters.
[0331] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts into which the first data block is divided.
[0332] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0333] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0334] In the configuration method of this embodiment, the third communication device can configure the network coding parameters by sending configuration information, so that the first communication device and the second communication device can perform network coding and decoding on the data block based on the network coding parameters, thereby reducing the redundancy of data transmission while ensuring the reliability of data transmission, thereby improving spectrum utilization.
[0335] It should be noted that this embodiment is Figure 1 The corresponding method embodiment corresponds to the embodiment of the third communication device, therefore, please refer to Figure 1 The relevant descriptions in the corresponding method embodiments can achieve the same beneficial effects. In order to avoid repeated descriptions, they will not be repeated here.
[0336] It should be noted that the various optional implementations introduced in the embodiments of the present invention may be implemented in combination with each other or may be implemented separately if they do not conflict with each other, and the embodiments of the present invention are not limited to this.
[0337] For ease of understanding, the following examples are provided:
[0338] Network Coding (NWC) can be a completely new protocol layer or an extended sublayer of a layer in an existing protocol stack. The present invention designs network coding for protocol design and related signaling design for RAN data transmission, including "network coding parameter configuration" and "NWC header design". The configuration can be configured according to the communication device, or according to the MAC entity, cell group or LCH / LCG of the communication device. A consistent network coding can be configured, or multiple network codings can be configured to provide flexibility for selection according to the situation.
[0339] For the sake of simplicity, in the detailed description below, it is assumed that network coding is configured per LCH (ie per LCH). However, these solutions can be extended to situations where network coding is configured per MAC entity, cell group or LCG of a communication device, and these applications are also included in the scope of protection of the present invention.
[0340] As an example, Figure 4 A flow chart of the network control unit for network coding configuration according to LCH is given; Figure 5 A flow chart of the initiator for network coding configuration according to LCH is given; Figure 6 A flow chart of network coding configuration according to LCH is given.
[0341] Figure 4 The following steps are involved:
[0342] Step 401: The network control unit configures the LCH network coding parameters at the transmitting end.
[0343] Step 402: The network control unit configures the receiving end LCH network coding parameters.
[0344] In practical applications, the LCH network coding parameters of the transmitting end and the LCH network coding parameters of the receiving end configured by the network control unit may be the same or different.
[0345] Figure 5 The following steps are involved:
[0346] Step 501: Receive a network coding parameter of an LCH of a communication device.
[0347] Step 502: Determine the header format of the coding sub-block.
[0348] Step 503: Perform network coding processing on the data block of the LCH according to the network coding parameters of the LCH and the header format of the coding sub-block to generate a coding sub-block.
[0349] Step 504: Send the coded sub-block generated by the LCH.
[0350] Figure 6 The following steps are involved:
[0351] Step 601: Receive a network coding parameter of an LCH of a communication device.
[0352] Step 602: Determine the header format of the coding sub-block.
[0353] Step 603: Receive the coding sub-block of the LCH.
[0354] Step 604: decode the received coding sub-block of the LCH according to the network coding parameters of the LCH and the header format of the coding sub-block to recover the data block.
[0355] It should be noted that, in some implementations, the receiving end may directly decode the received coding sub-block of the LCH according to the header format of the coding sub-block to recover the data block. Therefore, in these implementations, the network control unit may not perform step 401, and the receiving end may not perform step 604.
[0356] It should be noted that the header format of the coding sub-block may be pre-agreed upon by the protocol. Specifically, the header format of the coding sub-block may include at least one of the aforementioned first to seventh fields.
[0357] 1. The NWC layer is added between any two layers in the existing RAN protocol stack.
[0358] When the configuration of the network coding parameters is in a one-to-one correspondence with the LCH.
[0359] The configuration of network coding includes one or more of the following parameters:
[0360] The protocol defines or the network (pre) configures the fixed number of shares K (or the maximum number of shares that can be divided Kmax) into which the original data block is equally divided;
[0361] The number of codes N (or the maximum number of coded sub-blocks Nmax) generated by encoding an original data block is defined by the protocol or (pre)configured by the network;
[0362] "Encoding matrix parameters" are used to generate the encoding matrix, including at least one of the following parameters: relevant parameters of the protocol definition or network (pre)configuration freedom d, and the distribution of d is generated locally based on the relevant parameters;
[0363] The protocol-defined or network (pre-)configured pseudo-random code seed (equipped at both the transmitting and receiving ends) is used to generate the number of the original data sub-block required for encoding the coding sub-block;
[0364] The protocol defines or the network (pre) configures a network coding parameter combination number, where the "parameter combination" includes a K value, an N value, and related parameters for coding matrix generation; different "parameter combination numbers" correspond to different network coding parameter configurations.
[0365] The network coding layer header may contain at least one of the following fields:
[0366] The number of equal parts K into which the original data block is actually divided;
[0367] The index of the network coding layer raw data block (NWC SDU);
[0368] The number of the encoded packet generated after encoding;
[0369] The sending end carries the number of the original data sub-block used when encoding the coding sub-block in the NWC header of each coding sub-block;
[0370] The data length of the coded sub-block.
[0371] When the configuration of network coding parameters has a many-to-one relationship with LCH / CG.
[0372] The configuration of network coding includes one or more of the following parameters:
[0373] The protocol defines or the network (pre) configures L (L>=1) equal parts of the original data: K1, K2, ..., KL;
[0374] The number of codes N1, N2, ..., NL (or the maximum number of coded sub-blocks Nmax) generated by encoding an original data block corresponding to K1, K2, ..., KL as defined by the protocol or (pre)configured by the network;
[0375] The protocol defines or the network (pre) configures the "coding matrix parameters". The "coding matrix parameters" are related parameters for generating the degree of freedom d. The distribution of d is generated locally based on the related parameters. For different K values and N values, the same "coding matrix parameters" can be configured, or different "coding matrix parameters" can be configured for different K values (or K value combinations) or N values (or N value combinations). If it is the latter, the "coding matrix parameters" used can be implicitly indicated by the value of K or the value of N.
[0376] The protocol-defined or network (pre-)configured pseudo-random code seed (equipped at both the transmitting and receiving ends) is used to generate the number of the original data sub-block required for encoding the coding sub-block;
[0377] The protocol defines or the network (pre) configures multiple "network coding parameter combination numbers", where a "parameter combination" includes a K value, an N value, and a "coding matrix parameter"; different "parameter combination numbers" correspond to different network coding parameter configurations.
[0378] When the protocol defines or the network (pre)configures multiple optional parameters, the network coding layer header can explicitly indicate the parameters used. With this in mind, the network coding layer header can contain one or more of the following fields:
[0379] The number of equal parts Kl of the original data block (assuming there are L (L>=1) options in total, select the lth one from K1, K2, KL; select a maximum number of equal parts Kmax from the L maximum numbers of equal parts Kmax, and then determine the specific number of equal parts Kl);
[0380] "Network coding matrix number": used to indicate the K value actually selected from L candidate values (a "network coding matrix index" in the header is used to indicate the selected K value. If the index indication method is used, the relationship between the K value and the index needs to be defined by the protocol or configured by the network. For example, there is a list of K values: l = 1 corresponds to K = 4; l = 2 corresponds to K = 5);
[0381] "Network coding parameter combination number": used to indicate the value of the actual number of shares K taken when the original data is equally divided;
[0382] The index of the original data block (Service Data Unit, SDU) of the NWC;
[0383] The number of the encoded packet generated after encoding;
[0384] The sending end carries the number of the original data sub-block corresponding to the coding sub-block in the NWC header of each coding sub-block;
[0385] The data length of the coded sub-block.
[0386] When a plurality of optional network coding layer parameters are defined by the protocol or (pre-)configured in the network, the network coding layer parameters may be implicitly indicated. In this case, the network coding layer header is not required to indicate the selected parameters with additional information.
[0387] As an example of implicit indication, the size of the received coding sub-block may be used to indicate the network coding layer parameters used (assuming that different network coding layer parameters correspond to different coding block sizes).
[0388] 2. Optionally, the NWC layer may be an extended sublayer of any layer among PDCP, BAP or RLC in the existing RAN protocol stack.
[0389] At this time, the NWC header can be regarded as an extension of the PDCP, BAP or RLC header.
[0390] When NWC is an extended sublayer of a layer, the required design and configuration are the same as those in the first example. However, in the first example, the NWC header is called an independent header, while in the second example, the NWC header plus the header that the layer originally needs to add to process the data is the final header of the layer. Therefore, in the second example, the NWC header can be regarded as a subheader.
[0391] Embodiment 1
[0392] like Figure 7 As shown, the NWC layer is newly added between the PDCP and RLC layers in the protocol stack.
[0393] a) Configuration of network coding parameters: When each logical channel (Logical Channel, LCH) is configured, and the configuration of the network coding parameters is in a one-to-one relationship with the LCH.
[0394] The network coding configuration contains the following parameters:
[0395] The number of equal parts K of the protocol definition or network (pre) configuration raw data;
[0396] The number of codes N defined by the protocol or (pre)configured by the network;
[0397] The protocol defines or the network (pre)configures the "encoding matrix parameters", i.e. the relevant parameters of the degree of freedom d, and the distribution of d is generated locally based on the relevant parameters;
[0398] The protocol defines or the network (pre) configures the pseudo-random code seed (equipped at both the sending and receiving ends) to generate the original data sub-block number corresponding to the coding sub-block;
[0399] b) Determine the network coding configuration
[0400] According to the determined distribution of K, N and d, a coding matrix is generated, the original data is encoded, and a header of the network coding layer is added before each coded sub-block.
[0401] c) Figure 8 This is an example diagram of the network coding layer header. The network coding layer header contains the following fields:
[0402] The number of parts K of the original data block;
[0403] The index of the network coding layer raw data block (NWC SDU);
[0404] The number of the encoded packet generated after encoding;
[0405] The data length of the coded sub-block.
[0406] Embodiment 2
[0407] like Fig. 9 As shown, the NWC layer is an extended sublayer of PDCP in the existing protocol stack.
[0408] The configuration of the network coding parameters is performed for each LCH, and the configuration of the network coding parameters and the LCH are in a many-to-one relationship.
[0409] a) The network coding configuration includes the following parameters:
[0410] The protocol defines L (L>=1) original data equal parts: K1, K2, ..., K L ;
[0411] Protocol definition and K1, K2, ..., K L The corresponding number of codes is N1, N2, ..., N L ;
[0412] Protocol definition and K1, K2, ..., K L The corresponding degrees of freedom d l The local generates d according to the relevant parameters l distribution.
[0413] b) Determine the network coding configuration
[0414] According to the packet size of the PDCP SDU, the lth K value among the L parameters defined by the protocol is determined, that is, K l ;
[0415] After determining l, the corresponding K can be obtained according to the value of l. l N l The value of , and the corresponding d l d l Distribution of
[0416] According to the determined K l , N l and lThe distribution of , generates the coding matrix, encodes the original data, and adds the header of the network coding layer before each coded sub-block.
[0417] c) The header of the network coding layer contains the following fields:
[0418] The number of equal parts of the original data is Kl (assuming there are L (L>=1) options in total, and the lth one is selected from K1, K2, and KL);
[0419] NWC SDU (service data unit) number (index);
[0420] The number of the encoded packet generated after encoding;
[0421] The transmitting end carries the number of the original data sub-block corresponding to each coding sub-block in the NWC header of the coding sub-block.
[0422] The data length of the coded sub-block.
[0423] d) Perform conventional PDCP layer processing on each coded sub-block after NWC processing. After processing, add a PDCP header in front of each coded sub-block. At this time, the NWC header can be regarded as an extension of the PDCP header, such as Fig.10 shown.
[0424] Embodiment three.
[0425] like Fig.11 As shown, the NWC layer is an extended sublayer of RLC in the existing IAB protocol stack.
[0426] a) The configuration of network coding parameters is performed for each LCH (logical channel), and the configuration of network coding parameters and LCH are in a many-to-one relationship.
[0427] The network coding configuration consists of the following parameters:
[0428] The protocol defines L (L>=1) original data equal parts: K1, K2, ..., K L ;
[0429] Protocol definition and K1, K2, ..., K L The corresponding number of codes is N1, N2, ..., N L ;
[0430] Protocol definition and K1, K2, ..., K L The corresponding degrees of freedom d lThe local generates d according to the relevant parameters l distribution.
[0431] b) Determine the network coding configuration
[0432] According to the packet size of the PDCP SDU, the lth K value among the L parameters defined by the protocol is determined, that is, K l ;
[0433] After determining l, the corresponding K can be obtained according to the value of l. l N l The value of , and the corresponding d l , and generate d l Distribution of
[0434] According to the determined K l , N l and l The distribution of , generates the coding matrix, encodes the original data, and adds the header of the network coding layer before each coded sub-block.
[0435] c) The header of the network coding layer contains the following fields:
[0436] The number of equal parts K taken to divide the original data l (Assume there are L (L>=1) options, from K1, K2, K L Select the first one);
[0437] NWC SDU (service data unit) number (index);
[0438] The number of the encoded packet generated after encoding;
[0439] The transmitting end carries the number of the original data sub-block corresponding to each coding sub-block in the NWC header of the coding sub-block.
[0440] The data length of the coded sub-block.
[0441] d) Perform conventional RLC layer processing on each coded sub-block after NWC processing. After processing, add an RLC header before each coded sub-block. At this time, the NWC header can be regarded as an extension of the RLC header, such as Fig.12 shown.
[0442] exist Figure 8 , Fig.10 and, Fig.12In the protocol data unit (PDU), D / C is used to indicate whether the PDU belongs to the data or control category; reserved (R); and sequence number (SN).
[0443] It should be noted that the embodiments of the present invention are applicable to data transmission in wireless circuits of IAB nodes, between UE and service base station, and in sidelink wireless connections between UEs.
[0444] The present invention provides a design scheme of a "network coding layer", designs the signaling configuration of network coding (the indication method of important parameters in network coding), and the fields carried in the header of the SDU passing through the network coding layer. According to the defined rules, network coding can be effectively applied in the current communication system, so that the method of data transmission using "network coding" has the beneficial effects of low latency and high spectrum utilization.
[0445] See also Fig.13 , Fig.13 This is one of the structural diagrams of the communication device provided in the embodiment of the present invention. Fig.13 The communication device shown is the first communication device of the embodiment of the present invention. Fig.13 As shown, the communication device 1300 includes:
[0446] The first acquisition module 1301 is used to acquire network coding parameters;
[0447] A first generating module 1302 is configured to generate N coding sub-blocks of a first data block through a target layer according to the network coding parameter, where N is a positive integer;
[0448] The first sending module 1303 is configured to send the N coding sub-blocks to a second communication device.
[0449] Optionally, the network coding parameter includes at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer;
[0450] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0451] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0452] The first parameter is used to determine the number of parts into which the first data block is divided;
[0453] The second parameter is used to determine the value of N;
[0454] The third parameter is used to determine the distribution of the degrees of freedom.
[0455] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0456] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0457] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0458] The Q third parameters correspond to the L first parameters;
[0459] The Q third parameters correspond to the L second parameters.
[0460] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
[0461] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0462] Optionally, when L is greater than 1, the size of the first coding sub-block among the N coding sub-blocks corresponds to any one of the following:
[0463] The number of splits of the first data block;
[0464] The number of the network coding parameter combination corresponding to the number of divisions of the first data block.
[0465] Optionally, when L is 1, the header of a first coding sub-block among the N coding sub-blocks includes a first set field, and the first set field includes at least one of the following:
[0466] A first field is used to indicate the number of parts into which the first data block is divided;
[0467] The second field is used to indicate the serial number of the first data block;
[0468] The third field is used to indicate the number of the first coding sub-block;
[0469] A fourth field is used to indicate column vector information corresponding to the first coding sub-block;
[0470] The fifth field is used to indicate the data length of the first coding sub-block.
[0471] Optionally, when L is greater than 1, the header of the first coding sub-block among the N coding sub-blocks includes a second set field, and the second set field includes at least one of the following:
[0472] A first field is used to indicate the number of parts into which the first data block is divided;
[0473] A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block;
[0474] The seventh field is used to indicate the target number among the L numbers;
[0475] The second field is used to indicate the serial number of the first data block;
[0476] The third field is used to indicate the number of the first coding sub-block;
[0477] A fourth field is used to indicate column vector information corresponding to the first coding sub-block;
[0478] The fifth field is used to indicate the data length of the first coding sub-block.
[0479] Optionally, when the target layer is the first layer in the wireless access network RAN protocol stack, the first layer includes a network coding sublayer, the first target indication domain is generated by the network coding sublayer, and the first target set domain is the first set domain or the second set domain.
[0480] Optionally, the header of the first coding sub-block further includes a third set field, and the third set field is generated by other sub-layers in the target layer except the network coding sub-layer.
[0481] Optionally, the third set domain is located before the first target set domain, or the third set domain is located after the first target set domain.
[0482] Optionally, the target layer is the second layer in the RAN protocol stack, and the second layer is a network coding layer.
[0483] Optionally, the network coding layer satisfies any of the following:
[0484] The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer;
[0485] The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
[0486] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0487] Optionally, the first acquisition module 1301 is specifically configured to:
[0488] Acquire network coding parameters according to at least one of the protocol agreement and the configuration information sent by the third communication device.
[0489] The communication device 1300 can implement each process implemented by the first communication device in the method embodiment of the present invention, and achieve the same beneficial effects. To avoid repetition, it will not be described again here.
[0490] See also Fig.14 , Fig.14 This is the second structural diagram of the communication device provided in the embodiment of the present invention. Fig.14 The communication device shown is the second communication device of the embodiment of the present invention. Fig.14 As shown, the communication device 1400 includes:
[0491] The second acquisition module 1401 is used to acquire, when receiving M coding sub-blocks corresponding to the first data block, M column vectors corresponding to the M coding sub-blocks, each of which includes K elements, K is the number of divisions of the first data block, and M is a positive integer less than or equal to the number N of coding sub-blocks generated based on the first data block;
[0492] A second generating module 1402 is used to generate a first matrix, where the first matrix includes the M column vectors;
[0493] The recovery module 1403 is used to recover the first data block according to the first matrix and the M coding sub-blocks when the first matrix is a row full rank matrix.
[0494] Optionally, the second acquisition module 1402 is specifically configured to:
[0495] Obtain, according to first information, M column vectors corresponding to the M coding sub-blocks, where the first information includes any one of the following:
[0496] A pseudo-random code seed in the network coding parameters, wherein the pseudo-random code seed is used to determine column vector information corresponding to the coding sub-block;
[0497] The fourth field in the header of each coding sub-block in the M coding sub-blocks, the fourth field in the header of each coding sub-block is used to indicate the column vector information corresponding to the coding sub-block.
[0498] Optionally, the network coding parameter further includes at least one of the following: L first parameters, L second parameters, a third parameter, and L numbers, where L is a positive integer;
[0499] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0500] The first parameter is used to determine the number of parts into which the first data block is divided;
[0501] The second parameter is used to determine the value of N;
[0502] The third parameter is used to determine the distribution of the degrees of freedom.
[0503] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0504] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0505] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0506] The Q third parameters correspond to the L first parameters;
[0507] The Q third parameters correspond to the L second parameters.
[0508] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
[0509] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0510] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0511] Optionally, the network coding parameter is determined according to at least one of a protocol agreement and configuration information sent by a third communication device.
[0512] Optionally, the header of the second coding sub-block in the M coding sub-blocks further includes a fourth set field, and the fourth set field includes at least one of the following:
[0513] A first field is used to indicate the number of parts into which the first data block is divided;
[0514] The second field is used to indicate the serial number of the first data block;
[0515] The third field is used to indicate the number of the second coding sub-block;
[0516] The fifth field is used to indicate the data length of the second coding sub-block.
[0517] Optionally, the header of the second coding sub-block in the M coding sub-blocks further includes a fifth set field, and the fifth set field includes at least one of the following:
[0518] A first field is used to indicate the number of parts into which the first data block is divided;
[0519] A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block;
[0520] The seventh field is used to indicate a target number, where the target number indicates a target network coding parameter combination among P network coding parameter combinations, where P is a positive integer;
[0521] The second field is used to indicate the serial number of the first data block;
[0522] The third field is used to indicate the number of the second coding sub-block;
[0523] The fifth field is used to indicate the data length of the second coding sub-block.
[0524] Optionally, in a case where the second target set field is generated by a network coding sublayer in a first layer in the RAN protocol stack, the header of the second coding sub-block further includes a sixth set field, and the sixth set field is generated by other sublayers in the first layer except the network coding sublayer;
[0525] The second target set domain is the fourth set domain or the fifth set domain.
[0526] Optionally, the sixth set domain is located before the second target set domain, or the third set domain is located after the second target set domain.
[0527] The communication device 1400 can implement each process implemented by the second communication device in the method embodiment of the present invention, and achieve the same beneficial effects. To avoid repetition, it will not be described again here.
[0528] See also Fig.15 , Fig.15 This is the third structural diagram of the communication device provided in the embodiment of the present invention. Fig.15The communication device shown is the third communication device of the embodiment of the present invention. Fig.15 As shown, the communication device 1500 includes:
[0529] The second sending module 1501 is used to send configuration information for configuring network coding parameters, where the network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer;
[0530] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0531] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0532] The first parameter is used to determine the number of partitions of the data block;
[0533] The second parameter is used to determine the value of N;
[0534] The third parameter is used to determine the distribution of the degrees of freedom.
[0535] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0536] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0537] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0538] The Q third parameters correspond to the L first parameters;
[0539] The Q third parameters correspond to the L second parameters.
[0540] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts into which the first data block is divided.
[0541] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0542] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0543] The communication device 1500 can implement each process implemented by the third communication device in the method embodiment of the present invention, and achieve the same beneficial effects. To avoid repetition, it will not be described again here.
[0544] See also Fig.16 , Fig.16 This is the fourth structural diagram of the communication device provided in the embodiment of the present invention. Fig.16 The communication device shown may be a hardware structure diagram of the first communication device, the second communication device or the third communication device in the embodiment of the present invention. Fig.16 As shown, the communication device 1600 includes: a processor 1601, a memory 1602, a user interface 1603, a transceiver 1604 and a bus interface.
[0545] exist Fig.16 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1601 and various circuits of memory represented by memory 1602 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1604 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 1603 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
[0546] In this embodiment, the communication device 1600 further includes: a computer program stored in the memory 1602 and executable on the processor 1601 .
[0547] Scenario 1: Fig.16 The communication device shown may be a schematic diagram of the hardware structure of the first communication device in an embodiment of the present invention.
[0548] In scenario 1, when the computer program is executed by processor 1601, the following steps are implemented:
[0549] Get network coding parameters;
[0550] Generate N coded sub-blocks of the first data block through the target layer according to the network coding parameters, where N is a positive integer;
[0551] The N coded sub-blocks are sent to the second communication device through the transceiver 1604 .
[0552] Optionally, the network coding parameter includes at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer;
[0553] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0554] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0555] The first parameter is used to determine the number of parts into which the first data block is divided;
[0556] The second parameter is used to determine the value of N;
[0557] The third parameter is used to determine the distribution of the degrees of freedom.
[0558] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0559] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0560] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0561] The Q third parameters correspond to the L first parameters;
[0562] The Q third parameters correspond to the L second parameters.
[0563] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
[0564] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0565] Optionally, when L is greater than 1, the size of the first coding sub-block among the N coding sub-blocks corresponds to any one of the following:
[0566] The number of splits of the first data block;
[0567] The number of the network coding parameter combination corresponding to the number of divisions of the first data block.
[0568] Optionally, when L is 1, the header of a first coding sub-block among the N coding sub-blocks includes a first set field, and the first set field includes at least one of the following:
[0569] A first field is used to indicate the number of parts into which the first data block is divided;
[0570] The second field is used to indicate the serial number of the first data block;
[0571] The third field is used to indicate the number of the first coding sub-block;
[0572] A fourth field is used to indicate column vector information corresponding to the first coding sub-block;
[0573] The fifth field is used to indicate the data length of the first coding sub-block.
[0574] Optionally, when L is greater than 1, the header of the first coding sub-block among the N coding sub-blocks includes a second set field, and the second set field includes at least one of the following:
[0575] A first field is used to indicate the number of parts into which the first data block is divided;
[0576] A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block;
[0577] The seventh field is used to indicate the target number among the L numbers;
[0578] The second field is used to indicate the serial number of the first data block;
[0579] The third field is used to indicate the number of the first coding sub-block;
[0580] A fourth field is used to indicate column vector information corresponding to the first coding sub-block;
[0581] The fifth field is used to indicate the data length of the first coding sub-block.
[0582] Optionally, when the target layer is the first layer in the wireless access network RAN protocol stack, the first layer includes a network coding sublayer, the first target indication domain is generated by the network coding sublayer, and the first target set domain is the first set domain or the second set domain.
[0583] Optionally, the header of the first coding sub-block further includes a third set field, and the third set field is generated by other sub-layers in the target layer except the network coding sub-layer.
[0584] Optionally, the third set domain is located before the first target set domain, or the third set domain is located after the first target set domain.
[0585] Optionally, the target layer is the second layer in the RAN protocol stack, and the second layer is a network coding layer.
[0586] Optionally, the network coding layer satisfies any of the following:
[0587] The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer;
[0588] The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
[0589] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0590] Optionally, when the computer program is executed by the processor Z01, the following steps may also be implemented:
[0591] Acquire network coding parameters according to at least one of the protocol agreement and the configuration information sent by the third communication device.
[0592] In scenario one, the communication device 1600 can implement each process implemented by the first communication device in the embodiment of the present invention and achieve the same beneficial effects. To avoid repetition, they will not be described again here.
[0593] Scene 2: Fig.16 The communication device shown may be a schematic diagram of the hardware structure of the second communication device in an embodiment of the present invention.
[0594] In scenario 2, the computer program is executed by processor Z01 to implement the following steps:
[0595] When M coded sub-blocks corresponding to the first data block are received through the transceiver Z04, M column vectors corresponding to the M coded sub-blocks are obtained, each of the column vectors includes K elements, K is the number of partitions of the first data block, and M is a positive integer less than or equal to the number N of coded sub-blocks generated based on the first data block;
[0596] Generate a first matrix, wherein the first matrix includes the M column vectors;
[0597] In the case where the first matrix is a row full rank matrix, the first data block is restored according to the first matrix and the M coding sub-blocks.
[0598] Optionally, when the computer program is executed by the processor Z01, the following steps may also be implemented:
[0599] Obtain, according to first information, M column vectors corresponding to the M coding sub-blocks, where the first information includes any one of the following:
[0600] A pseudo-random code seed in the network coding parameters, wherein the pseudo-random code seed is used to determine column vector information corresponding to the coding sub-block;
[0601] The fourth field in the header of each coding sub-block in the M coding sub-blocks, the fourth field in the header of each coding sub-block is used to indicate the column vector information corresponding to the coding sub-block.
[0602] Optionally, the network coding parameter further includes at least one of the following: L first parameters, L second parameters, a third parameter, and L numbers, where L is a positive integer;
[0603] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0604] The first parameter is used to determine the number of parts into which the first data block is divided;
[0605] The second parameter is used to determine the value of N;
[0606] The third parameter is used to determine the distribution of the degrees of freedom.
[0607] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0608] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0609] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0610] The Q third parameters correspond to the L first parameters;
[0611] The Q third parameters correspond to the L second parameters.
[0612] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
[0613] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0614] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0615] Optionally, the network coding parameter is determined according to at least one of a protocol agreement and configuration information sent by a third communication device.
[0616] Optionally, the header of the second coding sub-block in the M coding sub-blocks further includes a fourth set field, and the fourth set field includes at least one of the following:
[0617] A first field is used to indicate the number of parts into which the first data block is divided;
[0618] The second field is used to indicate the serial number of the first data block;
[0619] The third field is used to indicate the number of the second coding sub-block;
[0620] The fifth field is used to indicate the data length of the second coding sub-block.
[0621] Optionally, the header of the second coding sub-block in the M coding sub-blocks further includes a fifth set field, and the fifth set field includes at least one of the following:
[0622] A first field is used to indicate the number of parts into which the first data block is divided;
[0623] A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block;
[0624] The seventh field is used to indicate a target number, where the target number indicates a target network coding parameter combination among P network coding parameter combinations, where P is a positive integer;
[0625] The second field is used to indicate the serial number of the first data block;
[0626] The third field is used to indicate the number of the second coding sub-block;
[0627] The fifth field is used to indicate the data length of the second coding sub-block.
[0628] Optionally, in a case where the second target set field is generated by a network coding sublayer in a first layer in the RAN protocol stack, the header of the second coding sub-block further includes a sixth set field, and the sixth set field is generated by other sublayers in the first layer except the network coding sublayer;
[0629] The second target set domain is the fourth set domain or the fifth set domain.
[0630] Optionally, the sixth set domain is located before the second target set domain, or the third set domain is located after the second target set domain.
[0631] In scenario two, the communication device 1600 can implement each process implemented by the second communication device in the embodiment of the present invention, and achieve the same beneficial effects. To avoid repetition, it will not be described again here.
[0632] Scenario 3: Fig.16 The communication device shown may be a schematic diagram of the hardware structure of the third communication device in the embodiment of the present invention.
[0633] In scenario 3, the computer program is executed by processor Z01 to implement the following steps:
[0634] Sending configuration information through the transceiver Z04 for configuring network coding parameters, wherein the network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer;
[0635] Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block;
[0636] The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter;
[0637] The first parameter is used to determine the number of partitions of the data block;
[0638] The second parameter is used to determine the value of N;
[0639] The third parameter is used to determine the distribution of the degrees of freedom.
[0640] Optionally, when L is greater than 1, the L second parameters correspond to the L first parameters.
[0641] Optionally, when L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
[0642] Optionally, when the number of the third parameters is Q, the Q third parameters satisfy at least one of the following:
[0643] The Q third parameters correspond to the L first parameters;
[0644] The Q third parameters correspond to the L second parameters.
[0645] Optionally, the first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts into which the first data block is divided.
[0646] Optionally, the second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
[0647] Optionally, the network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
[0648] In scenario three, the communication device 1600 can implement the various processes implemented by the third communication device in the embodiment of the present invention, and achieve the same beneficial effects. To avoid repetition, they are not described here.
[0649] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the data processing method embodiment applied to the first communication device, or each process of the data processing method embodiment applied to the second communication device, or each process of the configuration method embodiment applied to the third communication device can be implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0650] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0651] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a communication device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0652] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A data processing method, applied to a first communication device, characterized in that: The method comprises: Get network coding parameters; Generating N coded sub-blocks of the first data block through the target layer according to the network coding parameters; Sending the N coded sub-blocks to a second communication device, where N is a positive integer; The target layer belongs to the second layer in the RAN protocol stack, and the target layer is a network coding layer; The network coding layer satisfies any of the following: The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer; The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
2. The method according to claim 1, characterized in that The network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer; Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block; The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter; The first parameter is used to determine the number of parts into which the first data block is divided; The second parameter is used to determine the value of N; The third parameter is used to determine the distribution of the degrees of freedom.
3. The method according to claim 2, characterized in that When L is greater than 1, the L second parameters correspond to the L first parameters.
4. The method according to claim 2, characterized in that: When L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
5. The method according to claim 4, characterized in that When the number of the third parameters is Q, the Q third parameters satisfy at least one of the following: The Q third parameters correspond to the L first parameters; The Q third parameters correspond to the L second parameters.
6. The method according to claim 2, characterized in that The first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
7. The method according to claim 2, characterized in that: The second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
8. The method according to claim 2, characterized in that: When L is greater than 1, the size of the first coding sub-block in the N coding sub-blocks corresponds to any one of the following: The number of splits of the first data block; The number of the network coding parameter combination corresponding to the number of divisions of the first data block.
9. The method according to claim 2, characterized in that: When L is 1, a header of a first coded sub-block among the N coded sub-blocks includes a first set field, and the first set field includes at least one of the following: A first field is used to indicate the number of parts into which the first data block is divided; The second field is used to indicate the serial number of the first data block; The third field is used to indicate the number of the first coding sub-block; A fourth field is used to indicate column vector information corresponding to the first coding sub-block; The fifth field is used to indicate the data length of the first coding sub-block.
10. The method according to claim 2, characterized in that In the case where L is greater than 1, the header of the first coded sub-block among the N coded sub-blocks includes a second set field, and the second set field includes at least one of the following: A first field is used to indicate the number of parts into which the first data block is divided; A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block; The seventh field is used to indicate the target number among the L numbers; The second field is used to indicate the serial number of the first data block; The third field is used to indicate the number of the first coding sub-block; A fourth field is used to indicate column vector information corresponding to the first coding sub-block; The fifth field is used to indicate the data length of the first coding sub-block.
11. The method according to claim 9, characterized in that In the case where the target layer is the first layer in the wireless access network RAN protocol stack, the first layer includes a network coding sublayer, the first target set field is generated by the network coding sublayer, and the first target set field is the first set field.
12. The method according to claim 10, characterized in that In the case where the target layer is the first layer in the wireless access network RAN protocol stack, the first layer includes a network coding sublayer, a first target set field is generated by the network coding sublayer, and the first target set field is the second set field.
13. The method according to claim 11 or 12, characterized in that: The header of the first coding sub-block further includes a third set field, where the third set field is generated by other sub-layers in the target layer except the network coding sub-layer.
14. The method according to claim 13, characterized in that The third set domain is located before the first target set domain, or the third set domain is located after the first target set domain.
15. The method according to claim 1, characterized in that The network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
16. The method according to claim 1, characterized in that The obtaining of network coding parameters includes: Acquire network coding parameters according to at least one of the protocol agreement and the configuration information sent by the third communication device.
17. A data processing method, applied to a second communication device, characterized in that: The method comprises: When M coded sub-blocks corresponding to the first data block are received, M column vectors corresponding to the M coded sub-blocks are obtained, each of the column vectors includes K elements, K is the number of partitions of the first data block, and M is a positive integer less than or equal to the number N of coded sub-blocks generated based on the first data block; Generate a first matrix, wherein the first matrix includes the M column vectors; When the first matrix is a row full rank matrix, recovering the first data block according to the first matrix and the M coding sub-blocks; The M coding sub-blocks corresponding to the first data block are generated by the first communication device through a target layer, the target layer belongs to the second layer in the RAN protocol stack, and the target layer is a network coding layer; The network coding layer satisfies any of the following: The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer; The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
18. The method according to claim 17, characterized in that The obtaining M column vectors corresponding to the M coding sub-blocks includes: Obtain, according to first information, M column vectors corresponding to the M coding sub-blocks, where the first information includes any one of the following: A pseudo-random code seed in the network coding parameters, wherein the pseudo-random code seed is used to determine column vector information corresponding to the coding sub-block; The fourth field in the header of each coding sub-block in the M coding sub-blocks is used to indicate column vector information corresponding to the coding sub-block.
19. The method according to claim 18, characterized in that The network coding parameters also include at least one of the following: L first parameters, L second parameters, a third parameter, and L numbers, where L is a positive integer; The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter; The first parameter is used to determine the number of parts into which the first data block is divided; The second parameter is used to determine the value of N; The third parameter is used to determine the distribution of the degrees of freedom.
20. The method according to claim 19, characterized in that When L is greater than 1, the L second parameters correspond to the L first parameters.
21. The method according to claim 19, characterized in that When L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
22. The method according to claim 21, characterized in that When the number of the third parameters is Q, the Q third parameters satisfy at least one of the following: The Q third parameters correspond to the L first parameters; The Q third parameters correspond to the L second parameters.
23. The method according to claim 19, characterized in that The first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts that can be divided into the first data block.
24. The method according to claim 19, characterized in that The second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
25. The method according to claim 18, characterized in that The network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
26. The method according to claim 18, characterized in that The network coding parameter is determined according to at least one of a protocol agreement and configuration information sent by a third communication device.
27. The method according to claim 18, characterized in that The header of the second coded sub-block in the M coded sub-blocks further includes a fourth set field, and the fourth set field includes at least one of the following: A first field is used to indicate the number of parts into which the first data block is divided; The second field is used to indicate the serial number of the first data block; The third field is used to indicate the number of the second coding sub-block; The fifth field is used to indicate the data length of the second coding sub-block.
28. The method according to claim 18, characterized in that The header of the second coded sub-block in the M coded sub-blocks further includes a fifth set field, and the fifth set field includes at least one of the following: A first field is used to indicate the number of parts into which the first data block is divided; A sixth field is used to indicate a fourth parameter, and the fourth parameter has a corresponding relationship with the number of divisions of the first data block; The seventh field is used to indicate a target number, where the target number indicates a target network coding parameter combination among P network coding parameter combinations, where P is a positive integer; The second field is used to indicate the serial number of the first data block; The third field is used to indicate the number of the second coding sub-block; The fifth field is used to indicate the data length of the second coding sub-block.
29. The method according to claim 27, characterized in that In a case where the second target set field is generated by a network coding sublayer in a first layer in the RAN protocol stack, the header of the second coding sub-block further includes a sixth set field, and the sixth set field is generated by other sublayers in the first layer except the network coding sublayer; The second target set domain is the fourth set domain.
30. The method according to claim 28, characterized in that In a case where the second target set field is generated by a network coding sublayer in a first layer in the RAN protocol stack, the header of the second coding sub-block further includes a sixth set field, and the sixth set field is generated by other sublayers in the first layer except the network coding sublayer; The second target set domain is the fifth set domain.
31. The method according to claim 29 or 30, characterized in that The sixth set domain is located before the second target set domain, or the sixth set domain is located after the second target set domain.
32. A configuration method, applied to a third communication device, characterized in that: The method comprises: Sending configuration information for configuring network coding parameters, where the network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer; Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block; The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter; The first parameter is used to determine the number of partitions of the data block; The second parameter is used to determine the value of N; The third parameter is used to determine the distribution of degrees of freedom; The network coding parameter is used to enable the first communication device to generate N coding sub-blocks of the first data block through a target layer, the target layer belongs to the second layer in the RAN protocol stack, and the target layer is a network coding layer; The network coding layer satisfies any of the following: The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer; The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
33. The method according to claim 32, characterized in that When L is greater than 1, the L second parameters correspond to the L first parameters.
34. The method according to claim 32, characterized in that When L is greater than 1, the number of the third parameter is 1 or Q, where Q is an integer greater than 1 and less than or equal to L.
35. The method according to claim 34, characterized in that When the number of the third parameters is Q, the Q third parameters satisfy at least one of the following: The Q third parameters correspond to the L first parameters; The Q third parameters correspond to the L second parameters.
36. The method according to claim 32, characterized in that The first parameter is any one of the following: the number of parts into which the first data block is divided, and the maximum number of parts into which the first data block is divided.
37. The method according to claim 32, characterized in that The second parameter is any one of the following: the number of coding sub-blocks corresponding to the first data block, and the maximum number of coding sub-blocks corresponding to the first data block.
38. The method according to claim 32, characterized in that The network coding parameter corresponds to any one of the following: a communication device, a media access control MAC entity of a communication device, a cell group, a logical channel, and a logical channel group.
39. A communication device, the communication device being a first communication device, characterized in that: The communication device comprises: A first acquisition module, used to acquire network coding parameters; A first generating module, configured to generate N coding sub-blocks of a first data block through a target layer according to the network coding parameter, where N is a positive integer; A first sending module, configured to send the N coded sub-blocks to a second communication device; The target layer belongs to the second layer in the RAN protocol stack, and the target layer is a network coding layer; The network coding layer satisfies any of the following: The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer; The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
40. A communication device, the communication device being a second communication device, characterized in that: The communication device comprises: A second acquisition module is configured to, upon receiving M coded sub-blocks corresponding to the first data block, acquire M column vectors corresponding to the M coded sub-blocks, each of the column vectors including K elements, where K is the number of partitions of the first data block, and M is a positive integer less than or equal to the number N of coded sub-blocks generated based on the first data block; A second generating module, used to generate a first matrix, wherein the first matrix includes the M column vectors; A recovery module, configured to recover the first data block according to the first matrix and the M coding sub-blocks when the first matrix is a row full rank matrix; The M coding sub-blocks corresponding to the first data block are generated by the first communication device through a target layer, the target layer belongs to the second layer in the RAN protocol stack, and the target layer is a network coding layer; The network coding layer satisfies any of the following: The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer; The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
41. A communication device, the communication device being a third communication device, characterized in that: The communication device comprises: A second sending module, used to send configuration information for configuring network coding parameters, where the network coding parameters include at least one of the following: L first parameters, L second parameters, a third parameter, a pseudo-random code seed, and L numbers, where L is a positive integer; Wherein, the pseudo-random code seed is used to determine the column vector information corresponding to the coding sub-block; The L numbers are used to indicate L network coding parameter combinations among P network coding parameter combinations, where P is a positive integer greater than or equal to L, and each of the network coding parameter combinations includes at least two of the following: a first parameter, a second parameter, and a third parameter; The first parameter is used to determine the number of partitions of the data block; The second parameter is used to determine the value of N; The third parameter is used to determine the distribution of degrees of freedom; The network coding parameter is used to enable the first communication device to generate N coding sub-blocks of the first data block through a target layer, the target layer belongs to the second layer in the RAN protocol stack, and the target layer is a network coding layer; The network coding layer satisfies any of the following: The network coding layer is arranged between the packet data convergence protocol PDCP layer and the radio link control RLC layer; The network coding layer is arranged between the PDCP layer and the backhaul adaptation protocol BAP layer.
42. A communication device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the data processing method according to any one of claims 1 to 16, or the steps of the data processing method according to any one of claims 17 to 31, or the steps of the configuration method according to any one of claims 32 to 38.
43. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the data processing method as described in any one of claims 1 to 16, or the steps of the data processing method as described in any one of claims 17 to 31, or the steps of the configuration method as described in any one of claims 32 to 38.
