# US 2017/0293450 A1 · Integrated Flash Management and Deduplication with Marker Based Reference Set Handling

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

- Number: US 2017/0293450 A1
- Document ID: US20170293450A1
- Status: Published application
- Kind: A1
- Application number: 15/095,292
- Filed: 2016-04-11
- Published: 2017-10-12
- Earliest claimed: 2016-04-11
- Assignees: HGST Netherlands B.V.
- Applicants: HGST Netherlands B.V.
- Inventors: Ajith Kumar Battaje; Tanay Goel; Saurabh Manchanda; Sandeep Sharma
- Web page: https://patentgrep.com/patent/US20170293450A1

## CPC

- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0641: {De-duplication techniques}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0611: {in relation to response time}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for integrating flash management and deduplication with marker based reference set handling may include a dynamic reference set that is elastic and can include non-contiguous reference blocks. The method may further include determining the first reference block of the plurality of reference blocks for continued encoding, the first reference block having an identifier, and associating the identifier of the first reference block with a second reference set. Some implementations of the method may further include receiving a first plurality of data blocks in an incoming data stream, the first plurality of data blocks including a first data block, and encoding the first data block using the first reference block associated with the second reference set.

## Claims

### Claim 1

A method comprising:
associating identifiers of a plurality of reference blocks with a first reference set, the plurality of reference blocks including a first reference block having a first identifier;
selecting the first reference block of the plurality of reference blocks for continued use;
associating the first identifier of the first reference block with a second reference set, the second reference set having a second plurality of reference blocks, the first reference block being non-contiguous with the second plurality of reference blocks;
receiving an incoming data stream of data blocks; and
encoding the incoming data stream of data blocks using the second reference set.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
storing a first encoded data block of the incoming data stream of data blocks in a first segment associated with the second reference set;
determining a marker number of the first segment associated with the second reference set; and
storing the marker number of the first segment in metadata of the second reference set.

### Claim 3 (depends on 2)

The method of claim 2, wherein the marker number of the first segment associated with the second reference set includes a segment sequence number of the first segment, and the first segment is an initial segment to be written using the second reference set.

### Claim 4 (depends on 1)

The method of claim 1, wherein the second reference set includes a dynamic quantity of reference blocks.

### Claim 5 (depends on 1)

The method of claim 1, wherein associating the first identifier of the first reference block with the second reference set includes adding the first identifier of the first reference block to a membership bitmap of the second reference set.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating a second reference block based on the incoming data stream, the second reference block having a second identifier; and
associating the second identifier of the second reference block with the second reference set.

### Claim 7 (depends on 1)

The method of claim 1, further comprising determining to retire the first reference set based on a defined criterion, and wherein associating the first identifier of the first reference block with the second reference set is in response to the determination to retire the first reference set.

### Claim 8 (depends on 1)

The method of claim 1, wherein encoding the incoming data stream of data blocks using the second reference set includes deduplicating a data block of the incoming stream of data blocks using the first reference block against a past data block encoded using the first reference block.

### Claim 9

A system comprising:
a dynamic reference set for associating encoded data blocks to reference blocks, the dynamic reference set including a plurality of non-contiguous reference blocks;
a reduction unit having an input and an output for encoding data blocks using the reference blocks in the dynamic reference set, the input of the reduction unit coupled to receive data from a data source;
a media processor having an input and an output for dynamically associating identifiers of reference blocks with the dynamic reference sets, the input of the media processor coupled the reduction unit to receive reference blocks; and
a storage device capable of storing data, the storage device having an input and an output coupled to the reduction unit and the media processor for reading data from and storing data to the storage device.

### Claim 10 (depends on 9)

The system of claim 9, further comprising:
the system further comprises a submission queue unit having an input and an output for storing an encoded first data block in a first segment associated with the dynamic reference set in the storage device the input of the submission queue unit coupled to the reduction unit and the output of the submission queue unit coupled to the storage device; and
wherein the media processor is further configured to determine a marker number of the first segment in the storage device, and associate the marker number of the first segment in metadata of the dynamic reference set.

### Claim 11 (depends on 10)

The system of claim 10, wherein the marker number of the first segment associated with the dynamic reference set includes a segment sequence number of the first segment, and the first segment is an initial segment to be written using the dynamic reference set.

### Claim 12 (depends on 9)

The system of claim 9, wherein the dynamic reference set is dynamically sized.

### Claim 13 (depends on 9)

The system of claim 9, wherein the dynamic reference set includes a membership bitmap, the membership bitmap storing the association between reference sets and reference blocks.

### Claim 14 (depends on 9)

The system of claim 9, further comprising;
a command queue unit having an input and an output for receiving a plurality of data blocks in an incoming data stream, the input of the command queue unit coupled to the data source and the output of the command queue unit coupled to the reduction unit; and
wherein the reduction unit is further configured to generate a new reference block based on the plurality of data blocks in the incoming data stream, the new reference block having a new identifier; and
wherein the media processor is further configured to associate the new identifier with the dynamic reference set.

### Claim 15 (depends on 9)

The system of claim 9, wherein the media processor is further configured to determine to retire a first dynamic reference set based on a defined criterion, and associate identifiers of one or more reference blocks of the first dynamic reference set with a second dynamic reference set in response to the determination to retire the first dynamic reference set.

### Claim 16 (depends on 9)

The system of claim 9, wherein the reduction unit is configured to deduplicate a first data block using a reference block against a second data block encoded using the reference block.

### Claim 17

A method comprising:
receiving a data block;
encoding the data block using a reference block associated with a reference set;
storing the encoded data block in an initial segment in a storage device, the initial segment being a first segment encoded using the reference set;
determining a marker number of the initial segment based on a segment sequence number of the initial segment; and
recording an association of the marker number of the initial segment with the reference set in metadata of the reference set.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
receiving a request to retrieve the data block from the storage device;
identifying the reference set based on the recorded association between the initial segment and the reference set in the metadata of the reference set;
decoding the encoded data block using the reference block to generate the data block; and
returning the data block.

### Claim 19 (depends on 17)

The method of claim 17, wherein the reference set is dynamically sized and includes a plurality of non-contiguous reference blocks.

### Claim 20 (depends on 17)

The method of claim 17, wherein the association between the reference block and the reference set is stored in a membership bitmap.
