TW200823744A - Storage apparatus with data protection function and method therefor - Google Patents

Storage apparatus with data protection function and method therefor Download PDF

Info

Publication number
TW200823744A
TW200823744A TW95142701A TW95142701A TW200823744A TW 200823744 A TW200823744 A TW 200823744A TW 95142701 A TW95142701 A TW 95142701A TW 95142701 A TW95142701 A TW 95142701A TW 200823744 A TW200823744 A TW 200823744A
Authority
TW
Taiwan
Prior art keywords
storage
record
data
file
temporary
Prior art date
Application number
TW95142701A
Other languages
Chinese (zh)
Other versions
TWI317899B (en
Inventor
Shih-Fang Wong
Tsung-Jen Chuang
zhi-hua Yu
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW95142701A priority Critical patent/TWI317899B/en
Publication of TW200823744A publication Critical patent/TW200823744A/en
Application granted granted Critical
Publication of TWI317899B publication Critical patent/TWI317899B/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This invention provides an apparatus with data protection function and method therefor. The method includes steps of: open a file through a program; search a temporary file editing area from the memory; create a record in a record list which includes the file name and storage address; copy data in the temporary file editing area to a data temporary storage unit, and create a image file; update the image file while the data in the editing area changes; search the record from the record list while the apparatus and the host connected again after they disconnected, and read the image file; send the image file into the memory.

Description

200823744 九、發明說明: Γ發明所屬之技術領域】 方法。 卜本發明提供—種財㈣臨時保護功能的存儲裝置及 【先前技術】 ^種移動存儲設備如㈣記憶賴身碟 於其便舰,人__多的㈣ _ :=:崎進行編輯,在編輯過程中產生= 時,如未飾至該播案 機;載::== 檔案中:用戶所產f的臨時資料將丟失’無法保存至 白費,如果了大讀力及時間進行的編輯操作也將 白賈如果貧料十分重要,报可炉仏田L 損失。為瞭解決上述門韻用〜來巨大的經濟 自動保存的功能體本身提供了定時 彳、a 、焱時間,自動對編輯的内容進 =::=二:r-機 【發明内容】 種存儲裝置及資料臨時保護 有鑒於此,有必要提供一 200823744 其可自動存韻輯-槽案過程中產生的臨時 動===:,斷後再次連接時,自 Ί夂王逆接斷開之别的編輯狀態。 該存儲裝置包括-用於連接一主機的介面單元,— 儲檔案及一記錄表的存儲單元,一資料暫存單元:: 微處理單元。直中,該微虛 σ一 及 n修㈣ 早70包括—存儲控制模組、 。蚀職組、—暫存控制模組及—恢復控制模板 存館控制模組用於控制該存儲單元及該資料暫存單元進Γ 言買寫及擦除操作。當所述主機調用一應用程式開^ =早疋中的—播案進行編辑時,該暫存控制模組從該主^ 查找用於存放該應用程式運行時所需相關; 枓、該檔案的存儲位址及因編輯該檔所產生的臨時的 =輯區域,讀取該編輯區域中的資料,控制該存儲控制 =、且將所讀取的資料寫人該㈣暫存單元,生成―編 域鏡像檔’並當該編輯區域巾的#料變鱗㈣更新祕 像檔。該記錄控制模組控制所述記錄表產生_記錄,= 的内容為所述鏡像播名稱及其在該資料暫存單元巾的存儲 位置。該暫存控觀組觸韻衫正常關閉,當該標 正常關閉時,該暫存控制模組從該資料暫存單元中冊^該 棺案對應的鏡像檑’該記錄控制模組從該記錄表中刪除該 檔案對應的記錄。當該存儲裝置與該主機斷開連接後再次 連接時,所述恢復控制模組在該記錄表中查找記錄,如果 所述恢復控制模組在該記錄表令查找到記錄,該恢復控制 200823744 模組控制存錯控制模組根據該條記錄對應的存儲 該鏡像槽’並將該鏡像檔調入該主機的記憶體中。項取 .所述資料臨時保護方法,用於一存館裝置, 置包括二用於存館槽案的存儲單元,該存錯單元提供―:: 科暫存早70,該方法包括步驟:該主機調用 二 : 述存館單元中的一槽案進行編輯;從該主二 ,於存放該應用程式運行時所需相關資料、該$ 存錯位址及因編輯該職所產生的臨時難的編輯區域,· 將該編輯區域中的資料複製至該資料暫存單元,生成一梦 像槽^在-記錄表中建立一記錄,該記錄包括所述鏡像檔 =名稱及”存儲位置,當該編輯區域中的資料被更新時即 f新該鏡像槽;當該文件被正常關閉時,該存儲震置從 =料暫存單元中刪除該槽案對應的鏡像播,並從該記錄 :中刪除該槽案對應的記錄;該存儲裝置與該主機斷開連 後再次連接時,自動在該記錄表中查找記錄,並從所查 找到的記錄對應的鏡像槽存儲位置中讀取該鏡像標;及將 該鏡像檔調入該主機的記憶體中。 相較於現有技術,通過使用該存儲襄置及方法,可將 ^編輯槽時產生的臨時資料保存起來,在出現異常後將編 輯育料恢復,可避免資料的奸,從而減少損失。 【實施方式】 圖1所不7C本發明存儲裝置的硬體架構圖。一存 200823744 =其包括—介面單元2、— _ 暫存單元4及一存儲單元7。該介面單元2早疋3、—資料 犯連接進行資料傳輸。該存館單元=用於與-主機 錄表。 Μ7#存儲槽案及一記 所述微處理單元3包括— 制模組32、一恢復控制模組33及存儲一暫存控 存儲控制模纪34用於控制該存儲單元7‘料二 進行讀寫及擦除操作。 、4暫存早几4 請-併參照圖2,該存儲單元7存儲多個槽案,如一 二:用;=、—槽案C及一記錄表7〇。當主機10調 該應用Γ t該槽案a進行編輯時,該主機10將 用^運订時所需的相關資料調入記憶體11的應 =式X存放區41中’將該播案a的存儲位址等相關資 δ調入€憶體11的辟a f訊械區 槽案a的過財難生的科職放置於臨_案3在^ 士中,。該應用程式X存放區41、槽案a資訊存放區43 及叫槽案ai存放區42贿為關啟職a的編輯區域 A 〇 所述暫存控制模組32從該主機1〇的記憶體n中查找 所述編輯區域A的存放位址,讀取該編輯區域A中的資 料’並控制該存儲控制模組34將所讀取的資料寫入該資料 暫存單το 4 (在本發明第一實施方式中,該資料暫存單元4 為一獨立的非易失性存儲介質,如快閃記憶體;而在如圖 200823744 3所示^發㈣二實财式巾,織㈣存單元4也可 為存錯軍元7中的—存儲區域),生成編輯區域A的鏡像 檔A 401,當該編輯區域A中的資料變動時或每達到一週 期時間時’該暫存控觀組32即時讀取鶴的資料,更新 該鏡像槽A 401。 、如果該電腦10調用—應用程開啟槽案b,則同前 所述’暫存控制模組32從該主機1〇的記憶體u中查找應 用程式Y存放區51、槽案b資訊存放區53及臨時槽案bi 存放區52所組成的編輯區域B的存放位址,讀取該編輯 區域B中的貧料,並控制該存儲控制模組34將所讀取的 資料寫入該資料暫存單元4,生成編輯區域B的鏡像槽B 402,當該編輯區域B中的資料變動時或每達到—週 ==存控制模組32即時讀取變動的資料,更新該鏡 儲單元7中一槽案時,所述記錄 控H控制所述記錄表7G產生—條記錄, 内容為所述鏡像槽的名稱及其在該資料暫存單元4;的! 儲位置。例如,根據上述的例子,記錄表7G中有兩 分別對應于所的辟a及難b。 條讀 ,暫存控制模組32判斷該檑案b是否 槽5是否通過正常操作進行關閉,而非因斷電、進程 等1的異f結束。如果該檔案bw,主機 记憶體11釋放編輯區域B的所有存储空間,此時,^暫 200823744 存控麵、组32控制該資料暫存單元* _ •該記錄控制模組31從該記二 該檔案b對應的序號為2的記錄。如果槽案b未正 示 ΐ機10與該存儲裝置1發生異常斷開連接,則該資:暫才存 早凡4及該記錄表7G將保留在斷開連接之前儲 料存齡U每次與社機1Q連_,_ 制拉組33從該記縣7〇中查找是否有記錄存在。現^ 在編輯健a時,該域1G與該存縣置i的連接里常^ 如圖4所示,是本發明資料臨時保護方法存儲資料過 程的流賴。在紐財哺案“例,該餘包括步驟: 該主機1G調用-應用程式X開啟所述存儲單元7中的該 檔案a進行編輯(步驟S101)。暫存控制模組幻從該主^ 1〇的記憶體11中查找編輯區域八的位址(步驟si〇2)。 暫存控制模組32讀取該編輯區域A中的資料,並控制存 儲控制模組3 4將所讀取的資料寫入該資料暫存單元4,生 成—鏡像檔A 401 (步驟S103)。記錄控制模組31控制所 述記錄表7G產生-記錄’該記錄的内容為所述鏡像槽 7該恢彳_餘33查找_序號為i的記錄,並控 ’i存儲控偷組34輯該條記騎應的存触置括取該 鏡像槽越1 ’將該鏡像權A他調入該主機10的Γ己髓 =中’此時,社機1G將恢復至在咖連接之前對該棺 案a的編輯狀態’所有已經修改但未保存的資料也將存在 於記憶體中,故用戶可對未保存的編輯資料進行保存。 11 200823744 A401的名觀其顧f㈣存料 _。當該編輯區域A中的資料變動存^立置一(步锦 :=該脑料㈣梅:A 40: =^==^她是否正‘ 如果步驟S106的判斷結果為 ί步驟/07;如果步驟纖的判斷結果為否 暫存控制模.組32控制該資料暫存單元4刪除該檔索° a對應的鏡像檔α4〇1,該 …田” 令刪除該檔案a _ 該記錄表7〇 …的序5虎為1的§己錄(步驟幻〇7)。 ㈣所示,是本發__時健方法恢復資料過 ㈣該流程包括步驟··該存儲裝置1與該主機10 2接斷開後再次連接(步驟纖)。恢復控制模組33從 ‘己錄表7〇中查找是否有記錄存在(步驟S·)。如果步 驟S109的查找結果為是,則流程轉至步驟如〇 ;如果步 驟S109的查找結果為否,則流程結束。恢復控制模組% 控制存儲控制极組34根據該條記錄對應的存儲位置讀取 ^鏡像檔A 401 (步驟su〇)。恢復控麵組%將該鏡像 檔A401調入該主機10的記憶體11巾(步驟S111)。 _ =圖6所不,是本發明第三實施方式的硬體架構圖。 =實式與刚述第一實施方式的不同之處在於:所述資 料暫存早70 4為—易失性存儲介質,如隨機訪問記憶…· 但 (RAM) ’此種存儲介質在斷電後其存儲内容將消失, 其優點是讀寫速度較—般非易失性存儲介質快。 12 200823744 該存儲裝置1還包括—電源營 6’該存储裳置,與主機1〇正常連接時 含計、❸凡件進仃供電,並控制該供電單元6充雷。 田~子儲裝置1與主機1〇在出現 存控制模塊32將資料暫存單元4 供電,該暫 至該存儲單元7 ’所述記錄控制模組Μ將‘戶 == 4〇1的名稱及其在該存儲單元4中的存館位置。在=成2 述操^該瓣咏服晰順置^電。 弟一實施方式中採用了讀寫速度較快 能更及時的將記憶體中變更的資料存儲到資 1=::能更有效的避免因㈣^ 【圖式簡單說明】 圖1,本發明第—實施方式存儲裳置的硬體架構圖。 圖2是本發明存儲裝置作業示意圖。 圖3疋本發明第二實施方式存儲裝置的硬體架構圖。 圖4是本發明資料臨時保護方法存儲資料過程流程圖。 圖5是本發明資料臨時保護方法恢復資料過程流程圖。 圖6是本發明第三實施方式存儲裝置的硬體架構圖。 13 200823744 【主要元件符號說明】 ’存儲裝置 1 1介面單元 2 微處理單元 3 記錄控制模組 31 暫存控制模組 32 恢復處理模組 33 存儲控制模組 34 資料暫存單元 4 電源管理單元 5 供電單元 6 存儲單元 7 主機 10 記憶體 11 記錄表 70 14200823744 IX. Description of the invention: The technical field to which the invention belongs. The present invention provides a storage device for the temporary (four) temporary protection function and [previous technology] a kind of mobile storage device such as (4) memory lyrics in its free ship, people __ multi (four) _ :=: Saki edit, in If the error is generated during the editing process, if it is not attached to the broadcaster; load::== In the file: the temporary data of the user's f will be lost 'cannot be saved to the white fee, if the reading force and time are edited It is also important that Bai Jia, if it is poor, is reported to be able to lose L. In order to solve the above-mentioned door rhyme, the function body with huge economic automatic saving itself provides timing 彳, a, 焱 time, and automatically edits the content into the =::= two: r-machine [invention] storage device And the temporary protection of data. In view of this, it is necessary to provide a temporary movement generated during the process of automatically storing the rhyme-slot case in the 200823744 ===:, when the connection is broken again, the other editing state is disconnected from the king. . The storage device comprises: an interface unit for connecting to a host, a storage unit for storing files and a record table, and a data temporary storage unit:: a micro processing unit. Straight, the micro-virtual σ and n repair (four) early 70 include - storage control module, . The eclipse team, the temporary storage control module and the recovery control template are used to control the storage unit and the data temporary storage unit to purchase and write operations. When the host invokes an application to open a file for editing, the temporary control module is configured to store the application when the application is run; 枓, the file The storage address and the temporary = edit area generated by editing the file, read the data in the edit area, control the storage control =, and write the read data to the (four) temporary storage unit to generate - Edit the domain image file 'and update the secret image file when the edit area wipes the material. The record control module controls the record table to generate a record, and the content of the = is the name of the image play and its storage location in the data temporary storage unit. The temporary control group is normally closed. When the standard is normally closed, the temporary control module reads from the data temporary storage unit the image corresponding to the file, and the recording control module reads from the record. The record corresponding to the file is deleted from the table. When the storage device is disconnected from the host and then connected again, the recovery control module searches for a record in the record table, and if the recovery control module finds a record in the record table, the recovery control 200823744 mode The group control error control module stores the mirror slot corresponding to the record and transfers the image file to the memory of the host. The item temporary protection method is used for a depository device, and includes a storage unit for storing a storage case, the error-storing unit provides a “:: section temporary storage 70, the method includes the steps of: Host call 2: Edit a slot in the library unit for editing; from the master 2, store the relevant information required for the application to run, the $filed address, and the temporary difficult edits resulting from editing the job. The area, the data in the editing area is copied to the data temporary storage unit, and a dream image slot is generated. A record is created in the -record table, the record including the image file=name and "storage location" when the edit When the data in the area is updated, f is the new mirror slot; when the file is normally closed, the storage shock removes the mirror broadcast corresponding to the slot from the material temporary storage unit, and deletes the record from the record: a record corresponding to the slot; when the storage device is disconnected from the host and then reconnected, the record is automatically searched in the record table, and the image tag is read from the storage location of the mirror slot corresponding to the found record; Load the image file into In the memory of the host computer, compared with the prior art, by using the storage device and the method, the temporary data generated when the slot is edited can be saved, and the edited material can be restored after the abnormality occurs, thereby avoiding the rape of the data. Therefore, the hardware structure of the storage device of the present invention is shown in FIG. 1. A storage 200823744=which includes an interface unit 2, a temporary storage unit 4, and a storage unit 7. The interface unit 2 As early as 3, the data connection is connected for data transmission. The deposit unit = for the - host record table. Μ 7# storage slot case and a micro-processing unit 3 including - system module 32, a recovery control module The group 33 and the storage-storage storage control module 34 are used to control the storage unit 7's to perform read/write and erase operations. 4, 4 temporary storage, please - and refer to FIG. 2, the storage unit 7 stores Multiple slots, such as one: two; use; =, - slot C and a record table 7. When the host 10 adjusts the application 该 t the slot a for editing, the host 10 will use the ^ when the booking The relevant data required to be transferred to the memory 11 should be in the formula X storage area 41 'the broadcast case a The storage address and other related assets are transferred to the af 讯 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 The slot a information storage area 43 and the slot ai storage area 42 bribes the editing area A of the opening a. The temporary storage control module 32 searches for the editing area from the memory n of the host 1 A storage address of A, reading the data in the editing area A and controlling the storage control module 34 to write the read data into the data temporary storage list το 4 (in the first embodiment of the present invention, the data The temporary storage unit 4 is a separate non-volatile storage medium, such as a flash memory; and as shown in FIG. 200823744 3, the (four) two solid financial type towel, the weaving (four) storage unit 4 can also be a wrong military unit. In the storage area of 7, the image file A 401 of the editing area A is generated. When the data in the editing area A changes or every time period is reached, the temporary storage control group 32 reads the data of the crane immediately. Update the mirror slot A 401. If the computer 10 calls the application to open the slot b, the temporary storage control module 32 looks up the application Y storage area 51 and the slot b information storage area from the memory u of the host 1 53 and temporary storage case bi storage area 52 of the editing area B storage address, read the poor material in the editing area B, and control the storage control module 34 to write the read data to the data temporarily The storage unit 4 generates a mirror slot B 402 of the editing area B. When the data in the editing area B changes or every time the data is reached, the storage control module 32 reads the changed data, and updates the mirror storage unit 7. In a slot case, the record control H controls the record table 7G to generate a record, the content of which is the name of the mirror slot and its storage location in the data temporary storage unit 4; For example, according to the above example, two of the record tables 7G correspond to the respective ones and the hard ones. The strip read, the temporary storage control module 32 determines whether the file b is closed by the normal operation, or not because of the power failure, the process, and the like. If the file bw, the host memory 11 releases all the storage space of the editing area B, at this time, the temporary 200823744 storage control plane, the group 32 controls the data temporary storage unit * _ • the recording control module 31 from the second The file b corresponds to a record with a serial number of 2. If the slot b does not indicate that the downtime device 10 is abnormally disconnected from the storage device 1, then the resource is temporarily stored 4 and the record table 7G will remain stored until the connection is stored. Connected with the social machine 1Q _, _ pull group 33 from the county count 7 查找 to find out whether there is a record. Now, when editing Jian a, the connection between the domain 1G and the storage county is always as shown in Fig. 4, which is a reliance on the data storage process of the temporary protection method of the present invention. In the New Zealand case, the method includes the steps: the host 1G calls the application X to open the file a in the storage unit 7 for editing (step S101). The temporary storage control module phantoms from the main ^ 1 The address of the editing area 8 is searched in the memory 11 of the ( (step si 〇 2). The temporary storage control module 32 reads the data in the editing area A, and controls the storage control module 34 to read the data. Write to the data temporary storage unit 4 to generate a mirror file A 401 (step S103). The recording control module 31 controls the recording table 7G to generate-record the content of the record as the mirror slot 7 33 Find the record with the serial number i, and control the 'i storage control stealing group 34. The record of the riding should be included in the mirror slot. 1 'The image right A is transferred to the host 10's own髓=中' At this time, the social machine 1G will return to the editing state of the file a before the coffee connection. 'All modified but unsaved data will also exist in the memory, so the user can edit the unsaved The data is saved. 11 200823744 A401's name is its f (four) stock _. When the data in the editing area A changes存立立一 (Step by step: = The brain material (4) Mei: A 40: =^==^ Is she positive? If the judgment result of step S106 is ί step/07; if the judgment result of step fiber is no temporary The control module group 32 controls the data temporary storage unit 4 to delete the image file α4〇1 corresponding to the file, and the file is deleted from the file a _ the record 5 为 ... Recorded (step illusion 7). (d), is the __ time health method recovery data over (4) the process includes steps · The storage device 1 is disconnected from the host 10 2 and then connected again (step fiber) The recovery control module 33 searches for the presence of a record from the 'recorded table 7' (step S·). If the result of the search in step S109 is YES, the flow proceeds to step 〇; if the result of the search in step S109 is no Then, the process ends. The recovery control module % controls the storage control group 34 to read the corresponding image storage location A 401 according to the corresponding storage location (step su〇). The recovery control group % transfers the image file A401 into the The memory 11 of the host computer 10 (step S111). _ = Fig. 6 is a hardware architecture diagram of the third embodiment of the present invention. The difference between the real type and the first embodiment is that the data is temporarily stored as a volatile storage medium, such as a random access memory... but (RAM) 'this storage medium is powered off After that, the storage content will disappear, which has the advantage that the read/write speed is faster than that of the general non-volatile storage medium. 12 200823744 The storage device 1 further includes a power supply camp 6', which is stored in the storage rack, and is normally connected with the host 1 The meter and the power supply unit are connected to the power supply unit, and the power supply unit 6 is controlled to be charged. The field storage unit 1 and the host unit 1 provide power to the data temporary storage unit 4 in the storage control module 32, and the storage unit 7' The recording control module will set the name of 'home==4〇1 and its deposit location in the storage unit 4. In the = 2 to say that the valve is clear and smooth. In one embodiment, the reading and writing speed is faster, and the data changed in the memory can be stored in time to the capital 1=:: can be more effectively avoided. (4) ^ [Simple description of the drawing] Figure 1, the present invention - The embodiment stores a hardware architecture diagram of the skirt. Figure 2 is a schematic illustration of the operation of the memory device of the present invention. 3 is a hardware structural diagram of a storage device according to a second embodiment of the present invention. 4 is a flow chart of the process of storing data by the temporary protection method of the data of the present invention. FIG. 5 is a flow chart of the process of restoring data by the temporary protection method of the data of the present invention. Fig. 6 is a block diagram showing the hardware structure of a storage device according to a third embodiment of the present invention. 13 200823744 [Description of main component symbols] 'Storage device 1 1 interface unit 2 Micro processing unit 3 Record control module 31 Temporary control module 32 Recovery processing module 33 Storage control module 34 Data temporary storage unit 4 Power management unit 5 Power supply unit 6 storage unit 7 host 10 memory 11 record table 70 14

Claims (1)

200823744 申請專利範圍 •1· 一 種存儲裝置,其包括一用 一用於存儲槽案的存儲單元,及接3機的介面單元, 理單元包括—用於控制處理單元;該微處 的存館控侧組,其中料70進行讀寫及擦除操作 所述存鮮元中還存儲-記錄表; 該存儲裝置還包括—資料暫存單元; ==模組蝴㈣暫存單元進行讀寫及擦除操作; 所述微處理單域包括—雜控、 組及一恢魅制雛; 臀控她 主_用-應用程;切啟存儲單元t :::控制模組從主機記憶體中查找用於存放該應: 二仃所需相關貧料、該檔案的存儲位址及編輯該槽 、次、,生的臨時檔案的—編輯區域,讀取該編輯區域中 ^貝^控繼存儲控糖組將所讀取的資料寫入資料 料元,生成—編輯區域鏡像槽,並當該編輯區域中 的貧料變動或每達到—週期時間時,及時更新該鏡像檔; 該記錄控制馳控綱述記練赵—對應于開啟槽案 的,錄’記錄_容為所述鏡像檔名稱及其在該資料暫 存單元中的存儲位元置; ^暫存控麵鮮情該檔案是否正常關,當該槽案正 $關閉k胃暫存控制模組從該資料暫存單元中刪除該 標案對應的鏡像槽,該記錄控制模組從該記錄表中刪除 該檔案對應的記錄; 15 200823744 =^館裝置與該主機連接時,所述恢複控制模組在該 ^表巾查找魏,如果所述恢復控繼組在該記錄表 j到有記錄存在,該恢復控制模組控制存儲控制模 將⑽查找到的記錄對應的存儲位置讀取該鏡像檔,並 :兄像檔調入該主機的記憶體中。 利Γ第1項所述咖裝置,其卜所述資 暫存早7L為所述存儲單对的—存儲區域。 2明專利朗第i項所述的存儲裝置 料暫存單元為-易失性存儲介質。 t所边貝 請專利_第3項所述的存儲 f還包;-電源管理單元及-供電單元:二 :主機正*連接時,該電源管理單元控制該供電單^ 2 ’當該存縣置與主機_連接後,該電源管 資料暫儲裝置供電,該暫存控制模組將 、埒暫存早4的所賴像齡儲 電源管理單元停止給該存懸置供電。早70後,該 5.-^料臨時保護方法,驗—存儲裝置,該存儲 匕括-用於存儲檔案的存儲單元' 料暫存單元,其中,該方法包括步驟:早咕供一貧 該=調用-應用程式讀取所述存儲單 行編輯; j宿業進 從該主機的記憶財查制於存輯 需相關資料、…釦式運行時所 姑案存齡址朗編—辟所產生的 16 200823744 临时文件的編辑区域; -·將該編輯區域中的資料複製至該資料暫存單元,生成_ 鏡像槽; 在5己錄表中建立一記錄,該記錄包括所述鏡像檔的名 稱及其存儲位置; 當該編輯區域中的資料被更新時即時更新該鏡像檔; 田該檔被正常關閉時,該存儲裝置從該資料暫存單元中 刪除該稽案對應的鏡像檔,並從該記錄表中刪除該槽案 對應的記錄; 〃 該存儲装置與該主機斷開連接後再次連接時,自動在該 。己錄表中查找§己錄,並從所查找到的記錄對應的鏡像標 存儲位置中讀取該鏡像檔;及 將該鏡像檔調入該主機的記憶體中。 6.如申請專利範圍第5項所述的資料臨時保護方法,其 中’該存儲單元提供—電源管理單元及-供電單元,該 方法還包括步驟·· 該存雜置與域正常連接時,該電鮮理單元接收主 機的電力給該供電單元充電; 裝置與主機斷严鞭後’該電源管理單元控制 該供電早7G為該存儲裝置供電; :儲至該存儲 暫存控制模組將資料暫存單元中的鏡像播存 單元; 該電源管料元停止給該存歸置供電。 17200823744 Patent Application Range: 1. A storage device comprising a storage unit for storing a slot and an interface unit for connecting to the machine, the management unit comprising - for controlling the processing unit; The side group, wherein the material 70 performs reading, writing and erasing operations, and the storage unit also stores a recording table; the storage device further includes a data temporary storage unit; == a module butterfly (4) a temporary storage unit for reading, writing and erasing In addition to the operation; the micro-processing single domain includes - miscellaneous control, group and a resilience chick; hip control her main _ use - application; cut storage unit t ::: control module to find from the host memory For storage: 2. The relevant poor materials, the storage address of the file, and the edited area of the temporary file of the slot, the secondary, and the live file are read. The group writes the read data into the data element, generates an edit area mirroring slot, and updates the image file in time when the poor material in the editing area changes or every time reaches the cycle time; Narrative Zhao - corresponding to the opening slot case The record 'record_ is the name of the image file and its storage location in the data temporary storage unit; ^ temporary storage control is not clear whether the file is normally closed, when the slot is positively closed k stomach The temporary storage control module deletes the mirror slot corresponding to the label from the data temporary storage unit, and the record control module deletes the record corresponding to the file from the record table; 15 200823744 =^ When the device is connected to the host, The recovery control module searches for the table in the table, and if the recovery control group exists in the record table j to have a record, the recovery control module controls the storage control mode to store the corresponding storage location of the record (10). The image file is read, and the brother image is transferred to the memory of the host. In the coffee device of the first item, the storage unit has a storage area of 7L. 2 The memory device temporary storage unit described in the patent lang i item is a volatile storage medium. t 边 请 请 请 专利 专利 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ After being connected to the host _, the power supply tube data storage device supplies power, and the temporary storage control module stops the power storage management unit of the aging storage base of the early 4th to stop supplying power to the storage suspension. After the early 70s, the 5.-^ temporary protection method, the inspection-storage device, the storage includes a storage unit for storing files, and the method includes the steps of: = call - the application reads the storage single-line editing; j hang industry into the memory of the host system for the storage of the relevant data, ... the deduction of the operation of the case of the age of the file - the creation of 16 200823744 Editing area of the temporary file; - copying the data in the editing area to the data temporary storage unit, generating a _ mirroring slot; establishing a record in the 5 recorded table, the record including the name of the image file and a storage location; when the data in the editing area is updated, the image file is updated in real time; when the file is normally closed, the storage device deletes the image file corresponding to the audit file from the data temporary storage unit, and from the Delete the record corresponding to the slot in the record table; 自动 When the storage device is disconnected from the host and connected again, it is automatically. Find the record in the recorded form, and read the image file from the image storage location corresponding to the found record; and load the image file into the memory of the host. 6. The temporary protection method for data according to claim 5, wherein the storage unit provides a power management unit and a power supply unit, and the method further includes the step of: when the storage is normally connected to the domain, the The electric fresh-keeping unit receives the power of the host to charge the power supply unit; after the device and the host are severely slammed, the power management unit controls the power supply to supply power to the storage device 7G early; the storage to the storage temporary storage control module temporarily stores the data The image storage unit in the storage unit; the power supply unit stops supplying power to the storage. 17
TW95142701A 2006-11-17 2006-11-17 Storage apparatus with data protection function and method therefor TWI317899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95142701A TWI317899B (en) 2006-11-17 2006-11-17 Storage apparatus with data protection function and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95142701A TWI317899B (en) 2006-11-17 2006-11-17 Storage apparatus with data protection function and method therefor

Publications (2)

Publication Number Publication Date
TW200823744A true TW200823744A (en) 2008-06-01
TWI317899B TWI317899B (en) 2009-12-01

Family

ID=44771287

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95142701A TWI317899B (en) 2006-11-17 2006-11-17 Storage apparatus with data protection function and method therefor

Country Status (1)

Country Link
TW (1) TWI317899B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI463312B (en) * 2010-12-03 2014-12-01 Micron Technology Inc A method for transaction log recovery,a method for operating a memory system,a method for transaction log recovery in a memory system and a memory system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI419438B (en) * 2010-06-09 2013-12-11 Atp Electronics Taiwan Inc Data storage device and power management method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI463312B (en) * 2010-12-03 2014-12-01 Micron Technology Inc A method for transaction log recovery,a method for operating a memory system,a method for transaction log recovery in a memory system and a memory system
US8984253B2 (en) 2010-12-03 2015-03-17 Micron Technology, Inc. Transaction log recovery

Also Published As

Publication number Publication date
TWI317899B (en) 2009-12-01

Similar Documents

Publication Publication Date Title
US7707373B2 (en) Storage system and backup method
US20070130233A1 (en) Representing media as folders in backup systems
US8200927B2 (en) Data backup management system, computer system, and program recording medium
TW200302415A (en) Method and system for providing image incremental and disaster recovery
US9176825B2 (en) Granular application data lifecycle sourcing from a single backup
JP2008512763A (en) System and method for avoiding redundant duplication of shared content when using virtual titles
JP4250343B2 (en) Data processing device
CN106844597A (en) The method and its device of a kind of quick deletion dependent snapshot target volume
JP2007034487A (en) Information processor, its control method, and computer program
US7694172B2 (en) Data backup device, data backup method, and recording medium storing data backup program
JP2002358248A (en) Data recording device and data erasing device
JP2015090655A (en) Support for worm cartridges realized by linear tape file system (ltfs)
TWI356302B (en) Data processing apparatus and data processing meth
WO2008136563A1 (en) Method of storing meta-data and system for storing meta-data
TW200823744A (en) Storage apparatus with data protection function and method therefor
US20090199016A1 (en) Storage system, and encryption key management method and encryption key management program thereof
US20080155319A1 (en) Methods and systems for managing removable media
JP2014071487A (en) File recorder, file system management method and change drive
KR20050086471A (en) Creating expiring copies in a check-out/check-in system
JP2012068891A (en) Hierarchical storage system and data archive method
TW200813994A (en) Data recording and recovery method for an optical storage medium and computer-readable storage medium using the method
JP2010072885A (en) Data management method for electronic computer and program therefor
JP4365509B2 (en) Data management apparatus, data management method, and recording medium recording data management procedure
JP2004295363A (en) Backup method
JP2007058710A (en) Recording medium producing device, and log recording method

Legal Events

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