Patent ID: 11962333
Assignee: HONG KONG APPLIED SCIENCE AND TECHNOLOGY RESEARCH INSTITUTE CO., LTD
Field: Basic communication processes (Electrical engineering)
Classification: CPC H  G | IPC H

Claim 0:
1. A data-compression analyzer comprising a processor or an Application-Specific Integrated Circuit (ASIC) which comprises:
a counter for counting occurrences of symbols in an input data block to generate a symbol frequency table storing symbol frequencies for the input data block, wherein the symbol frequency table is stored in a computer memory;
a calculator for calculating a Concentration Value (CV) of the input data block by summing squares of the symbol frequencies in the symbol frequency table;
a zero tracker having a Number of Zeros (NZ) that indicates a number of symbols in the input data block having a symbol value of zero;
a multiplier that multiplies the Concentration Value (CV) with the Number of Zeros (NZ) to get a CV*NZ product; and
a comparator for comparing the CV*NZ product to a horizontal threshold and signaling that the input data block is compressible when the CV*NZ product exceeds the horizontal threshold, and signaling that the input data block is not compressible when the CV*NZ product is less than the horizontal threshold,
whereby the CV*NZ product is compared to the horizontal threshold to signal that the input data block is compressible or not compressible.