TW200905481A - File processing apparatus and method therefor - Google Patents

File processing apparatus and method therefor Download PDF

Info

Publication number
TW200905481A
TW200905481A TW96126555A TW96126555A TW200905481A TW 200905481 A TW200905481 A TW 200905481A TW 96126555 A TW96126555 A TW 96126555A TW 96126555 A TW96126555 A TW 96126555A TW 200905481 A TW200905481 A TW 200905481A
Authority
TW
Taiwan
Prior art keywords
time
file
folder
connection
external storage
Prior art date
Application number
TW96126555A
Other languages
Chinese (zh)
Other versions
TWI348622B (en
Inventor
Cheng-Hao Chou
Bo-Ching Lin
Zai-An Pan
Li Wang
Original Assignee
Ensky Technology 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 Ensky Technology Co Ltd filed Critical Ensky Technology Co Ltd
Priority to TW096126555A priority Critical patent/TWI348622B/en
Publication of TW200905481A publication Critical patent/TW200905481A/en
Application granted granted Critical
Publication of TWI348622B publication Critical patent/TWI348622B/en

Links

Landscapes

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

Abstract

This invention provides a file processing method which is used to copy files from a storage device to a file processing apparatus. The method includes: connecting the apparatus to the storage device; acquiring a time of last connected; searching files or file folders whose time attributes are later than the time of last connected; copy the files or file folders to the file processing apparatus.

Description

200905481 九、發明說明: 【發明所屬之技術領域】 本發明提供一種檔案處理裝置及方法。 【先前技術】 在人們的日常生活中,相框是—種很普遍的裝飾用 ,人們把自己或親朋好友的—些經典照片放在相框中, 每田看到這些照片就能勾起美好回憶。但傳統的相框如果 需要更換照片,將會比較麻煩。 奴者電子技術的不斷發展 叫< —粳新的相 框一電子補’其可將大科㈣财細在存 中’通過-顯示幕幕齡所存儲的圖片内容,並可七 換所顯示的圖片,省去了傳統她需要人們手動更換刀 =:ΤΓ相框在從外接存儲設備拷貝圖'片檀 :叫候,-般只提供了簡單的拷貝魏,將外接存 的所有棺案不加選擇的全部拷貝至電子裝置,^ =錢否是電子裝置中已有的或是—些舊檔案,= =夏不需要的資料也一併拷貝,造成時間及存儲空間 【發明内容】 根據 有鐾於此,有必要提供—種檔案處理裝置及方法, 外接存儲設備與鋪案處理裝置的最後連接時間料 200905481 接存儲設備中檔錢檔減㈣間屬性,僅㈣上欠連接日士 間之後建立或編輯過的檔案或檔案失拷貝至 理; 置,以確保所拷貝的檔案為檔案處理裝置中所没有的槽^ :處理广括一介面單元與—外接存儲設備連 連接管理模_奸理楼案處 ^置,、外接存健設備的連接’每當—外接存健設備與該樓 衣,立連接後,該連接管理模&_取該外接_ ;傷的一朗號,生成該識職與最後連接時間的對声闕 關係存至存儲單元;該檔战二 及貝=她組’該資訊獲取模組包括—時間屬性獲取模组 置連接時,該時間屬性獲取模組獲取該外 或檔案夹的一時間屬性;該連接資訊獲取寐^ 田木 儲設備的識別號,並根據所述=二、'且& 〇亥外接存 江對應關係從存儲單元中杳找盥 ===_最後__;—輯触射辦二 之、=後連接時間進行比較,如果時間屬 間之後,則比對模组產生 ㈣糾 間屬性所對庫的幹安…咖5 5虎’她信號包括該時 匹配信號,田標識,—存儲控制模組接收該 檔荦奸q w錢較_從外接存儲設财讀取該 次抬木央,亚將其存至存儲單元。 檔案於從-外接存儲設備拷貝檔案或 元,其存_ 方扯財H供—存儲單 存储有该棺案處理裝置與該外接存儲設備的最後連接 200905481 時間;連接該外接存儲設備至該梓安 =咖外接存⑽的最;:時;置=案 至該檔案處理㈣。 之麵齡或檔案夾拷貝 相較于現有技術,通過使用該樓案處 方法’其《齡的日刪性柄有選雜的^=處硬 有效的節省拷貝的時間及存儲空間。 ㈣拷貝’可 【實施方式】 =本侧案處理裝置的硬體架構圖。— 衣置1包括面單元2、-處理單元3、—存儲 里 -輸出單^。該介面單元2與—外接存儲設備7連接,= 外接存儲設備7可為各關存卡,如SD、xd、mmc读 也可為移動硬碟、隨身碟等。該存鍺單元40存儲標案及」 連接記錄表(如圖2所示),該連接記錄表記錄與檀案處理 裝置1連接過的外接存儲設備7的識別號與最後連接時 對應關係。 該處理單元3包括-連接管理模組31、—目錄管理模 組32、一貢訊獲取模組33、一判定模組34、一比對模組%、 一存儲控制模組36、一標記模組37及一檔案處理模組38。 其中,該資訊獲取模組33包括一時間屬性獲取模組331及 一連接資訊獲取模組333。 該檔案處理模組38從存儲單元4或從與該檔案處理裝 200905481 置1連接科接雜設備7巾讀取财,經過相應處理後通 過輸出單元5輸出。例如’該檔案處理裝置1為—電子相框, 則該檔案處理模組38為一圖片處理模組,輸出嚴_ _ 盔一 θ 乎凡3相應 马一頭不屏幕,圖片檔案經處理後可由顯示屏幕輪出。 如果一外接存儲設備7是首次與檔案處理裴置1連接, 說明外接存儲設備7 t的所有標案⑷都是存儲單^中沒 有的,則應將該外接存儲設備7中的所有檔案(夾)拷貝至存 儲單元4 ;如果並非首次連接,該檔案處理裝置〗進入一= 析流程以分析外接存儲設備7中的各檔案⑻是否符合需^ 拷貝的條件,本發明以檔案(夾)的一時間屬性來判斷該檔案 失)是否需要拷貝,該時間屬性可為檔案(夾)的建立時間或 最後編輯時間,其具體為:如果外接存儲設備7中—檔^夾 的建立時間在所述最後連接時間之後,則說明該檔案在上二 -人連接之後才建立,該檔案夾及其中的内容是存儲單元4 中所沒有的’所以可直接將該檔案夾及其中内容全部拷貝至 存儲單凡4中,如果—檔案的時間屬性(建立時間或最後編 輯時間均可)在最後連接時間之後,則將該檔案拷貝至存儲 I元4中;如果一檔案夾的建立時間在最後連接時間之前, 而最後編輯時間在最後連接時間之後,說明該檔案失中存在 上次連接時所沒有的内容,則應對該檔案夾中的各檔案(夾) 逐一進行前兩步分析。 該連接管理模組31用於管理檔案處理裝置丨與外接存 儲叹備7的連接。每當—外接存儲設備7與該檔案處理裝置 9 200905481 1建立連接後,該連接管理· 31獲取料齡儲設備7 的-識別號’所述連接資訊獲取模組333從連接記錄表中莽 取遠識別號職的最後連接時間。連接管賴組Μ還^ 當前曰期資訊(也可包括具體時間)作為該 : 與該槽減理_的此蝴_,細統錢= 生成(二者首次連接)或更新(二者非首次連接)外接= ::的?ΓΓ應的最後連接時間,將該對應_^ 料接記絲巾。該生成或绩最後連接時間的 2农好在外接存儲設備7與槽案處理裝置丨即將斷開連接 :者疋將外接存儲設備7中的所有需拷貝的檀案(夹)拷貝至 =應t案夹後進行。當連接管理模組31判斷該外接存儲 :存::百=案處理裝置1連接時,存儲控制模組36 外接力早7^ 該外接存儲設備7對應的«夾,並將 卜接存儲設備7中的所有稽案(夾)拷貝至該對應檔荦夹。 ^斤述目錄營理模組32獲取該存儲設備7中所存儲樓案 :目錄結構(如圖3所示’其中矩形代表儲夾,圓形 ^表檔案),該目錄結尉的各個財及檔案朗包括一告 ^態—已分析或待分析。該目錄管簡組%還控^ ^析流程所處的目錄層級(τ稱“當前層級”),例如去 =析流程正在分析外接存儲設備7中根目錄下的 述判定模組34判定當前層級中是否有當前狀態 中有^ 槽案(爽)。如果判定模組34判定當前層級 有待處理標案夾,該時間屬性獲取模組如獲取當前層級 200905481 中一待分㈣減的建立時間(料該待 齡析擋案夾),比對模組35將該建立時間及所述最後= 二間進订輯’如果建立時間在最後連接時間之後,則比對 ^組35產生—㈣夾匹配錢’該财紐配信號包含當 可分析檔案夾的路徑f訊,存儲控制模組36根據該檔荦: Z信號判斷存儲單元4中是否存在該當前分析稽案夾的 對應路fe。例如,當前分析齡夾為龄夾b,纽徑為“外 接存儲設備7根目錄\A\,,,則判斷存儲單元4中是 ,“存儲單元4根目錄\AV,,如果不存在,則在存儲單元斗 建立該路徑,拷貝模級361根據該標案夾匹配信號從外接 存儲設備巾讀取騎前分析齡纽其巾㈣輪),並將 ^拷貝至存儲單元4中對應路徑;如果比對模組%判斷當 丽分析檔案夾的建立時間在最後連接時間之前,時間屬^ 獲取模組331獲取當前分析構案夾的最後編輯時間,比對模 組35將最後編輯時間及最後連接時間進行比對,如果最後 編輯時間在最後連接時間之後,則目錄管理模組&將=前 分析檔案夾的目錄作為當前層級,並重複判定模組%判定 當前層級中是否有當前狀態為“待分析,,料夾的分= 程。例如,當前層級為檔案夾Α,當前層級下包括檔案爽Β、 檔案夾C及檔案X,而當前分析檔案夹為β,如果對模組 35判斷檔案夾Β的建立時間在最後連接時間之前,最後編 輯時間在最後連接時間之後,則目錄管理模組32將备前分 析檔案夾Β作為當前層級,判定模組34繼續判定檀案爽^ 11 200905481 尹是否有當前狀態為“待分析 如果判定模組34判定+ "水夹。 分析”的槽案夾時,則判定# /又有虽m狀態為“待 否有當前狀態為“待分析,,的^4繼_狀當前層級中是 當前層級中有待分析檔案,該上木。如果判定模組34判定 前層級中一待分析檔案的時間尸Z獲取模组331獲取當 屬性及最後連接時間進行比萄,,對模組35將該時間 間之後,則比對模la 35產生間屬性在最後連接時 信號包含當前所分析檔案的路^*匹配信號,該檔案匹配 據該標案匹配信號判斷存儲罩:T,存儲控制模組%根 模…_案匹配===取: ㈣至存儲單元4中對應路如果二= 綱画“析财的日㈣屬性在最後連接時間之前,則 重複判定模組34繼蜻虫丨令a ^ 丄 ti/ ” A、、灵判疋當則層級中是否有當前狀態為 待分析@槽案,如果沒有,則說明當前層級中的所有槽 案夾及文紅分析完,此時,目錄f理模組%判斷當前層 級是否為外接存儲設備7的根目錄,如果判斷結果為否,則 將當前層級所屬稽案夹的上一級檔案夹作為當前層級(例如 目錄官理模組32判斷當前層級為檔案夾c,不是外接存儲 設備7的根目錄,則將檔案夾c的上一級檔案夹A作為當 前層級)’並重複判定模組34判定當前層級中是否有當前狀 態為“待分析’’檔案夾的分析流程;如果當前層級為根目 200905481 錄,則整個分析流程結束。 所述標記模纟且 狀態標記為“已分析,,於將已進行分析的檔案(爽)的當前 如圖4所示,a* 包括步驟:連接—外接;:榀:處理方法的流程圖。該方法 酬。連接管理料^制^ 7至該齡處理裝置(步驟 接至該標輯理裝置(牛_外接存儲設備7是否首次連 結果為是,則_^=()42) °如果步驟咖的判斷 果為否,則流程轉 (步驟S203 , 处理早兀3執行分析流程, 桃輪轉至步驟S205)。將外接 有才_炎淋貝至構案處理裝置^對應的 S204連接g理拉組31生成或更新連接記錄 存 儲設備7識職_最後連接㈣(步驟咖) 如圖5所’疋本發日月分析流程的流 =^恤31綱獅賴7^= 對ΐ的取模組333從連接記錄表中獲取該識別號 二的取後連接時間(步驟讀)。目錄管理模組32獲取 “子儲设備7巾所存㈣案⑷的目錄結構,並將外接存儲 根目錄作為當前層級(步驟sl02)。列定模組34 t㈣層級中是否有當前狀態為“待分析,,的檔案失(步 〇3)。如果步驟S103的判斷結果為是,貝,m程轉至+ 驟Sl04 ;如果步驟_的判斷結果為否,則流程轉至步驟 S111。時間屬性獲取模組33!獲取當前層級中—待分析標案 200905481 夾的建立時間(步驟S104)。比對模組35判斷該建立時門 是否在所述最後連接時間之後(步驟Sl〇5)。如果步驟§丨仍 的判斷結果為是’則流程轉至步驟Sl09 ;如果步驟§1〇5的 判斷結果為否,麟轉至步驟S1Q6。賴屬性獲取模祖 331獲取當前分析檔案夾的最後編輯時間(步驟s^幻。'比 對模組35判斷該最後編輯時間是否在所述最後連接時間^ 後(步驟S107)。如果步驟S107的判斷結果為是,則^程 轉至步驟S108 ;如果步驟S1〇7的判斷結果為否,則流= 至步驟S110。目錄管理模組32將#前分析檔案夹作 層級(步驟遞’流程轉至步驟S11Q)。 田 將當前分析健爽中全部檔案(夹)拷貝至存儲單元^且^ 前層級對應的路徑(步驟動)。標記模級 二 檔案夾標記為已分析”(步驟su〇,“刚刀析 SU)3>判定模組34判定當前層級中 ^程轉至步驟 分析,,的觀(麵仙)。如果步驟態為“待 是,則流程轉至頻S112;如果步驟S11j_斷結果為 驟hi的列斷么士果為否, r程餘料S116:時間屬性獲取 '待为析私案的日可間屬性(步驟S112)。比· Η曰5 判斷時間屬性是否在最後連接時間之後(步、^且 步驟SU3的判斷結果騎,職程轉至步驟sn4 .如^ 驟SU3的麟絲為否,财程轉至步驟γ儲㈣ 极組36將當前分析標案拷貝至存儲單元4中心:㈣ 應的路徑(步驟_。標記模組37將當前 14 200905481 為“已分析” C步驟sU5’^呈轉至步驟sui)。目錄管理 模組判斷當前層級是否為外接存駿備7的根目錄(步驟 SU6)。如果步驟SU6的判斷結果為是,則流程結東;如果 步_6的判斷結果為否,則流程轉至步驟sm ,模組將當前層級所屬檔案失的上一級檔案失作為當前岸 級(步驟S117,流程轉至步驟Si〇3)。 圖6疋本發明檔案處理方法的流程圖。該方 ==儲控制模組36顺存儲單元4中是否 ^ ㈣應的嘱㈣S3G1)。如卿s = 是,則流程轉至步驟S3G3;如果步驟珊的 ^果為 則流程轉至步驟S302。存儲控制模組%在單。果為否奢 立與當前層級對應的路捏(步驟s搬)。存=中建 將標案(夾)拷貝'至當前層級對應的路徑(步驟;吴組36 【圖式簡單說明】 圖1疋本發明槽案處理裝置的硬體架構圖。 圖2是本發明槽案處理裝置連接記錄表示音圖 圖3是本發明存儲檔案(夾)的目錄結構示意 圖4是本發明檔案處理方法的流程圖。θ 圖5是本發明分析流程的流程圖。 【主要元件符號說明】 檔案處理裝置 15 200905481 介面單元 2 微處理單元 3 連接管理模組 31 目錄管理模組 32 資訊獲取模組 33 時間屬性獲取模組 331 連接資訊獲取模組 333 判定模組 34 比對模組 35 存儲控制模組 36 標記模組 37 檔案處理模組 38 存儲單元 4 輸出單元 5 外接存儲設備 7 16200905481 IX. Description of the Invention: [Technical Field of the Invention] The present invention provides a file processing apparatus and method. [Prior Art] In people's daily life, photo frames are a very common decoration. People put some classic photos of themselves or their relatives and friends in the photo frame, and each photo can make a good memory. However, if the traditional photo frame needs to be replaced, it will be more troublesome. The continuous development of slave electronic technology is called "--new photo frame-electronic supplement", which can be used to store the picture content stored in the screen by the large-scale (four) financial assets, and can be displayed in seven changes. Picture, save the tradition, she needs people to manually replace the knife =: ΤΓ photo frame in the copy from the external storage device 'chip Tan: call waiting, - only provide a simple copy of Wei, will not choose all the external storage All copies to the electronic device, ^ = money is in the electronic device or some old files, = = summer unnecessary data is also copied together, resulting in time and storage space [invention content] Therefore, it is necessary to provide a file processing device and method, the last connection time of the external storage device and the shop processing device is expected to be the 200905481 connection to the storage device middle file file minus (four) attribute, only (4) after the connection between the Japanese and the Japanese room is established or The edited file or file is copied to the logical; set to ensure that the copied file is not in the file processing device ^: processing a wide interface unit and - external storage device connection management mode The case is set, and the connection of the external storage device is 'whenever-external storage device and the building, after the connection, the connection management module &_ take the external _; the injured lang number, generate the job The relationship between the last connection time and the vocal relationship is stored in the storage unit; the file warfare 2 and the shell = her group's information acquisition module includes - the time attribute acquisition module is connected, the time attribute acquisition module acquires the outer or The time attribute of the folder; the connection information obtains the identification number of the 寐^ Tianmu storage device, and finds 盥===_ from the storage unit according to the corresponding relationship of the second, 'and &〇; The last __;-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- At this time, the matching signal, the field identification, the storage control module receives the file, and the data is read from the external storage device, and is stored in the storage unit. The file is copied from the external storage device or the file is stored in the storage device, and the storage device stores the last connection of the file processing device and the external storage device to the 200905481 time; connecting the external storage device to the security device = The most external storage of the coffee (10);: when; set = case to the file processing (four). Face-to-face or portfolio copy Compared to the prior art, by using the method of the building's "the age of the deleted handle has a choice of ^ = hard and effective to save copy time and storage space. (4) Copy 'may' [Embodiment] = Hardware diagram of the processing device of this side. — Clothing 1 includes face unit 2, - processing unit 3, - storage - output unit ^. The interface unit 2 is connected to the external storage device 7, and the external storage device 7 can be a separate storage card, such as SD, xd, mmc, and can also be a mobile hard disk, a flash drive, or the like. The storage unit 40 stores a standard and a connection record table (shown in Fig. 2) which records the correspondence between the identification number of the external storage device 7 connected to the Tan file processing device 1 and the last connection. The processing unit 3 includes a connection management module 31, a directory management module 32, a tribute acquisition module 33, a determination module 34, a comparison module %, a storage control module 36, and a marking module. Group 37 and a file processing module 38. The information acquisition module 33 includes a time attribute acquisition module 331 and a connection information acquisition module 333. The file processing module 38 reads the money from the storage unit 4 or from the file processing device 200905481, and outputs the information through the output unit 5 after corresponding processing. For example, if the file processing device 1 is an electronic photo frame, the file processing module 38 is a picture processing module, and the output is strict _ _ helmet θ 凡 凡 凡 3 corresponding horse does not have a screen, the image file can be processed by the display screen Take out. If an external storage device 7 is connected to the file processing device 1 for the first time, indicating that all the standards (4) of the external storage device 7 t are not included in the storage device, all the files in the external storage device 7 should be clipped. Copying to the storage unit 4; if it is not the first connection, the file processing device enters an analysis process to analyze whether the files (8) in the external storage device 7 meet the conditions for copying, and the present invention uses a file (clip) The time attribute is used to determine whether the file is missing. The time attribute may be the setup time or the last edit time of the file (folder), which is specifically: if the setup time of the external storage device 7 is at the end After the connection time, it means that the file is created after the last two-person connection, the folder and the content therein are not in the storage unit 4, so the folder and its contents can be directly copied to the storage unit. 4, if the time attribute of the file (either the setup time or the last edit time) is after the last connection time, the file is copied to the storage I meta 4; The creation time of a folder is before the last connection time, and the last editing time is after the last connection time, indicating that the file has no content that was not present at the time of the last connection, and each file (clip) in the folder should be one by one. Perform the first two steps of analysis. The connection management module 31 is for managing the connection between the file processing device and the external storage device 7. When the external storage device 7 establishes a connection with the file processing device 9 200905481, the connection management 31 acquires the identification number of the age storage device 7 and the connection information acquisition module 333 retrieves from the connection record table. The last connection time of the remote identification number. The connection management group also has the current information (which can also include the specific time) as the: The butterfly with the slot _ _, fine money = generate (the first connection) or update (the two are not the first time) Connect) the last connection time of the external =::?, the corresponding _^ material is attached to the silk scarf. The second connection time of the generation or performance is that the external storage device 7 and the slot processing device are about to be disconnected: the user copies all the copy files (folders) to be copied to the external storage device 7 to = After the case is filed. When the connection management module 31 determines that the external storage: storage::100 processing device 1 is connected, the external control of the storage control module 36 is 7^ corresponding to the external storage device 7, and the storage device 7 is connected. Copy all the files (clips) in the folder to the corresponding folder. The catalogue management module 32 obtains the storage structure stored in the storage device 7: the directory structure (as shown in FIG. 3, where the rectangle represents a storage folder, a circular table file), and the contents of the directory are confiscated. The file lang includes a slogan—analyzed or to be analyzed. The directory management group % also controls the directory hierarchy at which the process is located (τ is called "current hierarchy"). For example, the analysis process is analyzing the determination module 34 in the root directory of the external storage device 7 to determine the current hierarchy. Is there a ^ slot (cool) in the current state? If the determining module 34 determines that the current level has a pending folder, the time attribute obtaining module obtains the settling time of the waiting level (four) minus in the current level 200905481 (the waiting file folder), the comparison module 35 The setup time and the last = two subscriptions 'If the setup time is after the last connection time, then the comparison group 35 produces - (four) clip matching money 'the match signal contains the path of the analyzable folder According to the file: Z signal, the storage control module 36 determines whether the corresponding path fe of the current analysis folder is present in the storage unit 4. For example, the current analysis age folder is the age folder b, and the button diameter is “external storage device 7 root directory\A\,, then, it is determined that the storage unit 4 is, “storage unit 4 root directory\AV, if not, then Establishing the path in the storage unit bucket, the copy module 361 reads the pre-analytical age (4) round from the external storage device towel according to the standard clip matching signal, and copies the ^ to the corresponding path in the storage unit 4; The comparison module % determines that the establishment time of the analysis folder is the last connection time, and the time acquisition module 331 obtains the last edit time of the current analysis composition folder, and the comparison module 35 will last edit the time and the last connection. The time is compared. If the last editing time is after the last connection time, the directory management module &==the directory of the pre-analysis folder is taken as the current level, and the determination module % determines whether the current state in the current level is " To be analyzed, the folder is divided into. For example, the current level is the folder, and the current level includes the file cool, the folder C and the file X, and the current analysis folder is β, if The module 35 determines that the creation time of the folder is before the last connection time, and after the last editing time is after the last connection time, the directory management module 32 takes the pre-analysis file folder as the current level, and the determination module 34 continues to determine the case. Shuang ^ 11 200905481 Does Yin have a current status of "to be analyzed if the decision module 34 determines + " water clip. When analyzing the slot folder, it is determined that # / has the m state as "the current state is "to be analyzed," and the current level is the file to be analyzed in the current hierarchy. If the determining module 34 determines that the time corpse Z acquisition module 331 of the file to be analyzed in the previous level acquires the attribute and the last connection time, the module 35 compares the time after the time interval, then compares the mode 35 The inter-generation attribute contains the path ^* matching signal of the currently analyzed file at the last connection. The file matches the storage mask according to the standard matching signal: T, the storage control module % root mode..._case matching=== : (4) to the corresponding channel in the storage unit 4, if the second = the "day" attribute of the "financial analysis" before the last connection time, then the decision module 34 repeats the 蜻 丨 丨 a ^ 丄 ti / ” A, 灵 疋If there is a current status in the hierarchy for the @slot to be analyzed, if not, it indicates that all the slot folders and the text red in the current level are analyzed. At this time, the directory f is determined by the module % to determine whether the current level is external storage. The root directory of device 7, if the judgment result is , the upper level file folder of the current level belongs to the current folder as the current level (for example, the directory government module 32 determines that the current level is the folder c, not the root directory of the external storage device 7, then the upper level of the folder c Folder A is the current level) and the decision module 34 determines whether there is an analysis process in the current hierarchy for the "to-be-analyzed" folder; if the current level is the root 200905481, the entire analysis process ends. The markup module and the status flag is "analyzed," as shown in FIG. 4 of the file (slow) that has been analyzed, a* includes the steps: connection-external;: 榀: flowchart of the processing method. The method is to connect the management material to the processing device of the age (the step is connected to the standard processing device (whether the external storage device 7 is connected to the first time, then _^=() 42) ° if the step If the judgment result of the coffee is no, the flow is reversed (step S203, the processing is performed as early as 3, and the peach process is transferred to step S205). The S204 connected to the externally-connected _ 炎 贝 至 to the construction processing device ^ Group 31 generates or updates the connection record storage device 7 _ _ last connection (four) (step coffee) as shown in Figure 5 疋 发 发 日 日 = = = = = = = ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 333: Obtain the connection connection time of the identification number 2 from the connection record table (step read). The directory management module 32 obtains the directory structure of the (4) case (4) of the sub-storage device 7 and uses the external storage root directory as the current Level (step s102). Whether the current state of the module 34 t (four) level is "waiting" Analysis, the file is lost (step 3). If the result of the determination in step S103 is YES, the m, m path is transferred to + step S104; if the result of the step _ is no, the flow proceeds to step S111. The module 33! acquires the setup time of the clip to be analyzed in the current hierarchy (step S104). The comparison module 35 determines whether the setup gate is after the last connection time (step S10). § 丨 still judges that the result is yes, then the flow goes to step S109; if the judgment result of step §1〇5 is no, the lining goes to step S1Q6. Step s illusion. The comparison module 35 determines whether the last edit time is after the last connection time ^ (step S107). If the result of the determination in step S107 is YES, then the process goes to step S108; if step S1 If the determination result of 〇7 is NO, then flow = to step S110. The directory management module 32 sets the #pre-analysis file as a hierarchy (step-by-step flow proceeds to step S11Q). Tian will analyze all the files in the health-sense folder. ) copy to storage unit ^ and ^ The path corresponding to the previous level (step move). The mark mode level two file folder is marked as analyzed" (step su〇, "just knife analysis SU" 3); the determination module 34 determines that the current level is transferred to the step analysis, If the step state is "Yes, the flow goes to the frequency S112; if the result of the step S11j_ is broken, the column is broken, the score is no, the r process is S116: the time attribute is obtained." The inter-day attribute to be analyzed (step S112). The ratio ·5 determines whether the time attribute is after the last connection time (step, ^ and the result of step SU3), the career goes to step sn4. If the SU3 is not, the financial process goes to the step γ storage (4). The pole group 36 copies the current analysis standard to the center of the storage unit 4: (4) The path (step _. The tagging module 37 forwards the current 14 200905481 to "analyzed" C step sU5'^ to step sui). The directory management module determines whether the current hierarchy is the root directory of the external storage device 7 (step SU6). If the result of the determination in step SU6 is YES, the flow is east; if the result of the determination in step _6 is no, the flow proceeds to step sm, and the module loses the upper-level file of the file belonging to the current hierarchy as the current shore (step S117, the flow goes to step Si〇3). Figure 6 is a flow chart of the file processing method of the present invention. The party == storage control module 36 is in the storage unit 4 whether ^ (four) should be 嘱 (four) S3G1). If s = yes, the flow goes to step S3G3; if the result of the step is YES, the flow goes to step S302. The storage control module % is in single. If it is not, the road pinch corresponding to the current level is added (step s move). Save = China Construction will copy the standard (clip) to the path corresponding to the current level (step; Wu group 36 [simple description of the drawing] Figure 1 is a hardware architecture diagram of the trough processing device of the present invention. Figure 2 is the present invention Figure 3 is a flow chart showing the directory structure of the storage file (clip) of the present invention. Figure 4 is a flow chart of the file processing method of the present invention. θ Figure 5 is a flow chart of the analysis flow of the present invention. Description] File processing device 15 200905481 Interface unit 2 Micro processing unit 3 Connection management module 31 Directory management module 32 Information acquisition module 33 Time attribute acquisition module 331 Connection information acquisition module 333 Decision module 34 Comparison module 35 Storage control module 36 tag module 37 file processing module 38 storage unit 4 output unit 5 external storage device 7 16

Claims (1)

200905481 十、申請專利範圍: 1·::案處:裝置,其包括—介面單元與一外接存儲設 於管理料儲早調於存職# ;—連接#理模組用 s “處理裝置與外接存儲設備的連接;其改良在 、皇1/卜接雜設備錢财處理裝置建立連接後,該 料官理模_獲轉外接存儲設備的—朗號,生成 =別號與最後連接時間的對應關係,並將該對應關係 存儲至存儲單元; 。亥4田案處理裝置還包括—資訊獲取模組、-tb對模组及 一存儲控制模組; 該資賴取顧包括—時間屬性獲取模組及—連接資訊 T取模,、且,當一外接存儲設備與該檔案處理裝置連接 、、,X T間屬性獲取模組獲取該外接存儲設備中檔案或 私案夾的—時間屬性;該連接資訊獲取模組獲取該外接 存儲设備的識別號,並根據所述對應關係從存儲單元中 查找與所獲取識別號對應的最後連接時間; 所述比對模組將該時間屬性與該最後連接時間進行判 斷’如果時間屬性在最後連接時間之後,則比對模組產 生一匹配信號,該匹配信號包括該時間屬性所對應的檔 案或檔案夾標識; 所述存儲控制模組接收該匹配信號,根據檔案或檔案夾 標識從所述外接存儲設備中讀取該檔案或檔案夾,並將 200905481 其存儲至存儲單元。 2. 如申=範圍第i項所 =間屬性為檔案或檔案—最:編: 3. 如申請專利範圍第2項所汗 所述比對触的靖^A、§线料置,其中,當 ==失及其中全部内容拷貝至稽二;制模組 4. 如申清專利範圍第2項所述的檔案處理裝置,;中. 所达比對模_判斷結果為_外接存备 最後連接時間之後時且最後編輯時間在 立時間或編輯時間在最;=將騎案失中建 檔案處理裝置。 Μ之後的棺案拷貝至該 5.1請專利範㈣丨項所述的檔輯理裝置, 述存儲控制模組還觸所述/、中’所 設備對應的對應關係時 d㉛卜接存館 存娜憶的存二徑在:=1中建立該外接 或賴输峨雜 接存職中的標案 6·-種«處理方法,用於從—外接麵 至—!嶋理裝置,該方法包心驟:、§案或 錯設接:裝置與該外接存 200905481 連接该外接存儲設備至該檔案處理裝置; 獲取該槽案處理裝置與外接存儲設備的最後連接時間; 查找及拷貝’查找存儲設備中時間屬性在該最後連接時 間之後的播案或標案夹;將時間屬性在最後連接時間之 後的私案或檔案夾拷貝至該檔案處理裝置。 7·如申%專利誠第6項所述的標案處理方法,其中,時 間屬ίΐ為檔案或檔案夾的建立時間及/或最後編輯時間。 如申%專他圍第7項所述的檔案絲方法,其中,該 查找及拷貝步驟還包括·· :該外接存儲裝置巾―檔案夹的建立時間為在最後連接 才間之後%,將該檔案夹及該檔案夹中的全部檔案拷貝 至檔案處理裝置。 、 •士申π專她圍第7項所述的㈣處理方法,該查找及 拷貝步驟還包括: 1所述外接存儲裝置中—儲夾的建立時間在最後連接 肅編輯時間在最後連接時間之後時,將 中建立時間或編輯時間在最後連接日㈣之後的 檔木拷貝至該檔案處理裝置。 10」如申料郷目f 6項的職處理 該查找及拷貝步驟還包括: /、 ’ 當存儲單元中沒有該外接存儲設備 在該存儲單元嫩與外接存儲設==經時’ 將槽案或檔案夾拷貝至該對應的存儲路彳i。5路I’ 19200905481 X. Patent application scope: 1·:: Case: device, including - interface unit and an external storage set in the management material storage early in the deposit service #; - connection #理 module use s "processing device and external device The connection of the storage device; after the connection is established, the material manager _ is transferred to the external storage device - the lang number, the generation = the corresponding number of the last connection time Relationship, and storing the corresponding relationship to the storage unit; the Hai 4 field processing device further includes an information acquisition module, a -tb pair module and a storage control module; the resource reference includes a time attribute acquisition module The group and the connection information T take a mode, and when an external storage device is connected to the file processing device, the XT property acquisition module acquires a time attribute of the file or the private folder in the external storage device; the connection information Obtaining, by the acquiring module, an identification number of the external storage device, and searching, from the storage unit, a last connection time corresponding to the acquired identification number according to the correspondence relationship; the comparison module is configured to use the time attribute The final connection time is judged. 'If the time attribute is after the last connection time, the matching module generates a matching signal, and the matching signal includes the file or folder identifier corresponding to the time attribute; the storage control module receives the Matching the signal, reading the file or folder from the external storage device according to the file or folder identifier, and storing 200905481 to the storage unit. 2. If the attribute of the item i is the file or file —最:编: 3. As in the second paragraph of the patent application scope, the comparison of the touches of the Jing ^ A, § line material set, where == lost and all the contents of the copy to Ji 2; system module 4 If the file processing device mentioned in item 2 of the patent scope is applied, the comparison result is _ the result of the judgment is _ external storage after the last connection time and the last editing time is at the maximum time or editing time; = The file handling device will be lost in the case of the ride. The file after the copy is copied to the file processing device described in the 5.1 patent application (4), and the storage control module also touches the device corresponding to the /, middle Pair In the case of the relationship d31, the deposit of the depository in the depository of the depository of the deposit of the deposit is: in the =1, the establishment of the external or reliance on the miscellaneous deposits of the standard 6·- species «processing method, from the - external interface to -! Processing device, the method includes: § § or wrong connection: the device and the external storage 200905481 connect the external storage device to the file processing device; obtain the last connection of the slot processing device and the external storage device Time; find and copy 'find the broadcast or folder of the time attribute in the storage device after the last connection time; copy the time attribute to the file processing device after the last connection time. 7·如申The patent processing method described in Item 6 of the patent, wherein the time is the creation time and/or the last editing time of the file or folder. For example, the method for claiming and copying the file according to the seventh item, wherein the searching and copying step further comprises:: the external storage device towel-folder creation time is % after the last connection, the The folder and all the files in the folder are copied to the file processing device. • Shishen π specializes in her (4) processing method described in item 7, the search and copy step further includes: 1 in the external storage device - the setup time of the storage folder is after the last connection and the editing time is after the last connection time At the time, the build time or the edit time is copied to the file processing device after the last connection date (four). 10", as for the application of the item f, the search and copy steps further include: /, 'When the storage unit does not have the external storage device in the storage unit, the external storage device == time period' Or copy the folder to the corresponding storage path i. 5-way I’ 19
TW096126555A 2007-07-20 2007-07-20 File processing apparatus and method therefor TWI348622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW096126555A TWI348622B (en) 2007-07-20 2007-07-20 File processing apparatus and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW096126555A TWI348622B (en) 2007-07-20 2007-07-20 File processing apparatus and method therefor

Publications (2)

Publication Number Publication Date
TW200905481A true TW200905481A (en) 2009-02-01
TWI348622B TWI348622B (en) 2011-09-11

Family

ID=44722739

Family Applications (1)

Application Number Title Priority Date Filing Date
TW096126555A TWI348622B (en) 2007-07-20 2007-07-20 File processing apparatus and method therefor

Country Status (1)

Country Link
TW (1) TWI348622B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279453A (en) * 2013-05-31 2013-09-04 北京小米科技有限责任公司 Method, device and terminal device for processing files

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279453A (en) * 2013-05-31 2013-09-04 北京小米科技有限责任公司 Method, device and terminal device for processing files
CN103279453B (en) * 2013-05-31 2016-08-17 小米科技有限责任公司 Document handling method and device

Also Published As

Publication number Publication date
TWI348622B (en) 2011-09-11

Similar Documents

Publication Publication Date Title
US9904723B2 (en) Event based metadata synthesis
US11074396B2 (en) Animating edits to documents
US11113463B2 (en) Note browser
JP5801395B2 (en) Automatic media sharing via shutter click
US20040264810A1 (en) System and method for organizing images
US20150081791A1 (en) Private photo sharing system, method and network
US20080064438A1 (en) Place Name Picture Annotation on Camera Phones
US20210208767A1 (en) Application startup method and apparatus
US20120131017A1 (en) Tag information management apparatus, tag information management system, computer readable medium, and tag information management method
JP2005346440A (en) Metadata application support system, controller, and metadata application support method
JP2015158819A (en) Statistical processing apparatus, statistical processing method, and program
US20150100577A1 (en) Image processing apparatus and method, and non-transitory computer readable medium
WO2023138353A1 (en) Picture processing method, electronic device and computer readable medium
TW200905481A (en) File processing apparatus and method therefor
US20130106688A1 (en) Image information processing apparatus
JP5157551B2 (en) Object linkage system, object linkage method and program
US20200026731A1 (en) Systems and Methods for Archiving and Accessing of Image Content
WO2019052078A1 (en) Picture deletion reminding method and device
US20100281073A1 (en) Sequence preserving method for transferring and sharing images
JP6143083B2 (en) Data processing apparatus, data processing system, and data processing method
JP2009163349A (en) Additional information management apparatus, recording medium, and additional information management method
JP2002055986A (en) Album service system
JP2009075893A (en) Data management device, data management method, and program
JP2009146287A (en) Wedding ceremony information announcement system
TWM431380U (en) Pedestrian underpass maintenance and management system

Legal Events

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