Large file integrity technology

By optimizing data exchange using host-resident FTL mapping tables and file type indicators in the flash memory system, the performance inefficiency of the flash memory system when processing large files is solved, and the read and write efficiency is improved. Reduced latency and power consumption.

CN112445718BActive Publication Date: 2024-10-08MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010870839.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-08-28
Filing Date
2020-08-26
Publication Date
2024-10-08
Estimated Expiration
2040-08-26

AI Technical Summary

Technical Problem

Existing flash memory systems have low random read performance when processing large files, and are inefficient when writing large data, resulting in increased latency and power consumption.

Method used

The host-resident FTL mapping table is used as a cache, and data exchange is optimized through file type indicators, allowing a single record to update the FTL table, realizing sequential storage and reading of big data.

Benefits of technology

Significantly improve random read performance and write efficiency, reduce waiting time and power consumption, and improve overall data exchange performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112445718B_ABST
    Figure CN112445718B_ABST
Patent Text Reader

Abstract

The present application relates to large file integrity technology. This article discloses an apparatus and technology for more efficiently exchanging large amounts of data between a host and a flash storage system. In one example, a read command or a write command may optionally include a file type indicator. The file type indicator may allow data to be exchanged between the host and the flash storage system using a single record of a flash translation layer FTL table or a logical to physical L2P table, and wherein the amount of data may be much larger than an atomic unit associated with the flash storage system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments relate to memory circuits, and more particularly to techniques for maintaining integrity and performance of moving large files between a host and memory. Background Art

[0002] Memory devices are typically provided in a computer or other electronic device in the form of an internal semiconductor integrated circuit. There are many different types of memory, including volatile memory and non-volatile memory. Volatile memory may require power to maintain data, and includes random access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), etc. Non-volatile memory can provide persistent data by retaining stored data when power is off, and can include NAND flash memory, NOR flash memory, read-only memory (ROM), electrically erasable programmable ROM (EEPROM), erasable programmable ROM (EPROM), and resistance variable memory (such as phase change random access memory (PCRAM), resistive random access memory (RRAM) and magnetoresistive random access memory (MRAM), 3D XPoint TM memory, etc.).

[0003] Memory cells are typically arranged in a matrix or array. Multiple matrices or arrays can be combined into a memory device, and multiple devices can be combined to form the storage capacity of a memory system, such as a solid state drive (SSD), universal flash storage (UFS), or a memory card. TM ) devices, Multimedia Card (MMC) solid-state storage devices, embedded MMC devices (eMMC TM )wait.

[0004] The memory system may include one or more processors or other memory controllers that perform logic functions to operate the memory device or interface with an external system. The memory matrix or array may include multiple blocks of memory cells organized into multiple physical pages. The memory system may receive commands associated with memory operations from a host, such as read or write operations for transferring data (e.g., user data and associated integrity data, such as error data and address data, etc.) between the memory device and the host, erase operations for erasing data from the memory device, or performing one or more other memory operations.

[0005] Memories are used as volatile and non-volatile data storage for a wide range of electronic applications including, for example, personal computers, portable memory sticks, digital cameras, cellular phones, portable music players (such as MP3 players), movie players, and other electronic devices. Memory cells may be arranged in an array, where the array is used in a memory device.

[0006] Many electronic devices include several main components: a host processor (e.g., a central processing unit (CPU) or other main processor); a main memory (e.g., one or more volatile or non-volatile memory devices, such as dynamic RAM (DRAM), mobile or low-power double data rate synchronous DRAM (DDR SDRAM), etc.); and a storage device (e.g., a non-volatile memory (NVM) device, such as flash memory, read-only memory (ROM), SSD, MMC or other memory card structure or assembly or a combination of volatile and non-volatile memory, etc.). In some examples, the electronic device may include a user interface (e.g., a display, a touch screen, a keyboard, one or more buttons, etc.), a graphics processing unit (GPU), a power management circuit, a baseband processor, or one or more transceiver circuits, etc. Summary of the invention

[0007] Disclosed herein are apparatus and techniques for more efficiently exchanging large amounts of data between a host and a flash memory system. In one example, a read command or a write command may optionally include a file type indicator. The file type indicator may allow data to be exchanged between the host and the flash memory system using a single record of a flash translation layer FTL table or a logical-to-physical L2P table, and wherein the amount of data may be much larger than an atomic unit associated with the flash memory system.

[0008] This section is intended to provide an overview of the subject matter of this patent application. It is not intended to provide an exclusive or exhaustive explanation of the present invention. Specific embodiments are included to provide further information about this patent application. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In the accompanying drawings, which are not necessarily drawn to scale, the same numerals may describe similar components in different views. The same numerals with different letter suffixes may represent different instances of similar components. The accompanying drawings generally illustrate various embodiments discussed in this document by way of example and not by way of limitation.

[0010] Figure 1 An example of an environment including a host and a memory device configured to communicate via a communication interface is presented.

[0011] Figure 2 Generally presented is a flow chart of an example method of improving the exchange of large amounts of data intended to be stored in a flash memory storage device and sequentially read back from the flash storage device.

[0012] Figure 3 A flow chart of an example method of receiving and executing a write command having a file type indicator in a second state is generally presented.

[0013] Figure 4 A flow chart of an example method of improving read command performance of a flash memory system is generally presented.

[0014] Figure 5 A block diagram is shown of an example machine 500 upon which any one or more of the techniques (eg, methodologies) discussed herein may be performed. DETAILED DESCRIPTION

[0015] Flash memory based storage devices such as NAND memory can use a flash translation layer (FTL) to convert the logical address of an I / O request (commonly referred to as a logical block address (LBA)) into a corresponding flash memory address stored in one or more FTL mapping tables. LBA can be a logical address used by the host to manage data. Mobile storage devices usually have a limited size cache and therefore usually lack memory to store the entire mapping table. Therefore, parts of one or more mapping tables can be retrieved from the flash memory as needed, which may cause random read performance degradation.

[0016] In order to improve random read performance, the technology described herein enables the use of host-resident memory other than the memory unit of the memory device coupled to the host as a cache for the FTL mapping table. Under the host-resident FTL, FTL data can be read faster from the host memory than from the flash memory, and the host can start the memory operation by retrieving the physical address (PA) of the flash memory and including the PA in the memory request to the flash memory. The PA can be retrieved by the host using the host's FTL memory cache and the host's LBA. Upon receiving a memory request, the flash memory system can immediately retrieve the data associated with the physical address without the delay associated with accessing the flash memory-based mapping table and using the LBA to obtain the physical address.

[0017] In some embodiments of the host-resident FTL, the improvement of random read workload performance can be significant. However, the improvement of accelerated read capability is currently limited to a single LBA block, because the managed flash storage device does have the processing capability to promote files or other related data sets. For example, when the host command data is stored in the flash storage device, the host can provide a write command with a logical block address and data volume. At present, the flash storage device, even those using the flash storage device based on the host FTL system, stores data volume in atomic units. Therefore, as an example rather than by way of limitation, for a system with a 4k atomic unit, a write command configured to store 64k data will cause the data of the 164k cartridge to be stored separately on the flash memory of the flash storage device. In this way, for a given host file, the data stored on the flash storage device may not be sequentially programmed in the flash memory of the flash storage device. Therefore, even with the FTL capability based on the host, when the host wishes to read a large file, for each data atomic cartridge of the large file of the host, a plurality of separate read commands with LBA or physical address are provided to the flash storage device. The present inventors have recognized techniques to further improve data exchange between a host and a flash memory device, where the data is larger than the atomic size of the system and which can benefit overall performance and benefit data being stored sequentially on the flash memory system.

[0018] Figure 1 An example of an environment 100 including a host 105 and a memory device 110 configured to communicate via a communication interface is shown. The host 105 or the memory device 110 may be included in various products 150, such as IoT devices (e.g., refrigerators or other appliances, sensors, motors or actuators, mobile communication devices, cars, mobile phones, drones, etc.) to support processing, communication, or control of the product 150.

[0019] The memory device 110 includes a memory controller 115 and a memory array 120, which includes, for example, one or more separate memory dies (e.g., a stack of three-dimensional (3D) NAND dies). In 3D architecture semiconductor memory technology, vertical structures are stacked in multiple layers and coupled to form physical pages to increase the storage density of a memory device (e.g., a storage device) in a given footprint (i.e., a form factor). In one example, the memory device 110 may be a discrete memory device. In some examples, one or more memory dies of the memory array 120 may include a first complete FTL table 161 for mapping a logical block address of a host to a physical address of a flash memory.

[0020] The one or more communication interfaces 111 may be used to connect the memory device 110 to one or more other components of the host 105 (e.g., a Serial Advanced Technology Attachment (SATA) interface, a Peripheral Component Interconnect Express (PCIe) interface, a Universal Serial Bus (USB) interface, a UFS interface, an eMMC interface, etc.). TM interface or one or more other connectors or interfaces). Host 105 may include a host system, an electronic device, a processor, a memory card reader, or one or more other electronic devices external to memory device 110. In some examples, host 105 may be a Figure 5 The memory device 110 may include some or all of the components discussed above for the machine 500. Data may be transferred between the memory device 110 and other components via an input / output (I / O) bus, which may include one or more latches for temporarily storing data while it is being transferred (e.g., before being read from or written to a memory array).

[0021] The memory controller 115 may receive instructions from the host 105 and may communicate with the memory array, such as transferring data to (e.g., writing or erasing) or transferring data from (e.g., reading) one or more of the memory cells, planes, sub-blocks, blocks, or pages of the memory array. The memory controller 115 may include, among other things, circuitry or firmware that includes one or more components or integrated circuits. For example, the memory controller 115 may include one or more memory control units, circuits, control circuitry, or components configured to control access across the memory array 120 and provide a translation layer between the host 105 and the memory device 110. The memory controller 115 may include one or more I / O circuits (and corresponding latches), caches, lines, or interfaces to transfer data to or from the memory array 120. The memory controller 115 may include a memory manager 125 and an array controller 135.

[0022] The array controller 135 may include, among other things, circuitry or components configured to control memory operations associated with writing data to, reading data from, or erasing one or more memory cells of a memory device 110 coupled to the memory controller 115. The memory operations may be based on host commands received, for example, from the host 105, or generated internally by the memory manager 125 (e.g., associated with wear leveling, error detection or correction, etc.).

[0023] The array controller 135 may include an error correction code (ECC) component 140, which may include, among other things, an ECC engine or other circuitry configured to detect or correct errors associated with writing data to or reading data from one or more memory cells of a memory device 110 coupled to the memory controller 115. The ECC component 140 may, for example, detect or calculate a bit error rate (BER) associated with performing a plurality of memory operations. The BER may correspond to a bit error occurring in a latch of an I / O bus, an internal error of the memory controller 115, an error occurring in one or more NAND arrays, or an error in any one or more multi-level cells (MLCs) of the memory device 110. The memory controller 115 may be configured to actively detect and recover from error occurrences (e.g., bit errors, operational errors, crash conditions, stalls, hangs, etc.) associated with various operations or data storage, while maintaining the integrity of data transferred between the host 105 and the memory device 110, or maintaining the integrity of stored data (e.g., using redundant RAID storage, etc.), and may remove (e.g., retire) failed memory resources (e.g., memory cells, memory arrays, pages, blocks, etc.) to prevent future errors. The array controller 135 may transmit the detected BER information to the memory manager 125 for storage and tracking. The memory controller 115 may include a command queue (not shown) that tracks memory commands received from the host. The commands in the queue may be executed by the memory controller 115 in a first-in, first-out (FIFO) manner, in a stacked manner, out of order, according to priority, or in any other suitable order.

[0024] The described memory device 110 includes a cryptographic circuit 160 associated with the memory array 120. In some examples, the cryptographic circuit 160 may include an encryption circuit, a decryption circuit, or a combination thereof. In some embodiments, the memory controller 115 of the memory device 110 may include a control circuit system configured to implement the functions of the cryptographic circuit 160. In other embodiments, the cryptographic circuit 160 may include an independent control circuit system for implementing the described functions. In still other embodiments, the control circuit system may be divided between the cryptographic circuit 160 and the memory controller 115 to implement the described functions of the cryptographic circuit 160. In the depicted example, the array controller 135 forms a part of the memory controller 115, and the cryptographic circuit 160 forms a part of the array controller. In other embodiments, the cryptographic circuit 160 may be located external and / or outside the array controller 135. For example, the cryptographic circuit 160 (or any individual component thereof) may be an independent component coupled to one or more components in the environment 100. However, physically located, the structure providing the additional functionality of the cryptographic circuit 160 is used to verify the physical address provided by the host 105 to prevent erroneous or malicious access to the memory device and to provide the host with an opportunity to refresh the host-resident mapping table information to align the mapping information with the mapping information of the memory device during host-resident FTL operations of the environment 100.

[0025] The memory manager 125 may include, among other things, circuitry or firmware, such as a plurality of components or integrated circuits associated with various memory management functions. For purposes of this specification, example memory operations and management functions will be described in the context of NAND memory. Those skilled in the art will recognize that other forms of non-volatile memory may have similar memory operations or management functions. Such NAND management functions include wear leveling (e.g., garbage collection or recycling), error detection (e.g., BER monitoring) or correction, block retirement, or one or more other memory management functions. The memory manager 125 may parse or format host commands (e.g., commands received from a host) into device commands (e.g., commands associated with the operation of a memory array, etc.), or generate device commands for the array controller 135 or one or more other components of the memory device 110 (e.g., to perform various memory management functions).

[0026] The memory array 120 may include a plurality of memory cells arranged in, for example, a plurality of devices, planes, sub-blocks, blocks, or pages. As an example, a 48GB TLC NAND memory device may include 18,592 bytes (16,384+2208 bytes) of data per page, 1536 pages per block, 548 blocks per plane, and 4 or more planes per device. As another example, a 32GB MLC memory device (storing two data bits per cell (i.e., 4 programmable states)) may include 18,592 bytes (B) of data (16,384+2208 bytes) per page, 1024 pages per block, 548 blocks per plane, and 4 planes per device, but has half the write time and twice the program / erase (P / E) cycle required for the corresponding TLC memory device. Other examples may include other quantities or arrangements. In some examples, a memory device or a portion thereof may selectively operate in an SLC mode or in a desired MLC mode (such as TLC, QLC, etc.).

[0027] In operation, data is typically written to or read from the memory device 110 in units of pages and erased in units of blocks. However, one or more memory operations (e.g., read, write, erase, etc.) may be performed on larger or smaller groups of memory cells as desired. The data transfer size of the memory device 110 is typically referred to as a page, while the data transfer size of the host is typically referred to as a sector.

[0028] Different types of memory cells or memory arrays 120 may provide different page sizes or may require different amounts of metadata associated therewith. For example, different memory device types may have different bit error rates, which may result in different amounts of metadata necessary to ensure the integrity of a page of data (e.g., a memory device with a higher bit error rate may require more bytes of error correction code data than a memory device with a lower bit error rate). As an example, an MLC NAND flash device may have a higher bit error rate than a corresponding single-level cell (SLC) NAND flash device. As such, an MLC device may require more bytes of metadata for erroneous data than a corresponding SLC device.

[0029] In some instances, the host may include a second memory 131. The second memory 131 is not a flash memory device. In some instances, the second memory 131 may be used to store and maintain a set of management tables 130. The management table may include various information associated with one or more components of the memory device 110 (e.g., various information associated with a memory array or one or more memory cells coupled to the memory controller 115, and may include an FTL table). For example, the management table 130 may include information about FTL mapping information, block age, block erase count, error history, error parameter information, host reset timeout value, memory operation command wait time, or one or more error counts (e.g., write operation error count, read bit error count, read operation error count, erase error count, etc.) of one or more blocks of memory cells coupled to the memory controller 115. In some instances, if the number of detected errors of one or more error counts (e.g., error parameters) in the error count is higher than a threshold value (e.g., an allowable error threshold value), the bit error may be referred to as an uncorrectable bit error. Among other things, the management table 130 may maintain a count of correctable or uncorrectable bit errors.

[0030] In some instances, the second memory may include a second full FTL table 162 for mapping logical block addresses of the host with physical addresses of the flash memory. In some instances, the environment 100 may include only one of the first full FTL table 162 or the second full FTL table 162.

[0031] As discussed above, the inventors have recognized that current accelerated read techniques for flash memory systems only work for single atomic chunks. Inefficiencies may exist because the LBAs for a given sequential read may not have been sequentially written by the controller of the flash memory device. Therefore, conventional flash memory systems (including flash memory systems implementing a host-based FTL) supply a separate physical address for each atomic chunk of data. This tedious and repetitive technique can introduce considerable latency and power usage for large sequential reads (e.g., up to 512KB=128 LBAs for mobile, and greater for other workloads).

[0032] Figure 2A flow chart of an example method 200 for improving the exchange of large amounts of data intended to be stored in a flash memory storage device and sequentially read back from the flash memory device is generally shown. At 201, a flash memory system may optionally provide an FTL table or an L2P table to a host device. Providing the FTL table to a host allows the host to manage some aspects of the flash memory device. Through the FTL table, the host device can provide a command containing a physical address, which in some instances can help reduce the latency associated with converting the LBA of the host with the corresponding physical address of the flash memory system. In some instances, the host device may be much faster than the flash memory system when using the FTL table. In some instances, at least the physical address of the FTL table can be encrypted. At 203, a flash memory system can receive a write command. The write command may include write information, such as an LBA, a physical address, or both an LBA and a physical address. The write command may or may not include write data or a portion of write data.

[0033] The write command or write information may include a file type indicator or tag. When the file type indicator is in a first state, the host indicates that the write data is to be processed differently than when the file type indicator is in a second state. If the file type indicator is in the second state, the write data may be stored according to conventional methods, wherein the data is stored in a separate block without regard to other write data associated with the write command. Figure 2-4 As used, a block of flash memory is an atomic size or minimum size of memory used by the flash memory system for write commands, and each atomic unit is associated with a record in the FTL table that maps the LBA of the host device to the physical address of the flash memory system.

[0034] At 205, when the file type indicator is in the first state, the flash memory system stores the data sequentially in the flash memory of the flash memory system. In some instances, the file type indicator can be stored at the flash memory system, and in other instances, the file type indicator is not stored at the flash memory system. At 207, a single record with a single physical address for identifying the location of the write data in the flash memory can be used instead of using multiple records for identifying each block for writing data to update the FTL table. At 209, after the data is programmed into the flash memory, the flash memory system can optionally return the physical address indicating the starting address of the sequential write data. In some instances, the physical address is the same physical address as the physical address provided in the command. In some instances, even if the physical address is provided with a write command, the physical address returned to the host after completing the write command may also be different, because the maintenance of the flash memory system in the FTL table of the host may not yet be reflected. In some instances, any one or more physical addresses in the physical address provided to the host can be an encrypted version of the physical address, such as to prevent malicious tampering of the entire system or part thereof. In some examples, within the FTL table, when the file type indicator is in a first state, a write command associates a single record or physical address with the overall capacity of write data associated with the write command.

[0035] Figure 3 The flowchart of the example method of receiving and executing the write command with the file type indicator in the second state is generally shown. At 301, the flash storage system can optionally provide the FTL table or L2P table to the host device. Providing the FTL table to the host allows the host to manage some aspects of the flash storage device. Through the FTL table, the host device can provide a command containing the physical address of the flash memory of the flash storage system, which in some instances can help reduce the waiting time associated with converting the LBA of the host with the corresponding physical address of the flash storage system. In some instances, the host device may be much faster than the flash storage system when using the FTL table. In some instances, at least the physical address of the FTL table can be encrypted. At 303, the flash storage system can receive a write command. The write command can include write information, such as LBA, physical address, or both LBA and physical address. The write command may or may not include write data or a part of write data.

[0036] The write command or write information may include a file type indicator in a second state. If the file type indicator is in the second state, the write data may be stored in the flash memory system according to conventional methods, wherein the data is stored in a separate block without regard to other write data associated with the write command. Figure 2 and3 As used, a block of flash memory is the atomic size or minimum size of flash memory that the flash memory system uses for a write command.

[0037] At 305, the flash memory system stores or writes the write data to a separate block of the flash memory. In some instances, a file type indicator may be stored at the flash memory system, and in other instances, the file type indicator is not stored at the flash memory system. At 307, multiple records of physical addresses corresponding to each separate block for identifying a portion of the write data may be used to update the FTL table information. At 309, after the data is programmed into the flash memory, the flash memory system may optionally return information indicating that the execution of the write command is complete. In some instances, any one or more of the physical addresses provided to the host may be an encrypted version of the physical address, such as to prevent malicious tampering of the entire system or a portion thereof.

[0038] Figure 4 A flowchart of an example method for improving the read command performance of a flash memory system is generally shown. At 401, the flash memory system can optionally provide an FTL table or an L2P table to a host device. Providing the FTL table to the host allows the host to manage some aspects of the flash memory device. Through the FTL table, the host device can provide a command containing the physical address of the flash memory of the flash memory system, which in some instances can help reduce the waiting time associated with converting the LBA of the host with the corresponding physical address of the flash memory system. In some instances, the host device may be much faster than the flash memory system when using the FTL table. In some instances, at least the physical address of the FTL table can be encrypted. At 403, the flash memory system can receive a read command. In some instances, the read command can include read information, such as LBA, physical address, or both LBA and physical address. In some instances, the read command can include a file type indicator. In some instances, the file type indicator can be stored in the first portion of the read data, such as in a block associated with a physical address received with a read command or in a physical address associated with an LBA received with a read command. In some instances, the file type indicator is not received with the read command and is not stored with the read data.

[0039] As determined at 405, when the file type indicator is in a first read state, or the read command or read data does not include a file type indicator, the read data may be retrieved from the flash memory system according to conventional methods at 407. Such methods may include the flash memory system receiving a read command for each atomic unit of read data requested by the host. Thus, when the host desires to access a large file stored on the flash memory system without using the new techniques discussed herein, the data exchange of the large file may include multiple read request commands received at the flash memory system. Each command may include the host or the flash memory system accessing the FTL table to determine the corresponding physical address of each block or atomic unit of the flash memory to be read.

[0040] As determined at 405, when the file type indicator is in a second read state, multiple atomic units of read data can be retrieved from the flash memory system at 409. In some instances, the read data received with the command or retrieved from the first block of read data can indicate the amount of data to be read. In some instances, a single LBA or a corresponding single physical address can indicate a starting point to begin sensing multiple sequential blocks of flash memory data. The LBA or physical address can be received with the read command. In some instances, the physical address can be retrieved from the L2P table. In some instances, the file type indicator can allow a large amount of data to be transferred between the host and the flash memory system with a single read command or write command or referenced in the L2P table with a single record, and thereby reduce the latency associated with storing and retrieving files of host data that are larger than atomic units of the entire system.

[0041] At 411, the flash storage system may indicate completion of the read command to the host system. In some instances where the file type indicator is in the first state or the file type indicator is unavailable, additional read commands may be received at the flash storage system to retrieve additional atomic units of desired read data. The additional read commands may provide additional LBAs or physical addresses for each additional atomic unit of data. In some instances, the indication of completion of the read command may include an LBA or physical address associated with the read data, or an encrypted version of the LBA or physical address.

[0042] Figure 5A block diagram of an example machine 500 on which any one or more of the techniques (e.g., methods) discussed herein can be performed is shown. In alternative embodiments, the machine 500 can be operated as a standalone device or can be connected (e.g., networked) to other machines. In a networked deployment, the machine 500 can operate with the capabilities of a server machine, a client machine, or both in a server-client network environment. In one example, the machine 500 can act as a peer machine in a point-to-point (P2P) (or other distributed) network environment. The machine 500 can be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile phone, a web appliance, an IoT device, an automatic system, or any machine capable of executing instructions (sequentially or otherwise) specifying the actions to be taken by the machine. Further, although only a single machine is shown, the term "machine" should also be considered to include any collection of machines, which execute a set (or multiple sets) of instructions individually or jointly to perform any one or more of the methods discussed herein, such as cloud computing, software as a service (SaaS), and other computer cluster configurations.

[0043] Examples as described herein may include logic, components, devices, packages or mechanisms, or may be operated by the logic, components, devices, packages or mechanisms. A circuit system is a collection (e.g., set) of circuits implemented in a tangible entity including hardware (e.g., simple circuits, gates, logic, etc.). Circuit system membership may be flexible over time and may be the basis of hardware variability. A circuit system includes components that can perform specific tasks individually or in combination when operating. In one example, the hardware of the circuit system may be designed to perform specific operations (e.g., hard wiring) invariably. In one example, the hardware of the circuit system may include indefinitely connected physical components (e.g., execution units, transistors, simple circuits, etc.), including a computer-readable medium that is physically modified (e.g., magnetic, electrically movable placement of invariant mass particles, etc.) for encoding instructions for specific operations. When physical components are connected, the underlying electrical properties of the hardware components change, for example, from an insulator to a conductor, or vice versa. The instructions enable participating hardware (e.g., an execution unit or a loading mechanism) to create a component of the circuit system in hardware through variable connections so as to perform a portion of a specific task when in operation. Thus, when the device is operating, the computer-readable medium is communicatively coupled to other components of the circuit system. In one example, any of the physical components can be used in more than one component of more than one circuit system. For example, when in operation, an execution unit can be used in a first circuit of a first circuit system at one point in time and can be reused by a second circuit in the first circuit system, or reused by a third circuit in the second circuit system at a different time.

[0044] The machine (e.g., computer system) 500 (e.g., host 105, memory device 110, etc.) may include a processing device 502 (e.g., a hardware processor, a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof, such as a memory controller of the memory device 110, etc.), a main memory 504 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM), such as synchronous DRAM (SDRAM) or Rambus DRAM (RDRAM)), etc.), a static memory 506 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage system 518, some or all of which may communicate with each other via an interconnection link (e.g., a bus) 530.

[0045] The processing device 502 may represent one or more general-purpose processing devices, such as a microprocessor, a central processing unit, etc. More specifically, the processing device may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor that implements other instruction sets or a processor that implements a combination of instruction sets. The processing device 502 may also be one or more special-purpose processing devices, such as an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, etc. The processing device 502 may be configured to execute instructions 526 for performing the operations and steps discussed herein. The computer system 500 may further include a network interface device 508 for communicating via a network 520.

[0046] The data storage system 518 may include a machine-readable storage medium 524 (also referred to as a computer-readable medium) on which is stored one or more sets of instructions 526 or software that embodies any one or more of the methods or functions described herein. During execution of the instructions 526 by the computer system 500, the main memory 504, and the processing device 502, which also constitutes the machine-readable storage medium, the instructions may also reside completely or at least partially in the main memory 504 or in the processing device 502. The machine-readable storage medium 524, the data storage system 518, or the main memory 504 may be associated with Figure 1 Corresponding to the memory device 110.

[0047] In one embodiment, instructions 526 include instructions for implementing the Figure 2 , Figure 3 or Figure 4Instructions for functions corresponding to one or more optional host-resident FTL operations discussed. Although the machine-readable storage medium 524 is shown as a single medium in the exemplary embodiment, the term "machine-readable storage medium" should be considered to include a single medium or multiple media storing one or more sets of instructions. The term "machine-readable storage medium" should also be considered to include any medium capable of storing or encoding a set of instructions that is executed by a machine and causes the machine to perform any one or more of the methods disclosed herein. Therefore, the term "machine-readable storage medium" should be considered to include but not limited to solid-state memory, optical media, and magnetic media. In one example, a large-capacity machine-readable medium includes a machine-readable medium with multiple particles having a constant (e.g., stationary) mass. Therefore, a large-capacity machine-readable medium is not a transient propagation signal. Specific examples of large-capacity machine-readable media can include: non-volatile memory, such as semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.

[0048] The machine 500 may further include a display unit, an alphanumeric input device (e.g., a keyboard), and a user interface (UI) navigation device (e.g., a mouse). In one example, one or more of the display unit, the input device, or the UI navigation device may be a touch screen display. The machine includes a signal generating device (e.g., a speaker) or one or more sensors, such as a global positioning system (GPS) sensor, a compass, an accelerometer, or one or more other sensors. The machine 500 may include an output controller, such as a serial (e.g., a universal serial bus (USB), parallel or other wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) connection to communicate or control one or more peripheral devices (e.g., a printer, a card reader, etc.).

[0049] Instructions 526 (e.g., software, programs, operating systems (OS), etc.) or other data stored on data storage devices 518 can be accessed by main memory 504 for use by processing device 502. Main memory 504 (e.g., DRAM) is typically fast but volatile, and is therefore a different type of storage device than data storage devices 518 (e.g., SSDs), which are suitable for long-term storage (including when in a "disconnected" state). Instructions 526 or data used by a user or machine 500 are typically loaded into main memory 504 for use by processing device 502. When main memory 504 is full, virtual space from data storage devices 518 can be allocated to supplement main memory 504; however, because data storage devices 518 are typically slower than main memory 504, and write speeds are typically at least twice as slow as read speeds, the use of virtual memory may significantly reduce the user experience due to storage device latency (compared to main memory 504, such as DRAM). Further, using data storage devices 518 for virtual memory may significantly reduce the usable life of data storage devices 518.

[0050] Compared with virtual memory, virtual memory compression (for example, Linux TM Core feature "ZRAM") uses portions of memory as compressed block storage to avoid paging to data storage 518. Paging occurs in compressed blocks until it is necessary to write such data to data storage 518. Virtual memory compression increases the available size of main memory 504 while reducing wear on data storage 518.

[0051] Storage devices optimized for mobile electronic devices or mobile storage devices traditionally include MMC solid-state storage devices (e.g., micro Secure Digital (microSD TM ) card, etc.). MMC devices include multiple parallel interfaces (e.g., 8-bit parallel interfaces) with a host (e.g., a host device) and are typically removable and separate components from the host. In contrast, eMMC TM The device is attached to the circuit board and is believed to have read speeds comparable to Serial ATA based TM (Serial AT (Advanced Technology) Attachment or SATA) SSD devices compete for the host components. However, the demand for mobile device performance continues to increase, such as to fully enable virtual or augmented reality devices, take advantage of increased network speeds, etc. In response to this demand, storage devices have moved from parallel communication interfaces to serial communication interfaces. Universal Flash Storage (UFS) devices, which include controllers and firmware, use a low voltage differential signaling (LVDS) serial interface with dedicated read / write paths to communicate with the host, further promoting greater read / write speeds.

[0052] The instructions 526 may further be transmitted or received over the network 520 using a transmission medium through the network interface device 508 using any of a number of transmission protocols (e.g., frame relay, Internet Protocol (IP), transmission control protocol (TCP), user datagram protocol (UDP), hypertext transfer protocol (HTTP), etc.). Example communication networks may include: a local area network (LAN), a wide area network (WAN), a packet data network (e.g., the Internet), a mobile telephone network (e.g., a cellular network), a plain old telephone (POTS) network, and a wireless data network (e.g., a wireless network known as a wireless network). The Institute of Electrical and Electronics Engineers (IEEE) 802.11 family of standards, known as The network interface device 508 may include one or more physical jacks (e.g., Ethernet, coaxial, or telephone jacks) or one or more antennas to connect to the network 520. In one example, the network interface device 508 may include multiple antennas to facilitate wireless communication using at least one of single-input multiple-output (SIMO), multiple-input multiple-output (MIMO), or multiple-input single-output (MISO) technologies. The term "transmission media" should be deemed to include any intangible medium that can store, encode, or carry instructions for execution by the machine 500, and includes digital or analog communication signals or other intangible media for facilitating the communication of such software.

[0053] Additional Notes and Examples

[0054] Example 1 is a method, comprising: providing mapping table information from a flash storage system to a host; receiving a first write command from the host at the flash storage system, wherein the first write command includes a first logical block address of the host, first write data, and a file type tag in a first file type state; and performing a first write operation, wherein the first write operation is configured to start at a first block having a first physical address of a flash memory of the flash storage system, and store the first write data in multiple sequential blocks of the flash memory.

[0055] In Example 2, the subject matter of Example 1 includes returning a representation of a physical address to the host in response to the first write command.

[0056] In Example 3, the subject matter of Example 2 includes wherein the representation of the physical address includes an encrypted form of the physical address.

[0057] In Example 4, the subject matter of Examples 2-3 includes where returning the representation of the physical address to the host in response to the first write command includes providing second mapping table information for the write command from the flash storage system to the host.

[0058] In Example 5, the subject matter of Examples 1 to 4 includes receiving a second write command from the host at the flash storage system, wherein the second write command includes a second logical block address of the host, second write data, and a file type tag indicating a second file type; and performing a second write operation, wherein the second write operation is configured to start at a second block having a second physical address of a flash memory of the flash storage system, and store the second write data in a single block of the flash memory.

[0059] In Example 6, the subject matter of Example 5 includes returning a representation of the second physical address to the host in response to the second write command.

[0060] In Example 7, the subject matter of Example 6 includes wherein the second representation of the second physical address includes an encrypted form of the second physical address.

[0061] In Example 8, the subject matter of Examples 6-7 includes where returning a representation of the second physical address to the host in response to the second write command includes providing mapping table information for the second write command from the flash storage system to the host.

[0062] In Example 9, the subject matter of Examples 1 to 8 includes receiving a first read command from the host at the flash storage system, wherein the first read command includes first read information; determining that a first portion of the first read information includes a read file type tag that is in the first file type state; and reading a plurality of sequential data blocks from the flash storage system in response to the read command and sending them to the host, wherein a first block of the plurality of blocks is located at a physical address associated with the first read information.

[0063] In Example 10, the subject matter of Examples 1-9 includes wherein the flash storage system includes NAND flash memory.

[0064] Example 11 is a storage system comprising: a flash memory, the flash memory being configured to store data of a host device; a flash memory control circuit, the flash memory control circuit being configured to interface to the host device and to the flash memory; and wherein the flash memory control circuit is configured to: provide mapping table information from the storage system to the host; receive a first write command from the host at the storage system, wherein the first write command includes a representation of a first physical address of the flash memory, first write data, and a file type tag in a first file type state; and perform a first write operation, the first write operation being configured to start at a first block of the flash memory having the first physical address, storing the first write data in multiple sequential blocks of the flash memory.

[0065] In Example 12, the subject matter of Example 11 includes wherein the flash memory control circuit is configured to return a second representation of the first physical address to the host in response to the first write command.

[0066] In Example 13, the subject matter of Example 12 includes wherein the representation of the first physical address and the second representation of the first physical address are encrypted versions of the first physical address.

[0067] In Example 14, the subject matter of Examples 11-13 includes wherein the flash memory control circuit is configured to: receive a second write command from the host at the storage system, wherein the second write command includes a third representation of a second physical address, second write data, and a file type tag indicating a second file type; and perform a second write operation, wherein the second write operation is configured to start at a second block of the flash memory having the second physical address, and store the second write data in a single block of the flash memory.

[0068] In Example 15, the subject matter of Examples 11-14 includes wherein the flash memory control circuit is configured to: receive a first read command from the host, wherein the first read command includes provided first read information and a second representation of a second physical address; determine that a first portion of the first read information includes a read file type tag that is in the first file type state; and sense a plurality of sequential data blocks from the storage system and send them to the host in response to the read command, wherein a first block of the plurality of blocks is located at the second physical address.

[0069] Example 16 is a machine-readable medium comprising instructions that, when executed by a processor of a flash memory system, cause the processor to perform operations comprising: receiving a first write command from a host at the flash memory system, wherein the first write command includes first write information, first write data, and a file type indicator; when the file type indicator is in a first state, selectively performing a first write operation in response to receiving the first write command to program the first write data in multiple sequential blocks of a flash memory of the flash memory system; and when the file type indicator is in a second state, selectively performing the first write operation in response to receiving the first write command to program the first write data in a single block of a flash memory of the flash memory system.

[0070] In Example 17, the subject matter of Example 16 includes wherein the write information includes an encrypted representation of a physical address of the flash memory system.

[0071] In Example 18, the subject matter of Examples 16-17 includes wherein the operation includes sending a mapping table of the flash memory system to a host, wherein the mapping table includes multiple records, each record including a corresponding representation of a logical block address of the host and a physical address of the flash memory system.

[0072] In Example 19, the subject matter of Examples 16 to 18 includes wherein the operations include: receiving a second write command from the host at the flash memory system, wherein the second write command includes a second logical block address of the host, second write data, and a file type indicator indicating a second file type; and performing a second write operation, wherein the second write operation is configured to start at a second block of a flash memory of the flash memory system having a second physical address, and store the second write data in a single block of the flash memory.

[0073] In Example 20, the subject matter of Example 19 includes wherein the operations include: receiving a first read command at the flash memory system from the host, wherein the first read command includes first read information provided from the flash memory system to the host; determining that a first portion of the first read information includes a file type indicator in a first state; and determining that a second portion of the read information includes a representation of a physical address for reading a plurality of sequential data blocks from the flash memory system and sending them to the host in response to the read command, wherein a first block of the plurality of blocks is located at the physical address.

[0074] The above detailed description includes reference to the accompanying drawings, which form a part of the detailed description. The accompanying drawings show by way of illustration specific embodiments in which the present invention can be put into practice. These embodiments are also referred to as "examples" herein. Such examples may include elements other than those shown or described. However, the inventors have also contemplated examples in which only those elements shown or described are provided. In addition, the inventors have also contemplated examples of any combination or arrangement of those elements (or one or more aspects thereof) shown or described with respect to a specific example (or one or more aspects thereof) or with respect to other examples (or one or more aspects thereof) shown or described herein.

[0075] In this document, as is common in patent documents, the terms "a" or "an" are used to include one or more than one, independent of any other instances or usages of "at least one" or "one or more". In this document, unless otherwise indicated, the term "or" is used to refer to a non-exclusive or, so that "A or B" may include "A but not B", "B but not A", and "A and B". In the appended claims, the terms "including" and "in which" are used as the plain English equivalents of the respective terms "comprising" and "wherein". Moreover, in the following claims, the terms "including" and "including" are open-ended. Systems, devices, articles, or processes that include elements other than those listed after such terms in the claims are still deemed to fall within the scope of the claims. In addition, in the following claims, the terms "first", "second", and "third", etc., are used only as labels and are not intended to impose numerical requirements on their objects.

[0076] In various instances, the components, controllers, processors, units, engines, or tables described herein may include, among other things, physical circuitry or firmware stored on a physical device. As used herein, "processor" means any type of computing circuit, such as, but not limited to, a microprocessor, a microcontroller, a graphics processor, a digital signal processor (DSP), or any other type of processor or processing circuit, including a group of processors or a multi-core device.

[0077] As used herein, operating a memory cell includes reading from the memory cell, writing to the memory cell, or erasing the memory cell. The operation of placing a memory cell in a desired state is referred to herein as "programming," and may include both writing to the memory cell or erasing from the memory cell (i.e., the memory cell may be programmed to an erased state).

[0078] According to one or more embodiments of the present disclosure, a memory controller (e.g., a processor, a controller, firmware, etc.) located inside or outside a memory device is capable of determining (e.g., selecting, setting, adjusting, calculating, changing, clearing, communicating, adapting, deriving, defining, utilizing, modifying, applying, etc.) the amount of wear cycles or a wear state (e.g., recording wear cycles, counting operations of the memory device as they occur, tracking operations of the memory device that it initiates, evaluating memory device characteristics corresponding to a wear state, etc.).

[0079] According to one or more embodiments of the present disclosure, a memory access device may be configured to provide wear cycle information to a memory device through each memory operation. A memory device control circuit system (e.g., control logic) may be programmed to compensate for memory device performance variations corresponding to the wear cycle information. The memory device may receive the wear cycle information and determine one or more operating parameters (e.g., values, characteristics) in response to the wear cycle information.

[0080] The method examples described herein may be implemented by a machine, device or computer at least in part. Some examples may include computer-readable media, device-readable media or machine-readable media encoded using instructions operable to configure an electronic device to perform the method described in the above examples. The implementation of such methods may include code, such as microcode, assembly language code, high-level language code, etc. Such code may include computer-readable instructions for performing various methods. The code may form part of a computer program product. Further, the code may be tangibly stored on one or more volatile or non-volatile tangible computer-readable media such as during execution or at other times. Examples of these tangible computer-readable media may include, but are not limited to, hard disks, removable disks, removable optical disks (e.g., compact disks and digital video disks), cassettes, memory cards or memory sticks, random access memory (RAM), read-only memory (ROM), solid-state drives (SSD), universal flash storage (UFS) devices, embedded MMC (eMMC) devices, etc.

[0081] The above description is intended to be illustrative and not restrictive. For example, the examples described above (and / or one or more aspects thereof) can be used in combination with each other. Other embodiments can be used as by those of ordinary skill in the art when reviewing the above description. It should be understood that the present disclosure should not be used to interpret or limit the scope or meaning of the claims. Moreover, in the above specific embodiments, various features can be combined together to simplify the present disclosure. This should not be interpreted as intending that the disclosed features that are not claimed for protection are necessary for any claim. On the contrary, the subject matter of the present invention may be less than all the features of a specific disclosed embodiment. Therefore, the following claims are hereby incorporated into the specific embodiments, wherein each claim exists independently as a separate embodiment, and it is envisioned that such embodiments can be combined with each other in various combinations or arrangements. The scope of the present invention should be determined with reference to the attached claims together with the full scope of equivalents to which such claims are assigned.

Claims

1. A method for exchanging data between a host and a flash memory system, comprising: providing mapping table information from the flash memory system to the host; receiving, at the flash storage system, a first write command from the host, wherein the first write command includes a first logical block address of the host, first write data, and a file type flag in a first file type state; In response to the first file type status of the file type tag, determining that the first write data is to be stored in a plurality of sequential physical memory blocks starting from a starting first physical address; performing a first write operation, the first write operation being configured to start at the first physical address and store the first write data in the plurality of sequential physical memory blocks of the flash memory system; as well as The mapping table is updated to include a single record mapping the first logical block address with the plurality of sequential physical memory blocks.

2. The method of claim 1, comprising returning a representation of the first physical address to the host in response to the first write command.

3. The method of claim 2, wherein the representation of the first physical address comprises an encrypted form of the first physical address. 4 . The method of claim 2 , wherein returning the representation of the first physical address to the host in response to the first write command comprises providing second mapping table information for the first write command from the flash memory system to the host.

5. The method according to claim 1, comprising: receiving, at the flash memory system, a second write command from the host, wherein the second write command includes a second logical block address of the host, second write data, and a file type tag indicating a second file type; and A second write operation is performed, the second write operation being configured to store the second write data at one or more physical addresses of the flash memory of the flash storage system including a second physical address.

6. The method of claim 5, comprising returning a representation of the second physical address to the host in response to the second write command.

7. The method of claim 6, wherein the representation of the second physical address comprises an encrypted form of the second physical address.

8. The method of claim 6, wherein returning the representation of the second physical address to the host in response to the second write command comprises providing mapping table information for the second write command from the flash memory system to the host.

9. The method according to claim 1, comprising: receiving, at the flash memory system, a first read command from the host, wherein the first read command includes first read information; determining that a first portion of the first read information includes a starting logical or physical block address and a read file type flag in the first file type state; and Sequentially physically stored data is read from the flash memory system and sent to the host in response to the read command, wherein the sequentially physically stored data begins at a physical address associated with the first read information.

10. The method of claim 1, wherein the flash storage system comprises NAND flash memory.

11. A storage system comprising: a flash memory configured to store data of a host device; a flash memory control circuit configured to interface to the host device and to the flash memory; and The flash memory control circuit is configured to: providing mapping table information from the storage system to a host; receiving, at the storage system, a first write command from the host, wherein the first write command includes a first logical block address of the host, first write data, and a file type flag in a first file type state; In response to the first file type status of the file type tag, determining that the first write data is to be stored in a plurality of sequential physical memory blocks starting from a starting first physical address; performing a first write operation, the first write operation being configured to start at the first physical address and store the first write data in the plurality of sequential physical memory blocks of the storage system; as well as The mapping table is updated to include a single record mapping the first logical block address with the plurality of sequential physical memory blocks.

12. The storage system of claim 11, wherein the flash memory control circuit is configured to return a representation of the first physical address to the host in response to the first write command.

13. The storage system of claim 12, wherein the representation of the first physical address is an encrypted version of the first physical address.

14. The memory system according to claim 11, wherein the flash memory control circuit is configured to: receiving, at the storage system, a second write command from the host, wherein the second write command includes a second logical block address of the host, second write data, and a file type tag indicating a second file type; and A second write operation is performed, the second write operation configured to store the second write data at one or more physical addresses of the flash memory including a second physical address.

15. The memory system according to claim 11, wherein the flash memory control circuit is configured to: receiving a first read command from the host, wherein the first read command includes first read information; determining that a first portion of the first read information includes a read file type flag in the first file type state; and Sequentially physically stored data is read from the storage system and sent to the host in response to the read command, wherein the sequentially physically stored data begins at a physical address associated with the first read information.

16. A machine-readable medium comprising instructions that, when executed by a processor of a flash memory system, cause the processor to perform operations comprising: providing mapping table information from the flash memory system to a host; receiving, at the flash memory system, a first write command from the host, wherein the first write command includes a first logical block address of the host, first write data, and a file type flag in a first file type state; In response to the first file type status of the file type tag, determining that the first write data is to be stored in a plurality of sequential physical memory blocks starting from a starting first physical address; performing a first write operation, the first write operation being configured to start at the first physical address and store the first write data in the plurality of sequential physical memory blocks of the flash memory system; as well as The mapping table is updated to include a single record mapping the first logical block address with the plurality of sequential physical memory blocks.

17. The machine-readable medium of claim 16, wherein the operations include returning a representation of the first physical address to the host in response to the first write command.

18. The machine-readable medium of claim 17, wherein the representation of the first physical address comprises an encrypted form of the first physical address.

19. The machine-readable medium of claim 17, wherein returning a representation of the first physical address to the host in response to the first write command comprises providing second mapping table information for the first write command from the flash memory system to the host.

20. The machine-readable medium of claim 16, wherein the operations comprise: receiving, at the flash memory system, a second write command from the host, wherein the second write command includes a second logical block address of the host, second write data, and a file type tag indicating a second file type; and A second write operation is performed, the second write operation configured to store the second write data at one or more physical addresses of the flash memory of the flash memory system including a second physical address.

21. The machine-readable medium of claim 16, wherein the operations comprise: receiving, at the flash memory system, a first read command from the host, wherein the first read command includes first read information; determining that a first portion of the first read information includes a starting logical or physical block address and a read file type flag in the first file type state; and Sequentially physically stored data is read from the flash memory system and sent to the host in response to the read command, wherein the sequentially physically stored data begins at a physical address associated with the first read information.