Patent ID: 9369151
Filing Date: 2016-06-14
CPC Classification: G06F,H03M,H04J,H04L

Claim Text:
1. A method of determining sizes of error-detection-code blocks of data packets that are transmitted in time-frames, the method comprising: receiving, by a switch, a predetermined number of data packets that are to be transmitted in each time-frame, each data packet within the time-frame having a unique priority level; assigning sequentially, by a processing circuit, numbers of a predetermined set to cells of a first square matrix; shifting cyclically by the processing circuit, starting from an initial row of the first square matrix, the assigned numbers of each row in a rightward direction, such that the smallest number in each row is placed under a largest number of the preceding row; sorting in an increasing fashion, by the processing circuit, the numbers of a middle row of the first square matrix; ordering by the processing circuit, the sorted numbers to an anti-diagonal of a second square matrix; identifying, for each sorted number assigned to the anti-diagonal of the second square matrix, a column in the first square matrix that includes the sorted number; selecting, by the processing circuit, for each identified column in the first square matrix, numbers other than the sorted number in the identified column, the selecting being performed in a cyclic bottom-up fashion starting at a row immediately following the middle row in the first square matrix; allocating by the processing circuit, the selected numbers from the identified column in the first square matrix to a corresponding column in the second square matrix, the allocating being performed in a cyclic bottom-up fashion beginning at a cell position immediately below the anti-diagonal cell in the corresponding column of the second square matrix; and assigning, based on the unique priority levels of the data packets within the time-frame, data blocks of sizes corresponding to the numbers of a selected row, column, or diagonal of the second square matrix.