TWM629647U - Multi-parameter computer file migration system - Google Patents
Multi-parameter computer file migration system Download PDFInfo
- Publication number
- TWM629647U TWM629647U TW111203898U TW111203898U TWM629647U TW M629647 U TWM629647 U TW M629647U TW 111203898 U TW111203898 U TW 111203898U TW 111203898 U TW111203898 U TW 111203898U TW M629647 U TWM629647 U TW M629647U
- Authority
- TW
- Taiwan
- Prior art keywords
- computer file
- parameter
- score
- attribute parameters
- computer
- Prior art date
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本揭示文件有關於一種電腦檔案搬移系統,特別是有關於一種多參數電腦檔案搬移系統。The present disclosure relates to a computer file transfer system, in particular, to a multi-parameter computer file transfer system.
一般對於電腦檔案系統的清理方式(housekeeping)不外乎設定排程,定期針對某個目錄或資料夾內的檔案進行篩選,將超過一段時間沒有被存取過的檔案刪除,或是將其搬移(migrate)至次級的硬碟空間、磁帶備份等。以檔案的最後存取時間為控制參數之判斷方式固然可行,但其忽略其他因素。有些重要檔案(例如:系統檔案、程式執行檔)可能因爲電腦很久沒有關機,或因為應用程式每隔很長一段時間才跑一次,結果造成重要檔案被誤搬或誤刪,影響電腦系統運作。Generally, the cleaning method (housekeeping) of the computer file system is nothing more than setting a schedule, regularly screening the files in a certain directory or folder, and deleting or moving the files that have not been accessed for a period of time. (migrate) to secondary hard disk space, tape backup, etc. Although it is feasible to use the last access time of the file as a control parameter, it ignores other factors. Some important files (such as system files, program execution files) may be caused by the fact that the computer has not been shut down for a long time, or that the application program runs only once every long period of time. As a result, important files are moved or deleted by mistake, which affects the operation of the computer system.
另一方面,由於考量的因素較少,現有的磁碟重組(defrag)技術僅牽涉到低階的磁碟磁區搬移動作,無法對作業系統層次的檔案進行搬移、重整,對於儲存空間的優化效果仍有限。On the other hand, due to few factors to be considered, the existing defrag technology only involves low-level disk volume movement, and cannot move and reorganize files at the operating system level. The optimization effect is still limited.
為解決現有技術之不足,本揭示文件提供一種多參數電腦檔案搬移系統,包含一儲存單元和一處理單元。其中該儲存單元儲存一電腦檔案。該處理單元通訊連接該儲存單元,其被配置為根據該電腦檔案之複數個屬性參數,計算一搬移分數,其中該些屬性參數係根據該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案建立時間、該電腦檔案最近一次被存取的時間以及該電腦檔案被存取的機率計算得出。根據該搬移分數以及一門檻,判斷是否搬移該電腦檔案。In order to solve the deficiencies of the prior art, the present disclosure provides a multi-parameter computer file transfer system, which includes a storage unit and a processing unit. The storage unit stores a computer file. The processing unit is communicatively connected to the storage unit, and is configured to calculate a moving score according to a plurality of attribute parameters of the computer file, wherein the attribute parameters are based on the size of the computer file and the storage space utilization rate of the storage location of the computer file , the creation time of the computer file, the time when the computer file was last accessed, and the probability of the computer file being accessed. According to the moving score and a threshold, it is judged whether to move the computer file.
應該理解的是,前述的一般性描述和下列具體說明僅僅是示例性和解釋性的,並旨在提供所要求的本揭示文件的進一步說明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are intended to provide further explanation of the disclosure as claimed.
為了使本揭示文件之敘述更加詳盡與完備,可參照所附之圖式及以下所述各種實施例,圖式中相同之號碼代表相同或相似之元件。In order to make the description of the present disclosure more detailed and complete, reference may be made to the accompanying drawings and the various embodiments described below, wherein the same numerals in the drawings represent the same or similar elements.
請參照第1、2圖,其分別為本揭示文件一實施例之多參數電腦檔案搬移系統100之示意圖以及多參數電腦檔案搬移方法200之流程圖。如第1圖所示,多參數電腦檔案搬移系統100包含一儲存單元110以及一處理單元120,其中儲存單元110儲存一電腦檔案,而處理單元120被配置為執行如第2圖所示之多參數電腦檔案搬移方法之步驟S201、S202。Please refer to FIGS. 1 and 2 , which are a schematic diagram of a multi-parameter computer
於本揭示文件部分實施例中,多參數電腦檔案搬移系統100是用以管理金融資料檔案系統,例如銀行、保險公司、證卷交易所內部儲存客戶資料的檔案伺服器。In some embodiments of the present disclosure, the multi-parameter computer
在金融產業中,為了符合客戶需求,許多如存款、提款、匯款等金融業務是全年無休的,提供服務的系統亦是每天24小時持續運作,交易等各項業務的紀錄不斷累積,為維持穩定性,系統需要定期對儲存空間進行整理、重組,此時可能因處非上班日,某些檔案因假期緣故未有人員存取紀錄,而遭系統自動刪除。In the financial industry, in order to meet the needs of customers, many financial services such as deposits, withdrawals, and remittances are open all year round, and the system for providing services is also continuously operating 24 hours a day. To maintain stability, the system needs to organize and reorganize the storage space on a regular basis. At this time, it may be a non-working day, and some files have no access records due to holidays, and the system will automatically delete them.
另一方面,金融產業可能因特殊事件而業務量急劇上升,例如政府推行紓困案時,銀行業務量突增,於此同時檔案系統的負擔亦增加,使得系統因可用儲存空間減少,而以更寬鬆的標準將更多檔案搬移、刪除,造成預期外的錯誤處置。 On the other hand, the business volume of the financial industry may increase sharply due to special events. For example, when the government implements the bailout plan, the volume of banking business suddenly increases. At the same time, the burden on the file system also increases, making the system due to the reduction of available storage space. The looser standard moves and deletes more files, resulting in unintended mishandling.
銀行或企業經常需要和外部機構如:證券交易所、聯合徵信中心等交換重要資料,該些資料如客戶檔案、交易紀錄若遺失,可能蒙受巨大的損失,具高價值性,且交換作業具高度時效性,因此如何有效地利用有限的儲存空間,且提供具彈性和功能擴充空間的檔案搬移方法和系統,係相當重要的課題。 Banks or enterprises often need to exchange important information with external institutions such as stock exchanges, joint credit information centers, etc. If such information such as customer files and transaction records are lost, they may suffer huge losses and are of high value. High timeliness, so how to effectively utilize the limited storage space and provide a file transfer method and system with flexibility and functional expansion space is a very important issue.
於此實施例中,多參數電腦檔案搬移系統100與多參數電腦檔案搬移方法200有助於提高金融資料檔案系統中儲存空間的利用效率及檔案存取的可靠性。
In this embodiment, the multi-parameter computer
其中,處理單元120被配置為根據該電腦檔案之複數個屬性參數,計算一搬移分數。在本揭示文件的部分實施例中,該搬移分數可以下列式一得出:
其中Score為該搬移分數,e為自然常數,一變數t則可以下列式二得出:
其中an為該些屬性參數,pn為複數個對應該些屬性參數之屬性權重,m為本次計算考量之該些屬性參數個數。 where an is the attribute parameters, p n is a plurality of attribute weights corresponding to the attribute parameters, and m is the number of the attribute parameters considered in this calculation.
步驟S201進一步包含:其中該些屬性參數係根據該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、 該電腦檔案建立時間、該電腦檔案最近一次被存取的時間以及該電腦檔案被存取的機率計算得出。 Step S201 further includes: wherein the attribute parameters are based on the size of the computer file, the storage space usage rate of the location where the computer file is stored, The time when the computer file was created, the time when the computer file was last accessed, and the probability of the computer file being accessed are calculated.
在本揭示文件的部分實施例中,a1可設為該電腦檔案的大小、a2可設為該電腦檔案存放位置的儲存空間使用率、a3可設為當下時間減去該電腦檔案建立時間、a4可設為當下時間減去該電腦檔案最近一次被存取的時間、a5可設為1減去該電腦檔案被存取的機率,且屬性參數a1至a5皆為正數。 In some embodiments of the present disclosure, a1 can be set as the size of the computer file, a2 can be set as the storage space usage rate of the location where the computer file is stored, and a3 can be set as the current time minus the computer file creation Time, a 4 can be set to the current time minus the time when the computer file was last accessed, a 5 can be set to 1 minus the probability of the computer file being accessed, and the attribute parameters a 1 to a 5 are all positive numbers .
如此一來,當該電腦檔案的大小越大、該電腦檔案存放位置的儲存空間使用率越高、該電腦檔案建立時間距當下時間越久、該電腦檔案最近一次被存取的時間距當下時間越久或該電腦檔案被存取的機率越低時,該些屬性參數的值越大。 In this way, when the size of the computer file is larger, the storage space utilization rate of the storage location of the computer file is higher, the creation time of the computer file is longer from the current time, and the time when the computer file was last accessed is longer than the current time. Or the lower the probability of the computer file being accessed, the larger the value of these attribute parameters.
根據上列式二,屬性參數a1至a5分別乘以其對應之屬性權重p1至p5後相加得到變數t,而該些屬性權重可依據使用者對不同屬性之需求調整數值大小,當該些屬性權重的值越大,且為正數時,其所對應之屬性參數對變數t的值影響力也越高,而屬性參數a1至a5的值和變數t的值的大小呈正相關。 According to the above formula 2, the attribute parameters a 1 to a 5 are respectively multiplied by their corresponding attribute weights p 1 to p 5 and then added to obtain the variable t, and these attribute weights can be adjusted according to the needs of users for different attributes. , when the value of these attribute weights is larger and is a positive number, the corresponding attribute parameter has a higher influence on the value of the variable t, and the value of the attribute parameters a 1 to a 5 and the value of the variable t are positive. related.
參考上列式一可以了解到,當變數t的值為正,且越大時,搬移分數Score的值則越大,且介於0和1之間。 Referring to the above formula 1, it can be known that when the value of the variable t is positive, and the larger the value, the larger the value of the transfer score Score is, and is between 0 and 1.
由前述可知,該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率與搬移分數Score呈正相關;而該電腦檔案建立時間、該電腦檔案最近一次被存取的時間、該電腦檔案被存取的機率則與搬移分數Score呈負相關(以電腦時間變數之規則時間越早,其值越小而言)。It can be seen from the foregoing that the size of the computer file, the storage space usage rate of the storage location of the computer file and the moving score Score are positively correlated; and the creation time of the computer file, the time when the computer file was last accessed, and the time when the computer file was accessed The probability is negatively correlated with the moving score Score (in terms of the earlier the regular time of the computer time variable, the smaller its value).
需要注意的是,當使用者不需要考量屬性參數a 1至a 5中部分屬性參數所代表之因素時,亦可將其對應之該屬性權重設為0;而根據使用者的需求,可再新增屬性參數a n以及其所對應之屬性權重p n,以引入更多不同的因素決定是否搬移該電腦檔案,增加該多參數電腦檔案搬移方法和系統之彈性。 It should be noted that when the user does not need to consider the factors represented by some of the attribute parameters in the attribute parameters a 1 to a 5 , the corresponding attribute weight can also be set to 0; The attribute parameter an and its corresponding attribute weight p n are added to introduce more different factors to determine whether to move the computer file, and increase the flexibility of the multi-parameter computer file moving method and system.
在本揭示文件部分實施例中,在執行步驟S202時,處理單元120根據搬移分數Score以及一門檻,判斷是否搬移該電腦檔案。其中該門檻可設為一介於0至1之間的數,並且當搬移分數Score大於該門檻,且小於1時,搬移該電腦檔案。至於該門檻可視使用者的需求以及儲存單元110當下的狀況而定,例如儲存單元110剩餘空間不多,而使用者有急迫的空間需求時,該門檻可降低以將更多檔案搬離儲存單元110。In some embodiments of the present disclosure, when step S202 is executed, the
需要注意的是,搬移該電腦檔案可根據使用者需求,設定為將該電腦檔案搬移至儲存單元110中其他指定位置、其他儲存空間或直接自儲存單元110中刪除。It should be noted that the computer file can be moved to other designated locations in the
舉例來說,儲存單元110包含至少兩個儲存媒體,其中一第一儲存媒體為檔案存取速度較快的磁碟(例如:固態硬碟)、一第二儲存媒體為檔案存取速度相對較慢的儲存空間(例如:傳統硬碟)。由於該第一儲存媒體檔案存取速度較快,其存放有金融機構經常使用或重要的電腦檔案(例如:使用者的帳戶資料、交易資訊、保單契約),以提升系統作業效率;另一方面,該第一儲存媒體的每單位容量價格較該第二儲存媒體高,因此以該第二儲存媒體存放較不常使用的電腦檔案,以兼顧經濟效益。而當該第一儲存空間所剩餘空間減少或不足時,則須以多參數電腦檔案搬移方法200判斷該第一儲存媒體中存放之電腦檔案中,哪些電腦檔案應搬移至該第二儲存媒體。For example, the
於本揭示文件部份實施例中,當步驟S202判斷搬移該電腦檔案時,處理單元120便可以將該電腦檔案從儲存單元110中的該第一儲存媒體搬移至該第二儲存媒體,例如自固態硬碟搬移至用於備份的傳統硬碟中。藉此,可以增加存取速度較快的該第一儲存媒體可用容量,提高儲存空間使用效率。In some embodiments of the present disclosure, when step S202 determines to move the computer file, the
於本揭示文件另一實施例中,當步驟S202判斷搬移該電腦檔案時,亦可以直接從該第一儲存媒體當中刪除該電腦檔案。In another embodiment of the present disclosure, when it is determined in step S202 to move the computer file, the computer file can also be directly deleted from the first storage medium.
於本揭示文件其他實施例中,當步驟S202判斷搬移該電腦檔案時,也可以對該第一儲存媒體進行磁碟重組,透過搬移該電腦檔案,增加該第一儲存媒體中檔案的連續性。In other embodiments of the present disclosure, when it is determined in step S202 to move the computer file, the first storage medium may also be reorganized to increase the continuity of the files in the first storage medium by moving the computer file.
在本揭示文件其他實施例中,該電腦檔案進一步包含一可搬移參數,而步驟S202進一步包含若該可搬移參數為不可搬移,則判斷不搬移該電腦檔案。此時,可搬移分數Score可以下列式三得出: [式三] In other embodiments of the present disclosure, the computer file further includes a transferable parameter, and step S202 further includes determining not to transfer the computer file if the transferable parameter is not transferable. At this time, the movable score Score can be obtained from the following formula 3: [Formula 3]
其中a
0為該可搬移參數,預設值為0,若該電腦檔案為一不可搬移的檔案(例如:系統檔案、程式執行檔或其他重要檔案),可將其設為1。如此一來,該不可搬移的檔案之搬移分數Score將大於1,則不會符合搬移分數Score大於該門檻,且小於1的條件,而被處理單元120搬移。另一方面,當可搬移參數a
0為0時,前述實施例的計算和判斷機制亦得運作,判斷該電腦檔案是否應進行搬移。
Among them, a 0 is the movable parameter, and the default value is 0. If the computer file is a non-movable file (for example: system file, program execution file or other important files), it can be set to 1. In this way, the transfer score Score of the unmovable file will be greater than 1, so it will not meet the condition that the transfer score Score is greater than the threshold and less than 1, and is moved by the
需要注意的是,可搬移參數a
0可依使用者設定,亦可以處理單元120在執行該多參數電腦檔案搬移方法前,對符合特定條件的該電腦檔案進行設定。舉例來說,可將已知不可刪除的電腦檔案如附檔名為dll、exe等電腦檔案之可搬移參數a
0設為1,則該電腦檔案不會被該多參數電腦檔案搬移方法或系統判斷需要搬移。
It should be noted that the transferable parameter a 0 can be set by the user, and the
本揭示文件提出之多參數電腦檔案搬移方法和系統,其具有考量多種電腦檔案、儲存空間屬性,引入多個因素,再進一步對電腦檔案判斷是否進行搬移之技術特徵,如此一來,除了相較於現有技術擁有更多彈性外,更可以應用至作業系統檔案的清理、搬移上,使儲存空間的利用更有效率。The multi-parameter computer file transfer method and system proposed in this disclosure document has the technical characteristics of considering various computer files and storage space attributes, introducing a number of factors, and further judging whether or not to transfer the computer files. In addition to having more flexibility in the existing technology, it can also be applied to the cleaning and moving of operating system files, making the use of storage space more efficient.
由於本揭示文件具有以上技術特點,在本揭示文件的部分實施例中,該多參數電腦檔案搬移方法和系統係應用於一金融資料檔案系統。使用者可透過手動設定檔案屬性參數,例如將檔案名稱中包含特定字詞的檔案之可搬移參數a 0設定為1;或引入其他考量因素,例如加入新的屬性參數,使特定資料夾內的檔案較不容易被搬移等,以符合金融資料檔案具高價值、高時效性的需求。 Since the present disclosure has the above technical features, in some embodiments of the present disclosure, the multi-parameter computer file transfer method and system are applied to a financial data file system. The user can manually set the file attribute parameters, such as setting the movable parameter a 0 of the file containing a specific word in the file name to 1; or introduce other considerations, such as adding a new attribute parameter, so that the file in a specific folder can be moved. Files are less likely to be moved, etc., in order to meet the needs of financial data files with high value and high timeliness.
雖以數個實施例詳述如上作為示例,然本揭示文件所提出之多參數電腦檔案搬移系統、多參數電腦檔案搬移方法亦得以其他系統、硬體、軟體、儲存媒體或其組合實現。因此,本揭示文件之保護範圍不應受限於本揭示文件實施例所描述之特定實現方式,當視後附之申請專利範圍所界定者為準。Although several embodiments are described above as examples, the multi-parameter computer file transfer system and multi-parameter computer file transfer method proposed in this disclosure can also be implemented by other systems, hardware, software, storage media or combinations thereof. Therefore, the protection scope of this disclosure should not be limited to the specific implementations described in the embodiments of this disclosure, but should be defined by the scope of the appended claims.
對於本揭示文件所屬技術領域中具有通常知識者顯而易見的是,在不脫離本揭示文件的範圍或精神的情況下,可以對本揭示文件的結構進行各種修改和變化。鑑於前述,本揭示文件之保護範圍亦涵蓋在後附之申請專利範圍內進行之修改和變化。It will be apparent to those skilled in the art to which this disclosure pertains that various modifications and changes can be made in the structure of the present disclosure without departing from the scope or spirit of the present disclosure. In view of the foregoing, the protection scope of the present disclosure also covers the modifications and changes made within the scope of the appended claims.
100:多參數電腦檔案搬移系統 110:儲存單元 120:處理單元 200:多參數電腦檔案搬移方法 S201,S202:步驟 100: Multi-parameter computer file transfer system 110: Storage unit 120: Processing unit 200: Multi-parameter computer file transfer method S201, S202: Steps
為讓本揭示文件之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下: 第1圖為本揭示文件一實施例之多參數電腦檔案搬移系統示意圖;以及 第2圖為本揭示文件一實施例之多參數電腦檔案搬移方法流程圖。 In order to make the above and other objects, features, advantages and embodiments of the present disclosure more clearly understood, the accompanying drawings are described as follows: FIG. 1 is a schematic diagram of a multi-parameter computer file transfer system according to an embodiment of the disclosure; and FIG. 2 is a flowchart of a multi-parameter computer file transfer method according to an embodiment of the disclosed document.
100:多參數電腦檔案搬移系統 100: Multi-parameter computer file transfer system
110:儲存單元 110: Storage unit
120:處理單元 120: Processing unit
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111203898U TWM629647U (en) | 2022-04-15 | 2022-04-15 | Multi-parameter computer file migration system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111203898U TWM629647U (en) | 2022-04-15 | 2022-04-15 | Multi-parameter computer file migration system |
Publications (1)
Publication Number | Publication Date |
---|---|
TWM629647U true TWM629647U (en) | 2022-07-11 |
Family
ID=83437729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111203898U TWM629647U (en) | 2022-04-15 | 2022-04-15 | Multi-parameter computer file migration system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWM629647U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI812172B (en) * | 2022-04-15 | 2023-08-11 | 合作金庫商業銀行股份有限公司 | Multi-parameter computer file migration method and multi-parameter computer file migration system |
-
2022
- 2022-04-15 TW TW111203898U patent/TWM629647U/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI812172B (en) * | 2022-04-15 | 2023-08-11 | 合作金庫商業銀行股份有限公司 | Multi-parameter computer file migration method and multi-parameter computer file migration system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11288129B2 (en) | Tiering data to a cold storage tier of cloud object storage | |
US9996557B2 (en) | Database storage system based on optical disk and method using the system | |
CN103914516B (en) | A kind of method and system of storage system multi-zone supervision | |
US7653781B2 (en) | Automatic RAID disk performance profiling for creating optimal RAID sets | |
CN103034592B (en) | Data processing method and device | |
CN102222085A (en) | Data de-duplication method based on combination of similarity and locality | |
CN107291889A (en) | A kind of date storage method and system | |
CN109558457A (en) | A kind of method for writing data, device, equipment and storage medium | |
CN109324758A (en) | Data migration method, device and storage equipment | |
CN107729558A (en) | Method, system, device and the computer-readable storage medium that file system fragmentation arranges | |
CN109598156A (en) | Engine snapshot stream method is redirected when one kind is write | |
CN103019890A (en) | Block-level disk data protection system and method thereof | |
CN107239569A (en) | A kind of distributed file system subtree storage method and device | |
CN107967122A (en) | A kind of method for writing data of block device, device and medium | |
CN103473298A (en) | Data archiving method and device and storage system | |
CN110007870A (en) | A kind of storage equipment write request processing method and relevant apparatus | |
WO2023185111A1 (en) | Quick access method and device for data file | |
TWM629647U (en) | Multi-parameter computer file migration system | |
CN114442937B (en) | File caching method and device, computer equipment and storage medium | |
CN108595589A (en) | A kind of efficient access method of magnanimity science data picture | |
CN107506466A (en) | A kind of small documents storage method and system | |
US11789622B2 (en) | Method, device and computer program product for storage management | |
JP6531574B2 (en) | Storage device, storage device control program and storage device control method | |
CN107315661A (en) | A kind of cluster file system deleted document restoration methods and device | |
CN100543748C (en) | A kind of method and system of utilizing file allocation table to carry out the file tracking |