TWI423115B - Capacity integration apparatus and method for storing data and method for reading data thereof - Google Patents

Capacity integration apparatus and method for storing data and method for reading data thereof Download PDF

Info

Publication number
TWI423115B
TWI423115B TW96124665A TW96124665A TWI423115B TW I423115 B TWI423115 B TW I423115B TW 96124665 A TW96124665 A TW 96124665A TW 96124665 A TW96124665 A TW 96124665A TW I423115 B TWI423115 B TW I423115B
Authority
TW
Taiwan
Prior art keywords
document
stored
storage device
mobile storage
document management
Prior art date
Application number
TW96124665A
Other languages
Chinese (zh)
Other versions
TW200903317A (en
Inventor
Pin-Feng Fu
Shih Fang Wong
Lin-Lin Guo
Chun-Hua Li
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 TW96124665A priority Critical patent/TWI423115B/en
Publication of TW200903317A publication Critical patent/TW200903317A/en
Application granted granted Critical
Publication of TWI423115B publication Critical patent/TWI423115B/en

Links

Landscapes

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

Description

容量整合設備及其資料存儲方法和資料讀取方法 Capacity integration device and data storage method thereof and data reading method

本發明涉及一種資料存儲設備,尤其涉及一種整合多個移動存儲裝置容量之容量整合設備及其資料存儲方法、資料讀取方法。 The present invention relates to a data storage device, and more particularly to a capacity integration device for integrating a plurality of mobile storage device capacities, a data storage method thereof, and a data reading method.

隨著存儲技術、通信技術的發展,移動存儲裝置之出現為人們的存儲需求提供了便利。例如,閃存盤、SD卡(Secure Digital Memory Card)、xD-Picture存儲卡、T-Flash卡等,這些移動存儲裝置結合不同的串列匯流排標準便可與其他採用相同串列匯流排標準的設備進行資料傳輸,進而實現人們存儲之資料移動性,現有之串列匯流排標準主要包括通用串列匯流排標準(Universal Serial Bus)、高性能串列匯流排標準(IEEE1394)。 With the development of storage technology and communication technology, the emergence of mobile storage devices has facilitated people's storage needs. For example, flash drives, SD cards (Secure Digital Memory Cards), xD-Picture memory cards, T-Flash cards, etc., these mobile storage devices can be combined with other serial busbar standards to use the same tandem bus standard. The device performs data transmission to realize the data mobility of people's storage. The existing serial bus standard mainly includes the universal serial bus standard (Universal Serial Bus) and the high performance serial bus standard (IEEE1394).

下面以採用通用串列匯流排標準的閃存盤為例,介紹閃存盤與電腦之間的資料通信。如圖1所示具有USB閃存盤之電腦系統,電腦2包括USB主機控制器21及連接器23。閃存盤3包括USB控制器31、連接器33及快閃記憶體模組35。電腦2藉由電纜6與閃存盤3連接時,USB主機控制器21藉由連接器23檢測到閃存盤3並開始為閃存盤3供電,然後分配一地址給閃存盤3。閃存盤3進入地址狀態。USB主機控制器21藉由連接器23讀取閃存盤3配置資訊,並根據配置資訊向閃存盤3分發一個配置值,閃存盤3進入配置狀態,此時 閃存盤3可以使用。電腦2產生一讀操作信號給閃存盤3時,閃存盤3的USB控制器31將自身資訊及快閃記憶體模組35的資訊藉由連接器33傳送給電腦2。這樣電腦2就可以確定閃存盤3的存儲容量、剩餘容量以及相關存儲資訊。 The following uses a flash disk using the universal serial bus standard as an example to describe the data communication between the flash disk and the computer. As shown in FIG. 1, a computer system having a USB flash drive, the computer 2 includes a USB host controller 21 and a connector 23. The flash drive 3 includes a USB controller 31, a connector 33, and a flash memory module 35. When the computer 2 is connected to the flash drive 3 via the cable 6, the USB host controller 21 detects the flash drive 3 by the connector 23 and starts supplying power to the flash drive 3, and then assigns an address to the flash drive 3. The flash drive 3 enters the address state. The USB host controller 21 reads the configuration information of the flash disk 3 through the connector 23, and distributes a configuration value to the flash disk 3 according to the configuration information, and the flash disk 3 enters the configuration state. The flash drive 3 can be used. When the computer 2 generates a read operation signal to the flash drive 3, the USB controller 31 of the flash drive 3 transmits its own information and the information of the flash memory module 35 to the computer 2 via the connector 33. Thus, the computer 2 can determine the storage capacity, remaining capacity, and related storage information of the flash drive 3.

USB閃存盤之即插即用及簡易之操作模式為用戶的移動存儲資料之操作提供了極大的便利,USB閃存盤也因上述優勢成為用戶用於移動存儲資料的首選設備。為滿足用戶不斷增長的移動資料存儲之需求,閃存盤製造商不斷推出大容量的閃存盤。用戶為了能獲得更大的移動資料的存儲能力,不斷購置價錢較高的大容量閃存盤,而其先前購置的小容量閃存盤則被丟置一邊,這樣不但浪費了小容量閃存盤的存儲資源,而且也增加了用戶購置大容量閃存盤的成本。 The plug-and-play and easy operation mode of the USB flash drive provides great convenience for the operation of the user's mobile storage data, and the USB flash drive is also the preferred device for the user to store data by virtue of the above advantages. In order to meet the growing demand for mobile data storage, flash disk manufacturers continue to introduce large-capacity flash drives. In order to obtain more storage capacity of mobile data, users continue to purchase high-capacity flash drives with higher prices, and their previously purchased small-capacity flash drives are thrown aside, which not only wastes the storage resources of small-capacity flash drives. And it also increases the cost of users purchasing large-capacity flash drives.

鑒於此,有必要提供一種容量整合設備,該容量整合設備可以將多個移動存儲裝置的存儲容量整合為一整體來存儲資料。 In view of this, it is necessary to provide a capacity integration device that can integrate the storage capacity of a plurality of mobile storage devices into a whole to store data.

此外,還有必要提供一種適應該容量整合設備之資料存儲方法。 In addition, it is also necessary to provide a data storage method adapted to the capacity integration device.

此外,還有必要提供一種適應該容量整合設備之資料讀取方法。 In addition, it is also necessary to provide a method of reading data adapted to the capacity integration device.

一種容量整合設備,包括連接器、控制模組、檢測模組、文檔管理模組及擴展單元,擴展單元與移動存儲裝置相連,連接器與電腦連接後,其中控制模組控制檢測模組檢測移動存儲裝置的相關資訊,並控制文檔管理模組根據該相關資訊生成用於管理移動存儲裝置存儲資料的文檔管理表,控制模組接收到電腦因存儲待存文檔而提供的存儲信號時,控制文檔管理模組依據文檔管理表為 該待存文檔分配移動存儲裝置,並將待存文檔順次存儲到分配的移動存儲裝置中。 A capacity integration device includes a connector, a control module, a detection module, a document management module and an expansion unit. The expansion unit is connected to the mobile storage device. After the connector is connected to the computer, the control module controls the detection module to detect the movement. And storing a related information of the device, and controlling the document management module to generate a document management table for managing the storage data stored by the mobile storage device according to the related information, and the control module receives the storage signal provided by the computer for storing the to-be-stored document, and controls the document The management module is based on the document management table. The to-be-stored document allocates a mobile storage device and sequentially stores the to-be-stored document into the allocated mobile storage device.

一種資料存儲方法,包括以下步驟:將已連接移動存儲裝置之容量整合設備與電腦連接;檢測與容量整合設備相連之移動存儲裝置的相關資訊,該相關資訊包括移動存儲裝置的識別碼、存儲容量值、剩餘容量值、剩餘容量邏輯起始地址、已存儲檔的檔案名、已存儲檔的邏輯起始地址;根據檢測到的相關資訊生成用於管理移動存儲裝置存儲資料的文檔管理表;接收電腦因存儲待存文檔而提供的存儲信號;根據該文檔管理表順次分配該移動存儲裝置以存儲待存文檔。 A data storage method includes the steps of: connecting a capacity integration device connected to a mobile storage device to a computer; and detecting information about a mobile storage device connected to the capacity integration device, the related information including an identification code and a storage capacity of the mobile storage device Value, remaining capacity value, remaining capacity logical start address, file name of the stored file, logical start address of the stored file; generating a document management table for managing the storage data of the mobile storage device according to the detected related information; receiving The storage signal provided by the computer for storing the to-be-stored document; the mobile storage device is sequentially allocated according to the document management table to store the to-be-stored document.

一種資料讀取方法,包括以下步驟:將已連接移動存儲裝置之容量整合設備與電腦連接;接收電腦提供的讀操作信號;讀取存儲的資訊表以回應讀操作信號,該資訊表用於管理移動存儲裝置讀取已存儲的待存文檔;接收電腦因選擇讀取該待存文檔而提供的讀取信號;根據讀取信號從該資訊表中順序選擇移動存儲裝置來讀取該待存文檔。 A data reading method includes the steps of: connecting a capacity integration device connected to a mobile storage device to a computer; receiving a read operation signal provided by the computer; and reading the stored information table in response to a read operation signal, the information table being used for management The mobile storage device reads the stored document to be stored; the read signal provided by the computer for selecting to read the to-be-stored document; and sequentially selecting the mobile storage device from the information table according to the read signal to read the to-be-stored document .

上述容量整合設備、資料存儲方法及資料讀取方法將多個移動存 儲裝置的容量整合為一體,使得用戶不用再購置價錢較高的大容量移動存儲裝置就可存儲或讀取佔用存儲空間較大的資料。 The above capacity integration device, data storage method and data reading method will move multiple mobile devices The capacity of the storage device is integrated into one, so that users can store or read data occupying a large storage space without purchasing a high-capacity large-capacity mobile storage device.

2‧‧‧電腦 2‧‧‧ computer

21‧‧‧USB主機控制器 21‧‧‧USB host controller

23‧‧‧USB連接器 23‧‧‧USB connector

3‧‧‧閃存盤 3‧‧‧ flash drive

31‧‧‧USB控制器 31‧‧‧USB controller

33‧‧‧USB連接器 33‧‧‧USB connector

35‧‧‧快閃記憶體模組 35‧‧‧Flash Memory Module

4‧‧‧容量整合設備 4‧‧‧Capacity integration equipment

40‧‧‧連接器 40‧‧‧Connector

41‧‧‧控制模組 41‧‧‧Control Module

42‧‧‧存儲單元 42‧‧‧ storage unit

43‧‧‧比較模組 43‧‧‧Comparative Module

44‧‧‧檢測模組 44‧‧‧Test module

45‧‧‧文檔管理模組 45‧‧‧Document Management Module

47‧‧‧擴展單元 47‧‧‧Extension unit

5‧‧‧閃存盤 5‧‧‧ flash drive

6‧‧‧電纜 6‧‧‧ cable

7‧‧‧移動存儲裝置 7‧‧‧Mobile storage devices

圖1為具有USB閃存盤之電腦系統示意圖。 Figure 1 is a schematic diagram of a computer system with a USB flash drive.

圖2為一較佳實施方式的容量整合設備與電腦及多個移動存儲裝置相連之模組示意圖。 2 is a schematic diagram of a module of a capacity integration device connected to a computer and a plurality of mobile storage devices according to a preferred embodiment.

圖3為圖2所示的容量整合設備之功能模組示意圖。 FIG. 3 is a schematic diagram of functional modules of the capacity integration device shown in FIG. 2.

圖4為容量整合設備存儲待存文檔前生成的文檔管理表之示意圖。 FIG. 4 is a schematic diagram of a document management table generated before the capacity integration device stores the to-be-stored document.

圖5為容量整合設備存儲待存文檔前生成的資訊表之示意圖。 FIG. 5 is a schematic diagram of a information table generated before the capacity integration device stores the to-be-stored document.

圖6為容量整合設備存儲待存文檔後更新的文檔管理表之示意圖。 FIG. 6 is a schematic diagram of a document management table updated after the capacity integration device stores the to-be-stored document.

圖7為容量整合設備存儲待存文檔後更新的資訊表之示意圖。 FIG. 7 is a schematic diagram of a information table updated after the capacity integration device stores the to-be-stored document.

圖8為一較佳實施方式的適應於容量整合設備之資料存儲方法流程圖。 FIG. 8 is a flow chart of a data storage method adapted to a capacity integration device according to a preferred embodiment.

圖9為一較佳實施方式的適應於容量整合設備之資料讀取方法流程圖。 FIG. 9 is a flow chart of a data reading method adapted to a capacity integration device according to a preferred embodiment.

如圖2所示,其為一較佳實施方式的容量整合設備4與電腦2及多個移動存儲裝置7相連之模組示意圖。容量整合設備4藉由電纜6與多個移動存儲裝置7相連,該移動存儲裝置7可以為採用不同串列匯流排標準的閃存盤、SD卡、xD-Picture存儲卡、T-Flash卡 等。容量整合設備4藉由電纜6與電腦2連接後,電腦2為容量整合設備4及移動存儲裝置7供電。容量整合設備4開始檢測每個移動存儲裝置7之相關資訊。當容量整合設備4接收到電腦2的讀操作信號時,容量整合設備4根據相關資訊產生一文檔管理表及一資訊表。當電腦2需要存儲待存文檔,產生一存儲信號給容量整合設備4。容量整合設備4接收到存儲信號後,利用生成之文檔管理表為待存文檔分配移動存儲裝置7,並將待存文檔順次存儲到分配的移動存儲裝置7中。容量整合設備4完成存儲操作後更新文檔管理表及資訊表。當電腦2需要讀取存儲在各移動存儲裝置7中的待存文檔時,產生一讀取信號給容量整合設備4。容量整合設備4接收到讀取信號後,利用保存之資訊表順序選擇移動存儲裝置7來讀取該待存文檔,並提供給電腦2。 As shown in FIG. 2, it is a schematic diagram of a module in which the capacity integration device 4 of the preferred embodiment is connected to the computer 2 and a plurality of mobile storage devices 7. The capacity integration device 4 is connected to a plurality of mobile storage devices 7 by means of a cable 6. The mobile storage device 7 can be a flash disk, an SD card, an xD-Picture memory card, a T-Flash card using different serial busbar standards. Wait. After the capacity integration device 4 is connected to the computer 2 via the cable 6, the computer 2 supplies power to the capacity integration device 4 and the mobile storage device 7. The capacity integration device 4 starts detecting the relevant information of each mobile storage device 7. When the capacity integration device 4 receives the read operation signal of the computer 2, the capacity integration device 4 generates a document management table and an information table based on the related information. When the computer 2 needs to store the to-be-stored document, a storage signal is generated to the capacity integration device 4. After receiving the storage signal, the capacity integration device 4 allocates the mobile storage device 7 to the to-be-stored document by using the generated document management table, and sequentially stores the to-be-stored document into the allocated mobile storage device 7. The capacity integration device 4 updates the document management table and the information table after completing the storage operation. When the computer 2 needs to read the to-be-stored document stored in each of the mobile storage devices 7, a read signal is generated to the capacity integration device 4. After receiving the read signal, the capacity integration device 4 sequentially selects the mobile storage device 7 by using the saved information table to read the to-be-stored document and provide it to the computer 2.

請參閱圖3,其為容量整合設備之功能模組示意圖。容量整合設備4包括連接器40、控制模組41、存儲單元42、比較模組43、檢測模組44、文檔管理模組45及擴展單元47。 Please refer to FIG. 3 , which is a schematic diagram of functional modules of the capacity integration device. The capacity integration device 4 includes a connector 40, a control module 41, a storage unit 42, a comparison module 43, a detection module 44, a document management module 45, and an expansion unit 47.

控制模組41分別與連接器40、存儲單元42、比較模組43、檢測模組44及文檔管理模組45相連。比較模組43分別與連接器40、檢測模組44及文檔管理模組45相連。文檔管理模組45分別與連接器40、存儲單元42、檢測模組44及擴展單元47相連。擴展單元47與檢測模組44相連。 The control module 41 is connected to the connector 40, the storage unit 42, the comparison module 43, the detection module 44, and the document management module 45, respectively. The comparison module 43 is connected to the connector 40, the detection module 44, and the document management module 45, respectively. The document management module 45 is connected to the connector 40, the storage unit 42, the detection module 44, and the expansion unit 47, respectively. The expansion unit 47 is connected to the detection module 44.

在本實施例中與擴展單元48相連之移動存儲裝置為閃存盤,閃存盤數量為兩個,即閃存盤3和閃存盤5,另外電腦2安裝了與容量整合設備4相關之驅動程式以配合下述存儲及讀取操作。容量整合設備4藉由連接器40與電腦2連接後,電腦2為容量整合設備4及 閃存盤供電。容量整合設備4接收到電腦2分發的配置值時,控制模組41控制檢測模組44檢測與擴展單元48相連之閃存盤3和閃存盤5的相關資訊,並將檢測之相關資訊傳送給文檔管理模組45。該相關資訊包括各閃存盤之閃存盤識別碼、各閃存盤之存儲容量值、各閃存盤之剩餘容量值、各閃存盤之剩餘容量邏輯起始地址、各閃存盤已存儲文檔之檔案名、各閃存盤已存儲文檔之邏輯起始地址。文檔管理模組45計算出閃存盤3與閃存盤5的存儲容量總值、剩餘存儲容量總值以提供給電腦2。 In the embodiment, the mobile storage device connected to the expansion unit 48 is a flash drive, and the number of the flash disks is two, that is, the flash disk 3 and the flash disk 5, and the computer 2 is installed with a driver related to the capacity integration device 4 to cooperate with the driver. The following storage and read operations. After the capacity integration device 4 is connected to the computer 2 through the connector 40, the computer 2 is a capacity integration device 4 and The flash drive is powered. When the capacity integration device 4 receives the configuration value distributed by the computer 2, the control module 41 controls the detection module 44 to detect the related information of the flash disk 3 and the flash disk 5 connected to the extension unit 48, and transmits the detected related information to the document. Management module 45. The related information includes a flash disk identification code of each flash disk, a storage capacity value of each flash disk, a remaining capacity value of each flash disk, a logical starting address of a remaining capacity of each flash disk, a file name of a file stored in each flash disk, Each flash drive has stored the logical start address of the document. The document management module 45 calculates the total storage capacity value of the flash disk 3 and the flash disk 5, and the total value of the remaining storage capacity to provide to the computer 2.

當用戶打開盤符時,電腦2提供一讀操作信號給控制模組41,控制模組41控制文檔管理模組45根據相關資訊生成如圖4所示的容量整合設備存儲待存文檔前生成的文檔管理表之示意圖。該文檔管理表中包括各閃存盤之閃存盤識別碼、各閃存盤之剩餘容量值、各閃存盤存儲之檔案名及各閃存盤之剩餘容量邏輯起始地址,且在文檔管理表中各閃存盤之資訊的排列順序是由其各自的閃存盤識別碼中包含的字母之間、數位之間及字母數位之間的優先順序不同來決定。在本實施例中規定a至z的字母的優先順序逐漸增高、字母的優先順序高於數位的、0至9的數字的優先順序逐漸增高。控制模組41控制文檔管理模組45根據相關資訊還生成如圖5所示的容量整合設備存儲待存文檔前生成的資訊表之示意圖。該資訊表包括各閃存盤之存儲之檔案名欄、各閃存盤之文檔重命名欄、各閃存盤之閃存盤識別碼欄及各閃存盤之已存儲文檔的邏輯起始地址欄。其中為了防止因各閃存盤中出現同名的檔案名而產生的混淆,故增加了各閃存盤的文檔重命名欄。文檔管理模組45將資訊表中文檔重命名欄中的資訊提供給電腦2以顯示給用戶。 When the user opens the drive letter, the computer 2 provides a read operation signal to the control module 41, and the control module 41 controls the document management module 45 to generate the capacity integration device generated by the capacity integration device as shown in FIG. 4 before storing the to-be-stored document according to the related information. Schematic diagram of the document management table. The document management table includes a flash disk identification code of each flash disk, a remaining capacity value of each flash disk, a file name stored in each flash disk, and a remaining capacity logical start address of each flash disk, and each flash memory in the document management table The order of information of the discs is determined by the difference in priority between the letters, digits and alphanumeric characters contained in their respective flash drive identification codes. In the present embodiment, the priority order of the letters specifying a to z is gradually increased, the priority order of the letters is higher than the digits, and the order of the numbers of 0 to 9 is gradually increased. The control module 41 controls the document management module 45 to generate a schematic diagram of the information table generated before the capacity integration device stores the to-be-stored document according to the related information. The information table includes a file name column for storing the flash disks, a document renaming column for each flash disk, a flash disk identification code column for each flash disk, and a logical start address column of the stored documents of each flash disk. In order to prevent confusion caused by the occurrence of file names of the same name in each flash disk, the document renaming column of each flash disk is added. The document management module 45 provides the information in the document renaming column in the information table to the computer 2 for display to the user.

當電腦2存儲待存文檔到閃存盤中時,產生一存儲信號,並將存儲信號提供給控制模組41。控制模組41根據存儲信號控制文檔管理模組45將文檔管理表提供給比較模組42。控制模組41還根據存儲信號控制比較模組42從電腦2處獲取待存文檔的容量值。比較模組42獲取待存文檔的容量值後,從接收到的文檔管理表中順次選擇各閃存盤的剩餘容量值與待存文檔的容量值比較。例如,首先選擇與閃存盤3的剩餘容量值與待存文檔的容量值比較,若閃存盤3的剩餘容量值不足,則再選擇閃存盤5的剩餘容量值與待存文檔的容量值比較。 When the computer 2 stores the document to be stored in the flash drive, a storage signal is generated and the storage signal is supplied to the control module 41. The control module 41 controls the document management module 45 to provide the document management table to the comparison module 42 according to the storage signal. The control module 41 also controls the comparison module 42 to obtain the capacity value of the document to be saved from the computer 2 according to the storage signal. After the comparison module 42 acquires the capacity value of the document to be saved, the remaining capacity value of each flash disk is sequentially selected from the received document management table and compared with the capacity value of the document to be saved. For example, first, the remaining capacity value of the flash disk 3 is compared with the capacity value of the document to be stored. If the remaining capacity value of the flash disk 3 is insufficient, the remaining capacity value of the flash disk 5 is again selected and compared with the capacity value of the document to be saved.

若選擇之剩餘容量值大於待存文檔的容量值,比較模組43提供一第一選擇信號給控制模組41。控制模組41根據第一選擇信號控制文檔管理模組45接收電腦2提供的待存文檔。控制模組41根據第一選擇信號還控制文檔管理模組45選擇與該剩餘容量值對應的閃存盤,並產生一寫命令給選擇的閃存盤。該寫命令包括與閃存盤對應的剩餘容量邏輯起始地址、待存文檔的容量值。閃存盤根據接收到的寫命令將文檔管理模組45提供的待存文檔存儲到剩餘空間中。 If the remaining capacity value is greater than the capacity value of the document to be saved, the comparison module 43 provides a first selection signal to the control module 41. The control module 41 controls the document management module 45 to receive the to-be-stored document provided by the computer 2 according to the first selection signal. The control module 41 further controls the document management module 45 to select a flash disk corresponding to the remaining capacity value according to the first selection signal, and generates a write command to the selected flash disk. The write command includes a remaining capacity logical start address corresponding to the flash disk and a capacity value of the file to be saved. The flash disk stores the to-be-stored document provided by the document management module 45 in the remaining space according to the received write command.

若選擇之剩餘容量值不大於待存文檔的容量值,則從檔管理表中順次讀取各閃存盤剩餘容量值並累加以得到剩餘容量總值,並用每次累加所得的剩餘容量總值與待存文檔的容量值比較。例如,順序讀取閃存盤3及閃存盤5的剩餘容量值並累加以得到剩餘容量總值。若剩餘容量總值大於待存文檔的容量值,比較模組43提供一第二選擇信號給控制模組41。控制模組41根據第二選擇信號控制文檔管理模組45接收電腦2提供的待存文檔。控制模組41根據 第二選擇信號還控制文檔管理模組45順序選擇組成剩餘容量總值的閃存盤,並產生一寫命令給選擇的閃存盤。該寫命令包括與閃存盤對應的剩餘容量邏輯起始地址、待存文檔的容量值,其中待存文檔的容量值由文檔管理模組45按照閃存盤的剩餘容量值來分配。閃存盤根據接收到的寫命令將文檔管理模組45分配的待存文檔存儲到剩餘空間中。 If the selected remaining capacity value is not greater than the capacity value of the document to be saved, the remaining capacity values of each flash disk are sequentially read from the file management table and accumulated to obtain the total remaining capacity, and the total remaining capacity obtained by each accumulation is used. The capacity value of the document to be saved is compared. For example, the remaining capacity values of the flash disk 3 and the flash disk 5 are sequentially read and accumulated to obtain a total remaining capacity value. If the total value of the remaining capacity is greater than the capacity value of the document to be saved, the comparison module 43 provides a second selection signal to the control module 41. The control module 41 controls the document management module 45 to receive the to-be-stored document provided by the computer 2 according to the second selection signal. Control module 41 is based on The second selection signal also controls the document management module 45 to sequentially select the flash disks that make up the total remaining capacity and generate a write command to the selected flash drive. The write command includes a remaining capacity logical start address corresponding to the flash disk, and a capacity value of the to-be-stored document, wherein the capacity value of the to-be-stored document is allocated by the document management module 45 according to the remaining capacity value of the flash disk. The flash disk stores the to-be-stored document allocated by the document management module 45 in the remaining space according to the received write command.

若累加得到的剩餘容量總值不大於待存文檔的容量值,比較模組43則產生一提示信號給電腦2,以告知剩餘容量總值不足,無法存儲該待存文檔。 If the accumulated total value of the remaining capacity is not greater than the capacity value of the document to be saved, the comparison module 43 generates a prompt signal to the computer 2 to inform that the remaining capacity is insufficient, and the stored document cannot be stored.

當文檔管理模組45完成存儲待存文檔的操作後,文檔管理模組45根據待存文檔的資訊更新文檔管理表及資訊表。請參閱如圖6至圖7,圖6為更新後的文檔管理表之示意圖,在剩餘容量欄中列出了存儲待存文檔後的各閃存盤之剩餘容量值,在檔案名欄中增加了待存文檔的檔案名,剩餘容量邏輯起始地址欄中列出各閃存盤當前的剩餘容量邏輯起始地址。圖7為更新後的資訊表,文檔重命名欄中的待存文檔的檔案名與檔案名欄中的待存文檔的檔案名相同,存儲待存文檔的各閃存盤的閃存盤識別碼順序的被記錄在閃存盤識別碼欄中。各閃存盤中存儲待存文檔的邏輯起始地址順序的被記錄在存儲檔邏輯起始地址欄中。文檔管理模組45將更新後的資訊表、文檔管理表傳送給存儲單元42以保存。 After the document management module 45 completes the operation of storing the to-be-stored document, the document management module 45 updates the document management table and the information table according to the information of the to-be-stored document. Please refer to FIG. 6 to FIG. 7. FIG. 6 is a schematic diagram of the updated document management table. In the remaining capacity column, the remaining capacity values of the flash disks after storing the files to be saved are listed, and the file name column is added. The file name of the file to be saved, the remaining capacity logical start address column lists the current remaining capacity logical start address of each flash disk. 7 is an updated information table. The file name of the file to be saved in the document renaming column is the same as the file name of the file to be saved in the file name column, and the flash disk identification code order of each flash disk storing the document to be stored is It is recorded in the flash drive ID field. The logical start address sequence in which each of the flash disks stores the to-be-stored document is recorded in the storage file logical start address column. The document management module 45 transmits the updated information table and document management table to the storage unit 42 for storage.

容量整合設備4與電腦2斷開後,閃存盤3及閃存盤5與容量整合設備4脫離後,為了保證存儲的待存文檔能正確的藉由容量整合設備4讀取,用戶不能更改閃存盤3及閃存盤5中的該待存文檔的資訊。該待存文檔的資訊包括檔案名、檔內容。 After the capacity integration device 4 is disconnected from the computer 2, after the flash disk 3 and the flash disk 5 are separated from the capacity integration device 4, the user cannot change the flash disk in order to ensure that the stored document to be stored can be correctly read by the capacity integration device 4. 3 and the information of the to-be-stored document in the flash drive 5. The information of the to-be-stored document includes the file name and the file content.

容量整合設備4與電腦2再次連接時,電腦提供讀操作信號給控制模組41,控制模組41控制文檔管理模組45從存儲單元42讀取存儲的文檔管理表及資訊表。文檔管理模組45根據檢測模組44提供的相關資訊更新該文檔管理表及該資訊表:即,若在該文檔管理表及該資訊表的每一行中互相對應的各欄位中之資訊可在該相關資訊查找到,則該等資訊保持不變;若在該文檔管理表及該資訊表的每一行中互相對應的各欄位中之資訊有一項沒有在該相關資訊查找到,則刪除該資訊所在的行;另外,該待存文檔存儲於多個閃存盤中時,在該相關資訊中只包含了存儲部分待存文檔內容的閃存盤的資訊的情況下,刪除該資訊表中與待存文檔對應的資訊。文檔管理模組45將此次更新後的資訊表中檔重命名欄中之資訊提供給電腦2。電腦2選擇需要讀取的檔案名後產生讀取信號給控制模組41。控制模組41根據讀取信號,控制文檔管理模組45從該更新後的資訊表中順序選擇對應的閃存盤,並產生一讀命令給閃存盤。該讀命令包括與讀取的檔所對應的檔邏輯起始地址。閃存盤根據接收到的讀命令讀取文檔,並將該文檔提供給文檔管理模組45。文檔管理模組45將接收的文檔傳送給電腦2。 When the capacity integration device 4 is reconnected to the computer 2, the computer provides a read operation signal to the control module 41, and the control module 41 controls the document management module 45 to read the stored document management table and the information table from the storage unit 42. The document management module 45 updates the document management table and the information table according to the related information provided by the detection module 44: that is, if the information in each field corresponding to each row in the document management table and the information table is If the related information is found, the information remains unchanged; if one of the information in each field corresponding to each row in the document management table and the information table is not found in the related information, then the deletion is deleted. The row in which the information is stored; in addition, when the to-be-stored document is stored in a plurality of flash disks, if the related information only includes information of a flash disk storing part of the content of the document to be stored, deleting the information table and The information corresponding to the document to be saved. The document management module 45 provides the information in the mid-file renaming column of the updated information table to the computer 2. The computer 2 selects the file name to be read and generates a read signal to the control module 41. The control module 41 controls the document management module 45 to sequentially select the corresponding flash disk from the updated information table according to the read signal, and generates a read command to the flash disk. The read command includes a file logical start address corresponding to the read file. The flash disk reads the document according to the received read command and provides the document to the document management module 45. The document management module 45 transmits the received document to the computer 2.

為清楚說明容量整合設備4存儲待存文檔到閃存盤中及從閃存盤中讀取待存文檔的過程,其中待存文檔的檔案名為C,下面以剩餘容量總值大於待存文檔的容量值之情況為例具體說明:本實施例中待存文檔的容量值為26M,其小於閃存盤識別碼為akwgi123的閃存盤3及閃存盤識別碼為a2c45678的閃存盤5的剩餘存容量值的剩餘容量總值28M。控制模組41根據讀取信號控制文檔管理模組45從生成的文檔管理表中順序選擇閃存盤識別碼為akwgi123的閃存盤3,並產生一寫命令給選擇的閃存盤3。該寫命令包括與閃 存盤3對應的剩餘容量邏輯起始地址Addr5、待存文檔的容量值,其中待存文檔的容量值是由文檔管理模組45按照閃存盤3的剩餘容量值給分配的。閃存盤3根據接收到的寫命令將文檔管理模組45分配的待存文檔存儲到剩餘空間中。閃存盤3完成存儲任務後,發送一完成信號給文檔管理模組45。文檔管理模組45根據接收到的完成信號順序選擇閃存盤識別碼為a2c45678的閃存盤5,並產生一寫命令給選擇的閃存盤5。該寫命令包括與閃存盤5對應的剩餘容量邏輯起始地址Addr6及待存文檔的剩餘容量值。閃存盤3根據接收到的寫命令存儲剩餘的待存文檔到其剩餘空間中。 In order to clearly explain the process in which the capacity integration device 4 stores the to-be-stored document into the flash disk and reads the to-be-stored document from the flash disk, the file name of the file to be saved is C, and the total value of the remaining capacity is greater than the capacity of the file to be saved. The value is taken as an example for specific description: in this embodiment, the capacity value of the to-be-stored document is 26M, which is smaller than the remaining storage capacity value of the flash disk 3 with the flash disk identification code akwgi123 and the flash disk 5 with the flash disk identification code a2c45678. The total remaining capacity is 28M. The control module 41 controls the document management module 45 to sequentially select the flash disk 3 having the flash disk identification code akwgi123 from the generated document management table according to the read signal, and generates a write command to the selected flash disk 3. The write command includes and flash The remaining capacity logical start address Addr5 corresponding to the save disk 3, and the capacity value of the file to be saved, wherein the capacity value of the file to be saved is allocated by the document management module 45 according to the remaining capacity value of the flash disk 3. The flash disk 3 stores the to-be-stored document allocated by the document management module 45 in the remaining space according to the received write command. After the flash disk 3 completes the storage task, it sends a completion signal to the document management module 45. The document management module 45 selects the flash disk 5 having the flash disk identification code a2c45678 in accordance with the received completion signal sequence, and generates a write command to the selected flash disk 5. The write command includes a remaining capacity logical start address Addr6 corresponding to the flash disk 5 and a remaining capacity value of the document to be stored. The flash disk 3 stores the remaining documents to be stored in its remaining space in accordance with the received write command.

文檔管理模組45完成存儲待存文檔的操作後,文檔管理模組45根據待存文檔的資訊更新文檔管理表及資訊表。如圖6所示的更新後的文檔管理表包括閃存盤識別碼akwgi123與閃存盤識別碼對應的剩餘容量值OM、檔案名A1、A2、C及當前剩餘容量邏輯起始地址Addr7,閃存盤識別碼a2c45678及與閃存盤識別碼對應的剩餘容量值2M、檔案名A1、B2、C及當前剩餘容量邏輯起始地址Addr8。如圖7所示的更新後的資訊表包括檔重命名akwgi123.A1及與其對應的閃存盤識別碼akwgi123、檔案名A1、存儲檔邏輯起始地址Addr1;文檔重命名akwgi123.A2及與其對應的閃存盤識別碼akwgi123、檔案名A2、存儲檔邏輯起始地址Addr2;文檔重命名a2c45678.A1及與其對應的閃存盤識別碼a2c45678、檔案名A1、存儲檔邏輯起始地址Addr3;文檔重命名a2c45678.B2及與其對應的閃存盤識別碼a2c45678、檔案名B2、存儲檔邏輯起始地址Addr4;文檔重命名C及與其對應的閃存盤識別碼akwgi123和a2c45678、檔案名C、存儲檔邏輯起始地址Addr5和Addr6。文檔管理模組45將更新後的文檔管理表及資訊表傳送給存儲單元42以 保存。 After the document management module 45 completes the operation of storing the document to be saved, the document management module 45 updates the document management table and the information table according to the information of the document to be saved. The updated document management table shown in FIG. 6 includes the remaining capacity value OM corresponding to the flash disk identification code aww123 and the flash disk identification code, the file names A1, A2, C, and the current remaining capacity logical start address Addr7, and the flash disk identification. The code a2c45678 and the remaining capacity value 2M corresponding to the flash disk identification code, the file names A1, B2, C, and the current remaining capacity logical start address Addr8. The updated information table shown in FIG. 7 includes file rename akwgi123.A1 and its corresponding flash disk identification code akwgi123, file name A1, storage file logical start address Addr1; document rename akwgi123.A2 and its corresponding Flash disk identification code awwgi123, file name A2, storage file logical start address Addr2; document rename a2c45678.A1 and its corresponding flash disk identification code a2c45678, file name A1, storage file logical start address Addr3; document rename a2c45678 .B2 and its corresponding flash disk identification code a2c45678, file name B2, storage file logical start address Addr4; document rename C and its corresponding flash disk identification code akwgi123 and a2c45678, file name C, storage file logical start address Addr5 and Addr6. The document management module 45 transmits the updated document management table and information table to the storage unit 42. save.

當容量整合設備4與電腦2斷開之後,又再次連接時,文檔管理模組45根據檢測模組44提供的相關資訊更新存儲的文檔管理表及存儲的資訊表。文檔管理模組45將更新後之該資訊表中各文檔的重命名提供給電腦2。電腦2讀取名稱為C的文檔時,控制模組41控制文檔管理模組45從該資訊表中順次選擇與檔案名C對應的閃存盤3及閃存盤5,即根據先後順序,首先選擇閃存盤識別碼為akwgi123的閃存盤3,並產生一讀命令給閃存盤3。該讀命令包括與閃存盤3對應的文檔C的文檔邏輯起始地址Addr5。閃存盤3根據接收到的讀命令讀取文檔C,並提供給文檔管理模組45。文檔管理模組45將接收的文檔C提供給電腦2。閃存盤識別碼akwgi123的閃存盤3完成讀取任務後,發送一完成信號給文檔管理模組45。文檔管理模組45根據完成信號再順序選擇閃存盤識別碼為a2c45678的閃存盤5,並產生一讀命令給閃存盤5。該讀命令包括與閃存盤5對應的文檔C的文檔邏輯起始地址Addr6。閃存盤5根據接收到的讀命令讀取文檔C,並提供給文檔管理模組45。文檔管理模組45將接收的文檔C提供給電腦2,以完成待存文檔的讀取。 When the capacity integration device 4 is disconnected from the computer 2 and then connected again, the document management module 45 updates the stored document management table and the stored information table according to the related information provided by the detection module 44. The document management module 45 provides the updated name of each document in the updated information table to the computer 2. When the computer 2 reads the document named C, the control module 41 controls the document management module 45 to sequentially select the flash disk 3 and the flash disk 5 corresponding to the file name C from the information table, that is, first select the flash memory according to the sequence. The disk identification code is the flash disk 3 of akwgi123, and a read command is generated to the flash disk 3. The read command includes a document logical start address Addr5 of the document C corresponding to the flash drive 3. The flash drive 3 reads the document C based on the received read command and supplies it to the document management module 45. The document management module 45 provides the received document C to the computer 2. After the flash disk 3 of the flash disk identification code awwgi123 completes the reading task, it sends a completion signal to the document management module 45. The document management module 45 sequentially selects the flash disk 5 with the flash disk identification code a2c45678 according to the completion signal, and generates a read command to the flash disk 5. The read command includes the document logical start address Addr6 of the document C corresponding to the flash drive 5. The flash drive 5 reads the document C based on the received read command and supplies it to the document management module 45. The document management module 45 provides the received document C to the computer 2 to complete the reading of the document to be saved.

如圖8所示,其為一較佳實施方式的適應於容量整合設備之資料存儲方法,包括如下步驟: As shown in FIG. 8, it is a data storage method suitable for a capacity integration device according to a preferred embodiment, and includes the following steps:

步驟S802,與電腦連接。容量整合設備4藉由連接器42與電腦2連接。 Step S802, connecting with a computer. The capacity integration device 4 is connected to the computer 2 via a connector 42.

步驟S804,檢測閃存盤的相關資訊。容量整合設備4接收到電腦2分發的配置值時,控制模組41控制檢測模組44檢測與擴展單元48相連的閃存盤3的相關資訊,並將檢測到的相關資訊傳送給文檔 管理模組45。 Step S804, detecting related information of the flash drive. When the capacity integration device 4 receives the configuration value distributed by the computer 2, the control module 41 controls the detection module 44 to detect the related information of the flash disk 3 connected to the extension unit 48, and transmits the detected related information to the document. Management module 45.

步驟S806,根據讀操作信號生成文檔管理表及資訊表。電腦2提供一讀操作信號給控制模組41時,控制模組41控制文檔管理模組45根據相關資訊生成文檔管理表及資訊表。 Step S806, generating a document management table and an information table according to the read operation signal. When the computer 2 provides a read operation signal to the control module 41, the control module 41 controls the document management module 45 to generate a document management table and an information table based on the related information.

步驟S808,接收到存儲信號。當電腦2存儲待存文檔時,產生一存儲信號並將存儲信號提供給控制模組41。控制模組41根據存儲信號控制文檔管理模組45將文檔管理表提供給比較模組42。 Step S808, receiving a storage signal. When the computer 2 stores the document to be stored, a storage signal is generated and the storage signal is supplied to the control module 41. The control module 41 controls the document management module 45 to provide the document management table to the comparison module 42 according to the storage signal.

步驟S810,獲得待存文檔的容量值。控制模組41還根據存儲信號控制比較模組42獲取待存文檔的容量值。 Step S810, obtaining a capacity value of the document to be saved. The control module 41 also controls the comparison module 42 to acquire the capacity value of the document to be saved according to the storage signal.

步驟S812,判斷容量值是否小於剩餘容量值。比較模組42獲取待存文檔的容量值後,從接收到的文檔管理表中順次選擇一閃存盤的剩餘容量值與待存文檔的容量值比較。 In step S812, it is determined whether the capacity value is smaller than the remaining capacity value. After the comparison module 42 obtains the capacity value of the document to be saved, the remaining capacity value of a flash disk is sequentially selected from the received document management table and compared with the capacity value of the document to be saved.

步驟S814,選擇與剩餘容量值對應的閃存盤存儲待存文檔。若選擇的剩餘容量值大於待存文檔的容量值,比較模組43提供一第一選擇信號給控制模組41。控制模組41根據第一選擇信號控制文檔管理模組45接收電腦2提供的待存文檔。控制模組41根據第一選擇信號還控制文檔管理模組45選擇與該剩餘容量值對應的閃存盤,並產生一寫命令給選擇的閃存盤。閃存盤根據接收到的寫命令將文檔管理模組45提供的待存文檔存儲到剩餘空間中。 Step S814, selecting a flash disk corresponding to the remaining capacity value to store the to-be-stored document. If the selected remaining capacity value is greater than the capacity value of the document to be saved, the comparison module 43 provides a first selection signal to the control module 41. The control module 41 controls the document management module 45 to receive the to-be-stored document provided by the computer 2 according to the first selection signal. The control module 41 further controls the document management module 45 to select a flash disk corresponding to the remaining capacity value according to the first selection signal, and generates a write command to the selected flash disk. The flash disk stores the to-be-stored document provided by the document management module 45 in the remaining space according to the received write command.

步驟S816,更新文檔管理表及資訊表並存儲。當文檔管理模組45完成存儲待存文檔的操作後,文檔管理模組45根據待存文檔的資訊更新文檔管理表及資訊表。文檔管理模組45將資訊表、文檔管理表傳送給存儲單元42以保存。 In step S816, the document management table and the information table are updated and stored. After the document management module 45 completes the operation of storing the to-be-stored document, the document management module 45 updates the document management table and the information table according to the information of the to-be-stored document. The document management module 45 transmits the information table and the document management table to the storage unit 42 for storage.

步驟S818,判斷容量值是否小於剩餘容量總值。若選擇的剩餘容量值不大於待存文檔的容量值,則從文檔管理表中開始順次讀取剩餘容量值並逐漸累加以得到剩餘容量總值,並用每次累加所得的剩餘容量總值與待存文檔的容量值比較。 In step S818, it is determined whether the capacity value is smaller than the total remaining capacity. If the selected remaining capacity value is not greater than the capacity value of the document to be saved, the remaining capacity value is sequentially read from the document management table and gradually accumulated to obtain the total remaining capacity value, and the total remaining capacity value obtained by each accumulation is used. Compare the capacity values of the saved documents.

步驟S820,選擇與累加剩餘容量總值的剩餘容量值對應的閃存盤存儲待存文檔。若剩餘容量總值大於待存文檔的容量值,比較模組43提供一第二選擇信號給控制模組41。控制模組41根據第二選擇信號控制文檔管理模組45接收電腦2提供的待存文檔。控制模組41根據第二選擇信號還控制文檔管理模組45順序選擇組成剩餘容量總值的閃存盤,並產生一寫命令給選擇的閃存盤。閃存盤根據接收到的寫命令將文檔管理模組45分配的待存文檔存儲到剩餘空間中。然後跳轉到步驟S816執行。 Step S820, selecting a flash disk corresponding to the remaining capacity value of the accumulated remaining capacity value to store the to-be-stored document. If the total value of the remaining capacity is greater than the capacity value of the document to be saved, the comparison module 43 provides a second selection signal to the control module 41. The control module 41 controls the document management module 45 to receive the to-be-stored document provided by the computer 2 according to the second selection signal. The control module 41 further controls the document management module 45 to sequentially select the flash disks constituting the total remaining capacity according to the second selection signal, and generates a write command to the selected flash disk. The flash disk stores the to-be-stored document allocated by the document management module 45 in the remaining space according to the received write command. Then jump to step S816 to execute.

步驟S822,提示剩餘容量總值不足。若累加得到的剩餘容量總值不大於待存文檔的容量值,比較模組43則產生一提示信號給電腦2,以告知剩餘容量總值不足。 In step S822, the total remaining capacity is insufficient. If the total value of the remaining capacity obtained by the accumulation is not greater than the capacity value of the document to be stored, the comparison module 43 generates a prompt signal to the computer 2 to inform that the remaining capacity is insufficient.

如圖9所示,其為一較佳實施方式的適應於容量整合設備之資料讀取方法,包括如下步驟: As shown in FIG. 9 , it is a data reading method adapted to a capacity integration device according to a preferred embodiment, and includes the following steps:

步驟S902,與電腦連接。容量整合設備4藉由連接器42與電腦2連接。 Step S902, connecting with a computer. The capacity integration device 4 is connected to the computer 2 via a connector 42.

步驟S904,檢測閃存盤的相關資訊。容量整合設備4接收到電腦2分配的地址時,控制模組41控制檢測模組44檢測與擴展單元48相連的閃存盤3的相關資訊,並將檢測到的相關資訊傳送給文檔管理模組45。 Step S904, detecting related information of the flash drive. When the capacity integration device 4 receives the address assigned by the computer 2, the control module 41 controls the detection module 44 to detect the related information of the flash disk 3 connected to the extension unit 48, and transmits the detected related information to the document management module 45. .

步驟S906,根據檢測到的資訊更新存儲的文檔管理表及資訊表。電腦2提供讀操作信號給控制模組41,控制模組41控制文檔管理模組45從存儲單元42讀取存儲的文檔管理表及資訊表。文檔管理模組45根據檢測模組44提供的相關資訊更新該文檔管理表及該資訊表:即,若在該文檔管理表及該資訊表的每一行中互相對應的各欄目中的資訊可在該相關資訊查找到,則該等資訊保持不變;若在該文檔管理表及該資訊表的每一行中互相對應的各欄位中之資訊有一項沒有在該相關資訊查找到,則刪除該資訊所在的行;另外,該待存文檔存儲於多個閃存盤中時,在該相關資訊中只包含了存儲部分待存文檔內容的閃存盤的資訊的情況下,刪除該資訊表中與待存文檔對應的資訊。文檔管理模組45將此次更新後的資訊表中文檔重命名欄中的資訊提供給電腦2。 Step S906, updating the stored document management table and the information table according to the detected information. The computer 2 provides a read operation signal to the control module 41. The control module 41 controls the document management module 45 to read the stored document management table and information table from the storage unit 42. The document management module 45 updates the document management table and the information table according to the related information provided by the detection module 44: that is, if the information in each column corresponding to each row in the document management table and the information table is available If the related information is found, the information remains unchanged; if one of the information in each field corresponding to each row in the document management table and the information table is not found in the related information, the deletion is deleted. In the case where the information to be stored is stored in a plurality of flash disks, when the related information includes only the information of the flash disk storing part of the content of the document to be stored, deleting the information table and waiting for the information Save the information corresponding to the document. The document management module 45 provides the information in the document renaming column in the updated information table to the computer 2.

步驟S908,接收到讀取信號。電腦2選擇需要讀取的檔案名後產生讀取信號給控制模組41。 At step S908, a read signal is received. The computer 2 selects the file name to be read and generates a read signal to the control module 41.

步驟S910,從更新的資訊表中選擇對應的閃存盤讀取待存文檔。控制模組41根據讀取信號,控制文檔管理模組45從該更新後的資訊表中順序選擇對應的閃存盤,並產生一讀命令給閃存盤。該讀命令包括與讀取的文檔所對應的文檔邏輯起始地址。閃存盤根據接收到的讀命令讀取文檔,並將該文檔提供給文檔管理模組45。文檔管理模組45將接收的文檔傳送給電腦2。 Step S910, selecting a corresponding flash disk from the updated information table to read the to-be-stored document. The control module 41 controls the document management module 45 to sequentially select the corresponding flash disk from the updated information table according to the read signal, and generates a read command to the flash disk. The read command includes a logical start address of the document corresponding to the read document. The flash disk reads the document according to the received read command and provides the document to the document management module 45. The document management module 45 transmits the received document to the computer 2.

利用上述容量整合設備、適應於該容量整合設備之資料存儲方法及資料讀取方法,文檔管理模組45根據檢測模組44提供的相關資訊生成文檔管理表及資訊表。文檔管理模組45從文檔管理表中順次選擇閃存盤識別碼對應的閃存盤3以存儲電腦2提供的佔用存儲 容量值較大的待存文檔。文檔管理模組45在完成存儲操作後更新文檔管理表及資訊表並保存到存儲單元42。當電腦2需要從閃存盤3中讀取存儲的待存文檔時,文檔管理模組45從保存的資訊表中順次選擇閃存盤識別碼對應的閃存盤3以將待存文檔提供給電腦2。 The document management module 45 generates a document management table and an information table according to the related information provided by the detection module 44 by using the above-mentioned capacity integration device, the data storage method and the data reading method adapted to the capacity integration device. The document management module 45 sequentially selects the flash disk 3 corresponding to the flash disk identification code from the document management table to store the occupied storage provided by the computer 2. A document to be saved with a large capacity value. The document management module 45 updates the document management table and the information table after saving the storage operation and saves it to the storage unit 42. When the computer 2 needs to read the stored document to be stored from the flash disk 3, the document management module 45 sequentially selects the flash disk 3 corresponding to the flash disk identification code from the saved information table to provide the file to be saved to the computer 2.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上該者僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在援依本案創作精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above is only a preferred embodiment of the present invention, and those skilled in the art will be able to include equivalent modifications or variations in the spirit of the present invention.

2‧‧‧電腦 2‧‧‧ computer

3‧‧‧閃存盤 3‧‧‧ flash drive

4‧‧‧容量整合設備 4‧‧‧Capacity integration equipment

40‧‧‧連接器 40‧‧‧Connector

41‧‧‧控制模組 41‧‧‧Control Module

42‧‧‧存儲單元 42‧‧‧ storage unit

43‧‧‧比較模組 43‧‧‧Comparative Module

44‧‧‧檢測模組 44‧‧‧Test module

45‧‧‧文檔管理模組 45‧‧‧Document Management Module

47‧‧‧擴展單元 47‧‧‧Extension unit

5‧‧‧閃存盤 5‧‧‧ flash drive

Claims (15)

一種容量整合系統,包括連接器、控制模組、檢測模組、文檔管理模組及擴展單元,其中該擴展單元與移動存儲裝置相連,連接器與電腦連接,該控制模組控制該檢測模組檢測移動存儲裝置的相關資訊,其中該相關資訊包括移動存儲裝置的識別碼、存儲容量值、剩餘容量值、剩餘容量邏輯起始地址、已存儲文檔的檔案名、已存儲文檔的邏輯起始地址,該控制模組還控制該文檔管理模組根據該相關資訊生成用於管理移動存儲裝置存儲資料的文檔管理表,該控制模組在接收到電腦因存儲待存文檔而提供的存儲信號時,該控制文檔管理模組依據文檔管理表為該待存文檔分配移動存儲裝置,並將待存文檔存儲到分配的移動存儲裝置中。 A capacity integration system includes a connector, a control module, a detection module, a document management module and an expansion unit, wherein the expansion unit is connected to the mobile storage device, the connector is connected to the computer, and the control module controls the detection module Detecting related information of the mobile storage device, wherein the related information includes an identification code of the mobile storage device, a storage capacity value, a remaining capacity value, a remaining capacity logical start address, a file name of the stored document, and a logical start address of the stored document. The control module further controls the document management module to generate a document management table for managing the storage data stored by the mobile storage device according to the related information, where the control module receives the storage signal provided by the computer for storing the to-be-stored document. The control document management module allocates a mobile storage device to the to-be-stored document according to the document management table, and stores the to-be-stored document in the allocated mobile storage device. 如申請專利範圍第1項所述之容量整合系統,其中該文檔管理表包括以下欄位:檔案名、剩餘容量值、移動存儲裝置識別碼及剩餘容量邏輯起始地址。 The capacity integration system of claim 1, wherein the document management table includes the following fields: a file name, a remaining capacity value, a mobile storage device identifier, and a remaining capacity logical start address. 如申請專利範圍第2項所述之容量整合系統,其中容量整合系統還包括比較模組,該控制模組根據存儲信號控制該比較模組從電腦獲取待存文檔的容量值,並控制比較模組比較待存文檔的容量值與文檔管理表中移動存儲裝置所對應的剩餘容量值的大小,若該剩餘容量值大於待存文檔的容量值,該控制模組控制該文檔管理模組從文檔管理表中選擇與該剩餘容量值對應的移動存儲裝置,並且該控制模組還提供一寫命令給該移動存儲裝置以存儲該待存文檔。 The capacity integration system of claim 2, wherein the capacity integration system further comprises a comparison module, wherein the control module controls the comparison module to obtain a capacity value of the to-be-stored document from the computer according to the storage signal, and controls the comparison mode. The group compares the capacity value of the to-be-stored document with the size of the remaining capacity value corresponding to the mobile storage device in the document management table. If the remaining capacity value is greater than the capacity value of the to-be-stored document, the control module controls the document management module from the document. The mobile storage device corresponding to the remaining capacity value is selected in the management table, and the control module further provides a write command to the mobile storage device to store the to-be-stored document. 如申請專利範圍第3項所述之容量整合系統,其中若該剩餘容量值不大於待存文檔的容量值,比較模組比較待存文檔的容量值與累加文檔管理表中剩餘容量值所得的剩餘容量總值的大小,若該剩餘容量總值大於待存 文檔的容量值,控制模組控制文檔管理模組從文檔管理表中順序選擇與組成剩餘容量總值的剩餘容量值對應的移動存儲裝置,並提供寫命令給該移動存儲裝置以存儲該待存文檔。 The capacity integration system of claim 3, wherein if the remaining capacity value is not greater than a capacity value of the to-be-stored document, the comparison module compares the capacity value of the to-be-stored document with the remaining capacity value in the accumulated document management table. The total value of the remaining capacity, if the total value of the remaining capacity is greater than the remaining value The capacity value of the document, the control module controls the document management module to sequentially select, from the document management table, the mobile storage device corresponding to the remaining capacity value constituting the total value of the remaining capacity, and provides a write command to the mobile storage device to store the to-be-stored Documentation. 如申請專利範圍第1項所述之容量整合系統,其中該容量整合系統還包括存儲單元,該控制模組控制該文檔管理模組根據該相關資訊生成一用於管理移動存儲裝置讀取該待存文檔的資訊表,當存儲待存文檔的操作完成後,該文檔管理模組更新該資訊表並存儲於該存儲單元中,該控制模組接收到讀取信號時,控制該檔管理模組依據存儲的該資訊表順序選擇移動存儲裝置來讀取該待存文檔。 The capacity integration system of claim 1, wherein the capacity integration system further comprises a storage unit, the control module controls the document management module to generate a management storage device for reading the standby according to the related information. The information management table storing the document, after the operation of storing the to-be-stored document is completed, the document management module updates the information table and stores the information table in the storage unit, and the control module controls the file management module when receiving the read signal The mobile storage device is selected in accordance with the stored information table order to read the to-be-stored document. 如申請專利範圍第5項所述之容量整合系統,其中該資訊表包括以下欄位:檔案名、文檔重命名、移動存儲裝置識別碼及已存儲文檔的邏輯起始地址。 The capacity integration system of claim 5, wherein the information table includes the following fields: a file name, a document renaming, a mobile storage device identifier, and a logical start address of the stored document. 如申請專利範圍第6項所述之容量整合系統,其中容量整合系統與電腦斷開又再次連接後,控制模組根據電腦提供的讀操作信號控制文檔管理模組從存儲單元讀取存儲的資訊表,文檔管理模組根據檢測模組提供的相關資訊更新該資訊表,文檔管理模組將更新後的資訊表的文檔重命名欄中的資訊提供給電腦,控制模組根據電腦因讀取該待存文檔而產生的讀取信號,控制文檔管理模組從該更新後的資訊表中選擇存儲該待存文檔的移動存儲裝置,並提供一讀命令給該移動存儲裝置,該移動存儲裝置根據讀命令讀取該待存文檔,並將待存文檔提供給文檔管理模組,文檔管理模組將接收的待存文檔傳送給電腦。 For example, in the capacity integration system described in claim 6, wherein the capacity integration system is disconnected from the computer and reconnected, the control module controls the document management module to read the stored information from the storage unit according to the read operation signal provided by the computer. The document management module updates the information table according to the relevant information provided by the detection module, and the document management module provides the information in the document renaming column of the updated information table to the computer, and the control module reads the data according to the computer. a read signal generated by the file to be saved, the control document management module selects a mobile storage device storing the to-be-stored document from the updated information table, and provides a read command to the mobile storage device, the mobile storage device according to the mobile storage device The read command reads the to-be-stored document, and provides the to-be-stored document to the document management module, and the document management module transmits the received pending document to the computer. 一種資料存儲方法,包括以下步驟:將已連接移動存儲裝置之如請求項1之容量整合系統與電腦連接;檢測與該容量整合系統相連之移動存儲裝置的相關資訊,其中該相關資訊包括移動存儲裝置的識別碼、存儲容量值、剩餘容量值、剩餘容量邏 輯起始地址、已存儲檔的檔案名、已存儲檔的邏輯起始地址;根據檢測到的相關資訊生成用於管理移動存儲裝置存儲資料的文檔管理表;接收電腦因存儲待存文檔而提供的存儲信號;根據該文檔管理表分配該移動存儲裝置以存儲待存文檔。 A data storage method includes the steps of: connecting a capacity integration system of the connected mobile storage device, such as claim 1, to a computer; and detecting information about the mobile storage device connected to the capacity integration system, wherein the related information includes mobile storage Device identification code, storage capacity value, remaining capacity value, remaining capacity logic a start address, a file name of the stored file, a logical start address of the stored file; a document management table for managing the storage data stored by the mobile storage device according to the detected related information; and the receiving computer provides the file for storing the file to be saved a storage signal; the mobile storage device is allocated according to the document management table to store the to-be-stored document. 如申請專利範圍第8項所述之資料存儲方法,其中該文檔管理表包括以下欄位:檔案名、剩餘容量值、移動存儲裝置識別碼及剩餘容量邏輯起始地址。 The data storage method of claim 8, wherein the document management table includes the following fields: a file name, a remaining capacity value, a mobile storage device identification code, and a remaining capacity logical start address. 如申請專利範圍第9項所述之資料存儲方法,還包括以下步驟:獲得待存文檔的容量值;判斷文檔管理表中剩餘容量值是否大於待存文檔的容量值;若該剩餘容量值大於待存文檔的容量值,從文檔管理表中選擇與該剩餘容量值對應的移動存儲裝置以存儲該待存文檔。 The data storage method of claim 9, further comprising the steps of: obtaining a capacity value of the to-be-stored document; determining whether the remaining capacity value in the document management table is greater than a capacity value of the to-be-stored document; if the remaining capacity value is greater than For the capacity value of the document to be saved, the mobile storage device corresponding to the remaining capacity value is selected from the document management table to store the to-be-stored document. 如申請專利範圍第10項所述之資料存儲方法,還包括以下步驟:若該剩餘容量值不大於待存文檔的容量值,判斷累加文檔管理表中剩餘容量值所得的剩餘容量總值是否大於待存文檔的容量值;若該剩餘容量總值大於待存文檔的容量值,從文檔管理表中順序選擇與組成剩餘容量總值的剩餘容量值對應的移動存儲裝置以存儲該待存文檔。 The method for storing data according to claim 10, further comprising the step of: if the remaining capacity value is not greater than the capacity value of the document to be stored, determining whether the total remaining capacity value obtained by accumulating the remaining capacity value in the document management table is greater than The capacity value of the to-be-stored document; if the total value of the remaining capacity is greater than the capacity value of the document to be stored, the mobile storage device corresponding to the remaining capacity value constituting the total value of the remaining capacity is sequentially selected from the document management table to store the to-be-stored document. 如申請專利範圍第11項所述之資料存儲方法,還包括以下步驟:若該剩餘容量總值不大於待存文檔的容量值,提示電腦存儲空間不足。 The method for storing data according to claim 11 further includes the following steps: if the total value of the remaining capacity is not greater than the capacity value of the document to be saved, the computer storage space is insufficient. 一種資料讀取方法,包括以下步驟:將已連接移動存儲裝置之如請求項1之容量整合系統與電腦連接;接收電腦提供的讀操作信號;讀取存儲的資訊表以回應讀操作信號,該資訊表用於管理移動存儲裝置 讀取已存儲的待存文檔;接收電腦因選擇讀取該待存文檔而提供的讀取信號;根據讀取信號從該資訊表中選擇移動存儲裝置來讀取該待存文檔。 A data reading method includes the steps of: connecting a capacity integration system of the connected mobile storage device, such as claim 1, to a computer; receiving a read operation signal provided by the computer; and reading the stored information table in response to the read operation signal, Information sheet for managing mobile storage devices Reading the stored document to be stored; receiving a read signal provided by the computer for selecting to read the file to be stored; and selecting the mobile storage device from the information table according to the read signal to read the to-be-stored document. 如申請專利範圍第13項所述之資料讀取方法,其中該資訊表包括以下欄位:檔案名、文檔重命名、移動存儲裝置識別碼及已存儲文檔的邏輯起始地址。 The method for reading data according to claim 13 , wherein the information table comprises the following fields: a file name, a document renaming, a mobile storage device identifier, and a logical start address of the stored document. 如申請專利範圍第14項所述之資料讀取方法,還包括如下步驟:檢測與容量整合設備相連之移動存儲裝置的相關資訊,其中該相關資訊包括移動存儲裝置的識別碼、存儲容量值、剩餘容量值、剩餘容量邏輯起始地址、已存儲文檔的檔案名、已存儲文檔的邏輯起始地址;根據檢測到的相關資訊更新該資訊表;從更新後的該資訊表中順序選擇移動存儲裝置來讀取該待存文檔。 The method for reading data according to claim 14, further comprising the steps of: detecting information about the mobile storage device connected to the capacity integration device, wherein the related information includes an identification code of the mobile storage device, a storage capacity value, Remaining capacity value, remaining capacity logical start address, file name of the stored document, logical start address of the stored document; updating the information table according to the detected related information; and sequentially selecting the mobile storage from the updated information table The device reads the pending document.
TW96124665A 2007-07-06 2007-07-06 Capacity integration apparatus and method for storing data and method for reading data thereof TWI423115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96124665A TWI423115B (en) 2007-07-06 2007-07-06 Capacity integration apparatus and method for storing data and method for reading data thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96124665A TWI423115B (en) 2007-07-06 2007-07-06 Capacity integration apparatus and method for storing data and method for reading data thereof

Publications (2)

Publication Number Publication Date
TW200903317A TW200903317A (en) 2009-01-16
TWI423115B true TWI423115B (en) 2014-01-11

Family

ID=44722098

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96124665A TWI423115B (en) 2007-07-06 2007-07-06 Capacity integration apparatus and method for storing data and method for reading data thereof

Country Status (1)

Country Link
TW (1) TWI423115B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505213B1 (en) * 1998-10-20 2003-01-07 Fujitsu Limited File management apparatus and method
TW200639631A (en) * 2005-05-04 2006-11-16 Apacer Technology Inc Dynamic memory management method and computer-readable recording medium for making a computer execute the method
TW200705177A (en) * 2005-07-19 2007-02-01 Benq Corp Methods, systems and computer-readable storage medium for storage space management
TWI277001B (en) * 2004-01-19 2007-03-21 Trek 2000 Int Ltd Portable data storage device using a memory address mapping table

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505213B1 (en) * 1998-10-20 2003-01-07 Fujitsu Limited File management apparatus and method
TWI277001B (en) * 2004-01-19 2007-03-21 Trek 2000 Int Ltd Portable data storage device using a memory address mapping table
TW200639631A (en) * 2005-05-04 2006-11-16 Apacer Technology Inc Dynamic memory management method and computer-readable recording medium for making a computer execute the method
TW200705177A (en) * 2005-07-19 2007-02-01 Benq Corp Methods, systems and computer-readable storage medium for storage space management

Also Published As

Publication number Publication date
TW200903317A (en) 2009-01-16

Similar Documents

Publication Publication Date Title
US7702830B2 (en) Methods for selectively copying data files to networked storage and devices for initiating the same
US8069271B2 (en) Systems and methods for converting a media player into a backup device
US8458524B2 (en) Firmware recovery system and method
US8135871B2 (en) Computer system and control method of the same
JP5566054B2 (en) Information processing apparatus, information processing apparatus control method, and program
US7899662B2 (en) Data backup system including a data protection component
US7007127B2 (en) Method and related apparatus for controlling transmission interface between an external device and a computer system
US20080140736A1 (en) Hardware-Initiated Automated Back-Up of Data from an Internal Memory of a Hand-Portable Electronic Device
US20070083354A1 (en) Emulation component for data backup applications
US20070083355A1 (en) Data backup devices and methods for backing up data
JP4893130B2 (en) Information processing apparatus, data processing method, and program
US8332584B2 (en) Method of combining and managing file systems for memory space and a computer system
US20070143097A1 (en) Systems and methods for selectively copying embedded data files
CN101815998A (en) Allow the coded removable storage device of change-detection
CN101334781A (en) Capacity integration equipment and its data storage method and data reading method
CN105824678A (en) Method and device for installing operating system
CN101366006A (en) Emulation component for data backup applications
US8180988B2 (en) Method and system for authenticating storage device connected through intermediate converter
TWI423115B (en) Capacity integration apparatus and method for storing data and method for reading data thereof
US20130292466A1 (en) Remote code reader system
KR100726432B1 (en) External storage apparatus and operating method thereof
CN201081782Y (en) Electronic signal conversion device
US20060023274A1 (en) Electronic photo display devices
US20110255231A1 (en) Portable digital data storage device and analyzing method thereof
CN117234407A (en) Storage device optimizing method, storage device, and computer-readable storage medium

Legal Events

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