Patent ID: 9614546
Date: 2017-04-04
CPC Classifications: H03M

Claim:
1. A data compression and decompression method that is implemented in a data processing unit the method comprising the steps of: dividing a main data string into a plurality of sub data strings; assigning a code for each sub data string therefore having a plurality of codes; using the plurality of codes to represent the main data string; wherein the number of digits in the sub data string is set to different values; wherein the plurality of frequency of occurrences of the sub data strings are determined by counting number of occurrences of the sub data string in the main data string; wherein a code is assigned to each sub data string within the plurality of sub data systems and the number of digits in the code is determined based on the frequency of occurrence of the data string in the main data string; wherein a code to a sub data string within the plurality of sub data systems wherein the first sub data string with the highest frequency of occurrence is assigned a code having the least number of digits and a second sub data string having the lowest frequency of occurrence is assigned a code having the same or next smallest number of digits; wherein different group dimension indices are calculated by changing the number of digits the sub data string and changing the starting digit within the main data string.