Suche Bilder Maps Play YouTube News Gmail Drive Mehr »
Erweiterte Patentsuche | Webprotokoll | Anmelden

Patente

VeröffentlichungsnummerUS8223643 B1
PublikationstypErteilung
Anmeldenummer11/516,197
Veröffentlichungsdatum17. Juli 2012
Eingetragen6. Sept. 2006
Prioritätsdatum
6. Sept. 2005
Erfinder
Ursprünglich Bevollmächtigter
US-Klassifikation
Internationale Klassifikation
Unternehmensklassifikation
Europäische Klassifikation
H04L1/00B7V
Referenzen
Externe Links
Method for packet-level FEC encoding a stream of source packets using shifted interleaving
US 8223643 B1
Zusammenfassung

A method for transmitting interleaved shares of packet-level FEC encoded packets, in which a given time shift occurs between consecutive shares, includes determining a current state; associating a packet with a share based on the current state; and determining a position of the packet within the share. Each share includes source packets and error-correcting or wildcard packets. If the position of the packet corresponds to a source packet position, a contribution of the packet to the wildcard packets of the share is computed, and the packet is transmitted as a source packet. If the position of the packet corresponds to a wildcard packet position, the packet is transmitted as a wildcard packet.

Zeichnungen(3)
Previous page
Next page
Ansprüche

1. A method for transmitting interleaved shares of packet-level forward-error-correction encoded packets, each share including source packets and wildcard packets, wherein a given time shift occurs between consecutive shares, the method comprising the steps of:

determining a current state;

associating a packet with a share based on the current state;

determining a position of the packet within the share based on the given time shift; and,

if the position of the packet corresponds to a source packet position, computing a contribution from the packet to wildcard packets of the share and transmitting the packet as a source packet, or, if the position of the packet corresponds to a wildcard packet position, transmitting the packet as a wildcard packet,

wherein positions of two consecutive packets within two shares are not the same, and

wherein the above steps are performed by a processor.

2. A method according to claim 1, wherein the given time shift is a difference in time between points of consecutive shares.

3. A method according to claim 1, wherein multiple shares of packets are transmitted as a lot, and wherein the method further comprises the steps of:

determining the given time shift, S, based on:

a number of source packets per share, K,

a number of wildcard packets per share, E, and

a number of shares per lot, L,

wherein K, E and L are integers; and

shifting a share by the given time shift, S, relative to a previous share, wherein S=(K+E)/L.

4. A method according to claim 3, wherein:

the multiple shares of packets form an interleaved arrangement, and

the step of determining a position of the packet within the share includes determining P=C−R*5 modulo (K+E), wherein:

P represents the position of the packet within the share,

C represents a column number in the arrangement,

R represents a share number in the lot.

5. A method according to claim 4, wherein:

0≦P≦(K+E−1);

0≦R≦(L−1); and

C=is any one of 0, 1, 2, 3, . . . .

6. A method of shifting interleaved shares of packet-level forward-error-correction encoded packets to be transmitted, in which multiple shares of packets are transmitted as a lot, the method comprising the steps of:

determining a time shift, S, based on:

a number of source packets per share, K,

a number of error-correcting packets per share, E, and

a number of shares per lot, L,

wherein K, E and L are integers; and

shifting each interleaved share of packet-level forward-error correction encoded packets by the time shift, S, relative to a corresponding previous share, wherein S=(K+E)/L, wherein positions of two consecutive packets within two shares are not the same, and wherein the above steps are performed by a processor.

7. A method according to claim 6, wherein the step of shifting includes shifting a start point of the interleaved share by the time shift, S, relative to a start point of the corresponding previous share.

8. A method according to claim 6, further comprising the step of:

determining a position, P, of a packet in the interleaved share based on an interleaved arrangement of packets according to:


P=C−R*S modulo(K+E),

wherein:

C represents a column number in the arrangement,

R represents a share number in the lot.

9. A method according to claim 8, wherein:

0≦P≦(K+E−1);

0≦R≦(L−1); and

C=is any one of 0, 1, 2, 3, . . . .

10. A method according to claim 8, wherein the time shift, S, represents a number of columns the interleaved share is shifted relative to the corresponding previous share.

11. A method according to claim 8, further comprising the step of:

if P<K, determining an error-correction contribution to the interleaved share from a source packet at the position, P.

12. A method for transmitting interleaved shares of packet-level forward-error-correction encoded packets to be transmitted, in which multiple shares of packets are transmitted as a lot, the method comprising the steps of:

determining a time shift, S, based on:

a number of source packets per share, K,

a number of error-correcting packets per share, E, and

a number of shares per lot, L,

wherein K, E and L are integers, and

wherein S=(K+E)/L;

shifting a share by the time shift, S, relative to a previous share;

arranging the lot packets to be transmitted according to columns and rows, with C representing a column number and R representing a row number, wherein 0≦R≦(L−1) and R corresponds to a share in the lot;

transmitting a packet at a first position identified by R and C;

determining a next position such that:

if R+1=L, set R=0 and increase C by 1, or,

if R+1<L, then set R=R+1; and

transmitting a packet at the next position,

wherein positions of two consecutive packets within two shares are not the same.

13. A method according to claim 12, further comprising the step of:

determining a position, P, of a packet in a share of the lot based on an interleaved arrangement of packets according to P=C−R*S modulo (K+E).

14. A method according to claim 13, wherein:

C=is any one of 0, 1, 2, 3, . . . , and

0≦P≦(K+E−1).

15. A method according to claim 13, wherein the time shift, S, represents a number of columns a share of the lot is shifted relative to a previous share of the lot.

16. A method according to claim 13, further comprising the step of:

if P<K, determining an error-correction contribution to the share from a source packet at the position, P.

17. A computer programmed to perform transmitting of interleaved shares of packet-level forward-error-correction encoded packets, each share including source packets and wildcard packets, wherein a given time shift occurs between consecutive shares, by using a processor to perform the steps of:

determining a current state;

associating a packet with a share based on the current state;

determining a position of the packet within the share based on the given time shift; and,

if the position of the packet corresponds to a source packet position, computing a contribution from the packet to wildcard packets of the share and transmitting the packet as a source packet, or, if the position of the packet corresponds to a wildcard packet position, transmitting the packet as a wildcard packet,

wherein positions of two consecutive packets within two shares are not the same.

18. A computer programmed to perform shifting of interleaved shares of packet-level forward-error-correction encoded packets to be transmitted, in which multiple shares of packets are transmitted as a lot, by using a processor to perform the steps of:

determining a time shift, S, based on:

a number of source packets per share, K,

a number of error-correcting packets per share, E, and

a number of shares per lot, L,

wherein K, E and L are integers; and

shifting each interleaved share of packet-level forward-error correction encoded packets by the time shift, S, relative to a corresponding previous share, wherein S=(K+E)/L, wherein positions of two consecutive packets within two shares are not the same.

19. A computer programmed to perform transmitting of interleaved shares of packet-level forward-error-correction encoded packets to be transmitted, in which multiple shares of packets are transmitted as a lot, by using a processor to perform the steps of:

determining a time shift, S, based on:

a number of source packets per share, K,

a number of error-correcting packets per share, E, and

a number of shares per lot, L,

wherein K, E and L are integers, and

wherein S=(K+E)/L; shifting a share by the time shift, S, relative to a previous share;

arranging the lot packets to be transmitted according to columns and rows, with C representing a column number and R representing a row number, wherein 0≦R≦(L−1) and R corresponds to a share in the lot;

transmitting a packet at a first position identified by R and C;

determining a next position such that:

if R+1=L, set R=0 and increase C by 1, or,

if R+1<L, then set R=R+1; and transmitting a packet at the next position, wherein positions of two consecutive packets within two shares are not the same.

20. A communications system for transmitting interleaved shares of packet-level forward-error-correction encoded packets, each share including source packets and wildcard packets, wherein a given time shift occurs between consecutive shares, comprising:

a transmitter configured to perform:

determining a current state;

associating a packet with a share based on the current state;

determining a position of the packet within the share based on the given time shift; and,

if the position of the packet corresponds to a source packet position,

computing a contribution from the packet to wildcard packets of the share and transmitting the packet as a source packet, or, if the position of the packet corresponds to a wildcard packet position, transmitting the packet as a wildcard packet,

wherein positions of two consecutive packets within two shares are not the same.

21. A communications system for transmitting shifted interleaved shares of packet-level forward-error-correction encoded packets, in which multiple shares of packets are transmitted as a lot, comprising:

a transmitter configured to perform:

determining a time shift, S, based on:

a number of source packets per share, K,

a number of error-correcting packets per share, E, and

a number of shares per lot, L,

wherein K, E and L are integers; and

shifting each interleaved share of packet-level forward-error correction encoded packets by the time shift, S, relative to a corresponding previous share, wherein S=(K+E)/L,

wherein positions of two consecutive packets within two shares are not the same.

22. A communications system for transmitting interleaved shares of packet-level forward-error-correction encoded packets to be transmitted, in which multiple shares of packets are transmitted as a lot, comprising:

a transmitter configured to perform:

determining a time shift, S, based on:

a number of source packets per share, K,

a number of error-correcting packets per share, E, and

a number of shares per lot, L,

wherein K, E and L are integers, and

wherein S=(K+E)/L;

shifting a share by the time shift, S, relative to a previous share;

arranging the lot packets to be transmitted according to columns and rows, with C representing a column number and R representing a row number, wherein 0≦R≦(L−1) and R corresponds to a share in the lot;

transmitting a packet at a first position identified by R and C;

determining a next position such that:

if R+1=L, set R=0 and increase C by 1, or,

if R+1<L, then set R=R+1; and

transmitting a packet at the next position,

wherein positions of two consecutive packets within two shares are not the same.

Beschreibung
CROSS-REFERENCE TO RELATED APPLICATION

This application claims benefit of U.S. Provisional Application No. 60/714,565 filed on Sep. 6, 2005, the entire disclosure of which is incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a method of reliably and robustly encoding data streams to be transmitted to various types of communication and computer systems, for example but not limited to, a one-way satellite broadcast system including a host computer and a subscriber computer. In particular, the present invention relates to an encoding procedure that uses a shifted interleaving of packets.

2. Description of Related Art

U.S. Pat. No. 6,609,223, U.S. Pat. No. 6,012,159, and U.S. Pat. No. 6,272,658, all of which are assigned to KenCast, Inc., are hereby incorporated by reference.

U.S. Pat. No. 6,609,223 describes a method for encoding a stream of source packets, in which a number, k, of source packets of a message are packet-level forward-error-correction (“FEC”) encoded to form a number n−k of error-correcting wildcard packets. The k source packets and the n−k wildcard packets (forming a total of n packets) are to be transmitted by a transmitter/encoder, such as a host computer, to a receiver/decoder, such as a subscriber computer. The message may be successfully reconstructed on the receiver/decoder side as long as any of k packets, whether they are source packets or wildcard packets or both, are successfully received. For example, a transmitted message may comprise k=180 source packets and n−k=20 wildcard packets, for a total of n=200 transmitted packets, as shown in FIG. 1A of U.S. Pat. No. 6,609,223 and reproduced herein as FIG. 1A. As long as any of 180 packets are successfully received by the receiver/decoder, the message of the 180 source packets may be reconstructed from the successfully received packets.

As disclosed in U.S. Pat. No. 6,609,223, after the arrival of each source packet at the transmitter/encoder, for each byte of the source packet, the respective error-correction contributions to the corresponding bytes of the n−k wildcard packets are computed. Thereafter, the source packet is transmitted to the receiver/decoder without waiting for the arrival of another source packet of the k source packets. This is repeated for each arriving source packet. For each wildcard packet byte, the error-correction contribution generated from each source packet is summed in an accumulator, or the like. After all the error-correction contributions have been computed using all k source packets and summed over all n−k wildcard packets, the wildcard packets are transmitted to the receiver/decoder.

As further disclosed in U.S. Pat. No. 6,609,223, the number n−k of wildcard packets is determined by the operator of the transmitter/encoder (e.g., host computer), based on knowledge of the communication channel to be used, and, specifically, on the expected number of packets to be lost during transmission, e.g., due to interference. For example, it may be expected that a maximum 4 out of 16 transmitted packets will be lost during transmission, a 25% loss rate, and thus n−k=4 wildcard packets will be computed for every k=12 source packets. (A 25% loss rate was chosen to provide an easy to understand example—actual loss rates usually are less than 5%. In any event, the present invention is not limited to any particular loss rate.) Accordingly, at the receiver/decoder, the k=12 source packets may be reconstructed without errors if any 12 of the transmitted packets, that is, any combination of transmitted source packets and wildcard packets, are successfully received.

U.S. Pat. No. 6,609,223 explains that due to the nature of actual packet streams not all expected source packets may arrive at the transmitter/encoder. Continuing with the above example, only the first nine of the expected twelve source packets may arrive at the transmitter/encoder; the last three may never arrive. Eventually, a timeout condition occurs, for example, after the elapse of a predetermined time interval from the arrival of the last source packet (this generally is referred to as the “timeout case,” in contrast to the case where all expected source packets arrive). At that time, i.e., when a timeout condition occurs, the wildcard packets, and more preferably, a subset thereof, are transmitted, with an indication in the headers of the wildcard packets that, in this example, only nine source packets contributed to the information of the wildcard packets.

As also disclosed in U.S. Pat. No. 6,609,223 (and, by reference therein, U.S. Pat. No. 6,012,159 and U.S. Pat. No. 6,272,658), to further enhance the encoding scheme's robustness against interference, prior to encoding and transmission, the packets may be grouped into multiple shares in an interleaving fashion, as shown in FIG. 1B of U.S. Pat. No. 6,609,223 reproduced herein as FIG. 1B. In FIG. 1B, the odd-numbered source packets and wildcard packets comprise Share 1, while the even-number source packets and wildcard packets comprise Share 2.

Further, U.S. Pat. No. 6,609,223 discloses that a lot of multiple shares of interleaved packets may be transmitted to a subscriber computer at the same time. That is, one share of interleaved packets may be transmitted to the subscriber computer at the same time as several other shares of interleaved packets.

However, this arrangement has consequences. First, when the lot of multiple shares of interleaved packets is transmitted at the same time, all of the shares in the lot are received and ready for decoding at the subscriber computer at approximately the same time. As the number of shares per lot increases, the amount of computation required for decoding each lot increases linearly, and the time in between such computations increases linearly. Another consequence of this arrangement is that the number of error-correcting wildcard packets that must be (consecutively) transmitted at a given time increases linearly with the number of shares per lot. It would desirable to have an encoding method that overcomes these consequences.

SUMMARY OF THE INVENTION

The present invention addresses the deficiencies in the prior art by providing a method for transmitting interleaved shares of packet-level FEC encoded packets, with each share including source packets and wildcard packets, for a given time shift between consecutive shares. The method includes: determining a current state; associating a packet with a share based on the current state; and determining a position of the packet within the share. If the position of the packet corresponds to a source packet position, a contribution from the packet to wildcard packets of the share is computed and the packet is transmitted as a source packet. If the position of the packet corresponds to a wildcard packet position, the packet is transmitted as a wildcard packet.

The present invention also provides a method for shifting interleaved shares of packet-level FEC encoded packets to be transmitted, in which multiple shares of packets are transmitted as a lot. The method includes: determining a time shift, S, based on a number of source packets per share, K, a number of error-correcting packets per share, E, and a number of shares per lot, L; and shifting a share by the time shift, S, relative to a previous share, wherein the time shift, S, is given by S=(K+E)/L.

The present invention further provides a method for transmitting interleaved shares of packet-level FEC encoded packets to be transmitted, in which multiple shares of packets are transmitted as a lot. The method includes: determining a time shift, S, based on a number of source packets per share, K, a number of error-correcting packets per share, E, and a number of shares per lot, L, wherein S=(K+E)/L; shifting a share by the time shift, S, relative to a previous share; arranging the lot packets to be transmitted according into columns and rows, with C representing a column number and R representing a row number, wherein 0≦R≦(L−1) and R corresponds to a share in the lot; transmitting a packet at a first position identified by R and C; determining a next position such that: if R+1=L, set R=0 and increase C by 1, or, if R+1<L, then set R=R+1; and transmitting a packet at the next position.

BRIEF DESCRIPTION OF THE DRAWINGS

Various aspects of the present invention can be better understood by reference to the detailed description of the invention set forth below, considered in conjunction with the attached drawings, of which:

FIG. 1A depicts an example of a file of n packets, which includes k source packets and n−k wildcard packets;

FIG. 1B depicts an example of a file with two shares, with each share including n interleaved packets comprising k interleaved source packets and n−k interleaved wildcard packets;

FIG. 2 depicts an example of shares of interleaved packets, according to an embodiment of the present invention, in which the shares are time-shifted with respect to each other; and

FIG. 3 depicts another example of shares of interleaved packets, according to an embodiment of the present invention, in which the shares are time-shifted with respect to each other.

DESCRIPTION OF THE INVENTION

According to an embodiment of the present invention, the same mechanism to encode k source packets to form a plurality of n−k error-correcting wildcard packets, as described in U.S. Pat. No. 6,609,223, is used. One of the differences between the present invention and that of U.S. Pat. No. 6,609,223 is how packets, which include source packets and wildcard packets, are grouped into shares, and how those shares are interleaved.

As discussed above, U.S. Pat. No. 6,609,223 discloses grouping packets into shares whose transmission begins and ends at approximately the same time. In the present invention packets are grouped into shares whose transmission begins and ends at different times.

According to an embodiment of the present invention, the times of these beginnings and endings are separated as much as possible. For example, for a given set of parameters: n (i.e., total number of packets per share), k (i.e., number of source packets per share), and l (i.e., number of interleaved shares (shares with interleaved packets) per lot), if the distance between packets in a given share is exactly the same as in the methods described in U.S. Pat. No. 6,609,223, then the error-correcting properties (e.g., the ability of the subscriber computer to make corrections for missing packets) of this embodiment of the present invention also are the same. However, unlike the methods described in U.S. Pat. No. 6,609,223, with the shifted interleaving of this embodiment of the present invention the subscriber computer must decode one share approximately every n packets, whereas in the interleaving method of U.S. Pat. No. 6,609,223, the subscriber computer is required to decode l shares every (l*n) packets.

As will be discussed in more detail below, FIG. 2 shows an example of a time-shifted interleaving method, according to an embodiment of the present invention. In this example, n=6, k=4, and l=3. Thus, in the current embodiment, the subscriber computer must decode one share approximately every 6 packets. In the interleaving method of U.S. Pat. No. 6,609,223, on the other hand, the subscriber computer is required to decode 3 shares every 18 packets, with the negative caveat that all 3 shares need to be completely received and ready for decoding at approximately the same time.

Because the packets for a given share must be stored in memory until they are decoded, the memory requirements for the subscriber computer still increase linearly with the number of shares per lot. However, increasing the number of shares per lot advantageously increases the robustness of the encoding scheme. That is, by increasing the distance between packets in a given share there is a decrease in the probability that a sequence of correlated errors eliminates more packets than can be recovered from a given share.

Shifted interleaving, according to embodiments of the present invention, allows for an increase in the number of shares per lot, while only requiring a constant amount of computational complexity for decoding. Therefore, shifted interleaving may be used with devices that cannot use the interleaving methods described in U.S. Pat. No. 6,609,223 due to lack of computational resources.

Another advantage of shifted interleaving, according to embodiments of the present invention, is that error-correcting wildcard packets are interspersed more uniformly in the sequence of transmitted packets that in the interleaving methods described in U.S. Pat. No. 6,609,223. That is, blocks of consecutive wildcard packets are smaller, which makes it easier to manage the use of bandwidth.

In some embodiments of the present invention, the source packets to be encoded and transmitted come from an external source (such as described in U.S. Pat. No. 6,609,223). As discussed above, the number of transmitted packets is larger than the number of source packets, because extra wildcard packets are generated and added to the packets to be transmitted. Because data of the source packets must be reproduced and used at the subscriber computer with approximately the same timing, it is not possible to “slow down” the packet stream to accommodate the extra packets to be transmitted. Therefore the transmitted packets must be sent at a faster rate than the rate at which the source packets are received by the transmitter/encoder. If the source packets are received at a constant rate, then it is easy to see that the transmitted packets must be sent at an increased rate in proportion to the proportion of wildcard packets being added. Further, it is desirable for the transmitted packets to be sent at a rate as uniform as possible, so that a burst error in the transmission network cannot cause a loss of a disproportionate number of packets.

However, if the source packets come from an external source, it may be (and often is) the case that they are not received at a uniform rate. This makes it difficult to predict the desired rate at which to send the transmitted packets when sending large sets of consecutive wildcard packets, as is the case with the methods described in U.S. Pat. No. 6,609,223. As described below, the present invention overcomes this drawback of the methods described in U.S. Pat. No. 6,609,223.

According to an embodiment of the present invention, a transmitter is configured to utilize the following parameters:

    • L or (m_nNumSharesInLot) refers to the number of shares per lot;
    • K or (m_nNumSrcPktsInShare) refers to the number of source packets per share, typically 128;
    • E or (m_nNumECPktsPerShare) refers to the number of error-correcting or wildcard packets per share, typically between 1 and 128; and
    • S or (m_nInterleaveShift) refers to an amount that the starting and ending points of a given share are “shifted” with respect to the starting and ending points of a previously numbered share.

According to this embodiment, S or (m_nInterleaveShift), that is, the time shift between consecutive shares, is computed from the other parameters as follows:

    • (m_nInterleaveShift)=[(m_nNumSrcPktsInShare)+(m_nNumECPktsPerShare)]/(m_nNumSharesInLot);
    • if (m_nInterleaveShift=>0), then (m_nInterleaveShift)=1,
      that is:
      S=(K+E)/L;  (equation A)

if S approaches 0, then S=1.

The transmitter uses two variables to represent the current state (that is, to represent the packet to be transmitted next):

    • R or (m_nCurrentShare), with 0≦R≦(L−1), i.e., R ranges from 0 to (m_nNumSharesInLot)−1;
    • C or (m_nCurrentCol).

In the diagram of FIG. 2, the number of source packets per share, K, is 4; the number of error-correcting or wildcard shares, E, is 2; the number of shares per lot, L, is 3; and the time shift between consecutive transmitted shares, S, is 2. R and C identify the row and column, respectively, in FIG. 2. (The top row in FIG. 2, denoted by the numbers 0, 1, . . . , 17, shows the column numbers.)

As each packet is sent, R or (m_nCurrentShare) is increased by one. If R or (m_nCurrentShare) is to be increased to L or (nNumSharesInLot), then R is reset to 0 and C or (m_nCurrentCol) is increased by one.

Given the current share and column number, the position, P or (nShiftedPos), of the packet within the share is given by:
P=C−R*S%(K+E),  (equation B)
where % means modulo. That is:

    • (nShiftedPos)=[(m_nCurrentCol)−(m_nCurrentShare)*(m_nInterleaveShift)] % [(m_nNumSrcPktsInShare)+(m_nNumECPktsPerShare)].
      The position, P, takes values from 0 to (K+E−1), that is, 0≦P≦(K+E−1).

At the beginning, positions where C<R*S or

    • (m_nCurrentCol)<(m_nCurrentShare)*(m_nInterleaveShift)
      are skipped. That is, the state variables are incremented without sending any packet. Thus, the first instance of each share starts S or (m_nInterleaveShift) columns after the previous share, as can be seen in the diagram of FIG. 2.

If P or (nShiftedPos) corresponds to the position of a source packet (that is, it is less than K or (m_nNumSrcPktsInShare)), the packet is a source packet and the contribution of the source packet to the error-correcting or wildcard packets is computed using the methods described in U.S. Pat. No. 6,609,223, and the source packet is transmitted.

If P or (nShiftedPos) corresponds to the position of an error-correcting or wildcard packet (that is, it is greater than or equal to K or (m_nNumSrcPktsInShare)), then the corresponding wildcard packet is transmitted. The wildcard packets are ready to be sent as soon as the last source packet is sent.

Each packet is assigned a lot number. The first instance of each share is assigned lot number 0, and each subsequent instance has a lot number incremented by one.

According to an embodiment of the present invention, lot numbers are 16-bit integers, that is, they “wrap around” at 65536. Each packet is labeled with a share number, R of (m_nCurrentShare); a lot number, T or (LotNumber); and a position, P or (nShiftedPos). The column number, C or (m_nCurrentCol), can be recovered from this information by the following relation:
C=T*(K+E)+P+R*S%65536*(K+E),
that is:

    • column=(LotNumber)*[(m_nNumSrcPktsInShare)+(m_nNumECPktsPerShare)]+(nShiftedPos)+(m_nCurrentShare)*(m_nInterleaveShift)
      • modulo 65536*[(m_nNumSrcPktsInShare)+(m_nNumECPktsPerShare)].

At the subscriber computer, the receiver/decoder collects packets as they are received and stores them in memory. When sufficient packets are received to decode a given share, this share is decoded to reconstruct the original source packets, using the methods described in U.S. Pat. No. 6,609,223. If more packets are missing than can be recovered using the error-correcting methods described in U.S. Pat. No. 6,609,223, then the receiver/decoder takes a best-effort approach, and uses the source packets that have been received, as also discussed in U.S. Pat. No. 6,609,223.

Because the receiver/decoder can reconstruct the column and share numbers corresponding to the packets, using the relations discussed above, it can output the decoded source packets in the order that the source packets were received at the transmitter/encoder.

FIG. 3 shows a diagram of an arrangement of shares of interleaved packets, in which the shares are time-shifted with respect to each other. In the diagram of FIG. 3, the number of source packets per share, K, is 6; the number of error-correcting or wildcard shares, E, is 2; and the number of shares per lot, L, is 4. (The top row in FIG. 3, denoted by the numbers 0, 1, . . . , 23, shows the column numbers.)

In keeping with equation A (shown above), the time shift between consecutive transmitted shares, S, is 2. Also, in keeping with equation B (shown above), the positions of the packets are determined by P=C−R*S % (K+E), with 0≦P≦(K+E−1).

For example, the packets of column 7 in FIG. 3 are determined as follows:

    • For the share R=0, P=7−0*2=7. Because P>K, this packet corresponds to a wildcard packet located at position 7 of the share R=0 (corresponding to the eighth packet of the share, with the first packet corresponding to position 0);
    • For the share R=1, P=7−1*2=5. Because P<K, this packet corresponds to a source packet located at position 5 of the share R=1 (corresponding to the sixth packet of the share, with the first packet corresponding to position 0);
    • For the share R=2, P=7−2*2=3. Because P<K, this packet corresponds to a source packet located at position 3 of the share R=2 (corresponding to the fourth packet of the share, with the first packet corresponding to position 0); and
    • For the share R=3, P=7−3*2=1. Because P<K, this packet corresponds to a source packet located at position 1 of the share R=3 (corresponding to the second packet of the share, with the first packet corresponding to position 0).

Similarly, for example, the packets of column 13 in FIG. 3 are determined as follows:

    • For the share R=0, P=13−0*2=13. Because 13>K+E, 13 modulo 8 results in P=5. Because P<K, this packet corresponds to a source packet (corresponding to the sixth packet of the share, with the first packet corresponding to position 0);
    • For the share R=1, P=13−1*2=11. Because 11>K+E, 11 modulo 8 results in P=3. Because P<K, this packet corresponds to a source packet located at position 3 of the share R=1 (corresponding to the fourth packet of the share, with the first packet corresponding to position 0);
    • For the share R=2, P=13−2*2=9. Because 9>K+E, 9 modulo 8 results in P=1. Because P<K, this packet corresponds to a source packet located at position 1 of the share R=2 (corresponding to the second packet of the share, with the first packet corresponding to position 0); and
    • For the share R=3, P=13−3*2=7. Because P>K, this packet corresponds to a wildcard packet located at position 7 of the share R=3 (corresponding to the eighth packet of the share, with the first packet corresponding to position 0).

According to an embodiment of the present invention, the parameters are chosen so that a given share will correspond to a given window of real time, e.g. 20 seconds. This is so that the error-correcting properties of the algorithm can correspond to recovery of signal losses for real periods of time. Accordingly, these parameters are set based on predictions about the rate at which source packets are received.

The rate at which source packets are actually received may differ from predictions, and there it is desirable in such cases to keep the shares approximately within the desired window of real time, by sending fewer packets in the share. To achieve such a result, according to an embodiment of the present invention, a time marker is maintained for each share. The time marker measures the amount of time since the first wildcard packet of the previous instance of that share. If this time exceeds a given timeout value, the share is marked as “running late” and any remaining source packets for that share are skipped. That is, when positions corresponding to any remaining source packets come up during an iteration of encoding and transmission processing, nothing is sent and the iteration continues. These skipped packets may be accounted for in the same manner as described in the “Timeout Case” of U.S. Pat. No. 6,609,223.

The number of error-correcting or wildcard packets for the “running late” share can also be reduced, as described in the “Timeout Case” of U.S. Pat. No. 6,609,223. In such a situation, the iteration simply skips over any positions corresponding to wildcard packets that are not to be sent.

According to an embodiment of the present invention, the above-described shifted interleaving scheme is performed by a computer programmed to perform the steps of the scheme.

It will be appreciated that the shifted interleaving scheme of the present invention can be applied to any error-correcting process for transforming a plurality of source packets into a plurality of encoded packets, such that the source packets can be recovered (i.e., decoded) from a sufficient subset of the encoded packets. Of course, it will be appreciated that the invention may take forms other than those specifically described, and the scope of the invention is to be determined solely by the following claims.

Patentzitate
Zitiertes PatentEingetragen Veröffentlichungsdatum Antragsteller Titel
US400934730. Dez. 197422. Febr. 1977International Business Machines CorporationModular branch exchange and nodal access units for multiple access systems
US452583324. Sept. 198225. Juni 1985Lignes Telegraphiques Et TelephoniquesProcess for time-sequenced multiplexing of data on a transmission medium and devices to implement this process
US471806621. Febr. 19865. Jan. 1988Agence Spataile EuropeenneSelf-adaptive hybrid data transmission
US490727727. Juni 19886. März 1990International Business Machines Corp.Method of reconstructing lost data in a digital voice transmission system and transmission system using said method
US548547415. Mai 199116. Jan. 1996The President And Fellows Of Harvard CollegeScheme for information dispersal and reconstruction
US559449023. Mai 199414. Jan. 1997Cable Services Technologies, Inc.System for distributing video/audio files from central location to a plurality of cable headends
US560066316. Nov. 19944. Febr. 1997Lucent Technologies Inc.Adaptive forward error correction system
US561754121. Dez. 19941. Apr. 1997International Computer Science InstituteSystem for packetizing data encoded corresponding to priority levels where reconstructed data corresponds to fractionalized priority level and received fractionalized packets
US563190713. Dez. 199520. Mai 1997Lucent Technologies Inc.Reliable broadcast protocol structure for electronic software distribution
US57685331. Sept. 199516. Juni 1998National Semiconductor CorporationVideo coding using segmented frames and retransmission to overcome channel errors
US579052413. Mai 19964. Aug. 1998Lockheed Martin CorporationDetection of lost packets in switching networks used with scalable coherent interfaces
US58155149. Febr. 199629. Sept. 1998Overland Data, Inc.Variable rate bit inserter for digital data storage
US590357418. Apr. 199711. Mai 1999Sarnoff CorporationStudio transmitter link method and apparatus
US59599742. Dez. 199628. Sept. 1999International Business Machines CorporationSystem and method for discovering path MTU of internet paths
US601215917. Jan. 19974. Jan. 2000Kencast, Inc.Method and system for error-free data transfer
US603181819. März 199729. Febr. 2000Lucent Technologies Inc.Error correction system for packet switching networks
US605281911. Apr. 199718. Apr. 2000Scientific-Atlanta, Inc.System and method for detecting correcting and discarding corrupted data packets in a cable data delivery system
US610475715. Mai 199815. Aug. 2000North Carolina State UniversitySystem and method of error control for interactive low-bit rate video transmission
US614178813. Okt. 199831. Okt. 2000Lucent Technologies Inc.Method and apparatus for forward error correction in packet networks
US615169623. Jan. 199821. Nov. 2000Starburst Communications CorporationData transmission
US618903910. Apr. 199713. Febr. 2001International Business Machines CorporationSelective tunneling of streaming data
US624981027. Apr. 199919. Juni 2001Chaincast, Inc.Method and system for implementing an internet radio device for receiving and/or transmitting media information
US627265827. Okt. 19987. Aug. 2001Kencast, Inc.Method and system for reliable broadcasting of data files and streams
US628905427. Apr. 200011. Sept. 2001North Carolina UniversityMethod and systems for dynamic hybrid packet loss recovery for video transmission over lossy packet-based network
US63074875. Febr. 199923. Okt. 2001Digital Fountain, Inc.Information additive code generator and decoder for communication systems
US631746222. Okt. 199813. Nov. 2001Lucent Technologies Inc.Method and apparatus for transmitting MPEG video over the internet
US632052017. Sept. 199920. Nov. 2001Digital FountainInformation additive group code generator and decoder for communications systems
US633620019. Mai 19991. Jan. 2002Kencast, Inc.Method for validating communicated packets of data and for locating erroneous packets
US63706662. Dez. 19989. Apr. 2002Agere Systems Guardian Corp.Tuning scheme for error-corrected broadcast programs
US63734068. Jan. 200116. Apr. 2002Digital Fountain, Inc.Information additive code generator and decoder for communication systems
US641122318. Okt. 200025. Juni 2002Digital Fountain, Inc.Generating high weight encoding symbols using a basis
US64341911. Sept. 200013. Aug. 2002Telcordia Technologies, Inc.Adaptive layered coding for voice over wireless IP applications
US64457171. Mai 19983. Sept. 2002Niwot Networks, Inc.System for recovering lost information in a data stream
US646308019. Mai 19988. Okt. 2002Nokia Mobile Phones Ltd.Method and apparatus for controlling time diversity in telephony
US648680322. Sept. 200026. Nov. 2002Digital Fountain, Inc.On demand encoding with a window
US649647719. Apr. 200017. Dez. 2002Texas Instruments IncorporatedProcesses, articles, and packets for network path diversity in media over packet applications
US649882126. Jan. 200124. Dez. 2002Vyyo, Ltd.Space diversity method and system for broadband wireless access
US652602218. Juni 199925. Febr. 2003Sun MicrosystemsDetecting congestion by comparing successive loss of packets in windows to provide congestion control in reliable multicast protocol
US656792913. Juli 199920. Mai 2003At&T Corp.Network-based service for recipient-initiated automatic repair of IP multicast sessions
US65679487. Aug. 200120. Mai 2003Kencast, Inc.Method and system for reliable broadcasting of data files and streams
US657084319. Mai 199927. Mai 2003Kencast, Inc.Method for minimizing the number of data packets required for retransmission in a two-way communication system
US657421314. Dez. 19993. Juni 2003Texas Instruments IncorporatedWireless base station systems for packet communications
US65747956. Aug. 19993. Juni 2003Intel CorporationReliable communication of data by supplementing a unidirectional communications protocol
US659479821. Mai 199915. Juli 2003Microsoft CorporationReceiver-driven layered error correction multicast over heterogeneous packet networks
US660672331. Dez. 200112. Aug. 2003Kencast, Inc.System, computer-readable medium, and method for validating communicated packets of data and for locating erroneous packets
US66092236. Apr. 200019. Aug. 2003Kencast, Inc.Method for packet-level fec encoding, in which on a source packet-by-source packet basis, the error correction contributions of a source packet to a plurality of wildcard packets are computed, and the source packet is transmitted thereafter
US661436614. Febr. 20022. Sept. 2003Digital Fountain, Inc.Information additive code generator and decoder for communication systems
US66718073. Juli 200230. Dez. 2003Realnetworks, Inc.System and method for regulating the transmission of media data
US669390711. Apr. 200017. Febr. 2004Sun Microsystems, Inc.Method and system for measuring reception characteristics in a multicast data distribution group
US670137310. Juli 20002. März 2004Kdd CorporationData transmission apparatus
US673563410. Juni 199911. Mai 2004Blue Coat SystemsMethod for real time protocol media recording
US676588913. Juli 199820. Juli 2004Telefonaktiebolaget Lm Ericsson (Publ)Communication method and system
US678249027. Dez. 200224. Aug. 2004At&T Corp.Network-based service for the repair of IP multicast sessions
US680424414. Dez. 199912. Okt. 2004Texas Instruments IncorporatedIntegrated circuits for packet communications
US686808316. Febr. 200115. März 2005Hewlett-Packard Development Company, L.P.Method and system for packet communication employing path diversity
US693758229. Sept. 200030. Aug. 2005Telefonaktiebolaget Lm Ericsson (Publ)Method and an arrangement relating to mobile radio systems with the possibility of switching channel coding schemes
US702460919. Apr. 20024. Apr. 2006Kencast, Inc.System for protecting the transmission of live data streams, and upon reception, for reconstructing the live data streams and recording them into files
US706860116. Juli 200127. Juni 2006International Business Machines CorporationCodec with network congestion detection and automatic fallback: methods, systems & program products
US713924316. Nov. 200121. Nov. 2006Ntt Docomo, Inc.Data transmission method, data transmission system, transmitter and receiver
US731596731. Juli 20031. Jan. 2008Terayon Communication Systems, Inc.Method and apparatus for automatic rate adaptation in a DOCSIS upstream
US73245785. Febr. 200329. Jan. 2008Samsung Electronics Co., LtdMethod and apparatus for transmitting and receiving information about spreading codes used for a packet data channel in a communication system
US74186519. Mai 200526. Aug. 2008Digital Fountain, Inc.File download and streaming system
US742590529. Okt. 200716. Sept. 2008Marvell International Ltd.Circuits, architectures, systems, methods, algorithms and software for conditional modulation coding
US751638717. Febr. 20067. Apr. 2009Harris CorporationSystem and method for transmitting FEC packets
US77965177. Juni 200514. Sept. 2010Chen MinghuaOptimization of streaming data throughput in unreliable networks
US200100336111. März 200125. Okt. 2001Broadcom CorporationApparatus and method for synchronizing an SCDMA upstream or any other type upstream to an MCNS downstream or any other type downstream with a different clock rate than the upstream
US2001004627126. Jan. 200129. Nov. 2001Vyyo, Ltd.Space diversity method and system for broadband wireless access
US2002003573014. Aug. 200121. März 2002Ollikainen VilleIP multicast service without a return connection
US200200499397. Aug. 200125. Apr. 2002Fischer MichaelMethod and system for reliable broadcasting of data files and streams
US2002007596416. Nov. 200120. Juni 2002Ntt Docomo, Inc.Data transmission method, data transmission system, transmitter and receiver
US2002009767823. Jan. 200125. Juli 2002Scientific-Atlanta, Inc.Method and apparatus for bandwidth management associated with misbehaving sessions
US2003000971819. Apr. 20029. Jan. 2003Kencast, Inc.System for protecting the transmission of live data streams, and upon reception, for reconstructing the live data streams and recording them into files
US2004002518619. Jan. 20015. Febr. 2004Bate Donald H.System and method for managing media
US2004017020112. Juni 20022. Sept. 2004Mitsubishi Denki Kabushiki KaishaError-correction multiplexing apparatus, error-correction demultiplexing apparatus, optical transmission system using them, and error-correction multiplexing transmission method
US200600594098. Sept. 200516. März 2006University Of ConnecticutReed-solomon decoder systems for high speed communication and data storage applications
US2006006462622. Sept. 200523. März 2006Kencast, Inc.System, method and apparatus for FEC encoding and decoding
US200602537634. Apr. 20069. Nov. 2006Stmicroelectronics S.R.I.Method and system for correcting burst errors in communications networks, related network and computer-program product
US2007002236130. Juni 200525. Jan. 2007Dolby Laboratories Licensing CorporationMethod and system for optimizing forward error correction of multimedia streaming over wireless networks
US2008009828418. Okt. 200724. Apr. 2008Kencast, Inc.Systems, methods, apparatus, and computer program products for providing forward error correction with low latency
US2008011781921. Nov. 200722. Mai 2008Polycom, Inc.System and method for dynamic bandwidth allocation for videoconferencing in lossy packet switched networks
US2008024400126. März 20082. Okt. 2008Kencast, Inc.Systems, methods, apparatus and computer program products for providing packet-level fec with higher throughput using user datagram protocol (udp)
US200802982714. Aug. 20084. Dez. 2008Fujitsu LimitedCommunication-quality measuring apparatus, communication-quality measuring method, and computer program
US2009017794816. März 20099. Juli 2009Kencast, Inc.System, Method and Apparatus for FEC Encoding and Decoding
US200902107734. Febr. 200920. Aug. 2009Kencast, Inc.Systems, methods, apparatus and computer program products for highly reliable file delivery using compound and braided fec encoding and decoding
US2010000517824. Okt. 20067. Jan. 2010Medianet International Inc.Method and system for firewall friendly real-time communication
US201002180744. Mai 201026. Aug. 2010Kencast, Inc.System, Method and Apparatus for Reducing Blockage Losses on Information Distribution Networks
Nichtpatentzitate
Referenz
1Adi Shamir, "How to Share a Secret", communications of the ACM, Nov. 1979; vol. 22, No. 11, pp. 612-613.
2C.A. Asmuth and G.R. Blakley, Proceedings of the 1982 Symposium on Security and Privacy, IEEE Computer Society, Apr. 26-28, 1982 Oakland California, pp. 156-169.
3Ehud D. Karnin, et al. "On Secret Sharing Systems", IEEE Transactions on Information Theory, vol. It-29, No. 1, Jan. 1983.
4MacKay, David, J.C., "Information Theory, Inference and Learning Algorithms," Cambridge University Press, 2003.
5McAuley, "Reliable Broadband Communication Using a Burst Erasure Correcting Code", SIGCOMM '90 Symposium, pp. 297-306, Sep. 1990.
6Michael O. Rabin, Efficient Dispersal of Information for Security, Load Balancing, and Fault Tolerance, Journal of the Association for Computing Machinery, vol. 36, No. 2, Apr. 1989, pp. 335-348.
7Michael O.Rabin, "Probabilistic Algorithms in Finite Fields", Siam J. Comput. vol. 9, No. 2, May 1980, pp. 273-280.
8Miller, "Reliable Multicast Protocols: A Practical View", Local Computer Networks Conference Proceedings, Nov. 1997, pp. 369-378.
9R.J. McEliece and D.V. Sarwate, "On Sharing Secrets and Reed-Solomon Codes", Communications of the ACM, Sep. 1981 vol. 24, No. 9, pp. 583-584.