IP Library › Granted Patent US 10,592,143
Granted Patent B2
US 10,592,143 · App. 16/400,068 · Granted Mar 17, 2020

Data storage device and data storage method thereof

Inventors: Tsai-Fa Liu (Hsinchu County, TW); Hung-Lian Lien (Hsinchu County, TW)
Assignee: SILICON MOTION, INC.
G06F3/0634G06F1/28G06F3/0616G06F3/0617G06F3/0619G06F3/0652G06F3/0656G06F3/0679G06F3/0685G06F12/0238G06F12/0253G06F12/0802G06F3/0653G06F2212/1032G06F2212/60G06F2212/7204
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,592,143
App. No.
16/400,068
Granted
Mar 17, 2020
Kind
B2
Abstract

A method of data writing for a data storage device includes steps of: determining whether an event of power drop/loss is recorded, wherein the event of power drop/loss is associated with a power supplied by an external device; when it is determined that the event of power drop/loss is recorded, determining whether a backup power source operates abnormally; and when it is determined that the backup power source operates abnormally, the data storage device enters from a normal mode into a write through mode, wherein in the write through mode, data from the external device is written into a buffer area of the data storage device. A data storage device is also provided.

Claims (28)

1. A method of data writing for a data storage device, comprising steps of:

determining whether an event of power drop/loss is recorded, wherein the event of power drop/loss is associated with a power supplied by an external device;

when it is determined that the event of power drop/loss is recorded, determining whether a backup power source operates abnormally; and

when it is determined that the backup power source operates abnormally, the data storage device enters from a normal mode into a write through mode, wherein in the write through mode, data from the external device is written into a buffer area of a non-volatile memory and a volatile memory in the data storage device.

2. The method of data writing according to claim 1 , wherein the backup power source operates abnormal when a voltage level of the backup power source drops more than a threshold value within a time period.

3. The method of data writing according to claim 1 , further comprising a step of:

transmitting a backup power source abnormal message to the external device via a GPIO interface.

4. The method of data writing according to claim 1 , further comprising steps of:

detecting whether the event of power drop/loss happens; and

when it is determined that the event of power drop/loss happens, flushing data stored in a volatile memory component into a flush block.

5. The method of data writing according to claim 4 , wherein the data flushed into the flush block is in a SLC mode.

6. The method of data writing according to claim 4 , wherein a detection in which the event of power drop/loss happens is determined when an interrupt message from the external device is received.

7. A data storage device, comprising:

a non-volatile memory component, for storing data permanently;

a volatile memory component, for storing data temporarily;

a backup power supply; and

a controller, for determining whether an event of power drop/loss is recorded and determining whether the backup power source operates abnormally, wherein when it is determined that the event of power drop/loss is recorded and the backup power source operates abnormally, the controller operates in a write through mode, wherein in the write through mode, data from an external device is written into the volatile memory component and a buffer area of the non-volatile memory component.

8. The data storage device according to claim 7 , wherein the backup power source operates abnormal when a voltage level of the backup power source drops more than a threshold value within a time period.

9. The data storage device according to claim 7 , wherein the controller transmits a backup power source abnormal message to the external device via a GPIO interface when it is determined that the backup power source operates abnormally.

10. The data storage device according to claim 7 , wherein the controller further determines whether the event of power drop/loss happens, and when it is detected that the event of power drop/loss happens, the controller flushes data stored in a volatile memory component into a flush block.

11. The data storage device according to claim 10 , wherein the data is flushed into the flush block in a SLC mode.

12. The data storage device according to claim 10 , wherein a detection in which the event of power drop/loss happens is determined when an interrupt message from the external device is received.

13. A method of data writing for a data storage device, comprising steps of:

determining whether a backup power source operates abnormally;

when it is determined that backup power source operates abnormally, detecting whether an external interrupt message is received; and

when the external interrupt message is detected, flushing data from an external device to a buffer area of the data storage device.

14. The method of data writing according to claim 13 , wherein the backup power source operates abnormal when a voltage level of the backup power source drops more than a threshold value within a time period.

15. The method of data writing according to claim 13 , wherein the data is flushed into the buffer area of the data storage device in a SLC mode.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 1, 2019
From: LIU, TSAI-FA; LIEN, HUNG-LIAN
To: SILICON MOTION, INC.
Reel/Frame 049043/0609 →
Continuity (3)
Continuation 15472270 · Mar 29, 2017
Provisional Application 62353570 · Jun 23, 2016
Related Publication 20190258418A1 · Aug 22, 2019