TWI585586B - Data acquisition device and method thereof - Google Patents

Data acquisition device and method thereof Download PDF

Info

Publication number
TWI585586B
TWI585586B TW100139522A TW100139522A TWI585586B TW I585586 B TWI585586 B TW I585586B TW 100139522 A TW100139522 A TW 100139522A TW 100139522 A TW100139522 A TW 100139522A TW I585586 B TWI585586 B TW I585586B
Authority
TW
Taiwan
Prior art keywords
storage
data
block
blocks
storage block
Prior art date
Application number
TW100139522A
Other languages
Chinese (zh)
Other versions
TW201317786A (en
Inventor
Guo-He Huang
Rui-Lin Yan
Zheng-Zhong Ye
jun-qi Ye
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 filed Critical
Priority to TW100139522A priority Critical patent/TWI585586B/en
Publication of TW201317786A publication Critical patent/TW201317786A/en
Application granted granted Critical
Publication of TWI585586B publication Critical patent/TWI585586B/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Description

資料擷取裝置及其方法 Data acquisition device and method thereof

本發明係有關於一種資料處理裝置及其方法,尤其是指一種資料擷取裝置及其方法。 The present invention relates to a data processing apparatus and method thereof, and more particularly to a data extraction apparatus and method thereof.

隨著科技的蓬勃發展,對於資料儲存容量之需求係日益增加。用以儲存資料的非依電性記憶體(Non-volatile memory,或稱為非揮發性記憶體)中,快閃記憶體(Flash memory)具有高儲存密度、低耗電特性、有效的存取效率與合理價格成本等優點,因此,已成為時下主流的儲存媒體。而結構緊實的快閃記憶體係利於設置於電子裝置內,包括數位相機、數位錄放影機、數位音樂播放機、手持式個人電腦、與定位導航裝置等,或者製作為記憶卡與隨身碟等儲存裝置上。 With the rapid development of technology, the demand for data storage capacity is increasing. In non-volatile memory (or non-volatile memory) for storing data, flash memory has high storage density, low power consumption, and effective access. Efficiency and reasonable price and other advantages, therefore, has become the mainstream storage medium. The compact flash memory system is conveniently installed in electronic devices, including digital cameras, digital video recorders, digital music players, handheld personal computers, and navigation devices, or as memory cards and flash drives. On the storage device.

快閃記憶體在電源關閉時仍可保存先前寫入的資料。與其他儲存媒體(如硬碟、軟碟或磁帶等)比較,快閃記憶體有體積小、重量輕、防震動、存取時無機械動作延遲與低耗電等特性。由於快閃記憶體的這些特性,因此近年來消費性電子產品、嵌入式系統或可攜式電腦等資料儲存媒體皆大量採用。 The flash memory can still save previously written data when the power is turned off. Compared with other storage media (such as hard disk, floppy disk or tape), the flash memory has the characteristics of small size, light weight, anti-vibration, no mechanical action delay and low power consumption during access. Due to these characteristics of flash memory, in recent years, data storage media such as consumer electronics, embedded systems or portable computers have been widely adopted.

快閃記憶體主要可分兩種:NOR型快閃記憶體與NAND型快閃記憶體。NOR型快閃記憶體的優點為低電壓、存取快且穩定性高,因此已被大量應用於可攜式電子裝置及電子通言訊裝置,諸如個人電腦(Personal Computer,PC)、行動電話、個人數位助理 (Personal Digital Assistance,PDA)以及轉頻器(Set-top Box,STB)等。NAND型快閃記憶體是專門為資料儲存用途而設計之快閃記憶體,通常應用於儲存並保存大量的資料的儲存媒介,如可攜式記憶卡(SD Memory Card,Compact Flash Card,Memory Stick等等)。 There are two main types of flash memory: NOR flash memory and NAND flash memory. NOR-type flash memory has the advantages of low voltage, fast access and high stability, so it has been widely used in portable electronic devices and electronic communication devices, such as personal computers (PCs), mobile phones. Personal digital assistant (Personal Digital Assistance, PDA) and a set-top box (STB). NAND flash memory is a flash memory designed for data storage. It is usually used as a storage medium for storing and storing large amounts of data, such as a portable memory card (SD Memory Card, Compact Flash Card, Memory Stick). and many more).

然而,快閃記憶體在硬體製程上的特性,造成兩項使用上的限制,(1)快閃記憶體中的儲存區塊所儲存的資料經過一段長時間沒更新該資料時,該記憶單元所儲存的電荷則會有漏電的可能,如此則會造成資料遺失;(2)在快閃記憶體中的每一儲存區塊皆有抹除次數的限制,當某一快閃記憶體區塊寫入/抹除週期超過一上限值時,該儲存區塊內的資料可靠度會急速下降且舊有的快閃記憶體控制器主要控制邏輯區塊與實體區塊間的對應原理,而對於平均化每一儲存區塊的抹除次數並無特別設計,因而容易使得每一儲存區塊使用不均,而造成整個快閃記憶體的壽命減短。另一方面對於儲存於快閃記憶體中的資料,經過長時間,若不對其做一些特別處理,例如:重新程式化,亦容易有長時間資料保存之問題,然而,即使解決了均勻抹除資料不平均的問題,快閃記憶體仍然有快閃記憶體容易漏電而造成資料遺失的問題,因此為了確保資料完整,而不易受到因儲存區塊漏電使得資料遺失,所以避免漏電之影響為現今快閃記憶體之一大重要課題。 However, the characteristics of the flash memory in the hard process process cause two restrictions on use. (1) The data stored in the storage block in the flash memory does not update the data after a long period of time. The charge stored in the unit may have leakage potential, which may result in loss of data; (2) each storage block in the flash memory has a limit on the number of erasures, when a flash memory area When the block write/erase cycle exceeds an upper limit, the reliability of the data in the storage block will drop rapidly and the old flash memory controller mainly controls the correspondence between the logical block and the physical block. However, there is no special design for averaging the number of erasures of each storage block, so that it is easy to make each storage block use unevenly, and the life of the entire flash memory is shortened. On the other hand, for a long time, if the data stored in the flash memory is not specially processed, for example, reprogramming, it is easy to save the data for a long time. However, even if the uniform erase is solved The problem of uneven data, flash memory still has the problem that the flash memory is easy to leak and the data is lost. Therefore, in order to ensure the data is complete and not vulnerable to data loss due to leakage of the storage block, the impact of avoiding leakage is nowadays. One of the most important topics in flash memory.

因此,本發明即在針對上述問題而提出一種資料擷取裝置及其方法,不僅可改善上述習用缺點,又可達到使每一區塊能均勻抹除與長時間資料保存之功能,以解決上述問題。 Therefore, the present invention provides a data capturing device and a method thereof for solving the above problems, which not only can improve the above-mentioned conventional disadvantages, but also can achieve the function of uniformly erasing each block and storing data for a long time, so as to solve the above problem. problem.

本發明目的之一,在於提供一種資料擷取裝置及其方法,其藉由控制器偵測儲存區塊之至少一儲存區塊的一儲存狀態,而達到使每一儲存區塊能長時間資料保存功能之目的。 An object of the present invention is to provide a data capture device and a method thereof, which can detect a storage state of at least one storage block of a storage block by using a controller to achieve long-term data for each storage block. The purpose of saving the function.

本發明之目的之一,在於提供一種資料擷取裝置及其方法,其藉由控制器依據一參考儲存時間比較一儲存驅動的一儲存時間,得知該儲存區塊之該資料的儲存時間是否超過該門檻值,達到使每一儲存區塊能均勻抹除之目的。 An object of the present invention is to provide a data capture device and a method thereof, wherein the controller compares a storage time of a storage drive according to a reference storage time, and knows whether the storage time of the data of the storage block is Exceeding the threshold value, the purpose of uniformly erasing each storage block is achieved.

本發明之目的之一,在於提供一種資料擷取裝置及其方法,其藉由一控制器判斷儲存區塊讀取/寫入該資料的次數小於一參考讀取/寫入次數,則判斷該儲存區塊之資料的儲存時間超過門檻值,達到使每一儲存區塊能均勻抹除之目的。 An object of the present invention is to provide a data capture device and a method thereof, which are determined by a controller determining that the number of times the storage block reads/writes the data is less than a reference read/write count. The storage time of the data of the storage block exceeds the threshold value, so that each storage block can be evenly erased.

本發明為一種資料擷取裝置及其方法,其包含一儲存單元、一控制器,儲存單元包含複數儲存區塊,分別儲存至少一資料,控制器儲存資料並偵測儲存區塊之一儲存狀態,控制器依據該些儲存區塊之至少一儲存區塊之儲存狀態而讀取資料而儲存至其他儲存區塊,如此,即可達到使每一區塊能均勻抹除與長時間資料保存功能之目的。 The present invention relates to a data capture device and a method thereof, including a storage unit and a controller. The storage unit includes a plurality of storage blocks, respectively storing at least one data, and the controller stores the data and detects the storage state of one of the storage blocks. The controller reads the data according to the storage state of at least one storage block of the storage blocks and stores the data to other storage blocks, so that each block can be uniformly erased and the data storage function is saved for a long time. The purpose.

再者,該本發明之資料擷取裝置的控制器依據至少一參考狀態,比較每一儲存區塊之儲存狀態,得知每一該儲存區塊之資料的儲存時間是否超過一門檻值,其中,參考狀態為一參考儲存時間,儲存狀態為資料儲存於儲存區塊的一儲存時間,控制器依據參考儲存時間比較儲存時間,得知儲存區塊之資料的儲存時間是否超過門檻值,而可達到使每一區塊能均勻抹除與長時間資料保存功能之目的。 Furthermore, the controller of the data capture device of the present invention compares the storage status of each storage block according to at least one reference state, and knows whether the storage time of the data of each storage block exceeds a threshold value, wherein The reference state is a reference storage time, and the storage state is a storage time in which the data is stored in the storage block. The controller compares the storage time according to the reference storage time, and knows whether the storage time of the data of the storage block exceeds the threshold value, but It achieves the purpose of making each block evenly erased and long-term data storage function.

又,上述參考狀態為一參考讀取/寫入次數,而儲存狀態為 儲存區塊讀取/寫入資料的次數,控制器判斷儲存區塊讀取/寫入資料的次數小於參考讀取/寫入次數,則判斷儲存區塊之資料的儲存時間超過門檻值,而可達到使每一區塊能均勻抹除與長時間資料保存功能之目的。 Moreover, the reference state is a reference read/write count, and the storage state is The number of times the storage block reads/writes data, and the controller determines that the number of times the storage block reads/writes data is less than the reference read/write times, and determines that the storage time of the data of the storage block exceeds the threshold value, and It can achieve the purpose of making each block evenly erased and long-term data storage function.

茲為使 貴審查委員對本發明之技術特徵及所達成之功效更有進一步之瞭解與認識,謹佐以較佳之實施例圖及配合詳細之說明,說明如後: In order to give the reviewer a better understanding and understanding of the technical features of the present invention and the efficacies achieved, the following is a description of the preferred embodiment and a detailed description.

10‧‧‧資料擷取裝置 10‧‧‧ data acquisition device

102‧‧‧資料 102‧‧‧Information

104‧‧‧資料 104‧‧‧Information

106‧‧‧資料 106‧‧‧Information

12‧‧‧控制器 12‧‧‧ Controller

14‧‧‧儲存單元 14‧‧‧storage unit

141‧‧‧第一分割區 141‧‧‧First partition

142A‧‧‧第一儲存區塊 142A‧‧‧First storage block

142B‧‧‧第一儲存區塊 142B‧‧‧First storage block

142C‧‧‧第一儲存區塊 142C‧‧‧First storage block

142D‧‧‧第一儲存區塊 142D‧‧‧First storage block

142E‧‧‧第一儲存區塊 142E‧‧‧First storage block

142F‧‧‧第一儲存區塊 142F‧‧‧First storage block

142G‧‧‧第一儲存區塊 142G‧‧‧First storage block

142H‧‧‧第一儲存區塊 142H‧‧‧First storage block

143‧‧‧第二分割區 143‧‧‧Second division

144A‧‧‧第二儲存區塊 144A‧‧‧Second storage block

144B‧‧‧第二儲存區塊 144B‧‧‧Second storage block

144C‧‧‧第二儲存區塊 144C‧‧‧Second storage block

144D‧‧‧第二儲存區塊 144D‧‧‧Second storage block

144E‧‧‧第二儲存區塊 144E‧‧‧Second storage block

144F‧‧‧第二儲存區塊 144F‧‧‧Second storage block

144G‧‧‧第二儲存區塊 144G‧‧‧Second storage block

144H‧‧‧第二儲存區塊 144H‧‧‧Second storage block

16‧‧‧對照表 16‧‧‧ comparison table

20‧‧‧主機 20‧‧‧Host

第一圖係本發明之資料擷取裝置之一較佳實施例之方塊圖;第二A圖係本發明之資料擷取裝置之儲存狀態之一較佳實施例之方塊圖;第二B圖係本發明之資料擷取裝置之儲存狀態之另一較佳實施例之方塊圖;第三A圖係本發明之資料擷取裝置之儲存狀態之另一較佳實施例之方塊圖;第三B圖係本發明之資料擷取裝置之儲存狀態之另一較佳實施例之方塊圖;第四A圖係本發明之資料擷取裝置之儲存狀態之另一較佳實施例之方塊圖;第四B圖係本發明之資料擷取裝置之儲存狀態之另一較佳實施例之方塊圖;第五A圖係本發明之資料擷取裝置之儲存狀態之另一較佳實施例之方塊圖;第五B圖係本發明之資料擷取裝置之儲存狀態之另一較佳實施例 之方塊圖;第六圖係本發明之資料擷取裝置之另一較佳實施例之方塊圖;以及第七圖係本發明之資料擷取方法之一較佳實施例之流程圖。 1 is a block diagram of a preferred embodiment of a data capture device of the present invention; and FIG. 2A is a block diagram of a preferred embodiment of a storage state of the data capture device of the present invention; A block diagram of another preferred embodiment of the storage state of the data capture device of the present invention; FIG. 3A is a block diagram of another preferred embodiment of the storage state of the data capture device of the present invention; Figure 4 is a block diagram of another preferred embodiment of the storage state of the data capture device of the present invention; and Figure 4A is a block diagram of another preferred embodiment of the storage state of the data capture device of the present invention; Figure 4B is a block diagram of another preferred embodiment of the storage state of the data capture device of the present invention; and Figure 5A is a block diagram of another preferred embodiment of the storage state of the data capture device of the present invention. Figure 5 is a further preferred embodiment of the storage state of the data capture device of the present invention. Figure 6 is a block diagram of another preferred embodiment of the data acquisition device of the present invention; and a seventh embodiment is a flow chart of a preferred embodiment of the data acquisition method of the present invention.

首先,請參閱第一圖,其為本發明之資料擷取裝置之一較佳實施例之方塊圖。如圖所示,本發明之資料擷取裝置10包含一控制器12與一儲存單元14,其中儲存單元14包含一第一分割區域141與一第二分割區域143。第一分割區域141包含複數第一儲存區塊142A-142H,而第二分割區域143包含複數第二儲存區塊144A-144H。此外,資料擷取裝置10更包含一對照表16。 First, please refer to the first figure, which is a block diagram of a preferred embodiment of the data capture device of the present invention. As shown in the figure, the data capture device 10 of the present invention includes a controller 12 and a storage unit 14, wherein the storage unit 14 includes a first divided area 141 and a second divided area 143. The first divided area 141 includes a plurality of first storage blocks 142A-142H, and the second divided area 143 includes a plurality of second storage blocks 144A-144H. In addition, the data capture device 10 further includes a look-up table 16.

本實施例之資料擷取裝置10係連接至主機20,以傳送資料至主機20或接收主機20所傳送之資料,控制器12係連接儲存單元14,用以儲存資料至該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H,並偵測該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之儲存狀態,且控制器12更可依據主機20之讀取命令將該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之其中至少一儲存區塊所儲存之資料讀取至主機20。 The data capture device 10 of the embodiment is connected to the host 20 for transmitting data to the host 20 or receiving data transmitted by the host 20. The controller 12 is connected to the storage unit 14 for storing data to the first storage areas. Blocks 142A-142H and the second storage blocks 144A-144H, and detecting the storage states of the first storage blocks 142A-142H and the second storage blocks 144A-144H, and the controller 12 is further The data stored in the first storage blocks 142A-142H and the at least one of the second storage blocks 144A-144H are read to the host 20 according to the read command of the host 20.

承接上述,控制器12依據該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之至少一儲存區塊之該儲存狀態而讀取資料並儲存至其他儲存區塊,如此,即可達到使每一儲存區塊能均勻抹除與長時間資料保存功能之目的。其中,控制器12係針對一參考狀態進行比較,以比較每一第一儲存區塊142A-142H與每一第二儲存區塊144A-144H之儲存狀態,進而得知每一第一儲 存區塊142A-142H或每一第二儲存區塊144A-144H之資料的儲存時間是否超過一門檻值,而讀取資料並儲存至其他儲存區塊。 In response to the above, the controller 12 reads data according to the storage state of the first storage blocks 142A-142H and the at least one storage block of the second storage blocks 144A-144H and stores the data in other storage blocks. In this way, the purpose of uniformly erasing and storing the data storage function for each storage block can be achieved. The controller 12 compares a reference state to compare the storage state of each of the first storage blocks 142A-142H and each of the second storage blocks 144A-144H, thereby learning each first storage. Whether the storage time of the data of the storage blocks 142A-142H or each of the second storage blocks 144A-144H exceeds a threshold value, and the data is read and stored in other storage blocks.

請一併參閱第二A圖與第二B圖,其為本發明之資料擷取裝置之儲存狀態之一較佳實施例與另一較佳實施例之示意圖。如圖所示,本發明之資料擷取裝置10之每一儲存區塊142A-142H、144A-144H之儲存狀態為資料之儲存時間,控制器12係以一參考儲存時間作為參考狀態,藉此依據參考狀態針對每一儲存區塊142A-142H、144A-144H進行比較,而判斷該儲存區塊之該資料的儲存時間是否超過該門檻值,也就是控制器12一旦將資料存入該些儲存區塊之其中一儲存區塊時或是每隔一段時間,控制器12隨即依據參考狀態比較資料所存入之一儲存區塊之儲存狀態,以確認是否將資料搬移至其他儲存區塊,以避免漏電影響資料擷取裝置10,而造成漏電影響到儲存裝置10之資料存取,並避免資料遺失的問題。 Please refer to FIG. 2A and FIG. 2B together, which are schematic diagrams of a preferred embodiment and another preferred embodiment of the storage state of the data capture device of the present invention. As shown in the figure, the storage state of each storage block 142A-142H, 144A-144H of the data capture device 10 of the present invention is the storage time of the data, and the controller 12 uses a reference storage time as a reference state. Comparing each storage block 142A-142H, 144A-144H according to the reference state, and determining whether the storage time of the data of the storage block exceeds the threshold value, that is, the controller 12 stores the data into the storage. When one of the blocks stores the block or at intervals, the controller 12 then compares the storage status of one of the storage blocks according to the reference status to confirm whether to move the data to another storage block. The leakage of electricity is prevented from affecting the data capture device 10, and the leakage causes the data access of the storage device 10 to be affected, and the problem of data loss is avoided.

復參閱第二A圖,第一分割區141之第一儲存區塊142B之資料儲存時間為1秒,而相鄰之第一儲存區塊142A的資料儲存時間為0.5秒,另一相鄰之第一儲存區塊142C為0.7秒,因此第一儲存區塊142B之參考儲存時間為相鄰之儲存區塊的資料儲存時間平均值,也就是0.6秒,如此,第一儲存區塊142B已超過參考儲存時間,因此控制器12將第一儲存區塊142B所儲存之資料102讀取出並儲存至第一儲存區塊142H。如此,可避免資料102儲存於第一儲存區塊142B過久而漏電造成資料遺失的問題。同理,復參閱第二B圖,第一儲存區塊142D對應資料104之資料儲存時間為0.4秒,第一儲存區塊142C為0.5秒,第一儲存區塊142E為0.7秒,因此第一儲存區塊142D之相鄰儲存區塊的平均儲存時間為0.6秒,而第 一儲存區塊142D之儲存時間小於0.6秒,所以第一儲存區142C所儲存之資料不須搬移。 Referring to FIG. 2A, the data storage time of the first storage block 142B of the first partition 141 is 1 second, and the data storage time of the adjacent first storage block 142A is 0.5 seconds, and another adjacent one. The first storage block 142C is 0.7 seconds, so the reference storage time of the first storage block 142B is the average value of the data storage time of the adjacent storage block, that is, 0.6 seconds. Thus, the first storage block 142B has exceeded Referring to the storage time, the controller 12 reads out and stores the data 102 stored in the first storage block 142B to the first storage block 142H. In this way, the problem that the data 102 is stored in the first storage block 142B for a long time and the data is lost due to leakage is avoided. Similarly, referring to FIG. 2B, the data storage time of the first storage block 142D corresponding to the data 104 is 0.4 seconds, the first storage block 142C is 0.5 seconds, and the first storage block 142E is 0.7 seconds, so the first The average storage time of the adjacent storage blocks of the storage block 142D is 0.6 seconds, and the The storage time of a storage block 142D is less than 0.6 seconds, so the data stored in the first storage area 142C does not need to be moved.

請一併參閱第三A圖與第三B圖,其為本發明之資料擷取裝置之儲存狀態之另一較佳實施例之示意圖。其中第二A圖至第二B圖與第三A圖誌第三B圖之差異在於第二A圖至第二B圖以受測之儲存區塊的相鄰儲存區塊的儲存時間的平均值作為參考儲存時間,以比較受偵測之儲存區塊,而第三A圖至第三B圖以預設之單一參考儲存時間分別比較每一儲存區塊的儲存時間。如圖所示,本發明之資料擷取裝置10更預設一參考儲存時間為參考狀態,控制器12統一依據預設之參考儲存時間比較受偵測之每一儲存區塊的儲存時間,以判斷每一儲存區塊之資料的儲存時間是否超過參考儲存時間,而決定儲存區塊之資料的儲存時間超過門檻值(參考儲存時間),進而判斷是否將資料搬移至其他儲存區塊,其中本實施例係將該預設之參考儲存時間設置於控制器12中,但本發明並不限於此,更可將該預設之參考儲存時間設置於其他儲存元件中,例如:儲存單元14或儲存裝置10之系統記憶體(圖未示)中。 Please refer to FIG. 3A and FIG. 3B together, which are schematic diagrams of another preferred embodiment of the storage state of the data capture device of the present invention. The difference between the second A picture to the second B picture and the third A picture 3th B picture is that the second A picture to the second B picture are averaged by the storage time of the adjacent storage blocks of the tested storage block. The value is used as a reference storage time to compare the detected storage blocks, and the third to third panels B compare the storage time of each storage block with a preset single reference storage time. As shown in the figure, the data capture device 10 of the present invention further presets a reference storage time as a reference state, and the controller 12 uniformly compares the storage time of each of the detected storage blocks according to the preset reference storage time. Determining whether the storage time of the data of each storage block exceeds the reference storage time, and determining whether the storage time of the data of the storage block exceeds the threshold (refer to the storage time), thereby determining whether to move the data to other storage blocks, wherein The embodiment sets the preset reference storage time in the controller 12, but the present invention is not limited thereto, and the preset reference storage time may be set in other storage elements, such as: storage unit 14 or storage. System memory (not shown) of device 10.

復參閱第三A圖,控制器12所預設之參考儲存時間為0.5秒,第一分割區141之第一儲存區塊142A為0.5秒,第一儲存區塊142B之資料儲存時間為1秒,第一儲存區塊142C為0.7秒,因此第一儲存區塊142B與第一儲存區塊142C之儲存時間超過預設之參考儲存時間0.5秒,因此控制器12將第一儲存區塊142A所儲存之第一資料102維持不動,並將第一儲存區塊142B所儲存之第二資料104讀取出並儲存至第一儲存區塊142H以及將第一儲存區塊142C所儲存之第三資料106讀取出並儲存至第二儲存區塊144B。如此,可避免第一資料102與第二資料儲存於儲存區塊之儲存時間過久而受 到漏電影響,進而避免資料遺失的問題。 Referring to FIG. 3A, the reference storage time preset by the controller 12 is 0.5 seconds, the first storage block 142A of the first partition 141 is 0.5 seconds, and the data storage time of the first storage block 142B is 1 second. The first storage block 142C is 0.7 seconds, so the storage time of the first storage block 142B and the first storage block 142C exceeds the preset reference storage time by 0.5 seconds, so the controller 12 will use the first storage block 142A. The stored first data 102 is maintained, and the second data 104 stored in the first storage block 142B is read out and stored in the first storage block 142H and the third data stored in the first storage block 142C. The 106 is read out and stored to the second storage block 144B. In this way, it can be avoided that the storage of the first data 102 and the second data in the storage block is too long. To the impact of leakage, and thus avoid the loss of data.

同理,復參閱第三B圖,控制器12所預設之參考儲存時間同樣地為0.5秒,而第一儲存區塊142C對應第一資料102之資料儲存時間為0.4秒,第一儲存區塊142D對應第二資料104之資料儲存時間為0.5秒,第一儲存區塊142E對應第三資料106之資料儲存時間為0.3秒,因此,第一儲存區塊142C至第一儲存區塊142E之儲存時間皆小於或等於0.5秒,所以控制器12判斷第一儲存區塊142C至第一儲存區塊142E所儲存之資料102、104、106不須搬移。 Similarly, referring to the third B diagram, the reference storage time preset by the controller 12 is also 0.5 seconds, and the first storage block 142C corresponds to the data storage time of the first data 102 is 0.4 seconds, the first storage area. The data storage time of the block 142D corresponding to the second data 104 is 0.5 seconds, and the data storage time of the first storage block 142E corresponding to the third data 106 is 0.3 seconds. Therefore, the first storage block 142C to the first storage block 142E The storage time is less than or equal to 0.5 seconds, so the controller 12 determines that the data 102, 104, 106 stored in the first storage block 142C to the first storage block 142E need not be moved.

請一併參閱第四A圖與第四B圖,其為本發明之資料擷取裝置之儲存狀態之另一較佳實施例之示意圖。如圖所示,本發明之資料擷取裝置10之每一儲存區塊142A-142H,144A-144H的儲存狀態為資料讀取/寫入次數,因此資料擷取裝置10所採用之參考狀態即為一參考讀取/寫入次數,而參考讀取/寫入次數為受偵測之儲存區塊之相鄰儲存區塊的資料讀取/寫入次數的平均值,且儲存狀態為儲存區塊讀取/寫入資料的次數,控制器12依據儲存區塊之讀取/寫入資料的次數小於參考讀取/寫入次數而判斷儲存區塊所儲存之資料的儲存時間已超過儲存時間之門檻值,所以控制器12讀取該資料並儲存至其他儲存區塊;當控制器12依據儲存區塊之讀取/寫入資料的次數大於參考讀取/寫入次數而判斷儲存區塊所儲存之資料的儲存時間未超過儲存時間之門檻值,所以控制器12不讀取該資料並儲存至其他儲存區塊。 Please refer to FIG. 4A and FIG. 4B together, which are schematic diagrams of another preferred embodiment of the storage state of the data capture device of the present invention. As shown in the figure, the storage state of each storage block 142A-142H, 144A-144H of the data capture device 10 of the present invention is the number of data read/write times, so the reference state adopted by the data capture device 10 is For a reference read/write count, and the reference read/write count is the average of the number of data read/write times of the adjacent storage blocks of the detected storage block, and the storage state is the storage area. The number of times the block reads/writes data, the controller 12 determines that the storage time of the data stored in the storage block has exceeded the storage time according to the number of times the read/write data of the storage block is less than the reference read/write times. The threshold is depreciated, so the controller 12 reads the data and stores it in other storage blocks; when the controller 12 determines the storage block according to the number of times the read/write data of the storage block is greater than the reference read/write times The stored time of the stored data does not exceed the threshold of the storage time, so the controller 12 does not read the data and stores it in other storage blocks.

承上所述,如第四A圖所示,第一分割區141之該些第一儲存區塊142A-142H與第二分割區143之該些第二儲存區塊144A-144H為依序排列,第一儲存區塊142B之儲存狀態為讀取/寫入次數10次,該參考狀態為一參考讀取/寫入次數,其依據相鄰儲存區塊 之讀取/寫入次數所得之一平均讀取/寫入次數而取得參考讀取/寫入次數,而第一儲存區塊142B係相鄰於第一儲存區塊142A與第一儲存區塊142C,第一儲存區塊142A之讀取/寫入次數為100次,第一儲存區塊142C之讀取/寫入次數為80次,所以第一儲存區塊142B之參考讀取/寫入次數為(100次+80次)/2,亦即參考讀取/寫入次數為90次,因此,控制器12依據第一儲存區塊142B之讀取/寫入次數10次小於參考讀取/寫入次數90次,而判斷第一儲存區塊142B所儲存之資料已超過儲存區塊預定之門檻值,所以,控制器12判斷將第一儲存區塊142B之資料讀取至第一儲存區塊142H並儲存。 As shown in FIG. 4A, the first storage blocks 142A-142H of the first partition 141 and the second storage blocks 144A-144H of the second partition 143 are sequentially arranged. The storage state of the first storage block 142B is 10 times of reading/writing times, and the reference state is a reference read/write number according to adjacent storage blocks. The number of read/write times is one of the average read/write times to obtain the reference read/write times, and the first storage block 142B is adjacent to the first storage block 142A and the first storage block. 142C, the number of read/write times of the first storage block 142A is 100, and the number of read/write times of the first storage block 142C is 80, so the reference read/write of the first storage block 142B The number of times is (100 times + 80 times) / 2, that is, the number of reference read/write times is 90 times. Therefore, the controller 12 reads and writes the number of times according to the first storage block 142B 10 times less than the reference reading. The number of writes is 90 times, and it is determined that the data stored in the first storage block 142B has exceeded the predetermined threshold of the storage block. Therefore, the controller 12 determines to read the data of the first storage block 142B to the first storage. Block 142H is stored.

復參閱第四B圖,該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之儲存狀態為記錄讀取/寫入次數,且參考狀態為一參考讀取/寫入次數,同理,第一儲存區塊142A之讀取/寫入次數為100次,控制器12依據第一儲存區塊142A之讀取/寫入次數100次等於參考讀取/寫入次數100次,所以控制器12判斷將第一儲存區塊142A之資料不需要搬移,而繼續儲存於第一儲存區塊142A。 Referring to FIG. 4B, the storage states of the first storage blocks 142A-142H and the second storage blocks 144A-144H are the number of record read/write times, and the reference state is a reference read/write. In the same manner, the number of read/write times of the first storage block 142A is 100, and the number of read/write times of the controller 12 according to the first storage block 142A is equal to 100 times of the reference read/write times. 100 times, the controller 12 determines that the data of the first storage block 142A does not need to be moved, and continues to be stored in the first storage block 142A.

請一併參閱第五A圖與第五B圖,其為本發明之資料擷取裝置之儲存狀態之另一較佳實施例之示意圖。其中第四A圖至第四B圖與第五A圖至第五B圖之差異在於第四A圖至第四B圖以受測之儲存區塊的相鄰儲存區塊的讀取/寫入次數的平均值作為參考讀取/寫入次數,以比較受偵測之儲存區塊,第五A圖至第五B圖以預設之單一參考讀取/寫入次數分別比較每一儲存區塊的讀取/寫入次數。如圖所示,本發明之儲存裝置10更預設一參考讀取/寫入次數,控制器12統一依據該預設之參考讀取/寫入次數比較受偵測之 每一儲存區塊的讀取/寫入次數,以判斷每一儲存區塊之資料的讀取/寫入次數是否超過門檻值(即參考讀取/寫入次數),進而判斷是否將資料搬移至其他儲存區塊,其中本實施例係將該預設之參考讀取/寫入次數設置於控制器12中,但本發明並不限於此,更可將該預設之參考讀取/寫入次數設置於其他儲存元件中,例如:儲存單元14或儲存裝置10之系統記憶體(圖未示)中。 Please refer to FIG. 5A and FIG. 5B together, which are schematic diagrams of another preferred embodiment of the storage state of the data capture device of the present invention. The difference between the fourth A to the fourth B and the fifth to fifth B is that the fourth to fourth B are read/write with the adjacent storage blocks of the tested storage block. The average of the number of entries is used as the reference read/write count to compare the detected storage blocks, and the fifth to fifth B charts compare each storage with a preset single reference read/write times. The number of reads/writes to the block. As shown in the figure, the storage device 10 of the present invention further presets a reference read/write frequency, and the controller 12 uniformly compares the detected read/write times according to the preset reference. The number of read/writes of each storage block to determine whether the number of read/write times of each storage block exceeds the threshold (ie, the number of read/write times), thereby determining whether to move the data. To other storage blocks, in this embodiment, the preset reference read/write times are set in the controller 12, but the present invention is not limited thereto, and the preset reference read/write can be further performed. The number of entries is set in other storage elements, such as storage unit 14 or system memory (not shown) of storage device 10.

復參閱第五A圖,控制器12所預設之參考讀取/寫入次數為90次,第一分割區141之第一儲存區塊142A為100次,第一儲存區塊142B之讀取/寫入次數為80次,第一儲存區塊142C為110次,因此第一儲存區塊142A與第一儲存區塊142C之讀取/寫入次數超過預設之參考讀取/寫入次數90次,因此控制器12將第一儲存區塊142B所儲存之第二資料104維持不動,並將第一儲存區塊142A所儲存之第一資料102讀取出並儲存至第一儲存區塊142H以及將第一儲存區塊142C所儲存之第三資料106讀取出並儲存至第二儲存區塊144B。如此,可避免第一資料102與第三資料106儲存於儲存區塊之儲存時間過久而受到漏電影響,進而避免資料遺失的問題。 Referring to FIG. 5A, the number of reference read/write times preset by the controller 12 is 90, and the first storage block 142A of the first partition 141 is 100 times, and the first storage block 142B is read. The number of writes/writes is 80, and the number of read/write times of the first storage block 142A and the first storage block 142C exceeds the preset reference read/write times. 90 times, the controller 12 maintains the second data 104 stored in the first storage block 142B, and reads and stores the first data 102 stored in the first storage block 142A to the first storage block. 142H and the third data 106 stored in the first storage block 142C are read out and stored in the second storage block 144B. In this way, the storage time of the first data 102 and the third data 106 stored in the storage block can be prevented from being affected by the leakage, thereby avoiding the problem of data loss.

同理,復參閱第五B圖,控制器12所預設之參考讀取/寫入次數同樣地為90次,而第一儲存區塊142C對應第一資料102之讀取/寫入次數為80次,第一儲存區塊142D對應第二資料104之讀取/寫入次數為90次,第一儲存區塊142E對應第三資料106之讀取/寫入次數為70次,因此,第一儲存區塊142C至第一儲存區塊142E之儲存時間皆等於或小於90次,所以控制器12判斷第一儲存區塊142C至第一儲存區塊142E所儲存之資料102、104、106不須搬移。 Similarly, referring to FIG. 5B, the number of reference read/write times preset by the controller 12 is also 90 times, and the number of read/write times of the first storage block 142C corresponding to the first data 102 is 80 times, the number of read/write times of the first storage block 142D corresponding to the second data 104 is 90 times, and the number of read/write times of the first storage block 142E corresponding to the third data 106 is 70 times, therefore, The storage time of a storage block 142C to the first storage block 142E is equal to or less than 90 times, so the controller 12 determines that the data 102, 104, 106 stored in the first storage block 142C to the first storage block 142E is not Must be moved.

此外,對照表16係記錄該儲存單元10之該些第一儲存區塊 142A-142H與該些第二儲存區塊144A-144H用以儲存資料間的對應關係,即對照表16是用以記錄該儲存單元之該些儲存區塊用以儲存該資料之對應儲存區塊,也就是控制器12針對已寫入資料之儲存區塊進行記錄並儲存於對照表16。因此,控制器12於完成儲存資料之動作時一併更新對照表16之記錄,例如:控制器12讀取第一儲存區塊142A之資料102讀取並儲存至第一儲存區塊142H時,控制器12隨即更新對照表16之記錄,而記錄資料102、104儲存於第一儲存區塊142H。 In addition, the comparison table 16 records the first storage blocks of the storage unit 10 142A-142H and the second storage blocks 144A-144H are used to store the correspondence between the data, that is, the comparison table 16 is used to record the storage blocks of the storage unit for storing the corresponding storage blocks of the data. That is, the controller 12 records and stores the storage block of the written data in the comparison table 16. Therefore, the controller 12 updates the record of the comparison table 16 when the operation of storing the data is completed. For example, when the controller 12 reads the data 102 of the first storage block 142A and reads it and stores it to the first storage block 142H, The controller 12 then updates the record of the lookup table 16, and the recorded data 102, 104 is stored in the first storage block 142H.

請參閱第六圖,其為本發明之資料擷取裝置之另一較佳實施例之方塊圖。其中第一圖與第六圖之差異在於第一圖之該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H為依序排列,第六圖之該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H為亂數排列。如圖所示,儲存單元14在經過均勻抹除與長時間資料保存演算法運作過後,其該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之排列方法會從一開始的依序排列(如第一圖所示),逐漸變成亂數排列(如第六圖所示)。而對照表16係記錄該儲存單元10之該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H,因此不論儲存單元14之該些儲存區塊142A-142H,144A-144H如何亂數排序,控制器12可藉由對照表16獲得該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之對應位置,以將資料儲存至對應之儲存區塊。 Please refer to the sixth drawing, which is a block diagram of another preferred embodiment of the data capture device of the present invention. The difference between the first figure and the sixth figure is that the first storage blocks 142A-142H and the second storage blocks 144A-144H of the first figure are sequentially arranged, and the first storages of the sixth figure are The blocks 142A-142H and the second storage blocks 144A-144H are arranged in a random number. As shown in the figure, after the storage unit 14 has been operated by the uniform erase and long-term data storage algorithms, the arrangement of the first storage blocks 142A-142H and the second storage blocks 144A-144H will be The initial arrangement (as shown in the first figure) gradually becomes a random number arrangement (as shown in the sixth figure). The comparison table 16 records the first storage blocks 142A-142H of the storage unit 10 and the second storage blocks 144A-144H, so regardless of the storage blocks 142A-142H, 144A- of the storage unit 14. 144H how to sort the numbers, the controller 12 can obtain the corresponding positions of the first storage blocks 142A-142H and the second storage blocks 144A-144H by using the comparison table 16 to store the data to the corresponding storage area. Piece.

請參閱第七圖,其為本發明之資料擷取方法之一較佳實施例之流程圖。如圖所示,本發明之資料擷取方法係應用於一資料擷取裝置10,該資料擷取方法首先按步驟S100所示,將至少一資料 儲存至一儲存單元,其中儲存單元係如第一圖所示之儲存單元14包含第一分割區141與第二分割區143,第一分割區141包含該些第一儲存區塊142A-142H,第二分割區143包含該些第二儲存區塊144A-144H,且第一分割區141與第二分割區143更可如第六圖所示,該些儲存區塊142A-142H、144A-144H由依序排列逐漸為亂數排列;接續按步驟S110所示,資料擷取裝置10之控制器12係偵測該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之儲存狀態;接續依據步驟S120所示,控制器12依據該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之至少一儲存區塊之儲存狀態判斷是否讀取資料並儲存至其他儲存區塊,若儲存狀態為資料讀取/寫入次數時,當儲存區塊之儲存狀態大於參考狀態時,控制器12執行步驟S130,當儲存區塊之儲存狀態小於參考狀態時,控制器12執行步驟S140;若儲存狀態為儲存時間時,當儲存區塊之儲存狀態小於參考狀態時,控制器12執行步驟S130,當儲存區塊之儲存狀態大於參考狀態時,控制器12執行步驟S140。 Please refer to the seventh figure, which is a flowchart of a preferred embodiment of the data acquisition method of the present invention. As shown in the figure, the data acquisition method of the present invention is applied to a data capture device 10, and the data capture method first displays at least one data as shown in step S100. The storage unit 14 as shown in the first figure includes a first partition 141 and a second partition 143. The first partition 141 includes the first storage blocks 142A-142H. The second partition 143 includes the second storage blocks 144A-144H, and the first partition 141 and the second partition 143 are more as shown in FIG. 6, the storage blocks 142A-142H, 144A-144H. The controllers 12 of the data capture device 10 detect the first storage blocks 142A-142H and the second storage blocks 144A-144H, as shown in step S110. The storage state is determined according to step S120, the controller 12 determines whether to read the data according to the storage states of the at least one storage block of the first storage blocks 142A-142H and the second storage blocks 144A-144H. When the storage state is the data read/write times, when the storage state of the storage block is greater than the reference state, the controller 12 performs step S130, when the storage state of the storage block is less than the reference state. , the controller 12 performs step S140; if stored Storage time is, the storage state of the memory when the block is less than a reference state, the controller 12 executes step S130, the storage state of the memory when the block is greater than a reference state, the controller 12 executes step S140.

接續,依據步驟S130所示,控制器12判斷儲存區塊所儲存之資料不讀取並儲存至其他儲存區塊;按步驟S140所示,控制器12判斷儲存單元14之儲存區塊所儲存之資料需要讀取並儲存至其他儲存區塊。最後,依據步驟S150所示,控制器12紀錄儲存單元16之該些第一儲存區塊142A-142H與該些第二儲存區塊144A-144H之儲存狀態並儲存至對照表16中。其中,控制器12係以資料之讀取/寫入次數或以資料之抹除次數作為參考狀態與儲存狀態。 Then, the controller 12 determines that the data stored in the storage block is not read and stored in another storage block, and the controller 12 determines that the storage block of the storage unit 14 is stored, as shown in step S140. The data needs to be read and stored in other storage blocks. Finally, the controller 12 records the storage states of the first storage blocks 142A-142H and the second storage blocks 144A-144H of the storage unit 16 and stores them in the comparison table 16 according to step S150. The controller 12 uses the number of reading/writing of data or the number of erasures of data as the reference state and the storage state.

綜上所述,本發明之資料擷取裝置及其方法係用以避免資料長時間儲存於儲存裝置中而受到漏電之影響,導致資料流失。 In summary, the data acquisition device and method of the present invention are used to prevent data from being stored in the storage device for a long time and being affected by leakage, resulting in data loss.

故本發明實為一具有新穎性、進步性及可供產業上利用者,應符合我國專利法專利申請要件無疑,爰依法提出發明專利申請,祈鈞局早日賜准專利,至感為禱。 Therefore, the present invention is a novelty, progressive and available for industrial use. It should be in accordance with the patent application requirements of the patent law of China. Undoubtedly, the invention patent application is filed according to law, and the prayer bureau will grant the patent as soon as possible.

惟以上所述者,僅為本發明一較佳實施例而已,並非用來限定本發明實施之範圍,故舉凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。 However, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, so that the shapes, structures, features, and spirits described in the claims of the present invention are equally changed. Modifications are intended to be included in the scope of the patent application of the present invention.

10‧‧‧資料擷取裝置 10‧‧‧ data acquisition device

12‧‧‧控制器 12‧‧‧ Controller

14‧‧‧儲存單元 14‧‧‧storage unit

141‧‧‧第一分割區 141‧‧‧First partition

142A‧‧‧第一儲存區塊 142A‧‧‧First storage block

142B‧‧‧第一儲存區塊 142B‧‧‧First storage block

142C‧‧‧第一儲存區塊 142C‧‧‧First storage block

142D‧‧‧第一儲存區塊 142D‧‧‧First storage block

142E‧‧‧第一儲存區塊 142E‧‧‧First storage block

142F‧‧‧第一儲存區塊 142F‧‧‧First storage block

142G‧‧‧第一儲存區塊 142G‧‧‧First storage block

142H‧‧‧第一儲存區塊 142H‧‧‧First storage block

143‧‧‧第二分割區 143‧‧‧Second division

144A‧‧‧第二儲存區塊 144A‧‧‧Second storage block

144B‧‧‧第二儲存區塊 144B‧‧‧Second storage block

144C‧‧‧第二儲存區塊 144C‧‧‧Second storage block

144D‧‧‧第二儲存區塊 144D‧‧‧Second storage block

144E‧‧‧第二儲存區塊 144E‧‧‧Second storage block

144F‧‧‧第二儲存區塊 144F‧‧‧Second storage block

144G‧‧‧第二儲存區塊 144G‧‧‧Second storage block

144H‧‧‧第二儲存區塊 144H‧‧‧Second storage block

16‧‧‧對照表 16‧‧‧ comparison table

20‧‧‧主機 20‧‧‧Host

Claims (9)

一種資料擷取裝置,其包含有:一儲存單元,包含複數儲存區塊,用以分別儲存至少一資料;以及一控制器,連接該儲存單元,用以儲存該資料至該些儲存區塊,並依據至少一參考狀態,比較每一該儲存區塊之一儲存狀態,得知每一該儲存區塊之該資料的儲存時間是否超過一門檻值,若該資料的儲存時間超過該門檻值,讀取該資料並儲存至其他儲存區塊。 A data capture device includes: a storage unit including a plurality of storage blocks for storing at least one data separately; and a controller connected to the storage unit for storing the data to the storage blocks, And comparing, according to the at least one reference state, a storage state of each of the storage blocks, and determining whether the storage time of the data of each of the storage blocks exceeds a threshold value, and if the storage time of the data exceeds the threshold value, Read the data and save it to another storage block. 如申請專利範圍第1項所述之資料擷取裝置,其中該參考狀態為一參考儲存時間,該儲存狀態為該資料儲存於該儲存區塊的一儲存時間,該控制器依據該參考儲存時間比較該儲存時間,得知該儲存區塊之該資料的儲存時間是否超過該門檻值。 The data capture device of claim 1, wherein the reference state is a reference storage time, the storage state is a storage time of the data stored in the storage block, and the controller stores the reference time according to the reference Comparing the storage time, it is known whether the storage time of the data of the storage block exceeds the threshold. 如申請專利範圍第1項所述之資料擷取裝置,其中該參考狀態為一參考讀取/寫入次數,而該儲存狀態為該儲存區塊讀取/寫入該資料的次數,該控制器判斷該儲存區塊讀取/寫入該資料的次數小於該參考讀取/寫入次數,則判斷該儲存區塊之該資料的儲存時間超過該門檻值。 The data extraction device of claim 1, wherein the reference state is a reference read/write number, and the storage state is the number of times the storage block reads/writes the data, the control The device determines that the number of times the storage block reads/writes the data is less than the reference read/write times, and determines that the storage time of the data of the storage block exceeds the threshold. 如申請專利範圍第3項所述之資料擷取裝置,其中該參考讀取/寫入次數為一平均讀取/寫入次數,其為對應之至少一相鄰儲存區塊之讀取/寫入次數的一平均值,該相鄰儲存區塊相鄰於受偵測之該儲存區塊。 The data capture device of claim 3, wherein the reference read/write count is an average read/write count, which is a read/write of the corresponding at least one adjacent storage block. An average of the number of entries, the adjacent storage block being adjacent to the detected storage block. 如申請專利範圍第1項所述之資料擷取裝置,其中更包含:一對照表,記錄該儲存單元之該些儲存區塊用以儲存該資料之對應儲存區塊。 The data acquisition device of claim 1, further comprising: a comparison table, wherein the storage blocks of the storage unit are recorded for storing corresponding storage blocks of the data. 一種資料擷取方法,其包含有:儲存至少一資料至一儲存單元,該儲存單元包含複數儲存區塊;偵測該些儲存區塊之儲存狀態;比較至少一參考狀態與每一該儲存區塊之該儲存狀態,以得知每一該儲存區塊之該資料的儲存時間是否超過一門檻值;以及若該資料的儲存時間超過該門檻值,讀取該資料並儲存至其他儲存區塊。 A data capture method includes: storing at least one data to a storage unit, the storage unit including a plurality of storage blocks; detecting a storage state of the storage blocks; comparing at least one reference state with each of the storage areas The storage state of the block to know whether the storage time of the data of each of the storage blocks exceeds a threshold; and if the storage time of the data exceeds the threshold, the data is read and stored in another storage block . 如申請專利範圍第6項所述之資料擷取方法,其中該儲存狀態為該儲存區塊之讀取/寫入該資料的次數,該參考狀態為該儲存區塊之一參考讀取/寫入次數。 The method for extracting data according to claim 6, wherein the storage state is the number of times the storage block reads/writes the data, and the reference state is one of the storage blocks. Number of entries. 如申請專利範圍第6項所述之資料擷取方法,其中該儲存狀態為該資料於該儲存區塊之一抹除次數,該參考狀態為該資料於該儲存區塊之一參考儲存時間。 The method of extracting data according to claim 6, wherein the storage state is the number of erasures of the data in the storage block, and the reference state is a reference storage time of the data in the storage block. 如申請專利範圍第6項所述之資料擷取方法,其中更包含一步驟:記錄該儲存單元之該些區塊用以儲存該資料之對應儲存區塊。 The method for extracting data according to claim 6 further includes a step of recording the blocks of the storage unit for storing corresponding storage blocks of the data.
TW100139522A 2011-10-31 2011-10-31 Data acquisition device and method thereof TWI585586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100139522A TWI585586B (en) 2011-10-31 2011-10-31 Data acquisition device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100139522A TWI585586B (en) 2011-10-31 2011-10-31 Data acquisition device and method thereof

Publications (2)

Publication Number Publication Date
TW201317786A TW201317786A (en) 2013-05-01
TWI585586B true TWI585586B (en) 2017-06-01

Family

ID=48871916

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100139522A TWI585586B (en) 2011-10-31 2011-10-31 Data acquisition device and method thereof

Country Status (1)

Country Link
TW (1) TWI585586B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100492322C (en) * 2002-10-28 2009-05-27 桑迪士克股份有限公司 Spoilage balance in non-volatile storage systems
TW200943060A (en) * 2008-04-10 2009-10-16 Phison Electronics Corp Data writing method for non-volatile memory, storage system and controller thereof
US20100191897A1 (en) * 2009-01-23 2010-07-29 Seagate Technology Llc System and method for wear leveling in a data storage device
TW201117001A (en) * 2009-11-06 2011-05-16 Phison Electronics Corp Data backup method for a flash memory and controller and storage system using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100492322C (en) * 2002-10-28 2009-05-27 桑迪士克股份有限公司 Spoilage balance in non-volatile storage systems
TW200943060A (en) * 2008-04-10 2009-10-16 Phison Electronics Corp Data writing method for non-volatile memory, storage system and controller thereof
US20100191897A1 (en) * 2009-01-23 2010-07-29 Seagate Technology Llc System and method for wear leveling in a data storage device
TW201117001A (en) * 2009-11-06 2011-05-16 Phison Electronics Corp Data backup method for a flash memory and controller and storage system using the same

Also Published As

Publication number Publication date
TW201317786A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
US8103820B2 (en) Wear leveling method and controller using the same
TWI382422B (en) Storage device for refreshing data pages of flash memory based on error correction code and method for the same
US10120573B2 (en) Modular sequential writing of data to data storage devices
US8046526B2 (en) Wear leveling method and controller using the same
TWI597605B (en) Method of wear leveling for data storage device
US8375159B2 (en) Electronic storage device and control method thereof
TWI389125B (en) Memory storage device and control method thereof
US9280460B2 (en) Data writing method, memory control circuit unit and memory storage apparatus
US9424177B2 (en) Clock switching method, memory controller and memory storage apparatus
KR20090078999A (en) Adaptive writing method corresponding to disturbance condition and storage device using the same
US7649794B2 (en) Wear leveling method and controller using the same
US8897092B2 (en) Memory storage device, memory controller and controlling method
US8423838B2 (en) Block management method, memory controller, and memory storage apparatus
TWI454922B (en) Memory storage device and memory controller and data writing method thereof
CN109976673A (en) A kind of method for writing data and device
US20090228640A1 (en) Information processing apparatus and non-volatile semiconductor memory drive
JP4841069B2 (en) Storage device
US8799568B1 (en) Storage device cache
TWI585586B (en) Data acquisition device and method thereof
WO2009110142A1 (en) Information processing apparatus and non-volatile semiconductor memory drive
US20110087828A1 (en) Method for enhancing performance of accessing a flash memory, and associated memory device and controller thereof
CN107765989B (en) Storage device control chip, storage device and storage device management method
KR20130050586A (en) Apparatus and method for changing cell mode of flash memory
TWI692691B (en) Memory control device and memory control method
TW201310237A (en) Flash memory storage device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees