TW201310237A - Flash memory storage device - Google Patents
Flash memory storage device Download PDFInfo
- Publication number
- TW201310237A TW201310237A TW100130267A TW100130267A TW201310237A TW 201310237 A TW201310237 A TW 201310237A TW 100130267 A TW100130267 A TW 100130267A TW 100130267 A TW100130267 A TW 100130267A TW 201310237 A TW201310237 A TW 201310237A
- Authority
- TW
- Taiwan
- Prior art keywords
- storage
- flash memory
- block
- level
- unit
- Prior art date
Links
- 230000005055 memory storage Effects 0.000 title claims abstract description 60
- 238000004519 manufacturing process Methods 0.000 abstract description 12
- 238000004242 micellar liquid chromatography Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 239000013078 crystal Substances 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 235000015096 spirit Nutrition 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
本發明有關於一種快閃記憶體儲存裝置,可以在不增加製作成本的情況下,提高部分區域之快閃記憶體的效能。The invention relates to a flash memory storage device, which can improve the performance of a flash memory in a partial area without increasing the manufacturing cost.
快閃記憶體(flash memory) 是一種電子清除式可程式唯讀記憶體的形式,允許在操作中被多次清除或寫入的記憶體。快閃記憶體是非揮發性的記憶體,這表示單就保存資料而言,快閃記憶體是不需要消耗電力的。相較於傳統的硬碟(Hard Disk)而言,快閃記憶體具有相當低的讀取延遲(雖然沒有電腦主記憶體的DRAM那麼快)及更佳的動態抗震性。因為這些特性,使得快閃記憶體被廣泛應用在行動裝置上。此外快閃記憶體被製成記憶卡時非常可靠,即使浸在水中也足以抵抗高壓與極端的溫度。Flash memory is a form of electronically erasable programmable read-only memory that allows memory to be erased or written multiple times during operation. Flash memory is a non-volatile memory, which means that flash memory does not need to consume power in terms of saving data. Compared to the traditional Hard Disk, the flash memory has a relatively low read latency (although not as fast as the DRAM of the main memory of the computer) and better dynamic shock resistance. Because of these characteristics, flash memory is widely used in mobile devices. In addition, the flash memory is very reliable when it is made into a memory card, and it is sufficient to resist high voltage and extreme temperature even when immersed in water.
快閃記憶體的成本遠較可以位元組為單位寫入的EEPROM來的低,也因此成為非揮發性固態儲存最重要也最廣為採納的技術。像是PDA、筆記型電腦、數位隨身聽、數位相機與手機等可攜式裝置上均可見到快閃記憶體。此外,快閃記憶體在遊戲主機上的採用也日漸增加,藉以取代儲存遊戲資料用的EEPROM或帶有電池的SRAM。The cost of flash memory is much lower than that of EEPROMs that can be written in bytes, and is therefore the most important and widely adopted technology for non-volatile solid-state storage. Flash memory can be found on portable devices such as PDAs, notebooks, digital walkmans, digital cameras and mobile phones. In addition, the use of flash memory on game consoles is increasing, replacing EEPROM for storing game data or SRAM with battery.
快閃記憶體將資料儲存在由浮閘電晶體組成的記憶單元陣列內,依據運作原理及儲存方式的不同,可區分為單階儲存單元(Single-level cell,SLC)及多階儲存單元(Multi-level cell,MLC)。The flash memory stores the data in a memory cell array composed of floating gate crystals. According to different operating principles and storage methods, it can be divided into single-level cell (SLC) and multi-level memory cell ( Multi-level cell, MLC).
單階儲存單元(SLC)及多階儲存單元(MLC)分別具有不同的優點,例如單階儲存單元(SLC)具有較快的儲存速度、較長的使用壽命及較低的耗電量,而多階儲存單元(MLC)則具有單位容量較低的價格。Single-stage storage units (SLCs) and multi-level storage units (MLCs) have different advantages, such as single-stage storage units (SLC) with faster storage speed, longer service life, and lower power consumption. Multi-level storage units (MLCs) have a lower unit price.
本發明之一目的,在於提供一種快閃記憶體儲存裝置,主要將快閃記憶體內的複數個多階儲存單元進行劃分,其中有部分的多階儲存單元被劃分為第一儲存區塊,而其他的多階儲存單元則被劃分為第二儲存區塊。第一儲存區塊及第二儲存區塊具有不同儲存速度及可靠度,並可在不增加製作成本的情況下,提高部分區域之快閃記憶體的效能。An object of the present invention is to provide a flash memory storage device, which mainly divides a plurality of multi-level storage units in a flash memory, wherein a part of the multi-level storage units are divided into first storage blocks, and Other multi-level storage units are divided into second storage blocks. The first storage block and the second storage block have different storage speeds and reliability, and can improve the performance of the flash memory in a part of the area without increasing the manufacturing cost.
本發明之另一目的,在於提供一種快閃記憶體儲存裝置,其中第一儲存區塊的單一個第一多階儲存單元可用以儲存兩位元的資料,而第二儲存區塊的單一第二個多階儲存單元僅用以儲存一位元的資料,且第二儲存區塊的儲存速度及/或可靠度皆優於第一儲存區塊。Another object of the present invention is to provide a flash memory storage device, wherein a single first multi-level storage unit of the first storage block can be used to store two-digit data, and a single storage block of the second storage block The two multi-level storage units are only used to store one-bit data, and the second storage block has better storage speed and/or reliability than the first storage block.
本發明之另一目的,在於提供一種快閃記憶體儲存裝置,主要將快閃記憶體劃分為第一儲存區塊及第二儲存區塊,並將作業系統儲存在速度較快且穩定度較高的第二儲存區塊,藉此以提高作業系統的速度及穩定性。Another object of the present invention is to provide a flash memory storage device, which mainly divides a flash memory into a first storage block and a second storage block, and stores the operating system at a faster speed and stability. A high second storage block, thereby increasing the speed and stability of the operating system.
本發明之另一目的,在於提供一種快閃記憶體儲存裝置,使用者可依據實際的需求,透過控制單元任意調整第一儲存區塊及第二儲存區塊的儲存容量,並有利於提高快閃記憶體儲存裝置在使用時的便利性。Another object of the present invention is to provide a flash memory storage device, which can adjust the storage capacity of the first storage block and the second storage block through the control unit according to actual needs, and is beneficial to improve the speed. The convenience of the flash memory storage device in use.
本發明之另一目的,在於提供一種快閃記憶體儲存裝置,其中該快閃記憶體由複數個多階儲存單元所構成,並可以一般多階儲存單元的製作方法完成快閃記憶體的製造,藉此有利於降低快閃記憶體儲存裝置的製作成本。Another object of the present invention is to provide a flash memory storage device, wherein the flash memory is composed of a plurality of multi-level storage units, and the manufacturing method of the flash memory can be completed by a general multi-level storage unit manufacturing method. Thereby, it is advantageous to reduce the manufacturing cost of the flash memory storage device.
本發明之又一目的,在於提供一種快閃記憶體儲存裝置,主要透過位址表將複數個第一多階儲存單元定義為該第一儲存區塊,並將複數個第二多階儲存單元定義為該第二儲存區塊。Another object of the present invention is to provide a flash memory storage device, which mainly defines a plurality of first multi-level storage units as the first storage block and a plurality of second multi-level storage units through an address table. Defined as the second storage block.
為達成上述目的,本發明提供一種快閃記憶體儲存裝置,包括有:至少一快閃記憶體,包括有:至少一第一儲存區塊,包括有複數個第一多階儲存單元;至少一第二儲存區塊,包括有複數個第二多階儲存單元,其中該第二儲存區塊的儲存速度大於該第一儲存區塊;及一控制單元,用以進行該第一儲存區塊及該第二儲存區塊內之資料的讀取、儲存或抹除。In order to achieve the above object, the present invention provides a flash memory storage device including: at least one flash memory, including: at least one first storage block, including a plurality of first multi-level storage units; at least one The second storage block includes a plurality of second multi-level storage units, wherein the second storage block has a storage speed greater than the first storage block; and a control unit is configured to perform the first storage block and Reading, storing or erasing the data in the second storage block.
上述快閃記憶體儲存裝置的一實施例,其中該第二儲存區塊的單一個第二多階儲存單元僅用以儲存一位元的資料。In an embodiment of the above flash memory storage device, the single second multi-level storage unit of the second storage block is only used to store one-bit data.
上述快閃記憶體儲存裝置的一實施例,其中該第一儲存區塊的單一個第一多階儲存單元用以儲存兩位元或兩位元以上的資料。In an embodiment of the above flash memory storage device, a single first multi-level storage unit of the first storage block is configured to store data of two or more digits.
上述快閃記憶體儲存裝置的一實施例,其中該快閃記憶體的最大儲存空間為m,該第一儲存區塊21的儲存空間為n,而第二儲存區塊的儲存空間為(m-n)/2。In an embodiment of the above flash memory storage device, the maximum storage space of the flash memory is m, the storage space of the first storage block 21 is n, and the storage space of the second storage block is (mn )/2.
上述快閃記憶體儲存裝置的一實施例,包括有一開關單元用以控制資料被儲存在該第一儲存區塊或該第二儲存區塊內。An embodiment of the above flash memory storage device includes a switch unit for controlling data to be stored in the first storage block or the second storage block.
上述快閃記憶體儲存裝置的一實施例,包括有一開關單元,當該開關單元切換為第一模式時,資料將會被儲存在該第一儲存區塊和第二儲存區塊,而該開關單元切換為第二模式時,資料只將會被儲存在該第二儲存區塊。An embodiment of the above flash memory storage device includes a switch unit. When the switch unit is switched to the first mode, data is stored in the first storage block and the second storage block, and the switch When the unit is switched to the second mode, the data will only be stored in the second storage block.
上述快閃記憶體儲存裝置的一實施例,其中該開關單元為一硬體開關或一軟體程式開關。An embodiment of the above flash memory storage device, wherein the switch unit is a hardware switch or a software program switch.
上述快閃記憶體儲存裝置的一實施例,其中該第一儲存區塊及該第二儲存區塊可分別被定義成兩個不同的磁碟機。An embodiment of the above flash memory storage device, wherein the first storage block and the second storage block are respectively defined as two different disk drives.
上述快閃記憶體儲存裝置的一實施例,包括有一位址表,且該控制單元透過該位址表將資料儲存在該第一多階儲存單元或該第二多階儲存單元,或者是透過該位址表由該第一多階儲存單元或該第二多階儲存單元讀取資料。An embodiment of the flash memory storage device includes an address table, and the control unit stores data in the first multi-level storage unit or the second multi-level storage unit through the address table, or The address table reads data from the first multi-level storage unit or the second multi-level storage unit.
上述快閃記憶體儲存裝置的一實施例,其中該控制單元用以調整該第一儲存區塊及該第二儲存區塊的大小。In an embodiment of the flash memory storage device, the control unit is configured to adjust a size of the first storage block and the second storage block.
上述快閃記憶體儲存裝置的一實施例,其中該控制單元透過不同的儲存方式,將快閃記憶體區分成該第一儲存區塊及該第二儲存區塊。In an embodiment of the flash memory storage device, the control unit divides the flash memory into the first storage block and the second storage block through different storage modes.
上述快閃記憶體儲存裝置的一實施例,其中該第一多階儲存單元及該第二多階儲存單元皆為多階儲存單元。In an embodiment of the flash memory storage device, the first multi-level storage unit and the second multi-level storage unit are multi-level storage units.
上述快閃記憶體儲存裝置的一實施例,其中該第一多階儲存單元及該第二多階儲存單元皆為反及閘型快閃記憶體。In an embodiment of the flash memory storage device, the first multi-level storage unit and the second multi-level storage unit are both anti-gate type flash memory.
快閃記憶體包括有複數個儲存單元,並可將資料儲存在由浮閘電晶體組成的儲存單元陣列內,依據運作原理及儲存方式的不同,快閃記憶體可區分為單階儲存單元(Single-level cell,SLC)及多階儲存單元(Multi-level cell,MLC)。其中單一個多階儲存單元(MLC)能夠儲存兩個位元或兩個位元以上的資料,例如多階儲存單元(MLC)亦可為三階儲存單元(Triple-Level Cell,TLC),而單一個單階儲存單元(SLC)只能儲存一位元的資料。The flash memory includes a plurality of storage units, and the data can be stored in a storage unit array composed of floating gate crystals. The flash memory can be divided into single-stage storage units according to different operating principles and storage methods ( Single-level cell (SLC) and multi-level cell (MLC). A single multi-level storage unit (MLC) can store two or more bits of data, for example, a multi-level storage unit (MLC) can also be a third-level storage unit (TLC). A single single-stage storage unit (SLC) can only store one-digit data.
單階儲存單元(SLC)相較於多階儲存單元(MLC)具有較高的儲存速度、較長的使用壽命及較低的耗電。多階儲存單元(MLC)則具有較高的儲存密度,一般而言,相同儲存容量之多階儲存單元(MLC)的成本遠低於多階儲存單元(MLC)。Single-stage storage units (SLC) have higher storage speeds, longer service life, and lower power consumption than multi-stage storage units (MLCs). Multi-level storage units (MLCs) have higher storage densities. In general, multi-level storage units (MLCs) of the same storage capacity cost much less than multi-level storage units (MLCs).
廠商或使用者可以依據產品的需求或儲存資料的重要性來選擇適當的快閃記憶體儲存裝置,例如對智慧型手機來說,可使用單階儲存單元(SLC)作為手機內部的儲存裝置,並將手機的作業系統等較重要且使用較頻繁的資料儲存於其中,而多階儲存單元(MLC)則為可插拔的外接儲存裝置,藉此以降低手機之儲存裝置的製作成本。The manufacturer or the user can select an appropriate flash memory storage device according to the demand of the product or the importance of storing the data. For example, for a smart phone, a single-stage storage unit (SLC) can be used as a storage device inside the mobile phone. The more important and frequently used data such as the operating system of the mobile phone are stored therein, and the multi-level storage unit (MLC) is a pluggable external storage device, thereby reducing the manufacturing cost of the storage device of the mobile phone.
透過上述的方式雖然可選擇主機裝置內的儲存裝置,並避免重要的資料出現毀損的機率,但其在使用上仍有一定的不便利性,例如可攜式裝置內之單階儲存單元(SLC)及多階儲存單元(MLC)的大小皆為固定,無法隨著不同使用者或不同系統的需求來進行調變。此外,單階儲存單元(SLC)的設置亦會增加主機裝置的製作成本。Although the storage device in the host device can be selected in the above manner, and the probability of damage of important data is avoided, there is still some inconvenience in use, such as a single-stage storage unit in the portable device (SLC). And the size of the multi-level storage unit (MLC) is fixed and cannot be modulated with the needs of different users or different systems. In addition, the setting of the single-stage storage unit (SLC) also increases the manufacturing cost of the host device.
請參閱第1圖,為本發明快閃記憶體儲存裝置一實施例之方塊示意圖。如圖所示,本發明之快閃記憶體儲存裝置10包括有一控制單元15及至少一快閃記憶體12,其中快閃記憶體12內部設置有複數個多階儲存單元(MLC)。快閃記憶體12內的多階儲存單元(MLC)可區分成一第一儲存區塊11及一第二儲存區塊13,且第二儲存區塊13的儲存速度大於第一儲存區塊11。其中第一儲存區塊11包括有複數個第一多階儲存單元111,第二儲存區塊13則包括有複數個第二多階儲存單元131,並以控制單元15進行快閃記憶體12內之第一儲存區塊11及第二儲存區塊13之資料的讀取、儲存或抹除。Please refer to FIG. 1 , which is a block diagram of an embodiment of a flash memory storage device of the present invention. As shown, the flash memory storage device 10 of the present invention includes a control unit 15 and at least one flash memory 12, wherein the flash memory 12 is internally provided with a plurality of multi-level storage units (MLCs). The multi-level storage unit (MLC) in the flash memory 12 can be divided into a first storage block 11 and a second storage block 13, and the storage speed of the second storage block 13 is greater than that of the first storage block 11. The first storage block 11 includes a plurality of first multi-level storage units 111, and the second storage block 13 includes a plurality of second multi-level storage units 131, and is implemented in the flash memory 12 by the control unit 15. Reading, storing or erasing the data of the first storage block 11 and the second storage block 13.
本發明所述之快閃記憶體儲存裝置10主要以複數個多階儲存單元(MLC)形成快閃記憶體12,在製作過程中只需要透過一般多階儲存單元(MLC)的製作方法,便可完成快閃記憶體儲存裝置10內之快閃記憶體12的設置,藉此將可降低快閃記憶體儲存裝置10之硬體的製作成本。The flash memory storage device 10 of the present invention mainly forms the flash memory 12 by a plurality of multi-level storage units (MLC), and only needs to be processed by a general multi-level storage unit (MLC) during the production process. The setting of the flash memory 12 in the flash memory storage device 10 can be completed, whereby the manufacturing cost of the hardware of the flash memory storage device 10 can be reduced.
在本發明當中主要對快閃記憶體儲存裝置10內之第一儲存區塊11及第二儲存區塊13的儲存方式進行區分,例如第一儲存區塊11內之第一多階儲存單元111的儲存方式與一般的多階儲存單元(MLC)相同,並可於單一個第一多階儲存單元111內儲存兩位元或兩位元以上的資料,使得單一個第一多階儲存單元111可呈現出四種不同的存儲狀態,每種狀態代表兩個二進位數字值(00、01、10與11)。第二儲存區塊13內之第二多階儲存單元131的儲存方式則與一般的多階儲存單元(MLC)不同,其中單一個第二多階儲存單元131內僅用以儲存一位元的資料,也就是(0及1)。In the present invention, the storage manners of the first storage block 11 and the second storage block 13 in the flash memory storage device 10 are mainly distinguished, for example, the first multi-level storage unit 111 in the first storage block 11 The storage mode is the same as that of a general multi-level storage unit (MLC), and two or more bits of data may be stored in a single first multi-level storage unit 111, so that a single first-order storage unit 111 Four different storage states can be presented, each representing two binary digital values (00, 01, 10, and 11). The storage manner of the second multi-level storage unit 131 in the second storage block 13 is different from that of a general multi-level storage unit (MLC), wherein the single second multi-level storage unit 131 is only used to store one bit. Information, that is (0 and 1).
第二儲存區塊13內之第二多階儲存單元131的構造雖然與一般的多階儲存單元(MLC)相同,但在本發明中藉由上述儲存方式的改變,將可使得第二儲存區塊13內之第二多階儲存單元131的儲存方式與傳統的單階儲存單元(SLC)相似,藉此第二儲存區塊13之第二多階儲存單元131將會具有單階儲存單元(SLC)的優點及好處,例如第二儲存區塊13之第二多階儲存單元131相較於第一儲存區塊11內之第一多階儲存單元111而言,具有較快的儲存速度、較長的使用壽命及較少的工作電源消耗。The configuration of the second multi-level storage unit 131 in the second storage block 13 is the same as that of a general multi-level storage unit (MLC), but in the present invention, the second storage area can be made by the change of the storage mode described above. The second multi-level storage unit 131 in the block 13 is stored in a similar manner to the conventional single-stage storage unit (SLC), whereby the second multi-level storage unit 131 of the second storage block 13 will have a single-stage storage unit ( The advantages and benefits of the SLC), for example, the second multi-level storage unit 131 of the second storage block 13 has a faster storage speed than the first multi-level storage unit 111 in the first storage block 11 Longer service life and less power consumption.
快閃記憶體儲存裝置10可透過傳輸單元19與主機裝置17相連接,使得快閃記憶體儲存裝置10成為主機裝置17的儲存裝置。在使用時可將主機裝置17之作業系統的程式碼存放在第二儲存區塊13內,並使得第二儲存區塊13成為操作作業系統時之頻繁讀取和複寫的空間。由於第二儲存區塊13之第二多階儲存單元131具有較佳的儲存速度及使用壽命等優點,因此可有效提高主機裝置17之作業系統的速度及穩定性,並可避免操作作業系統時之頻繁讀取和複寫對第二儲存區塊13造成損壞。此外,快閃記憶體儲存裝置10是以傳統之多階儲存單元(MLC)的製作方法所製作,有利於降低主機裝置17內之快閃記憶體儲存裝置10的製作成本。The flash memory storage device 10 can be connected to the host device 17 through the transmission unit 19, so that the flash memory storage device 10 becomes the storage device of the host device 17. The code of the operating system of the host device 17 can be stored in the second storage block 13 during use, and the second storage block 13 becomes a space for frequent reading and rewriting when operating the operating system. Since the second multi-stage storage unit 131 of the second storage block 13 has the advantages of better storage speed and service life, the speed and stability of the operating system of the host device 17 can be effectively improved, and the operation system can be avoided. The frequent reading and rewriting causes damage to the second storage block 13. In addition, the flash memory storage device 10 is fabricated by a conventional multi-level storage unit (MLC) manufacturing method, which is advantageous for reducing the manufacturing cost of the flash memory storage device 10 in the host device 17.
第一儲存區塊11之第一多階儲存單元111及第二儲存區塊13之第二多階儲存單元131皆可為反及閘型快閃記憶體(NAND Flash)。此外,在使用時快閃記憶體儲存裝置10便如同有一個單階儲存單元(SLC)的儲存裝置和一個多階儲存單元(MLC)的儲存裝置。The first multi-level storage unit 111 of the first storage block 11 and the second multi-level storage unit 131 of the second storage block 13 can both be NAND Flash. In addition, the flash memory storage device 10 in use is like a storage device with a single-stage storage unit (SLC) and a storage device for a multi-level storage unit (MLC).
在實際應用時,作業系統可將第一儲存區塊11及第二儲存區塊13定義成同一個磁碟機,例如C磁碟機,並分別將不同類型的資料儲存在第一儲存區塊11或第二儲存區塊13。此外,亦可將第一儲存區塊11及第二儲存區塊13定義成兩個不同的磁碟機,例如第一儲存區塊11為D磁碟機,而第二儲存區塊13則為C磁碟機,使用者或廠商便可直接將作業系統安裝在C磁碟機,並將一般的資料儲存在D磁碟機。In practical applications, the operating system may define the first storage block 11 and the second storage block 13 as the same disk drive, such as a C drive, and store different types of data in the first storage block respectively. 11 or the second storage block 13. In addition, the first storage block 11 and the second storage block 13 may be defined as two different disk drives, for example, the first storage block 11 is a D disk drive, and the second storage block 13 is C drive, user or manufacturer can directly install the operating system on the C drive and store the general data on the D drive.
請參閱第2圖,為本發明快閃記憶體儲存裝置又一實施例之方塊示意圖。如圖所示,本發明之快閃記憶體儲存裝置20包括有一控制單元25及一快閃記憶體22,其中快閃記憶體22內部設置有複數個多階儲存單元(MLC),例如複數個第一多階儲存單元211及複數個第二多階儲存單元231雜散的分佈在快閃記憶體22中。Please refer to FIG. 2 , which is a block diagram of still another embodiment of the flash memory storage device of the present invention. As shown in the figure, the flash memory storage device 20 of the present invention comprises a control unit 25 and a flash memory 22, wherein the flash memory 22 is internally provided with a plurality of multi-level storage units (MLC), for example, a plurality of The first multi-level storage unit 211 and the plurality of second multi-level storage units 231 are spurred and distributed in the flash memory 22.
在本發明實施例中可將雜散分佈在快閃記憶體22內的第一多階儲存單元211及第二多階儲存單元231進行整合,並形成第一儲存區塊21及第二儲存區塊23。當然,在實際應用時亦可調配快閃記憶體22內之第一多階儲存單元211及第二多階儲存單元231的位置,例如可使得第一多階儲存單元211位於前段的位址,而第二多階儲存單元231則位於後段的位址。In the embodiment of the present invention, the first multi-level storage unit 211 and the second multi-stage storage unit 231 distributed in the flash memory 22 are integrated, and the first storage block 21 and the second storage area are formed. Block 23. Of course, the position of the first multi-level storage unit 211 and the second multi-level storage unit 231 in the flash memory 22 may be allocated in the actual application, for example, the first multi-level storage unit 211 may be located at the address of the previous segment. The second multi-level storage unit 231 is located at the address of the latter stage.
第一多階儲存單元211及第二多階儲存單元231具有不同的儲存方式,例如單一個第一多階儲存單元211內儲存兩位元或兩位元以上的資料,而單一個第二多階儲存單元231內僅用以儲存一位元的資料。The first multi-level storage unit 211 and the second multi-level storage unit 231 have different storage modes, for example, a single first-order storage unit 211 stores two-digit or two-digit data, and the second one is the second largest. The data storage unit 231 is only used to store data of one bit.
各個第一多階儲存單元211及第二多階儲存單元231的位址可匯整成位址表251,而控制單元25可經由位址表251得知第一多階儲存單元211及第二多階儲存單元231的位址,並透過位址表251將資料儲存在第一多階儲存單元211或第二多階儲存單元231,或者是由第一多階儲存單元211或第二多階儲存單元231讀取資料。此外,控制單元25亦可經由位址表251將不同類型的資料分別儲存在第一多階儲存單元211或第二多階儲存單元231內。例如可透過位址表251將主機裝置的作業系統儲存在後段位址之第二儲存區塊23的第二多階儲存單元231內,而其他的資料則儲存在前段位址之第一儲存區塊21的第一多階儲存單元211內。The addresses of the first multi-level storage unit 211 and the second multi-level storage unit 231 can be merged into the address table 251, and the control unit 25 can learn the first multi-level storage unit 211 and the second through the address table 251. The address of the multi-level storage unit 231 is stored in the first multi-level storage unit 211 or the second multi-level storage unit 231 through the address table 251, or is the first multi-level storage unit 211 or the second multi-stage The storage unit 231 reads the data. In addition, the control unit 25 may also store different types of data in the first multi-level storage unit 211 or the second multi-level storage unit 231 via the address table 251. For example, the operating system of the host device can be stored in the second multi-level storage unit 231 of the second storage block 23 of the rear-end address through the address table 251, and other data is stored in the first storage area of the previous address. Within the first multi-level storage unit 211 of block 21.
本發明所述之快閃記憶體22的總容量為固定值,而第一儲存區塊21及第二儲存區塊23的儲存容量或比例亦可為固定值,並於快閃記憶體儲存裝置20出廠時便完成兩者大小的規劃。The total capacity of the flash memory 22 of the present invention is a fixed value, and the storage capacity or ratio of the first storage block 21 and the second storage block 23 can also be a fixed value, and is in a flash memory storage device. 20 The plan for both sizes is completed at the factory.
為了提高使用時的便利性,快閃記憶體22內之第一儲存區塊21及第二儲存區塊23的儲存容量或比例亦可為不固定值。在快閃記憶體22的總容量為固定值的前提之下,下游廠商或使用者可自行調整或規劃第一儲存區塊21及第二儲存區塊23的儲存容量。In order to improve the convenience in use, the storage capacity or ratio of the first storage block 21 and the second storage block 23 in the flash memory 22 may also be an unfixed value. Under the premise that the total capacity of the flash memory 22 is a fixed value, the downstream manufacturer or the user can adjust or plan the storage capacity of the first storage block 21 and the second storage block 23 by themselves.
在本發明一實施例中,可透過軟體程式控制控制單元25以不同的儲存方式將資料分別儲存在快閃記憶體22的複數個多階儲存單元211/231內,使得快閃記憶體22內的多階儲存單元211/231被區分成第一儲存區塊21及第二儲存區塊23。此外,亦可以控制單元25調整第一儲存區塊21及第二儲存區塊23的大小,例如快閃記憶體22包括有複數個多階儲存單元(MLC),且其最大的儲存空間為m,在應用時控制單元25可將一定數量的多階儲存單元(MLC)規劃成第一儲存區塊21,且控制單元25於單一個第一多階儲存單元211內儲存兩位元的資料,其中第一儲存區塊21的儲存空間為n,而剩餘的儲存空間則規劃為第二儲存區塊23,控制單元25於單一個第二多階儲存單元231內僅儲存一位元的資料,使得第二儲存區塊23的儲存空間為(m-n)/2,換言之,第二儲存區塊23將只能儲存(m-n)/2的資料。In an embodiment of the present invention, the software program control unit 25 can store the data in the plurality of multi-level storage units 211 / 231 of the flash memory 22 in different storage manners, so that the flash memory 22 is The multi-level storage unit 211 / 231 is divided into a first storage block 21 and a second storage block 23 . In addition, the control unit 25 can also adjust the size of the first storage block 21 and the second storage block 23. For example, the flash memory 22 includes a plurality of multi-level storage units (MLC), and the maximum storage space is m. At the time of application, the control unit 25 may plan a certain number of multi-level storage units (MLCs) into the first storage block 21, and the control unit 25 stores the two-dimensional data in the single first multi-level storage unit 211. The storage space of the first storage block 21 is n, and the remaining storage space is planned as the second storage block 23. The control unit 25 stores only one bit of data in the single second multi-level storage unit 231. The storage space of the second storage block 23 is made to be (mn)/2, in other words, the second storage block 23 will only store data of (mn)/2.
除此之外亦可透過一開關單元253用以控制資料被儲存在第一儲存區塊21或第二儲存區塊23內,例如開關單元253可為一硬體開關或一軟體程式開關,當開關單元253被切換為第一模式時,被傳輸到快閃記憶體儲存裝置20的資料將會被儲存在第一儲存區塊21及第二儲存區塊23內,或只被儲存在第一儲存區塊21,而當開關單元253被切換為第二模式時,被傳輸到快閃記憶體儲存裝置20的資料將只會被儲存在第二儲存區塊23內。In addition, a switch unit 253 can be used to control the data to be stored in the first storage block 21 or the second storage block 23. For example, the switch unit 253 can be a hardware switch or a software program switch. When the switch unit 253 is switched to the first mode, the data transferred to the flash memory storage device 20 will be stored in the first storage block 21 and the second storage block 23, or only stored in the first mode. The block 21 is stored, and when the switch unit 253 is switched to the second mode, the data transferred to the flash memory storage device 20 will only be stored in the second storage block 23.
以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍,即凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, that is, the variations, modifications, and modifications of the shapes, structures, features, and spirits described in the claims of the present invention. All should be included in the scope of the patent application of the present invention.
10...快閃記憶體儲存裝置10. . . Flash memory storage device
11...第一儲存區塊11. . . First storage block
111...第一多階儲存單元111. . . First multi-level storage unit
12...快閃記憶體12. . . Flash memory
13...第二儲存區塊13. . . Second storage block
131...第二多階儲存單元131. . . Second multi-level storage unit
15...控制單元15. . . control unit
17...主機裝置17. . . Host device
19...傳輸單元19. . . Transmission unit
20...快閃記憶體儲存裝置20. . . Flash memory storage device
21...第一儲存區塊twenty one. . . First storage block
211...第一多階儲存單元211. . . First multi-level storage unit
22...快閃記憶體twenty two. . . Flash memory
23...第二儲存區塊twenty three. . . Second storage block
231...第二多階儲存單元231. . . Second multi-level storage unit
25...控制單元25. . . control unit
251...位址表251. . . Address table
253...開關單元253. . . Switch unit
第1圖:為本發明快閃記憶體儲存裝置一實施例之方塊示意圖;及1 is a block diagram showing an embodiment of a flash memory storage device of the present invention; and
第2圖:為本發明快閃記憶體儲存裝置又一實施例之方塊示意圖。Figure 2 is a block diagram showing still another embodiment of the flash memory storage device of the present invention.
10...快閃記憶體儲存裝置10. . . Flash memory storage device
11...第一儲存區塊11. . . First storage block
111...第一多階儲存單元111. . . First multi-level storage unit
12...快閃記憶體12. . . Flash memory
13...第二儲存區塊13. . . Second storage block
131...第二多階儲存單元131. . . Second multi-level storage unit
15...控制單元15. . . control unit
17...主機裝置17. . . Host device
19...傳輸單元19. . . Transmission unit
Claims (14)
至少一快閃記憶體,包括有:
至少一第一儲存區塊,包括有複數個第一多階儲存單元 ;
至少一第二儲存區塊,包括有複數個第二多階儲存單元 ,其中該第二儲存區塊的儲存速度大於該第一儲存區 塊;及
一控制單元,用以進行該第一儲存區塊及該第二儲存區塊 內之資料的讀取、儲存或抹除。A flash memory storage device includes:
At least one flash memory, including:
At least one first storage block, including a plurality of first multi-level storage units;
The at least one second storage block includes a plurality of second multi-level storage units, wherein the second storage block has a storage speed greater than the first storage block; and a control unit is configured to perform the first storage area Reading, storing or erasing the data in the block and the second storage block.
至少一快閃記憶體,包括有:
至少一第一儲存區塊,包括有複數個第一多階儲存單元 ,其中該單一個第一多階儲存單元用以儲存兩位元或 兩位元以上的資料;
至少一第二儲存區塊,包括有複數個第二多階儲存單元 ,其中該單一個第二多階儲存單元僅用以儲存一位元 的資料;及
一控制單元,用以進行該第一儲存區塊及該第二儲存區塊 內之資料的讀取、儲存或抹除。A flash memory storage device includes:
At least one flash memory, including:
The at least one first storage block includes a plurality of first multi-level storage units, wherein the single first multi-level storage unit is configured to store data of two or more digits;
At least one second storage block includes a plurality of second multi-level storage units, wherein the single second multi-level storage unit is only used to store one-bit data; and a control unit is configured to perform the first Reading, storing or erasing the data in the storage block and the second storage block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100130267A TW201310237A (en) | 2011-08-24 | 2011-08-24 | Flash memory storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100130267A TW201310237A (en) | 2011-08-24 | 2011-08-24 | Flash memory storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201310237A true TW201310237A (en) | 2013-03-01 |
Family
ID=48481980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW100130267A TW201310237A (en) | 2011-08-24 | 2011-08-24 | Flash memory storage device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201310237A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9804968B2 (en) | 2014-06-05 | 2017-10-31 | Acer Incorporated | Storage system and data writing method |
US9940058B2 (en) | 2016-02-17 | 2018-04-10 | Silicon Motion, Inc. | Data storage device and data maintenance method thereof |
CN109992525A (en) * | 2019-04-01 | 2019-07-09 | 合肥沛睿微电子股份有限公司 | Flash memory control |
-
2011
- 2011-08-24 TW TW100130267A patent/TW201310237A/en unknown
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9804968B2 (en) | 2014-06-05 | 2017-10-31 | Acer Incorporated | Storage system and data writing method |
US9940058B2 (en) | 2016-02-17 | 2018-04-10 | Silicon Motion, Inc. | Data storage device and data maintenance method thereof |
CN109992525A (en) * | 2019-04-01 | 2019-07-09 | 合肥沛睿微电子股份有限公司 | Flash memory control |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9098395B2 (en) | Logical block management method for a flash memory and control circuit storage system using the same | |
TWI471862B (en) | Flash memory controller | |
US8103820B2 (en) | Wear leveling method and controller using the same | |
CN104102585B (en) | Mapping information recording method, memory controller and memory storage device | |
US8037232B2 (en) | Data protection method for power failure and controller using the same | |
US8055837B2 (en) | Data writing method for non-volatile memory and controller using the same | |
US8296507B2 (en) | Memory management and writing method and rewritable non-volatile memory controller and storage system using the same | |
US20090089485A1 (en) | Wear leveling method and controller using the same | |
US9665481B2 (en) | Wear leveling method based on timestamps and erase counts, memory storage device and memory control circuit unit | |
US8275931B2 (en) | Block management method for flash memory, and storage system and controller using the same | |
US7649794B2 (en) | Wear leveling method and controller using the same | |
US9639463B1 (en) | Heuristic aware garbage collection scheme in storage systems | |
US9274943B2 (en) | Storage unit management method, memory controller and memory storage device using the same | |
US8489942B1 (en) | Memory management method, and memory controller and memory storage device using the same | |
CN101640069B (en) | Average wear method and average wear system for flash memory | |
US20230056216A1 (en) | Configuring partitions of a memory sub-system for different data | |
CN111158579B (en) | Solid state hard disk and its data access method | |
US8037236B2 (en) | Flash memory writing method and storage system and controller using the same | |
US20130332653A1 (en) | Memory management method, and memory controller and memory storage device using the same | |
US9383929B2 (en) | Data storing method and memory controller and memory storage device using the same | |
CN104765569A (en) | Data writing method, memory control circuit unit and memory storage device | |
US8943264B2 (en) | Data storing method, and memory controller and memory storage apparatus using the same | |
US8423707B2 (en) | Data access method for flash memory and storage system and controller using the same | |
CN204332379U (en) | Memory controller and solid-state drive for non-volatile memory | |
US8417909B2 (en) | Block management and data writing method, and flash memory storage system and controller using the same |