The present disclosure generally relates to communication method and system based on network coding.
Network coding has emerged as an approach to the operation of communication networks, especially wireless networks. In this scheme, a network coding layer is embedded below Transmission Control Protocol (TCP) layer and above Internet Protocol (IP) layer on a source side or a receiver side to improve the capacity and efficiency of network transmissions. However, the computational overhead of the network coding layer is high.
In one embodiment, a communication method is provided. The method may include: obtaining N native data packets; encoding the N native data packets into M encoded data packets using M linearly independent coefficient vectors respectively, where the M linearly independent coefficient vectors are selected from a look up table based on N and M; and sending, through a network, the M encoded data packets, where N≥1 and M≥1.
In some embodiments, at least one of the M encoded data packets may have a header which contains a piece of information indicating N and M.
In some embodiments, M may be determined based on a packet loss rate of the network and N.
In some embodiments, each of the M encoded data packets may have a header which contains a sequence number of the encoded data packet.
In one embodiment, a communication method is provided. The method may include: receiving, through a network, R encoded data packets at least one of which has a header which contains a piece of information indicating N and M, where N stands for the number of native packets based on which the R encoded data packets are generated, and M stands for the total number of encoded data packets which are generated based on the N native data packets; selecting R linearly independent coefficient vectors from a look up table based on N and M; and decoding the R encoded data packets using the R linearly independent coefficient vectors to obtain the N native packets.
In some embodiments, each of the R encoded data packets may have a header which contains a sequence number of the encoded data packet, and the R linearly independent coefficient vectors may be selected based on N, M and sequence numbers of the R encoded data packets.
In one embodiment, a communication system is provided, the system may include a transceiver and a processing device configured to: obtain N native data packets; encode the N native data packets into M encoded data packets using M linearly independent coefficient vectors respectively, where the M linearly independent coefficient vectors are selected from a look up table based on N and M; and control the transceiver to send, through a network, the M encoded data packets, where N≥1 and M≥1.
In some embodiments, at least one of the M encoded data packets may have a header which contains a piece of information indicating N and M.
In some embodiments, M may be determined based on a packet loss rate of the network and N.
In some embodiments, each of the M encoded data packets may have a header which contains a sequence number of the encoded data packet.
In one embodiment, a communication system is provided. The system may include a transceiver and a processing device configured to: after the transceiver receives, through a network, R encoded data packets at least one of which has a header which contains a piece of information indicating N and M, select R linearly independent coefficient vectors from a look up table based on N and M, where N stands for the number of native packets based on which the R encoded data packets are generated, and M stands for the total number of encoded data packets which are generated based on the N native data packets; and decode the R encoded data packets using the R linearly independent coefficient vectors to obtain the N native data packets.
In some embodiments, each of the R encoded data packets may have a header which contains a sequence number of the encoded data packet, and the R linearly independent coefficient vectors may be selected based on N, M and sequence numbers of the R encoded data packets.
The foregoing and other features of the present disclosure will become more fully apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only several embodiments in accordance with the disclosure and are, therefore, not to be considered as limitation to its scope, the disclosure will be described with additional specificity and detail through use of the accompanying drawings.
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, similar symbols typically identify similar components, unless context dictates otherwise. The illustrative embodiments described in the detailed description, drawings, and claims are not meant to be limitation. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented here. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the figures, can be arranged, substituted, combined, and designed in a wide variety of different configurations, all of which are explicitly contemplated and make part of this disclosure.
In S101, obtaining N native data packets.
In S103, encoding the N native data packets into M encoded data packets using M linearly independent coefficient vectors respectively, where the M linearly independent coefficient vectors are selected from a look up table based on N and M.
The M encoded data packets may be sent to a receiver side in subsequent steps. Due to the random packet loss of the network, the value of M should be chosen carefully, so that the receiver side can receive enough encoded data packets to obtain the N native data packets. In some embodiments, M may be greater than N. In some embodiments, M may be determined based on a packet loss rate of the network and N.
In some embodiments, M may be calculated by Equation (1):
M=N/(1−Pe) Equation (1)
where Pe represents the packet loss rate of the network.
After M is determined, M linearly independent coefficient vectors may be selected from a look up table based on N and M. In some embodiments, a look up table is stored in the source side. The look up table includes a plurality of sets of linearly independent coefficient vectors. Each set of linearly independent coefficient vectors corresponds to a different pair of native data packet quantity and encoded data packet quantity. An example of the look up table is shown in Table 1. For example, if M=M4 and N=N3, M linearly independent coefficient vectors in a set of S43 may be selected.
As described above, because the M linearly independent coefficient vectors are selected from the look up table, linearly independent estimation processes performed on the coefficient vectors are not needed. Therefore, the computational overhead on the source side is reduced.
Then, the network coding layer 203 may encode the N native data packets into M encoded data packets using the M linearly independent coefficient vectors respectively. In some embodiments, each of the M encoded data packets is a linear combination of the N native packets based on a corresponding linearly independent coefficient vector of the M linearly independent coefficient vectors. For example, each of the M encoded data packets are obtained by Equation (2):
q=Σ
i=1
i=Nαipi Equation (2)
where q represents one of the M encoded data packets, pi represents an ith data packet of the N native data packets, and αi represents an ith element of a corresponding coefficient vector.
In S105, appending each of the M encoded data packets with a header which contains a piece of information indicating N and M.
Referring to
In some embodiments, the header 300 may further include N “Starti” fields and N “Endi” fields. For encoding operations on the source side, the N native data packets are adjusted to have a fixed packet length. The “Starti” field may indicate the starting byte of an ith data packet in a corresponding fixed-length data packet, and the “Endi” field may indicate the last byte of the ith data packet in the corresponding fixed-length data packet.
In S107, sending, through the network, the M encoded data packets.
As shown in
At the receiver side, instead of the N native data packets, encoded data packets may be received.
In S109, receiving, through the network, R encoded data packets at least one of which has a header which contains a piece of information indicating N and M.
As shown in
Because the random packet loss of the network, maybe not all of the M encoded data packets sent by the source side can be received by the receiver side. Until the number of the encoded data packets in the decoding buffer reaches N, the N native data packets can be obtained by decoding the encoded data packets. That is, R should be equal to or greater than N.
In some embodiments, at least one of the R encoded data packets may have a header which contains a piece of information indicating N and M. An example of the header is shown in
In S111, selecting R linearly independent coefficient vectors from a look up table based on N and M.
After receiving an encoded data packet, the network coding layer 213 may unpack the header appended to the encoded data packet, so as to obtain N and M in the “Group” field. In some embodiments, a look up table, which is the same as the look up table in the source side, is stored in the receiver side. The look up table includes a plurality of sets of linearly independent coefficient vectors. Each set of linearly independent coefficient vectors corresponds to a different pair of N and M. The network coding layer 213 may search the look up table to obtain a set of linearly independent coefficient vectors based on N and M.
Moreover, as shown in
Since coefficient vectors in the look up table are predetermined and linearly independent, linearly independent estimation processes performed on the R coefficient vectors are not needed. Therefore, the computational overhead on the receiver side is reduced.
In S113, decoding the R encoded data packets using the R linearly independent coefficient vectors to obtain the N native packets.
In some embodiments, the R linearly independent coefficient vectors may be put into a coefficient matrix. In some embodiments, the network coding layer 213 may invert the coefficient matrix using Gaussian elimination, and apply linear combination operations on the R encoded data packets to obtain N adjusted data packets with a fixed-length. Thereafter, based on the “Starti” fields and “Endi” fields in the header 300 as shown in
Thereafter, as shown in
As described above, the linearly independent coefficient vectors are selected from a look up table based on N and M. Therefore, linearly independent estimation processes on both the source side and the receiver side are not necessary so that the computational overhead is reduced. Furthermore, the header of the encoded data packet doesn't contain the corresponding coefficient vector, so that the network overhead is reduced.
According to one embodiment, a communication system is provided. The communication system may be disposed at a source side or a receiver side in a network.
If the communication system 400 is disposed at a source side. The processing device 403 may be configured to: obtain N native data packets; encode the N native data packets into M encoded data packets using M linearly independent coefficient vectors respectively, where the M linearly independent coefficient vectors are selected from a look up table based on N and M; and control the transceiver 401 to send, through a network, the M encoded data packets, where N≥1 and M≥1. Detail configurations of the processing device 403 may be obtained by referring detail descriptions in S101 to S107.
If the communication system 400 is disposed at a receiver side. The processing device 403 may be configured to: after the transceiver 401 receives, through a network, R encoded data packets at least one of which has a header which contains a piece of information indicating N and M, select R linearly independent coefficient vectors from a look up table based on N and M, where N stands for the number of native packets based on which the R encoded data packets are generated, and M stands for the total number of encoded data packets which are generated based on the N native data packets; and decode the R encoded data packets using the R linearly independent coefficient vectors to obtain the N native data packets. Detail configurations of the processing device 403 may be obtained by referring detail descriptions in S109 to S113.
There is little distinction left between hardware and software implementations of aspects of systems; the use of hardware or software is generally a design choice representing cost vs. efficiency tradeoffs. For example, if an implementer determines that speed and accuracy are paramount, the implementer may opt for a mainly hardware and/or firmware vehicle; if flexibility is paramount, the implementer may opt for a mainly software implementation; or, yet again alternatively, the implementer may opt for some combination of hardware, software, and/or firmware.
While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/IB2016/057290 | 12/2/2016 | WO | 00 |