Data relocation in memory with two data sections

By using a data relocation operation in the memory to relocate the data part to a physical block that does not store data, and combining it with algebraic mapping to identify the physical orientation, it solves the problems of low efficiency of wear leveling operations and difficulty in hardware implementation in the existing technology, and improves efficiency. Memory performance and durability.

CN112204533BActive Publication Date: 2024-10-29MICRON TECHNOLOGY INC
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN201980035424.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-24
Publication Date
2024-10-29
Estimated Expiration
2039-04-24

AI Technical Summary

Technical Problem

When performing wear-leveling operations in memory in the existing technology, the table relocation method occupies a large amount of space and is inefficient. It cannot effectively handle the size and workload differences of different logical areas in the memory. It is also difficult to implement in hardware and affects the performance of the memory. Performance and durability.

Method used

Using a data relocation operation, the first data part and the second data part in the memory are respectively relocated to physical blocks that do not store data through the circuit system, and the physical location to which the data has been relocated is identified through algebraic mapping to achieve more accurate changes. Efficient wear leveling for memories containing multiple physical blocks of memory cells.

Benefits of technology

This method reduces the memory space occupied, improves the speed and efficiency of data relocation, can be implemented in hardware, is suitable for memories in different logical areas, enhances the performance and durability of the memory, and can perform data relocation across the entire memory. Compensate for differences in size and workload of different parts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112204533B_ABST
    Figure CN112204533B_ABST
Patent Text Reader

Abstract

The present disclosure includes devices, methods, and systems for data relocation in a memory having two data portions. Embodiments include a memory having a plurality of memory cell physical blocks and a first data portion and a second data portion, wherein the first data portion and the second data portion have a first number of logical block addresses and a second number of logical block addresses associated therewith, respectively. Two of the plurality of cell physical blocks do not store data. The circuit system is configured to relocate the data of the first portion associated with one of the first number of logical block addresses to one of the two cell physical blocks that do not store data, and to relocate the data of the second portion associated with one of the second number of logical block addresses to the other of the two cell physical blocks that do not store data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to semiconductor memories and methods, and more particularly to data relocation in a memory having two data portions. Background Art

[0002] Memory devices are typically provided as internal semiconductor integrated circuits and / or external removable devices in computers or other electronic devices. There are many different types of memory, including volatile and non-volatile memory. Volatile memory may require power to maintain its data, and may include random access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), etc. Non-volatile memory can provide permanent data by saving the stored data when not powered, and may include NAND flash memory, NOR flash memory, read-only memory (ROM), and resistance variable memory, such as phase change random access memory (PCRAM), resistive random access memory (RRAM), and magnetic random access memory (MRAM), etc.

[0003] Memory devices may be combined together to form solid state drives (SSDs), embedded multimedia cards (e.MMCs), and / or universal flash storage (UFS) devices. SSDs, e.MMCs, and / or UFS devices may include non-volatile memory (e.g., NAND flash memory and NOR flash memory), and / or may include volatile memory (e.g., DRAM and SRAM), as well as various other types of non-volatile and volatile memory. Non-volatile memory may be used in a wide range of electronic applications, such as personal computers, portable memory sticks, digital cameras, cellular phones, portable music players such as MP3 players, movie players, and the like.

[0004] Flash memory devices may include memory cells that store data in a charge storage structure such as a floating gate. Flash memory devices typically use single-transistor memory cells that allow for high memory density, high reliability, and low power consumption. Resistance variable memory devices may include resistive memory cells that can store data based on the resistance state of a storage element (e.g., a resistive memory element having a variable resistance).

[0005] Memory cells can be arranged in an array, and memory cells in the array architecture can be programmed to a target (e.g., desired) state. For example, charge can be placed on or removed from a charge storage structure (e.g., a floating gate) of a flash memory cell to program the cell to a specific data state. The stored charge on the charge storage structure of the cell can indicate the threshold voltage (Vt) of the cell. The state of a flash memory cell can be determined by sensing the stored charge (e.g., Vt) on the charge storage structure of the cell.

[0006] As an additional example, a resistive memory cell can be programmed to store data corresponding to a target data state by changing the resistance level of the resistive memory element. The cell can be programmed to a target data state (e.g., corresponding to a particular resistance state) by applying an electric field or energy source (e.g., a positive or negative electrical pulse (e.g., a positive or negative voltage or current pulse)) to the resistive memory cell (e.g., the resistive memory element of the cell) for a particular duration. The state of the cell can be determined by sensing the current through the resistive memory cell in response to an applied interrogation voltage. The sensed current that varies based on the resistance level of the cell can indicate the state of the cell.

[0007] A single-level memory cell (SLC) can be programmed to one of two different data states, which can be represented by a binary unit of 1 or 0. Some flash memory cells and resistive memory cells can be programmed to one of more than two data states (e.g., 1111, 0111, 0011, 1011, 1001, 0001, 0101, 1101, 1100, 0100, 0000, 1000, 1010, 0010, 0110, and 1110). Such cells may be referred to as multi-state memory cells, multi-unit cells, or multi-level cells (MLC). MLCs may allow the manufacture of higher density memories without increasing the number of memory cells because each cell may represent more than one digit (e.g., more than one bit). Summary of the invention

[0008] In one aspect, the present disclosure relates to a device comprising: a memory having multiple memory cell physical blocks, wherein: the memory includes a first data portion having a first number of logical block addresses associated therewith, and a second data portion having a second number of logical block addresses associated therewith; and two of the multiple memory cell physical blocks do not store data; a circuit system configured to: relocate the data of the first portion associated with one of the first number of logical block addresses to one of the two memory cell physical blocks that do not store data in the multiple memory cell physical blocks; and relocate the data of the second portion associated with one of the second number of logical block addresses to another of the two memory cell physical blocks that do not store data in the multiple memory cell physical blocks.

[0009] In another aspect, the present disclosure relates to a method of operating a memory, comprising: relocating data contained in a first portion of the memory and associated with one of several logical block addresses of the first portion of the memory to a physical block in the memory that does not store data; and relocating data contained in a second portion of the memory and associated with one of several logical block addresses of the second portion of the memory to another physical block in the memory that does not store data.

[0010] In yet another aspect, the present disclosure relates to a device comprising: a memory having a plurality of memory cell physical blocks, wherein: the memory includes a first data portion having a first number of logical block addresses associated therewith, and a second data portion having a second number of logical block addresses associated therewith; and two of the plurality of memory cell physical blocks do not store data and separate the first data portion and the second data portion in the memory; a circuit system configured to: relocate the data of the first portion associated with the last one of the first number of logical block addresses to one of the two memory cell physical blocks that do not store data in the plurality of memory cell physical blocks; and relocate the data of the second portion associated with the last one of the second number of logical block addresses to the other of the two memory cell physical blocks that do not store data in the plurality of memory cell physical blocks.

[0011] In yet another aspect, the present disclosure relates to a method of operating a memory, comprising: relocating data contained in a first portion of the memory and associated with a last one of several logical block addresses of the first portion of the memory to a physical block of the memory that does not store data and is located before the first portion of the memory in the memory; and relocating data contained in a second portion of the memory and associated with a last one of several logical block addresses of the second portion of the memory to a physical block of the memory that does not store data and is located after the second portion of the memory in the memory. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A diagram illustrating a portion of a memory array having several physical blocks according to an embodiment of the disclosure.

[0013] Figure 2 is a block diagram of a computing system including a host and an apparatus in the form of a memory device according to an embodiment of the present disclosure.

[0014] Figure 3 is a block diagram of a circuit system for performing a data relocation operation in a memory according to an embodiment of the present disclosure.

[0015] Figure 4 A conceptual example of a data relocation operation performed in a memory according to an embodiment of the present disclosure is described.

[0016] Figure 5A A conceptual example of a data relocation operation sequence performed in a memory according to an embodiment of the present disclosure is described.

[0017] Figure 5B is a table of values ​​associated with a sequence of data relocation operations performed in a memory according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] The present disclosure includes devices, methods, and systems for data relocation in a memory having two data portions. An embodiment includes a memory having a plurality of memory cell physical blocks, and a first data portion and a second data portion have a first number of logical block addresses and a second number of logical block addresses associated therewith, respectively. Two of the plurality of cell physical blocks do not store data. The circuit system is configured to relocate a first portion of data associated with one of the first number of logical block addresses to one of the two cell physical blocks that does not have data stored therein, and to relocate a second portion of data associated with one of the second number of logical block addresses to the other of the two cell physical blocks that does not have data stored therein.

[0019] Wear leveling operations may include and / or refer to operations that relocate data currently stored in one physical location of memory to another physical location of memory. Performing such wear leveling operations may increase the performance of the memory (e.g., increase speed, increase reliability and / or reduce power consumption), and / or may increase the durability (e.g., lifespan) of the memory.

[0020] Previous wear leveling operations may use tables to relocate data in memory. However, such tables may be large (e.g., may use a large amount of space in memory) and may cause wear leveling operations to be slow. In contrast, operations (e.g., wear leveling operations) to relocate data according to the present disclosure may maintain an algebraic mapping (e.g., an algebraic mapping between logical addresses and physical addresses) for use in identifying the physical locations (e.g., physical blocks) to which data has been relocated. Therefore, operations to relocate data according to the present disclosure may use less space in memory and may be faster than previous wear leveling operations.

[0021] In addition, the memory may include (e.g., be partitioned and / or divided into) two different data portions (e.g., logical regions), as will be further described herein. In such examples, previous wear leveling operations may need to be applied independently to each respective portion of the memory (e.g., a separate operation may be required for each respective portion), and the data of each respective portion may be relocated across only a portion of the memory (e.g., the data of each respective portion may be maintained in a separate physical region of the memory). However, such approaches may be inefficient in increasing the performance and / or endurance of the memory. For example, because the sizes of the two different logical regions and / or the workloads thereon may be different, one of the physical regions may be more stressed than the other.

[0022] In contrast, operations (e.g., wear leveling operations) of relocating data according to the present disclosure may work more efficiently (e.g., increase performance and / or durability) on a memory comprising two different portions compared to previous wear leveling operations. For example, operations of relocating data according to the present disclosure may be applied to each respective portion of the memory simultaneously (e.g., the same operation may be applied to both portions). In addition, the data of each respective portion may be relocated across the entire memory (e.g., the data of each respective portion may slide across all different physical locations of the memory). Therefore, operations of relocating data according to the present disclosure may be able to take into account (e.g., compensate for) differences in the size and / or workload of the two portions.

[0023] Furthermore, wear leveling operations may not be implemented in hardware previously. In contrast, operations (e.g., wear leveling operations) of relocation data according to the present disclosure may be implementable (e.g., fully implementable) in hardware. For example, operations of relocation data according to the present disclosure may be implementable in a controller of a memory, or within the memory itself. Therefore, operations of relocation data according to the present disclosure may not affect the latency of the memory, and may not introduce additional overhead to the memory.

[0024] Although embodiments are not limited to a particular type of memory or memory device, operations to relocate data (e.g., wear leveling operations) according to the present disclosure may be performed (e.g., carried out) on a hybrid memory device that includes a first memory array that may be storage class memory and a number of second memory arrays that may be NAND flash memory. For example, the operations may be performed on the first memory array and / or the second number of memory arrays to increase the performance and / or endurance of the hybrid memory.

[0025] As used herein, "a" or "several" may refer to one or more of something, and "multiple" may refer to two or more of such things. For example, a memory device may refer to one or more memory devices, and multiple memory devices may refer to two or more memory devices. In addition, the designators "R", "B", "S", and "N" as used herein, particularly with respect to the reference numerals in the drawings, indicate that the number of particular features so designated may be included with several embodiments of the present disclosure.

[0026] The figures herein follow a numbering convention in which the first one or more digits correspond to the figure number and the remaining digits identify the element or component in the figure. Similar elements or components between different figures may be identified by using similar numerals. For example, 214 may represent Figure 2 Component "14" in, and similar components can be found in Figure 3 It is represented as 314 in Chinese.

[0027] Figure 1 A diagram illustrating a portion of a memory array 101 having several physical blocks according to an embodiment of the present disclosure. For example, the memory array 101 can be a NAND flash memory array. As additional examples, the memory array 101 can be a storage class memory (SCM) array, such as a 3D XPoint memory array, a ferroelectric RAM (FRAM) array, or a variable resistance memory array, such as a PCRAM, RRAM, or a spin torque transfer (STT) array, etc. The memory array 101 can be part of a hybrid memory, as will be described herein (e.g., in conjunction with Figure 2 ) is further described. In addition, although Figure 1Not shown in FIG. 1 , memory array 101 may be located on a particular semiconductor die along with various peripheral circuits associated with its operation.

[0028] like Figure 1 As shown, the memory array 101 has several physical blocks 107-0 (block 0), 107-1 (block 1), ..., 107-B (block B) of memory cells. The memory cells may be single-level cells and / or multi-level cells, such as two-level cells, three-level cells (TLC), or quad-level cells (QLC). As examples, the number of physical blocks in the memory array 101 may be 128 blocks, 512 blocks, or 1024 blocks, but embodiments are not limited to a specific power of two or any specific number of physical blocks in the memory array 101.

[0029] Several physical blocks of memory cells (e.g., blocks 107-0, 107-1, ..., 107-B) may be included in a plane of memory cells, and several planes of memory cells may be included on a die. Figure 1 In the example shown, each physical block 107-0, 107-1, ..., 107-B may be part of a single die. Figure 1 The portion of the memory array 101 illustrated in may be a die of memory cells.

[0030] like Figure 1 As shown, each physical block 107-0, 107-1, ..., 107-B includes a number of physical rows (e.g., 103-0, 103-1, ..., 103-R) of memory cells coupled to access lines (e.g., word lines). The number of rows (e.g., word lines) in each physical block may be 32, but embodiments are not limited to a particular number of rows 103-0, 103-1, ..., 103-R per physical block. In addition, although Figure 1 Not shown, but the memory cells can be coupled to sense lines (eg, data lines and / or digit lines).

[0031] As will be appreciated by one of ordinary skill in the art, each row 103-0, 103-1, ..., 103-R may include several pages of memory cells (e.g., physical pages). A physical page refers to a programming and / or sensing unit (e.g., several memory cells that are programmed and / or sensed together as a functional group). Figure 1In the embodiment shown in , each row 103-0, 103-1, ..., 103-R includes one physical page of memory cells. However, the embodiments of the present disclosure are not limited thereto. For example, in one embodiment, each row may include multiple physical pages of memory cells (e.g., one or more uniform memory cell pages coupled to even-numbered bit lines, and one or more odd memory cell pages coupled to odd-numbered bit lines). In addition, for embodiments including multi-level cells, a physical page of memory cells may store multiple data pages (e.g., logical pages) (e.g., an upper data page and a lower data page, where each cell in the physical page stores one or more bits toward the upper data page and one or more bits toward the lower data page).

[0032] In the embodiments of the present disclosure, and as Figure 1 As shown, a page of memory cells may include several physical sectors 105-0, 105-1, ..., 105-S (e.g., a subset of memory cells). Each physical sector 105-0, 105-1, ..., 105-S of a cell may store several logical sectors of data. In addition, each logical sector of data may correspond to a portion of a particular page of data. As an example, a first logical sector of data stored in a particular physical sector may correspond to a logical sector corresponding to a first page of data, and a second logical sector of data stored in a particular physical sector may correspond to a second page of data. Each physical sector 105-0, 105-1, ..., 105-S may store system and / or user data, and / or may include overhead data, such as error correction code (ECC) data, logical block address (LBA) data, and metadata.

[0033] Logical block addressing is a scheme that can be used by a host to identify logical sectors of data. For example, each logical sector may correspond to a unique logical block address (LBA). In addition, the LBA may also correspond to (e.g., dynamically map to) a physical address that can indicate the physical location of the logical sector of data in the memory, such as a physical block address (PBA). A logical sector of data can be a number of bytes of data (e.g., 256 bytes, 512 bytes, 1024 bytes, or 4,096 bytes). However, the embodiments are not limited to these examples. Furthermore, in embodiments of the present disclosure, the memory array 101 may be partitioned and / or divided into a first logical region of data having a first number of LBAs associated therewith, and a second logical region of data having a second number of LBAs associated therewith, as will be described herein (e.g., in conjunction with Figure 2 ) for further description.

[0034] It should be noted that other configurations for physical blocks 107-0, 107-1, ..., 107-B, rows 103-0, 103-1, ..., 103-R, sectors 105-0, 105-1, ..., 105-S, and pages are possible. For example, rows 103-0, 103-1, ..., 103-R of physical blocks 107-0, 107-1, ..., 107-B may each store data corresponding to a single logical sector that may include, for example, more or less than 512 bytes of data.

[0035] Figure 2 2 is a block diagram of a computing system 200 including a host 202 and an apparatus in the form of a memory device 206 according to an embodiment of the present disclosure. As used herein, an "apparatus" may refer to, but is not limited to, any of a variety of structures or combinations of structures, such as a circuit or circuit system, one or more dies, one or more modules, one or more devices, or one or more systems. In addition, in an embodiment, the computing system 200 may include a number of memory devices similar to the memory device 206.

[0036] exist Figure 2 , the memory device 206 may include a first type of memory (e.g., a first memory array 210) and a second type of memory (e.g., a number of second memory arrays 212-1, ..., 212-N). The memory device 206 may be a hybrid memory device, in which the memory device 206 includes a first memory array 210 that is a different type of memory than the number of second memory arrays 212-1, ..., 212-N. The first memory array 210 may be a storage class memory (SCM), which may be a non-volatile memory that serves as a main memory for the memory device 206 because it has a faster access time than the second number of memory arrays 212-1, ..., 212-N. For example, the first memory array 210 may be a 3D XPoint memory array, FRAM, or a variable resistance memory such as PCRAM, RRAM, or STT, among others. The second number of memory arrays 212-1, ..., 212-N may serve as data storage devices (eg, storage memories) for the memory device 206, and may be NAND flash memories, among other types of memories.

[0037] Although Figure 2 2. The embodiments described in the embodiment include one memory array of the first type of memory, but the embodiments of the present disclosure are not limited thereto. For example, in one embodiment, the memory device 206 may include a plurality of SCM arrays. However, the memory device 206 may include fewer first type of memory than second type of memory. For example, the memory array 210 may store less data than the data stored in the memory arrays 212-1, ..., 212-N.

[0038] Similar to the previous combination Figure 1 In the manner described for memory array 101, memory array 210 and memory arrays 212-1, ..., 212-N may each have multiple physical blocks of memory cells. In addition, a memory (e.g., memory array 210 and / or memory arrays 212-1, ..., 212-N) may include (e.g., be split and / or divided into) two different data portions (e.g., logical regions). For example, a memory may include a first data portion having a first number (e.g., a first amount) of logical block addresses (LBAs) associated therewith, and a second data portion having a second number (e.g., a second amount) of LBAs associated therewith. The first number of LBAs may include, for example, a first sequence of LBAs, and the second number of LBAs may include, for example, a second sequence of LBAs.

[0039] As an example, the first data portion may include user data, and the second data portion may include system data. As an additional example, the first data portion may include data that has been accessed at a frequency at or above a specific frequency during programming and / or sensing operations performed on the memory (e.g., data that its associated LBA has accessed), and the second data portion may include data that has been accessed at a frequency lower than the specific frequency during programming and / or sensing operations performed on the memory (e.g., data that its associated LBA has accessed). In this example, the first data portion may include data classified as "hot" data, and the second data portion may include data classified as "cold" data. As an additional example, the first data portion may include operating system data (e.g., operating system files), and the second data portion may include multimedia data (e.g., multimedia files). In this example, the first data portion may include data classified as "critical" data, and the second data portion may include data classified as "non-critical" data.

[0040] The first number of LBAs and the second number of LBAs may be the same (e.g., the first data portion and the second data portion may be the same size), or the first number of LBAs may be different from the second number of LBAs (e.g., the sizes of the first data portion and the second data portion may be different). For example, the first number of LBAs may be larger than the second number of LBAs (e.g., the size of the first data portion may be larger than the size of the second data portion). In addition, the size of each corresponding LBA in the first number of LBAs may be the same as the size of each corresponding LBA in the second number of LBAs, or the size of each corresponding LBA in the first number of LBAs may be different from the size of each corresponding LBA in the second number of LBAs. For example, the size of each corresponding LBA in the first number of LBAs may be a multiple of the size of each corresponding LBA in the second number of LBAs. In addition, the LBAs associated with each corresponding portion of the memory may be randomized. For example, the LBAs may be processed by a static randomizer.

[0041] In one embodiment, at least two of the plurality of physical blocks of a memory may not have valid data stored therein. For example, two physical blocks in the memory may be blank. These physical blocks may separate a first data portion and a second data portion in the memory (e.g., be between the first data portion and the second data portion in the memory). For example, the first of the two physical blocks may be after the first data portion and before the second data portion, and the second of the two physical blocks may be after the second portion and before the first portion. These physical blocks may be referred to herein as separator blocks. Examples illustrating a memory having two different data portions separated by two such separator blocks will be described herein (e.g., in conjunction with Figure 4 ) for further description.

[0042] like Figure 2 , host 202 may be coupled to memory device 206 via interface 204. Host 202 and memory device 206 may communicate (e.g., send commands and / or data) over interface 204. Host 202 may be a handheld computer, a personal computer, a digital camera, a digital recording and playback device, a mobile phone, a PDA, a memory card reader or interface hub, and other host systems, and may include a memory access device (e.g., a processor). One of ordinary skill in the art will appreciate that a "processor" may be one or more processors, such as a parallel processing system, multiple coprocessors, and the like.

[0043] The interface 204 may be in the form of a standardized physical interface. For example, when the memory device 206 is used for information storage in the computing system 200, the interface 204 may be a Serial Advanced Technology Attachment (SATA) physical interface, a Peripheral Component Interconnect Express (PCIe) physical interface, a Universal Serial Bus (USB) physical interface, or a Small Computer System Interface (SCSI), among other physical connectors and / or interfaces. However, in general, the interface 204 may provide an interface for transferring control, address, information (e.g., data), and other signals between the memory device 206 and a host (e.g., the host 202) having a compatible receiver for the interface 204.

[0044] The memory device 206 includes a controller 208 that communicates with the host 202 and the first memory array 210 and the plurality of second memory arrays 212-1, ..., 212-N. The controller 208 can send commands to perform operations on the first memory array 210 and the plurality of second memory arrays 212-1, ..., 212-N. The controller 208 can communicate with the first memory array 210 and the plurality of second memory arrays 212-1, ..., 212-N to sense, (e.g., read), program (e.g., write), move and / or erase data, among other operations.

[0045] Controller 208 may be included on the same physical device (e.g., the same die) as memories 210 and 212-1, ..., 212-N. Alternatively, controller 208 may be included on a separate physical device that is communicatively coupled to the physical device that includes memories 210 and 212-1, ..., 212-N. In an embodiment, components of controller 208 may be spread across multiple physical devices as a distributed controller (e.g., some components are on the same die as the memories, and some components are on different dies, modules, or boards).

[0046] Host 202 may include a host controller that communicates with memory device 206. The host controller may send commands to memory device 206 via interface 204. The host controller may communicate with memory device 206 and / or controller 208 on memory device 206 to read, write, and / or erase data, among other operations.

[0047] The controller 208 on the memory device 206 and / or the host controller on the host 202 may include control circuitry and / or logic (e.g., hardware and firmware). In one embodiment, the controller 208 on the memory device 206 and / or the host controller on the host 202 may be an application specific integrated circuit (ASIC) coupled to a printed circuit board that includes the physical interface. Furthermore, the memory device 206 and / or the host 202 may include a buffer and a number of registers of volatile and / or non-volatile memory.

[0048] For example, if Figure 2 As shown in , the memory device may include circuitry 214. Figure 2 In the embodiment described in , the circuit system 214 is included in the controller 208. However, the embodiments of the present disclosure are not limited thereto. For example, in one embodiment, the circuit system 214 may be included in the memory 210 and / or the memory 212-1, ..., 212-N (e.g., instead of being included in the controller 208) (e.g., on the same die as the memory 210 and / or the memory 212-1, ..., 212-N).

[0049] Circuitry 214 may include, for example, hardware, and may perform wear leveling operations to relocate data stored in memory array 210 and / or memory arrays 212-1, ..., 212-N according to the present disclosure. For example, circuitry 214 may relocate data of a first data portion associated with a particular LBA in a first number of LBAs to one of two partition blocks, and may relocate data of a second data portion associated with a particular LBA in a second number of LBAs to the other of the two partition blocks.

[0050] For example, the circuit system 214 may relocate the data of the first portion associated with the last LBA in the first number of LBAs (e.g., the last LBA in the first LBA sequence) to the second partition block (e.g., the partition block after the second portion and before the first portion), and the circuit system 214 may relocate the data of the second portion associated with the last LBA in the second number of LBAs (e.g., the last LBA in the second LBA sequence) to the first partition block (e.g., the partition block after the first portion and before the second portion). Such data relocation may cause two different physical blocks of the memory to not store valid data (e.g., may cause two different physical blocks of the memory to become partition blocks). For example, relocating the data of the first portion associated with the last LBA in the first number of LBAs may cause the different physical block to become the partition block after the second portion and before the first portion, and relocating the data of the second portion associated with the last LBA in the second number of LBAs may cause the different physical block to become the partition block after the first portion and before the second portion. In addition, relocating the first portion of data associated with the last LBA in the first number of LBAs may cause a different LBA in the first number of LBAs (e.g., the second to last LBA in the first LBA sequence) to become the last LBA in the first number of LBAs, and relocating the second portion of data associated with the last of the second number of LBAs may cause a different LBA in the second number of LBAs (e.g., the second to last LBA in the second LBA sequence) to become the last LBA in the second number of LBAs. Examples illustrating such data relocation operations will be described herein (e.g., in conjunction with Figure 3 and 4 ) for further description.

[0051] In one embodiment, the circuit system 214 may perform an operation of relocating data in response to a trigger event 2. The trigger event may be, for example, a specific number of programming operations being performed (eg, executed) on the memory, for example, 100 programming operations. For example, the counter ( Figure 2 The counter (not shown) may be configured to send a start signal in response to a specific number of programming operations being performed, and the circuit system 214 may perform an operation to relocate data in response to receiving the start signal from the counter. As an additional example, the triggering event may be a power state transition occurring in the memory, such as the memory device 206 transitioning from an active mode to a standby mode, an idle mode, or a power-off mode.

[0052] In one embodiment, the data of the second portion may be relocated immediately after the data of the first portion is relocated. However, in some cases, the operation of relocating the data may need to be suspended in order to perform an operation requested by the host 202, such as a programming or sensing operation. In this case, the operation requested by the host may be performed immediately after the data of the first portion is relocated (e.g., after the data relocation is completed), and the data of the second portion may be relocated immediately after the requested operation is performed (e.g., after the operation is completed).

[0053] Once the data is relocated, the circuit system 214 may use an algebraic map to identify the physical location in the memory to which the data has been relocated. For example, the circuit system 214 may use an algebraic map (e.g., an algebraic logical to physical map) to identify (e.g., calculate) the location in the memory (e.g., PBA) of the physical block to which the data of the first portion has been relocated (e.g., the location of the second partition block), and the location in the memory (e.g., PBA) of the physical block to which the data in the second portion of the memory has been relocated (e.g., the location of the first partition block). For example, the circuit system 214 may use an algebraic map to identify the location in the memory of the physical block to which the relocated data has been relocated during an operation of sensing the relocated data of the first portion (e.g., after receiving a request from the host 202 to read one of the first number of LBAs), and to identify the location in the memory of the physical block to which the relocated data has been relocated during an operation of sensing the relocated data of the second portion (e.g., after receiving a request from the host 202 to read one of the second number of LBAs). This type of algebraic mapping will be discussed in this article (for example, in conjunction with Figure 3 ) for further description.

[0054] Circuitry 214 may perform additional (e.g., subsequent) wear leveling operations that further relocate data stored in memory array 210 and / or memory arrays 212-1, ..., 212-N throughout the life of the memory. For example, circuitry 214 may perform additional (e.g., subsequent) operations that relocate data in response to additional (e.g., subsequent) triggering events.

[0055] For example, in an operation to relocate data in a memory following the example operation previously described herein, the circuit system 214 may relocate a first portion of data associated with a different LBA in a first number of LBAs that has now become the last LBA (e.g., an LBA that was previously the second-to-last LBA in a first LBA sequence) to a different physical block in a split block that has now become after the second portion and before the first portion, and the circuit system 214 may relocate a second portion of data associated with a different LBA in a second number of LBAs that has now become the last LBA (e.g., an LBA that was previously the second-to-last LBA in a second LBA sequence) to a different physical block in a split block that has now become after the first portion and before the second portion. This type of data relocation may again cause two different physical blocks of the memory to become split blocks, and different LBAs in the first and second numbers of LBAs to become the last LBA in the first and second numbers of LBAs, respectively, and subsequent data relocation operations may continue to be performed in a similar manner. Examples illustrating this type of subsequent data relocation operation sequence will be described herein (e.g., in conjunction with Figure 5A-5B ) for further description.

[0056] Figure 2 212-N. In addition, the memory device 206 may include a main memory, such as a DRAM or SDRAM, which is separate and / or included with the memory arrays 210-1 and 212-1, ..., 212-N.

[0057] Figure 3 3 is a block diagram of a circuit system 314 for performing a data relocation operation in a memory according to an embodiment of the present disclosure. For example, the circuit system 314 may be a circuit system 314 previously described in conjunction with Figure 2 Circuitry 214 is described.

[0058] like Figure 3 As shown in , circuit system 314 may include four registers (e.g., first register 320-1, second register 320-2, third register 320-3, and fourth register 320-4). Register 320-1 may store a value indicating (e.g., pointing to) a PBA of a first portion of data associated with a first LBA in a first number of LBAs (e.g., a first LBA in a first LBA sequence) of memory. This value may be referred to herein as.

[0059] Register 320-2 may store a value indicating a PBA for one of two physical blocks in which the memory does not store data, and register 320-3 may store a value indicating a PBA for the other of the two physical blocks in which the memory does not store data. For example, register 320-2 may store a value indicating a PBA for a physical block that is after a first data portion and before a second data portion (e.g., a first spacer block), and register 320-3 may store a value indicating a PBA for a physical block that is after the second portion and before the first portion (e.g., a second spacer block). The values ​​stored in register 320-2 may be referred to herein as “gBA”. A ”, and the value stored in register 320-3 may be referred to herein as “g B ”.

[0060] Register 320-4 may store a value in the second data portion of the memory indicating the relative position of the first LBA in the second number of LBAs (eg, the first LBA in the second sequence of LBAs). This value may be referred to herein as “r B ”.

[0061] Circuitry 314 may use the values ​​stored in registers 320-1, 320-2, 320-3, and 320-4 (eg, S A , g A , g B and r B ) performs a data relocation operation in a memory according to the present disclosure. For example, the circuit system 314 may use the following code examples representing executable instructions to perform a data relocation operation according to the present disclosure. In the following examples, “n PBA " represents the total number (e.g., quantity) of PBAs in the memory, "n A " represents the total number of LBAs (eg, a first number of LBAs) associated with the first data portion, and "n B " represents the total number of LBAs (eg, a second number of LBAs) associated with the second data portion, and "sep" represents the number of PBAs of each corresponding separator block.

[0062]

[0063] In addition, circuit system 314 may use the values ​​stored in registers 320-1, 320-2, 320-3, and 320-4 (eg, S A , g A , g B and r B) performs an algebraic mapping (e.g., an algebraic logical to physical mapping) to identify (e.g., during a sensing operation as previously described herein) a physical location (e.g., a PBA) in memory to which data has been relocated. For example, circuitry 314 may calculate a PBA (hereinafter “p”) for any LBA associated with a first portion of data (hereinafter “l”) using the following “first portion mapping”, and circuitry 314 may calculate a PBA for any LBA associated with a second portion of data using the following “second portion mapping”:

[0064] Part I Mapping

[0065]

[0066] where l∈{0,…,n A -1}

[0067] Part 2 Mapping

[0068] p=((l+r B )mod n B +g A +sep)mod n PBA

[0069] where l∈{0,…,n B -1}

[0070] Figure 4 A conceptual example 430 of a data relocation operation performed in a memory according to an embodiment of the present disclosure is illustrated. The memory may be, for example, a memory previously associated with Figure 2 The memory array 210 and / or the memory arrays 212-1, . . . , 212-N described above, and the data relocation operation may be performed by, for example, the previously described memory arrays 210 and / or the memory arrays 212-1, . . . , 212-N, respectively. Figure 2 and 3 The described circuit systems 214 and / or 314 perform.

[0071] exist Figure 4 In the example illustrated in FIG. 1 , the memory includes ten physical blocks of memory cells represented by PBA 0 through PBA 9 (e.g., PBA 0 corresponds to a first physical block, PBA 1 corresponds to a second physical block, PBA 2 corresponds to a third physical block, etc.). Figure 4 In the example illustrated in , the memory includes (eg, is partitioned and / or divided into) two different data portions (eg, logical areas), which may be referred to as portion A and portion B. Figure 4 As shown in , the data of portion A has five LBAs associated with it (e.g., LBAs A0 to A4), and the data of portion B has three LBAs associated with it (e.g., LBAs B0 to B2). Figure 4In the example described in , the LBA size of part A and part B is the same. In addition, Figure 4 The “S A " indicates the PBA of the data of Part A associated with LBA A0, and Figure 4 The "r B " indicates the relative position of LBA B0 in portion B (e.g., the relative position of LBA B0 in the LBA sequence associated with portion B).

[0072] In addition, Figure 4 In the example illustrated in FIG. 1 , two physical blocks of memory do not store valid data and separate portion A and portion B (e.g., between portion A and portion B). These blocks may be referred to as separator blocks (as previously described herein) and are Figure 4 In the Figure 4 In the example described in A " indicates the PBA of the partition block after part A and before part B, and "g B " indicates the PBA of the partition block that is after part B and before part A.

[0073] exist Figure 4 In the example illustrated in , each respective partition block includes one PBA, which is the same size as the LBA size of portions A and B. However, in examples where the LBA sizes of portions A and B are different, such as where the size of one portion is a multiple of the size of the other portion, the number of PBAs in each partition block may be equal to the multiple. For example, if the LBA size of portion B is equal to the PBA size, but the LBA size of portion A is four PBAs, then the number of PBAs in each partition block is four.

[0074] exist Figure 4 The column labeled "Step 0" in FIG. 1 shows the data allocation in the memory before the data relocation operation is performed. For example, Figure 4 As described in FIG. 1 , before the data relocation operation is performed, the data of part A is located in PBA0 to PBA 4, the data of part B is located in PBA 6 to PBA 8, and the partition block after part A and before part B is located at PBA 5 (for example, as shown by g A ), and the partition block after portion B and before portion A is located at PBA 9 (e.g., as indicated by g B In addition, Figure 4 As described in FIG. 1 , before performing the data relocation operation, the relative position of LBA B0 in portion B is the first (eg, as indicated by r B LBA B0 is the first in the sequence of LBAs associated with portion B), as indicated by the value of .

[0075] The data relocation operation can be divided into two sub-steps, which consist of Figure 4 The "Step 1B" and "Step 1A" columns in the Figure 4 As shown in FIG. 1 , during a first substep (e.g., step 1B), data of portion B (e.g., data associated with LBA B2) associated with the last of the LBAs of portion B is relocated to a partition block that is after portion A and before portion B (e.g., relocated to the partition block defined by g ). A That is, the first sub-step (e.g., step 1B) moves the data associated with the last of the LBAs of portion B upward to before the first of the LBAs of portion B (e.g., moves the data associated with LBA B2 upward to before the data associated with LBA B0 and LBA B1). During the second sub-step (e.g., step 1A), the data of portion A associated with the last of the LBAs of portion A (e.g., data associated with LBA A4) is relocated to the split block that is after portion B and before portion A (e.g., relocated to the split block indicated by g). B Indicated segmentation blocks), such as Figure 4 That is, the second sub-step moves the data associated with the last of the LBAs of portion A down to after the LBAs of portion B (eg, moves the data associated with LBA A4 down to after the data associated with LBAs B2, B0, and B1).

[0076] Due to the data relocation operation (e.g., after executing steps 1B and 1A), PBA 4 becomes a partition block after portion A and before portion B, and PBA 8 becomes a partition block after portion B and before portion A, as shown in FIG. Figure 4 As described in (for example, respectively by g A and g B Also, due to the data relocation operation, the second to last of the LBAs of part A (e.g., LBA A3) becomes the last of the LBAs of part A that precedes part B, and the second to last of the LBAs of part B (e.g., LBA B1) becomes the last of the LBAs of part B, as shown in FIG. Figure 4 Also, due to the data relocation operation, the data of part A becomes located in PBA 0 to PBA 3 and PBA 9, and the data of part B becomes located in PBA 5 to 7, as shown in FIG. Figure 4 Moreover, due to the data relocation operation, the relative position of LBA B0 in portion B becomes the second (eg, LBA B0 becomes the second in the LBA sequence associated with portion B, as indicated by r B ), as indicated by the value of Figure 4 As described in .

[0077] exist Figure 4 In the example illustrated in , each subset is run once during the data relocation operation. However, in examples where the LBA sizes of portions A and B are different, e.g., where the size of one portion is a multiple of the size of the other portion, step 1A and / or step 1B may need to be run more than once. For example, in an example where the LBA size of portion B is equal to the PBA size, but the LBA size of portion A is four PBAs, step 1B would be run four times, and step 1A would be run once.

[0078] Figure 5A A conceptual example 540 illustrating a sequence of data relocation operations performed in a memory according to an embodiment of the present disclosure. The memory is similar to the previously described memory. Figure 4 The memory described, and the data relocation operation can be performed by, for example, combining the previously described Figure 2 and 3 The described circuit systems 214 and / or 314 perform. Figure 5B is the S associated with the data relocation operation sequence A , g A , g B and r B Table 545 of the values ​​of S A , g A , g B and r B Similar to the previous combination Figure 4 Description A , g A , g B and r B . Figure 5A and 5B Each "step" column in represents the effect of executing both substep B and subset A (e.g., "step 1" is combined with Figure 4 A combination of sub-step 1B and sub-step 1A described above).

[0079] Figure 5A The column labeled "Step 0" in FIG. 1 shows the data allocation within the memory before the first data relocation operation of the sequence is performed, and is similar to the data allocation in conjunction with FIG. Figure 4 The "Step 0" column of the description. For example, Figure 5B As shown in FIG. 1 , (e.g., before performing the first data relocation operation) the S in the step 0 column A , g A , g B and r B The values ​​of are 0, 5, 9 and 0 respectively. Figure 4 described.

[0080] Figure 5AThe columns labeled "Step 1" to "Step 6" in FIG. 1 show the data allocation within the memory after performing each corresponding data relocation operation in the sequence. For example, the Step 1 column shows the data allocation after performing the first data relocation operation, and similarly in conjunction with FIG. Figure 4 The combined effect of sub-step 1B and sub-step 1A described above. Step 2 shows the data allocation after performing the second data relocation operation, and step 3 shows the data allocation after performing the third data relocation operation, etc. In addition, Figure 5B The columns labeled "Step 1" through "Step 6" in FIG. 1 show the S after performing each corresponding data relocation operation in the sequence. A , g A , g B and r B For example, Figure 5A and 5B The data distribution and values ​​shown in the step 1 column are similar to the combination of Figure 4 The data allocation after the relocation operation and S A , g A , g B and r B value.

[0081] like Figure 5A As shown in the step 2 column of , after performing the second data relocation operation in the sequence, the data of part B associated with the last one of the LBAs of part B after step 1 (e.g., data associated with LBA B1) is relocated to the partition block that is after part A and before part B after step 1 (e.g., relocated to PBA 4), and the data of part A associated with the last one of the LBAs of part A after step 1 (e.g., data associated with LBA A3) is relocated to the partition block that is after part B and before part A after step 1 (e.g., relocated to PBA 8). In addition, as Figure 5A As shown in the step 2 column of FIG. 1 , PBA 3 has become a partition block after portion A and before portion B, and PBA 7 has become a partition block after portion B and before portion A, as shown by Figure 5B Step 2 of column g A and g B In addition, Figure 5A As shown in the step 2 column of FIG. 1 , the second-to-last LBA (e.g., LBA A2) among the LBAs of part A after step 1 has become the last LBA of part A before part B, and the second-to-last LBA (e.g., LBA B0) among the LBAs of part B after step 1 has become the last LBA of part B. In addition, as Figure 5AAs shown in the step 2 column of , the data of portion A has become located in PBA 0 to PBA 2 and PBA 8 to PBA 9, and the data of portion B has become located in PBA 4 to 6, wherein the PBA of the data of portion A associated with LBA A0 remains at PBA 0, as indicated by Figure 5B Step 2 of column S A In addition, Figure 5A As shown in the step 2 column, the relative position of LBA B0 in part B has become the third, as shown by Figure 5B Step 2 of the column r B The value indicated.

[0082] like Figure 5A As shown in the step 3 column of , after performing the third data relocation operation in the sequence, the data of part B associated with the last one of the LBAs of part B after step 2 (e.g., data associated with LBA B0) is relocated to the partition block that is after part A and before part B after step 2 (e.g., relocated to PBA 3), and the data of part A associated with the last one of the LBAs of part A after step 2 (e.g., data associated with LBA A2) is relocated to the partition block that is after part B and before part A after step 2 (e.g., relocated to PBA 7). In addition, as Figure 5A As shown in the step 2 column of FIG. 1 , PBA 2 has become a partition block after portion A and before portion B, and PBA 6 has become a partition block after portion B and before portion A, as shown by Figure 5B Step 3 of column g A and g B In addition, Figure 5A As shown in the step 3 column of , after step 2, the second to last LBA (e.g., LBA A1) in the LBAs of part A has become the last LBA in part A, and after step 2, the second to last LBA (e.g., LBA B2) in the LBAs of part B has become the last LBA in part B. In addition, as Figure 5A As shown in the step 3 column of FIG. 1 , the data of portion A has become located in PBA 0 to PBA 1 and PBA 7 to PBA 9, and the data of portion B has become located in PBA 3 to 5, wherein the PBA of the data of portion A associated with LBA A0 remains at PBA0, as indicated by Figure 5B Step 3 of column S A In addition, Figure 5A As shown in the step 3 column, the relative position of LBA B0 in part B has become the first, as shown by Figure 5B Step 3 of the column r BThe value indicated.

[0083] like Figure 5A and 5B As shown in the Step 4, Step 5 and Step 6 columns, respectively, the fourth, fifth and sixth data relocation operations of the sequence can continue in a similar manner. Thus, it can be seen that the effect of the data relocation operation is to move the data associated with the last of the LBAs of portion B upward in sequence to before the first of the LBAs in portion B, and to move the data associated with the last of the LBAs of portion A downward in sequence to after the LBAs in portion B, so that portion B moves upward and portion A moves downward throughout the operation of the memory. Therefore, not only does performing the data relocation operations of the sequence move the data associated with each corresponding LBA to a different PBA throughout the operation of the memory, but the two different data portions are not static (e.g., the PBA where the data of each corresponding portion is located continues to change throughout the operation of the memory). That is, the data of each corresponding portion can be relocated across the entire memory throughout the operation of the memory.

[0084] As previously described herein (e.g., in conjunction with Figure 2 ), each respective data relocation operation in the sequence may be performed in response to a separate triggering event. Figure 5A-5B The example sequence illustrated in includes six data relocation operations, but the embodiments of the present disclosure are not limited thereto. For example, additional data relocation operations may continue to be performed in a similar manner throughout the life of the memory (eg, in response to subsequent triggering events).

[0085] Although specific embodiments have been illustrated and described herein, it will be appreciated by those skilled in the art that arrangements calculated to achieve the same results may replace the specific embodiments shown. The present disclosure is intended to cover adaptations or variations of several embodiments of the present disclosure. It should be understood that the above description is provided in an illustrative manner and is not restrictive. Upon reviewing the above description, the combination of the above embodiments and other embodiments not specifically described herein will be apparent to those skilled in the art. The scope of several embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of several embodiments of the present disclosure should be determined with reference to the attached claims together with the full scope of equivalents to which such claims are entitled.

[0086] In the foregoing Detailed Description, some features are grouped together in a single embodiment for the purpose of simplifying the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the disclosed embodiments of the disclosure must use more features than are expressly recited in each claim. On the contrary, as reflected in the appended claims, the subject matter of the present invention lies in less than all features of a single disclosed embodiment. Therefore, the appended claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment.

Claims

1. A semiconductor device comprising: A memory having a plurality of physical blocks of memory cells, wherein: The memory includes a first data portion having a first number of logical block addresses associated therewith, and a second data portion having a second number of logical block addresses associated therewith; and Two of the plurality of memory cell physical blocks do not store data, wherein the two of the plurality of memory cell physical blocks do not store data separate the first data portion and the second data portion in the memory; and A circuit system configured to: relocating the data of the first data portion associated with a last logical block address of the first number of logical block addresses to one of the two memory cell physical blocks of the plurality of memory cell physical blocks that do not store data; and The data of the second data portion associated with a last logical block address of the second number of logical block addresses is relocated to another one of the two memory cell physical blocks of the plurality of memory cell physical blocks that do not store data.

2. The semiconductor device according to claim 1, wherein: The first data portion includes user data; and The second data portion includes system data.

3. The semiconductor device according to claim 1, wherein: The first data portion includes data that has been accessed at or above a specific frequency during a programming or sensing operation performed on the memory; and The second data portion includes data that has been accessed at a frequency lower than the specific frequency during a programming or sensing operation performed on the memory.

4. The semiconductor device according to claim 1, wherein: The first data portion includes operating system data; and The second data portion includes multimedia data.

5. A method of operating a memory, comprising: relocating data contained in a first portion of the memory and associated with a last logical block address of a plurality of logical block addresses of the first portion of the memory to one of two physical blocks in the memory that do not store data; and Data contained in the second portion of the memory and associated with a last logical block address among several logical block addresses of the second portion of the memory is relocated to the other of the two physical blocks in the memory that do not store data, wherein the two physical blocks in the memory that do not store data separate the first portion of the memory from the second portion of the memory.

6. The method according to claim 5, wherein the method comprises: identifying, using an algebraic map, a location in the memory of a physical block to which the data in the first portion of the memory has been relocated; and An algebraic map is used to identify a location in the memory of another physical block to which the data in the second portion of the memory has been relocated.

7. The method according to claim 6, wherein the method comprises: identifying, using the algebraic map, the location in the memory of the physical block to which the relocated data had been relocated during an operation to sense the relocated data in the first portion of the memory; and The location of another physical block in the memory to which the relocated data has been relocated during sensing of the relocated data in the second portion of the memory is identified using the algebraic map.

8. The method of claim 5, wherein the method comprises relocating the data contained in the first portion of the memory and relocating the data contained in the second portion of the memory in response to a triggering event.

9. The method of claim 8, wherein the triggering event is performing a particular number of programming operations on the memory.

10. The method of claim 8, wherein the triggering event is the occurrence of a power state transition in the memory.

11. The method according to claim 5, wherein: relocating the data contained in the first portion of the memory to the physical block of the memory causes a third physical block of the memory to store no data; and relocating the data contained in the second portion of the memory to another physical block of the memory causes a fourth physical block of the memory to store no data; and The method further comprises: relocating data contained in the first portion of the memory and associated with a different one of the plurality of logical block addresses of the first portion of the memory to the third physical block of the memory; and Data contained in the second portion of the memory and associated with a different one of the number of logical block addresses of the second portion of the memory is relocated to the fourth physical block of the memory.

12. A semiconductor device comprising: A memory having a plurality of physical blocks of memory cells, wherein: The memory includes a first data portion having a first number of logical block addresses associated therewith, and a second data portion having a second number of logical block addresses associated therewith; and two of the plurality of physical blocks of memory cells do not store data and separate the first data portion from the second data portion in the memory; A circuit system configured to: relocating the data of the first data portion associated with a last one of the first number of logical block addresses to one of the two memory cell physical blocks of the plurality of memory cell physical blocks that do not store data; and The data of the second data portion associated with a last one of the second number of logical block addresses is relocated to another one of the two memory cell physical blocks of the plurality of memory cell physical blocks that do not store data. 13 . The semiconductor device of claim 12 , wherein a size of each respective one of the first number of logical block addresses is different from a size of each respective one of the second number of logical block addresses.

14. The semiconductor device of claim 12, wherein the circuitry is included in the memory.

15. The semiconductor device of claim 12, wherein the circuit system is included in a controller of the semiconductor device.

16. The semiconductor device of claim 12, wherein the circuit system comprises: a first register configured to store a value indicative of a physical block address of the data of the first data portion associated with a first of the first number of logical block addresses; a second register configured to store a value indicating a physical block address of one of the two memory cell physical blocks of the plurality of memory cell physical blocks that does not store data; a third register configured to store a value indicating a physical block address of another one of the two memory cell physical blocks that does not store data among the plurality of memory cell physical blocks; and A fourth register is configured to store a value indicating a relative position of a first of the second number of logical block addresses in the second data portion.

17. A method of operating a memory, comprising: relocating data contained in a first portion of the memory and associated with a last one of a number of logical block addresses of the first portion of the memory to one of two physical blocks in the memory that do not store data, wherein the one of the two physical blocks precedes the first portion of the memory in the memory; and Relocating data contained in the second portion of the memory and associated with a last one of several logical block addresses of the second portion of the memory to the other of the two physical blocks in the memory that do not store data, wherein the other of the two physical blocks is located after the second portion of the memory in the memory, and wherein the two physical blocks in the memory that do not store data separate the first portion of the memory from the second portion of the memory.

18. The method of claim 17, wherein the method comprises: identifying, using an algebraic map, a physical block address of the physical block to which the data associated with the last of the plurality of logical block addresses of the first portion of the memory has been relocated; and A physical block address of the physical block to which the data associated with the last of the number of logical block addresses of the second portion of the memory has been relocated is identified using an algebraic map.

19. The method of claim 17, wherein the number of logical block addresses of the first portion of the memory and the number of logical block addresses of the second portion of the memory are randomized.

20. The method of claim 19, wherein the method comprises relocating the data contained in the second portion of the memory immediately after relocating the data contained in the first portion of the memory.

21. The method of claim 17, wherein the method comprises: performing an operation on the memory upon relocating the data contained in the first portion of the memory; and The data contained in the second portion of the memory is relocated upon performing the operation on the memory.

Citation Information

Patent Citations

  • Solid-state disk (SSD) static wear balance algorithm

    CN102543177A

  • Four-pool flash wear leveling method

    CN102789423A

  • Automated wear leveling in non-volatile storage systems

    CN1720590A

  • Memory system

    US20070103992A1

  • Method for Enhancing Life Cycle of Memory

    US20080183947A1