TWI691839B - Method for data management - Google Patents
Method for data management Download PDFInfo
- Publication number
- TWI691839B TWI691839B TW107110480A TW107110480A TWI691839B TW I691839 B TWI691839 B TW I691839B TW 107110480 A TW107110480 A TW 107110480A TW 107110480 A TW107110480 A TW 107110480A TW I691839 B TWI691839 B TW I691839B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- mapping table
- item
- patent application
- logical address
- Prior art date
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本發明係有關於資料儲存裝置,特別有關於混和型(hybrid)資料儲存技術。 The invention relates to a data storage device, in particular to a hybrid data storage technology.
資料儲存裝置所採用的非揮發性記憶體有多種形式-例如,快閃記憶體(flash memory)、磁阻式隨機存取記憶體(Magnetoresistive RAM)、鐵電隨機存取記憶體(Ferroelectric RAM)、電阻式隨機存取記憶體(Resistive RAM)…等,用於長時間資料保存。然而,資料儲存裝置的操作效率受限於非揮發性記憶體的物理操作特性。如何增進資料儲存裝置的操作效率為本技術領域一項重要課題。 There are many forms of non-volatile memory used in data storage devices-for example, flash memory, magnetoresistive random access memory (Magnetoresistive RAM), ferroelectric random access memory (Ferroelectric RAM) , Resistive RAM (Resistive RAM), etc., used for long-term data storage. However, the operating efficiency of data storage devices is limited by the physical operating characteristics of non-volatile memory. How to improve the operation efficiency of the data storage device is an important issue in the technical field.
根據本發明一種實施方式所實現的一種資料管理的方法,包括:維護一第一映射表,用以記錄一資料的一邏輯位址與一第一儲存元件的一第一物理位址的映射關係;維護一第二映射表,用以記錄該資料的該邏輯位址與一第二儲存元件的一第二物理位址的映射關係;以及依據該第一映射表回應一讀取要求。 A data management method implemented according to an embodiment of the present invention includes: maintaining a first mapping table for recording a mapping relationship between a logical address of a data and a first physical address of a first storage element Maintaining a second mapping table for recording the mapping relationship between the logical address of the data and a second physical address of a second storage element; and responding to a read request according to the first mapping table.
當無法依據該第一映射表回應該讀取要求時,所述資料管理方法可依據該第二映射表回應該讀取要求。該第二 儲存元件可非揮發性地儲存該資料。 When the read request cannot be answered according to the first mapping table, the data management method can respond to the read request according to the second mapping table. The second storage element can store the data non-volatilely.
一種實施方式中,該邏輯位址置於一邏輯位址範圍中。該邏輯位址範圍可為固定的,或者,該邏輯位址範圍可為連續的。 In one embodiment, the logical address is placed in a logical address range. The logical address range may be fixed, or the logical address range may be continuous.
一種實施方式中,該資料係自該第二儲存元件讀取後再儲存於該第一儲存元件。 In one embodiment, the data is read from the second storage element and then stored in the first storage element.
根據本發明另一種實施方式所實現的一種資料管理的方法,包括:維護第一映射表,用以記錄第一邏輯位址與第一儲存元件的第一物理位址的映射關係;維護第二映射表,用以記錄第二邏輯位址與第二儲存元件的第二物理位址的映射關係;如果讀取要求的第三邏輯位址與第一邏輯位址相同,則讀取儲存在第一物理位址上的第一資料,如果讀取要求的第三邏輯位址與第二邏輯位址相同,則讀取儲存在第二物理位址上的第二資料,其中,第一資料與第二資料分別為機密與非機密資料,第一物理位址與第二物理位址分別置於隨機存取記憶體以及非揮發性記憶體。 A data management method implemented according to another embodiment of the present invention includes: maintaining a first mapping table to record a mapping relationship between a first logical address and a first physical address of a first storage element; maintaining a second The mapping table is used to record the mapping relationship between the second logical address and the second physical address of the second storage element; if the third logical address required for reading is the same as the first logical address, the reading is stored in the first The first data at a physical address, if the third logical address required for reading is the same as the second logical address, then the second data stored at the second physical address is read, where the first data and The second data are confidential and non-confidential data, and the first physical address and the second physical address are placed in random access memory and non-volatile memory, respectively.
下文特舉實施例,並配合所附圖示,詳細說明本發明內容。 The following describes the embodiments in detail and the accompanying drawings to explain the content of the present invention in detail.
100‧‧‧快閃記憶體 100‧‧‧Flash memory
300‧‧‧資料儲存裝置 300‧‧‧Data storage device
304‧‧‧控制單元 304‧‧‧Control unit
306‧‧‧主機 306‧‧‧Host
310‧‧‧線上燒錄區塊池 310‧‧‧ Online burning block pool
312‧‧‧系統資訊區塊池 312‧‧‧System Information Block Pool
314‧‧‧閒置區塊池 314‧‧‧Idle block pool
316‧‧‧主動區塊 316‧‧‧ active block
318‧‧‧資料區塊池 318‧‧‧Data block pool
320‧‧‧微控制器 320‧‧‧Microcontroller
322‧‧‧隨機存取記憶空間 322‧‧‧random access memory space
324‧‧‧唯讀記憶體 324‧‧‧Read-only memory
330‧‧‧動態隨機存取記憶體 330‧‧‧Dynamic Random Access Memory
332‧‧‧動態利用暫存區 332‧‧‧Dynamic use of temporary storage area
334‧‧‧特定使用暫存區 334‧‧‧Special use temporary storage area
BLK#1、BLK#2、BLK#Z‧‧‧物理區塊
B#‧‧‧物理區塊編號 B#‧‧‧Physical block number
DRAM_Addr‧‧‧動態隨機存取記憶體位址 DRAM_Addr‧‧‧Dynamic random access memory address
DRAM_Tab‧‧‧映射表 DRAM_Tab‧‧‧ mapping table
Flash_Tab‧‧‧映射表 Flash_Tab‧‧‧ mapping table
LBA#‧‧‧邏輯區塊位址 LBA#‧‧‧Logical block address
S502…S512、S602…S610‧‧‧步驟 S502…S512, S602…S610‧‧‧Step
U#‧‧‧單位編號 U#‧‧‧Unit number
第1圖圖解一快閃記憶體(flash memory)100的儲存空間規劃;第2A、2B、2C圖顯示動態隨機存取記憶體上一特定使用暫存區的不同規劃; 第3圖以方塊圖圖解根據本案種實施方式實現的一資料儲存裝置300;第4圖圖解資料儲存裝置300所需維護的映射資訊;第5圖為流程圖,根據本案一種實施方式圖解資料儲存裝置300之操作;且第6圖為流程圖,根據本案另一種實施方式圖解資料儲存裝置300之操作。 Figure 1 illustrates the storage space plan of a
以下敘述列舉本發明的多種實施例。以下敘述介紹本發明的基本概念,且並非意圖限制本發明內容。實際發明範圍應依照申請專利範圍界定之。 The following description lists various embodiments of the present invention. The following description introduces the basic concept of the present invention and is not intended to limit the content of the present invention. The actual scope of invention shall be defined in accordance with the scope of patent application.
非揮發性記憶體可以是快閃記憶體(flash memory)、磁阻式隨機存取記憶體(Magnetoresistive RAM)、鐵電隨機存取記憶體(Ferroelectric RAM)、電阻式記憶體(Resistive RAM,RRAM)、自旋轉移力矩隨機存取記憶體(Spin Transfer Torque-RAM,STT-RAM等具有長時間資料保存之記憶體裝置,以下特別以快閃記憶體(flash memory)為例進行討論,但並不意圖限定之。第1圖圖解一快閃記憶體(flash memory)100的儲存空間規劃,係劃分為複數個物理區塊(physical blocks)BLK#1、BLK#2…BLK#Z等,Z為正整數。各物理區塊包括複數物理頁(physical pages),例如:256個物理頁。每一物理頁可儲存預設長度的資料,例如:16KB長度的資料。 Non-volatile memory can be flash memory, magnetoresistive RAM, ferroelectric RAM, and resistive RAM. ), spin transfer torque random access memory (Spin Transfer Torque-RAM, STT-RAM and other memory devices with long-term data storage, the following particularly takes flash memory (flash memory) as an example for discussion, but It is not intended to be limited. Figure 1 illustrates a flash memory (flash memory) 100 storage space plan is divided into a plurality of physical blocks (physical blocks)
現今資料儲存裝置常以快閃記憶體100為儲存媒 體,常用來實現記憶卡(memory card)、通用序列匯流排閃存裝置(USB flash device)、固態硬碟(SSD)...等產品。有一種應用是採多晶片封裝、將快閃記憶體100與其控制器包裝在一起-稱為嵌入式快閃記憶體模組(如eMMC)。 Today's data storage devices often use
快閃記憶體100之資料更新並非對同樣儲存空間作複寫,而是將更新資料儲存在閒置空間;至於原儲存空間的儲存內容則轉為無效。頻繁的寫入操作容易致使儲存空間充斥無效的儲存內容,致使快閃記憶體100的儲存內容的有效率低落。快閃記憶體100的讀寫速度因而也會被拖累。此涉及快閃記憶體100的讀/寫效能問題(read/write performance)。 The data update of the
另外,對於充斥無效物理頁的物理區塊,快閃記憶體100具有垃圾收集(Garbage Collection)設計。待整理之物理區塊的有效物理頁將被複製至其他物理區塊,使該物理區塊空留無效物理頁,得以藉抹除(erase)操作釋出其空間。然而,各個物理區塊可容許的抹除次數有限。頻繁的寫入操作會使得物理區塊因過度抹除而導致嚴重的資料保存(data retention)的問題。此為快閃記憶體的物理區塊抹除限制(erase endurance)。 In addition, for the physical blocks filled with invalid physical pages, the
快閃記憶體更有讀取擾動議題(read disturbance issues)。讀取操作時,目標字線(WL)的周邊字線須備施加高電壓,將使得周邊字線的所操控的記憶單元內容產生擾動。快閃記憶體可靠度因而降低。 Flash memory has more read disturbance issues. During the read operation, the peripheral word line of the target word line (WL) must be applied with a high voltage, which will cause disturbance to the contents of the memory cells controlled by the peripheral word line. The reliability of the flash memory is therefore reduced.
因應快閃記憶體至少以上的操作瓶頸,本案提出一種混和型(hybrid)資料儲存裝置。該種資料儲存裝置除了以 快閃記憶體100實現資料的非揮發性存儲,更規劃讓資料儲存裝置之控制單元連接至一揮發性記憶體。此揮發性記憶體提供一特定使用暫存區,分擔該快閃記憶體的存儲功能。資料儲存裝置上電後,資料儲存裝置所面臨的寫入要求將部分改以該特定使用暫存區為目標,以避免頻繁寫入資料至該快閃記憶體。此外,該特定使用暫存區的資料將直接用來回應讀取要求,避免頻繁讀取該快閃記憶體。如此一來,發生在快閃記憶體100的上述讀/寫效能問題、物理區塊抹除限制、以及讀取擾動議題皆可被有效解決。所述揮發性記憶體可為一動態隨機存取記憶體(DRAM)。 In response to at least the operating bottleneck of flash memory, this case proposes a hybrid data storage device. In addition to realizing the non-volatile storage of data by the
第2A圖是規劃動態隨機存取記憶體提供上述特定使用暫存區對應快閃記憶體最起始配置使用的空間。例如,8GB的快閃記憶體,其最前端的128MB系統檔案對應同為128MB的上述特定使用暫存區。更有其他實施方式是規劃動態隨機存取記憶體提供上述特定使用暫存區對應快閃記憶體其他的固定使用區段。 FIG. 2A is a plan for the dynamic random access memory to provide the space for the initial configuration of the flash memory corresponding to the specific use temporary storage area. For example, for the 8GB flash memory, the 128MB system file at the front end corresponds to the above-mentioned specific use temporary storage area which is also 128MB. In still other embodiments, the dynamic random access memory is planned to provide the specific use temporary storage area corresponding to other fixed use sections of the flash memory.
另一種實施方式中,動態隨機存取記憶體提供128MB的特定使用暫存區作為特定邏輯區塊位址(LBA)編號範圍的資料的暫存區。例如,LBA#0~#262,143的資料的暫存區,或者,最先建立的262,144個LBA的資料的暫存區。所述最先建立的LBA的資料可能是作業系統檔案或是應用程式檔案,資料存取的頻率較高。本案技術將作業系統檔案或是應用程式檔案上傳至動態隨機存取記憶體中所規劃的該特定使用暫存區,方便及時回應存取要求。如此一來,資料存取的效率可顯著提 升,且也克服快閃記憶體的物理區塊抹除限制以及讀取擾動議題。 In another embodiment, the dynamic random access memory provides a 128 MB specific use temporary storage area as a temporary storage area for data in a specific logical block address (LBA) number range. For example, the temporary storage area for LBA#0~#262,143 data, or the first temporary storage area for 262,144 LBA data. The data of the first LBA created may be an operating system file or an application file, and the frequency of data access is relatively high. The technology in this case uploads the operating system file or application program file to the specific temporary storage area planned in the dynamic random access memory to facilitate timely response to the access request. In this way, the efficiency of data access can be significantly improved, and it also overcomes the physical block erasure limit of flash memory and the problem of read disturbance.
第2B圖顯示動態隨機存取記憶體提供上述特定使用暫存區的另一種規劃。相較於第2A圖,第2B圖並不令動態隨機存取記憶體提供上述特定使用暫存區對應快閃記憶體固定使用區段,而是對應快閃記憶體中動態配置給特定檔案的儲存空間。例如,提供動態隨機存取記憶體的128MB特定使用暫存區作為資料儲存裝置的特定檔案的暫存區。例如,動態隨機存取記憶體提供的上述特定使用暫存區可作為遊戲登錄檔(log file)之存儲。遊戲登錄檔的頻繁讀寫行為是施作在動態隨機存取記憶體上,而非快閃記憶體上,因此,遊戲登錄檔之讀寫效率可顯著提升,且也不涉及快閃記憶體的物理區塊抹除限制以及讀取擾動議題。 Figure 2B shows another plan for the dynamic random access memory to provide the above-mentioned temporary storage area. Compared with FIG. 2A, FIG. 2B does not make the dynamic random access memory provide the specific use temporary storage area corresponding to the fixed use section of the flash memory, but corresponds to the dynamic allocation of specific files in the flash memory. storage space. For example, a 128MB specific use temporary storage area that provides dynamic random access memory as a temporary storage area for specific files of a data storage device. For example, the above-mentioned temporary storage area provided by the dynamic random access memory can be used as a storage for a game log file. The frequent reading and writing behavior of game log files is applied to dynamic random access memory, not flash memory. Therefore, the read and write efficiency of game log files can be significantly improved, and flash memory is not involved. Physical block erasure restrictions and read disturbance issues.
第2C圖顯示動態隨機存取記憶體上述特定使用暫存區的另一種規劃,是關於一種印表機應用。一印表機上可安裝一資料儲存裝置,其中快閃記憶體用於儲存連線使用者列印資訊,待排程列印。該資料儲存裝置如前述,其控制單元採用一動態隨機存取記憶體,且該動態隨機存取記憶體規劃有一特殊使用暫存區。根據第2C圖概念,機密的列印資訊是以該特殊使用暫存區實現印表機端之存儲。特別是,機密的列印資訊並不儲存至該快閃記憶體,而是限定在該動態隨機存取記憶體的該特殊使用暫存區,此外,此機密的列印資訊較佳經過資料儲存裝置進行加密處理。僅非機密的列印資訊會儲存至該快閃記憶體。一旦印表機關閉或斷電,機密的列印資訊確定將隨著該 動態隨機存取記憶體斷電而永久銷毀,達到資訊保密的目的。相較於動態隨機存取記憶體,快閃記憶體上的資訊即使斷電、甚至已被標示為無效,也還是存留在快閃記憶體上。機密資訊如果儲存在快閃記憶體上,在資訊保密上會有一定的風險。 Figure 2C shows another plan for the above-mentioned temporary storage area of dynamic random access memory, which is related to a printer application. A data storage device can be installed on a printer, in which the flash memory is used to store the printing information of the connected user and to be printed. The data storage device is as described above, its control unit uses a dynamic random access memory, and the dynamic random access memory is planned to have a special use temporary storage area. According to the concept of Figure 2C, the confidential printing information is stored in the special-purpose temporary storage area for the printer. In particular, confidential printing information is not stored in the flash memory, but is limited to the special-use temporary storage area of the dynamic random access memory. In addition, the confidential printing information is preferably stored through data The device performs encryption processing. Only non-confidential print information will be stored in the flash memory. Once the printer is turned off or powered off, the confidential printing information will be permanently destroyed when the dynamic random access memory is powered off to achieve the purpose of keeping information confidential. Compared to dynamic random access memory, the information on the flash memory remains on the flash memory even if the power is turned off or even marked as invalid. If confidential information is stored on the flash memory, there will be a certain risk in the confidentiality of the information.
第3圖以方塊圖圖解根據以上概念實現的一資料儲存裝置300,其中包括快閃記憶體100以及一控制單元304。控制單元304耦接於一主機306與該快閃記憶體100之間,包括根據主機306所下達的指令操作該快閃記憶體100。 FIG. 3 is a block diagram illustrating a
快閃記憶體100之較佳儲存空間規劃包括:線上燒錄區塊池310、系統資訊區塊池312、閒置區塊池314、主動區塊316、以及資料區塊池318。線上燒錄區塊池310之區塊儲存線上燒錄(in-system programming,ISP)的程式。系統資訊區塊池312之區塊儲存系統資訊-如,映射表。主動區塊316係由閒置區塊池314供應,負責接收來自於主機306的資料,待完成資料儲存後即推入資料區塊池318。 The preferred storage space plan of the
控制單元304包括一微控制器320、一隨機存取記憶空間322以及一唯讀記憶體324。該隨機存取記憶空間322可分內部、以及外部隨機存取記憶體。內部隨機存取記憶體是與微控制器320置於同一個晶粒(die)外部隨機存取記憶體則未與微控制器320置於同一個晶粒。該隨機存取記憶空間322可由動態隨機存取記憶體(DRAM)或/以及靜態隨機存取記憶體(SRAM)實現。唯讀記憶體324存有唯讀程式碼(如,ROM code)。微控制器320執行該唯讀記憶體324所載之唯讀程式碼或/以及該快閃記憶體100之該線上燒錄區塊池310所載之線上 燒錄的程式,以進行運作。 The
本案令屬於該隨機存取記憶空間322的一動態隨機存取記憶體330(不限定為上述內部或外部隨機存取記憶體)除了提供一動態利用暫存區332,更規劃一特定使用暫存區334。動態利用暫存區332可用作映射表或運算資訊之暫存。所述運算資訊之暫存包括實現快取(cache)功能,用於實施指令預測或資料預取…等。特定使用暫存區334分擔該快閃記憶體100的存儲功能,以避免資料儲存裝置300操作效能過度受限於快閃記憶體100物理操作特性。特定使用暫存區334之使用可參照第2A圖、第2B圖以及第2C圖之描述。例如,特定使用暫存區334可用來分擔作業系統檔案或是應用程式檔案之存儲(第2A圖)、或遊戲登錄檔(log file)之存儲(第2B圖),甚至獨立於快閃記憶體100用作列表機機密資料之存儲(第2C圖)。 In this case, a dynamic random access memory 330 (not limited to the above-mentioned internal or external random access memory) belonging to the random
第3圖更顯示,控制單元304以及快閃記憶體100之間可有互動,以滿足特定使用暫存區334之非揮發性存儲需求。資料儲存裝置300上電時,微控制器320將快閃記憶體100的特定資料上傳至該特定使用暫存區334,並改以該特定使用暫存區334為目標回應資料讀/寫的要求一即,無須即時將寫入資料自該特定使用暫存區334同步至該快閃記憶體100、且無須訪問該快閃記憶體100即以該特定使用暫存區334內容回應讀取要求。關於該特定使用暫存區334中因為寫入要求而變動過的資料,使用者可自設快閃記憶體100同步條件。例如,每達一時限即將該特定使用暫存區334的已更新資料同步至該快閃記憶體100,以應對非預期掉電/斷電事件。資料儲存裝置300 關閉前也需要將該特定使用暫存區334的已更新資料同步至該快閃記憶體100,以確保該快閃記憶體100掉電/斷電後維持的是最新版本資料。 FIG. 3 further shows that there may be interaction between the
第4圖圖解資料儲存裝置300所需維護的映射資訊。映射表DRAM_Tab顯示動態隨機存取記憶體330該特定使用暫存區334所映射的主機306端邏輯位址。圖例以動態隨機存取記憶體位址DRAM_Addr為索引,顯示該特定使用暫存區334各位址單位對應的邏輯區塊位址LBA#。映射表Flash_Tab顯示主機306端邏輯位址所映射的快閃記憶體位置。圖例顯示各邏輯區塊位址LBA#是對應快閃記憶體100某一物理區塊B#的某一單位U#(通常一物理頁是劃分為四個單位編號U0~U3)。在另一實施例中,映射表DRAM_Tab不以動態隨機存取記憶體位址DRAM_Addr為索引,而是以邏輯區塊位址LBA#為索引。映射表Flash_Tab也可以其他足以表現主機306端以及快閃記憶體100之間邏輯-物理映射關係的表格取代。 FIG. 4 illustrates the mapping information that the
當主機306欲存取一個特定的邏輯區塊位址LBA#時,控制單元304可依據映射表DRAM_Tab而得知其是否對應有動態隨機存取記憶體位址DRAM_Addr。尋有動態隨機存取記憶體位址DRAM_Addr時,該個特定的邏輯區塊位址LBA#之存取是以尋得的動態隨機存取記憶體位址DRAM_Addr為目標。反之,該個特定的邏輯區塊位址LBA#之存取是參照映射表Flash_Tab,以該快閃記憶體100為目標。 When the
關於該特定使用暫存區334上有非揮發性存儲需求的資料,其除了可在映射表DRAM_Tab找到其至該特定使用 存儲區334的映射外,在映射表Flash_Tab也有需要維護的映射信息。微控制器320可以利用暫存區332動態維護所述映射資訊(包括映射表DRAM_Tab與Flash_Tab)。微控制器320更包括將上述映射資訊自該動態利用暫存區332更新至該快閃記憶體100作非揮發性儲存。 Regarding the non-volatile storage requirements of the specific use
第5圖為流程圖,圖解資料儲存裝置300操作的一種實施方式。資料儲存裝置300上電後,根據步驟S502,微控制器320自快閃記憶體100上傳映射表DRAM_Tab與Flash_Tab至動態利用暫存區332,並基於映射表DRAM_Tab與Flash_Tab,將特定使用暫存區334所對應的內容自快閃記憶體100上傳至該特定使用暫存區334。若步驟S504判斷有資料存取要求(寫/讀)發生,流程進行步驟S506,核對映射表DRAM_Tab,檢查該資料存取要求是否指向該特定使用暫存區334,為以該特定使用站存區334為存取目標的特定資料。若否,根據步驟S508,微控制器330查詢映射表Flash_Tab,以快閃記憶體100為標的進行存取。反之,微控制器330進行步驟S510,依據映射表DRAM_Tab,以該特定使用暫存區334為存取標的。快閃記憶體100之頻繁存取有效由該特定使用暫存區334分擔。步驟S512更判斷該特定使用暫存區334以及該快閃記憶體100之間的同步條件是否滿足。若滿足,微控制器330進行步驟S514,將該特定使用暫存區334之更新同步至該快閃記憶體100,並更新映射表Flash_Tab。步驟S504之存取要求監控可持續至斷電。 FIG. 5 is a flowchart illustrating one embodiment of the operation of the
第6圖為流程圖,圖解資料儲存裝置300操作的另 一種實施方式,其中為了確保數據不掉失,快閃記憶體100即時與該特定使用暫存區334同步,至於特定使用暫存區334分擔快閃記憶體100頻繁讀取操作的概念則延續第5圖內容。簡明起見,第6圖僅敘述寫入操作。資料儲存裝置300上電後,根據步驟S602,微控制器320自快閃記憶體100上傳映射表DRAM_Tab與Flash_Tab至動態利用暫存區332,並基於映射表DRAM_Tab與Flash_Tab,將特定使用暫存區334所對應的內容自快閃記憶體100上傳至該特定使用暫存區334。若步驟S604判斷有資料寫入要求發生,流程進行步驟S606,微控制器320即時將資料寫入快閃記憶體100,並相應更新映射表Flash_Tab。根據步驟S608,微控制器320更核對映射表DRAM_Tab,檢查該資料寫入要求是否為寫入特定資料,需在該特定使用暫存區334有備份,以分擔快閃記憶體100頻繁的讀取操作,解決快閃記憶體100讀取擾動。若是,微控制器320進行步驟S610,更新該特定使用暫存區334,使該特定使用暫存區334內容同步該快閃記憶體100。步驟S604之寫入要求監控可持續至斷電。 FIG. 6 is a flowchart illustrating another embodiment of the operation of the
其他採用上述概念完成混和型資料儲存的技術都屬於本案所欲保護的範圍。基於以上技術內容,本案更涉及資料儲存裝置操作方法。 Other technologies that use the above concept to complete the hybrid data storage are all within the scope of protection in this case. Based on the above technical content, this case further relates to the operation method of the data storage device.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做些許更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone who is familiar with this skill can do some modifications and retouching without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall be as defined in the scope of the attached patent application.
100‧‧‧快閃記憶體 100‧‧‧Flash memory
300‧‧‧資料儲存裝置 300‧‧‧Data storage device
304‧‧‧控制單元 304‧‧‧Control unit
306‧‧‧主機 306‧‧‧Host
310‧‧‧線上燒錄區塊池 310‧‧‧ Online burning block pool
312‧‧‧系統資訊區塊池 312‧‧‧System Information Block Pool
314‧‧‧閒置區塊池 314‧‧‧Idle block pool
316‧‧‧主動區塊 316‧‧‧ active block
318‧‧‧資料區塊池 318‧‧‧Data block pool
320‧‧‧微控制器 320‧‧‧Microcontroller
322‧‧‧隨機存取記憶空間 322‧‧‧random access memory space
324‧‧‧唯讀記憶體 324‧‧‧Read-only memory
330‧‧‧動態隨機存取記憶體 330‧‧‧Dynamic Random Access Memory
332‧‧‧動態利用暫存區 332‧‧‧Dynamic use of temporary storage area
334‧‧‧特定使用暫存區 334‧‧‧Special use temporary storage area
Claims (16)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201662427090P | 2016-11-28 | 2016-11-28 | |
US62/427,090 | 2016-11-28 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201828066A TW201828066A (en) | 2018-08-01 |
TWI691839B true TWI691839B (en) | 2020-04-21 |
Family
ID=63255864
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106103787A TWI627531B (en) | 2016-11-28 | 2017-02-06 | Data storage device and operating method therefor |
TW107110480A TWI691839B (en) | 2016-11-28 | 2017-02-06 | Method for data management |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106103787A TWI627531B (en) | 2016-11-28 | 2017-02-06 | Data storage device and operating method therefor |
Country Status (1)
Country | Link |
---|---|
TW (2) | TWI627531B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI766527B (en) * | 2020-07-02 | 2022-06-01 | 慧榮科技股份有限公司 | Data processing method and the associated data storage device |
US11636030B2 (en) | 2020-07-02 | 2023-04-25 | Silicon Motion, Inc. | Data processing method for improving access performance of memory device and data storage device utilizing the same |
US11709612B2 (en) | 2020-07-02 | 2023-07-25 | Silicon Motion, Inc. | Storage and method to rearrange data of logical addresses belonging to a sub-region selected based on read counts |
US11748032B2 (en) | 2020-07-02 | 2023-09-05 | Silicon Motion, Inc. | Data processing method for improving access performance of memory device and data storage device utilizing the same |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888820B (en) | 2018-09-07 | 2022-01-25 | 慧荣科技股份有限公司 | Data storage device and non-volatile memory control method |
CN110888591B (en) | 2018-09-07 | 2023-05-30 | 慧荣科技股份有限公司 | Data storage device and non-volatile memory control method |
CN110888593B (en) | 2018-09-07 | 2024-01-26 | 慧荣科技股份有限公司 | Data storage device and non-volatile memory control method |
TWI768346B (en) * | 2018-09-07 | 2022-06-21 | 慧榮科技股份有限公司 | Data storage device and control method for non-volatile memory |
TWI789549B (en) * | 2019-09-12 | 2023-01-11 | 晶豪科技股份有限公司 | Memory chip, memory module and method for pseudo-accessing memory bbank thereof |
TWI749685B (en) * | 2020-08-05 | 2021-12-11 | 宇瞻科技股份有限公司 | Memory storage device |
TWI738451B (en) * | 2020-08-05 | 2021-09-01 | 宇瞻科技股份有限公司 | Data backup method and storage device |
TWI800795B (en) * | 2021-02-09 | 2023-05-01 | 宏碁股份有限公司 | Data arrangement method and memory storage system using persistent memory |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070079065A1 (en) * | 2005-06-13 | 2007-04-05 | Bonella Randy M | Advanced dynamic disk memory module |
US20090307525A1 (en) * | 2008-06-06 | 2009-12-10 | Yukie Hiratsuka | Disk drive and method for controlling the disk drive |
US20140337560A1 (en) * | 2013-05-13 | 2014-11-13 | Qualcomm Incorporated | System and Method for High Performance and Low Cost Flash Translation Layer |
TWI516935B (en) * | 2013-12-26 | 2016-01-11 | 慧榮科技股份有限公司 | Data storage device and flash memory control method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6902975B2 (en) * | 2003-10-15 | 2005-06-07 | Taiwan Semiconductor Manufacturing Company, Ltd. | Non-volatile memory technology compatible with 1T-RAM process |
US20120026802A1 (en) * | 2010-07-30 | 2012-02-02 | Emanuele Confalonieri | Managed hybrid memory with adaptive power supply |
US9921980B2 (en) * | 2013-08-12 | 2018-03-20 | Micron Technology, Inc. | Apparatuses and methods for configuring I/Os of memory for hybrid memory modules |
TWI511238B (en) * | 2013-12-12 | 2015-12-01 | Nat Univ Chung Hsing | Mixed memory |
-
2017
- 2017-02-06 TW TW106103787A patent/TWI627531B/en active
- 2017-02-06 TW TW107110480A patent/TWI691839B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070079065A1 (en) * | 2005-06-13 | 2007-04-05 | Bonella Randy M | Advanced dynamic disk memory module |
US20090307525A1 (en) * | 2008-06-06 | 2009-12-10 | Yukie Hiratsuka | Disk drive and method for controlling the disk drive |
US20140337560A1 (en) * | 2013-05-13 | 2014-11-13 | Qualcomm Incorporated | System and Method for High Performance and Low Cost Flash Translation Layer |
TWI516935B (en) * | 2013-12-26 | 2016-01-11 | 慧榮科技股份有限公司 | Data storage device and flash memory control method |
Non-Patent Citations (1)
Title |
---|
Tae-Sun Chung, Dong-Joo Park, Sangwon Park, Dong-Ho Lee, Sang-Won Lee, Ha-Joo Song,"A survey of Flash Translation Layer,"Journal of Systems Architecture, Volume 55, Issues 5–6, Pages 332-343, May–June 2009. * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI766527B (en) * | 2020-07-02 | 2022-06-01 | 慧榮科技股份有限公司 | Data processing method and the associated data storage device |
US11636030B2 (en) | 2020-07-02 | 2023-04-25 | Silicon Motion, Inc. | Data processing method for improving access performance of memory device and data storage device utilizing the same |
US11709612B2 (en) | 2020-07-02 | 2023-07-25 | Silicon Motion, Inc. | Storage and method to rearrange data of logical addresses belonging to a sub-region selected based on read counts |
US11748032B2 (en) | 2020-07-02 | 2023-09-05 | Silicon Motion, Inc. | Data processing method for improving access performance of memory device and data storage device utilizing the same |
Also Published As
Publication number | Publication date |
---|---|
TW201820146A (en) | 2018-06-01 |
TW201828066A (en) | 2018-08-01 |
TWI627531B (en) | 2018-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI691839B (en) | Method for data management | |
DE102017104150B4 (en) | Wear compensation in memory devices | |
US20190188130A1 (en) | Data Storage Device and Non-Volatile Memory Control Method | |
CN108804023B (en) | Data storage device and operation method thereof | |
US9904490B2 (en) | Solid-state mass storage device and method for persisting volatile data to non-volatile media | |
US10761982B2 (en) | Data storage device and method for operating non-volatile memory | |
US20160266792A1 (en) | Memory system and information processing system | |
US20090327837A1 (en) | NAND error management | |
US20180173419A1 (en) | Hybrid ssd with delta encoding | |
US10459803B2 (en) | Method for management tables recovery | |
US11269783B2 (en) | Operating method for data storage device | |
CN114730290A (en) | Moving change log tables to align with partitions | |
TWI718709B (en) | Data storage device and non-volatile memory control method | |
US20140325168A1 (en) | Management of stored data based on corresponding attribute data | |
US9785552B2 (en) | Computer system including virtual memory or cache | |
US11218164B2 (en) | Data storage device and non-volatile memory control method | |
US20180024751A1 (en) | Metadata management on a storage device | |
KR102589609B1 (en) | Snapshot management in partitioned storage | |
TWI724483B (en) | Data storage device and control method for non-volatile memory | |
CN115357522A (en) | Object management in a hierarchical memory system | |
TWI766194B (en) | Data storage device and non-volatile memory control method | |
TWI705328B (en) | Data storage device and control method for non-volatile memory | |
TWI669610B (en) | Data storage device and control method for non-volatile memory | |
US20240103723A1 (en) | Unaligned deallocated logical blocks datapath support | |
WO2024054273A1 (en) | Metadata management in key value data storage device |