# US 11,119,702 B1 · Apparatus for processing received data

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

- Number: US 11,119,702 B1
- Document ID: US11119702B1
- Status: Granted
- Kind: B1
- Application number: 17/189,396
- Filed: 2021-03-02
- Granted: 2021-09-14
- Earliest claimed: 2020-12-16
- Assignees: Hitachi, Ltd.
- Applicants: Hitachi, Ltd.
- Inventors: Nagamasa Mizushima; Kentaro Shimada
- Web page: https://patentgrep.com/patent/US11119702B1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 7/523: Multiplying only
- H03M 7/3084: {using adaptive string matching, e.g. the Lempel-Ziv method}
- H03M 7/6005: {Decoder aspects}
- H03M 7/6023: {Parallelization}
- 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

To speed up decoding of a range code. A decompression circuit calculates a plurality of candidate bit values for each bit of the N-bit string based on a plurality of possible bit histories of a bit before a K-th bit in parallel for a plurality of bits, and repeatedly selects a correct bit value of the K-th bit from the plurality of candidate bit values based on a correct bit history of the bit before the K-th bit to decode the N-bit string.

## Claims

### Claim 1

An apparatus for processing received data, the apparatus comprising:
a circuit configured to receive an input code compressed based on a range code; and
a decompression circuit configured to decompress a part or all of the input code to decode an N-bit string, wherein
N represents an integer greater than 1, and K represents an integer from 1 to N,
a bit value of a K-th bit of the input code is decoded based on a bit history of a bit before the K-th bit, and
the decompression circuit is configured to
calculate a plurality of candidate bit values for each bit of the N-bit string based on a plurality of possible bit histories of the bit before the K-th bit in parallel for a plurality of bits, and
repeatedly select a correct bit value of the K-th bit from the plurality of candidate bit values based on a correct bit history of the bit before the K-th bit to decode the N-bit string.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein
the decompression circuit is configured to
store probability values of a bit value appearing in accordance with the bit history, and
select and update a probability value corresponding to a bit history based on correct bits constituting the decoded N-bit string from the stored probability values.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein
in calculation of the candidate bit values of the K-th bit in the N-bit string, multiplication of a division target range by probability values of 2{circumflex over ( )}(K−1) bit histories is performed to divide the division target range into two sections, and each of 2{circumflex over ( )}(K−1) candidate bit values is determined from a section specified by a sub-code among the two sections of the K-th bit in the input code.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein
when the number of bits to be decoded from the entire input code is larger than a preset maximum value, the decompression circuit performs decoding of a bit string based on a part of the input code for a plurality of cycles.

### Claim 5 (depends on 4)

The apparatus according to claim 4, wherein
in a second and subsequent cycles of the plurality of cycles, a division target range for determining each of the candidate bit values of the K-th bit is a section corresponding to a correct bit value of the K-th bit in an immediately preceding cycle.

### Claim 6 (depends on 1)

A storage system, comprising:
an interface configured to receive a request from a host; and
a controller configured to execute writing of data to a storage drive and reading of data from the storage drive in accordance with a command from the host, wherein
the controller includes the decompression circuit according to claim 1,
the controller is configured such that, in accordance with a read command from the host, the input code transferred from the storage drive is decoded by the decompression circuit to generate read data, and
the read data is replied to the host via the interface.

### Claim 7 (depends on 6)

The storage system according to claim 6, wherein
the decompression circuit is configured to
store probability values of a bit value appearing in accordance with the bit history, and
select and update a probability value of each of correct bit values constituting the decoded N-bit string from the stored probability values.

### Claim 8 (depends on 6)

The storage system according to claim 6, wherein
in calculation of the candidate bit values of the K-th bit in the N-bit string, multiplication of a division target range by probability values of 2{circumflex over ( )}(K−1) bit histories is performed to divide the division target range into two sections, and a candidate bit value is determined from each of 2{circumflex over ( )}(K−1) sections for a sub-code of the K-th bit in the input code.

### Claim 9 (depends on 6)

The storage system according to claim 6, wherein
when the number of bits to be decoded from the entire input code is larger than a preset maximum value, the decompression circuit performs decoding of a bit string based on a part of the input code for a plurality of cycles.

### Claim 10 (depends on 9)

The storage system according to claim 9, wherein
in a second and subsequent cycles of the plurality of cycles, a division target range for determining each of the candidate bit values of the K-th bit is a section corresponding to a correct bit value of the K-th bit in an immediately preceding cycle.

### Claim 11

A method for decoding an N-bit string by decompressing a part or all of an input code compressed based on a range code, N representing an integer greater than 1, K representing an integer from 1 to N, the method comprising:
calculating candidate bit values of each bit of the N-bit string in parallel, in calculation of candidate bit values of a K-th bit in the N-bit string, multiplication of a division target range by probability values of each bit history being performed to divide the division target range into two sections, and a candidate bit value being determined from each section for a sub-code of the K-th bit in the input code; and
selecting a correct bit value of the K-th bit from the candidate bit values based on a correct bit history of a bit before the K-th bit to decode the N-bit string.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
selecting and updating probability values of each correct bit value constituting the decoded N-bit string from the preset probability values.

### Claim 13 (depends on 11)

The method according to claim 11, wherein
in calculation of candidate bit values of the K-th bit in the N-bit string, multiplication of a division target range by probability values of 2{circumflex over ( )}(K−1) bit histories is performed to divide the division target range into two sections, and a candidate bit value is determined from each of 2{circumflex over ( )}(K−1) sections for a sub-code of the K-th bit in the input code.

### Claim 14 (depends on 11)

The method according to claim 11, further comprising:
performing decoding of a bit string based on a part of the input code for a plurality of cycles when the number of bits to be decoded from the entire input code is larger than a preset maximum value.

### Claim 15 (depends on 14)

The method according to claim 14, wherein
in a second and subsequent cycles of the plurality of cycles, a division target range for determining each of the candidate bit values of the K-th bit is a section corresponding to a correct bit value of the K-th bit in an immediately preceding cycle.
