IP Library Granted Patent US 8,069,284
Granted Patent B2
US 8,069,284 · App. 12/453,589 · Granted Nov 29, 2011

Semiconductor memory device, memory system and data recovery methods thereof

Assignee: Samsung Electronics Co., Ltd.
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 8,069,284
App. No.
12/453,589
Granted
Nov 29, 2011
Kind
B2
Abstract

A semiconductor memory device includes a nonvolatile memory device having a plurality of physical sectors, and a memory controller configured to translate a logical address received from a host to a physical address, with reference to mapping data that defines a correspondence between the logical address and the physical address. The nonvolatile memory device is configured to access a first physical sector corresponding to the physical address, and, when a data delete command is provided from the host to the memory controller to delete first data that is stored in the first physical sector, the memory controller delays an erase and/or merge operation for the first physical sector in which the first data is stored.

Claims (57)

1. A semiconductor memory device, comprising:

a nonvolatile memory device having a plurality of physical sectors; and

a memory controller comprising a mapping table and a storage queue, and configured to translate a logical address of a data delete command received from a host to a physical address, with reference to mapping data of the mapping table that defines a correspondence between the logical address and the physical address, wherein:

the nonvolatile memory device is configured to execute an erase operation or a merge operation for a first physical sector corresponding to the physical address from the memory controller, and

the memory controller is further configured to register the mapping data corresponding to the data delete command in the storage queue, and to delay the execution of the erase operation or the merge operation in accordance with the registered mapping data in the storage queue.

2. The semiconductor memory device as claimed in claim 1 , wherein;

the memory controller delays the execution of erase or merge operation for the first physical sector in which a first data is stored by registering mapping data corresponding to the first data in the storage queue, and

the memory controller prevents invalidation of the mapping data corresponding to the first data while the mapping data corresponding to the first data is registered in the storage queue.

3. The semiconductor memory device as claimed in claim 2 , wherein,

when a data recovery command instructs the memory controller to attempt to recover the first data, the memory controller cancels registration of the mapping data corresponding to the first data from the storage queue.

4. The semiconductor memory device as claimed in claim 3 , wherein:

the storage queue is a first-in-first-out (FIFO) buffer, and

the memory controller recovers the first data while the mapping data corresponding to the first data is registered in the FIFO buffer.

5. The semiconductor memory device as claimed in claim 1 , wherein:

the memory controller delays the execution of the erase or merge operation for the first physical sector in which the first data is stored by registering invalidated mapping data corresponding to the first data in the storage queue, and

the memory controller prevents execution of the merge operation or erase operation for the first physical sector in which the first data is stored while the invalidated mapping data corresponding to the first data is registered in the storage queue.

6. The semiconductor memory device as claimed in claim 5 , wherein,

when a data recovery command instructs the memory controller to attempt to recover the first data while the invalidated mapping data corresponding to the first data is registered in the storage queue, the memory controller validates the invalidated mapping data corresponding to the first data.

7. The semiconductor memory device as claimed in claim 6 , wherein, when the data recovery command instructs the memory controller to attempt to recover the first data while the invalidated mapping data corresponding to the first data is registered in the storage queue, the memory controller also cancels registration of the invalidated mapping data corresponding to the first data from the storage queue.

8. The semiconductor memory device as claimed in claim 5 , wherein the storage queue is a first-in-first-out (FIFO) buffer.

9. The semiconductor memory device as claimed in claim 1 , wherein:

the storage queue comprises:

a first queue configured to register mapping data corresponding to the first data; and

a second queue configured to register invalidated mapping data corresponding to the first data,

the memory controller prevents invalidation of the mapping data corresponding to the first data while the mapping data corresponding to the first data is registered in the first queue, and

the memory controller prevents the merge operation and prevents the erase operation for a first physical sector in which the first data is stored while the invalidated mapping data corresponding to the first data is registered in the second queue.

10. The semiconductor memory device as claimed in claim 9 , wherein, when a data recovery command instructs the memory controller to attempt to recover data, the memory controller detects whether the mapping data corresponding to the first data is registered in the first queue or detects whether the invalidated mapping data corresponding to the first data is registered in the second queue.

11. The semiconductor memory device as claimed in claim 10 , wherein, when the memory controller detects mapping data corresponding to the first data in the first queue in response to the data recovery command, the memory controller cancels registration of the mapping data corresponding to the first data from the first queue.

12. The semiconductor memory device as claimed in claim 11 , wherein the first queue is a first-in-first-out (FIFO) buffer.

13. The semiconductor memory device as claimed in claim 10 , wherein, when the memory controller detects invalidated mapping data corresponding to the first data in the second queue in response to the data recovery command, the memory controller validates the invalidated mapping data corresponding to the first data to be recovered.

14. The semiconductor memory device as claimed in claim 13 , wherein, when the memory controller detects invalidated mapping data corresponding to the first data in the second queue in response to the data recovery command, the memory controller also cancels registration of the mapping data corresponding to the first data from the second queue.

15. The semiconductor memory device as claimed in claim 14 , wherein the second queue is a first-in-first-out (FIFO) buffer.

16. A method of managing data for a semiconductor memory device having a nonvolatile memory device with a plurality of physical sectors and a memory controller, the method comprising:

translating a logical address into a physical address in the memory controller, with reference to mapping data that defines a correspondence between the logical address and the physical address;

accessing in the nonvolatile memory device a first physical sector corresponding to the physical address;

receiving a data delete command provided from a host to the memory controller to delete first data that is stored in the first physical sector; and

using the memory controller to register the data delete command in a storage queue and to delay the execution of the erase or merge operation for the first physical sector in which the first data is stored.

17. The method as claimed in claim 16 , wherein delaying execution of the erase or merge operation includes:

registering mapping data corresponding to the first data in the storage queue, and

preventing invalidation of the mapping data corresponding to the first data while the mapping data corresponding to the first data is registered in the storage queue.

18. The method as claimed in claim 17 , further comprising cancelling registration of the mapping data corresponding to the first data from the storage queue when a data recovery command instructs the memory controller to attempt to recover the first data.

19. The method as claimed in claim 16 , further comprising invalidating mapping data corresponding to the first data in response to the data delete command,

wherein delaying execution of the erase or merge operation includes:

registering the invalidated mapping data corresponding to the first data in the storage queue, and

preventing the merge operation and preventing the erase operation for the first physical sector in which the first data is stored while the invalidated mapping data corresponding to the first data is registered in the storage queue.

20. The method as claimed in claim 19 , further comprising:

receiving a data recovery command from the host while the invalidated mapping data corresponding to the first data is registered in the storage queue, and then:

validating the invalidated mapping data corresponding to the first data, and

cancelling registration of the invalidated mapping data corresponding to the first data from the storage queue.

21. A memory system, comprising:

an interface configured to transfer data to and from the memory system;

a CPU configured to process data in the memory system; and

a semiconductor memory device configured to store the data, wherein the semiconductor memory device includes:

a nonvolatile memory device having a plurality of physical sectors; and

a memory controller comprising a mapping table and a storage queue, and configured to translate a logical address received of a data delete command from the CPU to a physical address, with reference to mapping data of the mapping table that defines a correspondence between the logical address and the physical address, wherein:

the nonvolatile memory device is configured to execute an erase operation or a merge operation for a first physical sector corresponding to the physical address so as to delete first data stored in the first physical sector, and

the memory controller is further configured to register the data delete command received from the CPU in the storage queue, and to delay the execution of the erase operation or the merge operation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 15, 2009
From: OH, SANG-JIN
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 022734/0840 →
Priority Claims (1)
KR 2008-0047617 · May 22, 2008 · national
Continuity (1)
Related Publication 20090292839A1 · Nov 26, 2009