# US 2023/0273855 A1 · Data authentication for data compression

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273855 A1
- Document ID: US20230273855A1
- Status: Published application
- Kind: A1
- Application number: 18/040,956
- Filed: 2020-10-13
- Published: 2023-08-31
- Earliest claimed: 2020-10-13
- Inventors: Kam Fu Chan
- Web page: https://patentgrep.com/patent/US20230273855A1

## CPC

- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- H03M 7/6011: {Encoder aspects}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A method and techniques for processing digital data whether random or not, within the scope of processing designed, through encoding and decoding losslessly and correctly for purposes of compression/decompression or both, using counted information and check-sum(s) with or without check-sum index or indices.

## Claims

### Claim 1

A method being characterized by:
the method for the purpose of data compression, of encoding digital information composed of binary bits made up of bit 1 and/or bit 0, using header indicators, size of digital information under processing, one or more check-sums with or without check-sum index or indices where and when appropriate for data identification and authentication;

### Claim 2

A method being characterized by:
the method, for the purpose of data compression, of decoding digital information composed of binary bits made up of bit 1 and/or bit 0, using header indicators, size of digital information under processing, one or more check-sums with or without check-sum index or indices where and when appropriate for data identification and authentication;

### Claim 3

A method being characterized by:
the method of encoding for data compression using techniques of:
the encoder, i.e. the program or application designed and made for the encoding process, on running counting the size of the digital information under processing measured in terms of the decimal number of binary bits, i.e. in the form of a series of bit 1 and/or bit 0 within the scope of processing according to design;
the encoder on running representing the counted size of the digital information under processing, in the form of encoded code of binary bits of base-2 numeral system or the like, using base conversion resulting in saving in bit storage and putting the encoded code into corresponding digital file if such information has not been embedded in the encoder;
the encoder on running, according to the scope of processing designed for the range of size of digital information under processing, representing the range of size using binary bits of base-2 numeral system or the like as encoded code and putting the encoded code into corresponding digital file if such information has not been embedded as program logic in the encoder;
the encoder on running for purpose of data identification and data authentication generating one or more check-sums or check-sum(s) together with Check-sum Index or Check-sum Indices if used where and when appropriate for the whole digital information under processing or for each of the sub-sections divided out of and making up the whole digital information under processing; and putting such check-sum(s) or check-sum(s) together with Check-sum Index or Check-sum Indices if used (and for the latter case where the whole digital information is divided into sub-section(s) also putting any binary bits, which are smaller than the size of a sub-section, left un-encoded making up the Un-encoded Section and generating the corresponding header indicator for it where and when appropriate) as encoded code, which is then put into the corresponding digital file(s) for the encoding process as appropriate and according to design;
the encoder on running generating one or more header indicators of the following, including Un-encoded Sub-section Bit, Recycle Bit, Compression Cycles Bits, Bits for Types of Check-sum(s) Generated, Bit(s) for Number of Check-sum(s) Used, Number of Binary Bits Used By Check-sum Index for each check-sum used as appropriate for use and putting such indicator(s) as encoded code, which is then put into corresponding digital file(s) if such information has not been embedded in the encoder as appropriate and according to design;

### Claim 4

A method being characterized by:
the method of decoding for data decompression using techniques of:
the decoder, i.e. the program or application designed and made for the decoding process, on running retrieving the scope of processing for the range of size of digital information under processing from the corresponding digital file or from program logic;
the decoder on running reading the represented size of the digital information under processing from the corresponding digital file or retrieving it from program logic, converting the represented size of the digital information under processing into counted size for use if necessary or appropriate;
the decoder on running for the purpose of data identification and data authentication retrieving, from the corresponding digital file(s), one or more check-sums or check-sum(s) together with Check-sum Index or Check-sum Indices if used where and when appropriate for the whole digital information under processing or for each of the sub-sections divided out of and making up the whole digital information under processing;
the decoder on running retrieving, from the corresponding digital file(s) or from program logic, header indicators, including Un-encoded Sub-section Bit, Recycle Bit, Compression Cycles Bits, Bits for Types of Check-sum(s) Generated, Bit(s) for Number of Check-sum(s) Used, Number of Binary Bits Used By Check-sum Index for each check-sum used as appropriate;
the decoder on running converting the retrieved piece(s) of digital information and restoring them back into the corresponding piece(s) of the original digital information as it is before the encoding process by, for purpose of data identification and data authentication, generating according to the header indicators indicating, one or more check-sums or check-sum(s) together with Check-sum Index or Check-sum Indices if used where and when appropriate for each of the unique bit patterns of the size of digital information corresponding to that particular size of the whole digital information under processing or for each of the unique bit patterns of the size of digital information corresponding to that particular size of the sub-sections divided out of and making up the whole digital information under processing; and then identifying the one which has exact match of check-sum(s) with or without check-sum index or indices corresponding to the corresponding unique bit pattern of the retrieved digital information for the authentication of the whole digital information under processing or identifying the one which has exact match of check-sum(s) with or without check-sum index or indices corresponding to the unique bit pattern of each of the sub-sections divided out of and making up the whole digital information under processing for the authentication of each of the corresponding sub-sections; and putting the corresponding unique bit pattern of the whole digital information with exact match under processing or the corresponding unique bit pattern of each of the sub-sections divided out of and making up the whole digital information with exact match under processing (and for the latter case, putting also any binary bits left un-encoded in the Un-encoded Section as indicated by the corresponding header indicator where and when appropriate) as decoded code into corresponding digital file(s) according to design;

### Claim 5

A product of claim [3] being characterized by:
being the encoded code for data compression produced by the encoding method of Claim [3];

### Claim 6

A product of claim [3] being characterized by:
being the digital file(s) containing the encoded code for data compression produced by the encoding method of claim [3];

### Claim 7

A computer executable program being characterized by:
comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method of the encoding method of claim [3];

### Claim 8

A computer executable program being characterized by:
comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method of the decoding method of claim [4];

### Claim 9

A device being characterized by:
comprising means configured for carrying out the encoding and/or the decoding method of claim (3) and/or (4) above;

### Claim 10

The device of claim (9) being characterized further by:
wherein the device is connected over a local cloud, an internet cloud, a local area network, or internet;

### Claim 11

A computer-readable storage medium being characterized by:
having stored thereon the computer executable program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method of encoding and/or decoding of claim [3] and/or [4]; and

### Claim 12

A computer-readable storage medium being characterized by:
having stored thereon the digital files containing the encoded code of the encoding method of claim [3].
