Data encoding and decoding methods and computer readable medium thereof
AssigneeIndustrial Technology Research Institute
InventorsYun-Ter Su, Yen-Chen Liu
Life of this patent
Estimating the term…
Loading patent…
AssigneeIndustrial Technology Research Institute
InventorsYun-Ter Su, Yen-Chen Liu
Estimating the term…
A data encoding method is provided. The data has several bytes, and each byte has n bits. The data encoding method includes the following steps. First, a specific value is defined. Next, the data is divided into one or several data blocks each having m bytes, wherein m≦2n−2. Following that, a replacing value, not appearing in the m bytes of the data block, is obtained from each data block respectively, wherein the replacing value is not equal to the specific value. Then, the values of the bytes being the specific value are replaced to the replacing value in the m bytes of each data bock respectively. Afterwards, a starting byte is allocated at the start of each data block, and the replacing value is stored to the starting byte so as to obtain the data block being encoded respectively. Each data block being encoded has m+1 bytes.
A data encoding method, wherein the data has a plurality of bytes each having n bits, the data encoding method comprises:
A computer readable medium having computer executable data, which comprises executing codes and when executed by an electronic device, cause the device to execute a data encoding method for encoding a data which has a plurality of bytes each having n bits, wherein the data encoding method comprises:
A data decoding method, wherein the data has a plurality of data blocks each having m+1 bytes, each the bytes has n bits, wherein m≦2n−2, the data decoding method comprises:
A computer readable medium having computer executable data, which comprises executing codes and when executed by an electronic device, cause the device to a data decoding method for decoding a data which has a plurality of bytes each having n bits, wherein the data decoding method comprises:
Dependencies are inferred from the claim text.