Patent ID: 8458571

Claim:
A data transmission method comprising the following steps of: A. segmenting data to be transmitted into information file segments with a length of Tb bits; B. performing forward error correction (FEC) coding for Tb information bit sequences composed of bits in same positions in a plurality of continuous information file segments to generate Tb check bit sequences, generating check file segments with a length of Tb bits based on the Tb check bit sequences, and putting each bit of the check bit sequences in the same position in the check file segments as the corresponding information bit sequences; and C. transmitting each of the information file segments and check file segments, and wherein the number of bits contained in the information bit sequences is less than or equal to the maximum length of K max bits of the FEC-coded information bit sequences; wherein in the step B, the operation of putting each bit of the check bit sequences in the same position in the check file segments as the corresponding information bit sequences comprises: putting a j th bit of a i th check bit sequence in a j th bit position of a j th check file segment, and a i th information bit sequence is composed of the i th bits in the plurality of continuous information file segments, where i=1, . . . , Tb; wherein in the step C, the information file segments and check file segments are packaged in a transmission packet and transmitted, and a header of the transmission packet contains file segment serial numbers, which are serial numbers of the information file segments or check file segments; and wherein, the data to be transmitted is divided into Z file blocks with each file block containing a plurality of continuous information file segments in the following manner: a) calculating the total number K t of the information file segments contained in the data to be transmitted based on a length of F bytes of the data to be transmitted: K t =┌F/T┐; b) calculating the total number Z of the file blocks: Z=┌K t /K max ┐; and c) if K t /K max is an integer, then containing, in each file block, K max , information file segments; and in the step B, performing the FEC coding for the plurality of information file segments contained in one file block to generate the check file segments of the file block, where T=Tb/8 and ┌●┐ represents rounding up.