TWI240862B - File system managing-method of flash memory and its logic framework - Google Patents

File system managing-method of flash memory and its logic framework Download PDF

Info

Publication number
TWI240862B
TWI240862B TW92109294A TW92109294A TWI240862B TW I240862 B TWI240862 B TW I240862B TW 92109294 A TW92109294 A TW 92109294A TW 92109294 A TW92109294 A TW 92109294A TW I240862 B TWI240862 B TW I240862B
Authority
TW
Taiwan
Prior art keywords
file
block
transaction
blocks
flash memory
Prior art date
Application number
TW92109294A
Other languages
Chinese (zh)
Other versions
TW200422825A (en
Inventor
Wen-Hau Shr
Original Assignee
Mobitek Comm Corp
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 Mobitek Comm Corp filed Critical Mobitek Comm Corp
Priority to TW92109294A priority Critical patent/TWI240862B/en
Publication of TW200422825A publication Critical patent/TW200422825A/en
Application granted granted Critical
Publication of TWI240862B publication Critical patent/TWI240862B/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention is related to a file system managing method of flash memory and its logic framework. Each section logic in the flash memory is divided into plural blocks; and each block contains a block head, a data division and a block end for checking. When writing the file data into the flash memory, the file data is written into the data division of different blocks in a dispersive manner. In the managing method of the invention, the block head of each block is first read to obtain each item property of the block; and the files stored in a dispersive manner are then reassembled according to one file number and one sequence number of the block head. After that, the reassembled files are checked to see if they are complete or not; if they are damaged, the users are notified. Finally, according to the block property inside the block head, the block is checked to see if it belongs to a transaction file. Thus, based on the recorded trading status of the transaction file head inside the block, file recovery process or continuously completing the trade correcting action is conducted. In addition, by using the block end, it is capable of checking if the data of block head and the data stored in the data division are damaged or lost.

Description

1240862 五、發明說明(1) 【發明所屬之技術領域] 本發明係有關於一種快閃記憶體之檔案系統管理方法 及其邏輯架構,尤指一種將快閃記憶體之每一區段邏輯切 割成複數區塊,以將檔案資料分散寫入於不同區塊内者。 【先前技術】 按’在現今的日常生活中,行動電話及個人數位助理 P D A等攜帶式裝置,已成為必須的生活用品之一,而這些 嵌入式系統裝置都具有快閃記憶體,以用於存取電話薄、 記事本、圖片或簡訊等檔案資料,而具有快閃記憶體之嵌 入式系統裝置,皆需要有一檔案系統管理之方法及架構, 以作有效的管理與保護,避免重要的檔案資料受損或遺失 然而 ,因檔案 關性,當 結構,且 改寫入時 須重新修 ,導致檔 記憶體檔 已損壞為 判斷,而 當快 費時間較 ,一般寫 内部及檔 檔案資料 沒有提供 ’發生電 改寫入, 案儲存的 案糸統管 無用之檔 將有可能 閃記憶體 長,對於 入於快 案彼此 有破損 檔案回 源中斷 但習用 資料不 理不具 案時, 造成記 進行檔 其他檔 閃記憶體内 之間在記憶 或遺失時, 復之功能, 無法繼續完 無法提供回 具有完整性 有檔案損壞 無法告知使 憶體空間之 案寫入或進 案存取的需 體上有相當強烈的相 即可能破壞整個檔案 如使用者進行檔案修 成修改寫入之作業必 復修改前資料之功能 ,另外,一般之快閃 偵測功能,而當檔案 用者作為檔案刪除的 浪費。 行區段抹除時,其花 求反應過慢,無法達1240862 V. Description of the invention (1) [Technical field to which the invention belongs] The present invention relates to a file system management method of flash memory and its logical structure, especially a method for logically cutting each section of flash memory. Plural blocks to write file data in different blocks. [Previous technology] Press' In today's daily life, portable devices such as mobile phones and personal digital assistants PDA have become one of the necessary daily necessities, and these embedded system devices have flash memory for use in Access to file data such as phone book, notepad, pictures or text messages, and embedded system devices with flash memory need a file system management method and structure for effective management and protection to avoid important files The data is damaged or lost. However, due to the nature of the file, when the structure is changed and rewritten, it must be repaired. As a result, the memory of the file is damaged. It is judged, and when the time is spent, generally the internal and file data are not provided. When the electrical modification is written, the files stored in the case will be used to manage the useless files. The memory length may be flashed. When the files entered in the fast case are damaged, the file back to the source is interrupted, but the custom data is ignored. This causes other files to be flashed. In the memory, when the memory is lost or lost, the complex function cannot be continued and cannot be provided with integrity. If a file is damaged, it ca n’t be notified that there is a very strong phase on the need to write or access the project in the memory space, which may damage the entire file. In addition, the general flash detection function is a waste of file deletion as a file user. When erasing a segment, its response is too slow to reach

1240862 五、發明說明(2) f即時化作業’且因快閃記憶體於進 此抹除一個區段,而不能抹除區段中 *的動作時 必須維持有一定乾淨之記憶空間,以便:=位元組,戶 有用之資料複製到乾淨之記憶空間,而—=區段抹除B 案系統管理乃被動地作無用資料 —^快閃記憶骨 …,將使的記憶體抹。動 而w成對於使用者的檔案存取的反應較慢。啟…、效率, 因此,本發明即在如何針對上 :憶體之播案系統管理方法及其邏輯架構而 二之缺點,又可增加快閃記憶體使 = 使可解決上述之問題。 〈可〒及易於官理 【發明内容】 本發明之主要目的,在於担说 《 系統管理方法及其邏輯芊快閃記憶體之檔 A m ^ ^ ^ /、冓八係根據區塊頭之檔案編 及m序號碼而重組檔案,以達檔荦 遺失之目的。 逆保茶具有強健之架構而不 系』:i次要目的,在於提供-種快閃記憶體之檑 前所:留之“ t其邏輯架構’其係根據交易檔及交易修 可作復原之二:進行恢復交易修改前之播案,使的槽 系缔i::t又一目的,在於提供-種快閃記憶體之檔 持尸& /及其邏輯架構,其係於區塊設有檢查用之 鬼尾,使區塊具有檔案毀損偵測作用之目的。 本么月之又一目的,在於提供一種快閃記憶體之槽 只 以 將 檔 淨 進 閃 上 案 號 易 案 改 案 案 案1240862 V. Description of the invention (2) f real-time operation 'and because the flash memory is here to erase a section, and the action in the section * cannot be erased, a certain clean memory space must be maintained in order to: = Bytes, the user's useful data is copied to a clean memory space, and-= sector erasure B system management is passively made useless data-^ flash memory bone ..., the memory will be wiped. However, w has a slower response to user file access. In this way, the present invention is directed at the shortcomings of the memory management system and its logical structure, and the shortcomings of the invention, and the addition of flash memory to solve the above problems. «Can be easily and reasonably managed [Content of the invention] The main purpose of the present invention is to say" system management method and its logic 芊 flash memory file A m ^ ^ ^ /, 冓 eight series are compiled according to the file of the block header And m sequence numbers to reorganize the files to achieve the purpose of file loss. Nibao Tea has a robust structure and is not related ": The secondary purpose is to provide a kind of flash memory: the former:" The logical structure of it "can be restored based on transaction files and transaction repairs. Two: The case before the revival of the transaction was modified so that the slot system was established i :: t Another purpose is to provide a flash memory file holding the corpse & / and its logical structure, which is based on the block design There is a ghost tail for inspection, so that the block has the purpose of detecting file damage. Another purpose of this month is to provide a flash memory slot that only saves the file into the flash case number for easy modification. Case

1240862 五、發明說明 系統管理方法及其邏輯架構,其係在檔案寫入、複製或進 行區段抹除時’可適時反應其他檔案存取之需求,以達 快速回應需求即時化處理之目的。 ^發明之又一目的,在於提供一種快閃記憶體之檔案系統 官理方法及其邏輯架構,其係可自動檢視乾淨區塊之總數 目,而主動進行將無用檔案資料之區段抹除,以維 淨區段之目的。 U 3祀 本發明之又一目的,在 系統管理方法及其邏輯架構 構,可充分利用快閃記憶體 本發明之邏輯架構係將 割成複數區塊,以將檔案資 每一區塊中係包括有記錄區 儲存權案資料之一資料區; 一區塊尾,區塊頭係包括有 態;用於表示區塊為何種栌 於哪個檔案之一檔案編號「 塊順序之一順序號碼;及用 易修改所產生同順序區塊之 本發明檔案系統管理方 料,依據區塊頭之檔案編號 並檢查於同一檔案編號之複 當不連續即檔案已為破損之 除該檔案,最後依據區塊頭 於提供一種快閃記憶體之標案 ,其係提供有一迷你檑案之架 之記憶空間。 ' 一快閃記憶體内之每一區段分 料分散寫入於不同之區塊中, 塊各項屬性之一區塊頭;用以 及用於檢查區塊頭與資料區之 表示區塊目前狀態之一區塊片大 案之一區塊屬性;識別區塊屬 用於表示區塊在同一檔案中區 於表示當檔案進行區塊資科交 版本。 又 法首先係讀取每一區塊頭之資 及順序號碼進行檔案之重級,、 數區塊的順序號碼是否連續, 狀態’則告知使用者應進行#J 内之區塊屬性,判斷區塊是否1240862 V. Description of the invention The system management method and its logical structure are designed to respond to other file access requirements in a timely manner when files are written, copied, or sector erased. ^ Another object of the invention is to provide a flash memory file system management method and its logical structure, which can automatically check the total number of clean blocks and proactively erase sections of unnecessary file data. For the purpose of maintaining cleanliness. U 3 is another object of the present invention. In the system management method and its logical architecture, the flash memory can be fully utilized. The logical architecture of the present invention will be divided into a plurality of blocks in order to divide the file information into each block. It includes a data area that contains record area storage rights data; a block end and a block header include a state; a file number used to indicate what type of block is in which file; a block number; a sequence number; and It is easy to modify the management information of the file system of the present invention in the same sequence of blocks. Based on the file number of the block header and check for the discontinuity in the same file number, the file has been damaged, and the file is removed. A flash memory project, which provides a memory space with a mini case. 'Each sector in a flash memory is divided into different blocks and written in different blocks. A block header; used to check the block header and the data area to indicate the current status of the block; a block attribute; a block attribute; to identify the block belongs to the block in the same file Yu said that when the file is submitted to the block, the information is transferred. The first method is to read the header and sequence number of each block to perform the file re-leveling, and check whether the sequence number of the block is continuous. Perform block attributes in #J to determine whether a block is

第7頁 1240862Page 7 1240862

第8頁 少一播案進行交易修改情形之一交易檔案,當 易?案時,則依據此區塊内之_交易槽頭所紀 狀悲,進行檔案恢復處理或者繼續易修 復處理係可為恢復交易修改前、保留交 悲或作刪除。 ΠΪ委員對本發明之結構特徵及所達成之 之::與認識,謹佐以較佳之實施例圖及 祝明 說明如後: 案糸統將 之複數區 料區中, 編號與一 易發生檔 尾以檢查 二圖及第 邏輯切割 有一區塊 區塊頭2 0 包括有一 、乾淨或 何種檔案 一資料數 多少記憶 一快閃 塊,以 檔案系 檔案順 案遺失 檔案是 三圖, 成大小 頭20、 係會記 區塊狀 者為損 ;一檔 目棚位 空間; 五、發明說明(4) 屬於紀錄至 區塊屬於交 錄之一交易 改之動作, 易修改後狀 兹為使 功效更有進 配合詳細之 【實施方式 本發明 段邏輯切割 入於不同區 區塊頭所記 才當案具有強 包含有檢查 請參閱 記憶體1 〇之 ’而每一區 塊尾4 Q,每 2,該各項 前之狀態為 屬性,# 一 衣不 區塊14屬於 區30之檔案 係利用一槽 成大小相同 塊中之一資 錄之一播案 健之架構不 用之一區塊 第一圖、第 每一區段12 塊1 4係包括 一區塊1 4之 屬性攔位係 使用、無用 區塊1 4屬於 哪個檔案; 資料使用了 記憶體内之 將檔案資料 統可依據區 序重組權案 之情形,且 否有毁損。 本發明係將 相同之複數 一資料區3 0 錄區塊1 4之 悲、’表示區 毀之狀態; 案編號,用 ’表示寫入 一順序號碼 每一區 分佈寫 塊之一 ,使得 區塊更 一快散 區塊14 及一區 各項屬 塊14目 一區塊Page 8 One of the cases of transaction modification in the case of one less broadcast, is the transaction file easy? At the time of the case, according to the tragedy of the _ transaction slot header in this block, file recovery processing or continued easy repair processing can be performed to restore the transaction, retain the transaction, or delete it before resuming the transaction. ΠΪCommittee members on the structural features of the present invention and what they have achieved :: and understanding, I would like to accompany the diagram of the preferred embodiment and wish to explain as follows: To check the second picture and logically cut a block, the block header 20 includes one, clean or what kind of file, how much data is stored, and a flash block. If the file is a file, the lost file is three, and the size is 20, The department will record the block-shaped ones as a loss; a file space; 5. Description of the invention (4) The action from the record to the block belongs to one of the transactions. The easy-to-modify status is to make the function more advanced. In accordance with the detailed [implementation of the present invention, the segments are logically cut into the block headers of different regions. The case is recorded with a strong inclusion check. Please refer to the memory 1 〇 'and each block ends with 4 Q, each 2, before the item The status is an attribute. # 一 衣 不 区 14 The files belonging to zone 30 use a slot to form a record of one of the same blocks. The structure of the broadcast case does not use a block. The first picture and each zone Segment 12 1 4 is a block containing the attributes of block 14. Which file belongs to useless and useless block 14? The data used in the memory can be used to reorganize the file data according to the zone order, and there is no damage. . The present invention records the sadness of the same plural data area 30 in block 14 and 'represents the state of destruction of the area; the case number uses' to indicate that a sequential number is written in each area and one of the writing blocks is distributed so that the area Block 14 is a fast dispersal block 14 and each of the blocks in block 1 is a 14 mesh block.

五、發明說明(5) 區塊14在檔案中為第幾個區塊;一 索中相因丨丨丨S产咕作广 匕现版本’表不於同播 一 门1序號碼區塊之版本,如數字# M t ^ Μ ^ 本;區塊尾40係包含右一 F_ 子唬碼較大為較新版 攔位,以用;^於滿r &區鬼碩檢查攔位與一資料區檢查 毀,檢視之方 =及貝枓區3〇内之資料是否有損 。 之方法係精由習用之CRC-1 6或CRC_32之方法檢查 然而,於每一區段j 1 2之一區段頭,區 第一個區塊B0係為每一區段 數欄位,A係包:^ S =匕括有記錄區段1 2各項屬性之複 、複製、抹除或損毀之狀離t、,表不區段12目前為使用 案系統之識別,—區p姑二,—檔案系統識別,以作為檔 之抹除次數;—區段‘除:;:數紀錄’卩紀錄每-區段12 錄之Ϊί : J —槽案系統版Ϊ版本,表示區段抹除次數記 1 4時,該檔案之^ :: ^檔案資料分佈寫人於不同區塊 係設有—一般檑頭52,〗i50於區塊頭20下之資料區30内 檔案之内容,而此 二料區30其餘剩下之空間即為該 資料區30内皆為栌^ ”二個區塊50以後的其他區塊丨4之 錄檔案各項屬性:禎=二容,一般檔頭52係包括有用以記 ,以記錄各檔案章Λ位,其係包括有一檔案順序號碼 檔頭52所佔之空間 =順序;一檔頭大小,紀錄一般 間;一檔案名稱1及一拎:產生時間,表示檔案產生之時 案屬性係包含有丄 j案屬性,表示檔案使用方式,檔 讀、讀寫或唯附加田二二取限制欄位,其係設定檔案為唯 ▲案恢復屬性爛位’其係設定檔荦 1240862 五、發明說明(6) 如進行交易修改之過程中發生中冑,而欲將檔案作恢復時 Ϊ”方式,其2 =恢復交易修改前、保持現狀或刪 除,及一檔案完整性檢查襴位,其係設定該檔案是否 作完整性檢查。 〃 而 本發明之襠n統管理方法,其係先讀 之區段頭,以判別區段12之狀態為何,當區段12於使用 者^製狀態時,則讀取此區段12内所有區塊14之區一〇 之貧料,依據檔案編號及順序號碼將分佈 :* 1 二 1 資料進行檔案重組 否有況:;檔案中之區塊順序號碼是 整之檔案時,即檔案為一破損:法組成一個元 除。 厥彻之檔案則告知使用者進行刪 請一併參閱第五圖、第A圖月筮二^ θ 統會依據所讀取之4 「弟、圖及弟八B圖,接著檔案系 塊“是否區Ϊ頭20之區塊屬&,檢視每-區 -交易檔頭62與至ϋ!摊ί於交易檔f之區塊60係包括有 數欄位係包括有一二^案圮錄64,交易檔頭係包含有複 交易檔案數目,^ &編號,表示此交易檔案之編號;一 狀態,紀錄交易與交易修改之檔案數目;及-交易 有-參與交易=之交易狀態’而檔案記錄係包含 使用區塊數目之彡 田案編唬欄位、一交易修改前檔案所 之攔位,交易梓二交易修改後檔案所使用區塊數目 案進行交易佟改R主糸:寫入於快閃記憶體1 0内之至少一檔 一又時,而用於記錄該至少一檔案進行交易修V. Description of the invention (5) Block 14 is the first few blocks in the file; the reason is that the current version of S produced by Zuo Shou is not listed in the same sequence number block. Versions, such as the number # M t ^ Μ ^; the block 40 contains the right one F_ sub-bluff code is larger for the newer version of the block, for use; ^ Yu Manr & District Guishuo check the block and a data Area inspection and destruction, and the inspection side = and whether the data within 30 in Beibei District is damaged. The method is precisely checked by the conventional CRC-1 6 or CRC_32 method. However, in the section header of each section j 1 2, the first block B0 of the section is a field number for each section, A System package: ^ S = Records of the duplicate, copy, erase, or damage of each attribute of the recorded section 12, indicating that section 12 is currently the identification of the use case system. , — File system identification, as the number of erasures of the file; — section 'division:;: number records' (record every-section 12 records):: J — slot system version Ϊ version, indicating section erasure When the number of times is 14, the file's ^ :: ^ file data distribution writers are set up in different blocks—general gimmicks 52, i50 in the data area 30 under the block header 20, and these two The remaining space of the material area 30 is that the data area 30 is all 栌 ^ "The other areas after the two areas 50 and 丨 4 attributes of the recorded file: 祯 = two capacity, the general file 52 includes It is used to record to record the Λ position of each file chapter, which includes the space occupied by a file sequence number file header 52 = sequence; the size of a file header, and the general record; a file Names 1 and 1: Generation time, which indicates that when the file was generated, the file attribute contains the file attribute, which indicates the file usage method, file read, read, write, or additional fields. The file is set as The only way to restore the attributes of the case is that it is a set file of 1240862. V. Description of the invention (6) If a transaction occurs during the process of transaction modification, and you want to restore the file, the method is 2 = before the transaction is modified. 2. Maintain the status quo or delete, and a file integrity check position, which sets whether the file is checked for integrity. 〃 The crotch system management method of the present invention reads the segment header first to determine the status of the segment 12. When the segment 12 is in a user-controlled state, all the content in the segment 12 is read. The poor material in area 10 of block 14 will be distributed according to the file number and sequence number: * 1 2 1 Whether the file is reorganized. Is there any condition: When the block sequence number in the file is an entire file, the file is one. Breakage: The law forms a yuan division. The complete file tells the user to delete it. Please refer to Figure 5 and Figure A. 筮 2 ^ θ The system will read 4 "Brother, Figure, and Brother B, and then the file block" Whether The block belonging to the zone head 20 is & check each-area-transaction file header 62 and the ϋ! Block 60 in the transaction file f includes a number of fields and includes one or two ^ case records 64, The transaction file header contains the number of re-transaction files, ^ & number, indicating the number of this transaction file; a status, the number of files that record transactions and transaction modifications; and-transactions have-participation in transactions = transaction status' and file records It includes the bluffing field of the Putian case using the number of blocks, the block of the file office before a transaction is modified, and the transaction number of the block used by the file after the transaction is modified. At least one file in the flash memory 10 is used repeatedly to record the at least one file for transaction repair

第10頁 1240862 五、發明說明(7) 改之情形,當檔案進行交易修改動作完成時,檔案系 會立即刪除該交易檔案,故如發現屬於交易檔案之區塊^ 時’即代表檔案進行交易修改之動作未完成,此時槽案Q 統將依完成之狀態不同而作處理。 田一” 當發現區塊60屬於交易槽案,且區塊60内之交易檔頭 62内所記錄之交易狀態於未完成狀態時,即代表為標案進 行交易修改時,突然產生斷電或使用者指定取消交^修改 之進行及其他中斷因素而產生,此時檔案系統則會依^俨 案紀錄64内之參與交易修改之檔案編號,檢視參與進行^ 易修改之檔案的一般檔頭之檔案恢復屬性攔位,^設定= 恢復方式作檔案恢復’當樓案欲進行恢復於交易修$ ^時 ’其係先讀取區塊60内之播案紀錄64並檢視參與交易修改 之檔案,以得知參與交易修改之槽案於進行交/易佟改^所 使用之區塊數目與目前所使用之區塊數目為何,並比較進 行交易修改前與目前所使用之區塊數目,將超出交易修改 前使用區塊數目之目前使用區塊刪除。 ^ 假:參與交易修改之槽案於交易修改前共使用有“固 區塊,然而目前所使用之區塊有—版本〇 一 版本0順序2區塊72、一版本i順序3區 、序[鬼70 區塊76及一版本〇順序5區塊77 免4、一版本1順序4 所示),於進行比較之心個區塊(如第六A圖 易修改前使用之區塊數目而予以删/頁序5,塊77為超出交 與交易修改之檔案,於交易於 二’接著檢視並回復參 舊版原區塊,兩版本。之順易序 ==亍交易修改之 現ί8與順序4區塊79 (如Page 10 1240862 V. Description of the invention (7) In the case of modification, the file will be deleted immediately when the file modification operation is completed. Therefore, if a block belonging to the transaction file is found, it will be traded on behalf of the file. The modification action is not completed. At this time, the slot system will be processed according to the completed status. "Tianyi" When it is found that block 60 belongs to the transaction slot case, and the transaction status recorded in the transaction header 62 in block 60 is in the incomplete state, it means that when the transaction is modified for the bid, a power outage or a sudden power failure occurs. The user specifies that the cancellation of the modification process and other interruption factors are caused. At this time, the file system will view the general file header of the file that participates in the modification of the ^ easy modification according to the file number of the transaction modification in the ^ 俨 case record 64. File recovery attribute block, ^ setting = recovery method for file recovery 'when the building case is to be restored in the transaction repair $ ^', it first reads the podcast record 64 in block 60 and views the file that participated in the transaction modification, In order to know the number of blocks used in the transaction / transaction modification in the transaction / transaction modification ^ and the number of blocks currently used, and compare the number of blocks used before the transaction modification with the current number, it will exceed The current used block number of the used block number before the transaction modification is deleted. ^ False: The slot case involved in the transaction modification has a "solid block" before the transaction modification. However, the currently used blocks are-version 〇 Version 0 order 2 block 72, first version i order 3 area, order [shown in ghost 70 block 76 and first version 0 order 5 block 77 free 4 and first version 1 order 4], in the heart of the comparison area Blocks (such as the number of blocks used before easy modification in Figure 6A) are deleted / page order 5. Block 77 is the file that exceeds the transaction modification. After the transaction is completed, the second block is then viewed and restored. Two versions. Easy sequence == 亍 Modified transaction 8 and sequence 4 block 79 (such as

1240862 五、發明說明(8) 第六B圖所示),& 2區塊72與-順序△取代目前交易修改之兩新版本1之順序 與一順序4區塊&塊74,並將兩新版本1之順序3區塊74 易檔案之其它區换予以刪除,最後即刪除區塊與屬於交 。 鬼’如此即完成恢復於交易修改前之擋案 完成區=易權頭62内所記錄之交易狀態於 修改動作,除…夺播案糸統將繼續完成槽案交易 改前成之方法步驟係如上述進行恢復於交易修 錚6其4'不同之:驟ί於檔案系統係讀取區 i隹—六旦炊、、彔4,係用以知知參與交易修改之檔案於 之;ί於‘改後所使用之區塊數目’再比較參與交易修改 改後與目前所使用之區塊數目,將目 除區塊6〇與屬於交易檔案之其它區塊,即完」 父易修改動作。 1心成 此方法係避免使用者進行檔案交易修改時,交 ^作係要將原檔案之最後一個區塊作刪除,即當置^ 乂巧塊已修改完畢,最後欲進行將最後一個區塊; =日二=發生斷電等其他中斷因素,使的雖然」 二备頭62之交易狀態紀錄為完成之狀態,但實際上係: 成,此時因最後欲刪除之最後—個區塊之版本可间 三舊版本,所以當檔案系統如沒有繼續完成交易修改 作’將發生檔案錯誤之情形。 動1240862 V. Description of the invention (8) (shown in Figure 6B), & 2 blocks 72 and-order △ replace the order and one order 4 blocks & block 74 of the two new version 1 of the current transaction modification, and The two new versions of the first 3 blocks 74 other files in the easy file are deleted, and finally the blocks are deleted. Ghost 'will then complete the restoration of the case completion area before the transaction modification = the transaction status recorded in Yiquantou 62 will be modified, except that ... Restoring as described above is different from the transaction repair 6 and its 4 'difference: ί In the file system, the reading area i 六-Liudangu, 彔 4, is used to know the files involved in the transaction modification; ί 于'Number of blocks used after the change' is then compared with the number of blocks used in the transaction modification after the change and the number of blocks currently used. Block 60 and other blocks belonging to the transaction file will be removed. This method is to avoid the user's modification of the file transaction. The operation is to delete the last block of the original file, that is, when the block has been modified, and the last block is to be modified. ; = 2nd day = other interruption factors such as power outages, although the transaction status record of Erbeitou 62 is completed, it is actually: At this time, because of the last- The version can be three old versions, so if the file system does not continue to complete the transaction modification, the file error will occur. move

第12頁 1240862 五、發明說明(9) 另外,本發明之擋案系 檢測該快閃記憶體1 〇内之複 乾淨區塊之數目低於一設定 ,產生乾淨區段之步驟,此 有複數區塊1 4之總數目,該 每一區段12中之每一區塊14 中最新版之區段抹除次數紀 區塊、較少有用區塊及區段 將選出欲進行區段抹除動作 他區段,最後將選出之區段 產生一乾淨之區段。 此步驟可解決習用之快 檢測並進行區段抹除之動作 一定數目之乾淨區塊,以利 選擇欲進行區段抹除動作的 中之最高區段抹除次數與最 到一限定值時,則優先選擇 考慮無用區塊與有用區塊之 一相同之區段進行區段抹除 壽命。 此外’本發明檔案系統 需求之步驟,當檔案系統進 抹除作業或者使用者於進行 記憶體時,該上述之作業將 統管理方法,更包括有一自動 數乾淨區塊總數目之步驟,當 低限值時,檔案系統將會進行 低限相當於一個區段1 2所包含 產生乾淨區段之步驟係先檢視 ,且讀取所有區段1 2之區段頭 錄,以選出同時具有較多無用 抹除次數較低之一區段,之後 之區段内有用的區塊複製到其 進行區段抹除之動作,如此即 閃記憶體之檔案系統無法自動 ’使的快閃記憶體1 〇内保持有 進行區段1 2進行抹除,此外於 區段之步驟中,當所有區段1 2 低區段抹除次數之兩區段相差 區段抹除次數最低之區段,不 數目,此設計係可避免重複對 ’以增加快閃記憶體1 〇之使用 管理方法更包括有一快速回應 行區段抹除之複製作業、區段 寫入或複製檔案資料於該快閃 進行至一階段或者完成一區塊Page 12 1240862 V. Description of the invention (9) In addition, the case of the present invention is to detect that the number of re-cleaned blocks in the flash memory 10 is less than a set, and a step of generating clean sections is provided. The total number of blocks 1 to 4. The latest version of block erasure times in each block 14 in each of the 12 blocks, less useful blocks, and sections will be selected for block erasure. Manipulate other sections, and finally the selected section will produce a clean section. This step can solve the practice of quickly detecting and erasing a certain number of clean blocks to facilitate the selection of the highest number of erasing times and the highest limit value in the erasing action. Then, it is preferable to select a sector in which the useless block is the same as one of the useful blocks for the sector erasing life. In addition, the steps required by the file system of the present invention, when the file system is erased or the user is performing memory, the above operations will be managed in a unified manner, and it further includes a step of automatically counting the total number of clean blocks. When the limit value is reached, the file system will perform a low limit equivalent to a section 12. The steps to generate a clean section are viewed first, and the section headers of all sections 12 are read to select more Useless erasure of a lower sector, and subsequent useful blocks in the sector are copied to the sector erase operation, so the flash memory file system cannot automatically 'make the flash memory 1 〇 Inside, there are sections 1 and 2 for erasing. In addition, in the step of the section, when all the sections 1 2 and the low section erasing frequency are different, the section with the lowest erasing section number is not counted. This design can avoid the repeated use of 'to increase the flash memory 10'. The management method further includes a quick response line sector erase operation, segment writing or copying file data to the flash memory. Segment or a complete block

1240862 五、發明說明(10) 之寫入或複製時,檔案系統會檢視其他檔案是 的要求,而優先進行,如此可使本發明之槽案 速回應需求即時化處理之效率。 請一併參閱第七圖,係本發明用於寫入儲 (逑你檔案)之區塊架構示意圖;如圖所示, 於區塊頭20下設有一迷你檔頭82,其係包括有 座之複數欄位,其係包括有一檔案頻序號碼, 槽案產生的順序,其產生的順序會連同一般槽 順序號碼一起比較紀錄;一檔案屬性,表示迷 之方式,檔案屬性係相同於上述之一般檔頭5 2 ;一檔頭大小,紀錄迷你檔頭82之大小;一資 錄存入於區塊8〇内之迷你檔案資料在區塊8〇之 案產生間欄位,表示迷你檔案產生之時間;一 位及一權案名稱。 藉由此架構使用者可將一些重要且較小之 料,集中寫入於區塊8〇中,其寫入第一筆迷你 係根據迷你檔頭8 2内之檔頭大小而得知迷你檔 位置’、而接續迷你檔頭8 2結束位置將第一筆迷 入,然而迷你檔頭之82之資料位置將記錄第一 8 4所在之位置,如此要將第二筆迷你檔案8 6寫 根據迷你檔頭之82之資料位置接續第一筆迷你 束位置寫入即可,依照上述之架構及使用方法 ^數筆迷你槽案直到區塊80之空間使用完,再 八他區塊,如此可有效的利用快閃記憶體10之 第14頁 否有更重要 系統達到快 存較小檔案 一區塊80係 紀錄各項屬 用以紀錄各 頭52之檔案 你檔案使用 之檔案屬性 料位置,紀 位置;一檔 檔案大小攔 迷你檔案資 檔案8 4時, 頭8 2之結束 你檔案8 4寫 筆迷你檔案 入時,只需 樓案8 4之結 可持續寫入 更換寫入於 記憶空間,1240862 V. When writing or copying the description of the invention (10), the file system will check the other files' requirements and give priority to it, so that the slot of the invention can respond quickly to the efficiency of real-time processing requirements. Please refer to the seventh figure together, which is a schematic diagram of the block structure for writing (storing your files) according to the present invention. As shown in the figure, a mini gear 82 is provided under the block head 20, which includes a seat. The plural field includes a file sequence number, and the order in which the slot cases are generated will be compared with the general slot sequence number in the record; a file attribute, which indicates the way of the fan, and the file attribute is the same as the above general File header 5 2; The size of a file header records the size of the mini file header 82; a file of the mini file data stored in block 80 in the field of the case generation in block 80 indicates that the mini file was generated. Time; one and one case name. With this structure, the user can write some important and smaller materials in block 80. The first mini is written according to the size of the mini-head in the mini-head 82. Position ', and follow the end of the mini file 8 2 to attract the first pen, but the data position of the mini file 82 will record the position of the first 84, so the second mini file 8 6 is written according to the mini The data position of the header 82 can be continued from the first mini beam position. According to the above-mentioned structure and use method ^ several mini slot cases until the space of block 80 is used up, and then other blocks, so it can be effective. The use of flash memory on page 14 whether there is a more important system to achieve quicker storage of smaller files. A block of 80 series records are used to record the files of each head. ; A file size block mini file asset file 8 4 hours, the end of the first 8 2 your file 8 4 write pen mini file to enter, only the case of the case file 8 4 can be continuously written and replaced in the memory space,

1240862 五、發明說明(11) __ 而增加快閃記憶體1 0之佶用 你檔案就需設有-區塊尾以二:’另夕卜’當寫入每-筆迷 如第七圖所示,區塊寫2每筆迷你檔案, 迷你檔案86,戶斤以需設有 _ :筆迷你檔案84與第二筆 ,已確保第-迷你檔案84盘:—=段尾88及第二區段尾89 再者,本發明係;右W二筆迷你檔案86資料無誤。 區30内寫入一目錄檔‘二:檔案,係在區塊14之資料 所有之目錄名稱建立;該目目;;案係將快閃記憶體1。内部 知目前所使用之快閃記怜體=案中’如此當使用者欲獲 將讀取目錄檔案内2資=:有哪些目錄時’檔案系統 綜上所述,本發;使用者得知。— 其邏輯架構,係、有效的解習:體之h案系統官理方法及 内之檔案結構較為脆弱、;之快閃記憶體之檔案系統 中斷時無法作檔案恢複、ί案於進行交易修改作業而產生 主動作區段抹除及盔法逵到f t槽案損壞偵測功能、無法 藉由將迷你檔案隼ϊίί即時化作業等缺點,且本發明 閃記憶體10之使用效率:::檔案之設計,*的提高快 業時,係依據區段頭之區;性,此外於進行區段抹除作 版本之記錄進行,可接古又抹除次數紀錄及區段抹除記錄 故本發明實為一且閃"己憶體10之使用壽命。 用者,應符合我國鼻:t ί穎性、進步性即可供產業上利 發明專利申請,讲Α法專利申請要件無疑,爰依法提出 惟以上所述者,僅::::至准專利’至感為禱。 用來限定本發明眚# >二本么明一較佳實施例而已,並非 月貫施之乾圍,故舉凡依本發明申請專利範1240862 V. Description of the invention (11) __ And to increase the flash memory 10, you need to set up your file-the end of the block is two: 'Another Xi Bu' when writing each-pen fans as shown in the seventh picture As shown in the figure, each mini file is written in the block, and the mini file is 86. Each household needs to set up _: mini file 84 and the second one. It has been ensured that the mini-file 84 is set to: — = Duan 88 and the second area. Paragraph end 89 Furthermore, the present invention is related; the right W two mini files 86 are correct. A directory file ‘II: File is written in area 30. All the directory names are created; the title; the case will be flash memory 1. Internal knowing the current use of flash memory = in the case ’so when the user wants to obtain 2 files in the directory file =: what directories are there’ file system In summary, this issue; the user knows. — Its logical structure is effective and effective: the official method of the case system and the internal file structure are relatively fragile; the file system of the flash memory cannot be restored when the file system is interrupted, and the transaction is modified The operation has the disadvantages of erasing the main action section and the damage detection function of the helmet method to the ft slot, unable to real-time operation of the mini file, and the use efficiency of the flash memory 10 of the present invention :: file The design, when improving the fast business, is based on the area at the head of the sector; in addition, it is performed during the erasing of the section as a version record, which can be connected to the ancient and erasing records and the erasing record. It is the life span of "Qi Yi Yi 10". The user should meet the requirements of China's nose: t 颖 The quality and progress can be used for the industrial patent application for inventions. The essentials of the patent application method of Law A are undoubtedly the only ones mentioned above according to the law, only ::: quasi-patent 'Extremely pray. It is used to limit the present invention. # ≫ Two copies of the first preferred embodiment of this invention, is not a continuation of the monthly implementation, so to apply for a patent application in accordance with the present invention

麵IIFace II

第15頁 1240862 五、發明說明(12) 圍所述之形狀、構造、特徵及精神所為之均等變化與修飾 ,均應包括於本發明之申請專利範圍内。 【圖號對照說明】Page 15 1240862 5. The equal changes and modifications of the shape, structure, features and spirit described in the description of the invention (12) shall all be included in the scope of patent application of the present invention. [Comparison of drawing number]

10 快閃記憶體 72 版本0順序2區塊 12 區段 74 版本1順序3區塊 14 區塊 76 版本1順序4區塊 20 區塊頭 77 版本0順序5區塊 30 資料區 78 版本0順序3區塊 40 區塊尾 79 版本0順序4區塊 50 檔案第一個區塊 80 區塊 52 一般檔頭 82 迷你檔頭 60 區塊 84 第一筆迷你檔案 62 交易檔頭 86 第二筆迷你檔案 64 槽案記錄 88 第一區段尾 70 版本0順序1區塊 89 第二區段尾10 Flash memory 72 version 0 order 2 block 12 section 74 version 1 order 3 block 14 block 76 version 1 order 4 block 20 block header 77 version 0 order 5 block 30 data area 78 version 0 order 3 Block 40 Block End 79 Version 0 Sequence 4 Block 50 File First Block 80 Block 52 General Header 82 Mini Header 60 Block 84 First Mini File 62 Transaction Header 86 Second Mini File 64 slot case record 88 end of first segment 70 version 0 sequence 1 block 89 end of second segment

第16頁 1240862 圖式簡單說明 第一圖係本發明快閃記憶體内之架構示意圖; 第二圖係本發明快閃記憶體之每一區段内之架構示意圖; 第三圖係本發明每一區段内之每一區塊之架構示意圖; 第四圖係本發明較佳實施例檔案資料寫入於第一個區塊之 架構不意圖, 第五圖係本發明較佳實施例紀錄檔案進行交易修改情形之 區塊架構示意圖; 第六A圖係本發明較佳實施例檔案進行交易修改,而目前 使用區塊之方塊圖;1240862 on page 16 Brief description of the diagram The first diagram is a schematic diagram of the architecture of the flash memory of the present invention; the second diagram is a schematic diagram of the architecture of each section of the flash memory of the present invention; the third diagram is each of the present invention. Schematic diagram of the structure of each block in a section; The fourth diagram is the structure of the first embodiment of the present invention, and the fifth diagram is the record file of the preferred embodiment of the present invention. Schematic diagram of the block structure for transaction modification; Figure 6A is a block diagram of the preferred embodiment of the present invention for transaction modification, and currently uses block diagrams;

第六B圖係本發明之檔案進行交易修改,所保留的原版區 塊之方塊圖; 第七圖係本發明較佳實施例用於寫入儲存較小檔案之區塊 架構不意圖。The sixth diagram B is a block diagram of the original block reserved for the file modification of the present invention; the seventh diagram is a block structure for writing a smaller file for storing a smaller file according to a preferred embodiment of the present invention.

第17頁Page 17

Claims (1)

1240862 六、申請專利乾圍 1 · 一種快閃記憶體之檔案系統管理方法,一檔案系統内 之一快閃記憶體之每一區段係有複數區塊,每一該區 塊係有一區塊頭及一檢查用區塊尾,檔案資料係分散 寫入於不同之區塊中,該管理方法係包括有下列之步 驟: a. 讀取每一該區塊頭之資料; b. 依據該區塊頭之一檔案編號及一順序號碼重組檔案 , c. 檢查該檔案是否完整;及 d. 依據該區塊頭内之一區塊屬性,判斷該區塊是否屬 於一交易檔案,該交易檔案係紀錄至少一檔案進行 交易修改之情形。 2 ·如申請專利範圍第1項所述之快閃記憶體之檔案系統 管理方法,其中於步驟a後,更包含先讀取每一該區 段之第一個區塊内之一區段頭,檢視該區段之狀態為 使用、複製、抹除或損毀之狀態。 3 ·如申請專利範圍第1項所述之快閃記憶體之檔案系統 管理方法,其中於步驟c中,其係判斷同一該檔案編 號之複數區塊之該順序號碼是否連續,當不連續即為 破損之檔案,而進行刪除該檔案。 4 ·如申請專利範圍第1項所述之快閃記憶體之檔案系統 管理方法,其中於步驟d中,當該區塊屬於該交易檔 案時,該區塊内之一交易檔頭所紀錄之一交易狀態於 未完成狀態時,則依據該進行交易修改之檔案的一般1240862 VI. Applying for patent patents 1. A flash memory file system management method. Each sector of a flash memory in a file system has a plurality of blocks, and each of the blocks has a block header. And a block end for inspection, the file data is written separately in different blocks, and the management method includes the following steps: a. Reading the data of each block header; b. According to the block header A file number and a sequence number to reorganize the file, c. Check whether the file is complete; and d. Determine whether the block belongs to a transaction file based on a block attribute in the block header, and the transaction file records at least one file In case of transaction modification. 2 · The flash memory file system management method according to item 1 of the scope of patent application, wherein after step a, it further includes reading a sector header in the first block of each sector first. , Check the status of the section as used, copied, erased or destroyed. 3. The flash memory file system management method as described in item 1 of the scope of the patent application, wherein in step c, it is to judge whether the sequential numbers of the plural blocks of the same file number are continuous. Delete the file for a damaged file. 4 · The flash memory file system management method as described in item 1 of the scope of patent application, wherein in step d, when the block belongs to the transaction file, the file recorded in a transaction file in the block When a transaction status is in the incomplete status, the general of the file for transaction modification is based on the 1240862 六、申請專利範圍 -------— 檔案恢復屬性作樓案恢復,該檔案恢復屬性 G I 1 ^设檔案未更改前、保留更改後狀態或作刪除。 ^明專利範圍第4項所述之快閃記憶體之檔案系統 吕理方法’其中該播案進行恢復於更改前之方法係 括有下列之步驟: a·靖=遠具有交易檔頭之區塊内之至少一檔案記錄, 以知知該槽案於交易修改前所使用之區塊數目; b·檢視該檔案目前所使用之區塊數目; c·比較該交易修改前使用區塊數目與目前使用區塊數 目’將超出該交易修改前使用區塊數目之目前使用 區塊刪除; d ·檢視並回復該檔案於交易修改前所保留之原區塊; e ·刪除該檔案交易修改之新版區塊;及 f ·刪除屬於該交易檔案之區塊。 6 ·如申請專利範圍第1項所述之快閃記憶體之檔案系統 管理方法,其中於步驟d中,當該區塊屬於該交易檔 案時,該區塊内之一交易檔頭所紀錄之一交易狀態於 完成狀態時,則繼續完成該檔案交易,其完成之方法 係包含有下列之步驟: a ·讀取該具有交易檔頭之區塊内之至少一檔案記錄, 以得知該檔案於交易修改後使用之區塊數目; b. 檢視該檔案目前使用之區塊數目; c. 比較交易修改後使用區塊數目與目前使用區塊數目 ,將超出該交易修改後使用區塊數目之目前使用區1240862 VI. Scope of patent application --------- The file restoration attribute is used for building restoration. The file restoration attribute is G I 1 ^ It is assumed that the state of the file is not changed, the state after the change is retained, or deleted. ^ The flash memory file system method described in item 4 of the Ming patent method, wherein the method of restoring the broadcast before the change includes the following steps: a · Jing = Area with a transaction file At least one file record in the block to know the number of blocks used in the slot before the transaction is modified; b. View the number of blocks currently used in the file; c. Compare the number of blocks used before the transaction with the modification Number of currently used blocks' will delete the currently used blocks that exceed the number of used blocks before the transaction is modified; d · View and reply to the original blocks reserved by the file before the transaction modification; e · Delete the new version of the file transaction modification Blocks; and f-delete blocks belonging to the transaction file. 6. The flash memory file system management method as described in item 1 of the scope of patent application, wherein in step d, when the block belongs to the transaction file, the file recorded in a transaction header in the block When a transaction status is completed, the file transaction is continued to be completed. The method of completion includes the following steps: a. Read at least one file record in the block with the transaction header to know the file The number of blocks used after the transaction modification; b. View the number of blocks currently used in the file; c. Compare the number of blocks used after the transaction modification with the number of blocks currently used, which will exceed the number of blocks used after the transaction modification Current use area 1240862 六、申請專利範圍 塊刪除;及 d.刪除屬於該交易檔 7 ·如申請專利範圍第1 管理方法,更包括有 括有下列之步驟: a ·檢視每一該區段中 段之第一個區塊之 除次數紀錄,選出 區塊及區段抹除次 b·將選出之該區段内 及 c·將該選出之區段進 8 ·如申請專利範圍第7 管理方法,其中於進 有自動檢測該快閃記 驟,當該乾淨區塊之 進行該產生乾淨區段 9 ·如申請專利範圍第7 管理方法,其中於步 最高之兩區段相差達 抹除次數最低之區段 數目。 1 0 ·如申請專利範圍第7 管理方法,其中於步1240862 VI. Deletion of patent application scope blocks; and d. Deletion of the transaction file 7 · If the first patent application scope management method includes the following steps: a · Examine the first of each middle section Record of the number of divisions of the block, the selected block and the erasure time of the block b. The selected section and c. The selected section will be entered into 8. The 7th management method of the scope of patent application, among which Automatically detect the flash step. When the clean block is performed, the clean section 9 is generated. · As in the seventh management method of the scope of the patent application, the two sections with the highest steps differ by the number of sections with the lowest number of erasures. 1 0 · As the seventh management method in the scope of patent application, 案之區塊。 項所述之快閃記憶體之播案系統 —產生乾淨區段之步驟’其係包 之每/該區塊,且讀取每一該區 —區段頭内之一最新版本區段抹 —具有較多無用區塊、較少有用 數較低之一區段; 之有用的區塊複製到其他區段; 行抹除。 項所述之快閃記憶體之檔案系統 行產生乾淨區段之步驟前,更設 憶體内之複數乾淨區塊數目之步 總數目低於一設定低限值時,再 之步碌 項所迷之快閃記憶體之檔案系統 驟中’當區段抹除次數最低與 到一限定值時,則優先選擇區段 不考慮無用區塊與有用區塊之 =所述之快閃記憶體之檑案系統 勒及步驟c中,t包含有一快速 Η 1240862 13 當 六、申請專利範圍 回應需 除作業 有更重 11 ·如申請 管理方 者於進 寫完或 是否有 12 ·如申請 管理方 括有下 a. 依據 存較 迷你 b. 依據 你檔 第一 如申請 管理方 寫時 a. 依據 你檔 筆該 b. 依據 求之步 至一階段時, 要的要求,而 專利範圍第1 法,更包含有 行寫入或複製 複製完一區塊 更重要的要求 專利範圍第1 法’更包括有 列之步驟: 該區塊頭内之 小之迷你檔案 檔頭;及 該迷你檔頭内 頭之結束位置 筆迷你檔案寫 專利範圍第1 2 法,其中於步 ,其寫入之方 該迷你檔頭之 案之結束位置 迷你檔案;及 寫入該迷你檔 進行複製作業到一階段及區段抹 該檔案系統會檢視其他檔案是否 優先進行。 項所述之快閃記憶體之檔案系統 一快速回應需求之步驟,當使用 檔案資料於該快閃記憶體時,當 時,該檔案系統會檢視其他檔案 ’而優先進行。 項所述之快閃記憶體之檔案系統 一寫入迷你檔案之步驟,其係包 該區塊屬性,檢視出用於寫入儲 資料之一區塊,该區塊係具有一 ^己錄之一檔頭大小,以得知該迷 ",而接續該迷你檔頭結束位置將 〇 十·之快閃記憶體之檔案系統 μ,欲將至少一筆迷你檔案 驟b後 /々括有下列步驟: Φ係包符 / ^料位置’以得知該第一筆迷 =换續該結束位置寫入至少一 ,於該區段尾上設有相Case block. The flash memory broadcast system described in the above item—the step of generating a clean segment ', which is to package each / the block, and read each of the segment—the latest version of the segment erase in the segment header— One segment with more useless blocks and less useful numbers; the useful blocks are copied to other segments; the erase is performed. Before the file system of the flash memory described in the item performs the step of generating a clean section, set the number of steps in the memory to a plurality of clean blocks. The total number of steps is lower than a set low limit, and then the step is performed. In the file system of the mysterious flash memory, when the number of sector erasures is the lowest and a limited value is reached, priority is given to the segment without considering the useless blocks and useful blocks. In the case system, step c is included. T includes a quick response. 1240862 13 When the application scope of the patent application requires more work than the operation 11 · If the applicant has finished writing or has 12 · If the application management party includes There are the following a. According to the mini-b. According to your file, such as when the application manager writes a. According to your file, b. According to the requirements to the first stage, the requirements are required, and the first scope of the patent scope, It also contains the more important requirements of writing or copying a block to complete a block. The first method of patent scope includes the following steps: a small mini file header in the block header; and a mini file header in the mini header. End Write a mini file to write the patent scope of the 12th method, in which, in the step, it writes the mini file at the end of the case of the mini file; and writes the mini file to copy the operation to a stage and sector erase The file system checks whether other files are prioritized. The flash memory file system described in this item is a step of responding quickly to the demand. When using file data in the flash memory, the file system will review other files at that time and give priority. The step of writing a mini file in the flash memory file system described in the item is to include the block attributes, and to view a block used to write the stored data, the block has a The size of a file head to know the fan, and the end position of the mini file head will be the flash memory file system μ. At least one mini file will be followed by the following steps: : Φ is the package symbol / ^ material position 'to know that the first fan = write at least one at the end position, and set the phase at the end of the section. 案之 筆數Number of cases
TW92109294A 2003-04-22 2003-04-22 File system managing-method of flash memory and its logic framework TWI240862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92109294A TWI240862B (en) 2003-04-22 2003-04-22 File system managing-method of flash memory and its logic framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92109294A TWI240862B (en) 2003-04-22 2003-04-22 File system managing-method of flash memory and its logic framework

Publications (2)

Publication Number Publication Date
TW200422825A TW200422825A (en) 2004-11-01
TWI240862B true TWI240862B (en) 2005-10-01

Family

ID=37012967

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92109294A TWI240862B (en) 2003-04-22 2003-04-22 File system managing-method of flash memory and its logic framework

Country Status (1)

Country Link
TW (1) TWI240862B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI386803B (en) * 2008-07-02 2013-02-21 Silicon Motion Inc Flash memory card and method for securing a flash memory against data damage
US9342446B2 (en) 2011-03-29 2016-05-17 SanDisk Technologies, Inc. Non-volatile memory system allowing reverse eviction of data updates to non-volatile binary cache
US9748001B2 (en) 2009-07-06 2017-08-29 Sandisk Technologies Llc Bad column management with bit information in non-volatile memory systems

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI386803B (en) * 2008-07-02 2013-02-21 Silicon Motion Inc Flash memory card and method for securing a flash memory against data damage
US9748001B2 (en) 2009-07-06 2017-08-29 Sandisk Technologies Llc Bad column management with bit information in non-volatile memory systems
US9342446B2 (en) 2011-03-29 2016-05-17 SanDisk Technologies, Inc. Non-volatile memory system allowing reverse eviction of data updates to non-volatile binary cache

Also Published As

Publication number Publication date
TW200422825A (en) 2004-11-01

Similar Documents

Publication Publication Date Title
US11243911B2 (en) Method and apparatus for fault-tolerant memory management
TWI362667B (en) Data writing method for flash memory and controller thereof
US10176190B2 (en) Data integrity and loss resistance in high performance and high capacity storage deduplication
US9239761B2 (en) Storage system format for transaction safe file system
CN105550062B (en) The data reflow method restored based on continuous data protection and time point browsing
TW201145020A (en) Physical compression of data with flat or systematic pattern
KR20110097937A (en) Ruggedized memory device
TW201003392A (en) Data accessing method for flash memory and storage system and controller using the same
CN100504800C (en) Method for snapshot of magnetic disc
WO2020143240A1 (en) Method for quickly recovering data in flash memory database
WO2018000191A1 (en) Method and device for data processing
TWI355668B (en)
TW201007740A (en) Method for managing data and storage apparatus thereof and controller thereof
TWI240862B (en) File system managing-method of flash memory and its logic framework
CN105630697B (en) A kind of storage device using MRAM storage small documents
CN103210389B (en) A kind for the treatment of method and apparatus of metadata
CN114924911A (en) Method, device, equipment and storage medium for backing up effective data of Windows operating system
CN110704239B (en) Data copying method and device and electronic equipment
KR100775141B1 (en) An implementation method of FAT file system which the journaling is applied method
CN111090396A (en) File processing method and device and electronic equipment
JPH033046A (en) Log record control system
JP2004295759A (en) Recording system
CN109960472B (en) Flash-based embedded file system and file system operation method
TWI548989B (en) Mobile electronic device and method for clearing memory blocks
TWI323414B (en) A method for generating snapshots

Legal Events

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