TW201403315A - Cloud storage system and method thereof - Google Patents

Cloud storage system and method thereof Download PDF

Info

Publication number
TW201403315A
TW201403315A TW101124134A TW101124134A TW201403315A TW 201403315 A TW201403315 A TW 201403315A TW 101124134 A TW101124134 A TW 101124134A TW 101124134 A TW101124134 A TW 101124134A TW 201403315 A TW201403315 A TW 201403315A
Authority
TW
Taiwan
Prior art keywords
storage device
file
network storage
indicator
network
Prior art date
Application number
TW101124134A
Other languages
Chinese (zh)
Inventor
Jui-Pin Yang
Original Assignee
Jui-Pin Yang
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 Jui-Pin Yang filed Critical Jui-Pin Yang
Priority to TW101124134A priority Critical patent/TW201403315A/en
Publication of TW201403315A publication Critical patent/TW201403315A/en

Links

Landscapes

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

Abstract

The present invention provides a cloud storage system and a method thereof. The cloud storage system is composed of a client end, a network storage device, and an intermediate data server. The intermediate data server stores pointers in a storage bank thereof. The network storage device stores files and stores pointers in a storage bank thereof. A request from the client end is directly transferred to a primary network storage device. The primary network storage device determines one of the intermediate data server, the primary network storage device itself, and other affiliated network storage devices thereof to perform subsequent processing according to the contents of the request. The system and method of the present invention can increase file access performance, dynamically adjust allocation of storage resources, and prevent the intermediate data server from becoming a bottleneck of performance.

Description

雲端儲存系統及其方法 Cloud storage system and method thereof

本發明係有關一種可透過網路將檔案儲存於雲端儲存系統,當客戶端進行檔案操作時,能夠有效地提升檔案存取效能。除此之外,該系統能夠根據儲存資源的狀態來動態地調整檔案與指標配置,所以可以避免中介資料伺服器成為效能瓶頸,特別是指一種透過網路之雲端儲存系統及其方法。 The invention relates to a file storage system stored in a cloud storage system through a network, and can effectively improve file access performance when a client performs file operations. In addition, the system can dynamically adjust the file and indicator configuration according to the state of the storage resource, so the intermediary data server can be prevented from becoming a performance bottleneck, especially a cloud storage system and method thereof through the network.

許多儲存裝置係置於電腦系統內部,如硬碟,以讓客戶端於電腦系統內部進行儲存作業,而另外一些儲存裝置亦可與系統外接,如軟碟、光碟或行動碟等,以讓客戶端於系統外部進行儲存作業。透過使用外置式的儲存裝置,客戶端可方便地攜帶欲儲存的數位內容資料。但由於電腦系統中的硬碟數量有限制所以導致儲存容量無法任意擴充,然而行動碟攜帶方便,但因體積小,造成容易丟失且忽略存在而忘記攜帶,因此行動碟在使用上還是有所不便。 Many storage devices are placed inside a computer system, such as a hard disk, to allow clients to store data inside the computer system. Other storage devices can also be connected to the system, such as floppy disks, CDs or mobile disks, to allow customers. The storage operation is performed outside the system. By using an external storage device, the client can conveniently carry digital content to be stored. However, due to the limited number of hard disks in the computer system, the storage capacity cannot be expanded arbitrarily. However, the mobile disk is easy to carry, but because of its small size, it is easy to be lost and neglected to be carried, so the mobile disk is inconvenient to use. .

於是,利用雲端儲存系統進行儲存作業便克服了以上這些難題,尤其是在網路傳輸速率飛速提升的今天,只需要利用網路連上雲端儲存系統,即可方便且快速地進行各種檔案存取操作。雲端儲存系統具有節省成本、部署簡單、維護方便、可依據實際需要快速切換系統以及各虛擬磁碟使用時互不干擾等諸多優點。但目前雲端儲存系統並未有完整之系統與方法,能夠有效地提升檔案存取效能、動態地進行儲存資源配置以及避免中介資料伺服器成為效能瓶頸。有鑑於此,本發明係針對上述之問題,提出一種雲端儲存系統及其方法改良,以有效解決習知之問題。 Therefore, the use of the cloud storage system for storage operations overcomes these difficulties, especially in today's rapid increase in network transmission rate, only need to use the network to connect to the cloud storage system, you can easily and quickly access a variety of files. operating. The cloud storage system has many advantages such as cost saving, simple deployment, convenient maintenance, fast switching of the system according to actual needs, and mutual interference when the virtual disks are used. However, the current cloud storage system does not have a complete system and method, which can effectively improve file access performance, dynamically configure storage resources, and prevent the intermediary data server from becoming a performance bottleneck. In view of the above, the present invention is directed to the above problems, and proposes a cloud storage system and method improvement thereof to effectively solve the conventional problems.

本發明之主要目的在提供一種雲端儲存系統及其方法,其係利用網路連線,存取檔案於雲端儲存系統中,藉由在雲端儲存系統中提升檔案存取效能來滿足客戶端的儲存服務品 質需求。 The main purpose of the present invention is to provide a cloud storage system and a method thereof, which use a network connection to access files in a cloud storage system, and improve storage access performance in a cloud storage system to satisfy a client storage service. Product Quality requirements.

本發明之另一目的在提供一種雲端儲存系統及其方法,其係可依照雲端儲存系統狀態來動態地調整檔案與指標配置並藉由將若干指標分散於網路儲存裝置,因此可以改善儲存資源使用效率以及降低中介資料伺服器負載。 Another object of the present invention is to provide a cloud storage system and method thereof, which can dynamically adjust file and indicator configurations according to the state of the cloud storage system and can improve storage resources by distributing a plurality of indicators to the network storage device. Use efficiency and reduce mediation data server load.

為達上述之目的,本發明提供一種雲端儲存系統,由一個主要網路儲存裝置,負責接受一客戶端之請求,並連接附屬網路儲存裝置,控制附屬網路儲存裝置。主要網路儲存裝置與附屬網路儲存裝置皆可儲存檔案並存放指標於其儲存庫。主要網路儲存裝置可直接處理客戶端之請求或是轉發該請求至附屬網路儲存裝置或是中介資料伺服器來進行後續處理。一中介資料伺服器,係管理指標並將其存放於儲存庫,並可將客戶端檔案所在之網路儲存裝置其相關資訊回傳於客戶端,使客戶端可以直接進行檔案存取。 To achieve the above objective, the present invention provides a cloud storage system in which a primary network storage device is responsible for accepting a request from a client and connecting an attached network storage device to control an attached network storage device. Both the primary network storage device and the attached network storage device can store files and store the indicators in their storage. The primary network storage device can directly process the client's request or forward the request to the affiliate network storage device or the intermediary data server for subsequent processing. An intermediary data server manages the indicators and stores them in the repository, and can transmit the related information of the network storage device where the client files are located to the client, so that the client can directly access the files.

另外,本發明亦提供一種雲端儲存方法,藉由動態地執行儲存資源之負載平衡、檔案搬移、檔案副本以及指標搬移等機制以及將指標分散於網路儲存裝置來提升檔案存取效能並避免中介資料伺服器成為效能瓶頸。底下將藉由具體實施例詳加說明,當更容易瞭解本發明之目的、技術內容、特點及其所達成之功效。 In addition, the present invention also provides a cloud storage method for improving file access performance and avoiding mediation by dynamically performing load balancing of storage resources, file transfer, file copy and indicator moving, and distributing indicators to network storage devices. The data server becomes a performance bottleneck. The details, technical contents, features, and effects achieved by the present invention will become more apparent from the detailed description of the embodiments.

本發明係提出一種雲端儲存系統及其方法以提升檔案存取效能來滿足客戶端的儲存服務品質需求。藉由偵測系統狀態來動態地執行負載平衡、檔案搬移以及檔案副本等機制來確保高效能的檔案存取。另外亦藉由指標搬移機制以及將指標分散於網路儲存裝置的做法以避免中介資料伺服器的負載過高。本系統亦可以藉由增加網路儲存裝置數量來提供客戶端沒有上限的儲存容量。除此之外,可以經由網路進行檔案存取操作提高便利性以及使用效率。 The invention provides a cloud storage system and a method thereof to improve file access performance to meet the storage service quality requirements of the client. Dynamically perform load balancing, file movement, and file copying by detecting system status to ensure efficient file access. In addition, the overloading mechanism of the mediation data server is avoided by the indicator moving mechanism and the method of distributing the indicators to the network storage device. The system can also provide a storage capacity with no upper limit for the client by increasing the number of network storage devices. In addition, file access operations via the network can improve convenience and efficiency.

第一圖係為本發明之系統架構圖,如圖所示,雲端儲存 系統10包括一中介資料伺服器12,其包含一儲存庫20,係負責存放指標22。指標22包含目錄名稱、檔案名稱以及檔案相關中介資料,例如;擁有者、存取權限、建立時間、單位時間內存取次數以及檔案目的地等屬性。一客戶端14,負責發送檔案存取請求,然後進行實際檔案存取。主要網路儲存裝置16直接接受客戶端14之存取請求,其可用來儲存檔案並具有一儲存庫20以存放指標22。附屬網路儲存裝置18接受主要網路儲存裝置16管理,其係用來儲存檔案以及儲存指標22於儲存庫20。中介資料伺服器12、主要網路儲存裝置16以及附屬網路儲存裝置18皆配置有專屬之儲存庫20以儲存指標22,因此能夠分散地儲存指標22以降低中介資料伺服器12的負載。最後,在本實施例中係舉例兩個附屬網路儲存裝置18。 The first figure is the system architecture diagram of the present invention, as shown in the figure, the cloud storage The system 10 includes an intermediary data server 12 that includes a repository 20 that is responsible for storing the indicators 22. Indicator 22 contains the directory name, file name, and file-related mediation information, such as attributes such as owner, access rights, setup time, number of accesses per unit time, and file destination. A client 14 is responsible for sending file access requests and then performing actual file access. The primary network storage device 16 directly accepts access requests from the client 14, which can be used to store files and have a repository 20 for storing the metrics 22. The affiliate network storage device 18 is managed by the primary network storage device 16 for storing files and storing the indicators 22 in the repository 20. The mediation data server 12, the primary network storage device 16, and the attached network storage device 18 are each configured with a dedicated repository 20 for storing the metrics 22, so that the metrics 22 can be stored arbitrarily to reduce the load on the mediation data server 12. Finally, two affiliated network storage devices 18 are exemplified in this embodiment.

請參照第一圖並配合第二圖,第二圖係為本發明之檔案上傳步驟流程圖。如步驟S10所示,一開始係由客戶端14發出檔案上傳請求伴隨目錄名稱與檔案名稱於主要網路儲存裝置16。接著進入步驟S12,所有附屬網路儲存裝置18可以固定時間或是當本身儲存資源變化超出某個容許值時,主動把最新狀態通知主要網路儲存裝置16,主要網路儲存裝置16就可以根據每一個附屬網路儲存裝置18所回報之資訊,例如;可用儲存空間、網路頻寬使用量以及磁碟輸入輸出讀寫頻率等,動態地調整儲存資源輪值配置表內每一個附屬網路儲存裝置18最適合之儲存容量配額,進而平衡整個雲端儲存系統10之負載。接著進入步驟S14,主要網路儲存裝置16會根據該請求所伴隨之目錄名稱與檔案名稱來決定該檔案的儲存位置,也就是預設之附屬網路儲存裝置18。簡單的做法就是以目錄名稱均勻地對應到系統內所有附屬網路儲存裝置18。舉例而言,目前雲端儲存系統10內有36台附屬網路儲存裝置18,則檔案具有a開頭之目錄名稱其預設之附屬網路儲存裝置18設定為第一個附屬網路儲存裝置18,依此類推。接下來如果檔案具有0開頭之目 錄名稱其預設之附屬網路儲存裝置18設定為第27個附屬網路儲存裝置18。附屬網路儲存裝置18之識別符可以採用IP位址或是由主要網路儲存裝置16採用具唯一性之命名方式來實施。接下來主要網路儲存裝置16會比對輪值中附屬網路儲存裝置18與該請求預設之附屬網路儲存裝置18是否相同。如果不相同,就會進入步驟S16,主要網路儲存裝置16會轉發該請求伴隨預設之附屬網路儲存裝置18其網路連線資訊至輪值中附屬網路儲存裝置18。其中網路連線資訊係為網際網路協定種類、傳輸控制協定種類、通訊埠號、加密類型以及帳號密碼等以用於建立網路連線。接著進入步驟S18,輪值中附屬網路儲存裝置18會負責傳送回應訊息至客戶端14,然後客戶端14可以根據回應訊息中所攜帶之網路連線資訊直接與輪值中附屬網路儲存裝置18建立網路連線。接著進入步驟S20,客戶端14可以把檔案上傳至輪值中附屬網路儲存裝置18。在檔案傳輸完成之後,接著進入步驟S22,輪值中附屬網路儲存裝置18根據先前主要網路儲存裝置16所提供之網路連線資訊就可以把該檔案之指標22傳送給預設之附屬網路儲存裝置18,該指標22除了包含該檔案常見屬性之外,特別地該檔案目的地屬性將指定為輪值中附屬網路儲存裝置18之網路連線資訊而不是預設之附屬網路儲存裝置18本身。也就是說,在此情況下檔案與指標22儲存在不同網路儲存裝置。最後進入步驟S24,預設之附屬網路儲存裝置18會把該指標22更新至其儲存庫20內。反之,如果比對結果相同,則會進入步驟S26,主要網路儲存裝置16會轉發該請求至輪值中附屬網路儲存裝置18。接著進入步驟S28,輪值中附屬網路儲存裝置18會傳送回應訊息給客戶端14,然後客戶端14可以根據回應訊息所提供之資訊來建立網路連線。接著進入步驟S30,客戶端14直接把檔案上傳至輪值中附屬網路儲存裝置18。在完成檔案接收之後會進入步驟S32,輪值中附屬網路儲存裝置18會把該檔案之指標22更新至自身儲存庫20內。在此情況下檔案與指標22皆儲存在 相同網路儲存裝置。一般而言,檔案與指標22存放在同一個網路儲存裝置其存取效能會比較好,因為不需要再轉發請求。 Please refer to the first figure and cooperate with the second figure. The second figure is a flow chart of the file uploading step of the present invention. As shown in step S10, the file upload request is sent by the client 14 with the directory name and file name in the primary network storage device 16. Then, proceeding to step S12, all the affiliated network storage devices 18 can notify the primary network storage device 16 of the latest state when the storage resource changes exceed a certain allowable value, and the primary network storage device 16 can be based on The information reported by each of the attached network storage devices 18, for example, the available storage space, the network bandwidth usage, and the disk input/output read/write frequency, dynamically adjusts each of the attached network storages in the storage resource rotation configuration table. The device 18 is best suited to store capacity quotas, thereby balancing the load of the entire cloud storage system 10. Next, proceeding to step S14, the primary network storage device 16 determines the storage location of the file, that is, the preset affiliate network storage device 18, based on the directory name and file name accompanying the request. The simple approach is to uniformly map all of the attached network storage devices 18 in the system with the directory name. For example, there are currently 36 auxiliary network storage devices 18 in the cloud storage system 10, and the file has a directory name at the beginning of a, and its default affiliate network storage device 18 is set as the first affiliate network storage device 18. So on and so forth. Next, if the file has a beginning of 0 The subsidiary network storage device 18 whose name is preset is set as the 27th affiliate network storage device 18. The identifier of the attached network storage device 18 can be implemented using an IP address or by a unique naming scheme by the primary network storage device 16. Next, the primary network storage device 16 compares whether the secondary network storage device 18 in the rotation is the same as the secondary network storage device 18 to which the request is preset. If not, the process proceeds to step S16, and the primary network storage device 16 forwards the request along with the preset affiliate network storage device 18's network connection information to the secondary network storage device 18 in the round. The network connection information is the type of internet protocol, the type of transmission control protocol, the communication number, the encryption type, and the account password to establish an internet connection. Then, proceeding to step S18, the satellite network storage device 18 is responsible for transmitting the response message to the client 14, and then the client 14 can directly associate with the network storage device 18 in the round according to the network connection information carried in the response message. Establish a network connection. Next, proceeding to step S20, the client 14 can upload the file to the affiliated network storage device 18 in the rotation. After the file transfer is completed, the process proceeds to step S22, in which the attached network storage device 18 can transmit the file index 22 to the preset affiliate network according to the network connection information provided by the previous primary network storage device 16. The storage device 18, in addition to the common attributes of the file, in particular, the file destination attribute will be designated as the network connection information of the attached network storage device 18 in the rotation instead of the preset auxiliary network storage. Device 18 itself. That is to say, in this case, the files and indicators 22 are stored in different network storage devices. Finally, in step S24, the preset affiliate network storage device 18 updates the indicator 22 to its repository 20. On the other hand, if the comparison result is the same, the process proceeds to step S26, and the primary network storage device 16 forwards the request to the secondary network storage device 18 in the round. Then, proceeding to step S28, the satellite network storage device 18 transmits a response message to the client 14 in the round, and then the client 14 can establish a network connection according to the information provided by the response message. Next, proceeding to step S30, the client 14 directly uploads the file to the attached network storage device 18 in the rotation. After the file is received, the process proceeds to step S32, in which the satellite network storage device 18 updates the file index 22 to its own repository 20. In this case, both the file and the indicator 22 are stored in Same network storage device. In general, the file and indicator 22 are stored in the same network storage device, and the access performance is better because there is no need to forward the request.

請參照第一圖並配合第三圖,第三圖係為本發明之檔案下載步驟流程圖。如步驟S34所示,一開始係由客戶端14發出檔案下載請求伴隨目錄名稱與檔案名稱於主要網路儲存裝置16,主要網路儲存裝置16首先會查詢本身儲存庫20,發現無法找到該檔案之對應指標22,接著進入步驟S36,轉發該請求至中介資料伺服器12以及預設之附屬網路儲存裝置18,因為該檔案所對應之指標22可能從預設之附屬網路儲存裝置18搬移至中介資料伺服器12來避免預設之附屬網路儲存裝置18儲存過多指標。接下來兩者會分別查詢其專屬儲存庫20,由於該檔案所對應之指標22只存在一個網路位置,因此只要任一個查詢成功,就會進入步驟S38,中介資料伺服器12或是預設之附屬網路儲存裝置18就會直接傳送回應訊息至客戶端14,接著客戶端14根據該回應訊息所攜帶之網路連線資訊就可以直接與儲存該檔案之附屬網路儲存裝置18建立網路連線並下載該檔案。接下來進入步驟S40,中介資料伺服器12以及預設附屬網路儲存裝置18兩者皆會將查詢結果回傳給主要網路儲存裝置16。接著進入步驟S42,主要網路儲存裝置16會比對這兩項查詢結果,如果任一項查詢結果成功,則進入步驟S44,在客戶端14完成檔案下載後,儲存該下載檔案之附屬網路儲存裝置18會檢查本身儲存庫20內是否存在該檔案之對應指標22。如果存在,則把檔案存取時間更新至其儲存庫20內的對應指標22。反之,則會把目錄名稱、檔案名稱以及檔案存取時間等資訊傳送到中介資料伺服器12以及預設之附屬網路儲存裝置18。如果發現該對應指標22儲存在其儲存庫20,則更新儲存庫20內對應之指標22,反之則不進行任何處理。如果兩者皆查詢失敗,則會進入步驟S46,代表該檔案名稱可能錯誤或是檔案已經不存在,於是主要網路儲存裝置16會負責回傳一個錯誤訊息至客戶端14,然後顯示檔案下載操作失敗。 Please refer to the first figure and cooperate with the third figure. The third figure is a flowchart of the file downloading step of the present invention. As shown in step S34, the file download request is sent by the client 14 with the directory name and file name in the primary network storage device 16. The primary network storage device 16 first queries the repository 20 and finds that the file cannot be found. Corresponding indicator 22, proceeding to step S36, forwarding the request to the intermediary data server 12 and the preset affiliate network storage device 18, because the index 22 corresponding to the file may be moved from the preset affiliate network storage device 18. The intermediary data server 12 is arranged to prevent the preset affiliate network storage device 18 from storing too many indicators. The next two will query their exclusive repository 20 separately. Since there is only one network location for the index 22 corresponding to the file, if any of the queries is successful, the process proceeds to step S38, and the mediation data server 12 or the preset The affiliate network storage device 18 directly transmits the response message to the client 14, and then the client 14 can directly establish a network with the attached network storage device 18 storing the file according to the network connection information carried by the response message. Connect the line and download the file. Next, proceeding to step S40, both the intermediary data server 12 and the preset affiliate network storage device 18 return the query result to the primary network storage device 16. Then, proceeding to step S42, the primary network storage device 16 compares the two query results. If any of the query results is successful, the process proceeds to step S44, and after the client 14 completes the file download, the auxiliary network of the downloaded file is stored. The storage device 18 checks whether there is a corresponding indicator 22 for the file in its repository 20. If so, the file access time is updated to the corresponding indicator 22 in its repository 20. On the contrary, information such as the directory name, file name, and file access time is transmitted to the mediation data server 12 and the preset affiliate network storage device 18. If the corresponding indicator 22 is found to be stored in its repository 20, the corresponding indicator 22 in the repository 20 is updated, otherwise no processing is performed. If both of the queries fail, the process proceeds to step S46, indicating that the file name may be incorrect or the file does not exist, and the primary network storage device 16 is responsible for returning an error message to the client 14, and then displaying the file download operation. failure.

請參照第一圖並配合第四圖,第四圖係為本發明之負載平衡步驟流程圖。如步驟S48所示,一開始每一個附屬網路儲存裝置18會定期或是採用事件觸發方式來通知自身儲存資源狀態變化至主要網路儲存裝置16,接下來主要網路儲存裝置16會根據所有附屬網路儲存裝置18所提供的儲存資源狀態來決定每一個附屬網路儲存裝置18所負責之儲存容量配額。接著進入步驟S50,主要網路儲存裝置16會依據所獲得之資訊來建立儲存資源輪值配置表,該表內會指定每一個附屬網路儲存裝置18在每一次輪值時其可接受之儲存容量、識別符以及輪值順序等資訊。接著進入步驟S52,一旦目前輪值中附屬網路儲存裝置18其儲存容量已達儲存設定預設值,則會主動發送訊息通知主要網路儲存裝置16。最後進入步驟S54,主要網路儲存裝置16在收到輪值中附屬網路儲存裝置18通知之後,會根據儲存資源輪值配置表找出下一個附屬網路儲存裝置18來替換輪值中附屬網路儲存裝置18。一旦儲存資源輪值配置表已執行一輪,則主要網路儲存裝置16會根據輪值期間所收到的儲存資源更新資訊,重新規劃下一輪使用之儲存資源輪值配置表,使得雲端儲存系統可以及時反映儲存資源變化並具備負載平衡之能力。 Please refer to the first figure and the fourth figure. The fourth figure is a flow chart of the load balancing step of the present invention. As shown in step S48, initially, each of the accessory network storage devices 18 periodically or event-triggered to notify the user of the storage resource state change to the primary network storage device 16, and then the primary network storage device 16 will be based on all The storage resource status provided by the adjunct network storage device 18 determines the storage capacity quota for each of the adjunct network storage devices 18. Next, proceeding to step S50, the primary network storage device 16 establishes a storage resource rotation configuration table according to the obtained information, and the table specifies the storage capacity of each of the subsidiary network storage devices 18 at each round, Information such as identifiers and order of rotation. Then, proceeding to step S52, once the storage capacity of the attached network storage device 18 has reached the storage setting preset value, the primary network storage device 16 is actively sent. Finally, proceeding to step S54, the primary network storage device 16 will find the next affiliate network storage device 18 to replace the secondary network storage in the round according to the storage resource rotation configuration table after receiving the notification from the attached network storage device 18. Device 18. Once the storage resource rotation configuration table has been executed, the primary network storage device 16 re-plans the storage resource rotation configuration table used in the next round according to the storage resource update information received during the rotation, so that the cloud storage system can reflect the storage in time. Resource changes and the ability to load balance.

請參照第一圖並配合第五圖,第五圖係為本發明之檔案搬移步驟流程圖。如步驟S56所示,由於檔案刪除、檔案搬移或是儲存容量擴充等因素,附屬網路儲存裝置18發現本身儲存空間已增加。接下來進入步驟S58,該附屬網路儲存裝置18會評估並找出適合之指標22進行檔案回歸,可以以檔案存取操作頻率較高之指標作為優先,如此可以加速檔案存取速度。當然進行檔案回歸之指標22意味著該對應檔案實際上並不存在該附屬網路儲存裝置18本身,而只是存放其指標22。換言之,無法直接進行檔案存取,而必須藉由轉發存取請求至檔案實際存放之附屬網路儲存裝置18來進行後續處理。無疑地,檔案搬移可以提升檔案存取效能。一旦挑選出適合指標22之 後,接著進入步驟S60,開始執行檔案搬移操作。當然在執行檔案搬移前,原先儲存該檔案之附屬網路儲存裝置18與檔案搬移目的地之附屬網路儲存裝置18可以在檔案搬移前,協調並完成檔案搬移規劃表,以避免影響現有儲存服務品質。一旦檔案搬移完成之後會進入步驟S62,檔案搬移目的地之附屬網路儲存裝置18會修改儲存庫20中對應之指標22內的檔案目的地資訊,從原先存放之附屬網路儲存裝置18改為自己。由於檔案搬移後對所牽涉之附屬網路儲存裝置18的儲存資源狀態有不同程度的影響,因此會進入步驟S64,根據預設條件來決定是否需要更新儲存資源狀態至主要網路儲存裝置16,以規劃出符合現狀之儲存資源輪值配置表。 Please refer to the first figure and cooperate with the fifth figure. The fifth figure is a flow chart of the file moving step of the present invention. As shown in step S56, the affiliate network storage device 18 finds that its own storage space has increased due to factors such as file deletion, file transfer, or storage capacity expansion. Next, proceeding to step S58, the affiliate network storage device 18 evaluates and finds the appropriate indicator 22 for file regression, and can take the index with higher file access operation priority as the priority, so that the file access speed can be accelerated. Of course, the index 22 of the file regression means that the corresponding file does not actually exist in the affiliate network storage device 18 itself, but only stores its index 22. In other words, file access cannot be directly performed, but subsequent processing must be performed by forwarding the access request to the attached network storage device 18 where the file is actually stored. Undoubtedly, file movement can improve file access performance. Once selected for the appropriate indicator 22 Then, proceeding to step S60, the file transfer operation is started. Of course, before the file is moved, the affiliate network storage device 18 that originally stored the file and the attached network storage device 18 of the file transfer destination can coordinate and complete the file transfer planning table before the file is moved to avoid affecting the existing storage service. quality. Once the file transfer is completed, the process proceeds to step S62, and the attached network storage device 18 of the file transfer destination modifies the file destination information in the corresponding indicator 22 in the repository 20, and changes from the previously stored affiliate network storage device 18 to Yourself. Since the storage resource status of the attached network storage device 18 involved in the file migration has different degrees of impact, the process proceeds to step S64, and it is determined according to the preset condition whether the storage resource status needs to be updated to the primary network storage device 16, To plan a storage resource rotation configuration table that meets the status quo.

請參照第一圖並配合第六圖,第六圖係為本發明之檔案副本建立步驟流程圖。首先如步驟S66所示,附屬網路儲存裝置18偵測出超過熱點臨界值之檔案,熱點臨界值在此定義為單位時間內檔案存取次數之上限。接下來進入步驟S68,如果檔案與對應之指標22皆存放在同一個附屬網路儲存裝置18,則該附屬網路儲存裝置18會先把要傳送之指標22內的檔案目的地屬性變更為自身網路連線資訊,至於原先在儲存庫內的指標22則保持不變,接著把檔案與指標22傳送至主要網路儲存裝置16。反之,存放指標22之附屬網路儲存裝置18會直接把該指標22原封不動傳送給檔案所在之附屬網路儲存裝置18,然後由該附屬網路儲存裝置18負責把檔案與接收之指標22傳送至主要網路儲存裝置16。最後進入步驟S70,主要網路儲存裝置16會儲存所接收之檔案並將自己添加到對應指標22內的檔案目的地屬性,這意味著該檔案存放在兩個不同位置,也就是有兩份副本。最後把該指標22更新至儲存庫20。一旦有客戶端14要存取該檔案,主要網路儲存裝置16可以根據該檔案存取情況來決定由自己處理或是由另一個存放該檔案之附屬網路儲存裝置18進行處理以提高檔案存取效能並且平衡負載。如果該檔案存取頻率低到某種程度,主要網路儲存裝置16可以 根據自身儲存資源狀況決定是否刪除該檔案以及對應指標22。一旦決定進行刪除操作時,主要網路儲存裝置16直接刪除檔案以及對應指標22而不需要額外的處理流程。 Please refer to the first figure and cooperate with the sixth figure. The sixth figure is a flow chart of the steps for establishing the file copy of the present invention. First, as shown in step S66, the affiliate network storage device 18 detects the file exceeding the hotspot threshold. The hotspot threshold is defined herein as the upper limit of the number of file accesses per unit time. Next, proceeding to step S68, if the file and the corresponding indicator 22 are stored in the same affiliate network storage device 18, the attached network storage device 18 first changes the file destination attribute in the indicator 22 to be transmitted to itself. The network connection information, as for the indicator 22 originally in the repository, remains unchanged, and then the file and indicator 22 are transmitted to the primary network storage device 16. On the contrary, the attached network storage device 18 storing the indicator 22 directly transmits the indicator 22 to the attached network storage device 18 where the file is located, and then the attached network storage device 18 is responsible for transmitting the file and receiving index 22 To the primary network storage device 16. Finally, proceeding to step S70, the main network storage device 16 stores the received file and adds itself to the file destination attribute in the corresponding indicator 22, which means that the file is stored in two different locations, that is, there are two copies. . Finally, the indicator 22 is updated to the repository 20. Once the client 14 wants to access the file, the primary network storage device 16 can decide to process it by itself or by another affiliated network storage device 18 storing the file to improve the file storage according to the file access situation. Take performance and balance the load. If the file access frequency is low to some extent, the primary network storage device 16 can It is determined whether to delete the file and the corresponding indicator 22 according to the state of its own storage resource. Once the delete operation is decided, the primary network storage device 16 deletes the archive and the corresponding indicator 22 directly without additional processing.

請參照第一圖及第七圖,第七圖係為本發明之指標配置調整步驟流程圖。首先如步驟S72所示,某個附屬網路儲存裝置18儲存的指標22數量超出預設值,可能對檔案存取效能造成影響,因為會增加查詢時的比對次數。接下來進入步驟S74,該附屬網路儲存裝置18挑選適合之指標進行搬移,直到其指標22數量低於預設值。如果指標22與檔案不存在同一個附屬網路儲存裝置18,則該指標22將列為優先搬移對象。接著進入步驟S76,附屬網路儲存裝置18會把確定搬移之指標22傳送至中介資料伺服器12。最後進入步驟S78,附屬網路儲存裝置18在指標22搬移成功之後,會從儲存庫20內移除相關指標22,而中介資料伺服器12則會把接收之指標22加入其儲存庫20。如果中介資料伺服器12上的指標22數量過多,可以藉由建構中介資料伺服器12叢集來分散單一中介資料伺服器12負載或是把指標22搬移至指標22數量低於預設值之附屬網路儲存裝置18上。 Please refer to the first figure and the seventh figure. The seventh figure is a flow chart of the indicator configuration adjustment steps of the present invention. First, as shown in step S72, the number of indicators 22 stored in an affiliate network storage device 18 exceeds a preset value, which may affect the file access performance, because the number of comparisons at the time of the query may be increased. Next, proceeding to step S74, the affiliate network storage device 18 selects suitable indicators for moving until the number of indicators 22 is lower than a preset value. If the indicator 22 does not exist in the same affiliate network storage device 18 as the file, the indicator 22 will be listed as a priority transfer object. Next, proceeding to step S76, the affiliate network storage device 18 transmits the indicator 22 for determining the move to the mediation data server 12. Finally, proceeding to step S78, after the indicator 22 is successfully moved, the affiliate network storage device 18 removes the relevant indicator 22 from the repository 20, and the intermediary data server 12 adds the received indicator 22 to its repository 20. If the number of indicators 22 on the mediation data server 12 is too large, the single media data server 12 load can be dispersed by constructing the mediation data server 12 cluster or the index 22 can be moved to the subsidiary network whose number of indicators 22 is lower than the preset value. On the road storage device 18.

唯以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍。故即凡依本發明申請範圍所述之特徵及精神所為之均等變化或修飾,均應包括於本發明之申請專利範圍內。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Therefore, any changes or modifications of the features and spirits of the present invention should be included in the scope of the present invention.

10‧‧‧雲端儲存系統 10‧‧‧Cloud Storage System

12‧‧‧中介資料伺服器 12‧‧‧Intermediary data server

14‧‧‧客戶端 14‧‧‧ Client

16‧‧‧主要網路儲存裝置 16‧‧‧Main network storage device

18‧‧‧附屬網路儲存裝置 18‧‧‧Affiliated network storage device

20‧‧‧儲存庫 20‧‧‧Repository

22‧‧‧指標 22‧‧‧ indicators

第一圖係為本發明之系統架構示意圖。 The first figure is a schematic diagram of the system architecture of the present invention.

第二圖係為本發明之檔案上傳步驟流程圖。 The second figure is a flow chart of the file uploading step of the present invention.

第三圖係為本發明之檔案下載步驟流程圖。 The third figure is a flow chart of the file downloading steps of the present invention.

第四圖係為本發明之負載平衡步驟流程圖。 The fourth figure is a flow chart of the load balancing step of the present invention.

第五圖係為本發明之檔案搬移步驟流程圖。 The fifth figure is a flow chart of the file moving step of the present invention.

第六圖係為本發明之檔案副本建立步驟流程圖。 The sixth figure is a flow chart of the steps for establishing a file copy of the present invention.

第七圖係為本發明之指標配置調整步驟流程圖。 The seventh figure is a flow chart of the adjustment step of the indicator configuration of the present invention.

10‧‧‧雲端儲存系統 10‧‧‧Cloud Storage System

12‧‧‧中介資料伺服器 12‧‧‧Intermediary data server

14‧‧‧客戶端 14‧‧‧ Client

16‧‧‧主要網路儲存裝置 16‧‧‧Main network storage device

18‧‧‧附屬網路儲存裝置 18‧‧‧Affiliated network storage device

20‧‧‧儲存庫 20‧‧‧Repository

22‧‧‧指標 22‧‧‧ indicators

Claims (13)

一種雲端儲存系統,包括:一主要網路儲存裝置,以接收至少一客戶端之請求;以及一中介資料伺服器,以查詢檔案儲存位置;更包括至少一附屬網路儲存裝置,以接收主要網路儲存裝置之控制。 A cloud storage system includes: a primary network storage device to receive a request from at least one client; and an intermediary data server to query a file storage location; and further comprising at least one affiliate network storage device to receive the primary network Control of the road storage device. 如請求項1所述之雲端儲存系統,其中該主要網路儲存裝置、該附屬網路儲存裝置以及該中介資料伺服器各包含一儲存庫,其係用來儲存指標。 The cloud storage system of claim 1, wherein the primary network storage device, the secondary network storage device, and the intermediary data server each include a repository for storing indicators. 如請求項1所述之雲端儲存系統,其中該請求可為檔案上傳指令以及檔案下載指令。 The cloud storage system of claim 1, wherein the request is an archive upload instruction and an archive download instruction. 如請求項2該指標包含;目錄名稱、檔案名稱、擁有者、檔案存取時間以及檔案目的地等屬性。 As requested in item 2, the indicator includes attributes such as directory name, file name, owner, file access time, and file destination. 一種雲端儲存方法,包括:一主要網路儲存裝置,以接收至少一客戶端之請求;以及一中介資料伺服器,以查詢檔案儲存位置;更包括至少一附屬網路儲存裝置,以接收主要網路儲存裝置之控制。 A cloud storage method includes: a primary network storage device to receive a request from at least one client; and an intermediary data server to query a file storage location; and at least one auxiliary network storage device to receive the primary network Control of the road storage device. 如請求項5所述之雲端儲存方法,其中該請求可為檔案上傳指令以及檔案下載指令。 The cloud storage method of claim 5, wherein the request is an archive upload instruction and an archive download instruction. 如請求項6所述之雲端儲存方法,其中該檔案上傳指令於主要網路儲存裝置會先找出輪值中附屬網路儲存裝置並與預設附屬網路儲存裝置進行比較。如果相同,則轉發該請求並由輪值中附屬網路儲存裝置傳送回應訊息,然後進行檔案上傳並更新儲存庫內對應指標。反之,則傳送預設附屬網路儲存裝置網路連線資訊,然後由輪值中附屬網路儲存裝置傳送回應訊息以及進行檔案上傳。最後並傳送指標至預設附屬網路儲存裝置使其更新儲存庫。 The cloud storage method of claim 6, wherein the file uploading instruction first finds the secondary network storage device in the rotation and compares it with the preset affiliate network storage device. If they are the same, the request is forwarded and the response message is transmitted by the attached network storage device in the rotation, and then the file is uploaded and the corresponding indicator in the repository is updated. Conversely, the preset affiliate network storage device network connection information is transmitted, and then the response message is transmitted and the file upload is performed by the attached network storage device in the rotation. Finally, the indicator is transmitted to the preset affiliate network storage device to update the repository. 如請求項6所述之雲端儲存方法,其中該檔案下載指令於主要網路儲存裝置會先查詢其儲存庫內指標以確認檔案是否存在,如果存在,則直接下載檔案。反之,則會轉發該請求至中介資料伺服器以及預設附屬網路儲存裝置,一旦確認該檔案位置則 直接傳送回應訊息。接下來兩者皆把查詢結果傳送至主要網路儲存裝置。如果皆查詢失敗,則傳送錯誤訊息,否則在完成檔案下載後會把指標更新至對應之儲存庫。 The cloud storage method of claim 6, wherein the file downloading instruction first queries the in-resource index of the main network storage device to confirm whether the file exists, and if so, directly downloads the file. Otherwise, the request is forwarded to the mediation data server and the default affiliate network storage device. Once the file location is confirmed, Send a response message directly. The next two will transfer the query results to the main network storage device. If the query fails, an error message is sent, otherwise the indicator will be updated to the corresponding repository after the file is downloaded. 如請求項5所述之雲端儲存方法,包括:負載平衡、檔案搬移、檔案副本建立以及指標配置調整。 The cloud storage method as claimed in claim 5, comprising: load balancing, file moving, file copy creation, and indicator configuration adjustment. 如請求項9所述之雲端儲存方法,其中主要網路儲存裝置會根據附屬網路儲存裝置之儲存資源狀態決定其配置之儲存容量配額並依此建立儲存資源輪值配置表。一旦輪值中附屬網路儲存裝置到達儲存設定預設值便會發出通知,然後找出新附屬網路儲存裝置進行替換。 The cloud storage method of claim 9, wherein the primary network storage device determines the storage capacity quota of the configuration according to the storage resource status of the attached network storage device and establishes a storage resource rotation configuration table accordingly. Once the secondary network storage device in the rotation reaches the storage setting default value, a notification is issued and the new affiliate network storage device is found for replacement. 如請求項9所述之雲端儲存方法,其中附屬網路儲存裝置發現儲存資源已改善,則會挑選適合指標進行檔案回歸,然後執行檔案搬移。接著會修改儲存庫中對應之指標並且更新儲存資源狀態以建構儲存資源輪值配置表。 The cloud storage method of claim 9, wherein the accessory network storage device finds that the storage resource has been improved, and then selects a suitable indicator for file regression, and then performs file migration. Then, the corresponding indicator in the repository is modified and the state of the storage resource is updated to construct a storage resource rotation configuration table. 如請求項9所述之雲端儲存方法,其中附屬網路儲存裝置偵測出超過熱點臨界值之檔案,則會傳送該檔案以及調整對應指標之檔案目的地屬性至主要網路儲存裝置,進而將指標更新至儲存庫。 The cloud storage method of claim 9, wherein the accessory network storage device detects the file exceeding the hotspot threshold, and transmits the file and adjusts the file destination attribute of the corresponding indicator to the primary network storage device, thereby The indicator is updated to the repository. 如請求項9所述之雲端儲存方法,當附屬網路儲存裝置所擁有之指標數量超出預設值,則會挑選合適之指標進行搬移,之後便把指標傳送至中介資料伺服器使其更新儲存庫。 The cloud storage method of claim 9, when the number of indicators owned by the attached network storage device exceeds a preset value, the appropriate indicator is selected for moving, and then the indicator is transmitted to the intermediary data server for update storage. Library.
TW101124134A 2012-07-05 2012-07-05 Cloud storage system and method thereof TW201403315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101124134A TW201403315A (en) 2012-07-05 2012-07-05 Cloud storage system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101124134A TW201403315A (en) 2012-07-05 2012-07-05 Cloud storage system and method thereof

Publications (1)

Publication Number Publication Date
TW201403315A true TW201403315A (en) 2014-01-16

Family

ID=50345535

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101124134A TW201403315A (en) 2012-07-05 2012-07-05 Cloud storage system and method thereof

Country Status (1)

Country Link
TW (1) TW201403315A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9851999B2 (en) 2015-07-30 2017-12-26 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for handling virtualization of a physical telephone number mapping service
US9866521B2 (en) 2015-07-30 2018-01-09 At&T Intellectual Property L.L.P. Methods, systems, and computer readable storage devices for determining whether to forward requests from a physical telephone number mapping service server to a virtual telephone number mapping service server
TWI613543B (en) * 2014-04-30 2018-02-01 Huawei Tech Co Ltd Hard disk interaction method, hard disk and cluster system
US9888127B2 (en) 2015-07-30 2018-02-06 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for adjusting the use of virtual resources providing communication services based on load
US10277736B2 (en) 2015-07-30 2019-04-30 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for determining whether to handle a request for communication services by a physical telephone number mapping service or a virtual telephone number mapping service

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI613543B (en) * 2014-04-30 2018-02-01 Huawei Tech Co Ltd Hard disk interaction method, hard disk and cluster system
US9851999B2 (en) 2015-07-30 2017-12-26 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for handling virtualization of a physical telephone number mapping service
US9866521B2 (en) 2015-07-30 2018-01-09 At&T Intellectual Property L.L.P. Methods, systems, and computer readable storage devices for determining whether to forward requests from a physical telephone number mapping service server to a virtual telephone number mapping service server
US9888127B2 (en) 2015-07-30 2018-02-06 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for adjusting the use of virtual resources providing communication services based on load
US10277736B2 (en) 2015-07-30 2019-04-30 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for determining whether to handle a request for communication services by a physical telephone number mapping service or a virtual telephone number mapping service
US10498884B2 (en) 2015-07-30 2019-12-03 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for determining whether to handle a request for communication services by a physical telephone number mapping service or a virtual telephone number mapping service
US10523822B2 (en) 2015-07-30 2019-12-31 At&T Intellectual Property I, L.P. Methods, systems, and computer readable storage devices for adjusting the use of virtual resources providing communication services based on load

Similar Documents

Publication Publication Date Title
US10185497B2 (en) Cluster federation and trust in a cloud environment
US9405781B2 (en) Virtual multi-cluster clouds
CN107250999B (en) Distributed content discovery with in-network caching
US20120221603A1 (en) Distributed mobile services
US20160277497A1 (en) Facilitating access to remote cloud services
EP3334123A1 (en) Content distribution method, virtual server management method, cloud platform and system
US9031906B2 (en) Method of managing data in asymmetric cluster file system
TW201403315A (en) Cloud storage system and method thereof
JP4473942B2 (en) Content distribution apparatus, content distribution method, and content distribution program
US11489918B2 (en) State management and object storage in a distributed cloud computing network
KR20120072907A (en) Distribution storage system of distributively storing objects based on position of plural data nodes, position-based object distributive storing method thereof, and computer-readable recording medium
KR20120062845A (en) Chunked downloads over a content delivery network
WO2008131653A1 (en) A system and method for realizing network subscribing store and a subscribe server
KR20190116565A (en) Management of multiple clusters of distributed file systems
JPWO2008120366A1 (en) Content distribution apparatus, content distribution method, and content distribution program
JP2022550401A (en) Data upload method, system, device and electronic device
CN115079935A (en) Method, electronic device and computer program product for storing and querying data
EP3369008B1 (en) Randomized peer-to-peer synchronization of shared content items
WO2018053838A1 (en) Load balancing method and related device
WO2013103012A1 (en) Information processing device, data management method, and program
EP4280077A1 (en) Data ingestion replication and disaster recovery
US20220263759A1 (en) Addressing method, addressing system, and addressing apparatus
KR20130033252A (en) Method and system for end-to-end qos guaranteed content delivery on service overlay network
KR20100123626A (en) Device and method for controlling dissemination of data by transfer of sets of instructions between peers having wireless communication capacities
JP5168333B2 (en) P2P terminal and content distribution system