CONTROLLER, FLASH MEMORY APPARATUS, AND METHOD FOR WRITING DATA INTO FLASH MEMORY APPARATUS
First Claim
1. A storage controller for determining an amount of data to be sent to a flash memory apparatus for storage;
- wherein the flash memory apparatus comprises a block, which includes a plurality of pages;
wherein at least one of the pages is unavailable for storage, the storage controller comprising;
a communications interface for communicating with the flash memory apparatus; and
a processor connected to the communications interface,and configured to receive information of the block sent by the flash memory apparatus, wherein the information includes capacity of one or more unavailable pages in the block;
determine an available capacity of the block, based on the information and a total capacity of the block, wherein the available capacity of the block is a remaining capacity of the total capacity by removing the capacity of one or more unavailable pages;
obtain data to be sent to the flash memory apparatus, wherein an amount of the data is equal to the available capacity of the block; and
send the data to the flash memory apparatus for storage.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage controller for determining an amount of data to be sent to a flash memory apparatus for storage comprises a communications interface for communicating with the flash memory apparatus and a processor. The flash memory apparatus comprises a block including a plurality of pages. And at least one of the pages is unavailable for storage. The processor is configured to receive information of the block sent by the flash memory apparatus, wherein the information includes capacity of one or more unavailable pages in the block. And then, the processor determines an available capacity of the block, based on the information and a total capacity of the block. Further, the processor obtains data to be sent to the flash memory apparatus, wherein an amount of the data is equal to the available capacity of the block. At last, the processor sends the data to the flash memory apparatus.
-
Citations
12 Claims
-
1. A storage controller for determining an amount of data to be sent to a flash memory apparatus for storage;
- wherein the flash memory apparatus comprises a block, which includes a plurality of pages;
wherein at least one of the pages is unavailable for storage, the storage controller comprising;a communications interface for communicating with the flash memory apparatus; and a processor connected to the communications interface, and configured to receive information of the block sent by the flash memory apparatus, wherein the information includes capacity of one or more unavailable pages in the block; determine an available capacity of the block, based on the information and a total capacity of the block, wherein the available capacity of the block is a remaining capacity of the total capacity by removing the capacity of one or more unavailable pages; obtain data to be sent to the flash memory apparatus, wherein an amount of the data is equal to the available capacity of the block; and send the data to the flash memory apparatus for storage. - View Dependent Claims (2, 3)
- wherein the flash memory apparatus comprises a block, which includes a plurality of pages;
-
4. A flash memory apparatus, which includes a block for storing data and a communications interface for communicating with a storage controller;
- wherein the block comprises a plurality of pages, and at least one of the pages is unavailable for storage;
wherein the flash memory apparatus further includes a primary controller connected to the block, and configured to; collect information of the block, wherein the information includes capacity of one or more unavailable pages in the block; send the information to the storage controller; receive data sent by the storage controller; and write the data into the block. - View Dependent Claims (5, 6)
- wherein the block comprises a plurality of pages, and at least one of the pages is unavailable for storage;
-
7. A method for a storage controller to determine an amount of data to be sent to a flash memory apparatus for storage;
- wherein the flash memory apparatus comprises a block, which includes a plurality of pages;
wherein at least one of the pages is unavailable for storage;
the method performed by the storage controller comprising;receiving information of the block sent by the flash memory apparatus, wherein the information includes capacity of one or more unavailable pages in the block; determining an available capacity of the block, based on the information and a total capacity of the block, wherein the available capacity of the block is a remaining capacity of the total capacity by removing the capacity of one or more unavailable pages; obtaining data to be sent to the flash memory apparatus, wherein an amount of the data is equal to the available capacity of the block; and sending the data to the flash memory apparatus for storage. - View Dependent Claims (8, 9)
- wherein the flash memory apparatus comprises a block, which includes a plurality of pages;
-
10. A method for a flash memory apparatus storing data, wherein the flash memory apparatus comprises a primary controller and a block, which includes a plurality of pages;
- wherein at least one of the pages is unavailable for storage;
wherein the method performed by the primary controller comprises;collecting information of the block, wherein the information includes capacity of one or more unavailable pages in the block; sending the information to the storage controller; receiving data sent by the storage controller; and writing the data into the block. - View Dependent Claims (11, 12)
- wherein at least one of the pages is unavailable for storage;
Specification