TWI630496B - Data storage method and system thereof - Google Patents

Data storage method and system thereof Download PDF

Info

Publication number
TWI630496B
TWI630496B TW105127796A TW105127796A TWI630496B TW I630496 B TWI630496 B TW I630496B TW 105127796 A TW105127796 A TW 105127796A TW 105127796 A TW105127796 A TW 105127796A TW I630496 B TWI630496 B TW I630496B
Authority
TW
Taiwan
Prior art keywords
file
data
tape
processing module
period
Prior art date
Application number
TW105127796A
Other languages
Chinese (zh)
Other versions
TW201807600A (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 TW105127796A priority Critical patent/TWI630496B/en
Publication of TW201807600A publication Critical patent/TW201807600A/en
Application granted granted Critical
Publication of TWI630496B publication Critical patent/TWI630496B/en

Links

Landscapes

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

Abstract

一種資料保存系統包含一磁碟儲存模組、一包含多個磁帶的磁帶儲存模組及一處理模組。該磁碟儲存模組用於儲存多筆各自包含多個檔案之業務資料,及磁帶編號資料,並儲存至少一對應於至少一先前期別之對照表。該處理模組根據每一檔案之資料量、每一磁帶之容量及該磁帶編號資料,計算每一檔案對應的一磁帶區域編號,並將每一檔案儲存於該磁帶儲存模組中一對應於該磁帶區域編號的區域,並儲存對應於每一檔案之檔名與其磁帶區域編號之對應關係的一對照表,當該處理模組接收到一回存請求時,該處理模組根據回存請求及該等對照表回存對應的檔案。A data storage system includes a disk storage module, a tape storage module including a plurality of tapes, and a processing module. The disk storage module is configured to store a plurality of business data each containing a plurality of files, and tape number data, and store at least one comparison table corresponding to at least one previous period. The processing module calculates a tape area number corresponding to each file according to the data volume of each file, the capacity of each tape, and the tape number data, and stores each file in the tape storage module. The area of the tape area number, and storing a correspondence table corresponding to the file name of each file and its tape area number. When the processing module receives a return request, the processing module according to the return request And the comparison table returns the corresponding file.

Description

資料保存方法及其系統Data storage method and system thereof

本發明是有關於一種資料保存方法,特別是指一種須長期保存之資料的資料保存方法及其系統。The invention relates to a data storage method, in particular to a data storage method and a system thereof for long-term preservation of data.

因應相關政府法規之規定,銀行業者針對重要交易資料的保存時間相當地長,與一般檔案備份及保存方法不同,必須具有良好管理及嚴謹的稽核機制,以因應往後內部單位或外部單位調閱過去長期保存之資料的需求。In accordance with the relevant government regulations, the banking industry has a fairly long time to store important transaction data. Different from the general file backup and preservation methods, it must have a well-managed and rigorous audit mechanism to facilitate access to future internal units or external units. The need for long-term preservation of data in the past.

現有的資料保存方法,在儲存多筆分別對應不同業務類別之業務資料時,為了儲存之方便,該等業務資料被零散地儲存在磁帶館中的多個位置彼此距離較遠之不同磁帶上,往後若欲調閱該等業務資料時,須藉由控制機器手臂分別至磁帶館的不同位置取出不同磁帶,以回存該等業務資料,當資料的儲存越零散,則調取的磁帶數量也隨之越多,如此一來,將花費大量時間在調取磁帶的作業上。此外,回存程序須先查詢所欲調閱之業務資料所儲存的磁帶,此時,往往需藉由人工方式將所欲調閱之檔名一筆一筆鍵入查詢,實屬不便且耗時,再者,需藉由人工方式複製儲存於磁帶上的業務資料,無法自動執行批次回存,因而會增加人工作業處理成本及嚴重影響資料回存所需的時間。In the existing data storage method, when storing a plurality of business data corresponding to different service categories, for the convenience of storage, the business data is scattered and stored on different tapes at a plurality of locations in the tape library at a distance from each other. If you want to access the business data in the future, you must take out the different tapes by controlling the robot arm to different locations of the tape library to restore the business data. When the data is stored more scattered, the number of tapes retrieved will be retrieved. The more it is followed, the more time it will take to retrieve the tape. In addition, the recovery procedure must first query the tapes stored in the business data to be accessed. In this case, it is often inconvenient and time-consuming to manually enter the name of the file to be read by hand. Manually copying the business data stored on the tape requires automatic batch recovery, which increases the cost of manual processing and the time required to seriously affect data recovery.

因此,本發明之目的,即在提供一種可快速回存的資料保存方法。Accordingly, it is an object of the present invention to provide a data storage method that can be quickly restored.

於是,本發明資料保存方法,藉由一資料保存系統來實施,該資料保存系統包括一用於儲存多筆相關於一目前期別,且分別對應不同業務類別之業務資料,及包含一起始磁帶編號之磁帶編號資料,並儲存至少一對應於至少一先前期別之對照表的磁碟儲存模組、一包含多個磁帶的磁帶儲存模組,以及一電連接該磁碟儲存模組與該磁帶儲存模組的處理模組,每筆業務資料包含多個檔案,每一檔案具有各自不同的檔案內容,每一對應於一先前期別的對照表包含對應該先前期別之每一檔案的檔名與其磁帶區域編號之對應關係,該資料保存方法包含以下步驟:Therefore, the data saving method of the present invention is implemented by a data saving system, and the data saving system includes a plurality of business data related to a current business category and corresponding to different service categories, and includes a starting tape. Numbered tape number data, and storing at least one disk storage module corresponding to at least one previous period comparison table, a tape storage module including a plurality of tapes, and an electrical connection to the disk storage module and the The processing module of the tape storage module, each business data includes a plurality of files, each file has a different file content, and each of the corresponding tables corresponding to a previous period includes each file corresponding to the previous period. The correspondence between the file name and its tape area number, the data saving method includes the following steps:

(A)該處理模組根據儲存於該磁碟儲存模組之該等業務資料中的每一檔案之資料量、每一磁帶之容量及該磁帶編號資料,計算每一檔案對應的一磁帶區域編號;(A) the processing module calculates a tape area corresponding to each file according to the data amount of each file stored in the business data of the disk storage module, the capacity of each tape, and the tape number data. Numbering;

(B)該處理模組根據該等業務資料中的每一檔案所對應的該磁帶區域編號,將該等業務資料中的每一檔案儲存於該磁帶儲存模組中一對應於該磁帶區域編號的區域;(B) the processing module stores, according to the tape area number corresponding to each file in the service data, each file in the service data in the tape storage module, corresponding to the tape area number Area;

(C)該處理模組儲存對應於該目前期別,且包含該等業務資料中的每一檔案之檔名與其磁帶區域編號之一對應關係的一對照表於該磁碟儲存模組;(C) the processing module stores a comparison table corresponding to the current period and including a correspondence between the file name of each file in the service data and one of the tape area numbers in the disk storage module;

(D)當該處理模組接收到一包含一查詢期別及一查詢檔名的回存請求時,該處理模組根據該查詢期別獲得一含有相同於該查詢期別之期別的對照表,並根據該查詢檔名及所獲得的該對照表比對出該查詢檔名所對應的一磁帶區域編號;及(D) when the processing module receives a back-memory request including a query period and a query file name, the processing module obtains a comparison containing the same period of the query period according to the query period. a table, and comparing, according to the query file name and the obtained comparison table, a tape area number corresponding to the query file name; and

(E)該處理模組根據所比對出的該磁帶區域編號,自該磁帶儲存模組回存對應於該磁帶區域編號的檔案至該磁碟儲存模組。(E) The processing module restores the file corresponding to the tape area number from the tape storage module to the disk storage module according to the compared tape area number.

本發明之另一目的,即在提供一種可快速回存的資料保存系統。Another object of the present invention is to provide a data storage system that can be quickly restored.

於是,本發明資料保存系統,包含一磁碟儲存模組、一包含多個磁帶的磁帶儲存模組,及一電連接該磁碟儲存模組與該磁帶儲存模組的處理模組。Therefore, the data storage system of the present invention comprises a disk storage module, a tape storage module including a plurality of tapes, and a processing module electrically connecting the disk storage module and the tape storage module.

該磁碟儲存模組用於儲存多筆相關於一目前期別,且分別對應不同業務類別之業務資料,及包含一起始磁帶編號之磁帶編號資料,並儲存至少一對應於至少一先前期別之對照表,每筆業務資料包含多個檔案,每一檔案具有各自不同的檔案內容,每一對應於一先前期別的對照表包含對應該先前期別之每一檔案的檔名與其磁帶區域編號之對應關係。The disk storage module is configured to store a plurality of business data related to a current service category and corresponding to different service categories, and a tape number data including a starting tape number, and store at least one corresponding to at least one previous period. In the comparison table, each business data includes multiple files, each file has its own different file content, and each of the corresponding tables corresponding to a previous period contains the file name corresponding to each file of the previous period and its tape area. The correspondence of numbers.

該磁帶儲存模組用於儲存相關於該目前期別之該等業務資料中的每一檔案,並儲存相關於該至少一先前期別之每一者所對應之多筆業務資料中的每一檔案。The tape storage module is configured to store each of the business materials related to the current period, and store each of the plurality of business materials corresponding to each of the at least one previous period file.

該處理模組用於根據儲存於該磁碟儲存模組之該等業務資料中的每一檔案之資料量、每一磁帶之容量及該磁帶編號資料,計算每一檔案對應的一磁帶區域編號,且根據儲存於該磁碟儲存模組之該等業務資料中的每一檔案所對應的該磁帶區域編號,將該等業務資料中的每一檔案儲存於該磁帶儲存模組中一對應於該磁帶區域編號的區域,並儲存對應於該目前期別,且包含該等業務資料中的每一檔案之檔名與其磁帶區域編號之一對應關係的一對照表於該磁碟儲存模組,當該處理模組接收到一包含一查詢期別及一查詢檔名的回存請求時,該處理模組根據該查詢期別獲得一含有相同於該查詢期別之期別的對照表,並根據該查詢檔名及所獲得的該對照表比對出該查詢檔名所對應的一磁帶區域編號,該處理模組根據所比對出的該磁帶區域編號,自該磁帶儲存模組回存對應於該磁帶區域編號的檔案至該磁碟儲存模組。The processing module is configured to calculate a tape area number corresponding to each file according to the data volume of each file stored in the service data of the disk storage module, the capacity of each tape, and the tape number data. And storing, according to the tape area number corresponding to each file stored in the service data of the disk storage module, each file in the service data in the tape storage module corresponds to An area of the tape area number, and storing a comparison table corresponding to the current period and including a correspondence between a file name of each file in the service data and one of the tape area numbers in the disk storage module, When the processing module receives a return request including a query period and a query file name, the processing module obtains a comparison table containing the same period of the query period according to the query period, and And comparing, by the query file name and the obtained comparison table, a tape area number corresponding to the query file name, the processing module is configured according to the compared tape area number from the tape storage module Corresponding to the stored files to the tape area number storage module disk.

本發明之功效在於:藉由該處理模組集中地儲存每一期別中對應不同業務類別的業務資料,而非分散地將不同業務類別的業務資料分別儲存在多個位置彼此距離較遠之不同磁帶,可縮減機器手臂調閱磁帶所耗費的時間。此外,藉由該處理模組自動地根據該回存請求獲得該查詢檔名所對應的該磁帶區域編號,並自動地自該磁帶儲存模組回存對應於該磁帶區域編號的檔案至該磁碟儲存模組,可減少人工作業並加速回存時間。The utility model has the advantages that: the processing module centrally stores the business data corresponding to different service categories in each period, instead of distributing the business data of different service categories in a plurality of locations at a distance from each other. Different tapes reduce the time it takes for the robot to access the tape. In addition, the processing module automatically obtains the tape area number corresponding to the query file name according to the memory return request, and automatically restores the file corresponding to the tape area number from the tape storage module to the disk. Storage modules reduce manual work and speed up recovery time.

參閱圖1,本發明資料保存系統之實施例包含一磁碟儲存模組11、一磁帶儲存模組12、一連接一通訊網路100的通訊模組13,及一電連接該磁碟儲存模組11、該磁帶儲存模組12與該通訊模組13的處理模組14。Referring to FIG. 1, an embodiment of a data storage system of the present invention includes a disk storage module 11, a tape storage module 12, a communication module 13 connected to a communication network 100, and an electrical connection module. 11. The tape storage module 12 and the processing module 14 of the communication module 13.

該磁碟儲存模組11用於儲存多筆相關於一目前期別,且分別對應不同業務類別,如存款類、放款類、外匯類及信用卡類等之業務資料,及包含一起始磁帶編號之磁帶編號資料。每筆業務資料包含多個檔案,每一檔案具有各自不同的檔案內容。該磁碟儲存模組11還儲存至少一對應於至少一先前期別之對照表,及至少一對應於該至少一先前期別之資料表。每一對應於一先前期別的對照表包含對應該先前期別之每一檔案的檔名與其磁帶區域編號之對應關係。每一對應於該先前期別的資料表包含對應該先前期別之每一檔案之檔名及其所屬之業務資料的一對應關係、該檔案之大小,以及該檔案被儲存於該磁帶儲存模組12的一備份時間。值得一提的是,理想上,在每一固定時間期間如,每個月的15號,多個分別負責多個不同業務類別的業務員會利用其業務端裝置2產生相關於該目前期別,例如8月的該等業務資料並傳送至該處理模組14,以更新先前儲存於該磁碟儲存模組11的業務資料(亦即,以該目前期別的該等業務資料覆寫更新相關於該上一期別,例如7月的該等業務資料),其中,每一業務員係利用其業務端裝置2自一儲存有相關於銀行之多筆交易的多筆交易資料的核心系統交易模組(圖未示),下載所需之交易資料,以產生相關於該目前期別的該等業務資料。The disk storage module 11 is configured to store a plurality of business data related to a current business category and corresponding to different service categories, such as deposits, loans, foreign exchange and credit cards, and includes a starting tape number. Tape number information. Each business profile contains multiple files, each with its own different file content. The disk storage module 11 further stores at least one comparison table corresponding to at least one previous period, and at least one data table corresponding to the at least one previous period. Each of the comparison tables corresponding to a previous period includes a correspondence between the file name corresponding to each file of the previous period and its tape area number. Each of the data tables corresponding to the previous period includes a correspondence corresponding to the file name of each file of the previous period and the business data to which it belongs, the size of the file, and the file is stored in the tape storage mode. A backup time for group 12. It is worth mentioning that, ideally, during each fixed time period, for example, on the 15th of each month, a plurality of salesmen who are responsible for a plurality of different service categories will use their business device 2 to generate relevant current period. The service data is transmitted to the processing module 14 for updating the business data previously stored in the disk storage module 11 (i.e., overwriting the service data in the current period). Related to the previous issue, such as the July business data), wherein each salesperson uses his business terminal device 2 to store a core system of multiple transaction materials related to multiple transactions of the bank. The transaction module (not shown) downloads the required transaction data to generate the business data related to the current period.

該磁帶儲存模組12用於儲存相關於該目前期別之該等業務資料中的每一檔案,並儲存相關於該至少一先前期別之每一者所對應之多筆業務資料中的每一檔案。在本實施例中,該磁帶儲存模組12被實施為一包含一虛擬磁帶館及一包括多個磁帶的自動化磁帶館的自動化儲存設備。此外,每一期別的該等業務資料之業務類別是固定的,以先前所舉的存款類、放款類、外匯類及信用卡類之業務類別來說,每一期別皆含有對應存款類的業務資料、對應放款類的業務資料、對應外匯類的業務資料,及對應信用卡類的業務資料。而不同期別之每筆業務資料所包含之檔案的數目可能會有所不同,舉例來說,相關於上一期別之對應於存款類的業務資料例如包含一相關於外幣存款的檔案、一相關於活期存款的檔案,及一相關於定期存款的檔案。而相關於該目前期別之對應於存款類的業務資料除了包含一相關於外幣存款的檔案、一相關於活期存款的檔案,及一相關於定期存款的檔案之外,還包含一相關於黃金存摺的檔案。因此,該目前期別之對應於存款類的業務資料所包含之檔案數目為4,不同於該上一期別之對應於存款類的業務資料所包含之檔案數目為3。The tape storage module 12 is configured to store each of the business data related to the current period, and store each of the plurality of business materials corresponding to each of the at least one previous period a file. In this embodiment, the tape storage module 12 is implemented as an automated storage device including a virtual tape library and an automated tape library including a plurality of tapes. In addition, the business categories of these business data for each period are fixed. In the previously mentioned categories of deposits, loans, foreign exchange and credit cards, each period contains corresponding deposits. Business data, business data corresponding to lending, business data corresponding to foreign exchange, and business data corresponding to credit card. The number of files included in each business data may not be the same in the same period. For example, the business data corresponding to the deposits in the previous period, for example, contains a file related to foreign currency deposits. A file related to demand deposits and a file related to time deposits. And the business data corresponding to the deposit in the current period includes a file related to foreign currency deposits, a file related to demand deposits, and a file related to time deposits, including a related gold The file of the passbook. Therefore, the number of files included in the business data corresponding to the deposit class in the current period is 4, which is different from the number of files included in the business data corresponding to the deposit class in the previous period.

在該處理模組14經由該通訊模組13接收到至少一筆來自至少一業務端裝置2的業務資料時,該處理模組14將至少一筆先前已儲存於該磁碟儲存模組11且對應該至少一筆業務資料的先前業務資料更新為所接收到的該至少一筆業務資料。對於目前儲存於該磁碟儲存模組11的每筆業務資料,該處理模組14還根據對應於該上一期別的一資料表,獲得該業務資料對應於該上一期別的業務資料所包含之一檔案數目(亦即,獲得對應該上一期別且與該業務資料屬於同一業務類別的該業務資料所包含之該檔案數目),並根據目前儲存於該磁碟儲存模組11的該業務資料,獲得對應該目前期別的該業務資料所包含之一檔案數目。該處理模組14比較對應該上一期別的業務資料之檔案數目與對應該目前期別的業務資料之檔案數目是否相等。當該處理模組14比較出對應該上一期別的業務資料之檔案數目不等於對應該目前期別的業務資料之檔案數目時,該處理模組14產生一檔案數目異常指示輸出並經由該通訊模組13傳送至對應產生並傳送該業務資料的一業務端裝置2,其中,當該處理模組14比較出對應該上一期別的業務資料之檔案數目小於對應該目前期別的業務資料之檔案數目時,該處理模組14所產生的該檔案數目異常指示輸出會指示出檔案數目異常增加,當該處理模組14比較出對應該上一期別的業務資料之檔案數目大於對應該目前期別的業務資料之檔案數目時,該處理模組14所產生的該檔案數目異常指示輸出會指示出檔案數目異常減少。當該處理模組14比較出對應該上一期別的業務資料之檔案數目等於對應該目前期別的業務資料之檔案數目時,該處理模組14產生一檔案數目無異常指示輸出。When the processing module 14 receives at least one service data from the at least one service device 2 via the communication module 13, the processing module 14 stores at least one of the previous storage devices in the disk storage module 11 and corresponds to The at least one previous business data of the business data is updated to the received at least one business data. For each business data currently stored in the disk storage module 11, the processing module 14 obtains the business data corresponding to the previous business data according to a data table corresponding to the previous period. The number of files included (ie, the number of files included in the business data corresponding to the previous business category and the same business category), and is currently stored in the disk storage module 11 The business data, the number of files included in the business data corresponding to the current period. The processing module 14 compares whether the number of files corresponding to the previous period of business data is equal to the number of files corresponding to the current period of business data. When the processing module 14 compares the number of files corresponding to the previous period of business data to a number of files corresponding to the current period of business data, the processing module 14 generates a file number abnormality indication output and The communication module 13 is transmitted to a service device 2 corresponding to the generation and transmission of the service data, wherein the processing module 14 compares the number of files corresponding to the previous period of business data to be smaller than the current service. When the number of files of the data is used, the abnormality indication output of the file number generated by the processing module 14 indicates that the number of files is abnormally increased. When the processing module 14 compares the number of files corresponding to the previous period of the business data, the number of files is greater than When the number of files of the current business data should be current, the abnormal number indication output of the file generated by the processing module 14 indicates that the number of files is abnormally reduced. When the processing module 14 compares the number of files corresponding to the previous period of business data to the number of files corresponding to the current period of business data, the processing module 14 generates a file number without abnormality indication output.

值得一提的是,銀行業者恐會隨客戶需求提供不同的服務,如先前所舉之對應存款類的業務資料,因應客戶的黃金存摺需求,銀行業者推出了黃金存摺服務,故該目前期別之對應於存款類的業務資料還包含相關於黃金存摺的該檔案。除了增加服務項目外,銀行業者亦有可能減少服務項目,例如往後即不提供外幣存款服務,因而相關於下一期別之對應於存款類的業務資料就不再包含一相關於外幣存款的檔案。惟,當該上一期別的業務資料之檔案數目不等於對應該目前期別的業務資料之檔案數目時,原因除了因客戶需求而進行服務項目的調整外,也有可能是業務員利用其業務端裝置2,產生該目前期別之業務資料的多個檔案時,少產生一個檔案。此時,藉由本發明資料保存系統之處理模組14自動比較該上一期別的業務資料之檔案數目與該目前期別的業務資料之檔案數目是否相等,當該處理模組14比較出對應該上一期別的業務資料之檔案數目不等於對應該目前期別的業務資料之檔案數目時,該處理模組14適時地產生該檔案數目異常指示輸出並傳送至對應的業務端裝置2,以提醒業務員,進而避免因業務員疏忽而導致檔案數目異常的情形發生。當該業務端裝置2接收到該檔案數目異常指示輸出時,該業務端裝置2經由所對應之業務員的一輸入操作產生一指示出異常原因的第一回覆並傳送至該處理模組14。當該處理模組14經由該通訊模組13接收到來自該業務端裝置2的該第一回覆時,該處理模組14儲存對應於該目前期別的該第一回覆於該磁碟儲存模組11。It is worth mentioning that the banking industry may provide different services according to the customer's needs. For example, the business data of the corresponding deposits mentioned above, in response to the customer's gold passbook demand, the banking industry has introduced a gold passbook service, so the current period The business data corresponding to the deposit class also contains the file related to the gold passbook. In addition to the increase in service items, it is also possible for the banking industry to reduce the number of service items. For example, the foreign currency deposit service will not be provided in the future. Therefore, the business data corresponding to the deposit category in the next period will no longer contain a foreign currency deposit. file. However, when the number of files of the previous business data is not equal to the number of files corresponding to the current business data, the reason may be that the salesperson adjusts the service items, or the salesperson may use the business. The end device 2 generates one file less when generating a plurality of files of the current period of business data. At this time, the processing module 14 of the data storage system of the present invention automatically compares the number of files of the previous period of business data with the number of files of the current period of business data, and when the processing module 14 compares When the number of files of the other business data in the previous period is not equal to the number of files corresponding to the current business data, the processing module 14 timely generates the abnormal number of the file output and transmits the file to the corresponding business device 2, In order to remind the salesman, and thus avoid the situation that the number of files is abnormal due to the negligence of the salesman. When the service device 2 receives the file number abnormality indication output, the service device 2 generates a first reply indicating the cause of the abnormality and transmits the result to the processing module 14 via an input operation of the corresponding salesperson. When the processing module 14 receives the first reply from the service device 2 via the communication module 13, the processing module 14 stores the first response to the disk storage module corresponding to the current period. Group 11.

對於每筆業務資料的每一檔案,該處理模組14還根據對應於該上一期別的該資料表,獲得該檔案對應於該上一期別之檔案的一備份時間(亦即,獲得對應該上一期別且與該檔案之檔名相同的該檔案的該備份時間),並根據目前儲存於該磁碟儲存模組11的該檔案,獲得對應該目前期別的該檔案的一儲存時間。該處理模組14還判定對應該上一期別的該檔案的該備份時間是否晚於對應該目前期別的該檔案的該儲存時間,當該處理模組14判定出對應該上一期別的該檔案的該備份時間晚於對應該目前期別的該檔案的該儲存時間時,該處理模組14產生一檔案逾期異常指示輸出並經由該通訊模組13傳送至對應產生並傳送該檔案的一業務端裝置2。當該處理模組14判定出對應該上一期別的該檔案的該備份時間不晚於對應該目前期別的該檔案的該儲存時間時,該處理模組14產生一檔案期限無異常指示輸出。值得一提的是,若有業務員不慎忘記產生該目前期別的業務資料,導致儲存於該磁碟儲存模組11之業務資料是尚未更新之該上一期別的業務資料時,藉由本發明資料保存系統之處理模組14判定對應該上一期別的該檔案的該備份時間是否晚於對應該目前期別的該檔案的該儲存時間,當該處理模組14判定出對應該上一期別的該檔案的該備份時間晚於對應該目前期別的該檔案的該儲存時間時,該處理模組14適時地產生該檔案逾期異常指示輸出並傳送至對應的業務端裝置2,以提醒業務員,進而避免因業務員疏忽而導致逾期未更新業務資料的情形發生。當該業務端裝置2接收到該檔案逾期異常指示輸出時,該業務端裝置2經由所對應之業務員的另一輸入操作產生一指示出異常原因的第二回覆並傳送至該處理模組14。當該處理模組14經由該通訊模組13接收到來自該業務員業務端裝置2的該第二回覆時,該處理模組14儲存對應於該目前期別的該第二回覆於該磁碟儲存模組11。此外,若所欲判定是否逾期的檔案僅包含在該目前期別的該等業務資料中,而不包含在該上一期別的該等業務資料中(亦即,對應該檔案的服務項目是最近才開始提供),則該處理模組14不會獲得該檔案對應於該上一期別的該檔案的備份時間,因而,無須判定對應該上一期別的該檔案的該備份時間是否晚於對應該目前期別的該檔案的該儲存時間。For each file of each business data, the processing module 14 further obtains a backup time corresponding to the file of the previous period according to the data table corresponding to the previous period (ie, obtains Obtaining the backup time of the file in the previous period and the file name of the file, and obtaining the file corresponding to the current file according to the file currently stored in the disk storage module 11 Storage time. The processing module 14 further determines whether the backup time corresponding to the file of the previous period is later than the storage time of the file corresponding to the current period, when the processing module 14 determines that it corresponds to the previous period. When the backup time of the file is later than the storage time of the file corresponding to the current period, the processing module 14 generates a file overdue abnormality indication output and transmits to the corresponding generation and transmission of the file via the communication module 13. A business terminal device 2. When the processing module 14 determines that the backup time corresponding to the file of the previous period is not later than the storage time of the file corresponding to the current period, the processing module 14 generates a file period without an abnormality indication. Output. It is worth mentioning that if a salesperson accidentally forgets to generate the current business data, the business data stored in the disk storage module 11 is the business data of the previous period that has not been updated. The processing module 14 of the data saving system of the present invention determines whether the backup time corresponding to the file of the previous period is later than the storage time of the file corresponding to the current period, when the processing module 14 determines that the corresponding When the backup time of the file in the previous period is later than the storage time of the file corresponding to the current period, the processing module 14 timely generates the file overdue abnormality indication output and transmits the file to the corresponding service device 2 In order to remind the salesperson, and thus avoid the situation of overdue business information being overdue due to the negligence of the salesman. When the service device 2 receives the file overdue abnormality indication output, the service device 2 generates a second response indicating the cause of the abnormality via another input operation of the corresponding salesperson and transmits the result to the processing module 14 . When the processing module 14 receives the second reply from the service provider device 2 via the communication module 13, the processing module 14 stores the second response corresponding to the current period on the disk. The storage module 11 is provided. In addition, if the file to be overdue is determined to be included only in the current business data of the current period, it is not included in the business data of the previous period (ie, the service item corresponding to the file is The processing module 14 does not obtain the backup time of the file corresponding to the file of the previous period, and therefore, it is not necessary to determine whether the backup time corresponding to the file of the previous period is late. The storage time for the file corresponding to the current period.

該處理模組14還根據儲存於該磁碟儲存模組11之該等業務資料中的每一檔案之資料量、每一磁帶之容量及該磁帶編號資料,計算每一檔案對應的一磁帶區域編號,及該等業務資料所需使用的一磁帶數量,其中,相鄰兩檔案所對應的磁帶區域編號是連續不間斷的。在本實施例中,每一磁帶之容量皆相同,因而該處理模組14可僅根據任一磁帶之容量、該等業務資料中的每一檔案之資料量及該磁帶編號資料,計算每一檔案對應的該磁帶區域編號,及該磁帶數量,該處理模組14還將該磁帶數量儲存於該磁碟儲存模組11,但不限於此。該處理模組14根據儲存於該磁碟儲存模組11之該等業務資料中的每一檔案所對應的該磁帶區域編號,將該等業務資料中的每一檔案儲存於該磁帶儲存模組12中一對應於該磁帶區域編號的區域,並儲存一對應於該目前期別,且包含該等業務資料中的每一檔案之檔名與其磁帶區域編號之一對應關係的對照表於該磁碟儲存模組11。該處理模組14還儲存一包含該目前期別之每一檔案之檔名及其所屬之業務資料的一對應關係、該檔案之大小,以及該檔案被儲存於該磁帶儲存模組12之一備份時間的資料表,且根據最後一筆資料中之最後的檔案對應的一最後的磁帶區域編號,更新該磁帶編號資料中之起始磁帶編號。在本實施例中,該處理模組14係以最後的該磁帶區域編號加上一單位編號,如1之和,來更新該磁帶編號資料中的起始磁帶編號。The processing module 14 further calculates a tape area corresponding to each file according to the data amount of each file stored in the business data of the disk storage module 11, the capacity of each tape, and the tape number data. The number, and the number of tapes required for the business data, wherein the tape area numbers corresponding to the adjacent two files are continuous and uninterrupted. In this embodiment, the capacity of each tape is the same, and the processing module 14 can calculate each of the tapes according to the capacity of any tape, the amount of data of each file in the service data, and the tape number data. The processing module 14 also stores the number of the tapes in the disk storage module 11 for the tape area number corresponding to the file, and the number of the tapes, but is not limited thereto. The processing module 14 stores each file in the service data in the tape storage module according to the tape area number corresponding to each file stored in the service data of the disk storage module 11 12: an area corresponding to the tape area number, and storing a comparison table corresponding to the current period and including a correspondence between a file name of each file in the service data and one of the tape area numbers. Disk storage module 11. The processing module 14 further stores a correspondence between the file name of each file of the current period and the business data to which it belongs, the size of the file, and the file is stored in one of the tape storage modules 12 The data sheet of the backup time is updated, and the starting tape number in the tape number data is updated according to a last tape area number corresponding to the last file in the last data. In this embodiment, the processing module 14 updates the starting tape number in the tape number data with the last tape area number plus a unit number, such as the sum of 1.

當該處理模組14接收到一包含一查詢期別及一查詢檔名的回存請求時,該處理模組14根據該查詢期別獲得一含有相同於該查詢期別之期別的對照表,並根據該查詢檔名及所獲得的該對照表比對出該查詢檔名所對應的一磁帶區域編號,該處理模組14根據所比對出的該磁帶區域編號,自該磁帶儲存模組12回存對應於該磁帶區域編號的檔案至該磁碟儲存模組11。在本實施例中,該回存請求僅包含一查詢期別及一查詢檔名,然而,在本發明之其他實施例中,該回存請求可包含多筆查詢期別及多筆查詢檔名。值得一提的是,當所欲查詢的查詢期別及查詢檔名之數量很多時,藉由該處理模組14自動獲得每一所欲查詢之查詢檔名所對應的一磁帶區域編號,可大幅減少由人工將該等查詢檔名一筆一筆鍵入以搜尋出所對應之磁帶區域編號的作業時間,此外,每一期別中對應不同業務類別的業務資料係連續且集中地儲存於多個位置彼此鄰近的不同磁帶中,由於該等業務資料集中儲存的關係,所欲查詢的該等查詢檔名所對應之檔案甚至有可能集中儲存在同一捲磁帶中,因此,調閱儲存有對應該等查詢檔名之檔案的磁帶所需耗費之時間亦可被縮減,再者,藉由該處理模組14根據所獲得的多個磁帶區域編號,自動地自該磁帶儲存模組12回存對應於該等磁帶區域編號的檔案至該磁碟儲存模組11,可大幅減少藉由人工作業從所調閱的磁帶中自行複製對應於該等查詢檔名之檔案的作業時間。When the processing module 14 receives a return request including a query period and a query file name, the processing module 14 obtains a comparison table containing the same period as the query period according to the query period. And comparing, according to the query file name and the obtained comparison table, a tape area number corresponding to the query file name, the processing module 14 is configured according to the compared tape area number from the tape storage module. 12 restores the file corresponding to the tape area number to the disk storage module 11. In this embodiment, the resuming request includes only one query period and one query file name. However, in other embodiments of the present invention, the resuming request may include multiple query periods and multiple query filenames. . It is worth mentioning that when the number of query periods and the number of query file names to be queried are large, the processing module 14 automatically obtains a tape area number corresponding to each query file name to be queried. Reducing the working time of manually typing the query file names into a corresponding tape area number, and further, the business data corresponding to different service categories in each period is continuously and collectively stored in multiple locations adjacent to each other. In the different tapes, due to the centralized storage of the business data, the files corresponding to the query file names that are to be queried may even be stored in the same volume. Therefore, the search and storage files have corresponding query file names. The time required for the tape of the file can also be reduced. Further, the processing module 14 automatically restores the tape corresponding to the tape from the tape storage module 12 according to the obtained plurality of tape area numbers. The file of the area number is transferred to the disk storage module 11, which can greatly reduce the copying of the file corresponding to the query file name from the tape being read by manual operation. Of operating time.

以下將配合所附圖式來說明利用該資料保存系統所實施的本發明資料保存方法之實施例,本實施例依序包含有一資料儲存程序及一資料回存程序。An embodiment of the data storage method of the present invention implemented by the data storage system will be described below with reference to the accompanying drawings. The embodiment includes a data storage program and a data recovery program.

參閱圖1、圖2與圖3,該資料保存系統實施本發明資料保存方法之資料儲存程序。該資料儲存程序說明了如何將該目前期別的該等業務資料儲存於該磁帶儲存模組11,並包含下列步驟。Referring to Figures 1, 2 and 3, the data storage system implements a data storage program for storing the data of the present invention. The data storage program describes how to store the current business data in the tape storage module 11 and includes the following steps.

在步驟301中,當該處理模組14經由該通訊模組13接收到該至少一筆業務資料時,該處理模組14將該至少一筆先前已儲存於該磁碟儲存模組11且對應該至少一筆業務資料的先前業務資料更新為所接收到的該至少一筆業務資料。In step 301, when the processing module 14 receives the at least one business data via the communication module 13, the processing module 14 stores the at least one previously stored in the disk storage module 11 and corresponds to at least The previous business data of a business data is updated to the at least one business data received.

在步驟302中,對於目前儲存於該磁碟儲存模組11的每筆業務資料,該處理模組14根據對應於該上一期別的該資料表,獲得該業務資料對應於該上一期別的業務資料所包含之該檔案數目,並根據目前儲存於該磁碟儲存模組11的業務資料,獲得對應該目前期別的業務資料所包含之該檔案數目。In step 302, for each business data currently stored in the disk storage module 11, the processing module 14 obtains the service data corresponding to the previous period according to the data table corresponding to the previous period. The number of the files included in the other business data, and based on the business data currently stored in the disk storage module 11, the number of files included in the business data corresponding to the current period is obtained.

在步驟303中,該處理模組14比較對應該上一期別的業務資料之檔案數目與對應該目前期別的業務資料之檔案數目是否相等。當該處理模組14比較出對應該上一期別的業務資料之檔案數目不等於對應該目前期別的業務資料之檔案數目時,流程進行至步驟304;否則,流程進行至步驟306。In step 303, the processing module 14 compares whether the number of files corresponding to the previous period of business data and the number of files corresponding to the current period of business data are equal. When the processing module 14 compares the number of files corresponding to the previous period of business data to be equal to the number of files corresponding to the current period of business data, the process proceeds to step 304; otherwise, the process proceeds to step 306.

在步驟304中,該處理模組14產生該檔案數目異常指示輸出並經由該通訊模組13傳送至對應產生並傳送該業務資料的該業務端裝置2。In step 304, the processing module 14 generates the file number abnormality indication output and transmits the same to the service device 2 corresponding to the generation and transmission of the service data via the communication module 13.

在步驟305中,當該處理模組14經由該通訊模組13接收到來自該業務端裝置2且指示出異常原因的該第一回覆時,該處理模組14儲存對應於該目前期別的該第一回覆於該磁碟儲存模組11。In step 305, when the processing module 14 receives the first reply from the service device 2 and indicates the cause of the abnormality via the communication module 13, the processing module 14 stores the corresponding current period. The first reply is to the disk storage module 11.

在步驟306中,對於目前儲存於該磁碟儲存模組11的每筆業務資料的每一檔案,該處理模組14根據對應於該上一期別的該資料表,獲得該檔案對應於該上一期別之檔案的該備份時間,並根據目前儲存於該磁碟儲存模組11的該檔案,獲得對應該目前期別的該檔案的該儲存時間。In step 306, for each file of each business data currently stored in the disk storage module 11, the processing module 14 obtains the file corresponding to the data table corresponding to the previous period. The backup time of the file of the previous period is obtained, and according to the file currently stored in the disk storage module 11, the storage time corresponding to the file of the current period is obtained.

在步驟307中,該處理模組14判定對應該上一期別的該檔案的該備份時間是否晚於對應該目前期別的該檔案的該儲存時間。當判定出對應該上一期別的該檔案的該備份時間晚於對應該目前期別的該檔案的該儲存時間時,流程進行至步驟308;否則,流程進行至步驟310。In step 307, the processing module 14 determines whether the backup time corresponding to the file of the previous period is later than the storage time of the file corresponding to the current period. When it is determined that the backup time corresponding to the file of the previous period is later than the storage time of the file corresponding to the current period, the flow proceeds to step 308; otherwise, the flow proceeds to step 310.

在步驟308中,該處理模組14產生該檔案逾期異常指示輸出並經由該通訊模組13傳送至對應產生並傳送該檔案的該業務端裝置2。In step 308, the processing module 14 generates the file overdue abnormality indication output and transmits it via the communication module 13 to the business side device 2 correspondingly generating and transmitting the file.

在步驟309中,當該處理模組14經由該通訊模組13接收到來自該業務端裝置2且指示出異常原因的該第二回覆時,該處理模組14儲存對應於該目前期別的該第二回覆於該磁碟儲存模組11。In step 309, when the processing module 14 receives the second reply from the service device 2 and indicates the cause of the abnormality via the communication module 13, the processing module 14 stores the corresponding current period. The second replies to the disk storage module 11.

在步驟310中,該處理模組14根據儲存於該磁碟儲存模組11之該等業務資料中的每一檔案之資料量、每一磁帶之容量及該磁帶編號資料,計算每一檔案對應的該磁帶區域編號。In step 310, the processing module 14 calculates each file corresponding to the data amount of each file stored in the business data of the disk storage module 11, the capacity of each tape, and the tape number data. The tape area number.

在步驟311中,該處理模組14根據該等業務資料中的每一檔案所對應的該磁帶區域編號,將該等業務資料中的每一檔案儲存於該磁帶儲存模組12中對應於該磁帶區域編號的該區域。In step 311, the processing module 14 stores each file in the service data in the tape storage module 12 according to the tape area number corresponding to each file in the service data. The area of the tape area number.

在步驟312中,該處理模組14儲存對應於該目前期別,且包含該等業務資料中的每一檔案之檔名與其磁帶區域編號之該對應關係的該對照表於該磁碟儲存模組11,並儲存包含該目前期別之每一檔案之檔名及其所屬之業務資料的該對應關係、該檔案之大小,以及該檔案被儲存於該磁帶儲存模組12之該備份時間的資料表,且根據最後一筆資料中之最後的檔案對應之該最後的磁帶區域編號,更新該磁帶編號資料中之起始磁帶編號。在本實施例中,該處理模組14係以最後的該磁帶區域編號加上一單位編號,如1之和,來更新該磁帶編號資料中的起始磁帶編號。In step 312, the processing module 14 stores the comparison table corresponding to the current period and including the correspondence between the file name of each file in the service data and the tape area number in the disk storage mode. Group 11, and storing the corresponding name of the file name of each file of the current period and the business data to which it belongs, the size of the file, and the backup time of the file stored in the tape storage module 12 The data sheet, and the starting tape number in the tape number data is updated based on the last tape area number corresponding to the last file in the last data. In this embodiment, the processing module 14 updates the starting tape number in the tape number data with the last tape area number plus a unit number, such as the sum of 1.

參閱圖1與圖4,該資料保存系統實施本發明資料保存方法之資料回存程序。該資料回存程序說明了如何將所欲查詢的該查詢期別及該查詢檔名回存至該磁碟儲存模組11,並包含下列步驟。Referring to Figures 1 and 4, the data storage system implements a data recovery procedure for implementing the data storage method of the present invention. The data recovery procedure describes how to retrieve the query period and the query file name to be retrieved to the disk storage module 11 and includes the following steps.

在步驟313中,當該處理模組14接收到包含該查詢期別及該查詢檔名的回存請求時,該處理模組14根據該查詢期別獲得含有相同於該查詢期別之期別的該對照表,並根據該查詢檔名及所獲得的該對照表比對出該查詢檔名所對應的該磁帶區域編號。In step 313, when the processing module 14 receives the return request including the query period and the query file name, the processing module 14 obtains the same period corresponding to the query period according to the query period. The comparison table, and the tape area number corresponding to the query file name is compared according to the query file name and the obtained comparison table.

在步驟314中,該處理模組14根據所比對出的該磁帶區域編號,自該磁帶儲存模組12回存對應於該磁帶區域編號的檔案至該磁碟儲存模組11。In step 314, the processing module 14 restores the file corresponding to the tape area number from the tape storage module 12 to the disk storage module 11 according to the compared tape area number.

綜上所述,本發明資料保存方法及其系統,藉由該處理模組14集中地儲存每一期別中對應不同業務類別的業務資料,而非分散地將不同業務類別的業務資料分別儲存在多個位置彼此距離較遠之磁帶,可避免往後在調閱該等業務資料時,須藉由控制機器手臂分別至該自動化磁帶館的不同位置取出不同磁帶,因而耗費大量的調閱時間。此外,藉由該處理模組14自動地根據該回存請求獲得該查詢檔名所對應的該磁帶區域編號,並自動地自該磁帶儲存模組12回存對應於該磁帶區域編號的檔案至該磁碟儲存模組11,可減少人工作業並加速回存時間,再者,藉由該處理模組14比較該上一期別的業務資料之檔案數目與該目前期別的業務資料之檔案數目,並判定該上一期別的該檔案的該備份時間是否晚於該目前期別的該檔案的該儲存時間,以自動監管各業務員利用其業務端裝置2所產生的業務資料是否有異常狀況,故確實能達成本發明之目的。In summary, the data storage method and system thereof of the present invention, by the processing module 14, centrally store the business data corresponding to different service categories in each period, instead of separately storing the business data of different service categories separately. Tapes that are far apart from each other in multiple locations can avoid having to take different tapes by controlling the robot arm to different positions of the automated tape library when accessing the business data in the future, thus consuming a large amount of reading time. . In addition, the processing module 14 automatically obtains the tape area number corresponding to the query file name according to the memory return request, and automatically restores the file corresponding to the tape area number from the tape storage module 12 to the file. The disk storage module 11 can reduce the number of files of the previous period of business data and the number of files of the current period of business data by the processing module 14 And determining whether the backup time of the file in the previous period is later than the storage time of the file in the current period to automatically supervise whether the business data generated by each salesperson using the business device 2 is abnormal. The situation is indeed true for the purpose of the present invention.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the equivalent equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still The scope of the invention is covered.

11‧‧‧磁碟儲存模組
12‧‧‧磁帶儲存模組
13‧‧‧通訊模組
14‧‧‧處理模組
100‧‧‧通訊網路
2‧‧‧業務端裝置
301~314‧‧‧步驟
11‧‧‧Disk storage module
12‧‧‧ Tape Storage Module
13‧‧‧Communication module
14‧‧‧Processing module
100‧‧‧Communication network
2‧‧‧Business equipment
301~314‧‧‧Steps

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是本發明資料保存系統之實施例的一方塊圖; 圖2與圖3配合地說明本發明資料保存方法之實施例中的一資料儲存程序;及 圖4是一流程圖,說明本發明資料保存方法之實施例中的一資料回存程序。Other features and advantages of the present invention will be apparent from the embodiments of the present invention, wherein: FIG. 1 is a block diagram of an embodiment of the data storage system of the present invention; FIG. 2 and FIG. A data storage program in the embodiment of the data saving method; and FIG. 4 is a flowchart illustrating a data recovery procedure in the embodiment of the data saving method of the present invention.

Claims (10)

一種資料保存方法,藉由一資料保存系統來實施,該資料保存系統包括一用於儲存多筆相關於一目前期別,且分別對應不同業務類別之業務資料,及包含一起始磁帶編號之磁帶編號資料,並儲存至少一對應於至少一先前期別之對照表的磁碟儲存模組、一包含多個磁帶的磁帶儲存模組,以及一電連接該磁碟儲存模組與該磁帶儲存模組的處理模組,每筆業務資料包含多個檔案,每一檔案具有各自不同的檔案內容,每一對應於一先前期別的對照表包含對應該先前期別之每一檔案的檔名與其磁帶區域編號之對應關係,該資料保存方法包含以下步驟: (A)該處理模組根據儲存於該磁碟儲存模組之該等業務資料中的每一檔案之資料量、每一磁帶之容量及該磁帶編號資料,計算每一檔案對應的一磁帶區域編號; (B)該處理模組根據該等業務資料中的每一檔案所對應的該磁帶區域編號,將該等業務資料中的每一檔案儲存於該磁帶儲存模組中一對應於該磁帶區域編號的區域; (C)該處理模組儲存對應於該目前期別,且包含該等業務資料中的每一檔案之檔名與其磁帶區域編號之一對應關係的一對照表於該磁碟儲存模組; (D)當該處理模組接收到一包含一查詢期別及一查詢檔名的回存請求時,該處理模組根據該查詢期別獲得一含有相同於該查詢期別之期別的對照表,並根據該查詢檔名及所獲得的該對照表比對出該查詢檔名所對應的一磁帶區域編號;及 (E)該處理模組根據所比對出的該磁帶區域編號,自該磁帶儲存模組回存對應於該磁帶區域編號的檔案至該磁碟儲存模組。A data saving method is implemented by a data saving system, the data saving system includes a plurality of pieces of business data related to a current business category and corresponding to different service categories, and a tape including a starting tape number And storing at least one disk storage module corresponding to at least one previous period comparison table, a tape storage module including a plurality of tapes, and an electrical connection between the disk storage module and the tape storage module The processing module of the group, each business data comprises a plurality of files, each file has a different file content, and each of the corresponding tables corresponding to a previous period includes a file name corresponding to each file of the previous period and The data storage method includes the following steps: (A) the processing module according to the amount of data of each file stored in the business data of the disk storage module, and the capacity of each tape And the tape number data, calculating a tape area number corresponding to each file; (B) the processing module corresponding to each file in the service data The tape area number, each file in the service data is stored in an area of the tape storage module corresponding to the tape area number; (C) the processing module is stored corresponding to the current period, and includes a comparison table corresponding to one of the file names of the files in the business data and one of the tape area numbers is in the disk storage module; (D) when the processing module receives one including a query period and one When querying the file name for the return request, the processing module obtains a comparison table containing the same period of the query period according to the query period, and compares the query file name with the obtained comparison table. a tape area number corresponding to the query file name; and (E) the processing module restores the file corresponding to the tape area number from the tape storage module to the disk according to the compared tape area number Storage module. 如請求項1所述的資料保存方法,在步驟(A)之前,還包含一步驟(F)當該處理模組接收到至少一筆業務資料時,該處理模組將至少一筆先前已儲存於該磁碟儲存模組且對應該至少一筆業務資料的先前業務資料更新為所接收到的該至少一筆業務資料。The method for saving data according to claim 1 further comprises, after step (A), a step (F), when the processing module receives at least one piece of business data, the processing module stores at least one of the previous The disk storage module and the previous business data corresponding to the at least one business data are updated to the received at least one business data. 如請求項1所述的資料保存方法,該磁碟儲存模組還儲存至少一對應於該至少一先前期別之資料表,每一對應於該先前期別的資料表包含對應該先前期別之每一檔案之檔名及其所屬之業務資料的一對應關係,在步驟(A)之前,還包含以下步驟: (G)對於目前儲存於該磁碟儲存模組的每筆業務資料,該處理模組根據對應於上一期別的一資料表,獲得該業務資料對應於該上一期別的業務資料所包含之一檔案數目,並根據目前儲存於該磁碟儲存模組的業務資料,獲得對應該目前期別的業務資料所包含之一檔案數目;及 (H)該處理模組比較對應該上一期別的業務資料之檔案數目與對應該目前期別的業務資料之檔案數目是否相等;及 (I)當該處理模組比較出對應該上一期別的業務資料之檔案數目不等於對應該目前期別的業務資料之檔案數目時,該處理模組產生一異常指示輸出。The data storage method of claim 1, the disk storage module further stores at least one data table corresponding to the at least one previous period, and each of the data tables corresponding to the previous period includes a corresponding previous period. Before the step (A), the correspondence between the file name of each file and the business data to which it belongs includes the following steps: (G) for each business data currently stored in the disk storage module, The processing module obtains, according to a data sheet corresponding to the previous period, the number of files included in the service data corresponding to the business data of the previous period, and based on the service data currently stored in the disk storage module. , obtaining the number of files included in the current business data of the current period; and (H) comparing the number of files corresponding to the previous business data and the number of files corresponding to the current business data Whether it is equal; and (I) when the processing module compares the number of files corresponding to the previous period of business data to a number of files corresponding to the current period of business data, the processing module generates an exception. Indicates the output. 如請求項1所述的資料保存方法,該磁碟儲存模組還儲存至少一對應於該至少一先前期別之資料表,每一對應於該先前期別的資料表包含對應該先前期別之每一檔案之檔名及其被儲存於該磁帶儲存模組的一備份時間,在步驟(A)之前,還包含以下步驟: (J)對於目前儲存於該磁碟儲存模組的每筆業務資料的每一檔案,該處理模組根據對應於上一期別的一資料表,獲得該檔案對應於該上一期別之檔案的一備份時間,並根據目前儲存於該磁碟儲存模組的該檔案,獲得對應該目前期別的該檔案的一儲存時間; (K)該處理模組判定對應該上一期別的該檔案的該備份時間是否晚於對應該目前期別的該檔案的該儲存時間;及 (L)當判定出對應該上一期別的該檔案的該備份時間晚於對應該目前期別的該檔案的該儲存時間時,該處理模組產生一異常指示輸出。The data storage method of claim 1, the disk storage module further stores at least one data table corresponding to the at least one previous period, and each of the data tables corresponding to the previous period includes a corresponding previous period. The file name of each file and a backup time stored in the tape storage module, before step (A), further includes the following steps: (J) for each pen currently stored in the disk storage module For each file of the business data, the processing module obtains a backup time corresponding to the file of the previous period according to a data table corresponding to the previous period, and stores the file in the storage mode according to the current storage mode. The file of the group obtains a storage time corresponding to the file of the current period; (K) the processing module determines whether the backup time corresponding to the file of the previous period is later than the current period corresponding to the current period The storage time of the file; and (L) the processing module generates an abnormal indication when it is determined that the backup time corresponding to the file of the previous period is later than the storage time of the file corresponding to the current period Output. 如請求項1所述的資料保存方法,在步驟(A)之後,還包含一步驟(M),該處理模組根據最後一筆資料中之最後的檔案對應的一最後的磁帶區域編號,更新該磁帶編號資料中之起始磁帶編號。The data saving method according to claim 1, further comprising a step (M) after the step (A), the processing module updating the last tape area number corresponding to the last file in the last data. The starting tape number in the tape numbering data. 一資料保存系統,包含: 一磁碟儲存模組,用於儲存多筆相關於一目前期別,且分別對應不同業務類別之業務資料,及包含一起始磁帶編號之磁帶編號資料,並儲存至少一對應於至少一先前期別之對照表,每筆業務資料包含多個檔案,每一檔案具有各自不同的檔案內容,每一對應於一先前期別的對照表包含對應該先前期別之每一檔案的檔名與其磁帶區域編號之對應關係; 一磁帶儲存模組,包含多個磁帶,並用於儲存相關於該目前期別之該等業務資料中的每一檔案,並儲存相關於該至少一先前期別之每一者所對應之多筆業務資料中的每一檔案;及 一處理模組,電連接該磁碟儲存模組與該磁帶儲存模組,並用於根據儲存於該磁碟儲存模組之該等業務資料中的每一檔案之資料量、每一磁帶之容量及該磁帶編號資料,計算每一檔案對應的一磁帶區域編號,且根據儲存於該磁碟儲存模組之該等業務資料中的每一檔案所對應的該磁帶區域編號,將該等業務資料中的每一檔案儲存於該磁帶儲存模組中一對應於該磁帶區域編號的區域,並儲存對應於該目前期別,且包含該等業務資料中的每一檔案之檔名與其磁帶區域編號之一對應關係的一對照表於該磁碟儲存模組,當該處理模組接收到一包含一查詢期別及一查詢檔名的回存請求時,該處理模組根據該查詢期別獲得一含有相同於該查詢期別之期別的對照表,並根據該查詢檔名及所獲得的該對照表比對出該查詢檔名所對應的一磁帶區域編號,該處理模組根據所比對出的該磁帶區域編號,自該磁帶儲存模組回存對應於該磁帶區域編號的檔案至該磁碟儲存模組。A data storage system comprising: a disk storage module for storing a plurality of business data related to a current business category and corresponding to different service categories, and a tape number data including a starting tape number, and storing at least Corresponding to at least one previous period comparison table, each business data includes a plurality of files, each file having a different file content, and each of the comparison tables corresponding to a previous period includes each of the previous periods Corresponding relationship between the file name of a file and its tape area number; a tape storage module comprising a plurality of tapes and for storing each file in the business data related to the current period, and storing the at least Each of the plurality of business data corresponding to each of the previous periods; and a processing module electrically connected to the disk storage module and the tape storage module and configured to be stored on the disk Calculating the data volume of each file in the business data of the storage module, the capacity of each tape, and the tape number data, and calculating a tape area number corresponding to each file And storing, according to the tape area number corresponding to each file stored in the service data of the disk storage module, each file in the service data in the tape storage module corresponds to the An area of the tape area number, and storing a comparison table corresponding to the current period and including a correspondence between the file name of each file in the service data and one of the tape area numbers in the disk storage module When the processing module receives a return request including a query period and a query file name, the processing module obtains a comparison table containing the same period of the query period according to the query period, and according to the comparison table, The query file name and the obtained comparison table compare a tape area number corresponding to the query file name, and the processing module returns from the tape storage module according to the compared tape area number. The file of the tape area number is to the disk storage module. 如請求項6所述的資料保存系統,其中,當該處理模組接收到至少一筆業務資料時,該處理模組將至少一筆先前已儲存於該磁碟儲存模組且對應該至少一筆業務資料的先前業務資料更新為所接收到的該至少一筆業務資料。The data storage system of claim 6, wherein, when the processing module receives at least one piece of business data, the processing module stores at least one of the at least one previously stored in the disk storage module and corresponds to at least one business data. The previous business profile is updated to the received at least one business profile. 如請求項6所述的資料保存系統,其中,該磁碟儲存模組還儲存至少一對應於該至少一先前期別之資料表,每一對應於該先前期別的資料表包含對應該先前期別之每一檔案之檔名及其所屬之業務資料的一對應關係,對於目前儲存於該磁碟儲存模組的每筆業務資料,該處理模組還根據對應於上一期別的一資料表,獲得該業務資料對應於該上一期別的業務資料所包含之一檔案數目,並根據目前儲存於該磁碟儲存模組的該業務資料,獲得對應該目前期別的該業務資料所包含之一檔案數目,該處理模組比較對應該上一期別的業務資料之檔案數目與對應該目前期別的業務資料之檔案數目是否相等,當該處理模組比較出對應該上一期別的業務資料之檔案數目不等於對應該目前期別的業務資料之檔案數目時,該處理模組產生一異常指示輸出。The data storage system of claim 6, wherein the disk storage module further stores at least one data table corresponding to the at least one previous period, and each of the data tables corresponding to the previous period includes corresponding For each correspondence between the file name of each file in the previous period and its associated business data, for each business data currently stored in the disk storage module, the processing module is further based on one corresponding to the previous period. The data sheet obtains the number of files included in the business data corresponding to the business data of the previous period, and obtains the business data corresponding to the current period based on the business data currently stored in the disk storage module. The number of files included, the processing module compares the number of files corresponding to the previous business data with the number of files corresponding to the current business data, when the processing module compares the previous one The processing module generates an abnormal indication output when the number of files of the business data of the period is not equal to the number of files corresponding to the current business data. 如請求項6所述的資料保存系統,其中,該磁碟儲存模組還儲存至少一對應於該至少一先前期別之資料表,每一對應於該先前期別的資料表包含對應該先前期別之每一檔案之檔名及其被儲存於該磁帶儲存模組的一備份時間,對於目前儲存於該磁碟儲存模組的每筆業務資料的每一檔案,該處理模組還根據對應於上一期別的一資料表,獲得該檔案對應於該上一期別之檔案的一備份時間,並根據目前儲存於該磁碟儲存模組的該檔案,獲得對應該目前期別的該檔案的一儲存時間,該處理模組還判定對應上一期別的該檔案的該備份時間是否晚於對應該目前期別的該檔案的該儲存時間,當該處理模組判定出對應該上一期別的該檔案的該備份時間晚於對應該目前期別的該檔案的該儲存時間時,該處理模組產生一異常指示輸出。The data storage system of claim 6, wherein the disk storage module further stores at least one data table corresponding to the at least one previous period, and each of the data tables corresponding to the previous period includes corresponding The file name of each file in the previous period and a backup time stored in the tape storage module, the processing module is further configured for each file of each business data currently stored in the disk storage module. Corresponding to a data sheet of the previous period, obtaining a backup time corresponding to the file of the previous period, and obtaining the corresponding current period according to the file currently stored in the disk storage module. a processing time of the file, the processing module further determines whether the backup time corresponding to the file of the previous period is later than the storage time of the file corresponding to the current period, when the processing module determines that the corresponding The processing module generates an abnormality indication output when the backup time of the file in the previous period is later than the storage time of the file corresponding to the current period. 如請求項6所述的資料保存系統,其中,該處理模組還根據最後一筆資料中之最後的檔案對應的一最後的磁帶區域編號,更新該磁帶編號資料中之起始磁帶編號。The data saving system of claim 6, wherein the processing module further updates the starting tape number in the tape number data according to a last tape area number corresponding to the last file in the last data.
TW105127796A 2016-08-30 2016-08-30 Data storage method and system thereof TWI630496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105127796A TWI630496B (en) 2016-08-30 2016-08-30 Data storage method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105127796A TWI630496B (en) 2016-08-30 2016-08-30 Data storage method and system thereof

Publications (2)

Publication Number Publication Date
TW201807600A TW201807600A (en) 2018-03-01
TWI630496B true TWI630496B (en) 2018-07-21

Family

ID=62189618

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105127796A TWI630496B (en) 2016-08-30 2016-08-30 Data storage method and system thereof

Country Status (1)

Country Link
TW (1) TWI630496B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966533B (en) * 2020-07-23 2024-06-04 招联消费金融股份有限公司 Electronic file management method, electronic file management device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6408310B1 (en) * 1999-10-08 2002-06-18 Unisys Corporation System and method for expediting transfer of sectioned audit files from a primary host to a secondary host
US8719809B2 (en) * 2006-12-22 2014-05-06 Commvault Systems, Inc. Point in time rollback and un-installation of software
TWM535831U (en) * 2016-08-30 2017-01-21 First Commercial Bank Co Ltd Data storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6408310B1 (en) * 1999-10-08 2002-06-18 Unisys Corporation System and method for expediting transfer of sectioned audit files from a primary host to a secondary host
US8719809B2 (en) * 2006-12-22 2014-05-06 Commvault Systems, Inc. Point in time rollback and un-installation of software
TWM535831U (en) * 2016-08-30 2017-01-21 First Commercial Bank Co Ltd Data storage system

Also Published As

Publication number Publication date
TW201807600A (en) 2018-03-01

Similar Documents

Publication Publication Date Title
US20200051043A1 (en) Splittable security token
US8126919B2 (en) Update manager for database system
CN108090225A (en) Operation method, device, system and the computer readable storage medium of database instance
JP4272186B2 (en) Collection agency system
CN101625686A (en) Method and system for monitoring data consistency between plurality of databases
US10438282B2 (en) Computerized invoice record and receipt record matching utilizing best match criteria
US20220343198A1 (en) Systems and methods for determining data criticality based on causal evaluation
JP6349469B1 (en) Company group management method and system
TW520476B (en) System and method for retrieving data from a database using a data management system
CN111506613A (en) Method, system, device and equipment for querying incidence relation of data record
JP2017045389A (en) Bank system, and method and program executed by bank system
US20220020080A1 (en) Data Entity Revisions for an Offline Database
TWI630496B (en) Data storage method and system thereof
US7716092B2 (en) Use of separate rib ledgers in a computerized enterprise resource planning system
CN110689333B (en) Block chain automatic account checking method, device, system and storage medium
TWM535831U (en) Data storage system
US20230073883A1 (en) Multi-blockchain token rebalancer
TW201933245A (en) Management method and system for credit line
CN113886412A (en) Accounting data processing method and device, electronic equipment and storage medium
CN105893393B (en) Data save method and device
CN114186570A (en) Operation and maintenance method and device for integrated card reader equipment, computer equipment and storage medium
US20040117287A1 (en) Fixed assets management system and method
CN111831964B (en) Data report information processing method and device and computer system
RU2682010C1 (en) Data in the database access separation method
JP6130979B1 (en) Credit management system, method, and program