# US 2013/0254620 A1 · Improved error correction coding for recovering multiple packets in a group in view of limited bandwidth

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0254620 A1
- Document ID: US20130254620A1
- Status: Published application
- Kind: A1
- Application number: 13/785,859
- Filed: 2013-03-05
- Published: 2013-09-26
- Earliest claimed: 2010-06-04
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Xiaosong ZHOU; Hyeonkuk JEONG; Yan YANG; Dazhong ZHANG; Hsi-Jung WU
- Web page: https://patentgrep.com/patent/US20130254620A1

## CPC

- H03M 13/05: using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits {(H03M13/2906 takes precedence)}
- H03M 13/29: combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M 13/373: {with erasure correction and erasure determination, e.g. for packet loss recovery or setting of erasures for the decoding of Reed-Solomon codes}
- H03M 13/3746: {with iterative decoding}
- H04L 1/008: {where the control data relates to payload of a different packet}
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M 13/27: using interleaving techniques
- H03M 13/2957: {Turbo codes and decoding}
- H04L 1/005: {Iterative decoding, including iteration between signal detection and decoding operation}
- H04L 1/0057: {Block codes (H04L1/0061, H04L1/0064 take precedence)}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Coded video data may be transmitted between an encoder and a decoder using multiple FEC codes and/or packets for error detection and correction. Only a subset of the FEC packets need be transmitted between the encoder and decoder. The FEC packets of each FEC group may take, as inputs, data packets of a current FEC group and also an untransmitted FEC packet of a preceding FEC group. Due to relationships among the FEC packets, when transmission errors arise and data packets are lost, there remain opportunities for a decoder to recover lost data packets from earlier-received FEC groups when later-received FEC groups are decoded. This opportunity to recover data packets from earlier FEC groups may be useful in video coding and other systems, in which later-received data often cannot be decoded unless earlier-received data is decoded properly.

## Claims

### Claim 1

An encoding device, comprising:
a processor configured to:
organize data packets for transmission into packet groups,
for each respective packet group, generate a plurality of forward error correction (FEC) values according to at least one forward error correction FEC formula, each FEC value generated from at least one data packet of the respective packet group and from a FEC value generated for a prior packet group, the prior packet group being prior to the respective packet group, and
output the data packets and a subset of the FEC values for transmission to a receiver.

### Claim 2 (depends on 1)

The encoding device of claim 1, further comprising:
a transmitter configured to receive the data packets and the subset of the FEC values from the processor, and further configured to transmit the data packets and the subset of the FEC values to the receiver.

### Claim 3 (depends on 1)

The encoding device of claim 1,
wherein the FEC value generated for the prior packet group is embedded in the respective packet group prior to said generating a plurality of FEC values for the respective packet group; and
wherein the subset of the FEC values excludes the embedded FEC values.

### Claim 4 (depends on 1)

The encoding device of claim 1, wherein the at least one FEC formula comprises first and second mathematical functions, wherein the first mathematical function generates a first FEC value for the respective packet group and the second mathematical function generates a second FEC value for the respective packet group.

### Claim 5 (depends on 4)

The encoding device of claim 4, wherein the first and second mathematical functions are applied to at least one data packet of the respective packet group and to the second FEC value generated for the prior packet group.

### Claim 6 (depends on 5)

The encoding device of claim 5, wherein the subset of the FEC values includes only the first FEC value of each respective packet group.

### Claim 7 (depends on 6)

The encoding device of claim 6, wherein the first mathematical FEC function is a linear parity error correction coding function.

### Claim 8 (depends on 6)

The encoding device of claim 6, wherein the second mathematical FEC function is a polynomial error correction coding function.

### Claim 9 (depends on 6)

The encoding device of claim 6, wherein the second mathematical FEC function is a Reed-Solomon coding function.

### Claim 10 (depends on 6)

The encoding device of claim 6, wherein the first and second mathematical FEC functions are independent.

### Claim 11 (depends on 6)

The encoding device of claim 6, wherein the data packets have variable sizes and the size of each data packet in each respective packet group is output for transmission.

### Claim 12 (depends on 11)

The encoding device of claim 11, wherein the second FEC value generated for the prior packet group is appended to at least one of the data packets in the respective packet group and the first and second mathematical functions are applied to the values of data packets in the respective packet group with the appended second FEC value.

### Claim 13 (depends on 11)

The encoding device of claim 11, wherein the second FEC value generated for the prior packet group is not appended to a longest sized data packet in the respective packet group.

### Claim 14 (depends on 11)

The encoding device of claim 11, wherein a total size of each appended data packet is at most equal to that of a longest non-appended data packet in the respective packet group.

### Claim 15 (depends on 14)

The encoding device of claim 14, wherein the second FEC value generated for the prior packet group is appended to more than one of the data packets of the respective packet group, and wherein the second FEC value generated for the prior packet group is subdivided between the data packets of the respective packet group to prevent overlap between each subdivision.

### Claim 16 (depends on 6)

The encoding device of claim 6, wherein the data packets for transmission include video data.

### Claim 17

A decoding device, comprising:
a processor configured to:
receive data packets and forward error correction (FEC) packets and identify a sequence of packet groups therefrom, each FEC packet generated from at least one data packet of the respective packet group and from an untransmitted FEC value of a prior packet group, the prior packet group being prior to the respective packet group;
identify a first packet group in the sequence with recoverable data packets and a recoverable untransmitted FEC value; and
iteratively recover the data packets and the untransmitted FEC value from the identified first packet group and any preceding groups in the sequence.

### Claim 18 (depends on 17)

The decoding device of claim 17, further comprising:
a receiver configured to receive the data packets and the FEC packets from a transmitter, and further configured to provide the data packets and the FEC packets to the processor.

### Claim 19

A non-transitory computer-readable medium encoded with computer-executable instructions, wherein the instructions are executable to:
organize data packets for transmission into packet groups,
for each respective packet group, generate a plurality of forward error correction (FEC) values according to at least one forward error correction FEC formula, each FEC value generated from at least one data packet of the respective packet group and from a FEC value generated for a prior packet group, the prior packet group being prior to the respective packet group, and
output the data packets and a subset of the FEC values for transmission to a receiver.

### Claim 20

A non-transitory computer-readable medium encoded with computer-executable instructions, wherein the instructions are executable to:
receive data packets and forward error correction (FEC) packets and identify a sequence of packet groups therefrom, each FEC packet generated from data packets of the respective packet group and from an untransmitted FEC value of a prior packet group the prior packet group being prior to the respective packet group;
identify a first packet group in the sequence with recoverable data packets and a recoverable untransmitted FEC value; and
iteratively recover the data packets and the untransmitted FEC value from the identified first packet group and any preceding groups in the sequence.
