TWI812172B - Multi-parameter computer file migration method and multi-parameter computer file migration system - Google Patents

Multi-parameter computer file migration method and multi-parameter computer file migration system Download PDF

Info

Publication number
TWI812172B
TWI812172B TW111114542A TW111114542A TWI812172B TW I812172 B TWI812172 B TW I812172B TW 111114542 A TW111114542 A TW 111114542A TW 111114542 A TW111114542 A TW 111114542A TW I812172 B TWI812172 B TW I812172B
Authority
TW
Taiwan
Prior art keywords
computer file
parameter
score
file
computer
Prior art date
Application number
TW111114542A
Other languages
Chinese (zh)
Other versions
TW202343275A (en
Inventor
陳威成
Original Assignee
合作金庫商業銀行股份有限公司
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 合作金庫商業銀行股份有限公司 filed Critical 合作金庫商業銀行股份有限公司
Priority to TW111114542A priority Critical patent/TWI812172B/en
Application granted granted Critical
Publication of TWI812172B publication Critical patent/TWI812172B/en
Publication of TW202343275A publication Critical patent/TW202343275A/en

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Hardware Redundancy (AREA)
  • Stored Programmes (AREA)

Abstract

A multi-parameter computer file migration method, for deciding whether a computer file should be migrated, includes following steps. A migration grade is calculated by attribute parameters of the computer file. The attribute parameters are calculated according to a size of the computer file, a usage percentage of the storage space where the computer file located, a create time of the computer file, a last access time of the computer file, and a possibility of the computer file would be accessed in the future. Decide whether the computer file should be migrated according to the migration grade and a threshold.

Description

多參數電腦檔案搬移方法和系統Multi-parameter computer file moving method and system

本揭示文件有關於一種電腦檔案搬移方法與系統,特別是有關於一種多參數電腦檔案搬移方法與系統。This disclosure document relates to a computer file moving method and system, and in particular to a multi-parameter computer file moving method and system.

一般對於電腦檔案系統的清理方式(housekeeping)不外乎設定排程,定期針對某個目錄或資料夾內的檔案進行篩選,將超過一段時間沒有被存取過的檔案刪除,或是將其搬移(migrate)至次級的硬碟空間、磁帶備份等。以檔案的最後存取時間為控制參數之判斷方式固然可行,但其忽略其他因素。有些重要檔案(例如:系統檔案、程式執行檔)可能因爲電腦很久沒有關機,或因為應用程式每隔很長一段時間才跑一次,結果造成重要檔案被誤搬或誤刪,影響電腦系統運作。Generally, the way to clean up the computer file system (housekeeping) is nothing more than setting a schedule to regularly filter the files in a certain directory or folder, delete the files that have not been accessed for more than a period of time, or move them (migrate) to secondary hard drive space, tape backup, etc. It is possible to use the last access time of the file as the control parameter, but it ignores other factors. Some important files (such as system files and program execution files) may be accidentally moved or deleted because the computer has not been shut down for a long time, or because the application runs only for a long period of time, which affects the operation of the computer system.

另一方面,由於考量的因素較少,現有的磁碟重組(defrag)技術僅牽涉到低階的磁碟磁區搬移動作,無法對作業系統層次的檔案進行搬移、重整,對於儲存空間的優化效果仍有限。On the other hand, due to fewer factors to consider, the existing disk defragmentation (defrag) technology only involves low-level disk sector movement operations, and cannot move or reorganize files at the operating system level, which affects the storage space. The optimization effect is still limited.

為解決現有技術之不足,本揭示文件提供一種多參數電腦檔案搬移方法,其包含以下步驟。根據一電腦檔案之複數個屬性參數,計算一搬移分數,其中該些屬性參數係根據該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案建立時間、該電腦檔案最近一次被存取的時間以及該電腦檔案被存取的機率計算得出。根據該搬移分數以及一門檻,判斷是否搬移該電腦檔案。In order to solve the deficiencies of the existing technology, this disclosure document provides a multi-parameter computer file moving method, which includes the following steps. Calculate a relocation score based on a plurality of attribute parameters of a computer file, wherein the attribute parameters are based on the size of the computer file, the storage space usage of the computer file storage location, the creation time of the computer file, and the last time the computer file was The time of access and the probability that the computer file is accessed are calculated. Based on the migration score and a threshold, it is determined whether to migrate the computer file.

本揭示文件提供一種多參數電腦檔案搬移系統,包含一儲存單元和一處理單元。其中該儲存單元儲存一電腦檔案。該處理單元通訊連接該儲存單元,其被配置為根據該電腦檔案之複數個屬性參數,計算一搬移分數,其中該些屬性參數係根據該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案建立時間、該電腦檔案最近一次被存取的時間以及該電腦檔案被存取的機率計算得出。根據該搬移分數以及一門檻,判斷是否搬移該電腦檔案。This disclosure document provides a multi-parameter computer file moving system, including 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 move score based on 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 usage of the computer file storage location. , the creation time of the computer file, the last time the computer file was accessed, and the probability of the computer file being accessed are calculated. Based on the migration score and a threshold, it is determined whether to migrate the computer file.

應該理解的是,前述的一般性描述和下列具體說明僅僅是示例性和解釋性的,並旨在提供所要求的本揭示文件的進一步說明。It is to be understood that both the foregoing general description and the following specific description are exemplary and explanatory only and are intended to provide further explanation of the present disclosure as required.

為了使本揭示文件之敘述更加詳盡與完備,可參照所附之圖式及以下所述各種實施例,圖式中相同之號碼代表相同或相似之元件。In order to make the description of this disclosure document more detailed and complete, reference may be made to the attached drawings and the various embodiments described below. The same numbers in the drawings represent the same or similar components.

請參照第1、2圖,其分別為本揭示文件一實施例之多參數電腦檔案搬移系統100之示意圖以及多參數電腦檔案搬移方法200之流程圖。如第1圖所示,多參數電腦檔案搬移系統100包含一儲存單元110以及一處理單元120,其中儲存單元110儲存一電腦檔案,而處理單元120被配置為執行如第2圖所示之多參數電腦檔案搬移方法之步驟S201、S202。Please refer to Figures 1 and 2, which are respectively a schematic diagram of a multi-parameter computer file moving system 100 and a flow chart of a multi-parameter computer file moving method 200 according to an embodiment of this disclosure document. As shown in Figure 1, the multi-parameter computer file moving system 100 includes a storage unit 110 and a processing unit 120, where the storage unit 110 stores a computer file, and the processing unit 120 is configured to execute as shown in Figure 2 Steps S201 and S202 of the parameter computer file moving method.

於本揭示文件部分實施例中,多參數電腦檔案搬移系統100是用以管理金融資料檔案系統,例如銀行、保險公司、證卷交易所內部儲存客戶資料的檔案伺服器。In some embodiments of this disclosure document, the multi-parameter computer file migration system 100 is used to manage financial information file systems, such as file servers that store customer information within banks, insurance companies, and stock exchanges.

在金融產業中,為了符合客戶需求,許多如存款、提款、匯款等金融業務是全年無休的,提供服務的系統亦是每天24小時持續運作,交易等各項業務的紀錄不斷累積,為維持穩定性,系統需要定期對儲存空間進行整理、重組,此時可能因處非上班日,某些檔案因假期緣故未有人員存取紀錄,而遭系統自動刪除。In the financial industry, in order to meet customer needs, many financial services such as deposits, withdrawals, remittances, etc. are open year-round. The systems that provide services also continue to operate 24 hours a day. Records of transactions and other businesses are constantly accumulating. To maintain stability, the system needs to organize and reorganize the storage space regularly. At this time, it may be a non-working day, and some files may not have access records due to holidays, so they may be automatically deleted by the system.

另一方面,金融產業可能因特殊事件而業務量急劇上升,例如政府推行紓困案時,銀行業務量突增,於此同時檔案系統的負擔亦增加,使得系統因可用儲存空間減少,而以更寬鬆的標準將更多檔案搬移、刪除,造成預期外的錯誤處置。On the other hand, the financial industry may experience a sharp increase in business volume due to special events. For example, when the government implements a bailout package, bank business volume suddenly increases. At the same time, the burden on the file system also increases, causing the system to reduce the available storage space. Looser standards will move and delete more files, causing unexpected mishandling.

銀行或企業經常需要和外部機構如:證券交易所、聯合徵信中心等交換重要資料,該些資料如客戶檔案、交易紀錄若遺失,可能蒙受巨大的損失,具高價值性,且交換作業具高度時效性,因此如何有效地利用有限的儲存空間,且提供具彈性和功能擴充空間的檔案搬移方法和系統,係相當重要的課題。Banks or enterprises often need to exchange important information with external institutions such as stock exchanges, joint credit reporting centers, etc. If this information such as customer files and transaction records are lost, they may suffer huge losses, are of high value, and the exchange operation is very complicated. It is highly time-sensitive, so how to effectively utilize limited storage space and provide file migration methods and systems with flexibility and functional expansion space is a very important issue.

於此實施例中,多參數電腦檔案搬移系統100與多參數電腦檔案搬移方法200有助於提高金融資料檔案系統中儲存空間的利用效率及檔案存取的可靠性。In this embodiment, the multi-parameter computer file moving system 100 and the multi-parameter computer file moving method 200 help to improve the utilization efficiency of storage space and the reliability of file access in the financial information file system.

在步驟S201中,處理單元120根據該電腦檔案之複數個屬性參數,計算一搬移分數。在本揭示文件的部分實施例中,該搬移分數可以下列式一得出: [式一] In step S201, the processing unit 120 calculates a migration score based on a plurality of attribute parameters of the computer file. In some embodiments of this disclosure document, the relocation score can be obtained by the following formula 1: [Formula 1]

其中Score為該搬移分數,e為自然常數,一變數t則可以下列式二得出:

Figure 111114542-A0305-02-0007-1
Among them, Score is the transfer score, e is a natural constant, and a variable t can be obtained by the following formula 2:
Figure 111114542-A0305-02-0007-1

其中an為該些屬性參數,pn為複數個對應該些屬性參數之屬性權重,m為本次計算考量之該些屬性參數個數。 Among them, a n is these attribute parameters, p n is a plurality of attribute weights corresponding to these attribute parameters, and m is the number of these attribute parameters considered in this calculation.

步驟S201進一步包含:其中該些屬性參數係根據該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案建立時間、該電腦檔案最近一次被存取的時間以及該電腦檔案被存取的機率計算得出。 Step S201 further includes: the attribute parameters are based on the size of the computer file, the storage space usage of the computer file storage location, the creation time of the computer file, the last time the computer file was accessed, and the time when the computer file was stored. The probability of taking is calculated.

在本揭示文件的部分實施例中,a1可設為該電腦檔案的大小、a2可設為該電腦檔案存放位置的儲存空間使用率、a3可設為當下時間減去該電腦檔案建立時間、a4可設為當下時間減去該電腦檔案最近一次被存取的時間、a5可設為1減去該電腦檔案被存取的機率,且屬性參數a1至a5皆為正數。 In some embodiments of this disclosure document, a 1 can be set to the size of the computer file, a 2 can be set to the storage space usage of the computer file storage location, and a 3 can be set to the current time minus the creation of the computer file. 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, the larger the size of the computer file, the higher the storage space usage of the computer file storage location, the longer the creation time of the computer file is from the current time, and the longer the computer file was last accessed from the current time. Or the lower the probability that the computer file is accessed, the greater the value of these attribute parameters.

根據上列式二,屬性參數a1至a5分別乘以其對應之屬性權重p1至p5後相加得到變數t,而該些屬性權重可依據使用者對不同屬性之需求調整數值大小,當該些屬性權重的值越大,且為正數時,其所對應之屬性參數對變數t的值影響力也越高,而屬性參數a 1至a 5的值和變數t的值的大小呈正相關。 According to the above formula 2, the attribute parameters a 1 to a 5 are multiplied by their corresponding attribute weights p 1 to p 5 respectively and then added together to obtain the variable t. The value of these attribute weights can be adjusted according to the user's needs for different attributes. , when the value of these attribute weights is larger and is a positive number, the corresponding attribute parameters have a higher influence on the value of variable t, and the values of attribute parameters a 1 to a 5 and the value of variable t are positive. Related.

參考上列式一可以了解到,當變數t的值為正,且越大時,搬移分數Score的值則越大,且介於0和1之間。Referring to the above formula 1, we can understand that when the value of the variable t is positive and larger, the value of the relocation score Score is larger and is between 0 and 1.

由前述可知,該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率與搬移分數Score呈正相關;而該電腦檔案建立時間、該電腦檔案最近一次被存取的時間、該電腦檔案被存取的機率則與搬移分數Score呈負相關(以電腦時間變數之規則時間越早,其值越小而言)。It can be seen from the above that the size of the computer file, the storage space usage of the computer file storage location and the migration score are positively correlated; and the creation time of the computer file, the time when the computer file was last accessed, the time when the computer file was accessed The probability is negatively correlated with the relocation score Score (based on the rule of the computer time variable, the earlier the time, 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 a 1 to a 5 , the corresponding attribute weight can also be set to 0; and according to the user's needs, the corresponding attribute weight can be set to 0. A new attribute parameter a n and its corresponding attribute weight p n are added to introduce more different factors to decide 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 this disclosure document, when executing step S202, the processing unit 120 determines whether to move the computer file based on the migration score Score and a threshold. The threshold can be set to a number between 0 and 1, and when the migration score Score is greater than the threshold and less than 1, the computer file is moved. As for the threshold, it depends on the user's needs and the current status of the storage unit 110. For example, when the storage unit 110 has little remaining space and the user has urgent space needs, the threshold can be lowered to move more files out of the storage unit. 110.

需要注意的是,搬移該電腦檔案可根據使用者需求,設定為將該電腦檔案搬移至儲存單元110中其他指定位置、其他儲存空間或直接自儲存單元110中刪除。It should be noted that the moving of the computer file can be set to move the computer file to other designated locations in the storage unit 110, other storage spaces, or directly delete it from the storage unit 110 according to the user's needs.

舉例來說,儲存單元110包含至少兩個儲存媒體,其中一第一儲存媒體為檔案存取速度較快的磁碟(例如:固態硬碟)、一第二儲存媒體為檔案存取速度相對較慢的儲存空間(例如:傳統硬碟)。由於該第一儲存媒體檔案存取速度較快,其存放有金融機構經常使用或重要的電腦檔案(例如:使用者的帳戶資料、交易資訊、保單契約),以提升系統作業效率;另一方面,該第一儲存媒體的每單位容量價格較該第二儲存媒體高,因此以該第二儲存媒體存放較不常使用的電腦檔案,以兼顧經濟效益。而當該第一儲存空間所剩餘空間減少或不足時,則須以多參數電腦檔案搬移方法200判斷該第一儲存媒體中存放之電腦檔案中,哪些電腦檔案應搬移至該第二儲存媒體。For example, the storage unit 110 includes at least two storage media, wherein a first storage medium is a magnetic disk (such as a solid state drive) with a faster file access speed, and a second storage medium is a disk with a relatively faster file access speed. Slow storage space (e.g. traditional hard drive). Because the first storage media file access speed is faster, it stores frequently used or important computer files of financial institutions (such as user account information, transaction information, policy contracts) to improve system operation efficiency; on the other hand, , the price per unit capacity of the first storage medium is higher than that of the second storage medium, so the second storage medium is used to store less frequently used computer files to take into account economic benefits. When the remaining space of the first storage space is reduced or insufficient, the multi-parameter computer file moving method 200 must be used to determine which computer files stored in the first storage medium should be moved to the second storage medium.

於本揭示文件部份實施例中,當步驟S202判斷搬移該電腦檔案時,處理單元120便可以將該電腦檔案從儲存單元110中的該第一儲存媒體搬移至該第二儲存媒體,例如自固態硬碟搬移至用於備份的傳統硬碟中。藉此,可以增加存取速度較快的該第一儲存媒體可用容量,提高儲存空間使用效率。In some embodiments of this disclosure document, when it is determined that the computer file is moved in step S202, the processing unit 120 can move the computer file from the first storage medium in the storage unit 110 to the second storage medium, for example, from The solid state drive is moved to a traditional hard drive for backup. In this way, the available capacity of the first storage medium with faster access speed can be increased, and the storage space usage efficiency can be improved.

於本揭示文件另一實施例中,當步驟S202判斷搬移該電腦檔案時,亦可以直接從該第一儲存媒體當中刪除該電腦檔案。In another embodiment of this disclosure document, when step S202 determines that the computer file is to be moved, the computer file can also be directly deleted from the first storage medium.

於本揭示文件其他實施例中,當步驟S202判斷搬移該電腦檔案時,也可以對該第一儲存媒體進行磁碟重組,透過搬移該電腦檔案,增加該第一儲存媒體中檔案的連續性。In other embodiments of this disclosure document, when step S202 determines that the computer file is to be moved, disk reorganization can also be performed on the first storage medium to increase the continuity of the files in the first storage medium by moving the computer file.

在本揭示文件其他實施例中,該電腦檔案進一步包含一可搬移參數,而步驟S202進一步包含若該可搬移參數為不可搬移,則判斷不搬移該電腦檔案。此時,可搬移分數Score可以下列式三得出: [式三] In other embodiments of this disclosure, the computer file further includes a moveable parameter, and step S202 further includes determining not to move the computer file if the moveable parameter indicates that it is not moveable. At this time, the movable score Score can be obtained by the following formula 3: [Formula 3]

其中a 0為該可搬移參數,預設值為0,若該電腦檔案為一不可搬移的檔案(例如:系統檔案、程式執行檔或其他重要檔案),可將其設為1。如此一來,該不可搬移的檔案之搬移分數Score將大於1,則不會符合搬移分數Score大於該門檻,且小於1的條件,而被處理單元120搬移。另一方面,當可搬移參數a 0為0時,前述實施例的計算和判斷機制亦得運作,判斷該電腦檔案是否應進行搬移。 Among them, a 0 is the removable parameter, and the default value is 0. If the computer file is a non-removable file (for example: system file, program execution file or other important file), it can be set to 1. In this way, the migration score Score of the unmovable file will be greater than 1, and it will not meet the condition that the migration score Score is greater than the threshold and less than 1, and will be moved by the processing unit 120. On the other hand, when the removable parameter a 0 is 0, the calculation and judgment mechanism of the aforementioned embodiment can also be operated to determine whether the computer file should be moved.

需要注意的是,可搬移參數a 0可依使用者設定,亦可以處理單元120在執行該多參數電腦檔案搬移方法前,對符合特定條件的該電腦檔案進行設定。舉例來說,可將已知不可刪除的電腦檔案如附檔名為dll、exe等電腦檔案之可搬移參數a 0設為1,則該電腦檔案不會被該多參數電腦檔案搬移方法或系統判斷需要搬移。 It should be noted that the moveable parameter a 0 can be set by the user, or the processing unit 120 can set the computer file that meets specific conditions before executing the multi-parameter computer file moving method. For example, you can set the removable parameter a 0 to 1 for computer files that are known to be non-deletable, such as computer files with file extensions such as dll and exe. Then the computer file will not be moved by the multi-parameter computer file relocation method or system. It is judged that it needs to be moved.

本揭示文件提出之多參數電腦檔案搬移方法和系統,其具有考量多種電腦檔案、儲存空間屬性,引入多個因素,再進一步對電腦檔案判斷是否進行搬移之技術特徵,如此一來,除了相較於現有技術擁有更多彈性外,更可以應用至作業系統檔案的清理、搬移上,使儲存空間的利用更有效率。The multi-parameter computer file relocation method and system proposed in this disclosure document has the technical characteristics of considering a variety of computer files and storage space attributes, introducing multiple factors, and then further judging whether to move the computer files. In this way, in addition to comparing In addition to having more flexibility in existing technology, it can also be applied to cleaning and moving operating system files, making storage space utilization more efficient.

由於本揭示文件具有以上技術特點,在本揭示文件的部分實施例中,該多參數電腦檔案搬移方法和系統係應用於一金融資料檔案系統。使用者可透過手動設定檔案屬性參數,例如將檔案名稱中包含特定字詞的檔案之可搬移參數a 0設定為1;或引入其他考量因素,例如加入新的屬性參數,使特定資料夾內的檔案較不容易被搬移等,以符合金融資料檔案具高價值、高時效性的需求。 Since this disclosed document has the above technical features, in some embodiments of this disclosed document, the multi-parameter computer file moving method and system are applied to a financial information file system. Users can manually set file attribute parameters, such as setting the removable parameter a 0 to 1 for files whose file names contain specific words; or introduce other considerations, such as adding new attribute parameters to make the files in a specific folder The files are less likely to be moved, etc., in order to meet the needs of high value and high timeliness of financial information files.

雖以數個實施例詳述如上作為示例,然本揭示文件所提出之多參數電腦檔案搬移系統、多參數電腦檔案搬移方法亦得以其他系統、硬體、軟體、儲存媒體或其組合實現。因此,本揭示文件之保護範圍不應受限於本揭示文件實施例所描述之特定實現方式,當視後附之申請專利範圍所界定者為準。Although several embodiments are described in detail above as examples, the multi-parameter computer file moving system and multi-parameter computer file moving method proposed in this disclosure document can also be implemented in other systems, hardware, software, storage media or combinations thereof. Therefore, the protection scope of this disclosure document should not be limited to the specific implementation manners described in the embodiments of this disclosure document, but shall be subject to the scope of the appended patent application.

對於本揭示文件所屬技術領域中具有通常知識者顯而易見的是,在不脫離本揭示文件的範圍或精神的情況下,可以對本揭示文件的結構進行各種修改和變化。鑑於前述,本揭示文件之保護範圍亦涵蓋在後附之申請專利範圍內進行之修改和變化。It will be obvious to a person of ordinary skill in the technical field to which this disclosure document belongs that various modifications and changes can be made to the structure of this disclosure document without departing from the scope or spirit of this disclosure document. In view of the foregoing, the protection scope of this disclosure document also covers modifications and changes within the scope of the appended patent application.

100:多參數電腦檔案搬移系統 110:儲存單元 120:處理單元 200:多參數電腦檔案搬移方法 S201,S202:步驟 100:Multi-parameter computer file moving system 110:Storage unit 120: Processing unit 200: Multi-parameter computer file moving method S201, S202: steps

為讓本揭示文件之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下: 第1圖為本揭示文件一實施例之多參數電腦檔案搬移系統示意圖;以及 第2圖為本揭示文件一實施例之多參數電腦檔案搬移方法流程圖。 In order to make the above and other objects, features, advantages and embodiments of this disclosure more obvious and understandable, the accompanying drawings are described as follows: Figure 1 is a schematic diagram of a multi-parameter computer file moving system according to an embodiment of this disclosure document; and Figure 2 is a flow chart of a multi-parameter computer file moving method according to an embodiment of this disclosure document.

國內寄存資訊(請依寄存機構、日期、號碼順序註記) 無 國外寄存資訊(請依寄存國家、機構、日期、號碼順序註記) 無 Domestic storage information (please note in order of storage institution, date and number) without Overseas storage information (please note in order of storage country, institution, date, and number) without

200:多參數電腦檔案搬移方法 200: Multi-parameter computer file moving method

S201,S202:步驟 S201, S202: steps

Claims (9)

一種多參數電腦檔案搬移方法,其步驟包含:由一處理單元根據一電腦檔案之複數個屬性參數,計算一搬移分數,其中該些屬性參數係根據該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案建立時間、該電腦檔案最近一次被存取的時間以及該電腦檔案被存取的機率計算得出;以及由該處理單元根據該搬移分數以及一門檻,判斷是否搬移該電腦檔案;其中該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案最近一次被存取的時間與該搬移分數呈正相關,而該電腦檔案建立時間、該電腦檔案被存取的機率與該搬移分數則呈負相關。 A multi-parameter computer file moving method, the steps of which include: a processing unit calculates a moving score based on a plurality of attribute parameters of a computer file, wherein the attribute parameters are based on the size of the computer file and the storage location of the computer file. The space usage rate, 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 are calculated; and the processing unit determines whether to move the computer file based on the migration score and a threshold. Computer files; the size of the computer file, the storage space usage of the location where the computer file is stored, and the time when the computer file was last accessed are positively correlated with the migration score, and the creation time of the computer file, the time when the computer file was accessed The probability of is negatively correlated with the relocation score. 如請求項1所述之多參數電腦檔案搬移方法,其中該搬移分數可以下列式一得出:
Figure 111114542-A0305-02-0013-2
其中Score為該搬移分數,e為自然常數,一變數t則可以下列式二得出:
Figure 111114542-A0305-02-0013-3
其中an為該些屬性參數,pn為複數個對應該些屬性參數之屬性權重,m為該些屬性參數之個數。
As for the multi-parameter computer file moving method described in claim 1, the moving score can be obtained by the following formula 1:
Figure 111114542-A0305-02-0013-2
Among them, Score is the transfer score, e is a natural constant, and a variable t can be obtained by the following formula 2:
Figure 111114542-A0305-02-0013-3
Where a n is these attribute parameters, p n is a plurality of attribute weights corresponding to these attribute parameters, and m is the number of these attribute parameters.
如請求項1所述之多參數電腦檔案搬移方法,其中該電腦檔案包含一可搬移參數,該多參數電腦檔案搬移方法進一步包含以下步驟:若該可搬移參數為不可搬移,則判斷不搬移該電腦檔案。 The multi-parameter computer file moving method as described in claim 1, wherein the computer file includes a movable parameter, the multi-parameter computer file moving method further includes the following steps: if the movable parameter is unmovable, it is determined not to move the Computer files. 如請求項3所述之多參數電腦檔案搬移方法,其中該搬移分數可以下列式三得出:
Figure 111114542-A0305-02-0014-4
其中Score為該搬移分數,a0為該可搬移參數,e為自然常數,一變數t則可以下列式二得出:
Figure 111114542-A0305-02-0014-5
其中an為該些屬性參數,pn為複數個對應該些屬性參數之屬性權重,m為該些屬性參數之個數。
As for the multi-parameter computer file moving method described in claim 3, the moving score can be obtained by the following formula 3:
Figure 111114542-A0305-02-0014-4
Among them, Score is the relocation score, a 0 is the relocation parameter, e is a natural constant, and the variable t can be obtained by the following formula 2:
Figure 111114542-A0305-02-0014-5
Where a n is these attribute parameters, p n is a plurality of attribute weights corresponding to these attribute parameters, and m is the number of these attribute parameters.
如請求項2或4所述之多參數電腦檔案搬移方法,其中該些屬性參數包含:該電腦檔案的大小、該電腦檔案存放位置的儲存空間使用率、當下時間減去該電腦檔案建立時間、當下時間減去該電腦檔案最近一次被存取的時間、以及1減去該電腦檔案被存取的機率。 The multi-parameter computer file moving method as described in request item 2 or 4, wherein the attribute parameters include: the size of the computer file, the storage space usage of the computer file storage location, the current time minus the computer file creation time, The current time minus the time when the computer file was last accessed, and 1 minus the probability that the computer file was accessed. 如請求項1至4中任一項所述之多參數電腦檔案搬移方法,其中該電腦檔案係有關於電腦作業系統之一作業系統檔案。 The multi-parameter computer file moving method as described in any one of claims 1 to 4, wherein the computer file is an operating system file related to the computer operating system. 如請求項1至4中任一項所述之多參數電腦檔案搬移方法,其中該多參數電腦檔案搬移方法係應用於一金融資料檔案系統。 The multi-parameter computer file moving method as described in any one of claims 1 to 4, wherein the multi-parameter computer file moving method is applied to a financial information file system. 一種多參數電腦檔案搬移系統,包含:一儲存單元,儲存一電腦檔案;一處理單元,通訊連接該儲存單元,其中該處理單元被配置為:根據該電腦檔案之複數個屬性參數,計算一搬移分數,其中該些屬性參數係根據該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案建立時間、該電腦檔案最近一次被存取的時間以及該電腦檔案被存取的機率計算得出;以及根據該搬移分數以及一門檻,判斷是否搬移該電腦檔案;其中該電腦檔案大小、該電腦檔案存放位置的儲存空間使用率、該電腦檔案最近一次被存取的時間與該搬移分數呈正相關,而該電腦檔案建立時間、該電腦檔案被存取的機率與該搬移分數則呈負相關。 A multi-parameter computer file moving system includes: a storage unit that stores a computer file; a processing unit that is communicatively connected to the storage unit, wherein the processing unit is configured to: calculate a move based on a plurality of attribute parameters of the computer file Score, where these attribute parameters are based on the size of the computer file, the storage space usage of the location where the computer file is stored, the creation time of the computer file, the last time the computer file was accessed, and the probability of the computer file being accessed. It is calculated; and based on the migration score and a threshold, it is judged whether to move the computer file; the size of the computer file, the storage space usage of the computer file storage location, the time when the computer file was last accessed and the migration The score is positively correlated, while the computer file creation time, the probability of the computer file being accessed, and the migration score are negatively correlated. 如請求項8所述之多參數電腦檔案搬移系統,其中該電腦檔案包含一可搬移參數,該處理單元進一步被配置為:若該可搬移參數為不可搬移,則判斷不搬移該電腦檔案。 The multi-parameter computer file moving system as described in claim 8, wherein the computer file includes a movable parameter, and the processing unit is further configured to: if the movable parameter indicates that it cannot be moved, determine not to move the computer file.
TW111114542A 2022-04-15 2022-04-15 Multi-parameter computer file migration method and multi-parameter computer file migration system TWI812172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111114542A TWI812172B (en) 2022-04-15 2022-04-15 Multi-parameter computer file migration method and multi-parameter computer file migration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111114542A TWI812172B (en) 2022-04-15 2022-04-15 Multi-parameter computer file migration method and multi-parameter computer file migration system

Publications (2)

Publication Number Publication Date
TWI812172B true TWI812172B (en) 2023-08-11
TW202343275A TW202343275A (en) 2023-11-01

Family

ID=88585604

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111114542A TWI812172B (en) 2022-04-15 2022-04-15 Multi-parameter computer file migration method and multi-parameter computer file migration system

Country Status (1)

Country Link
TW (1) TWI812172B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170011012A1 (en) * 2015-07-07 2017-01-12 Adp, Llc Automatic verification of graphic rendition of json data
TW201911053A (en) * 2017-08-09 2019-03-16 宏碁股份有限公司 Smart defrag method and smart defrag system
TW202125278A (en) * 2019-12-20 2021-07-01 宏碁股份有限公司 Method for managing storage space and electronic apparatus using the same
TWM629647U (en) * 2022-04-15 2022-07-11 合作金庫商業銀行股份有限公司 Multi-parameter computer file migration system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170011012A1 (en) * 2015-07-07 2017-01-12 Adp, Llc Automatic verification of graphic rendition of json data
TW201911053A (en) * 2017-08-09 2019-03-16 宏碁股份有限公司 Smart defrag method and smart defrag system
TW202125278A (en) * 2019-12-20 2021-07-01 宏碁股份有限公司 Method for managing storage space and electronic apparatus using the same
TWM629647U (en) * 2022-04-15 2022-07-11 合作金庫商業銀行股份有限公司 Multi-parameter computer file migration system

Also Published As

Publication number Publication date
TW202343275A (en) 2023-11-01

Similar Documents

Publication Publication Date Title
US11288129B2 (en) Tiering data to a cold storage tier of cloud object storage
CN103914516B (en) A kind of method and system of storage system multi-zone supervision
CN102222085A (en) Data de-duplication method based on combination of similarity and locality
CN101963982B (en) Method for managing metadata of redundancy deletion and storage system based on location sensitive Hash
US7519638B2 (en) Method for developing enterprise information life cycle management policies and solutions
CN107506447A (en) A kind of small documents reading/writing method and system based on local file system
US9697571B2 (en) Real-time file system charge-back accounting per management object during a report cycle
US20150193473A1 (en) Database Storage System based on Optical Disk and Method Using the System
US20090254594A1 (en) Techniques to enhance database performance
CN109598156A (en) Engine snapshot stream method is redirected when one kind is write
CN101488153A (en) Method for implementing high-capacity flash memory file system in embedded type Linux
CN102713878A (en) Apparatus and method for managing a file in a distributed storage system
CN106484330A (en) A kind of hybrid magnetic disc individual-layer data optimization method and device
CN107704211A (en) A kind of magneto-optic electricity mixed light is made an inventory of goods in a warehouse and its management method and management system
CN109558457A (en) A kind of method for writing data, device, equipment and storage medium
CN110007870A (en) A kind of storage equipment write request processing method and relevant apparatus
CN109343797A (en) A kind of data cached transmission method, system and associated component
CN107967122A (en) A kind of method for writing data of block device, device and medium
WO2023185111A1 (en) Quick access method and device for data file
CN110083490A (en) A kind of database backup method, restoring method and storage medium
CN107168651A (en) A kind of small documents polymerize storage processing method
CN104050057B (en) Historical sensed data duplicate removal fragment eliminating method and system
TWM629647U (en) Multi-parameter computer file migration system
CN105302488B (en) The method for writing data and system of a kind of storage system
CN114442937B (en) File caching method and device, computer equipment and storage medium