# US 2015/0149708 A1 · B-file abstraction for efficiently archiving self-expiring data

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

- Number: US 2015/0149708 A1
- Document ID: US20150149708A1
- Status: Published application
- Kind: A1
- Application number: 14/550,718
- Filed: 2014-11-21
- Published: 2015-05-28
- Earliest claimed: 2008-06-30
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Suman Kumar NATH
- Web page: https://patentgrep.com/patent/US20150149708A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/064: {Management of blocks}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 16/901: Indexing; Data structures therefor; Storage structures (for retrieval from the web G06F16/951)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are provided for data processing and storage management. In an illustrative implementation an exemplary computing environment comprises at least one data store, a data processing and storage management engine (B-File engine) and at least one instruction set to instruct the B-File engine to process and/or store data according to a selected data processing and storage management paradigm. In an illustrative operation, the illustrative B-File engine can generate a B-File comprising multiple buckets and store sample items in a random bucket according to a selected distribution. When the size of the B-FILE grows to reach a selected threshold (e.g., maximum available space), the B-File engine can shrink the B-File by discarding the largest bucket. Additionally, the B-File engine can append data to existing buckets and explicitly cluster data when erasing data such that data can be deleted together into the same flash block.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
receiving data items for storage on a solid state storage device having multiple storage blocks;
determining different levels for the data items, wherein the levels of the data items are determined by one or more attributes of the data items to establish an expiration intensity;
assigning the data items to different storage buckets of a bucket file based on the levels;
appending the data items within the different storage buckets on the solid state storage device such that individual storage buckets of data items are clustered together in corresponding blocks of the solid state storage device; and
periodically deleting storage blocks from the solid state storage device via one or more erase operations while at least some other storage blocks remain stored on the solid state storage device, wherein the one or more deleted storage blocks are determined by the expiration intensity of corresponding data items stored in the one or more deleted storage blocks.

### Claim 22 (depends on 21)

The method of claim 21, wherein the one or more attributes of the data items used to establish the expiration intensity include at least one non-temporal attribute.

### Claim 23 (depends on 22)

The method of claim 22, wherein the at least one non-temporal attribute used to establish the expiration intensity is a priority of the data items.

### Claim 24 (depends on 23)

The method of claim 23, wherein the data items are appended within the corresponding blocks without overwriting existing data in the corresponding blocks.

### Claim 25 (depends on 21)

The method of claim 21, wherein the periodically deleting includes deleting multiple storage blocks of an individual bucket based on the expiration intensity of the corresponding data items of the individual bucket.

### Claim 26 (depends on 25)

The method of claim 25, wherein the deleting the multiple storage blocks of the individual bucket comprises deleting all storage blocks of the individual bucket.

### Claim 27

A system comprising:
a solid state storage device having multiple storage blocks; and
a control device configured to:
obtain data items for storage on the solid state storage device, the data items having associated attributes;
establish different expiration intensities for the data items using the associated attributes of the data items;
assign the data items to different storage buckets of a bucket file based on the different expiration intensities;
append the data items within the different storage buckets on the solid state storage device such that individual storage buckets of data items are clustered together in corresponding blocks of the solid state storage device;
repeatedly designate individual storage blocks for deletion from the solid state storage device based on the different expiration intensities that are established using the associated attributes of the data items; and
cause the individual storage blocks designated for deletion to be deleted from the solid state storage device via one or more block erase operations while at least some other storage blocks remain stored on the solid state storage device.

### Claim 28 (depends on 27)

The system of claim 27, wherein the control device comprises a hardware processing unit, a solid state storage device controller, or both.

### Claim 29 (depends on 27)

The system of claim 27, wherein the control device is configured to:
monitor sizes of the different storage buckets over time; and
as certain storage buckets reach a specified bucket size, identify associated storage blocks within the certain storage buckets as the individual storage blocks that are designated for deletion.

### Claim 30 (depends on 27)

The system of claim 27, further comprising a memory device, wherein the control device is configured to:
buffer the data items in the memory device and repeatedly flush the buffered data items from the memory device to the solid state storage device.

### Claim 31 (depends on 30)

The system of claim 30, wherein the control device is further configured to:
maintain a first in-memory page of first data items from a first bucket and a second in-memory page of second data items from a second bucket;
at a first time when the first in-memory page becomes full, flush the first in-memory page of first data items to the solid state storage device by appending the first data items to other first data items from the first bucket that are already stored on the solid state storage device; and
at a second time when the second in-memory page becomes full, flush the second in-memory page of second data items to the solid state storage device by appending the second data items to other second data items from the second bucket that are already stored on the solid state storage device.

### Claim 32 (depends on 30)

The system of claim 30, wherein the control device is further configured to:
chain corresponding blocks of a first individual bucket together using pointers; and
maintain an in-memory block pointer that points to a particular block of the first individual bucket.

### Claim 33

A system comprising:
a solid state storage device having multiple storage blocks;
a hardware processing unit; and
a memory device storing computer-readable instructions that cause the hardware processing unit to:
obtain data items for storage on the solid state storage device, the data items having associated attributes;
establish different expiration intensities for the data items using the associated attributes of the data items;
assign the data items to different storage buckets based on the different expiration intensities;
append the data items within the different storage buckets on the solid state storage device such that individual storage buckets of data items are clustered together in corresponding blocks of the solid state storage device;
repeatedly designate particular storage buckets for deletion from the solid state storage device, the particular storage buckets being designated based on the expiration intensities that are established using the associated attributes of the data items; and
repeatedly cause individual storage blocks of the particular storage buckets designated for deletion to be deleted together from the solid state storage device via one or more block erase operations while at least some other storage blocks of other storage buckets remain stored on the solid state storage device.

### Claim 34 (depends on 33)

The system of claim 33, wherein the computer-readable instructions cause the hardware processing unit to:
repeatedly make determinations that a size of a file containing the different storage buckets has reached a threshold; and
repeatedly cause the individual storage blocks of the particular storage buckets to be deleted responsive to the determinations.

### Claim 35 (depends on 33)

The system of claim 33, wherein the computer-readable instructions cause the hardware processing unit to:
append first data items of a first storage bucket to other first data items of the first storage bucket on the solid state storage device without overwriting any of the other first data items.

### Claim 36 (depends on 33)

The system of claim 33, wherein the different storage buckets have different sizes.

### Claim 37 (depends on 36)

The system of claim 36, wherein the different sizes of the different storage buckets are based on the associated attributes of the data items in the different storage buckets.

### Claim 38 (depends on 33)

The system of claim 33, wherein the data items are assigned to the different storage buckets randomly based on the expiration intensities.

### Claim 39 (depends on 33)

The system of claim 33, wherein the particular storage buckets are deleted such that multiple data items with the same expiration intensity are deleted together.

### Claim 40 (depends on 33)

The system of claim 33, wherein the solid state storage device is a flash storage device.
