WO2012121968A2 - Logical address translation - Google Patents

Logical address translation Download PDF

Info

Publication number
WO2012121968A2
WO2012121968A2 PCT/US2012/027265 US2012027265W WO2012121968A2 WO 2012121968 A2 WO2012121968 A2 WO 2012121968A2 US 2012027265 W US2012027265 W US 2012027265W WO 2012121968 A2 WO2012121968 A2 WO 2012121968A2
Authority
WO
WIPO (PCT)
Prior art keywords
offset
las
encryption key
physical
key
Prior art date
Application number
PCT/US2012/027265
Other languages
French (fr)
Other versions
WO2012121968A3 (en
Inventor
Martin L. Culley
Troy A. Manning
Troy D. Larsen
Original Assignee
Micron Technology, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Micron Technology, Inc. filed Critical Micron Technology, Inc.
Priority to CN201280012166.4A priority Critical patent/CN103502958B/en
Priority to JP2013557761A priority patent/JP5719041B2/en
Priority to EP12754482.3A priority patent/EP2684132B1/en
Priority to KR1020137023450A priority patent/KR101554084B1/en
Publication of WO2012121968A2 publication Critical patent/WO2012121968A2/en
Publication of WO2012121968A3 publication Critical patent/WO2012121968A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/04Addressing variable-length words or parts of words
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1027Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1408Protection against unauthorised use of memory or access to memory by using cryptography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1458Protection against unauthorised use of memory or access to memory by checking the subject access rights
    • G06F12/1466Key-lock mechanism
    • G06F12/1475Key-lock mechanism in a virtual system, e.g. with translation means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/0292User address space allocation, e.g. contiguous or non contiguous base addressing using tables or multilevel address translation means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7201Logical to physical mapping or translation of blocks or pages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7202Allocation control and policies
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present disclosure relates generally to semiconductor memory devices, methods, and systems, and more particularly, to logical address translation.
  • Memory devices are typically provided as internal,
  • Volatile memory can require power to maintain its data and includes random-access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), among others.
  • RAM random-access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • Nonvolatile memory can provide persistent data by retaining stored information when not powered and can include NAND flash memory, NOR flash memory, read only memory (ROM), Electrically Erasable Programmable ROM
  • EEPROM Erasable Programmable ROM
  • EPROM Erasable Programmable ROM
  • PCRAM phase change random access memory
  • a solid state drive can include non-volatile memory, e.g., NAND flash memory and NOR flash memory, and/or can include volatile memory, e.g., DRAM and SRAM, among various other types of non-volatile and volatile memory.
  • Flash memory devices including floating gate flash devices and charge trap flash (CTF) devices using semiconductor-oxide-nitride-oxide- semiconductor and metal-oxide -nitride-oxide-semiconductor capacitor structures that store information in charge traps in the nitride layer, may be utilized as nonvolatile memory for a wide range of electronic applications. Flash memory devices typically use a one-transistor memory cell that allows for high memory densities, high reliability, and low power consumption.
  • An SSD can be used to replace hard disk drives as the main storage device for a computer, as the solid state drive can have advantages over hard drives in terms of performance, size, weight, ruggedness, operating temperature range, and power consumption.
  • SSDs can have superior performance when compared to magnetic disk drives due to their lack of moving parts, which may avoid seek time, latency, and other electromechanical delays associated with magnetic disk drives.
  • SSD manufacturers can use non- volatile flash memory to create flash SSDs that may not use an internal battery supply, thus allowing the drive to be more versatile and compact.
  • An SSD can include a number of memory devices, e.g., a number of memory chips (as used herein, "a number of something can refer to one or more of such things, e.g., a number of memory devices can refer to one or more memory devices).
  • a memory chip can include a number of dies and/or logical units (LUNs). Each die can include a number of memory arrays and peripheral circuitry thereon.
  • the memory arrays can include a number of memory cells organized into a number of physical pages, and the physical pages can be organized into a number of blocks.
  • SSDs can include a logical address (LA) table, such as a logical block address (LBA) table.
  • LA logical address
  • LBA logical block address
  • An LBA table can be used to record the information that translates, e.g., links, the logical address of data to the physical location of the data in the memory arrays of an SSD.
  • the LBA table can be stored in volatile memory in the solid state drive and a copy of the LBA table can also be stored in non-volatile memory in the solid state drive.
  • the LBA table can be used to translate, e.g., locate, the physical location of data in the solid state drive when a command, e.g., read request and/or write request, is initiated in the solid state drive.
  • a read and/or write request for reading and/or writing data at a specific logical address can be initiated by a host.
  • the logical address can be found in the LBA table and a corresponding physical address can then be indicated.
  • the solid state drive can read the data from the indicated physical address to complete the read request for the solid state drive and/or the solid state drive can write the data to the indicated physical address to complete the write request for the solid state drive.
  • Encrypted data can be stored in the solid state memory devices and there are instances in which a host may treat a range of LB As as a group.
  • encryption keys can be associated with particular LBA ranges. The number of encryption keys can be used to encrypt data stored in the memory devices.
  • Figure 1 is a functional block diagram of a computing system including at least one memory system, in accordance with one or more embodiments of the present disclosure.
  • Figure 2 illustrates a block diagram of key zones in non- volatile memory in accordance with one or more embodiments of the present disclosure.
  • Figure 3 illustrates a key range table in accordance with one or more embodiments of the present disclosure.
  • the present disclosure includes methods for logical address translation.
  • One such method includes receiving a command associated with a LA, wherein the LA is in a particular range of LAs and translating the LA to a physical location in memory using an offset corresponding to a number of physical locations skipped when writing data associated with a range of LAs other than the particular range...
  • FIG. 1 is a functional block diagram of a computing system 100 including at least one memory system 104, in accordance with one or more embodiments of the present disclosure.
  • the memory system 104 e.g., a solid state drive (SSD)
  • the controller 108 can include a controller 108 and one or more solid state memory devices 110-1, . . ., 110-N.
  • the solid state memory devices 110-1, . . ., 110-N can provide a storage volume for the memory system, e.g., with a file system formatted to the memory devices.
  • the controller 108 can include control circuitry, e.g., hardware, firmware, and/or software.
  • the controller 108 can be an application specific integrated circuit (ASIC) coupled to a printed circuit board including a physical interface and solid state memory devices 110-1, . . ., 110-N.
  • ASIC application specific integrated circuit
  • the controller 108 can be coupled to the solid state memory devices 110-1, . . ., 110-N.
  • a host 102 can use logical block addresses (LB As) when addressing a memory system 104.
  • a flash translation layer (FTL) 112 can translate an LB A to a physical location in the solid state memory devices 110-1, . . ., 110-N, and vice versa. This allows the host 102 to ignore the physical characteristics of the memory devices 110-1,..., 110-N and treat the memory system 104 as a contiguous linear map of logical sectors.
  • FTL flash translation layer
  • Host 102 can be a laptop computer, personal computes, digital camera, digital recording and playback device, mobile telephone, PDA, memory card reader, interface hub, among other host systems, and can include a memory access device, e.g., a processor.
  • a processor can intend one or more processors, such as a parallel processing system, a number of coprocessors, etc.
  • a physical host interface can be in the form of a standardized interface.
  • a physical host interface can be a serial advanced technology attachment (SAT A), peripheral component interconnect express (PCIe), or a universal serial bus (USB), among other connectors and interfaces.
  • SAT A serial advanced technology attachment
  • PCIe peripheral component interconnect express
  • USB universal serial bus
  • a physical host interface can provide an interface for passing control, address, data, and other signals between the memory system 104 and a host 102 having compatible receptors for the physical host interface.
  • the controller 108 can communicate with the solid state memory devices 110-1, . . ., 110-N to read, write, and erase data, among other operations.
  • Controller 108 can have circuitry that may be one or more integrated circuits and/or discrete components.
  • the controller 108 can include a logical to physical translation function, e.g., flash translation layer (FTL) 112.
  • FTL 112 can be used to map logical addresses associated with a request received from the host 102 to physical locations within the solid state memory devices 110-1, . . ., 110-N.
  • the FTL 112 can use information in a key range table 114 (included in the controller, but which may also be stored in the memory devices 110) that indicates an offset, for translating an LBA to a physical location.
  • a memory controller could selectively couple an I/O connection (not shown in Figure 1) of a solid state memory device 110-1, . . ., 110-N to receive the appropriate signal at the appropriate I/O connection at the appropriate time.
  • the I/O connection not shown in Figure 1 of a solid state memory device 110-1, . . ., 110-N to receive the appropriate signal at the appropriate I/O connection at the appropriate time.
  • Controller 108 could then translate the commands received from a host into the appropriate commands to achieve the desired access to a solid state memory device 110-1, . . ., 110-N.
  • a solid state memory device 110-1, . . ., 110-N can include one or more arrays of memory cells, e.g., non- volatile memory cells.
  • the arrays can be flash arrays with a NAND architecture, for example.
  • the control gates of memory cells of a "row” can be coupled with an access, e.g., word, line, while the memory cells can be coupled in series source to drain in a "string" between a select gate source transistor and a select gate drain transistor.
  • the string can be connected to a data, e.g., bit, line by the select gate drain transistor.
  • the use of the terms "row” and “string” implies neither a linear nor an orthogonal arrangement of memory cells.
  • the manner of connection of the memory cells to the bit lines and source lines depends on whether the array is a NAND architecture, a NOR architecture, or some other memory array architecture.
  • the solid state memory devices 110-1, . . ., 110-N can include a number of memory cells that can be grouped.
  • a group can include one or more memory cells, such as a page, block, plane, die, an entire array, or other groups of memory cells.
  • some memory arrays can include a number of pages of memory cells that make up a block of memory cells.
  • a number of blocks can be included in a plane of memory cells.
  • a number of planes of memory cells can be included on a die.
  • a 128 GB memory device can include 4314 bytes of data per page, 128 pages per block, 2048 blocks per plane, and 16 planes per device.
  • the solid state memory devices 110-1,. . ., 110-N can include a number of channels, and each channel can include a number of dies. Each channel can be organized using logical unit numbers (LUNs).
  • LUNs logical unit numbers
  • Encrypted data can be stored in the solid state memory devices
  • Ranges of LB As can be associated with an encryption key. For example, data associated with LBAo to LBA X can be encrypted with encryption key 0, data associated with LBA x+ i to LB A 2y can be encrypted with encryption key 1 , and data associated with
  • LBA 2y+ i to LBA 3z can be encrypted with encryption key 2.
  • a memory system can use 16 different encryption keys to encrypt data.
  • a physical page can refer to a unit of writing and/or reading, e.g., a number of cells that are written and/or read together or as a functional group of memory cells. An even page and an odd page can be written and/or read with separate writing and/or reading operations.
  • MLC multilevel cells
  • a physical page can be logically divided into, for example, an upper page and a lower page of data.
  • one memory cell can contribute one or more bits to an upper page of data and one or more bits to a lower page of data. Accordingly, an upper page and a lower page of data can be written and/or read as part of one writing and/or reading operation, as the logical upper page and logical lower page are both part of the same physical page.
  • the embodiment of Figure 1 can include additional circuitry that is not illustrated so as not to obscure embodiments of the present disclosure.
  • the memory system 104 can include address circuitry to latch address signals provided over I/O connections through I/O circuitry. Address signals can be received and decoded by a row decoder and a column decoder to access the solid state memory devices 110-1, . . ., 110-N. It will be appreciated by those skilled in the art that the number of address input connections can depend on the density and architecture of the solid state memory devices 110-1, . . ., 110-N.
  • the controller 108 is responsible for converting command packets received from the host system 102, e.g., from a PCIe bus, into command instructions for host-memory translation circuitry and for converting memory responses into host system commands for transmission to the requesting host.
  • host interface circuitry can construct SATA command packets from PCIe based transaction layer packets.
  • the controller 108 can be configured to translate logical (e.g., host) addresses (e.g., associated with a received command) to physical memory addresses.
  • logical e.g., host
  • the FTL 112 in the controller 108 can use entries from the key range table to convert host sector read and write commands to commands directed for specific portions of the solid state memory devices 110- 1, . . ., 110-N.
  • Each host operation can be translated into single or multi-sector non-volatile memory operation.
  • data can be written to the memory devices one page at a time.
  • Each page in the memory device can have a number of physical sectors and each physical sector can be associated with an LBA.
  • a physical page can have 8 physical sectors of data.
  • embodiments are not limited to a particular number of physical sectors per physical page.
  • the data for the page can be associated with, for example, 8 LBAs.
  • a first number of LBAs such as 3 LBAs
  • a second number of LBAs such as 5 LBAs, can be associated with a second encryption key.
  • the data can instead be written to two different pages.
  • the data associated with the first number of LBAs can be written to a first page associated with the first encryption key and the data associated with the second number of LBAs can be written to a second page associated with the second encryption key.
  • This can leave a number of physical locations, e.g., sectors, of the page that contains data assigned to the first page without data. For example, the remaining physical sectors of the first page are skipped in the write process.
  • the skipping of these physical sectors can be accounted for by an offset in a key range table.
  • the FTL can translate an LBA to a shifted physical location based on the information in the key range table.
  • the controller 108 can use the key range table 114 to translate the physical location of data associated with LBAs.
  • the key range table 114 can include a number of entries that each indicate a respective offset corresponding to a number of physical locations, e.g., physical sectors, skipped when writing a page(s) of data associated with a range(s) of LBAs that precede a range associated with the respective entry.
  • the key range table can include an entry for each encryption key, the range of LBAs associated with the encryption key, and an offset that indicates the number of physical sectors skipped after writing data assigned to the last LBA in a preceding range.
  • the offsets in the key range table from previous ranges of LBAs and encryption keys can be accumulated, e.g., summed together, and used to translate the physical location of data associated with the number of LBAs.
  • the offset used when translating the physical location of data associated with LBAs can be located in the key range table.
  • the offset can be located in the key range table based on an encryption key associated with the LBAs.
  • Figure 2 illustrates a block diagram of key zones in non- volatile memory in accordance with one or more embodiments of the present disclosure.
  • a first number of memory cells can be associated with a first encryption key as indicated by a first key zone 242 and a second number of memory cells can be associated with a second encryption key as indicated by a second key zone 244.
  • the number of memory cells can be arranged into pages, which can be illustrated by a row in Figure 2.
  • page 246 can include a row of physical sectors, wherein each physical sector can include a number of memory cells.
  • a page can include a number of physical sectors, for example, page 246 in Figure 2 includes 8 physical sectors.
  • the data can be associated with an encryption key of a key zone for encryption/decryption of the data and the data can be associated with a number of LBAs.
  • a command(s) can be received to write data associated with a number of LBAs that are associated with the first encryption key of key zone 242 and a number of LBAs that are associated with the second encryption key of key zone 244.
  • a transition from a number of LBAs associated with one encryption keys to a number of LBAs associated with another encryption key can occur in the middle of a physical page.
  • the data associated with the last two LBAs associated with the first encryption key of key zone 242 can be written to the first two physical sectors of page 254, ending at physical sector 248.
  • the data associated with the LBAs associated with the second encryption key of key zone 244 can be written to the first six physical sectors of page 256 starting at physical sector 250, e.g., a new physical page.
  • the data associated with the LBAs associated with the first encryption key is written to a different page than the LBAs associated with the second encryption key. For instance, a condition of the FTL may not allow data associated with LBAs associated with different encryption keys to be written on the same page.
  • the last six physical sectors of the page on which sector 248 resides are skipped, e.g., data is not written to those sectors. These skipped physical sectors are noted in a key range table entry along with noting the encryption key associated with the range of LB As associated the encryption key of key zone 242. In one or more embodiments, any number of physical sectors can be skipped when writing a page of data associated with two or more different encryption keys.
  • Figure 3 illustrates a key range table in accordance with one or more embodiments of the present disclosure.
  • the key range table in Figure 3 includes a number of columns.
  • the first column 360 indicates an encryption key used to encrypt data.
  • the second column 370 indicates LBA ranges associated with particular encryption keys.
  • the third column 380 indicates an LBA offset associated with an encryption key and an LBA range.
  • column 360 includes a number of different encryption keys 362-1 ("a”), 362-2 ("b"), 362-3 ("c"), 362-4 ("d”), and 362-5 (“e”).
  • Each encryption key is associated with a respective LBA range 372-1 (LBA range 0-127), 372-2 (LBA range 128-255), 372-3 (LBA range 256- 383), 372-4 (LBA range 384-511), and 372-5 (LBA range 512-639).
  • the LBA offsets in column 380 of the key range table can indicate the number of physical sectors to skip when the FTL, e.g., FTL shown in Figure 1, translates a LBA to a physical location in a memory system, e.g., system 104 in Figure 1.
  • Each encryption key 362-1, 362- 2, 362-3, 362-4, and 362-5 and associated LBA range 372-1, 372-2, 372-3, 372- 4, and 372-5 can have an associated LBA offset.
  • the LBA offset can be based on the skipping of a number of physical sectors within a physical page when transitioning from writing data associated with one encryption key to writing data associated with another, e.g., different, encryption key.
  • the LBA offsets corresponding to particular LBA ranges can be cumulative as the LBA value increases.
  • the offset used for LBAs associated with an encryption key is the sum of each LBA offset associated with writing data while transitioning between each of the previous encryption keys.
  • encryption key 362-1 associated with LBA range 372-1 has an LBA offset of 0. This is because encryption key 362-1 is the first encryption key in the key table such that there are no prior accumulated LBA offsets associated with LBAs associated with encryption key 362-1. As such, the accumulated, e.g., total, LBA offset 382-1 associated with encryption key 362-1 is 0.
  • encryption key 362- 2 associated with LBA range 372-2 has an individual LB A offset of 7.
  • the individual LBA offset of 7 for encryption key 362-2 indicates that 7 physical sectors were skipped in the last page of data associated with encryption key 362- 1.
  • the accumulated LBA offset 382-2 for encryption key 362-2 is 7, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
  • the individual LBA offset of 7 for encryption key 362-3 indicates that 7 physical sectors were skipped in the last page of data associated with encryption key 362-2.
  • the accumulated LBA offset 382-3 for encryption key 362-3 is 14, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
  • the 372-4 has an individual LBA offset of 1.
  • the individual LBA offset of 1 for encryption key 362-4 indicates that 1 physical sector was skipped in the last page of data associated with encryption key 362-3.
  • the accumulated LBA offset 382- 4 for encryption key 362-4 is 15, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
  • the individual LBA offset of 6 for encryption key 362-5 indicates that 6 physical sectors were skipped in the last page of data associated with encryption key 362-4.
  • the accumulated LBA offset 382-5 for encryption key 362-5 is 21, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
  • the present disclosure includes methods for logical block address translation.
  • One such method includes receiving a command associated with a LA, wherein the LA is in a particular range of LAs and translating the LA to a physical location in memory using an offset corresponding to a number of physical locations skipped when writing data associated with a range of LAs other than the particular range.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Storage Device Security (AREA)
  • Read Only Memory (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Memory System (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

The present disclosure includes methods for logical address translation, methods for operating memory systems, and memory systems. One such method includes receiving a command associated with a LA, wherein the LA is in a particular range of LAs and translating the LA to a physical location in memory using an offset corresponding to a number of physical locations skipped when writing data associated with a range of LAs other than the particular range.

Description

LOGICAL ADDRESS TRANSLATION
Technical Field
[0001] The present disclosure relates generally to semiconductor memory devices, methods, and systems, and more particularly, to logical address translation.
Background
[0002] Memory devices are typically provided as internal,
semiconductor, integrated circuits in computers or other electronic devices. There are many different types of memory including volatile and non-volatile memory. Volatile memory can require power to maintain its data and includes random-access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), among others. Nonvolatile memory can provide persistent data by retaining stored information when not powered and can include NAND flash memory, NOR flash memory, read only memory (ROM), Electrically Erasable Programmable ROM
(EEPROM), Erasable Programmable ROM (EPROM), and phase change random access memory (PCRAM), among others.
[0003] Memory devices can be combined together to form a solid state drive (SSD). A solid state drive can include non-volatile memory, e.g., NAND flash memory and NOR flash memory, and/or can include volatile memory, e.g., DRAM and SRAM, among various other types of non-volatile and volatile memory. Flash memory devices, including floating gate flash devices and charge trap flash (CTF) devices using semiconductor-oxide-nitride-oxide- semiconductor and metal-oxide -nitride-oxide-semiconductor capacitor structures that store information in charge traps in the nitride layer, may be utilized as nonvolatile memory for a wide range of electronic applications. Flash memory devices typically use a one-transistor memory cell that allows for high memory densities, high reliability, and low power consumption.
[0004] An SSD can be used to replace hard disk drives as the main storage device for a computer, as the solid state drive can have advantages over hard drives in terms of performance, size, weight, ruggedness, operating temperature range, and power consumption. For example, SSDs can have superior performance when compared to magnetic disk drives due to their lack of moving parts, which may avoid seek time, latency, and other electromechanical delays associated with magnetic disk drives. SSD manufacturers can use non- volatile flash memory to create flash SSDs that may not use an internal battery supply, thus allowing the drive to be more versatile and compact.
[0005] An SSD can include a number of memory devices, e.g., a number of memory chips (as used herein, "a number of something can refer to one or more of such things, e.g., a number of memory devices can refer to one or more memory devices). As one of ordinary skill in the art will appreciate, a memory chip can include a number of dies and/or logical units (LUNs). Each die can include a number of memory arrays and peripheral circuitry thereon. The memory arrays can include a number of memory cells organized into a number of physical pages, and the physical pages can be organized into a number of blocks.
[0006] SSDs can include a logical address (LA) table, such as a logical block address (LBA) table. An LBA table can be used to record the information that translates, e.g., links, the logical address of data to the physical location of the data in the memory arrays of an SSD. The LBA table can be stored in volatile memory in the solid state drive and a copy of the LBA table can also be stored in non-volatile memory in the solid state drive. The LBA table can be used to translate, e.g., locate, the physical location of data in the solid state drive when a command, e.g., read request and/or write request, is initiated in the solid state drive. A read and/or write request for reading and/or writing data at a specific logical address can be initiated by a host. The logical address can be found in the LBA table and a corresponding physical address can then be indicated. The solid state drive can read the data from the indicated physical address to complete the read request for the solid state drive and/or the solid state drive can write the data to the indicated physical address to complete the write request for the solid state drive.
[0007] Encrypted data can be stored in the solid state memory devices and there are instances in which a host may treat a range of LB As as a group. For example, encryption keys can be associated with particular LBA ranges. The number of encryption keys can be used to encrypt data stored in the memory devices.
Brief Description of the Drawings
[0008] Figure 1 is a functional block diagram of a computing system including at least one memory system, in accordance with one or more embodiments of the present disclosure.
[0009] Figure 2 illustrates a block diagram of key zones in non- volatile memory in accordance with one or more embodiments of the present disclosure.
[0010] Figure 3 illustrates a key range table in accordance with one or more embodiments of the present disclosure.
Detailed Description
[0011] The present disclosure includes methods for logical address translation. One such method includes receiving a command associated with a LA, wherein the LA is in a particular range of LAs and translating the LA to a physical location in memory using an offset corresponding to a number of physical locations skipped when writing data associated with a range of LAs other than the particular range...
[0012] In the following detailed description of the present disclosure, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration how one or more embodiments of the disclosure may be practiced. These embodiments are described in sufficient detail to enable those of ordinary skill in the art to practice the embodiments of this disclosure, and it is to be understood that other embodiments may be utilized and that process, electrical, and/or structural changes may be made without departing from the scope of the present disclosure. As used herein, the designator "N", particularly with respect to reference numerals in the drawings, indicates that a number of the particular feature so designated can be included with one or more embodiments of the present disclosure.
[0013] The figures herein follow a numbering convention in which the first digit or digits correspond to the drawing figure number and the remaining digits identify an element or component in the drawing. Similar elements or components between different figures may be identified by the use of similar digits. For example, 108 may reference element "08" in Fig. 1, and a similar element may be referenced as 208 in Fig. 2. As will be appreciated, elements shown in the various embodiments herein can be added, exchanged, and/or eliminated so as to provide a number of additional embodiments of the present disclosure. In addition, as will be appreciated, the proportion and the relative scale of the elements provided in the figures are intended to illustrate certain embodiments of the present invention, and should not be taken in a limiting sense.
[0014] Figure 1 is a functional block diagram of a computing system 100 including at least one memory system 104, in accordance with one or more embodiments of the present disclosure. In the embodiment illustrated in Figure 1, the memory system 104, e.g., a solid state drive (SSD), can include a controller 108 and one or more solid state memory devices 110-1, . . ., 110-N. The solid state memory devices 110-1, . . ., 110-N can provide a storage volume for the memory system, e.g., with a file system formatted to the memory devices. The controller 108 can include control circuitry, e.g., hardware, firmware, and/or software. In one or more embodiments, the controller 108 can be an application specific integrated circuit (ASIC) coupled to a printed circuit board including a physical interface and solid state memory devices 110-1, . . ., 110-N.
[0015] As illustrated in Figure 1, the controller 108 can be coupled to the solid state memory devices 110-1, . . ., 110-N. A host 102 can use logical block addresses (LB As) when addressing a memory system 104. A flash translation layer (FTL) 112 can translate an LB A to a physical location in the solid state memory devices 110-1, . . ., 110-N, and vice versa. This allows the host 102 to ignore the physical characteristics of the memory devices 110-1,..., 110-N and treat the memory system 104 as a contiguous linear map of logical sectors. Host 102 can be a laptop computer, personal computes, digital camera, digital recording and playback device, mobile telephone, PDA, memory card reader, interface hub, among other host systems, and can include a memory access device, e.g., a processor. One of ordinary skill in the art will appreciate that "a processor" can intend one or more processors, such as a parallel processing system, a number of coprocessors, etc.
[0016] In one or more embodiments, a physical host interface can be in the form of a standardized interface. For example, when the memory system 104 is used for data storage in a computing system 100, a physical host interface can be a serial advanced technology attachment (SAT A), peripheral component interconnect express (PCIe), or a universal serial bus (USB), among other connectors and interfaces. In general, however, a physical host interface can provide an interface for passing control, address, data, and other signals between the memory system 104 and a host 102 having compatible receptors for the physical host interface.
[0017] The controller 108 can communicate with the solid state memory devices 110-1, . . ., 110-N to read, write, and erase data, among other operations. Controller 108 can have circuitry that may be one or more integrated circuits and/or discrete components. As illustrated in Figure 1, the controller 108 can include a logical to physical translation function, e.g., flash translation layer (FTL) 112. The FTL 112 can be used to map logical addresses associated with a request received from the host 102 to physical locations within the solid state memory devices 110-1, . . ., 110-N. As described further herein, the FTL 112 can use information in a key range table 114 (included in the controller, but which may also be stored in the memory devices 110) that indicates an offset, for translating an LBA to a physical location. A memory controller could selectively couple an I/O connection (not shown in Figure 1) of a solid state memory device 110-1, . . ., 110-N to receive the appropriate signal at the appropriate I/O connection at the appropriate time. Similarly, the
communication protocol between a host 102 and the memory system 104 may be different than what is required for access of a solid state memory device 110-1, . . ., 110-N. Controller 108 could then translate the commands received from a host into the appropriate commands to achieve the desired access to a solid state memory device 110-1, . . ., 110-N.
[0018] A solid state memory device 110-1, . . ., 110-N can include one or more arrays of memory cells, e.g., non- volatile memory cells. The arrays can be flash arrays with a NAND architecture, for example. In a NAND architecture, the control gates of memory cells of a "row" can be coupled with an access, e.g., word, line, while the memory cells can be coupled in series source to drain in a "string" between a select gate source transistor and a select gate drain transistor. The string can be connected to a data, e.g., bit, line by the select gate drain transistor. The use of the terms "row" and "string" implies neither a linear nor an orthogonal arrangement of memory cells. As will be appreciated by those of ordinary skill in the art, the manner of connection of the memory cells to the bit lines and source lines depends on whether the array is a NAND architecture, a NOR architecture, or some other memory array architecture.
[0019] The solid state memory devices 110-1, . . ., 110-N can include a number of memory cells that can be grouped. As used herein, a group can include one or more memory cells, such as a page, block, plane, die, an entire array, or other groups of memory cells. For example, some memory arrays can include a number of pages of memory cells that make up a block of memory cells. A number of blocks can be included in a plane of memory cells. A number of planes of memory cells can be included on a die. As an example, a 128 GB memory device can include 4314 bytes of data per page, 128 pages per block, 2048 blocks per plane, and 16 planes per device.
[0020] The solid state memory devices 110-1,. . ., 110-N can include a number of channels, and each channel can include a number of dies. Each channel can be organized using logical unit numbers (LUNs). When writing data to the solid state memory devices 110-1,. . ., 110-N, data can be striped across the number of channels and LUNs. Data can be written to the solid state memory devices 110-1,. . ., 110-N using a write pattern algorithm which stripes the data in a predictive pattern among the memory cells associated with the channels. Writing data can be limited by the ability of a channel to handle data traffic sent to a channel by the host, therefore a number of channels can be used by a memory system to allow more data to be written and read on the number of channels.
[0021] Encrypted data can be stored in the solid state memory devices
110-1,. . ., 110-N. For example, a number of encryption keys can be used to encrypt data stored in the memory devices 110. Ranges of LB As can be associated with an encryption key. For example, data associated with LBAo to LBAX can be encrypted with encryption key 0, data associated with LBAx+i to LB A2y can be encrypted with encryption key 1 , and data associated with
LBA2y+i to LBA3z can be encrypted with encryption key 2. In one or more embodiments, a memory system can use 16 different encryption keys to encrypt data. [0022] In a memory device, a physical page can refer to a unit of writing and/or reading, e.g., a number of cells that are written and/or read together or as a functional group of memory cells. An even page and an odd page can be written and/or read with separate writing and/or reading operations. For embodiments including multilevel cells (MLC), a physical page can be logically divided into, for example, an upper page and a lower page of data. For example, one memory cell can contribute one or more bits to an upper page of data and one or more bits to a lower page of data. Accordingly, an upper page and a lower page of data can be written and/or read as part of one writing and/or reading operation, as the logical upper page and logical lower page are both part of the same physical page.
[0023] The embodiment of Figure 1 can include additional circuitry that is not illustrated so as not to obscure embodiments of the present disclosure. For example, the memory system 104 can include address circuitry to latch address signals provided over I/O connections through I/O circuitry. Address signals can be received and decoded by a row decoder and a column decoder to access the solid state memory devices 110-1, . . ., 110-N. It will be appreciated by those skilled in the art that the number of address input connections can depend on the density and architecture of the solid state memory devices 110-1, . . ., 110-N.
[0024] In general, the controller 108 is responsible for converting command packets received from the host system 102, e.g., from a PCIe bus, into command instructions for host-memory translation circuitry and for converting memory responses into host system commands for transmission to the requesting host. For example, host interface circuitry can construct SATA command packets from PCIe based transaction layer packets.
[0025] The controller 108 can be configured to translate logical (e.g., host) addresses (e.g., associated with a received command) to physical memory addresses. For example, the FTL 112 in the controller 108 can use entries from the key range table to convert host sector read and write commands to commands directed for specific portions of the solid state memory devices 110- 1, . . ., 110-N. Each host operation can be translated into single or multi-sector non-volatile memory operation.
[0026] In one or more embodiments, data can be written to the memory devices one page at a time. Each page in the memory device can have a number of physical sectors and each physical sector can be associated with an LBA. As an example, a physical page can have 8 physical sectors of data. However, embodiments are not limited to a particular number of physical sectors per physical page. When writing data one page at a time, the data for the page can be associated with, for example, 8 LBAs. In some embodiments, a first number of LBAs, such as 3 LBAs, can be associated with a first encryption key and a second number of LBAs, such as 5 LBAs, can be associated with a second encryption key. When data destined for a page is associated with LBAs that are associated with two different encryption keys, the data can instead be written to two different pages. The data associated with the first number of LBAs can be written to a first page associated with the first encryption key and the data associated with the second number of LBAs can be written to a second page associated with the second encryption key. This can leave a number of physical locations, e.g., sectors, of the page that contains data assigned to the first page without data. For example, the remaining physical sectors of the first page are skipped in the write process. In one or more embodiments of the present disclosure, the skipping of these physical sectors can be accounted for by an offset in a key range table. The FTL can translate an LBA to a shifted physical location based on the information in the key range table.
[0027] The controller 108 can use the key range table 114 to translate the physical location of data associated with LBAs. The key range table 114 can include a number of entries that each indicate a respective offset corresponding to a number of physical locations, e.g., physical sectors, skipped when writing a page(s) of data associated with a range(s) of LBAs that precede a range associated with the respective entry. The key range table can include an entry for each encryption key, the range of LBAs associated with the encryption key, and an offset that indicates the number of physical sectors skipped after writing data assigned to the last LBA in a preceding range. When writing data associated with a number of LBAs and associated with an encryption key, the offsets in the key range table from previous ranges of LBAs and encryption keys can be accumulated, e.g., summed together, and used to translate the physical location of data associated with the number of LBAs. The offset used when translating the physical location of data associated with LBAs can be located in the key range table. The offset can be located in the key range table based on an encryption key associated with the LBAs.
[0028] Figure 2 illustrates a block diagram of key zones in non- volatile memory in accordance with one or more embodiments of the present disclosure. In Figure 2, a first number of memory cells can be associated with a first encryption key as indicated by a first key zone 242 and a second number of memory cells can be associated with a second encryption key as indicated by a second key zone 244. The number of memory cells can be arranged into pages, which can be illustrated by a row in Figure 2. For example, in Figure 2, page 246 can include a row of physical sectors, wherein each physical sector can include a number of memory cells. A page can include a number of physical sectors, for example, page 246 in Figure 2 includes 8 physical sectors.
[0029] When data is written to pages in memory, the data can be associated with an encryption key of a key zone for encryption/decryption of the data and the data can be associated with a number of LBAs. For example, a command(s) can be received to write data associated with a number of LBAs that are associated with the first encryption key of key zone 242 and a number of LBAs that are associated with the second encryption key of key zone 244. As such, a transition from a number of LBAs associated with one encryption keys to a number of LBAs associated with another encryption key can occur in the middle of a physical page. For instance, the data associated with the last two LBAs associated with the first encryption key of key zone 242 can be written to the first two physical sectors of page 254, ending at physical sector 248. The data associated with the LBAs associated with the second encryption key of key zone 244 can be written to the first six physical sectors of page 256 starting at physical sector 250, e.g., a new physical page. The data associated with the LBAs associated with the first encryption key is written to a different page than the LBAs associated with the second encryption key. For instance, a condition of the FTL may not allow data associated with LBAs associated with different encryption keys to be written on the same page. With the data associated with the LBAs associated with the first encryption key and the data associated with the LBAs associated with the second encryption key written on different physical pages, the last six physical sectors of the page on which sector 248 resides are skipped, e.g., data is not written to those sectors. These skipped physical sectors are noted in a key range table entry along with noting the encryption key associated with the range of LB As associated the encryption key of key zone 242. In one or more embodiments, any number of physical sectors can be skipped when writing a page of data associated with two or more different encryption keys.
[0030] Figure 3 illustrates a key range table in accordance with one or more embodiments of the present disclosure. The key range table in Figure 3 includes a number of columns. The first column 360 indicates an encryption key used to encrypt data. The second column 370 indicates LBA ranges associated with particular encryption keys. The third column 380 indicates an LBA offset associated with an encryption key and an LBA range.
[0031] In the example shown in Figure 3, column 360 includes a number of different encryption keys 362-1 ("a"), 362-2 ("b"), 362-3 ("c"), 362-4 ("d"), and 362-5 ("e"). Each encryption key is associated with a respective LBA range 372-1 (LBA range 0-127), 372-2 (LBA range 128-255), 372-3 (LBA range 256- 383), 372-4 (LBA range 384-511), and 372-5 (LBA range 512-639).
[0032] In one or more embodiments, the LBA offsets in column 380 of the key range table can indicate the number of physical sectors to skip when the FTL, e.g., FTL shown in Figure 1, translates a LBA to a physical location in a memory system, e.g., system 104 in Figure 1. Each encryption key 362-1, 362- 2, 362-3, 362-4, and 362-5 and associated LBA range 372-1, 372-2, 372-3, 372- 4, and 372-5 can have an associated LBA offset. The LBA offset can be based on the skipping of a number of physical sectors within a physical page when transitioning from writing data associated with one encryption key to writing data associated with another, e.g., different, encryption key. In one or more embodiments, the LBA offsets corresponding to particular LBA ranges can be cumulative as the LBA value increases. For instance, the offset used for LBAs associated with an encryption key is the sum of each LBA offset associated with writing data while transitioning between each of the previous encryption keys.
[0033] In the example shown in Figure 3, encryption key 362-1 associated with LBA range 372-1 has an LBA offset of 0. This is because encryption key 362-1 is the first encryption key in the key table such that there are no prior accumulated LBA offsets associated with LBAs associated with encryption key 362-1. As such, the accumulated, e.g., total, LBA offset 382-1 associated with encryption key 362-1 is 0. In this example, encryption key 362- 2 associated with LBA range 372-2 has an individual LB A offset of 7. The individual LBA offset of 7 for encryption key 362-2 indicates that 7 physical sectors were skipped in the last page of data associated with encryption key 362- 1. The accumulated LBA offset 382-2 for encryption key 362-2 is 7, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
[0034] In this example, encryption key 362-3 associated with LBA range
372-3 has an individual LBA offset of 7. The individual LBA offset of 7 for encryption key 362-3 indicates that 7 physical sectors were skipped in the last page of data associated with encryption key 362-2. The accumulated LBA offset 382-3 for encryption key 362-3 is 14, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
[0035] In this example, encryption key 362-4 associated with LBA range
372-4 has an individual LBA offset of 1. The individual LBA offset of 1 for encryption key 362-4 indicates that 1 physical sector was skipped in the last page of data associated with encryption key 362-3. The accumulated LBA offset 382- 4 for encryption key 362-4 is 15, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
[0036] In this example, encryption key 362-5 associated with LBA range
372-5 has an individual LBA offset of 6. The individual LBA offset of 6 for encryption key 362-5 indicates that 6 physical sectors were skipped in the last page of data associated with encryption key 362-4. The accumulated LBA offset 382-5 for encryption key 362-5 is 21, e.g. the sum of the physical sectors skipped in the last pages of data associated with previous encryption keys in the key range table.
Conclusion
[0037] The present disclosure includes methods for logical block address translation. One such method includes receiving a command associated with a LA, wherein the LA is in a particular range of LAs and translating the LA to a physical location in memory using an offset corresponding to a number of physical locations skipped when writing data associated with a range of LAs other than the particular range.
[0038] Although specific embodiments have been illustrated and described herein, those of ordinary skill in the art will appreciate that an arrangement calculated to achieve the same results can be substituted for the specific embodiments shown. This disclosure is intended to cover adaptations or variations of one or more embodiments of the present disclosure. It is to be understood that the above description has been made in an illustrative fashion, and not a restrictive one. Combination of the above embodiments, and other embodiments not specifically described herein will be apparent to those of skill in the art upon reviewing the above description. The scope of the one or more embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of one or more embodiments of the present disclosure should be determined with reference to the appended claims, along with the full range of equivalents to which such claims are entitled.
[0039] In the foregoing Detailed Description, some features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the disclosed embodiments of the present disclosure have to use more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment.

Claims

What is Claimed is:
1. A method for logical address (LA) translation, comprising:
receiving a command associated with a LA, wherein the LA is in a particular range of LAs; and
translating the LA to a physical location in memory using an offset corresponding to a number of physical locations skipped when writing data associated with a range of LAs other than the particular range.
2. The method of claim 1 , wherein the other range is associated with a first encryption key and the particular range is associated with a second encryption key.
3. The method of claim 1, wherein the method includes locating the offset in a key range table.
4. The method of claim 1, wherein translating comprises adding the offset to the LA prior to translating.
5. The method of claim 4, wherein translating the LA to a physical location includes skipping a number of physical sectors indicated by the offset.
6. The method of claim 5, wherein skipping the number of physical locations indicated by the offset includes skipping an accumulated total of physical locations skipped when writing data associated with an encryption key associated with the other range of LAs.
7. The method of any one of claims 1 to 6, wherein translating comprises translating to a physical sector.
8. The method of any one of claims 1 to 6, wherein translating comprises translating the LA to a physical location using an offset corresponding to a number of physical locations skipped when writing data associated with ranges of LAs that precede the particular range.
9. The method of claim 8, wherein each of the ranges are associated with a different encryption key.
10. A method for logical address (LA) translation, comprising:
applying a first offset to be applied to a received LA within a first group of LAs;
applying a second offset to be applied to a received LA within a second group of LAs, wherein the second offset is determined by adding an additional offset to the first offset; and
translating the received LA within the second group and having the second offset applied to a physical location in memory.
11. The method of claim 10, wherein a first encryption key is associated with the first group of LAs and a second encryption key is associated with the second group of LAs.
12. The method of claim 10, further comprising locating the first offset in a key range table.
13. The method of claim 10, wherein the first offset is based at least partially on a number of physical sectors skipped in a physical page of data associated with a last LA in a previous group of LAs.
14. The method of claim 10, wherein the second offset is based at least partially on a number of physical sectors skipped in a physical page of data associated with a last LA of the first group of LAs.
15. The method of claim 14, wherein the second offset comprises the sum of a number of physical sectors skipped in a physical page of data associated with a last LA of the first group of LAs and the first offset.
16. The method of claim 15, further including locating the second offset in a key range table.
17. The method of any one of claims 10 to 16, including receiving the LA within the second group from a host and wherein the second offset is applied to the received LA within the second group prior to translating the received LA via a translation layer in a controller.
18. A method for operating a memory system, comprising:
writing data to a first number of physical sectors, wherein one or more of the first number of physical sectors are skipped when writing data associated with logical addresses (LAs) associated with a first encryption key and a second encryption key; and
entering into a key range table a key table entry that indicates a quantity of the first number of physical sectors skipped when writing data associated with LAs associated with the first encryption key and the second encryption key, wherein a LA associated with the second encryption key can be translated to a physical location using the key table entry.
19. The method of claim 18, wherein writing data includes writing data associated with LAs associated with a first encryption key to a first page and writing data assigned to LAs associated with a second encryption key to a second page.
20. The method of claim 18, wherein using the key range table entry includes offsetting a physical location of data associated with the LA associated with the second encryption key by the first number of physical sectors skipped when writing data associated with LAs associated with the first encryption key.
21. The method of any one of claims 18 to 20, wherein using the key range table entry includes offsetting a physical location of data associated with the LA associated with the second encryption key by the first number of physical sectors skipped when writing data associated with LAs associated with the first encryption key and the number of physical sectors skipped when writing data associated with LAs associated with previously used encryption keys.
22. A memory system, comprising:
non-volatile memory; and
a controller coupled to the non- volatile memory and configured to:
associate a group of logical addresses (LAs) with an encryption key; and
translate a LA associated with a command based on the LA in a particular range of LAs and on a number of physical locations skipped when writing data associated with another range of LAs.
23. The memory system of claim 22, wherein a number of physical sectors are skipped when writing data associated with LAs that are associated with two encryption keys.
24. The memory system of any one of claims 22 to 23, wherein the controller further includes a key range table that includes a number of entries that each have an offset that indicates the number of physical sectors skipped when writing data associated with LAs other than those associated with a respective encryption key.
25. The memory system of claim 24, wherein the offset associated with each of the number of key range table entries is determined by accumulating offsets from each preceding key range table entry.
26. A memory system, comprising:
non-volatile memory; and
a controller coupled to the non- volatile memory and configured to:
determine a number of LB A offsets, wherein each of a number of encryption keys are associated with a respective one of the number of LBA offsets and each of the number of LB A offsets corresponds to a number of unwritten physical sectors on a last page associated with one of the number of encryption keys;
receive an LBA associated with an encryption key; and translate the received LBA to a physical location using the LBA offset associated with the encryption key associated with the received LBA.
27. The memory system of claim 26, wherein the number of LBA offsets are in a key range table and each of the number of LBA offsets includes a sum of the number of unwritten physical sectors on last pages associated with all of the encryption keys associated with respective previous offsets in the table.
PCT/US2012/027265 2011-03-06 2012-03-01 Logical address translation WO2012121968A2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201280012166.4A CN103502958B (en) 2011-03-06 2012-03-01 Logical address is translated
JP2013557761A JP5719041B2 (en) 2011-03-06 2012-03-01 Logical address translation
EP12754482.3A EP2684132B1 (en) 2011-03-06 2012-03-01 Logical address translation
KR1020137023450A KR101554084B1 (en) 2011-03-06 2012-03-01 Logical address translation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/041,402 2011-03-06
US13/041,402 US8732431B2 (en) 2011-03-06 2011-03-06 Logical address translation

Publications (2)

Publication Number Publication Date
WO2012121968A2 true WO2012121968A2 (en) 2012-09-13
WO2012121968A3 WO2012121968A3 (en) 2012-11-22

Family

ID=46754039

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/027265 WO2012121968A2 (en) 2011-03-06 2012-03-01 Logical address translation

Country Status (7)

Country Link
US (2) US8732431B2 (en)
EP (1) EP2684132B1 (en)
JP (2) JP5719041B2 (en)
KR (1) KR101554084B1 (en)
CN (1) CN103502958B (en)
TW (1) TWI459200B (en)
WO (1) WO2012121968A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019109030A1 (en) * 2017-12-01 2019-06-06 Micron Technology, Inc. Logical block mapping based on an offset
US11436154B2 (en) 2017-12-01 2022-09-06 Micron Technology, Inc. Logical block mapping based on an offset
US11636009B2 (en) 2018-01-22 2023-04-25 Micron Technology, Inc. Enhanced error correcting code capability using variable logical to physical associations of a data block

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8862902B2 (en) * 2011-04-29 2014-10-14 Seagate Technology Llc Cascaded data encryption dependent on attributes of physical memory
US9086999B2 (en) * 2011-07-05 2015-07-21 International Business Machines Corporation Data encryption management
KR101818445B1 (en) * 2011-07-08 2018-01-16 삼성전자주식회사 Memory controller, method thereof, and electronic devices having the memory controller
US9575903B2 (en) * 2011-08-04 2017-02-21 Elwha Llc Security perimeter
US9798873B2 (en) 2011-08-04 2017-10-24 Elwha Llc Processor operable to ensure code integrity
US9443085B2 (en) 2011-07-19 2016-09-13 Elwha Llc Intrusion detection using taint accumulation
US9558034B2 (en) 2011-07-19 2017-01-31 Elwha Llc Entitlement vector for managing resource allocation
US9298918B2 (en) 2011-11-30 2016-03-29 Elwha Llc Taint injection and tracking
US9471373B2 (en) 2011-09-24 2016-10-18 Elwha Llc Entitlement vector for library usage in managing resource allocation and scheduling based on usage and priority
US9465657B2 (en) 2011-07-19 2016-10-11 Elwha Llc Entitlement vector for library usage in managing resource allocation and scheduling based on usage and priority
US9460290B2 (en) 2011-07-19 2016-10-04 Elwha Llc Conditional security response using taint vector monitoring
KR101979392B1 (en) * 2012-05-17 2019-05-16 삼성전자주식회사 Nonvolatile memory device and program method thereof
US8898548B1 (en) 2012-08-24 2014-11-25 Western Digital Technologies, Inc. Methods, data storage devices and systems having variable size ECC page size
US9268682B2 (en) * 2012-10-05 2016-02-23 Skyera, Llc Methods, devices and systems for physical-to-logical mapping in solid state drives
US9507523B1 (en) 2012-10-12 2016-11-29 Western Digital Technologies, Inc. Methods, devices and systems for variable size logical page management in a solid state drive
US9489296B1 (en) 2012-10-17 2016-11-08 Western Digital Technologies, Inc. Methods, devices and systems for hardware-based garbage collection in solid state drives
US9684593B1 (en) * 2012-11-30 2017-06-20 EMC IP Holding Company LLC Techniques using an encryption tier property with application hinting and I/O tagging
TWI479359B (en) * 2013-08-01 2015-04-01 Phison Electronics Corp Command executing method, memory controller and memory storage apparatus
US9354955B1 (en) 2014-03-19 2016-05-31 Western Digital Technologies, Inc. Partial garbage collection for fast error handling and optimized garbage collection for the invisible band
US9298647B2 (en) * 2014-08-25 2016-03-29 HGST Netherlands B.V. Method and apparatus to generate zero content over garbage data when encryption parameters are changed
CN104391805B (en) * 2014-10-27 2017-12-05 浪潮集团有限公司 A kind of data structure for being used to encrypt solid-state storage
WO2016154795A1 (en) * 2015-03-27 2016-10-06 Intel Corporation Efficient address translation
JP2017033501A (en) 2015-08-06 2017-02-09 株式会社東芝 Storage device and control method
US20170093823A1 (en) * 2015-09-25 2017-03-30 Vinodh Gopal Encrypting Observable Address Information
US10169251B1 (en) * 2015-12-10 2019-01-01 Massachusetts Institute Of Technology Limted execution of software on a processor
TWI595356B (en) * 2016-08-19 2017-08-11 大心電子(英屬維京群島)股份有限公司 Data transmission method, and storage controller and list management circuit using the same
KR102458312B1 (en) * 2017-06-09 2022-10-24 삼성전자주식회사 Storage device and operating method thereof
US10534718B2 (en) * 2017-07-31 2020-01-14 Micron Technology, Inc. Variable-size table for address translation
CN109951275B (en) * 2019-02-22 2021-08-17 记忆科技(深圳)有限公司 Key generation method and device, computer equipment and storage medium
KR20210142974A (en) * 2020-05-19 2021-11-26 에스케이하이닉스 주식회사 Storage device and operating method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010048121A1 (en) 2000-06-06 2001-12-06 Nagamasa Mizushima Semiconductor memory device with block alignment function
US20100185830A1 (en) 2009-01-21 2010-07-22 Micron Technology, Inc. Logical address offset

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003162433A (en) * 2001-11-27 2003-06-06 Fujitsu Ltd Memory system
US7039788B1 (en) * 2002-10-28 2006-05-02 Sandisk Corporation Method and apparatus for splitting a logical block
CA2530524A1 (en) 2003-06-23 2004-12-29 Koninklijke Philips Electronics N.V. Device and method for recording information with remapping of logical addresses to physical addresses when defects occur
US7480766B2 (en) * 2005-08-03 2009-01-20 Sandisk Corporation Interfacing systems operating through a logical address space and on a direct data file basis
JP2007094900A (en) 2005-09-29 2007-04-12 Eastman Kodak Co Access apparatus
EP2188812B1 (en) 2006-08-21 2013-05-22 Nxp B.V. Circuit arrangement and method for data processing
US20080046641A1 (en) 2006-08-21 2008-02-21 Sandisk Il Ltd. NAND flash memory controller exporting a logical sector-based interface
JP4877962B2 (en) 2006-10-25 2012-02-15 株式会社日立製作所 Storage subsystem with encryption function
KR100969758B1 (en) 2007-01-22 2010-07-13 삼성전자주식회사 Method and apparatus for encrypting and processing data in flash translation layer
JP2009258948A (en) 2008-04-16 2009-11-05 Panasonic Corp Memory controller, nonvolatile storage device, and arithmetic processing system
US8341430B2 (en) * 2008-10-03 2012-12-25 Microsoft Corporation External encryption and recovery management with hardware encrypted storage devices
US8412880B2 (en) 2009-01-08 2013-04-02 Micron Technology, Inc. Memory system controller to manage wear leveling across a plurality of storage nodes
US8176295B2 (en) * 2009-04-20 2012-05-08 Imation Corp. Logical-to-physical address translation for a removable data storage device
US8386747B2 (en) * 2009-06-11 2013-02-26 Freescale Semiconductor, Inc. Processor and method for dynamic and selective alteration of address translation
US9015401B2 (en) * 2011-04-28 2015-04-21 Seagate Technology Llc Selective purge of confidential data from a non-volatile memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010048121A1 (en) 2000-06-06 2001-12-06 Nagamasa Mizushima Semiconductor memory device with block alignment function
US20100185830A1 (en) 2009-01-21 2010-07-22 Micron Technology, Inc. Logical address offset

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2684132A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019109030A1 (en) * 2017-12-01 2019-06-06 Micron Technology, Inc. Logical block mapping based on an offset
US10977182B2 (en) 2017-12-01 2021-04-13 Micron Technology, Inc. Logical block mapping based on an offset
US11436154B2 (en) 2017-12-01 2022-09-06 Micron Technology, Inc. Logical block mapping based on an offset
US11636009B2 (en) 2018-01-22 2023-04-25 Micron Technology, Inc. Enhanced error correcting code capability using variable logical to physical associations of a data block

Also Published As

Publication number Publication date
JP6181689B2 (en) 2017-08-16
US8732431B2 (en) 2014-05-20
EP2684132A4 (en) 2014-12-10
WO2012121968A3 (en) 2012-11-22
TW201250470A (en) 2012-12-16
US20140317374A1 (en) 2014-10-23
CN103502958B (en) 2016-08-17
JP2014507738A (en) 2014-03-27
TWI459200B (en) 2014-11-01
JP5719041B2 (en) 2015-05-13
US9164701B2 (en) 2015-10-20
EP2684132B1 (en) 2019-04-24
KR101554084B1 (en) 2015-09-17
EP2684132A2 (en) 2014-01-15
KR20130120541A (en) 2013-11-04
US20120226887A1 (en) 2012-09-06
CN103502958A (en) 2014-01-08
JP2015164044A (en) 2015-09-10

Similar Documents

Publication Publication Date Title
EP2684132B1 (en) Logical address translation
US9472244B2 (en) Apparatus power control
US8984253B2 (en) Transaction log recovery
US8990476B2 (en) Power interrupt management
US9766830B2 (en) Power consumption control
KR20190099693A (en) Memory system and operating method thereof
US9274883B2 (en) Apparatuses and methods for storing validity masks and operating apparatuses
US10317982B2 (en) Sequence power control

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12754482

Country of ref document: EP

Kind code of ref document: A2

ENP Entry into the national phase

Ref document number: 2013557761

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20137023450

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE