# US 2022/0283705 A1 · Storage management apparatus, storage management method, and program

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

- Number: US 2022/0283705 A1
- Document ID: US20220283705A1
- Status: Published application
- Kind: A1
- Application number: 17/632,675
- Filed: 2020-08-18
- Published: 2022-09-08
- Earliest claimed: 2019-08-20
- Assignees: Sony Interactive Entertainment Inc.
- Applicants: Sony Interactive Entertainment Inc.
- Inventors: Keiichi AOKI; Masaki TAKAHASHI
- Web page: https://patentgrep.com/patent/US20220283705A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0626: {Reducing size or complexity of storage systems}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 2212/1016: Performance improvement
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A decrease in responsiveness when storing content in a flash memory is reduced. A storage management apparatus includes a flash memory including a plurality of blocks that include a plurality of usable blocks and one or more spare blocks. The apparatus is configured to acquire a new data set; change at least a part of the one or more spare blocks into a usable block and store the new data set in the thus changed usable block, in a case where a size of the new data set is larger than the writable area of the plurality of usable blocks and where the size of the new data set is larger than the writable area when an unnecessary data set contained in the plurality of usable blocks is deleted; and change the usable blocks all the data sets of which are deleted into spare blocks through garbage collection.

## Claims

### Claim 1

A storage management apparatus comprising:
a flash memory including a plurality of blocks that include a plurality of usable blocks and one or a plurality of spare blocks;
area detection means for detecting a size of a writable area of the plurality of usable blocks, on a basis of a data set stored in the plurality of usable blocks;
acquisition means for acquiring a new data set;
data-set writing means for changing, into a usable block, at least a part of the one or the plurality of spare blocks and for storing the new data set in the changed usable block, in a case where a size of the new data set is larger than the writable area of the plurality of usable blocks and where the size of the new data set is larger than the writable area when an unnecessary data set contained in the plurality of usable blocks is deleted;
block releasing means for copying, in any of one or a plurality of usable blocks that contain the unnecessary data set, a non-unnecessary data set into another block, and for deleting all data sets contained in the any of the one or the plurality of usable blocks; and
block changing means for changing a usable block into a spare block, all the data sets contained in the usable block being deleted.

### Claim 2 (depends on 1)

The storage management apparatus according to claim 1, further comprising:
error output means for outputting an error for a user in a case where the size of the new data set is smaller than the writable area when the unnecessary data set contained in the plurality of usable blocks is deleted.

### Claim 3 (depends on 1)

The storage management apparatus according to claim 1, further comprising:
free-space output means for detecting the writable area when the unnecessary data set contained in the plurality of usable blocks is deleted, the writable area being available for the size of the new data set, and for outputting the detected writable area as a free space.

### Claim 4 (depends on 1)

The storage management apparatus according to claim 1, wherein the block changing means changes the usable block into a spare block, all the data sets contained in the usable block being deleted, such that the number of the spare blocks equals a predetermined number.

### Claim 5 (depends on 1)

The storage management apparatus according to claim 1, further comprising:
storage changing means for changing, on a basis of an operation by a user, the one or the plurality of spare blocks into a usable block in which no data set is stored.

### Claim 6 (depends on 1)

The storage management apparatus according to claim 1, further comprising:
storage changing means for changing, on a basis of a change of an archive stored in the plurality of usable blocks, the one or the plurality of spare blocks into a usable block in which no data set is stored.

### Claim 7

A method of managing a storage including a flash memory including a plurality of blocks that include a plurality of usable blocks and one or a plurality of spare blocks, the method comprising:
detecting a size of a writable area of the plurality of usable blocks, on a basis of a data set stored in the plurality of usable blocks;
acquiring a new data set;
changing at least a part of the one or the plurality of spare blocks into a usable block and storing the new data set in the changed usable block, in a case where a size of the new data set is larger than the writable area of the plurality of usable blocks and where the size of the new data set is larger than the writable area when an unnecessary data set contained in the plurality of usable blocks is deleted;
copying, in any of one or a plurality of usable blocks that contain the unnecessary data set, a non-unnecessary data set into another block and deleting all data sets contained in the any of the one or the plurality of usable blocks; and
changing a usable block into a spare block, all the data sets contained in the usable block being deleted.

### Claim 8

A program for a computer, in a flash memory including a plurality of blocks that include a plurality of usable blocks and one or a plurality of spare blocks, the program comprising:
by area detection means, detecting a size of a writable area of the plurality of usable blocks, on a basis of a data set stored in the plurality of usable blocks;
by acquisition means, acquiring a new data set;
by data-set writing means, changing, into a usable block, at least a part of the one or the plurality of spare blocks and for storing the new data set in the changed usable block, in a case where a size of the new data set is larger than the writable area of the plurality of usable blocks and where the size of the new data set is larger than the writable area when an unnecessary data set contained in the plurality of usable blocks is deleted;
by block releasing means, copying, in any of one or a plurality of usable blocks that contain the unnecessary data set, a non-unnecessary data set into another block, and deleting all data sets contained in the any of the one or the plurality of usable blocks; and
by block changing means, changing a usable block into a spare block, all the data sets contained in the usable block being deleted.
