IP Library Granted Patent US 10,120,752
Granted Patent B2
US 10,120,752 · App. 15/675,817 · Granted Nov 6, 2018

Data storage device and data access-method

Inventors: Li-Shuo Hsiao (Chiayi, TW); Chang-Kai Cheng (Hsinchu, TW)
Assignee: SILICON MOTION, INC.
G06F11/1068G06F3/064G06F3/0619G06F3/0679G06F11/1016G06F12/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,120,752
App. No.
15/675,817
Granted
Nov 6, 2018
Kind
B2
Abstract

The present invention provides a data-storage device including a flash memory and a controller. The flash memory includes a plurality of blocks, and each of the blocks has a plurality of pages, wherein each of the pages has a plurality of sub-pages and a plurality of spare areas, each of the spare areas is arranged to store a spare data sector, and the spare data sector respectively corresponds to the sub-pages. The controller is arranged to access the sub-pages according to the spare data sector.

Claims (17)

1. A data-storage device, comprising:

a flash memory, comprising a plurality of blocks, and each of the blocks has a plurality of pages, wherein each of the pages has a plurality of sub-pages and a plurality of spare areas, each of the spare areas is arranged to store a spare data sector, and each of the spare data sectors corresponds to one of the sub-pages; and

a controller, arranged to access the sub-pages according to the spare data sectors,

wherein the minimum access unit of the flash memory is the sub-page, each of the spare data sectors comprises a metadata arranged to record the information of the corresponding sub-page and an ECC parity of the metadata, and each of the sub-pages comprises a data area and an ECC parity of the data area, wherein the metadata includes properties of data in the blocks, wherein the properties include a mapping relationship of the physical sub-pages and the logical sub-pages,

wherein when the controller receives an access command from a host to write a first sector of a first page of the plurality of pages and the first sector constitutes a sub-page, the controller write sector data indicated by the access command directly into the sub-page indicated by the access command.

2. The data-storage device as claimed in claim 1 , wherein the flash memory further comprises at least one predetermined page, the predetermined page is arranged to store a page-size parameter, and the page-size parameter is arranged to represent the size of the corresponding page.

3. The data-storage device as claimed in claim 1 , wherein the spare areas and the sub-pages are arranged in a staggered arrangement in the page.

4. The data-storage device as claimed in claim 1 , wherein all of the spare areas of one of the pages are arranged on the front of the page or in the back of the page.

5. A data-accessing method, applied to a data-storage device, wherein the data-storage device comprises a flash memory, the flash memory comprises a plurality of blocks, each of the blocks comprises a plurality of pages, each of the pages comprises a plurality of sub-pages, and the data-accessing method comprises:

receiving an access command arranged to access a first sub-page of the sub-pages, wherein each of the pages further comprises a plurality of spare areas, each of the spare areas is arranged to store a spare data sector, and each of the spare data sectors corresponds to one of the sub-pages; and

accessing the first sub-page according to the spare data sector corresponding to the first sub-page, wherein the minimum access unit of the flash memory is the sub-page, each of the spare data sectors comprises a metadata arranged to record the information of the corresponding sub-page and an ECC parity of the metadata, and each of the sub-pages comprises a data area and an ECC parity of the data area, wherein the metadata includes properties of data in the blocks, wherein the properties include a mapping relationship of the physical sub-pages and the logical sub-pages; and

when an access command is received from a host to write a first sector of a first page of the plurality of pages and the first sector constitutes a sub-page, writing sector data indicated by the access command directly into the sub-page indicated by the access command.

6. The data-accessing method as claimed in claim 5 , wherein the step of accessing the first sub-page further comprises correcting at least one of error bit of the metadata according to the ECC parity.

7. The data-accessing method as claimed in claim 5 , wherein the step of accessing the first sub-page further comprises correcting at least one error bit of the sub-pages according to the ECC parity.

8. The data-accessing method as claimed in claim 5 , wherein the flash memory further comprises at least one predetermined page, the predetermined page is arranged to store a page-size parameter, and the page-size parameter is arranged to represent the size of the corresponding page.

9. The data-accessing method as claimed in claim 5 , wherein the spare areas and the sub-pages are arranged in a staggered arrangement in the page.

10. The data-accessing method as claimed in claim 5 , wherein all of the spare areas of one of the pages are arranged on the front of the page or in the back of the page.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 14, 2017
From: HSIAO, LI-SHUO; CHENG, CHANG-KAI
To: SILICON MOTION, INC.
Reel/Frame 043277/0545 →
Priority Claims (1)
TW 102144357 A · Dec 4, 2013 · national
Continuity (2)
Continuation 14547412 · Nov 19, 2014
Related Publication 20170344423A1 · Nov 30, 2017