SEMICONDUCTOR STORAGE DEVICE AND DATA CONTROL METHOD THEREOF
First Claim
1. A semiconductor storage device, comprising:
- a plurality of flash memories which include a plurality of blocks of a physical block, which is a batch erase unit, as data storage areas; and
a flash memory controller which controls data input and output to and from the plurality of flash memories in response to an access request from an access request source,wherein each of the physical blocks in each of the flash memories include a plurality of physical pages which are minimum write units, andwherein the flash memory controller;
if the access request is a write request, selects a physical block belonging to any of the flash memories based on the write request,compresses write data which is added to the write request, and,on condition that there is a greater reduction in the physical pages required for storing the write data added to the write request when the compressed write data is stored in the selected physical block than when the write data is stored in the selected physical block as is, writes the compressed write data to any of the physical pages of the selected physical block.
1 Assignment
0 Petitions
Accused Products
Abstract
The flash memory controller compresses data in response to a write request. On condition that there is a compression effect with respect to the compressed data, the flash memory controller writes the compressed data to the base area of a physical block of a flash memory. As physical pages assigned to the physical block, the flash memory controller reduces the physical pages assigned to the base area from 102 down to 59, and increases the physical pages assigned to the update area from 26 up to 69. Therefore, it is possible to suppress exhaustion of physical pages which are assigned to the update area, to reduce the number of erases of the physical block, and to consequently prolong device operating life.
47 Citations
15 Claims
-
1. A semiconductor storage device, comprising:
-
a plurality of flash memories which include a plurality of blocks of a physical block, which is a batch erase unit, as data storage areas; and a flash memory controller which controls data input and output to and from the plurality of flash memories in response to an access request from an access request source, wherein each of the physical blocks in each of the flash memories include a plurality of physical pages which are minimum write units, and wherein the flash memory controller; if the access request is a write request, selects a physical block belonging to any of the flash memories based on the write request, compresses write data which is added to the write request, and, on condition that there is a greater reduction in the physical pages required for storing the write data added to the write request when the compressed write data is stored in the selected physical block than when the write data is stored in the selected physical block as is, writes the compressed write data to any of the physical pages of the selected physical block. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A data control method for a semiconductor storage device that comprises:
-
a plurality of flash memories which include a plurality of blocks of a physical block which is a batch erase unit, as data storage areas; and a flash memory controller which controls data input and output to and from the plurality of flash memories in response to an access request from an access request source, wherein each of the physical blocks of each of the flash memories includes a plurality of physical pages which are minimum write units, wherein each of the physical blocks is divided into a base area which is a storage destination of new write data among write data applied to the access request and into an update area which is a storage destination of update data, and a plurality of physical pages are respectively assigned to the base area and the update area, wherein the flash memory controller; if the access request is a write request, selects a physical block belonging to any of the flash memories based on the write request, compresses write data which is added to the write request, and on condition that there is a greater reduction in the physical pages required for storing the write data added to the write request when the compressed write data is stored in the selected physical block than when the write data is stored in the selected physical block as is, writes the compressed write data to any of the physical pages of the selected physical block. - View Dependent Claims (12, 13, 14, 15)
-
Specification