[go: up one dir, main page]

TWI646551B - Storage device, recording method and pre-fetch method - Google Patents

Storage device, recording method and pre-fetch method Download PDF

Info

Publication number
TWI646551B
TWI646551B TW106126215A TW106126215A TWI646551B TW I646551 B TWI646551 B TW I646551B TW 106126215 A TW106126215 A TW 106126215A TW 106126215 A TW106126215 A TW 106126215A TW I646551 B TWI646551 B TW I646551B
Authority
TW
Taiwan
Prior art keywords
power
user data
storage device
access
access table
Prior art date
Application number
TW106126215A
Other languages
Chinese (zh)
Other versions
TW201901677A (en
Inventor
簡介信
包鎰華
Original Assignee
慧榮科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 慧榮科技股份有限公司 filed Critical 慧榮科技股份有限公司
Priority to CN201810001496.2A priority Critical patent/CN108877856B/en
Priority to US15/954,307 priority patent/US10635601B2/en
Priority to JP2018079759A priority patent/JP6588595B2/en
Application granted granted Critical
Publication of TWI646551B publication Critical patent/TWI646551B/en
Publication of TW201901677A publication Critical patent/TW201901677A/en
Priority to US16/825,354 priority patent/US11494312B2/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)
  • Memory System (AREA)

Abstract

一種儲存裝置,包括快閃式記憶體陣列以及控制器。快閃式記憶體陣列儲存複數使用者資料。於完成初始化程序之後,控制器依據主機指令及H2F對照表存取快閃式記憶體陣列之使用者資料,並將被存取的使用者資料的位址資訊記錄至上電存取表。 A storage device includes a flash memory array and a controller. The flash memory array stores a plurality of user data. After the initialization process is completed, the controller accesses the user data of the flash memory array according to the host command and the H2F comparison table, and records the address information of the accessed user data to the power-on access table.

Description

儲存裝置、記錄方法以及預載方法 Storage device, recording method, and preloading method

本發明係有關於一種快閃式記憶體裝置及其預載方法。 The invention relates to a flash memory device and a preloading method thereof.

當系統上電時,固態硬碟往往也跟著直接上電。然而在固態硬碟上電後至固態硬碟被第一次存取之間,具有一空閒時間,為了有效的提昇固態硬碟的效能,我們有必要針對空閒時間進行更有效率的利用,進而提昇固態硬碟的存取速度。 When the system is powered up, solid-state hard drives are often powered up directly. However, after the SSD is powered on and the SSD is accessed for the first time, there is a free time. In order to effectively improve the performance of the SSD, it is necessary to use the idle time more efficiently. Increase the access speed of solid state drives.

有鑑於此,本發明提出一種儲存裝置,包括:一快閃式記憶體陣列、一動態隨機存取記憶體以及一控制器。上述快閃式記憶體陣列儲存複數使用者資料。上述控制器於完成一初始化程序之後,依據複數主機指令及一H2F對照表存取上述快閃式記憶體陣列之上述使用者資料,並將被存取的上述使用者資料的複數位址資訊記錄至一上電存取表。 In view of this, the present invention provides a storage device comprising: a flash memory array, a dynamic random access memory, and a controller. The above flash memory array stores a plurality of user data. After completing the initialization process, the controller accesses the user data of the flash memory array according to the plurality of host commands and an H2F comparison table, and records the complex address information of the accessed user data. To a power-on access table.

根據本發明之一實施例,上述上電存取表的大小小於上述H2F對照表。 According to an embodiment of the invention, the size of the power-on access table is smaller than the H2F comparison table.

根據本發明之一實施例,上述位址資訊為上述使用者資料的複數邏輯位址資訊。 According to an embodiment of the invention, the address information is complex logical address information of the user data.

根據本發明之一實施例,上述位址資訊更包括上述使用者資料的複數物理位址資訊。 According to an embodiment of the invention, the address information further includes plural physical address information of the user data.

根據本發明之一實施例,上述控制器依據上述使用者資料的存取順序而將上述位址資訊依序記錄至上述上電存取表。 According to an embodiment of the present invention, the controller sequentially records the address information to the power-on access list according to an access sequence of the user data.

本發明更提出一種儲存裝置,包括一快閃式記憶體陣列以及一控制器。上述快閃式記憶體陣列儲存複數使用者資料。上述控制器於完成一初始化程序之後,判斷一上電存取表是否存在上述快閃式記憶體陣列,如果是,則將上述上電存取表所對應的上述使用者資料上傳至一資料暫存器。 The invention further provides a storage device comprising a flash memory array and a controller. The above flash memory array stores a plurality of user data. After completing the initialization process, the controller determines whether the flash memory array exists in a power-on access table, and if yes, uploads the user data corresponding to the power-on access table to a data temporary Save.

根據本發明之一實施例,上述控制器更依據一H2F對照表而將上述上電存取表所對應的上述使用者資料上傳至上述資料暫存器。 According to an embodiment of the present invention, the controller further uploads the user data corresponding to the power-on access table to the data register according to an H2F comparison table.

根據本發明之一實施例,當上述資料暫存器不足以儲存上述上電存取表所對應的所有上述使用者資料時,上述控制器僅將上述上電存取表所對應的部份上述使用者資料上傳至上述資料暫存器。 According to an embodiment of the present invention, when the data register is insufficient to store all of the user data corresponding to the power-on access table, the controller only refers to the portion corresponding to the power-on access table. User data is uploaded to the above data register.

根據本發明之一實施例,上述控制器依序將上述上電存取表所對應的上述使用者資料上傳至上傳資料暫存器。 According to an embodiment of the present invention, the controller sequentially uploads the user data corresponding to the power-on access list to an upload data register.

根據本發明之一實施例,上述控制器於完成上述初始化程序之後,並於收到一主機指令之前,將上述上電存取表所對應的上述使用者資料上傳至上述資料暫存器。 According to an embodiment of the present invention, after completing the initialization process, the controller uploads the user data corresponding to the power-on access table to the data temporary register before receiving a host command.

本發明更提出一種記錄方法,用以建立一儲存裝置之一上電存取表,包括:執行一初始化程序;依據複數主機 指令及一H2F對照表存取一快閃式記憶體陣列所儲存的複數使用者資料;以及將上述使用者資料的複數位址資訊記錄至上述上電存取表。 The invention further provides a recording method for establishing a power-on access table of a storage device, comprising: performing an initialization procedure; The command and an H2F look-up table access the plurality of user data stored in the flash memory array; and record the complex address information of the user data to the power-on access table.

本發明更提出一種預載方法,用以使用一儲存裝置之一上電存取表,包括:執行一初始化程序;以及判斷上述上電存取表是否存在,如果是則將上述上電存取表所對應的使用者資料自一快閃式記憶體陣列上傳至一資料暫存器。 The present invention further provides a preloading method for powering up a table by using one of the storage devices, comprising: performing an initialization process; and determining whether the power-on access table exists, and if so, the power-on access The user data corresponding to the table is uploaded from a flash memory array to a data buffer.

根據本發明之一實施例,上述使用上述上電存取表方法更包括依據複數主機指令、上述上電存取表及一H2F對照表存取上述儲存裝置。 According to an embodiment of the invention, the method for using the power-on access table further includes accessing the storage device according to the plurality of host commands, the power-on access table, and an H2F comparison table.

根據本發明之一實施例,當上述上電存取表不存在時,依據複數主機指令以及一H2F對照表存取上述儲存裝置。 According to an embodiment of the invention, when the power-on access table does not exist, the storage device is accessed according to the plurality of host commands and an H2F look-up table.

100‧‧‧儲存裝置 100‧‧‧ storage device

101‧‧‧快閃式記憶體陣列 101‧‧‧Flash memory array

102‧‧‧動態隨機存取記憶體 102‧‧‧ Dynamic Random Access Memory

103‧‧‧控制器 103‧‧‧ Controller

10‧‧‧主機 10‧‧‧Host

200A、200B‧‧‧上電存取表 200A, 200B‧‧‧Power access table

INS‧‧‧存取指令 INS‧‧‧ access instructions

S10~S16‧‧‧步驟流程 S10~S16‧‧‧Step procedure

S20~S26‧‧‧步驟流程 S20~S26‧‧‧Step process

第1圖係顯示根據本發明之一實施例所述之儲存裝置之方塊圖;第2A圖係顯示根據本發明之一實施例所述之上電存取表之示意圖;第2B圖係顯示根據本發明之另一實施例所述之上電存取表之示意圖;第3A圖係顯示根據本發明之一實施例所述之建立上電存取表方法之流程圖;以及第3B圖係顯示根據本發明之一實施例所述之使用上電存取表方法之流程圖。 1 is a block diagram showing a storage device according to an embodiment of the present invention; FIG. 2A is a schematic view showing an upper power access table according to an embodiment of the present invention; and FIG. 2B is a view showing A schematic diagram of an upper power access table according to another embodiment of the present invention; FIG. 3A is a flowchart showing a method for establishing a power-on access list according to an embodiment of the present invention; and FIG. 3B is a diagram showing A flowchart of a method of using a power-on access list according to an embodiment of the present invention.

以下說明為本發明的實施例。其目的是要舉例說明本發明一般性的原則,不應視為本發明之限制,本發明之範圍當以申請專利範圍所界定者為準。 The following description is an embodiment of the present invention. The intent is to exemplify the general principles of the invention and should not be construed as limiting the scope of the invention, which is defined by the scope of the claims.

值得注意的是,以下所揭露的內容可提供多個用以實踐本發明之不同特點的實施例或範例。以下所述之特殊的元件範例與安排僅用以簡單扼要地闡述本發明之精神,並非用以限定本發明之範圍。此外,以下說明書可能在多個範例中重複使用相同的元件符號或文字。然而,重複使用的目的僅為了提供簡化並清楚的說明,並非用以限定多個以下所討論之實施例以及/或配置之間的關係。此外,以下說明書所述之一個特徵連接至、耦接至以及/或形成於另一特徵之上等的描述,實際可包含多個不同的實施例,包括該等特徵直接接觸,或者包含其它額外的特徵形成於該等特徵之間等等,使得該等特徵並非直接接觸。 It is noted that the following disclosure may provide embodiments or examples for practicing various features of the present invention. The specific elements and arrangements of the elements described below are merely illustrative of the spirit of the invention and are not intended to limit the scope of the invention. In addition, the following description may reuse the same component symbols or characters in various examples. However, the re-use is for the purpose of providing a simplified and clear description, and is not intended to limit the relationship between the various embodiments and/or configurations discussed below. In addition, the description of one of the features described in the following description is connected to, coupled to, and/or formed on another feature, etc., and may include a plurality of different embodiments, including direct contact of the features, or other additional Features are formed between the features and the like such that the features are not in direct contact.

第1圖係顯示根據本發明之一實施例所述之儲存裝置之方塊圖。如第1圖所示,儲存裝置100包括快閃式記憶體陣列101、動態隨機存取記憶體102以及控制器103,其中儲存裝置100耦接至主機10,並且主機10與儲存裝置100組成一系統,儲存裝置100產生並維持邏輯-物理(Host Logical-Flash Physical,H2F)對照表,記錄使用者資料的邏輯位址與物理位址的對應關係。根據本發明之一實施例,儲存裝置100可為一採用USB、SATA、PATA、PCIE物理介面或是採用USB、NVME、AHCI、SCSI通信協定的固態硬碟。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing a storage device in accordance with an embodiment of the present invention. As shown in FIG. 1, the storage device 100 includes a flash memory array 101, a dynamic random access memory 102, and a controller 103. The storage device 100 is coupled to the host 10, and the host 10 and the storage device 100 are combined. The storage device 100 generates and maintains a Host-Logical-Flash Physical (H2F) comparison table, and records the correspondence between the logical address and the physical address of the user data. According to an embodiment of the invention, the storage device 100 can be a solid state hard disk using a USB, SATA, PATA, PCIE physical interface or a USB, NVME, AHCI, SCSI communication protocol.

假設儲存裝置100的資料儲存量為256GB,於系統開機後,控制器103除了依據H2F對照表提供主機10所需的使用者資料,並將這些使用者資料的邏輯位址或物理位址記錄至上電存取表。假設在上電存取表中一筆邏輯位址或物理位址的大小為2B,一筆邏輯位址或物理位址對應至4KB的使用者資料,則控制器103可建立8MB大小的上電存取表以記錄16GB大小的使用者資料的邏輯位址。其中,上電存取表記錄主機10所欲讀取或寫入的使用者資料,依據主機10的運作特性,上電存取表所記錄的使用者資料可能是作業系統、應用程式、或電腦遊戲的檔案,且上電存取表主要是記錄主機10所欲讀取的使用者資料,少部份是主機10所欲更新/寫入的使用者資料。 Assuming that the data storage capacity of the storage device 100 is 256 GB, after the system is powered on, the controller 103 provides the user data required by the host 10 according to the H2F comparison table, and records the logical address or physical address of the user data. Electric access table. Assuming that a logical address or a physical address is 2B in the power-on access table, and a logical address or a physical address corresponds to 4 KB of user data, the controller 103 can establish a power-on access of 8 MB. The table records the logical address of the 16 GB user data. The power-on access table records the user data that the host 10 wants to read or write. According to the operating characteristics of the host 10, the user data recorded by the power-on access table may be an operating system, an application, or a computer. The file of the game, and the power-on access table is mainly for recording the user data that the host 10 wants to read, and a small part is the user data that the host 10 wants to update/write.

當主機10開始初始化(Initializing)時,也會要求週邊裝置,例如儲存裝置100,開始初始化,然而,儲存裝置100完成初始化所需的時間比主機10完成初始化所需的時間短,因此,在儲存裝置100完成初始化後而主機10尚未完成初始化的期間(亦可稱為閒置時間),控制器103根據上電存取表所記錄之位址資訊,而將使用者資料自快閃式記憶體陣列101預先載入至動態隨機存取記憶體102,等主機10完成初始化並開始作業系統載入時,即主機10從儲存裝置100載入作業系統的檔案時,儲存裝置100可迅速地從動態隨機存取記憶體102,而非從快閃式記憶體陣列101,提供作業系統的檔案(即使用者資料)至主機10,以縮短資料存取所需的時間。由於儲存裝置100可以迅速完成初始化,所以,閒置時間也可視為儲存裝置100上電後至主機10開始存取儲存裝置100之前的時間。 When the host 10 starts Initializing, peripheral devices, such as the storage device 100, are also required to start initialization. However, the time required for the storage device 100 to complete initialization is shorter than the time required for the host 10 to complete initialization, and therefore, is stored. After the device 100 completes initialization and the host 10 has not completed initialization (also referred to as idle time), the controller 103 sets the user data from the flash memory array according to the address information recorded by the power-on access table. 101 is preloaded into the DRAM 102, and when the host 10 completes initialization and starts the loading of the operating system, that is, when the host 10 loads the file of the operating system from the storage device 100, the storage device 100 can be quickly and dynamically randomly selected. Accessing the memory 102, rather than from the flash memory array 101, provides an archive of the operating system (i.e., user profile) to the host 10 to reduce the time required for data access. Since the storage device 100 can complete the initialization quickly, the idle time can also be regarded as the time until the host device 10 starts to access the storage device 100 after the storage device 100 is powered on.

根據本發明之另一實施例,上電存取表的記錄較佳依據使用者資料的讀取順序而記錄。如此一來,假設控制器103無法在閒置時間將上電存取表所對應的所有使用者資料載入至動態隨機存取記憶體102,由於先載入的使用者資料可能將被主機10所先讀取,在資料讀取及處理的過程中,控制器103可繼續將上電存取表所對應的剩餘使用者資料載入至動態隨機存取記憶體102,等待主機10來讀取而達到本發明的目的。 According to another embodiment of the present invention, the recording of the power-on access table is preferably recorded in accordance with the reading order of the user data. As such, it is assumed that the controller 103 cannot load all the user data corresponding to the power-on access table into the DRAM 102 during the idle time, because the user data loaded first may be used by the host 10. First, during the data reading and processing, the controller 103 can continue to load the remaining user data corresponding to the power-on access table into the dynamic random access memory 102, waiting for the host 10 to read. The object of the invention is achieved.

根據本發明之另一實施例,控制器103依據快閃式記憶體陣列101的參數對上電存取表的記錄進行排列,其中,快閃式記憶體陣列101的參數包括:通道(Channel)數目或晶片致能(Chip Enable)數目,以加速使用者資料的讀取速度。 According to another embodiment of the present invention, the controller 103 arranges the records of the power-on access table according to the parameters of the flash memory array 101, wherein the parameters of the flash memory array 101 include: a channel. The number or number of Chip Enables to speed up the reading of user data.

根據本發明之另一實施例,上電存取表所對應的使用者資料的大小較佳小於動態隨機存取記憶體102的資料儲存量,如此一來,上電存取表所對應的全部使用者資料可儲存至動態隨機存取記憶體102。 According to another embodiment of the present invention, the size of the user data corresponding to the power-on access table is preferably smaller than the data storage capacity of the dynamic random access memory 102, and thus, all the corresponding power-on access tables are User data can be stored in the DRAM 102.

根據本發明之另一實施例,當上電存取表所對應的使用者資料的大小大於動態隨機存取記憶體102的資料儲存量時,控制器103僅將上電存取表所對應的部份使用者資料載入至動態隨機存取記憶體102,待這些使用者資料被主機10所先讀取之後,以上電存取表所對應的剩餘使用者資料替代已儲存於動態隨機存取記憶體102的使用者資料。 According to another embodiment of the present invention, when the size of the user data corresponding to the power-on access table is greater than the data storage capacity of the dynamic random access memory 102, the controller 103 only corresponds to the power-on access table. Some user data is loaded into the dynamic random access memory 102. After the user data is read by the host 10, the remaining user data corresponding to the above power access table is replaced by the dynamic random access. User data of the memory 102.

第2A圖係顯示根據本發明之一實施例所述之上電存取表之示意圖。根據本發明之一實施例,上電存取表200A用以記錄使用者資料的邏輯位址,依據H2F對照表,控制器103 可以得知每一使用者資料儲存於快閃式記憶體陣列101的位址,並存取之。在此僅以10筆存取資料進行說明解釋,並非以任何形式限定於此。 2A is a schematic diagram showing an upper power access table according to an embodiment of the present invention. According to an embodiment of the present invention, the power-on access table 200A is used to record the logical address of the user data, and the controller 103 according to the H2F comparison table. It can be known that each user data is stored in the address of the flash memory array 101 and accessed. The explanation is explained here with only 10 access materials, and is not limited thereto in any way.

第2B圖係顯示根據本發明之另一實施例所述之上電存取表之示意圖。根據本發明之一實施例,上電存取表200B如同小型的H2F對照表,記錄使用者資料的邏輯位址以及物理位址。因此,控制器103可依據上電存取表得知每一使用者資料儲存於快閃式記憶體陣列101的位址,並存取之。在此僅以10筆存取資料進行說明解釋,並非以任何形式限定於此。 Figure 2B is a schematic diagram showing an over-powered access meter in accordance with another embodiment of the present invention. According to an embodiment of the present invention, the power-on access table 200B records a logical address and a physical address of the user data as a small H2F look-up table. Therefore, the controller 103 can learn, according to the power-on access table, that each user data is stored in the address of the flash memory array 101 and access it. The explanation is explained here with only 10 access materials, and is not limited thereto in any way.

第3A圖係顯示根據本發明之一實施例所述之建立上電存取表方法之流程圖,此建立上電存取表方法適用於儲存裝置100。首先,儲存裝置100執行初始化(步驟S10),其中,儲存裝置100的初始化可以由電源的再供應或主機10的主機命令所啟動。 FIG. 3A is a flow chart showing a method of establishing a power-on access list according to an embodiment of the present invention, and the method for establishing a power-on access list is applicable to the storage device 100. First, the storage device 100 performs initialization (step S10), wherein the initialization of the storage device 100 can be initiated by re-provisioning of the power source or host command of the host 10.

接著,依據主機指令及H2F對照表存取快閃式記憶體陣列之使用者資料(步驟S12)。儲存裝置100完成初始化後,等待接收來自於主機10的主機命令。假設主機10也完成初始化並開始作業系統載入,則主機命令主要是資料讀取命令以要求儲存裝置100提供作業系統的檔案。儲存裝置100依據主機命令以及H2F對照表讀取快閃式記憶體陣列101之使用者資料(作業系統的檔案),並將使用者資料輸出至主機10。除了資料讀取命令之外,主機命令亦可能是資料寫入命令。 Then, the user data of the flash memory array is accessed according to the host command and the H2F comparison table (step S12). After the storage device 100 completes initialization, it waits to receive a host command from the host 10. Assuming host 10 also completes initialization and begins operating system loading, the host command is primarily a data read command to request storage device 100 to provide an archive of the operating system. The storage device 100 reads the user data (file of the operating system) of the flash memory array 101 according to the host command and the H2F comparison table, and outputs the user data to the host 10. In addition to the data read command, the host command may also be a data write command.

接著,將使用者資料的位址資訊記錄至上電存取表(步驟S14)並判斷上電存取表是否已儲滿位址資訊(步驟 S16),如果上電存取表尚未儲滿位址資訊則繼續記錄位址資訊至上電存取表;如果上電存取表已儲滿位址資訊(例如:已儲存8MB位址資訊)則結束本發明建立上電存取表方法之執行。 Then, the address information of the user data is recorded to the power-on access table (step S14) and it is determined whether the power-on access table has filled the address information (steps) S16), if the power-on access table has not filled the address information, continue to record the address information to the power-on access table; if the power-on access table has filled the address information (for example, 8MB address information has been stored) The execution of the method for establishing a power-on access list of the present invention is terminated.

第3B圖係顯示根據本發明之一實施例所述之使用上電存取表方法之流程圖,此建立上電存取表方法適用於儲存裝置100。 FIG. 3B is a flow chart showing a method of using a power-on access table according to an embodiment of the present invention, and the method for establishing a power-on access list is applicable to the storage device 100.

首先,儲存裝置100執行初始化(步驟S20),其中,儲存裝置100的初始化可以由電源的再供應或主機10的主機命令所啟動。 First, the storage device 100 performs initialization (step S20), wherein the initialization of the storage device 100 can be initiated by re-provisioning of the power source or host command of the host 10.

接著,判斷上電存取表是否存在(步驟S22),如果存在則執行步驟S24,否則結束本發明使用上電存取表方法之執行。 Next, it is judged whether or not the power-on access table exists (step S22), and if yes, step S24 is performed, otherwise the execution of the method of using the power-on access table of the present invention is ended.

接著,依據H2F對照表,依序將上電存取表所對應的使用者資料上傳至資料暫存器(步驟S24),其中,資料暫存器可為動態隨機存取記憶體102,如果上電存取表所對應的使用者資料的資料量大於資料暫存器的資料儲存量,則先上傳部份上電存取表所對應的使用者資料至資料暫存器,再上傳剩餘上電存取表所對應的使用者資料至資料暫存器。如果上電存取表的記錄如圖2B所示,則控制器103不需使用H2F對照表也能依序將上電存取表所對應的使用者資料上傳至資料暫存器。 Then, according to the H2F comparison table, the user data corresponding to the power-on access table is sequentially uploaded to the data temporary storage device (step S24), wherein the data temporary storage device can be the dynamic random access memory 102, if If the amount of data of the user data corresponding to the electric access table is greater than the data storage capacity of the data register, the user data corresponding to the power-on access table is first uploaded to the data register, and then the remaining power is uploaded. Access the user data corresponding to the table to the data register. If the record of the power-on access table is as shown in FIG. 2B, the controller 103 can sequentially upload the user data corresponding to the power-on access table to the data register without using the H2F comparison table.

接著,依據主機指令、上電存取表及H2F對照表存取儲存裝置100(步驟S26)。儲存裝置100接收來自於主機10的主機命令,首先判斷主機命令中的邏輯位址是否記錄於上電存取表,如果是,則儲存裝置100直接提供資料暫存器所儲存的 使用者資料至主機10;反之,儲存裝置100依據主機指令及H2F對照表存取儲存於快閃式記憶體陣列101之使用者資料。 Next, the storage device 100 is accessed in accordance with the host command, the power-on access table, and the H2F look-up table (step S26). The storage device 100 receives the host command from the host 10, first determines whether the logical address in the host command is recorded in the power-on access table, and if so, the storage device 100 directly provides the data storage device. The user data is sent to the host 10; otherwise, the storage device 100 accesses the user data stored in the flash memory array 101 according to the host command and the H2F comparison table.

以上所述為實施例的概述特徵。所屬技術領域中具有通常知識者應可以輕而易舉地利用本發明為基礎設計或調整以實行相同的目的和/或達成此處介紹的實施例的相同優點。所屬技術領域中具有通常知識者也應了解相同的配置不應背離本創作的精神與範圍,在不背離本創作的精神與範圍下他們可做出各種改變、取代和交替。說明性的方法僅表示示範性的步驟,但這些步驟並不一定要以所表示的順序執行。可另外加入、取代、改變順序和/或消除步驟以視情況而作調整,並與所揭露的實施例精神和範圍一致。 The above is an overview feature of the embodiment. Those having ordinary skill in the art should be able to use the present invention as a basis for design or adaptation to achieve the same objectives and/or achieve the same advantages of the embodiments described herein. It should be understood by those of ordinary skill in the art that the same configuration should not depart from the spirit and scope of the present invention, and various changes, substitutions and substitutions can be made without departing from the spirit and scope of the present invention. The illustrative methods are merely illustrative of the steps, but are not necessarily performed in the order presented. The steps may be additionally added, substituted, changed, and/or eliminated, as appropriate, and are consistent with the spirit and scope of the disclosed embodiments.

Claims (14)

一種儲存裝置,包括:一快閃式記憶體陣列,儲存複數使用者資料;以及一控制器,於完成一初始化程序之後,依據複數主機指令及一H2F對照表存取上述快閃式記憶體陣列之上述使用者資料,並將被存取的上述使用者資料的複數位址資訊記錄至一上電存取表。 A storage device includes: a flash memory array for storing a plurality of user data; and a controller, after completing an initialization process, accessing the flash memory array according to the plurality of host commands and an H2F comparison table The user data is recorded, and the complex address information of the accessed user data is recorded to a power-on access list. 如申請專利範圍第1項所述之儲存裝置,其中上述上電存取表的大小小於上述H2F對照表。 The storage device of claim 1, wherein the size of the power-on access table is smaller than the H2F comparison table. 如申請專利範圍第1項所述之儲存裝置,其中上述位址資訊為上述使用者資料的複數邏輯位址資訊。 The storage device of claim 1, wherein the address information is plural logical address information of the user data. 如申請專利範圍第3項所述之儲存裝置,其中上述位址資訊更包括上述使用者資料的複數物理位址資訊。 The storage device of claim 3, wherein the address information further comprises plural physical address information of the user data. 如申請專利範圍第1項所述之儲存裝置,其中上述控制器依據上述使用者資料的存取順序而將上述位址資訊依序記錄至上述上電存取表。 The storage device of claim 1, wherein the controller sequentially records the address information to the power-on access list according to an access sequence of the user data. 一種儲存裝置,包括:一快閃式記憶體陣列,儲存複數使用者資料;以及一控制器,於完成一初始化程序之後,判斷一上電存取表是否存在上述快閃式記憶體陣列,如果是,則將上述上電存取表所對應的上述使用者資料上傳至一資料暫存器。 A storage device includes: a flash memory array for storing a plurality of user data; and a controller, after completing an initialization process, determining whether a power-on access table has the flash memory array, if If yes, the user data corresponding to the power-on access table is uploaded to a data temporary register. 如申請專利範圍第6項所述之儲存裝置,其中,上述控制器更依據一H2F對照表而將上述上電存取表所對應的上述使用者資料上傳至上述資料暫存器。 The storage device of claim 6, wherein the controller further uploads the user data corresponding to the power-on access table to the data register according to an H2F comparison table. 如申請專利範圍第6項所述之儲存裝置,其中當上述資料暫存器不足以儲存上述上電存取表所對應的所有上述使用者資料時,上述控制器僅將上述上電存取表所對應的部份上述使用者資料上傳至上述資料暫存器。 The storage device of claim 6, wherein the controller only uses the power-on access table when the data register is insufficient to store all the user data corresponding to the power-on access table. The corresponding part of the user data is uploaded to the data register. 如申請專利範圍第6項所述之儲存裝置,其中上述控制器依序將上述上電存取表所對應的上述使用者資料上傳至上傳資料暫存器。 The storage device of claim 6, wherein the controller sequentially uploads the user data corresponding to the power-on access table to an upload data register. 如申請專利範圍第6項所述之儲存裝置,其中上述控制器於完成上述初始化程序之後,並於收到一主機指令之前,將上述上電存取表所對應的上述使用者資料上傳至上述資料暫存器。 The storage device of claim 6, wherein the controller uploads the user data corresponding to the power-on access table to the foregoing after completing the initialization process and before receiving a host command Data register. 一種記錄方法,用以建立一儲存裝置之一上電存取表,包括:執行一初始化程序;依據複數主機指令及一H2F對照表存取一快閃式記憶體陣列所儲存的複數使用者資料;以及將上述使用者資料的複數位址資訊記錄至上述上電存取表。 A recording method for establishing a power-on access table of a storage device, comprising: performing an initialization process; accessing a plurality of user data stored in a flash memory array according to the plurality of host commands and an H2F comparison table And recording the plurality of address information of the user data to the power-on access list. 一種預載方法,用以使用一儲存裝置之一上電存取表,包括:執行一初始化程序;以及判斷上述上電存取表是否存在,如果是則將上述上電存取表所對應的使用者資料自一快閃式記憶體陣列上傳至一資料暫存器。 A preloading method for powering up a table by using one of the storage devices, comprising: performing an initialization process; and determining whether the power-on access table exists, and if so, corresponding to the power-on access table User data is uploaded from a flash memory array to a data buffer. 如申請專利範圍第12項所述之預載方法,更包括:依據複數主機指令、上述上電存取表及一H2F對照表存取上述儲存裝置。 The preloading method of claim 12, further comprising: accessing the storage device according to the plurality of host commands, the power-on access table, and an H2F comparison table. 如申請專利範圍第12項所述之預載方法,其中,當上述上電存取表不存在時,依據複數主機指令以及一H2F對照表存取上述儲存裝置。 The preloading method according to claim 12, wherein when the power-on access table does not exist, the storage device is accessed according to the plurality of host commands and an H2F comparison table.
TW106126215A 2017-05-10 2017-08-03 Storage device, recording method and pre-fetch method TWI646551B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201810001496.2A CN108877856B (en) 2017-05-10 2018-01-02 Storage device, recording method and preloading method
US15/954,307 US10635601B2 (en) 2017-05-10 2018-04-16 Flash memory devices and prefetch methods thereof
JP2018079759A JP6588595B2 (en) 2017-05-10 2018-04-18 Storage device, recording method, and prefetch method
US16/825,354 US11494312B2 (en) 2017-05-10 2020-03-20 Flash memory devices and prefetch methods thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201762504140P 2017-05-10 2017-05-10
US62/504,140 2017-05-10

Publications (2)

Publication Number Publication Date
TWI646551B true TWI646551B (en) 2019-01-01
TW201901677A TW201901677A (en) 2019-01-01

Family

ID=65803390

Family Applications (2)

Application Number Title Priority Date Filing Date
TW106126215A TWI646551B (en) 2017-05-10 2017-08-03 Storage device, recording method and pre-fetch method
TW106129948A TWI650641B (en) 2017-05-10 2017-09-01 Storage device and refresh method

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW106129948A TWI650641B (en) 2017-05-10 2017-09-01 Storage device and refresh method

Country Status (1)

Country Link
TW (2) TWI646551B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160217A1 (en) * 2003-12-31 2005-07-21 Gonzalez Carlos J. Flash memory system startup operation
US20090172246A1 (en) * 2007-12-26 2009-07-02 Sandisk Il Ltd. Device and method for managing initialization thereof
US20140223079A1 (en) * 2013-02-05 2014-08-07 Via Technologies, Inc. Non-volatile memory apparatus and operating method thereof
US20160283250A1 (en) * 2015-03-24 2016-09-29 Fujitsu Limited Boot controlling processing apparatus
WO2017039386A1 (en) * 2015-09-04 2017-03-09 엘지전자(주) Apparatus and method for transmitting or receiving broadcast signal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6738289B2 (en) * 2001-02-26 2004-05-18 Sandisk Corporation Non-volatile memory with improved programming and method therefor
US7046568B2 (en) * 2002-09-24 2006-05-16 Sandisk Corporation Memory sensing circuit and method for low voltage operation
US7443757B2 (en) * 2002-09-24 2008-10-28 Sandisk Corporation Non-volatile memory and method with reduced bit line crosstalk errors
US7224614B1 (en) * 2005-12-29 2007-05-29 Sandisk Corporation Methods for improved program-verify operations in non-volatile memories

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160217A1 (en) * 2003-12-31 2005-07-21 Gonzalez Carlos J. Flash memory system startup operation
US20090172246A1 (en) * 2007-12-26 2009-07-02 Sandisk Il Ltd. Device and method for managing initialization thereof
US20140223079A1 (en) * 2013-02-05 2014-08-07 Via Technologies, Inc. Non-volatile memory apparatus and operating method thereof
US9218280B2 (en) * 2013-02-05 2015-12-22 Via Technologies, Inc. Non-volatile memory apparatus and operating method thereof
US20160283250A1 (en) * 2015-03-24 2016-09-29 Fujitsu Limited Boot controlling processing apparatus
WO2017039386A1 (en) * 2015-09-04 2017-03-09 엘지전자(주) Apparatus and method for transmitting or receiving broadcast signal

Also Published As

Publication number Publication date
TWI650641B (en) 2019-02-11
TW201901677A (en) 2019-01-01
TW201901436A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
JP6142081B2 (en) Volatile memory architecture and related controllers in non-volatile memory devices
KR101347285B1 (en) Method for prefetching of hard disk drive, recording medium and apparatus therefor
US6704852B2 (en) Control device applicable to flash memory card and method for building partial lookup table
US8065482B2 (en) Storage system and method for striping data
US9405619B2 (en) Method for performing error correction, associated memory apparatus and associated controller thereof
US10977171B2 (en) Method for creating multi-namespace and accessing data therein
CN106354615A (en) Solid state disk log generation method and device
US11494312B2 (en) Flash memory devices and prefetch methods thereof
US9898199B2 (en) Data storage device and operating method thereof
CN106033319A (en) Method for Dynamically Establishing Conversion Layer in Solid State Disk
KR20160025292A (en) Data storage device, data processing system including the same and operating method thereof
TWI523030B (en) Method for managing buffer memory, memory controllor, and memory storage device
US10747462B2 (en) Data processing system and operating method thereof
US10733107B2 (en) Non-volatile memory apparatus and address classification method thereof
CN108877858B (en) Storage device and refreshing method
JP2009175877A (en) Semiconductor memory
TWI646551B (en) Storage device, recording method and pre-fetch method
JP2023044471A (en) Memory system and memory control method
KR102730176B1 (en) Data storage device and operating method thereof
US20170083235A1 (en) Device capable of using external volatile memory and device capable of releasing internal volatile memory
US12105988B2 (en) Memory controller for reducing the number of error bits in read data and memory system including the same
CN109032522A (en) Data reading method of solid state disk and solid state disk
CN107807786B (en) Storage device and data mapping method thereof
US20220197548A1 (en) Memory controller and storage device including the same
TW201601063A (en) Storage device and address-corresponding method, data-storing and data-reading method, and identifying and storing and reading method thereof