CN103905152B - Using the effective throughput randomized optimization process of layer-span combined coding in erasure channel - Google Patents
Using the effective throughput randomized optimization process of layer-span combined coding in erasure channel Download PDFInfo
- Publication number
- CN103905152B CN103905152B CN201410108248.XA CN201410108248A CN103905152B CN 103905152 B CN103905152 B CN 103905152B CN 201410108248 A CN201410108248 A CN 201410108248A CN 103905152 B CN103905152 B CN 103905152B
- Authority
- CN
- China
- Prior art keywords
- code
- layer
- rate
- effective throughput
- unicode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了删除信道中采用跨层联合编码的有效吞吐量随机优化方法,步骤如下:(1)删除信道中发送端将应用进程交付下来的原始数据块先在应用层进行Raptor码编码,编码后的数据传输到物理层再进行R‑S码编码,将经过联合编码后的数据发送到删除信道;(2)经过删除信道的传输,到达接收端的数据先在物理层进行R‑S码解码,解码完成后将解码后的数据传到应用层进行Raptor码解码。完成解码后,接收端将解码的情况反馈给发送端,发送端将根据接收端反馈的信息采取下一步的动作;(3)采用离散随机逼近算法选择合适的跨层联合码率优化删除信道通信系统中的有效吞吐量;本发明能稳定且高效率地实现最大化删除信道中的有效吞吐量。
The invention discloses a random optimization method for effective throughput using cross-layer joint coding in the deletion channel. The final data is transmitted to the physical layer and then R-S code encoding is performed, and the jointly encoded data is sent to the deletion channel; (2) After the transmission of the deletion channel, the data arriving at the receiving end is first decoded by R-S code at the physical layer After the decoding is completed, the decoded data is sent to the application layer for Raptor code decoding. After the decoding is completed, the receiving end will feed back the decoding situation to the sending end, and the sending end will take the next action according to the information fed back by the receiving end; (3) Use the discrete random approximation algorithm to select the appropriate cross-layer joint code rate to optimize the deletion channel communication Effective throughput in the system; the present invention can realize the effective throughput in maximizing the erasure channel stably and efficiently.
Description
技术领域technical field
本发明涉及删除信道(Erasure channel)通信系统的编码技术领域,特别涉及一种删除信道通信系统中采用跨层联合编码(通过将喷泉码作为应用层的前向纠错方案,同时采用Reed-Solomon进行信道编码来实现)的有效吞吐量随机优化方法。The present invention relates to the coding technology field of erasure channel (Erasure channel) communication system, in particular to an erasure channel communication system using cross-layer joint coding (using fountain code as the forward error correction scheme of the application layer, and using Reed-Solomon The effective throughput stochastic optimization method is implemented by channel coding.
背景技术Background technique
删除信道是编码理论和信息理论中使用的一种通用的通信信道模型。通过删除信道发送的信息要么准确无误地被接收端接收到,要么不被接收端接收到(称为被删除)。删除信道是Peter Elias在1955年提出的,但它一直被看成是一个理论的信道模型,直到40年后因特网作为删除信道真实世界中的模型的出现及其飞速的发展使人们认识到删除信道的重要性。The erasure channel is a general communication channel model used in coding theory and information theory. The information sent through the erasure channel is either received by the receiving end without error, or it is not received by the receiving end (called erasure). The deletion channel was proposed by Peter Elias in 1955, but it has been regarded as a theoretical channel model until the emergence of the Internet as a model in the real world of the deletion channel and its rapid development 40 years later made people realize that the deletion channel importance.
在删除信道中进行通信常用的方法是用一个从接收端到发送端的反馈信道来控制删除信道数据包的重传。比如,接收端可能发送的反馈的信息标识了那些丢失了的包,这些包稍后就会被发送端重传。接收端也可能交替地发送每个已经被正确接收了的数据包的确认信息。发送端要保持追踪哪些包已经得到确认,哪些包需要重传,直到所有的包都得到确认。这些简单的重传协议有一个优势:他们不需要考虑信道的删除概率f。但是,对于很多情形来说,这些协议太过于浪费信道资源了,特别是在广播删除信道中,而且根据香农定理,也不需要反馈信道:无论我们是否有反馈,前向信道的容量已经达到了(1-f)L比特(L为发送信息的总比特数)。A common way to communicate in an erased channel is to use a feedback channel from the receiver to the sender to control the retransmission of erased channel packets. For example, the receiver may send back information identifying lost packets that will be retransmitted later by the sender. The receiver may alternately send an acknowledgment for each packet that has been correctly received. The sender keeps track of which packets have been acknowledged and which packets need to be retransmitted until all packets are acknowledged. These simple retransmission protocols have an advantage: they do not need to consider the channel erasure probability f. However, for many situations, these protocols are too wasteful of channel resources, especially in the broadcast erasure channel, and according to Shannon's theorem, there is no need for a feedback channel: whether we have feedback or not, the capacity of the forward channel is already reached (1-f) L bits (L is the total number of bits of information sent).
为了解决资源浪费的问题,一类基于编码的传输解决方案被提出。原始的数据通过线性纠错码进行编码后发送,如果传输中某些数据丢失,有可能使用删除纠错算法来恢复丢失的数据。Elias给出了删除概率p等于1-p的二进制删除信道的容量。他进一步证明码率任意接近1-p的随机码可以在这信道上通过使用最大似然解码(ML)算法以一个指数小的差错概率成功解码。但是在删除信道的情况下,线性码的ML解码等价于求解线性方程组。线性方程组的求解可以使用高斯消元法在多项式时间内完成,但当码长很长时,高斯消元法不够快。RS码可以部分补偿随机码的无效性,但解码时间是维数的二次方,这对于很多应用来说太长了。对于有着线性时间编码解码算法的Turnado码,编码/解码算法的运行时间与块长成比例,如果信道速率很慢,编码解码的算法也会很慢,且对于基本图来说他们有着高度不规则的权分布。LDPC码(低密度校验码)具有逼近Shannon限的良好性能,译码复杂度低,但其编码复杂度太高。In order to solve the problem of resource waste, a kind of coding-based transmission solution is proposed. The original data is sent after being encoded with a linear error correction code. If some data is lost during transmission, it is possible to use erasure error correction algorithm to recover the lost data. Elias gives the capacity of a binary erasure channel with erasure probability p equal to 1-p. He further proved that random codes with a code rate arbitrarily close to 1-p can be successfully decoded on this channel with an exponentially small error probability by using the maximum likelihood decoding (ML) algorithm. But in the case of deleted channels, ML decoding of linear codes is equivalent to solving a system of linear equations. The solution of a system of linear equations can be done in polynomial time using Gaussian elimination, but when the code length is long, Gaussian elimination is not fast enough. RS codes can partially compensate for the inefficiency of random codes, but the decoding time is quadratic in the number of dimensions, which is too long for many applications. For Turnado codes with a linear time encoding/decoding algorithm, the encoding/decoding algorithm's running time is proportional to the block length, and if the channel rate is slow, the encoding/decoding algorithm will also be slow, and they are highly irregular for the base graph distribution of weights. LDPC code (Low Density Check Code) has good performance close to the Shannon limit, and the decoding complexity is low, but its encoding complexity is too high.
对于线性纠错码,最重要的特征是能够尽可能多的纠正错误,同时也要保证编码和解码算法的复杂度和难易性。但是上面提到的这些传统的块编码方法都不能很好的同时满足纠错码的这两个重要的特征。而且当数据从一个发送端发往多个接收端时(发送端与每个接收端之间的删除信道的删除概率是不同),传统块编码的缺陷更加明显。典型的应用中,他们的码率是通过发送端或者接收端探测信道,以便发送端对信道当前的删除概率有个合理的估计并相应的调整码率。但是如果接收端的数目很大,或者卫星/无线传输的情形中接收机的接收特性发生了突发性的重大变化,那么要追踪到每个接收端的丢失率是不现实的。发送端就会被迫对所有接收端假设一个最差的丢失率。如果实际的丢失率很小的话会给网络带来不必要的负担,相反,如果实际的丢失率大于预分配的也会导致不可靠的通信。For linear error-correcting codes, the most important feature is to be able to correct as many errors as possible, while ensuring the complexity and ease of encoding and decoding algorithms. However, none of the traditional block coding methods mentioned above can satisfy these two important characteristics of error correction codes at the same time. Moreover, when data is sent from one sender to multiple receivers (the erasure probability of the erasure channel between the sender and each receiver is different), the defects of traditional block coding are more obvious. In a typical application, their code rate is detected by the sending end or the receiving end, so that the sending end can have a reasonable estimate of the current erasure probability of the channel and adjust the code rate accordingly. But if the number of receivers is large, or in the case of satellite/wireless transmissions, the receiving characteristics of the receivers change suddenly and significantly, it is impractical to track the loss rate of each receiver. The sender is then forced to assume the worst loss rate for all receivers. If the actual loss rate is small, it will bring unnecessary burden to the network. On the contrary, if the actual loss rate is greater than the pre-allocated, it will also lead to unreliable communication.
喷泉码,由于其无码率特性,不需要知道信道的删除概率,只要发送足够多的数据保证接收端接收到一定数量的编码包就能重构出原始的信息,具有线性时间的编译码的复杂度等优点,能够解决上述传统块编码方法解决不了的问题使其成为删除信道中关注的焦点。本发明将喷泉码中的Raptor码(喷泉码中最为有效的一类码)作为跨层编码中应用层的一个前向纠错的方案,以提供应用层端到端的可靠传输。Fountain code, because of its code-free characteristics, does not need to know the probability of erasure of the channel, as long as enough data is sent to ensure that the receiving end receives a certain number of encoded packets, the original information can be reconstructed, and it has linear time encoding and decoding Complexity and other advantages, it can solve the problems that the above-mentioned traditional block coding methods cannot solve, so it becomes the focus of attention in the erasure channel. The present invention uses the Raptor code in the fountain code (the most effective type of code in the fountain code) as a forward error correction scheme of the application layer in the cross-layer coding, so as to provide end-to-end reliable transmission of the application layer.
由于单独的在应用层或者物理信道中使用前向纠错编码的效果不理想,因此,本发明考虑采用跨层编码方案,同时进行应用层编码和物理信道编码,结合两者的优点大大提高通信的质量。跨层编码中的信道编码方案我们采用的是Reed-Solomon(简称R-S)码。Reed-Solomon码达到了Singleton界,是实践中应用最广泛的码,其码块的长度是固定。选择固定码率的编码作为信道编码的方案,是因为信道编码/解码都是通过芯片进行处理的,采用固定码率的编码方式效率比较高。Since the effect of using forward error correction coding alone in the application layer or physical channel is not ideal, the present invention considers the use of a cross-layer coding scheme to perform application layer coding and physical channel coding at the same time, combining the advantages of the two to greatly improve communication. the quality of. The channel coding scheme in the cross-layer coding is Reed-Solomon (R-S for short) code. The Reed-Solomon code reaches the Singleton boundary and is the most widely used code in practice, and the length of its code block is fixed. The reason why the fixed code rate coding is selected as the channel coding scheme is that the channel coding/decoding is processed by the chip, and the coding method with a fixed code rate is more efficient.
删除信道的有效吞吐量是衡量删除信道信道利用率的重要指标。有效吞吐量是指单位时间内传输的有效信息量。采用跨层编码的编码方案后,有效吞吐量是以Raptor码的校验率和Reed-Solomon码的码率为自变量的函数,且其值会随删除信道信道状态的变化而变化。一般来讲,通信之前,删除信道的状态信息我们是无法预知的,可能随机变化。在随机的信道条件下,为了优化有效吞吐量,最直接的方法是先对信道的状态信息进行统计,统计足够长时间后取平均值,在这个平均值下,再在Raptor码的校验率和Reed-Solomon码码率的可能取值空间中选择最佳的校验率和码率使有效吞吐量达到最大。这种方法最大的一个缺陷是对于信道状态信息的统计时间需要足够长(理论上无限长)才够准确,因此费时太大,实用性不大。为了优化随着信道状态信息随机变化的有效吞吐量,本发明采样离散随机逼近算法来解决直接方法中存在的问题。这种方法会根据随机选择的信道状态信息进行迭代求解,经过充分的迭代后有效吞吐量将最终收敛到最优值。The effective throughput of the erasure channel is an important index to measure the channel utilization of the erasure channel. Effective throughput refers to the effective amount of information transmitted per unit time. After adopting the coding scheme of cross-layer coding, the effective throughput is a function of the verification rate of the Raptor code and the code rate of the Reed-Solomon code as independent variables, and its value will change with the channel state of the deleted channel. Generally speaking, before communication, we cannot predict the status information of the deleted channel, and it may change randomly. Under random channel conditions, in order to optimize the effective throughput, the most direct method is to make statistics on the state information of the channel first, and then take the average value after a long enough time of statistics. Choose the best check rate and code rate in the possible value space of Reed-Solomon code rate to maximize the effective throughput. One of the biggest drawbacks of this method is that the statistical time for channel state information needs to be long enough (theoretically infinite) to be accurate, so it takes too much time and is not practical. In order to optimize the effective throughput as the channel state information varies randomly, the present invention uses a sampling discrete random approximation algorithm to solve the problems existing in the direct method. This method will iteratively solve according to randomly selected channel state information, and the effective throughput will eventually converge to the optimal value after sufficient iterations.
发明内容Contents of the invention
本发明的目的在于克服现有技术的缺点与不足,提出一种将Raptor码作为应用层的前向纠错方案来提高传输的鲁棒性和可靠性,并同时将Reed-Solomon作为信道编码来降低删除信道删除概率的跨层联合编码方案。该联合编码方案通过应用层的编码能够以很高的概率恢复出原始发送的数据包,提供了应用层可靠的端到端传输,通过信道编码减少物理信道的差错概率以此减少应用层需要发送的编码数据包的数量和传输时延,并采用离散随机逼近算法来优化删除信道中的有效吞吐量。The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, to propose a forward error correction scheme using Raptor codes as the application layer to improve the robustness and reliability of transmission, and to use Reed-Solomon as channel coding at the same time A cross-layer joint coding scheme to reduce the probability of erasure in erasure channels. The joint coding scheme can restore the original sent data packets with a high probability through the coding of the application layer, providing reliable end-to-end transmission of the application layer, and reducing the error probability of the physical channel through channel coding to reduce the need for the application layer to send The number of encoded packets and the transmission delay, and a discrete random approximation algorithm is used to optimize the effective throughput in the erasure channel.
本发明的目的通过下述技术方案实现:删除信道中采用跨层联合编码的有效吞吐量随机优化方法,其特征在于,包括以下步骤:The purpose of the present invention is achieved through the following technical solutions: the effective throughput random optimization method of cross-layer joint coding adopted in the deletion channel is characterized in that, comprising the following steps:
(1)删除信道通信系统中发送端得到应用进程交付下来的原始数据块后,确定合适的包大小Lp,将原始数据块分成Nin个数据包,然后采用Raptor码对这Nin个原始数据包进行编码;编码后的数据包向下传递经过传输层、网络层、数据链路层,经过的每层都为每个数据包加上相应的头部和尾部,最后到达物理层;物理层通过选择合适的码率R对数据链路层传下来的全部数据包进行R-S码编码,编码完成后发送到删除信道中。(1) In the deletion channel communication system, after the sender gets the original data block delivered by the application process, determine the appropriate packet size L p , divide the original data block into N in data packets, and then use the Raptor code to compare the N in original data packets. The data packet is encoded; the encoded data packet is passed down through the transport layer, network layer, and data link layer, and each layer that passes through adds a corresponding header and tail to each data packet, and finally reaches the physical layer; The layer performs RS code encoding on all data packets transmitted from the data link layer by selecting an appropriate code rate R, and sends them to the deletion channel after encoding is completed.
(2)经过删除信道的传输,到达接收端的数据先在接收端的物理层进行R-S码解码,解码完成后将解码后的数据传到应用层进行Raptor码解码。完成解码后,接收端将解码的情况反馈给发送端,发送端将根据接收端反馈的信息采取下一步的动作;(2) After the transmission of the deleted channel, the data arriving at the receiving end is first decoded by R-S code at the physical layer of the receiving end, and after the decoding is completed, the decoded data is transmitted to the application layer for Raptor code decoding. After the decoding is completed, the receiving end will feed back the decoding situation to the sending end, and the sending end will take the next step according to the information fed back by the receiving end;
(3)采用离散随机逼近算法选择合适的跨层联合码率优化删除信道通信系统中的有效吞吐量,算法步骤如下:(3) Use the discrete random approximation algorithm to select the appropriate cross-layer joint code rate to optimize the effective throughput in the erasure channel communication system. The algorithm steps are as follows:
①根据R-S码的码率R以及信道状态信息求出删除信道的删除概率f;然后对应用层采用Raptor码进行前向纠错作分析,得到Raptor码译码失败的概率p(ρ);最后,结合有效吞吐量的定义,所述有效吞吐量为单位时间的传输的有效信息量,得到有效吞吐量的计算公式y=y(ρ,R),以Raptor码的校验率ρ和R-S码的码率R为自变量,且随信道状态的变化而变化;① According to the code rate R of the R-S code and the channel state information, calculate the deletion probability f of the deleted channel; then analyze the forward error correction using the Raptor code in the application layer, and obtain the probability p(ρ) of the Raptor code decoding failure; finally , in combination with the definition of effective throughput, the effective throughput is the effective amount of information transmitted per unit time, and the calculation formula y=y(ρ, R) of effective throughput is obtained, with the verification rate ρ of Raptor code and the R-S code The code rate R of is an independent variable, and changes with the change of the channel state;
②定义Raptor码的校验率和R-S码的码率作为跨层联合码率,记为θ=(ρ,R),Raptor码的校验率ρ的所有可能离散取值有M个,R-S码的码率R的所有可能离散取值有N个,两者共同构成了N×M个可能的离散取值,因此所有联合码率的可行搜索域Θ的大小为|Θ|=N×M;② Define the verification rate of the Raptor code and the code rate of the R-S code as the cross-layer joint code rate, denoted as θ=(ρ, R), there are M possible discrete values of the verification rate ρ of the Raptor code, and the R-S code There are N possible discrete values of the code rate R, and the two together constitute N×M possible discrete values, so the size of the feasible search field Θ for all joint code rates is |Θ|=N×M;
③得到有效吞吐量的计算公式y=y(ρ,R)后,用离散随机逼近算法进行迭代求解,用i表示迭代次数;第i=0次迭代,从可行搜索域中随机选择一个联合码率作为初始的联合码率θ[0],且将θ[0]设置为初始的最优联合码率对应于可行搜索域Θ的第j个元素;初始化所有联合码率的状态概率向量为π[0]=eθ[0],所述状态概率向量与可行搜索域Θ一样大小,每个分量对应于Θ中每个联合码率被算法迭代访问的频率,其中eθ[0]是一个单位向量,第j个元素为1,其余元素均为0;③ After obtaining the calculation formula y=y(ρ,R) of effective throughput, use discrete random approximation algorithm to solve iteratively, and use i to represent the number of iterations; for iteration i=0, randomly select a joint code from the feasible search field rate as the initial joint code rate θ[0], and set θ[0] as the initial optimal joint code rate Corresponding to the jth element of the feasible search domain Θ; the state probability vector of all joint code rates is initialized as π[0]=e θ[0] , the state probability vector is the same size as the feasible search domain Θ, and each component corresponds to The frequency at which each joint code rate in Θ is iteratively accessed by the algorithm, where e θ[0] is a unit vector, the jth element is 1, and the rest of the elements are 0;
④在第i次迭代中,选择的联合码率为θ[i],结合当前信道状态信息,根据步骤①求出的公式计算对应的有效吞吐量y(θ[i]);④ In the i-th iteration, the selected joint code rate θ[i], combined with the current channel state information, calculates the corresponding effective throughput y(θ[i]) according to the formula obtained in step ①;
⑤在可行搜索域Θ中均匀随机的选择另一联合码率并结合当前的信道状态信息,由步骤①求出的公式计算对应的有效吞吐量 ⑤Uniformly and randomly select another joint code rate in the feasible search domain Θ Combined with the current channel state information, the corresponding effective throughput is calculated by the formula obtained in step ①
⑥比较与y(θ[i])的大小确定下次迭代的联合码率,如果则设置下次迭代的联合码率为否则,令θ[i+1]=θ[i];⑥ comparison and y(θ[i]) determine the joint code rate of the next iteration, if Then set the joint code rate of the next iteration Otherwise, let θ[i+1]=θ[i];
⑦令迭代的步长μ[i]=1/i,更新所有联合码率的状态概率向量π[i+1]=π[i]+μ[i+1](eθ[i+1]-π[i]),其中eθ[i+1]是一个单位向量,1的位置对应于θ[i+1]在可行搜索域Θ中的指标;⑦ Let the iterative step size μ[i]=1/i, update the state probability vector of all joint code rates π[i+1]=π[i]+μ[i+1](e θ[i+1] -π[i]), where e θ[i+1] is a unit vector, and the position of 1 corresponds to the index of θ[i+1] in the feasible search domain Θ;
⑧比较更新后的状态概率向量中联合码率θ[i+1]对应的分量与原最优联合码率对应的分量的大小,确定下次迭代的最优联合码率如果更新当前最优的联合码率为反之, ⑧ Compare the component corresponding to the joint code rate θ[i+1] in the updated state probability vector with the original optimal joint code rate The size of the corresponding component determines the optimal joint code rate for the next iteration if Update the current optimal joint code rate on the contrary,
⑨完成一次迭代,回到步骤④继续下一次迭代;经过设定的迭代次数后,得到最优的联合码率。⑨ Complete one iteration, return to step ④ to continue the next iteration; after the set number of iterations, the optimal joint code rate is obtained.
优选的,所述步骤(1)中,到达物理层的所有数据包将根据R-S码选择的码率R和码长N重新分成大小为K=N·R的数据包,每个数据包用R-S码编码成长度为N的数据包后,陆续发送到删除信道中;Preferably, in the step (1), all data packets arriving at the physical layer will be re-divided into data packets of size K=N·R according to the code rate R and code length N selected by the R-S code, and each data packet is divided into R-S After the code is encoded into a data packet with a length of N, it is sent to the deletion channel one after another;
优选的,所述步骤(3)中提出的离散随机逼近算法优化删除信道通信系统有效吞吐量的算法步骤②中,跨层联合码率θ定义为喷泉码的校验率ρ和R-S码的码率R的组合,即θ=[ρ,R]。Preferably, the discrete random approximation algorithm proposed in the step (3) optimizes the effective throughput of the erasure channel communication system in the algorithm step ②, the cross-layer joint code rate θ is defined as the verification rate ρ of the fountain code and the code of the R-S code The combination of rate R, that is, θ=[ρ, R].
更进一步的,所述步骤(3)中提出的离散随机逼近算法优化删除信道通信系统有效吞吐量的算法步骤⑥中,通过将本次迭代的联合码率对应的有效吞吐量与在可行搜索域中随机选取的另一联合码率对应的有效吞吐量进行比较,选择具有更大有效吞吐量的联合码率作为下次迭代的联合码率。Furthermore, in step ⑥ of the algorithm for optimizing the effective throughput of the erasure channel communication system by the discrete random approximation algorithm proposed in step (3), by combining the effective throughput corresponding to the joint code rate of this iteration with the value in the feasible search domain The effective throughput corresponding to another joint code rate randomly selected in the above is compared, and the joint code rate with greater effective throughput is selected as the joint code rate for the next iteration.
更进一步的,所述步骤(3)中提出的离散随机逼近算法优化删除信道通信系统有效吞吐量的算法步骤⑦、⑧中,根据步骤⑥中选择的联合码率更新所有联合码率的状态概率向量,并将状态概率向量中具有最大访问频率的联合码率作为当前最优的联合码率。经过充分迭代后,最后一次迭代得到的最优联合码率将是整个迭代过程冲被访问次数最多的联合码率,即为最终的最优联合码率。Furthermore, the discrete random approximation algorithm proposed in step (3) optimizes the effective throughput of the erasure channel communication system in steps ⑦ and ⑧, update the state probabilities of all joint code rates according to the joint code rate selected in step ⑥ vector, and the joint code rate with the largest access frequency in the state probability vector is taken as the current optimal joint code rate. After sufficient iterations, the optimal joint code rate obtained in the last iteration will be the joint code rate that has been accessed the most times in the entire iterative process, which is the final optimal joint code rate.
更进一步的,所述步骤(3)中提出的离散随机逼近算法优化删除信道通信系统有效吞吐量的算法步骤⑨中,为保证算法进行充分迭代以收敛到最优值,所述迭代次数为可行搜索域大小的2~4倍较为合适。Furthermore, in step 9 of the algorithm for optimizing the effective throughput of the erasure channel communication system by the discrete random approximation algorithm proposed in step (3), in order to ensure that the algorithm performs sufficient iterations to converge to the optimal value, the number of iterations is feasible 2 to 4 times the size of the search field is more appropriate.
优选的,可以进一步结合反馈的方法,自动请求额外数据包传输,方法如下:Preferably, the feedback method can be further combined to automatically request additional data packet transmission, the method is as follows:
(S1)若接收端应用层能够恢复出全部的原始的数据,即解码成功,则回复一个ACK信号给发送端,确认成功接收。(S1) If the application layer at the receiving end can recover all the original data, that is, the decoding is successful, then reply an ACK signal to the sending end to confirm the successful reception.
(S2)如果接收端解码失败,则回复一个NACK信号给发送端,通知发送端产生和发送更多的喷泉码输出数据包。(S2) If the receiving end fails to decode, then reply a NACK signal to the sending end to notify the sending end to generate and send more fountain code output data packets.
(S3)若发送端在等待时间段T后仍未收到任何反馈信号,则自动产生和发送更多的喷泉码输出数据包。若发送端连续三次等待超时,则说明链路已断开连接,停止发送数据。(S3) If the sending end has not received any feedback signal after the waiting period T, automatically generate and send more fountain code output data packets. If the sender waits for the timeout three times in a row, it means that the link has been disconnected and stops sending data.
本发明相对于现有技术具有如下的优点及效果:Compared with the prior art, the present invention has the following advantages and effects:
(1)本发明所述的删除信道通信系统中,接收端对发送端的数据接收成功的确认采用的是累积确认的方式,对整个数据块成功接收后才发回一个ACK信号给发送端,节省信道资源,提高信道利用率。(1) In the deleted channel communication system of the present invention, the receiving end adopts a cumulative confirmation method for confirming the successful data reception of the sending end, and only sends back an ACK signal to the sending end after the entire data block is successfully received, saving Channel resources, improve channel utilization.
(2)本发明结合实际应用中衡量删除信道通信质量的有效指标,即以单位时间内成功传输的有效信息量(有效吞吐量)作为优化的目标。(2) The present invention combines an effective index for measuring the communication quality of the deleted channel in practical applications, that is, the effective information amount (effective throughput) successfully transmitted per unit time is taken as the optimization target.
(3)本发明采用同时将Raptor码作为应用层的前向纠错方案以及R-S码作为信道编码的联合跨层编码方案,来提高删除信道中传输的鲁棒性和可靠性,减少传输时延,最大化有效吞吐量。(3) The present invention adopts a joint cross-layer coding scheme using Raptor code as the forward error correction scheme of the application layer and R-S code as channel coding at the same time to improve the robustness and reliability of transmission in the erasure channel and reduce transmission delay , to maximize the effective throughput.
(4)本发明方法中采用离散随机逼近算法有效的搜索随信道状态信息随机变化的有效吞吐量的最优联合码率,使得在这种最优联合码率下可以使随机变化的有效吞吐量最大化。(4) In the method of the present invention, the discrete random approximation algorithm is used to effectively search for the optimal joint code rate of the effective throughput that changes randomly with the channel state information, so that the effective throughput of the random change can be obtained under this optimal joint code rate. maximize.
(5)本发明中,利用离散随机逼近算法搜索最优联合码率是在多次循环中,根据比较所有联合码率在状态概率向量中对应的频率的大小来判断该联合码率是否是当前循环中被访问最多的联合码率。因为在某次迭代过程中,根据随机选择的某个联合码率计算得到有效吞吐量要比上次迭代中选择的联合码率对应的有效吞吐量大,该联合码率才被作为下次被访问的联合码率,否则,该联合码率不被访问。因此迭代结束后,所有联合码率的状态概率向量中最大的分量对应的联合码率就是被访问到最多次数的联合码率,也就是最终的最优的联合码率,该方法精确且效率高。(5) In the present invention, using the discrete random approximation algorithm to search for the optimal joint code rate is in multiple cycles, and judging whether the joint code rate is the current The most accessed joint code rate in the loop. Because in a certain iteration process, the effective throughput calculated according to a randomly selected joint code rate is greater than the effective throughput corresponding to the joint code rate selected in the previous iteration, this joint code rate is used as the next The joint code rate to be accessed, otherwise, the joint code rate will not be accessed. Therefore, after the iteration is over, the joint code rate corresponding to the largest component in the state probability vector of all joint code rates is the joint code rate that has been visited the most times, that is, the final optimal joint code rate. This method is accurate and efficient. .
附图说明Description of drawings
图1是本发明的系统原理图。Fig. 1 is a schematic diagram of the system of the present invention.
图2是本发明的流程图。Fig. 2 is a flow chart of the present invention.
具体实施方式detailed description
下面结合实施例及附图对本发明作进一步详细的描述,但本发明的实施方式不限于此。The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.
实施例Example
本实施例删除信道中采用跨层联合编码的有效吞吐量随机优化方法,包括以下步骤,其中本实施例Raptor码校验率的可能的离散的取值空间为[0,0.1,0.2,...2],共有21个值,R-S码码率的可能取值空间为有5个,Raptor码校验率和R-S码码率的所有可能的取值构成了101种联合码率可供选择,因此,可行搜索域的大小为101。为了达到充分迭代,设本次选择循环次数为300次;This embodiment deletes the effective throughput random optimization method of cross-layer joint coding in the channel, including the following steps, wherein the possible discrete value space of the Raptor code verification rate in this embodiment is [0, 0.1, 0.2, .. .2], there are 21 values in total, and the possible value space of the RS code rate is There are 5, and all possible values of the Raptor code check rate and the RS code rate constitute 101 joint code rates to choose from. Therefore, the size of the feasible search domain is 101. In order to achieve sufficient iterations, the number of selection cycles this time is set to 300;
(1)如图1所示,删除信道通信系统中发送端得到应用进程交付下来的原始数据块后,确定合适的包大小Lp,将原始数据块分成Nin个数据包,然后采用Raptor码对这Nin个原始数据包进行编码;编码后的数据包向下传递经过传输层、网络层、数据链路层,经过的每层都为每个数据包加上相应的头部和尾部,最后到达物理层;物理层通过选择合适的码率R对数据链路层传下来的全部数据包进行R-S码编码,编码完成后发送到删除信道中;(1) As shown in Figure 1, after the sender in the deletion channel communication system obtains the original data block delivered by the application process, determine the appropriate packet size L p , divide the original data block into N in data packets, and then use the Raptor code Encode the N in original data packets; the encoded data packets are passed down through the transport layer, network layer, and data link layer, and each layer that passes through adds a corresponding header and tail to each data packet, Finally, it reaches the physical layer; the physical layer performs RS code encoding on all data packets transmitted from the data link layer by selecting an appropriate code rate R, and sends them to the deletion channel after encoding is completed;
(2)经过删除信道的传输,到达接收端的数据先在接收端的物理层进行R-S码解码,解码完成后将解码后的数据传到应用层进行Raptor码解码。若接收端应用层能够恢复出全部的原始的数据,则回复一个ACK信号给发送端,确认成功接收。反之,则回复一个NACK信号给发送端,通知发送端产生和发送更多的喷泉码输出数据包。若发送端在等待时间段T后仍未收到任何反馈信号,则自动产生和发送更多的喷泉码输出数据包。若发送端连续三次等待超时,则说明链路已断开连接,停止发送数据。(2) After the transmission of the deleted channel, the data arriving at the receiving end is first decoded by R-S code at the physical layer of the receiving end, and after the decoding is completed, the decoded data is transmitted to the application layer for Raptor code decoding. If the application layer at the receiving end can recover all the original data, it will reply an ACK signal to the sending end to confirm successful reception. Otherwise, reply a NACK signal to the sender, informing the sender to generate and send more fountain code output data packets. If the sending end has not received any feedback signal after the waiting period T, more fountain code output data packets are automatically generated and sent. If the sender waits for the timeout three times in a row, it means that the link has been disconnected and stops sending data.
(3)采用离散随机逼近算法选择合适的跨层联合码率优化删除信道通信系统中的有效吞吐量,算法的流程如图2所示,具体步骤如下:(3) Use the discrete random approximation algorithm to select the appropriate cross-layer joint code rate to optimize the effective throughput in the erasure channel communication system. The algorithm flow is shown in Figure 2, and the specific steps are as follows:
①在应用层用Raptor码对Nin个源数据包进行编码,校验率为ρ,得到相应的编码数据包的数目为:No=(1+ρ)Nin。物理层,用码率为R的R-S码进行信道编码,给定码长为N,则每一编码包中用于信道编码的原始信息比特数为K=N·R。如果根据信道状态信息得到删除信道的误比特率为pb,就可以计算出其删除概率为接收端应用层接收到的编码数据包的数目为Nr=(1-f)No=(1-f)(1+ρ)Nin。接收端应用层接收到编码数据包后开始解码,解码失败的概率可以表示为:① At the application layer, use Raptor code to encode N in source data packets with a check rate ρ, and obtain the corresponding number of encoded data packets: N o =(1+ρ)N in . In the physical layer, the RS code with the code rate R is used for channel coding. Given a code length of N, the number of original information bits used for channel coding in each coded packet is K=N·R. If the bit error rate of the deleted channel is obtained according to the channel state information p b , the deletion probability can be calculated as The number of encoded data packets received by the application layer at the receiving end is N r =(1-f)N o =(1-f)(1+ρ)N in . The application layer at the receiving end starts decoding after receiving the encoded data packet, and the probability of decoding failure can be expressed as:
解码失败的概率是由接收端接收到的编码数据包的数目决定的。接收端解码后得到的有用信息量为Nuse(R,ρ)=(1-pa)NinLp,其中Lp是应用层一个数据包的长度。总的传输时间T(ρ,R)=NoLf/RRs,其中Lf是数据链路层帧的长度,Rs是物理层数据传输速率。根据有效吞吐量的定义,我们得到有效吞吐量的计算公式 The probability of decoding failure is determined by the number of encoded packets received by the receiver. The amount of useful information obtained by the receiving end after decoding is N use (R,ρ)=(1-p a )N in L p , where L p is the length of a data packet at the application layer. The total transmission time T(ρ,R)=N o L f /RR s , where L f is the length of the data link layer frame, and R s is the data transmission rate of the physical layer. According to the definition of effective throughput, we get the calculation formula of effective throughput
②在联合码率的可行搜索域中随机选择一个作为初始的联合码率且将θ[0]设置为初始的最优的联合码率假设θ[0]对应于可行搜索域Θ的第64个元素。设定所有联合码率初始的状态概率向量π[0]中第64个元素为1,其他元素均为0。② Randomly select one of the feasible search domains of the joint code rate as the initial joint code rate And set θ[0] as the initial optimal joint code rate Suppose θ[0] corresponds to the 64th element of the feasible search domain Θ. Set the 64th element in the initial state probability vector π[0] of all joint code rates as 1, and set the other elements as 0.
③结合信道状态信息得到的删除概率f(0)以及我们在①中得到的有效吞吐量的计算公式计算当联合码率为θ[0]时,得到有效吞吐量为f(θ[0]);③Calculation by combining the deletion probability f(0) obtained from the channel state information and the effective throughput calculation formula we obtained in ① When the joint code rate is θ[0], the effective throughput is f(θ[0]) ;
④再随机选择另一个联合码率计算比较与f(θ[0])的大小;④ Randomly select another joint code rate calculate Compare and the size of f(θ[0]);
若则令 like order
若则令 like order
⑤新联合码率的状态概率向量其中eθ[1]是一个单位向量,1的位置对应于θ[1]在可行搜索域Θ中的指标23,如果则更新后π[1]的第23和第64个分量的值均为1/2,其余分量均为0。否则,π[1]的第64个分量值为1,其余值仍然为0,即与第0次迭代的值一样。⑤The state probability vector of the new joint code rate where e θ[1] is a unit vector, the position of 1 corresponds to the index 23 of θ[1] in the feasible search domain Θ, if After updating, the values of the 23rd and 64th components of π[1] are both 1/2, and the remaining components are all 0. Otherwise, the 64th component value of π[1] is 1, and the remaining values are still 0, which is the same as the value of the 0th iteration.
⑥比较π[1]中联合码率θ[1]和最优联合码率对应的概率的大小,更新当前最优联合码率选择,;⑥ Compare the joint code rate θ[1] and the optimal joint code rate in π[1] The size of the corresponding probability, update the current optimal joint code rate selection;
若则令 like order
若则令 like order
⑦返回第④步,进入第二次循环,随机选择一个联合码率θ计算得到与f(θ[1])比较,更新联合码率的状态概率向量及最优联合码率选择;不断进行循环,每次循环均更新联合码率的状态概率向量及最优联合码率选择,直到运行完设定的迭代次数后结束。⑦ Return to step ④, enter the second cycle, and randomly select a joint code rate θ calculated Compared with f(θ[1]), the state probability vector of the joint code rate and the optimal joint code rate selection are updated; the cycle is continued, and the state probability vector of the joint code rate and the optimal joint code rate selection are updated in each cycle. Ends after the set number of iterations has been run.
采用本实施例方法进行有效吞吐量的随机优化的结果是稳定且高效的选择了最后一次循环结束后的最优联合码率,使删除信道中有效吞吐量达到了最大值。As a result of random optimization of effective throughput using the method of this embodiment, the optimal joint code rate after the last cycle is selected stably and efficiently, so that the effective throughput in the erasure channel reaches the maximum value.
上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410108248.XA CN103905152B (en) | 2014-03-21 | 2014-03-21 | Using the effective throughput randomized optimization process of layer-span combined coding in erasure channel |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410108248.XA CN103905152B (en) | 2014-03-21 | 2014-03-21 | Using the effective throughput randomized optimization process of layer-span combined coding in erasure channel |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103905152A CN103905152A (en) | 2014-07-02 |
| CN103905152B true CN103905152B (en) | 2017-06-23 |
Family
ID=50996317
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410108248.XA Expired - Fee Related CN103905152B (en) | 2014-03-21 | 2014-03-21 | Using the effective throughput randomized optimization process of layer-span combined coding in erasure channel |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103905152B (en) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105007138B (en) * | 2015-06-05 | 2018-07-20 | 华南理工大学 | A kind of opportunistic data retransmission method of underwater sensor network |
| US10784901B2 (en) | 2015-11-12 | 2020-09-22 | Qualcomm Incorporated | Puncturing for structured low density parity check (LDPC) codes |
| CN106028033B (en) * | 2016-05-10 | 2019-01-18 | 天津大学 | A kind of adaptive cross-layer forward error correction suitable for wireless video transmission |
| US10469104B2 (en) | 2016-06-14 | 2019-11-05 | Qualcomm Incorporated | Methods and apparatus for compactly describing lifted low-density parity-check (LDPC) codes |
| US10312939B2 (en) | 2017-06-10 | 2019-06-04 | Qualcomm Incorporated | Communication techniques involving pairwise orthogonality of adjacent rows in LPDC code |
| US12476733B2 (en) | 2017-06-19 | 2025-11-18 | Qualcomm Incorporated | Communication techniques with self-decodable redundancy versions (RVs) using systematic codes |
| CN110832799B (en) | 2017-07-07 | 2021-04-02 | 高通股份有限公司 | Communication Technology Using Low Density Parity Check Code Basemap Selection |
| CN109005011B (en) * | 2018-08-10 | 2021-03-12 | 深圳市智慧海洋科技有限公司 | Data transmission method and system for underwater acoustic network and readable storage medium |
| CN109088699B (en) * | 2018-08-29 | 2020-11-27 | 同济大学 | A Matching Method of Raptor Code Degree Distribution and High-Order Modulation Mapping |
| CN115280693B (en) * | 2020-03-24 | 2024-05-14 | 高通股份有限公司 | Techniques for providing adaptive coding rates in wireless communications |
| CN113472480B (en) | 2020-03-31 | 2022-09-27 | 维沃移动通信有限公司 | Transmission processing method and equipment |
| CN116347510A (en) * | 2023-04-21 | 2023-06-27 | 中国科学院大学 | A Joint Coding Method Based on Physical Layer Cross-Technology Communication |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102983952A (en) * | 2006-11-29 | 2013-03-20 | 艾利森电话股份有限公司 | Reliable multicast with linear independent data grouping and encoding |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8693501B2 (en) * | 2010-11-23 | 2014-04-08 | The Chinese University Of Hong Kong | Subset coding for communication systems |
-
2014
- 2014-03-21 CN CN201410108248.XA patent/CN103905152B/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102983952A (en) * | 2006-11-29 | 2013-03-20 | 艾利森电话股份有限公司 | Reliable multicast with linear independent data grouping and encoding |
Non-Patent Citations (1)
| Title |
|---|
| 一种最大化网络吞吐量的认知无线Ad Hoc网络跨层优化算法;杨双懋,郭伟,唐伟;《计算机学报》;20120315;491-503 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103905152A (en) | 2014-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103905152B (en) | Using the effective throughput randomized optimization process of layer-span combined coding in erasure channel | |
| CN101938334B (en) | Adaptive error control method combining random network coding and automatic repeat request | |
| CN102694636B (en) | Adopt sending, receiving method and the system of the HARQ technology of fountain codes | |
| CN101237310B (en) | A Method of Enhanced Adaptive Data Retransmission | |
| CN109889308B (en) | Hybrid automatic repeat request method for joint polarization coding and decoding in Internet of things | |
| CN1422032A (en) | Mixed automatic retransmitting method | |
| CN102752087A (en) | Link adapting method based on AMC-ARQ (Adaptive Modulation and Coding-Automatic Repeat-re Quest) striding layer | |
| WO2017112744A1 (en) | Improved joint fountain coding and network coding for loss-tolerant information spreading | |
| CN113438055B (en) | Convolutional Network Coding Transmission Method Based on Unequal Redundancy Insertion | |
| CN103200088A (en) | Improved type MMRS fixed relay node selection signal transmission method based on fountain encoding | |
| CN102244922B (en) | Power control method applicable to Raptor Codes under additive white Gaussian noise channel | |
| CN104539387A (en) | Hop-by-hop reliable transmission control method for underwater wireless sensor network | |
| CN107911841B (en) | A reliable transmission method for sensor network delay optimization | |
| CN109639397B (en) | A hybrid automatic repeat request method for polar codes in composite channels | |
| Leung | Aggressive packet combining for error control in wireless networks | |
| KR102002939B1 (en) | On-demand file recovery methods and systems | |
| CN104852788A (en) | Data broadcast ARQ method based on maximum-minimum network encoding | |
| CN109088701A (en) | A kind of LDPC code serial transmission method based on online fountain codes | |
| CN104683065B (en) | A kind of layer-span combined document transmission method and system towards deep space communication | |
| CN101854230B (en) | Device and method for improving retransmission efficiency of communication system | |
| CN109417432A (en) | Data encoding and decoding | |
| CN102307076A (en) | Redundancy-free anti-interference coding method | |
| CN106254044B (en) | Dynamic linear combination retransmission method based on multicast network coding | |
| CN115102667B (en) | Method for optimizing degree distribution of short code long fountain codes of high-speed wireless end-to-end transmission | |
| CN113612586B (en) | A low-latency channel coding method combining LT code and multiple connections |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170623 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |