Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for managing flash memory module and associated flash memory controller and electronic device

A technology of flash memory controller and flash memory, which is applied in the direction of memory system, input/output process of data processing, instruments, etc., and can solve problems such as inability to consider block requirements, data loss, etc.

Inactive Publication Date: 2019-12-31
SILICON MOTION INC (CN)
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since each block needs to perform garbage collection operations, there are many considerations. In addition to the consumption average demand, there may also be read reclaim (read reclaim) or read refresh (read refresh) demand. Therefore, the existing Simply based on the preset priority to determine the order of block garbage collection operations and cannot take into account the actual needs of the block
In addition, due to the long time required for garbage collection operations, it is generally impossible to complete all the blocks that require garbage collection at one time, so the existing practice is likely to make some default priority orders lower. Low blocks have been unable to perform garbage collection operations, resulting in possible data loss (data loss)

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for managing flash memory module and associated flash memory controller and electronic device
  • Method for managing flash memory module and associated flash memory controller and electronic device
  • Method for managing flash memory module and associated flash memory controller and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] figure 1 It is a schematic diagram of a memory device 100 according to an embodiment of the present invention. The memory device 100 includes a flash memory (Flash Memory) module 120 and a flash memory controller 110 , and the flash memory controller 110 is used to access the flash memory module 120 . According to this embodiment, the flash memory controller 110 includes a microprocessor 112 , a read only memory (ROM) 112M, a control logic 114 , a buffer memory 116 , and an interface logic 118 . The read-only memory 112M is used to store a program code 112C, and the microprocessor 112 is used to execute the program code 112C to control the access to the flash memory module 120 (Access). The control logic 114 includes an encoder 132 and a decoder 134, wherein the encoder 132 is used to encode the data written in the flash memory module 120 to generate a corresponding check code (or called, error correction code (ErrorCorrection Code), ECC), and the decoder 134 is used ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method for managing a flash memory module, wherein the flash memory module includes a plurality of blocks, and the method includes the steps of: building a garbage collection look-up table, wherein the garbage collection look-up table records a plurality of sets of importance information respectively corresponding to the plurality of blocks, and each set of importance information is used to represent a priority of performing a garbage collection operation on a corresponding block; and when performing the garbage collection operation is required, referring to the garbage collection look-up table to select a specific block that has a top priority of the garbage collection operation, and performing the garbage collection operation starting from the specific block. According to the invention, the garbage collection look-up table is established to record the priority of the garbage collection operation currently required by each block, so that the garbage collection operation is more efficient.

Description

technical field [0001] The invention relates to flash memory, in particular to a method for managing a flash memory module, a related flash memory controller and an electronic device. Background technique [0002] In a traditional flash memory controller, if many blocks have garbage collection requirements in a short period of time, the flash memory controller will perform garbage collection operations on the blocks sequentially according to the default priority order, for example, first Blocks with wear-leveling requirements are garbage collected...etc. However, since each block needs to perform garbage collection operations, there are many considerations. In addition to the consumption average demand, there may also be read reclaim (read reclaim) or read refresh (read refresh) demand. Therefore, the existing Determining the order in which blocks perform garbage collection operations based solely on the preset priority does not take into account the actual needs of the blo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/064G06F3/0658G06F3/0679G06F12/0253G06F12/0246G06F2212/7205G06F2212/1044G06F12/0292G06F11/076
Inventor 谢松晏
Owner SILICON MOTION INC (CN)