TW201035769A - Apparatus and method for integrating memories - Google Patents

Apparatus and method for integrating memories Download PDF

Info

Publication number
TW201035769A
TW201035769A TW98109202A TW98109202A TW201035769A TW 201035769 A TW201035769 A TW 201035769A TW 98109202 A TW98109202 A TW 98109202A TW 98109202 A TW98109202 A TW 98109202A TW 201035769 A TW201035769 A TW 201035769A
Authority
TW
Taiwan
Prior art keywords
read
storage device
storage
memory integration
write
Prior art date
Application number
TW98109202A
Other languages
Chinese (zh)
Other versions
TWI386809B (en
Inventor
Shih-Neng Lin
Chang-Hung Tang
Cheng-Chang Ke
Original Assignee
Aten Int 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 Aten Int Co Ltd filed Critical Aten Int Co Ltd
Priority to TW98109202A priority Critical patent/TWI386809B/en
Publication of TW201035769A publication Critical patent/TW201035769A/en
Application granted granted Critical
Publication of TWI386809B publication Critical patent/TWI386809B/en

Links

Landscapes

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

Abstract

An apparatus for integrating memories, connecting to a host and multiple peripheral storage devices, includes an executor unit, a manager unit and a storage emulator unit. The executor unit obtains multiple chunk files respectively from the peripheral storage devices. Each chunk file occupies at least part of spare storage space of the corresponding peripheral storage device. The manager unit assembles the information of the headers of the chunk files. The storage emulator unit emulates a virtual storage device according to the information of the headers of the chunk files, such that the host may identify the virtual storage device via enumeration. The storage space of the virtual storage device is the total amount of the at least part of the spare storage spaces.

Description

201035769201035769

* · l W4«2LPA 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種記憶體整合裝置及方法,且特別 是有關於一種高效率之記憶體整合裝置及方法。 【先前技術】 行動儲存裝置,例如為USB隨身碟等,基於其可攜 性及便利性等優點,係於現代被大量的應用。然而,行動 〇 儲存裝置於儲存大量資料之後常會剩下些許剩餘儲存空 間,此些剩餘儲存空間可能因為容量不夠大而難以被利 用。如此一來,將會導致行動儲存裝置之剩餘儲存空間被 閒置未利用而浪費掉。傳統上係採用軟體處理的方法整合 多個行動儲存裝置。然而,上述採用軟體處理的方法會將 被整合的多個行動儲存裝置内的原有資料全部格式化,然 後模疑出一虛擬行動儲存裝置,此虛擬行動儲存裝置會佔 2多個订動儲存裝置之全部儲存空間。如此—來,原有的 胃料無法保留’且多個行動儲存裝置無法被單獨使用,導 致使用上的便利性大減。 【發明内容】 夕本發明係有關於一種記憶體整合裝置及方法,分別於 夕個周邊儲存褒置建立多個區塊槽案,故可在不破壞周邊 儲存裝置内原有資料的情況下,對多個周邊儲存裝置之至 少部份剩餘儲存空間進行合併再利用。 根據本發明之第一方面,提出一種記憶體整合裝置, 3 201035769* · l W4 «2LPA VI. Description of the Invention: [Technical Field] The present invention relates to a memory integration device and method, and more particularly to a high efficiency memory integration device and method. [Prior Art] Mobile storage devices, such as USB flash drives, are widely used in modern applications based on their portability and convenience. However, the action 〇 storage device often leaves some remaining storage space after storing a large amount of data. These remaining storage space may be difficult to use due to insufficient capacity. As a result, the remaining storage space of the mobile storage device will be wasted and left unused. Traditionally, software handling methods have been used to integrate multiple mobile storage devices. However, the above method of software processing will completely format the original data in the integrated mobile storage device, and then model a virtual mobile storage device, which will occupy more than 2 mobile storage devices. The entire storage space of the device. As a result, the original stomach material cannot be retained' and multiple mobile storage devices cannot be used alone, resulting in greatly reduced convenience in use. SUMMARY OF THE INVENTION The present invention relates to a memory integration device and method, which respectively establish a plurality of block slots in a peripheral storage device, so that the original data in the peripheral storage device can be destroyed without destroying the original data in the peripheral storage device. At least a portion of the remaining storage space of the plurality of peripheral storage devices is combined for reuse. According to a first aspect of the present invention, a memory integration device is provided, 3 201035769

TW4821PA 係連接一主機及多個周邊儲存裝置。記憶體整合裝置包括 一執行單元、一儲存管理單元以及一儲存模擬單元。執行 單元用以分別從此些周邊儲存裝置獲得多個區塊檔案,此 些區塊檔案各自佔據相對應的周邊儲存裝置之至少部份 剩餘儲存空間。儲存管理單元用以收集此些區塊檔案的標 頭之資訊。儲存模擬單元用以依據儲存管理單元所收集的 此些區塊檔案之標頭資訊,模擬一虛擬儲存裝置,使得主 機經由列舉而得以識別虛擬儲存裝置,虛擬儲存裝置之儲 存空間為此些至少部份剩餘儲存空間之總合。 根據本發明之第二方面,提出一種記憶體整合方法, 包括下列步驟。於多個周邊儲存裝置之至少部份剩餘儲存 空間分別建立相對應的區塊檔案。收集此些區塊檔案的標 頭之資訊。依據此些區塊檔案的標頭之資訊以模擬一虛擬 儲存裝置,使得一主機經由列舉而得以識別虛擬儲存裝 置,虛擬儲存裝置之儲存空間為該些至少部份剩餘儲存空 間之總合。 根據本發明之第三方面,提出一種記憶體整合方法, 包括下列步驟。從多個周邊儲存裝置分別獲得多個區塊擋 案的標頭,此些區塊檔案各自佔據相對應的周邊儲存裝置 之至少部份剩餘儲存空間。收集此些區塊檔案的標頭之資 訊以判斷是否所有區塊檔案均到齊。當此些區塊檔案均到 齊,模擬相對應的一虛擬儲存裝置,使得一主機經由列舉 而得以識別虛擬儲存裝置,虛擬儲存裝置之儲存空間為此 些至少部份剩餘儲存空間之總合。 根據本發明之第四方面,提出一種記憶體整合方法, 201035769 _ * 1 wHo^ir/v 包括下列步驟。從多個周邊儲存裝置分 餘儲存㈣。將此些剩餘儲存空間模擬 的剩 使得一主機經由列舉而識別虛擬儲存裝置置’ 之儲存空間為此些剩餘儲存空間之總合。儲存裝置 為讓本發明之上述内容能更明顯易懂, 佳實施例,並配合所附圖式,作詳細說明如^特舉一較 【實施方式】 本發明係提出-種記憶體整合裝置及 Ο 個周邊儲存裝置建立多個區塊檔案,故可在不破 存裝置内原有資料的情況下,對多個周邊儲存裝 部份剩餘儲存”進行合併再利用,大幅提升 = 用效率。 -脰的优 請參照第1圖,其緣示依照本發明較佳實施例之記憶 體整合裝置、周邊儲存裝置及主機之示意圖。記憶體整合 裝置no係連接多個周邊儲存裝置122〜128及機σ 130。記憶體整合裝置110係將多個周邊儲存裝置ΐ22〜ΐ28 ❹之至少部份剩餘儲存空間模擬為一虛擬儲存裝置,以供主 機130利用。記憶體整合裝置11 〇例如為一類集線器 (Hub-like)裝置’或是一讀卡機等。周邊儲存裝置122〜128 例如為通用串列匯流排(Universal Serial Bus,USB)磁碟, 或是記憶卡等。記憶體整合裝置n〇與主機13〇之間例如 經由一 USB傳輸介面溝通,然並不限於此。 凊參照第2圖’其繪示依照本發明較佳實施例之記憶 體整合裝置之方塊圖。記憶體整合裝置11()包括一執行 (executor)單元 200、一儲存管理(manager)單元 202、一儲 5 201035769The TW4821PA is connected to a host and multiple peripheral storage devices. The memory integration device includes an execution unit, a storage management unit, and a storage simulation unit. The execution unit is configured to obtain a plurality of block files from the peripheral storage devices, each of the block files occupying at least a portion of the remaining storage space of the corresponding peripheral storage device. The storage management unit collects information about the headers of the block files. The storage simulation unit is configured to simulate a virtual storage device according to the header information of the block files collected by the storage management unit, so that the host can identify the virtual storage device by enumeration, and the storage space of the virtual storage device is at least The sum of the remaining storage space. According to a second aspect of the present invention, a memory integration method is provided, comprising the following steps. Corresponding block files are respectively created in at least part of the remaining storage space of the plurality of peripheral storage devices. Collect information about the headers of these block files. Based on the information of the headers of the block files to simulate a virtual storage device, a host can identify the virtual storage device by enumeration, and the storage space of the virtual storage device is the sum of the at least some remaining storage spaces. According to a third aspect of the present invention, a memory integration method is provided, comprising the following steps. A plurality of block-block headers are obtained from a plurality of peripheral storage devices, each of which occupies at least a portion of the remaining storage space of the corresponding peripheral storage device. Collect the information on the headers of these block files to determine if all block files are available. When the block files are all aligned, a corresponding virtual storage device is simulated, so that a host can identify the virtual storage device by enumeration, and the storage space of the virtual storage device is a total of at least part of the remaining storage space. According to a fourth aspect of the present invention, a memory integration method is proposed, 201035769 _ * 1 wHo^ir/v comprising the following steps. Separate storage from multiple peripheral storage devices (4). The remaining of the remaining storage space simulations allows a host to identify the storage space of the virtual storage device by enumeration as the sum of the remaining storage spaces. The storage device is intended to make the above-mentioned contents of the present invention more comprehensible, better embodiments, and in conjunction with the drawings, and the detailed description is as follows. [Embodiment] The present invention proposes a memory integration device and Ο A peripheral storage device establishes multiple block files, so that the remaining storage of multiple peripheral storage devices can be combined and reused without damaging the original data in the device, which greatly improves the efficiency. Please refer to FIG. 1 for a schematic diagram of a memory integration device, a peripheral storage device and a host according to a preferred embodiment of the present invention. The memory integration device no connects a plurality of peripheral storage devices 122 to 128 and a machine σ 130. The memory integration device 110 simulates at least part of the remaining storage space of the plurality of peripheral storage devices 22 to 28 as a virtual storage device for use by the host 130. The memory integration device 11 is, for example, a type of hub (Hub- Like the device 'or a card reader, etc. The peripheral storage devices 122 to 128 are, for example, a Universal Serial Bus (USB) disk, or a memory card. The memory integration device n〇 communicates with the host computer 13B via a USB transmission interface, for example, but is not limited thereto. Referring to FIG. 2, a block diagram of a memory integration device according to a preferred embodiment of the present invention is shown. The memory integration device 11() includes an executor unit 200, a storage manager unit 202, and a storage 5 201035769.

TW4821PA 存模擬(emulator)單元204、一資料讀取/寫入單元2〇6、__ 加密/解密單元208以及一匯流排驅動單元210。於記情體 整合裝置110中,執行單元200用以分別從多個周邊儲存 裝置,例如為周邊儲存裝置126,獲得多個區塊槽案,此 些區塊檔案各自佔據相對應的周邊儲存裝置之至少部份 剩餘儲存空間。 儲存管理單元202用以收集此些區塊檔案的標頭 (header)之資訊。儲存模擬單元204用以依據儲存管理單一 202所收集的此些區塊檔案之標頭資訊,模擬一虛擬儲= 裝置,使得主機130經由列舉而得以識別該虛擬儲存裴 置,虛擬儲存裝置之儲存空間為此些至少部份剩餘儲存空 間之總合。 1 匯流排驅動單元210係用以與主機130溝通而使得主 機130得以列舉此虛擬儲存裝置。匯流排驅動單元2ι〇例 如為一通用串列匯流排驅動單元,然並不限於此,端視記 憶體整合裝置110與主機130間之傳輸介面而定。 請同時配合參照第3A圖,其繪示依照本發明較佳實 施例之記憶體整合方法之一例之流程圖。於步驟S31〇中, 記憶體整合裝置110持續地偵測是否有新接入的周邊儲存 裝置。若於一預定時間後未偵測到新接入的周邊儲存裝 置,則如第1圖所示,記憶體整合裝置11〇所連接之周邊 儲存裝置仍為周邊儲存裝置122〜128。 當未偵測到新接入的周邊儲存裝置,則於步驟S32〇 申,執行單元200於多個周邊儲存裝置122〜128之至少部 份剩餘儲存空間分別建立相對應的區塊(chunk)檔案。其 201035769The TW4821PA memory emulator unit 204, a data read/write unit 2〇6, an encryption/decryption unit 208, and a bus drive unit 210. In the case-integration device 110, the execution unit 200 is configured to obtain a plurality of block slots from a plurality of peripheral storage devices, for example, the peripheral storage device 126, and each of the block files respectively occupy a corresponding peripheral storage device. At least part of the remaining storage space. The storage management unit 202 is configured to collect information about the headers of the block files. The storage simulation unit 204 is configured to simulate a virtual storage device according to the header information of the block files collected by the storage management unit 202, so that the host 130 can identify the virtual storage device by enumeration, and store the virtual storage device. The space is the sum of at least some of the remaining storage space. The bus drive unit 210 is adapted to communicate with the host 130 such that the host 130 can enumerate the virtual storage device. The bus driver unit 2 is, for example, a general-purpose serial bus driver unit, but is not limited thereto, and depends on the transmission interface between the memory unit 110 and the host 130. Please also refer to FIG. 3A, which illustrates a flow chart of an example of a memory integration method in accordance with a preferred embodiment of the present invention. In step S31, the memory integration device 110 continuously detects whether there is a newly accessed peripheral storage device. If the newly accessed peripheral storage device is not detected after a predetermined time, as shown in Fig. 1, the peripheral storage device to which the memory integration device 11 is connected is still the peripheral storage devices 122 to 128. If the newly accessed peripheral storage device is not detected, then in step S32, the execution unit 200 creates a corresponding chunk file for each of the remaining storage spaces of the plurality of peripheral storage devices 122-128. . Its 201035769

* -TW4821PA 令,此些區塊檔案的標頭之資訊包括相對應的周邊儲存裝 置之識別碼(identification)以及至少部份剩餘儲存空間之 大小’且該些識別碼可用以判斷是否所有區 齊二此外,由於執行軍元·係於各周邊儲存裝置之剩餘 儲存空間建立區塊檔案,故並未影響到周邊儲存裝置 122〜128内原有的資料。若欲讀取周邊儲存裝置⑵〜⑶ =資料,則可以單獨使用周邊儲存裝置一 Ο Ο 接著,於步驟S330中,儲存管理單元2〇 之資訊以構成一裝置描述符(―): 健存模擬單元綱依據儲存管理單元⑽ ::集訊所構成的裝置描述符,模擬一虛擬儲存 擬單存裝置。其中,儲存模 周據相對應的—讀取/寫人演算法將 ^儲存^置,=〜128之至少部份剩餘儲存空間模擬為虛 剩餘儲存空間之=儲存裝置之儲存空間為多個至少部份 資訊。二0 、⑽合。該區塊檔案的標頭可含有演算法的 擬儲ί二 =::對:具有較大儲存空間之虛 效率。 仏買取/寫入的動作,大幅提升記憶體的使用 憶體整’其繪示依照本發明較佳實施例之記 存裝置進行讀取^圖。當主機130欲對虛擬儲 胃取/寫入的動作時,於步驟S41〇中,執行單 7 201035769* - TW4821PA, the header information of the block files includes the identification of the corresponding peripheral storage device and the size of at least part of the remaining storage space 'and the identification codes can be used to determine whether all the zones are aligned In addition, since the execution military unit establishes the block file in the remaining storage space of each peripheral storage device, the original data in the peripheral storage devices 122 to 128 are not affected. If the peripheral storage device (2)~(3)=data is to be read, the peripheral storage device can be used separately. Next, in step S330, the information of the management unit 2 is stored to form a device descriptor (-): The unit outlines a virtual storage plan storage device according to the device descriptor formed by the storage management unit (10)::. Wherein, the storage module is correspondingly--the read/write algorithm is used to store the memory, and at least part of the remaining storage space is simulated as the virtual remaining storage space = the storage space of the storage device is at least Some information. 20, (10) combined. The header of the block file can contain the algorithm's proposed storage ί 2 =:: pair: virtual efficiency with large storage space. The operation of buying/writing greatly enhances the use of memory. The memory device is shown in the memory device in accordance with a preferred embodiment of the present invention. When the host 130 wants to take a virtual memory capture/write action, in step S41, the execution order is 7 201035769

TW4821PA 元200從周邊儲存驻 標頭,此些區心;: = 多個區塊楷案的 少部份剩餘健存空間。於步驟s42q:的周邊儲存裝置之至 收集此些區塊檔案的標頭之#訊=存管理單元202 案均到齊。於步驟S420中,儲存乾斷疋否所有區塊檔 判斷相對應於虛擬儲存裝置之目理單實質上係 案是否均到齊。 兩返付之所有區塊檔 122〜128至少’料示周邊儲存裝置 故回到步驟S4i〇,執行;連:到"己憶體整合裝置削, 122〜128分別獲得夕摘 重新從周邊儲存裝置 案到齊。若相對應二°置描有區塊權 =儲存裝置—^ 符以模擬相對應的虛擬_置擬=〇=”描述 而得以識別此虛擬儲存裝置。如此一來,== 據包含於區塊檔案的標頭之資訊: 虛擬儲存Μ進行讀取/寫人的動作。冑^异法’對 憶體照本發_佳實施例之記 隱體整口方法之再-例之流程圖。當主機 ::工:二步驟S51❻中,資料讀取/寫入單元2。: 自機30之一讀取/寫入指令。於步驟S520中, 資料讀取/寫入單元施依據相對應於的 ^判斷讀取/寫入指令所要傳送之周邊儲存褒置寫並將异讀 取寫入指令傳送至執行單元200。之後,於步驟S53〇中, 201035769 * 41 W482im 執灯單7G 20()對所要傳送之周邊儲存裝置執行相對應的讀 取/寫入動作。 舉例來說’主機130識別虛擬儲存裝置後,可對虛擬 裝置發出讀取/寫人指令,此讀取/寫人指令包括目標 >料的位址儲存模擬單元204將周邊儲存袭置122〜128 之至少部份剩餘料空間模擬為虛擬儲存裝置的同時,會 依據相對應的讀取/寫人演算法將周邊儲錢置122〜128 ο Ο 之至^箱剩餘儲存空間分別設定不同的位址。例如設定 位址0〜49對映至周邊儲存裝置122、設定位址50〜99對映 至周邊儲存裝置124、設定位址謂〜199對映至周邊儲存 ,置m、及設定位址2〇〇〜249對映至周邊儲存裝置⑶ ,然並不限於此m假設資料讀取/寫入單元 廉解析出目標資料位址為60’則可判斷出讀取/寫入指令 存f置存裝置124。然:後’執行單元2GG對周邊儲 裝置124執行相對應的讀取/寫入動作。 ^於執行單元可同時對多個周邊儲存裝置進行 t it的提高周邊料裝置輸人/輸出的 ^使付資料存取的速度增加。當執行單元· 邊错存裝置m〜m所讀取之資料傳送至資料讀 用 後,資料讀取/寫入單元206依據資料讀取/寫入 =异法組合從各周邊儲存裝置所得料#料 =裝置爾據來自主機⑽之―資料要求(datare: 扣7,將組合後之資料輸出至主機13〇。 此外,加密/解密單元208絲接於資料讀取/寫 π寫及執行單元200之間,用以對讀取/寫入指令所存取 9 201035769The TW4821PA element 200 stores the resident headers from the periphery, such areas;; = a small portion of the remaining storage space of multiple block files. In the case of the peripheral storage device of step s42q:, the headers of the headers of the collection of the block files are all aligned. In step S420, whether or not all the block files are stored is determined to determine whether the system corresponding to the virtual storage device is substantially in line. All the block files 122~128 of the two paybacks at least 'represent the peripheral storage device, so go back to step S4i〇, execute; connect: to "remembered body integrated device, 122~128 respectively get the eve picking again from the peripheral storage device The case is on. If the corresponding two-degree description has a block weight=storage device-^ character to simulate the corresponding virtual_imposition=〇=” description, the virtual storage device is identified. Thus, the== data is included in the block. The information of the header of the file: virtual storage Μ read / write the action of the person. 胄 ^ different method 'to remember the body according to the hair _ good example of the hidden method of the whole mouth - the flow chart of the example. Host:: worker: two steps S51, data read/write unit 2.: one read/write instruction of one of the machines 30. In step S520, the data read/write unit is applied according to ^ Judging the peripheral storage write to be transmitted by the read/write command and transmitting the exclusive read write command to the execution unit 200. Thereafter, in step S53, 201035769 * 41 W482im license lamp 7G 20() pair The peripheral storage device to be transmitted performs a corresponding read/write operation. For example, after the host 130 identifies the virtual storage device, a read/write command can be issued to the virtual device, and the read/write command includes the target. > address storage simulation unit 204 will store the surrounding storage 122~128 A small part of the remaining material space is simulated as a virtual storage device, and the corresponding storage address is set to 122~128 ο 依据 to the remaining storage space of the box according to the corresponding read/write person algorithm. For example, the set addresses 0 to 49 are mapped to the peripheral storage device 122, the set addresses 50 to 99 are mapped to the peripheral storage device 124, and the set address is 199 to the surrounding storage, and the m and the set address are set. 〇~249 is mapped to the peripheral storage device (3), but it is not limited to this m. If the data read/write unit is parsed, the target data address is 60', then the read/write command can be judged to be stored. 124. After: the 'execution unit 2GG performs a corresponding read/write operation on the peripheral storage device 124. ^ The execution unit can simultaneously perform a plurality of peripheral storage devices to improve the input/output of the peripheral device. The speed of the data access is increased. When the data read by the execution unit and the side misregistering device m~m is transferred to the data reading, the data reading/writing unit 206 reads/writes according to the data. Method combination of materials from each peripheral storage device #料=装置According to the data request from the host (10) (datare: deduction 7, the combined data is output to the host 13A. In addition, the encryption/decryption unit 208 is wired between the data read/write π write and execution unit 200, Accessed by read/write instructions 9 201035769

TW4821PA 之資料進行加密/解密的動作。如此一來,可是提升資料保 密的安全性。 本發明上述實施例所揭露之記憶體整合裝置及方 法,係分別於多個周邊儲存裝置之至少部份剩餘儲存空間 建立多個相對應的區塊檔案,故可在不破壞周邊儲存裝置 内原有資料的情況下,模擬出一虛擬儲存裝置以供主機識 別及使用。亦即,上述之記憶體整合裝置及方法對多個周 邊儲存裝置之至少部份剩餘儲存空間進行合併再利用,大 幅提升記憶體的使用效率。而由於可對讀取/寫入指令所存 取之資料進行加密/解密的動作,提升了資料保密性。更進 一步地,每一個周邊儲存裝置内的區塊檔案可以被複製到 主機内保存,使得資料的備份變得更容易。 綜上所述,雖然本發明已以一較佳實施例揭露如上, 然其並非用以限定本發明。本發明所屬技術領域中具有通 常知識者,在不脫離本發明之精神和範圍内,當可作各種 之更動與潤飾。因此,本發明之保護範圍當視後附之申請 專利範圍所界定者為準。 【圖式簡單說明】 第1圖繪示依照本發明較佳實施V列之記憶體整合裝 置、周邊儲存裝置及主機之示意圖。 第2圖繪示依照本發明較佳實施例之記憶體整合裝 置之方塊圖。 第3A圖繪示依照本發明較佳實施例之記憶體整合方 法之一例之流程圖。 第3B圖繪示依照本發明較佳實施例之記憶體整合方 201035769The TW4821PA data is encrypted/decrypted. As a result, the security of data confidentiality is enhanced. The memory integration device and method disclosed in the above embodiments of the present invention respectively establish a plurality of corresponding block files in at least part of the remaining storage space of the plurality of peripheral storage devices, so that the original storage device can be destroyed without destroying the original storage device. In the case of data, a virtual storage device is simulated for identification and use by the host. That is, the memory integration device and method described above combine and reuse at least a portion of the remaining storage space of the plurality of peripheral storage devices to greatly improve the use efficiency of the memory. The confidentiality of the data is enhanced by the ability to encrypt/decrypt the data stored in the read/write command. Further, the block files in each of the peripheral storage devices can be copied to the host for storage, making backup of the data easier. In view of the above, the present invention has been disclosed in a preferred embodiment, and is not intended to limit the present invention. It will be apparent to those skilled in the art that various changes and modifications can be made without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic view showing a memory integration device, a peripheral storage device, and a host in accordance with a preferred embodiment of the present invention. Figure 2 is a block diagram of a memory integrating device in accordance with a preferred embodiment of the present invention. 3A is a flow chart showing an example of a memory integration method in accordance with a preferred embodiment of the present invention. FIG. 3B illustrates a memory integration party in accordance with a preferred embodiment of the present invention 201035769

* U W4521FA 法之另一例之流程圖。 第3C圖繪示依照本發明較佳實施例之記憶體整合方 法之再一例之流程圖。 【主要元件符號說明】 110 :記憶體整合裝置 122〜128 :周邊儲存裝置 130 :主機 200 :執行單元 ❹ 202 :儲存管理單元 204 :儲存模擬單元 206 :資料讀取/寫入單元 208 :加密/解密單元 210 :匯流排驅動單元 S310〜S340、S410~S430、S510〜S530 :步驟* Flowchart for another example of the U W4521FA method. Figure 3C is a flow chart showing still another example of a memory integration method in accordance with a preferred embodiment of the present invention. [Main component symbol description] 110: Memory integration device 122 to 128: Peripheral storage device 130: Host 200: Execution unit 202: Storage management unit 204: Storage simulation unit 206: Data reading/writing unit 208: Encryption/ Decryption unit 210: bus drive units S310~S340, S410~S430, S510~S530: steps

1111

Claims (1)

201035769 TW4821PA 七、申請專利範圍: 1. 一種記憶體整合裝置,係連接一主機及複數個周 邊儲存裝置,該記憶體整合裝置包括: 一執行(executor)單元,用以分別從該些周邊儲存裝 置獲得複數個區塊(chunk)檔案,該些區塊檔案各自佔據相 對應的周邊儲存裝置之至少部份剩餘儲存空間; 一儲存管理(manager)單元,用以收集該些區塊槽案的 標頭之資訊;以及 一儲存模擬(emulator)單元,用以依據該儲存管理單 元所收集的該些區塊檔案之標頭資訊,模擬一虛擬儲存裝 置,使得該主機經由列舉(enumeration)而識別該虛擬儲存 裝置,該虛擬儲存裝置之儲存空間為該些至少部份剩餘儲 存空間之總合。 2. 如申請專利範圍第1項所述之記憶體整合裝置, 其中該些區塊檔案的標頭之資訊包括相對應的周邊儲存 裝置之識別碼(identification)以及至少部份剩餘儲存空間 之大小。 3. 如申請專利範圍第1項所述之記憶體整合裝置, 其中該執行單元更用以檢查該些周邊儲存裝置是否具有 對應的該些區塊檔案,若該些周邊儲存裝置未具有對應的 該些區塊檔案,則該執行單元於該些周邊儲存裝置建立對 應的該些區塊檔案。 4. 如申請專利範圍第1項所述之記憶體整合裝置, 更包括: 一資料讀取/寫入單元,用以判斷來自該主機之一讀 12 201035769 ‘ lTW4821PA 取/寫入指令所要傳送之該些周邊儲存裝置,並將該讀取/ 寫入指令傳送至該執行單元,以執行相對應的讀取/寫入動 作。 5. 如申請專利範圍第4項所述之記憶體整合裝置, 其中當該執行單元將從該些周邊儲存裝置所讀取之資料 傳送至該資料讀取/寫入單元,該資料讀取/寫入單元依據 該資料讀取/寫入演算法組合該些資料並輸出至該主機。 6. 如申請專利範圍第4項所述之記憶體整合裝置, 〇 其中該些區塊檔案的標頭之資訊包括該讀取/寫入演算法。 7. 如申請專利範圍第4項所述之記憶體整合裝置, 更包括: 一加密/解密單元,耦接於該資料讀取/寫入單元及該 執行單元之間,用以對該讀取/寫入指令所存取之資料進行 加密/解密的動作。 8. 如申請專利範圍第4項所述之記憶體整合裝置, 其中該資料讀取/寫入單元依據對應的一讀取/寫入演算 〇 法,判斷該讀取/寫入指令所要傳送之該些周邊儲存裝置。 9. 如申請專利範圍第1項所述之記憶體整合裝置, 其中該儲存管理單元收集該些區塊檔案的標頭之資訊以 構成一裝置描述符(descriptor),該儲存模擬單元依據該裝 置描述符模擬該虛擬儲存裝置。 10. 如申請專利範圍第1項所述之記憶體整合裝置, 更包括: 一匯流排驅動單元,用以與該主機溝通而使得該主機 列舉該虛擬儲存裝置。 13 201035769 TW4821PA 11. 如申請專利範圍第9項所述之記憶體整合裝置, 其中該匯流排驅動單元係為一通用串列匯流排(Universal Serial Bus,USB)驅動單元。 12. —種記憶體整合方法,包括: 於複數個周邊儲存裝置之至少部份剩餘儲存空間分 別建立相對應的區塊檔案; 收集該些區塊檔案的標頭之資訊;以及 依據該些區塊檔案的標頭之資訊以模擬一虛擬儲存 裝置,使得一主機經由列舉而識別該虛擬儲存裝置,該虛 擬儲存裝置之儲存空間為該些至少部份剩餘儲存空間之 總合。 13. 如申請專利範圍第12項所述之記憶體整合方 法,其中該些區塊檔案的標頭之資訊包括相對應的周邊儲 存裝置之識別碼以及至少部份剩餘儲存空間之大小。 14. 如申請專利範圍第12項所述之記憶體整合方 法,更包括: 持續地偵測是否有新接入的周邊儲存裝置。 15. —種記憶體整合方法,包括: 從複數個周邊儲存裝置分別獲得複數個區塊檔案的 標頭,該些區塊檔案各自佔據相對應的周邊儲存裝置之至 少部份剩餘儲存空間; 收集該些區塊檔案的標頭之資訊以判斷是否所有區 塊檔案均到齊;以及 當該些區塊檔案均到齊,模擬相對應的一虛擬儲存裝 置,使得一主機經由列舉而識別該虛擬儲存裝置,該虛擬 14 201035769 u W4»^im 儲存裝置之儲存空間為該些至少部份剩餘儲存空間之總 合。 16. 如申請專利範圍第15項所述之記憶體整合方 法,其中該些區塊檔案的標頭之資訊包括相對應的周邊儲 存裝置之識別碼以及至少部份剩餘儲存空間之大小,且該 些識別碼可用以判斷是否所有區塊檔案均到齊。 17. 如申請專利範圍第15項所述之記憶體整合方 法,更包括: 〇 接收來自該主機之一讀取/寫入指令; 判斷該讀取/寫入指令所要傳送之該些周邊儲存裝 置;以及 對所要傳送之該些周邊儲存裝置執行相對應的讀取/ 寫入動作。 18. 如申請專利範圍第17項所述之記憶體整合方 法,其中該些區塊檔案係對應至一裝置描述符,該些區塊 檔案的標頭對應至一讀取/寫入演算法。 〇 19.如申請專利範圍第18項所述之記憶體整合方 法,更包括: 依據該讀取/寫入演算法組合從該些周邊儲存裝置所 讀取之資料,並輸出至該主機。 20. 如申請專利範圍第18項所述之記憶體整合方 法,其中該些區塊檔案的標頭之資訊包括該讀取/寫入演算 法。 21. 如申請專利範圍第17項所述之記憶體整合方 法,更包括: 15 201035769 TW4821PA 對該讀取/寫入指令所存取之資料進行加密/解密的動 作。 22. —種記憶體整合方法,包括: 從複數個周邊儲存裝置分別獲得相對應的剩餘儲存 空間;以及 將該些剩餘儲存空間模擬一虛擬儲存裝置,使得一主 機經由列舉而識別該虛擬儲存裝置,該虛擬儲存裝置之儲 存空間為該些剩餘儲存空間之總合。 23. 如申請專利範圍第22項所述之記憶體整合方 法,更包括: 接收來自該主機之一讀取/寫入指令; 判斷該讀取/寫入指令所要傳送之該些周邊儲存裝 置;以及 對所要傳送之該些周邊儲存裝置執行相對應的讀取/ 寫入動作。 24. 如申請專利範圍第23項所述之記憶體整合方 法,更包括: 對該讀取/寫入指令所存取之資料進行加密/解密的動 作。 16201035769 TW4821PA VII. Patent Application Range: 1. A memory integration device is connected to a host and a plurality of peripheral storage devices. The memory integration device comprises: an executor unit for separately from the peripheral storage devices Obtaining a plurality of chunk files, each of which occupies at least a portion of the remaining storage space of the corresponding peripheral storage device; a storage management unit for collecting the labels of the block slots And a storage emulator unit for simulating a virtual storage device according to the header information of the block files collected by the storage management unit, so that the host identifies the device via an enumeration The virtual storage device, the storage space of the virtual storage device is a total of the at least part of the remaining storage space. 2. The memory integration device of claim 1, wherein the header information of the block files includes an identification of a corresponding peripheral storage device and at least a portion of remaining storage space. . 3. The memory integration device of claim 1, wherein the execution unit is further configured to check whether the peripheral storage devices have corresponding block files, if the peripheral storage devices do not have corresponding For the block files, the execution unit creates corresponding block files in the peripheral storage devices. 4. The memory integration device according to claim 1, further comprising: a data read/write unit for determining that a read/write command from the one of the host reads 12 201035769 'lTW4821PA The peripheral storage devices transmit the read/write command to the execution unit to perform a corresponding read/write operation. 5. The memory integration device of claim 4, wherein the execution unit transmits data read from the peripheral storage devices to the data read/write unit, the data is read/ The writing unit combines the data according to the data read/write algorithm and outputs the data to the host. 6. The memory integration device of claim 4, wherein the information of the headers of the block files includes the read/write algorithm. 7. The memory integration device of claim 4, further comprising: an encryption/decryption unit coupled between the data read/write unit and the execution unit for reading the data / Write the data accessed by the instruction for encryption/decryption. 8. The memory integration device according to claim 4, wherein the data read/write unit determines that the read/write command is to be transmitted according to a corresponding read/write calculation method. The peripheral storage devices. 9. The memory integration device of claim 1, wherein the storage management unit collects information of headers of the block files to form a device descriptor, the storage simulation unit according to the device The descriptor simulates the virtual storage device. 10. The memory integration device of claim 1, further comprising: a bus drive unit for communicating with the host to cause the host to enumerate the virtual storage device. The memory integration device of claim 9, wherein the bus drive unit is a universal serial bus (USB) drive unit. 12. A memory integration method, comprising: establishing corresponding block files in at least part of remaining storage spaces of a plurality of peripheral storage devices; collecting information of headers of the block files; and determining the areas according to the blocks The information of the header of the block file is used to simulate a virtual storage device, so that a host identifies the virtual storage device by enumeration, and the storage space of the virtual storage device is a total of the at least some remaining storage spaces. 13. The memory integration method of claim 12, wherein the header information of the block files includes an identification code of the corresponding peripheral storage device and at least a portion of the remaining storage space. 14. The method of memory integration as described in claim 12, further comprising: continuously detecting whether there is a newly accessed peripheral storage device. 15. A method of memory integration, comprising: obtaining a header of a plurality of block files from a plurality of peripheral storage devices, each of the block files occupying at least a portion of remaining storage space of a corresponding peripheral storage device; Information of the headers of the block files to determine whether all the block files are aligned; and when the block files are all aligned, simulating a corresponding virtual storage device, so that a host identifies the virtual via enumeration The storage device, the virtual 14 201035769 u W4»^im storage device storage space is the sum of the at least part of the remaining storage space. 16. The memory integration method according to claim 15, wherein the information of the header of the block file includes an identifier of the corresponding peripheral storage device and a size of at least a portion of the remaining storage space, and the These identification codes can be used to determine if all block files are in line. 17. The memory integration method of claim 15, further comprising: receiving a read/write command from the host; determining the peripheral storage devices to be transmitted by the read/write command And performing a corresponding read/write operation on the peripheral storage devices to be transmitted. 18. The memory integration method of claim 17, wherein the block files correspond to a device descriptor, and the headers of the block files correspond to a read/write algorithm. 19. The memory integration method of claim 18, further comprising: combining the data read from the peripheral storage devices according to the read/write algorithm and outputting to the host. 20. The memory integration method of claim 18, wherein the header information of the block files includes the read/write algorithm. 21. The method for integrating memory according to claim 17 of the patent application further includes: 15 201035769 TW4821PA Encrypting/decrypting the data accessed by the read/write instruction. 22. A memory integration method, comprising: obtaining a corresponding remaining storage space from a plurality of peripheral storage devices; and simulating a virtual storage device by the remaining storage spaces, such that a host identifies the virtual storage device by enumeration The storage space of the virtual storage device is a total of the remaining storage spaces. 23. The memory integration method of claim 22, further comprising: receiving a read/write command from the host; determining the peripheral storage devices to be transmitted by the read/write command; And performing a corresponding read/write operation on the peripheral storage devices to be transmitted. 24. The memory integration method of claim 23, further comprising: encrypting/decrypting the data accessed by the read/write instruction. 16
TW98109202A 2009-03-20 2009-03-20 Apparatus and method for integrating memories TWI386809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98109202A TWI386809B (en) 2009-03-20 2009-03-20 Apparatus and method for integrating memories

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98109202A TWI386809B (en) 2009-03-20 2009-03-20 Apparatus and method for integrating memories

Publications (2)

Publication Number Publication Date
TW201035769A true TW201035769A (en) 2010-10-01
TWI386809B TWI386809B (en) 2013-02-21

Family

ID=44855980

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98109202A TWI386809B (en) 2009-03-20 2009-03-20 Apparatus and method for integrating memories

Country Status (1)

Country Link
TW (1) TWI386809B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI681296B (en) * 2018-09-28 2020-01-01 慧榮科技股份有限公司 Apparatus and method and computer program product for accessing a memory card

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7506009B2 (en) * 2005-01-28 2009-03-17 Dell Products Lp Systems and methods for accessing a shared storage network using multiple system nodes configured as server nodes
TWI307589B (en) * 2005-05-18 2009-03-11 Innovative Sonic Ltd Method and apparatus of data segmentation in a mobile communications system
TW200725296A (en) * 2005-12-27 2007-07-01 Inventec Corp Data automatic classification and access method for expanding a virtual hard disk
US7574534B2 (en) * 2006-05-23 2009-08-11 International Business Machines Corporation Method for using device enumeration information to identify an operating system running on a computer system
US7577776B2 (en) * 2007-05-14 2009-08-18 Aten International Co., Ltd Multiple virtual USB devices with virtual HUB implemented using one USB device controller
US20090049307A1 (en) * 2007-08-13 2009-02-19 Authennex, Inc. System and Method for Providing a Multifunction Computer Security USB Token Device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI681296B (en) * 2018-09-28 2020-01-01 慧榮科技股份有限公司 Apparatus and method and computer program product for accessing a memory card

Also Published As

Publication number Publication date
TWI386809B (en) 2013-02-21

Similar Documents

Publication Publication Date Title
TWI395606B (en) Hard drive authentication
TWI280022B (en) Method, apparatus and system for securing data, and article comprising a storage medium
CN108073351B (en) Data storage method of nonvolatile storage space in chip and credible chip
CN109522328B (en) Data processing method and device, medium and terminal thereof
US20090248966A1 (en) Flash drive with user upgradeable capacity via removable flash
TW201207862A (en) Memory identification code generating method, management method, controller and storage system
US9450761B2 (en) Memory system and method of generating management information
CN108055135A (en) A kind of method of intelligent terminal authentication management
JP5645725B2 (en) Data processing apparatus, data processing system, and control method therefor
WO2010103663A1 (en) Person authentication system and person authentication method
CN105631361A (en) Application program channel source identification method and device
CN105303093A (en) Token verification method for cryptographic smart token
CN113420049A (en) Data circulation method and device, electronic equipment and storage medium
KR20090072717A (en) New data storage usb disc, computer interface usb device and method by flash memory's bad patten
RU2009131703A (en) SINGLE-CRYST COMPUTER AND TACHOGRAPH
EP2091002A1 (en) Information processing device and information management program
CN103049705A (en) Virtualization based method, terminal and system for secure storage
TW201035769A (en) Apparatus and method for integrating memories
CN104503705B (en) The method of trusted storage system and the trusted storage system of structure are built using flash memory device
US20110184919A1 (en) System and method for preserving electronically stored information
JP2007080077A5 (en)
JP2023081374A (en) Method and system for session-based secured access control on data storing system
CN101853213B (en) Memory integration device and method
CN111130788B (en) Data processing method and system, data reading method and iSCSI server
CN110020513B (en) Signature recording method, signature verification device and storage medium

Legal Events

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