JP4938813B2 - Transaction data processing method, system and program - Google Patents
Transaction data processing method, system and program Download PDFInfo
- Publication number
- JP4938813B2 JP4938813B2 JP2009071631A JP2009071631A JP4938813B2 JP 4938813 B2 JP4938813 B2 JP 4938813B2 JP 2009071631 A JP2009071631 A JP 2009071631A JP 2009071631 A JP2009071631 A JP 2009071631A JP 4938813 B2 JP4938813 B2 JP 4938813B2
- Authority
- JP
- Japan
- Prior art keywords
- transaction data
- date
- data
- reference date
- transaction
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Description
本発明は、取引データ処理方法、システム及びプログラムに関し、特に、ネットワークを介して接続された金融システムから金融取引における取引データを受信し、処理する取引データ処理方法、システム及びプログラムに関する。 The present invention relates to a transaction data processing method, system and program, and more particularly to a transaction data processing method, system and program for receiving and processing transaction data in a financial transaction from a financial system connected via a network.
融資、預金、債券などの金融取引を扱う金融システムは、日々、大量の取引データを扱っている。そして、複数の金融システムから当該取引データを受信し、様々なデータへ加工し、分析することで、当該金融取引の関係者へ有用なデータを提供する情報システムである取引データ処理システムが必要とされている。このような取引データ処理システムの一例として、総合的に資産負債管理を行うALM(Asset Liability Management)システムがある。 Financial systems that handle financial transactions such as loans, deposits, and bonds handle large amounts of transaction data every day. And the transaction data processing system which is an information system which receives the transaction data from a plurality of financial systems, processes it into various data, and provides useful data to the parties involved in the financial transaction is required. Has been. An example of such a transaction data processing system is an ALM (Asset Liability Management) system that comprehensively manages asset and liability.
ALMは、資産と負債とを総合的に管理する手法である。そして、ALMシステムは、国内及び海外主要拠点におけるバンキングポジションの損益及びリスクを日次で把握することで、円貨(国内の円貨ポジション)及び外貨(国内の円以外、及び海外拠点ポジション)のALM業務をサポートし、金利や為替の変動リスクを一元的に管理するシステムである。ALMシステムの算出項目は、損益及びリスクである。算出項目としての損益は、期間損益と評価損益を合算した総合損益である。また、算出項目としてのリスクは、総合損益の金利感応度としての金利リスク及びマチュリティーラダーとしての流動性リスクである。バンキングポジションは、取引から生じるキャッシュフロー(CF)と市場金利で調達した資金からのCFを吻合させ、将来に渡って発生するCF(利息収支)を主な金利リスクと位置付ける。上記の利息収支の現在価値に償還差益を合わせて総合損益とする。 ALM is a method for comprehensively managing assets and liabilities. The ALM system is a daily grasp of the profits and risks of banking positions at major domestic and overseas bases, and ALM operations for yen (domestic yen positions in domestic) and foreign currencies (non-domestic yen and overseas base positions). Is a system that centrally manages interest rate and exchange rate fluctuation risk. The items calculated by the ALM system are profit and loss and risk. The profit / loss as a calculation item is the total profit / loss combined with period profit / loss and valuation profit / loss. Moreover, the risk as a calculation item is interest rate risk as interest rate sensitivity of total profit and loss and liquidity risk as a maturity ladder. In the banking position, cash flows (CF) generated from transactions and CF from funds raised at market interest rates are anastomosed, and the CF (interest balance) generated in the future is positioned as the main interest rate risk. Combined with the present value of the above interest balance, the gain on redemption is combined into total profit or loss.
上述したALMシステムの一例が特許文献1に開示されている。特許文献1にかかる銀行ALMシステムは、統一した計算方法や評価方法で普遍性をもって正確かつ効率的にALM業務を行うものである。
An example of the ALM system described above is disclosed in
ALMシステムでは、上流にある複数の金融システムから、異なるフォーマット及び異なるタイミング(不定期)で取引データを受領し、これらのデータから上述した損益及びリスクを把握する必要がある。また、ALMシステムで処理対象とする取引データは、大量であるため、金融取引により残高に更新のあったデータ、つまり、差分データのみを取引データとして受領している。そして、取引単位に取引の終了を迎えるまで時系列的に取引データを蓄積する。ここで、差分データは、一連の金融取引を識別する取引番号と、当該金融取引の更新結果である残高と、当該金融取引の残高の変更日を示すデータ基準日とを含むものである。図14は、このような取引データの例を示す図である。 In the ALM system, it is necessary to receive transaction data from a plurality of upstream financial systems in different formats and at different timings (irregular), and to grasp the above-described profit and loss and risk from these data. Further, since a large amount of transaction data is processed in the ALM system, only data whose balance has been updated by a financial transaction, that is, only difference data is received as transaction data. Then, transaction data is accumulated in time series until the end of the transaction in the transaction unit. Here, the differential data includes a transaction number that identifies a series of financial transactions, a balance that is an update result of the financial transaction, and a data reference date that indicates a change date of the balance of the financial transaction. FIG. 14 is a diagram illustrating an example of such transaction data.
ALM業務では、上述した損益及びリスクの把握のために、上述した取引データの中から当該金融取引について任意の時点における残高を抽出する必要がある。しかしながら、上述した取引データは、データ基準日ごとでしか管理されていないため、任意の時点における残高を抽出するためには、複雑なデータ抽出手段が必要となる。 In the ALM business, in order to grasp the above-described profit and loss and risk, it is necessary to extract a balance at an arbitrary time for the financial transaction from the above-described transaction data. However, since the transaction data described above is managed only for each data reference date, a complicated data extraction means is required to extract a balance at an arbitrary time point.
例えば、図15は、上述した取引データの中から任意の時点におけるレコードを抽出するためのSQL(Structured Query Language)文の例である。図15に示すSQL文は、Select文の中にSelect文が存在する副問い合わせであるため、処理効率が悪い。それ故、従来のALMシステムでは、データ検索速度が低下し、また、システムリソース使用量の増加といった問題点がある。また、ALMシステムを利用して、ALM業務を行うエンドユーザが使用するユーザインタフェースからは、簡易なSQL文しか実行できないために、副問い合わせのような複雑なSQL文が実行できない。そのため、エンドユーザは、任意の時点における残高を抽出するためには、複数の簡易なSQL文を組み合わせて実行しなければならず、作業負荷が高いという問題点もある。また、特許文献1では、上述した課題を解決するものではない。
For example, FIG. 15 is an example of an SQL (Structured Query Language) statement for extracting a record at an arbitrary time from the transaction data described above. The SQL statement shown in FIG. 15 is a subquery in which the Select statement is present in the Select statement, so that the processing efficiency is poor. Therefore, in the conventional ALM system, there are problems such as a decrease in data search speed and an increase in system resource usage. Further, since a simple SQL statement can be executed from a user interface used by an end user who performs an ALM operation using the ALM system, a complicated SQL statement such as a subquery cannot be executed. Therefore, in order to extract the balance at an arbitrary time, the end user has to execute a combination of a plurality of simple SQL statements, and there is a problem that the work load is high. Further,
本発明は、このような問題を解決するためになされたものであり、複数の金融システムから異なるフォーマット及びタイミングで収集される金融取引の取引データに対して、データ検索の効率を向上する取引データ処理方法、システム及びプログラムを提供することを目的とする。 The present invention has been made to solve such problems, and transaction data that improves the efficiency of data retrieval for transaction data of financial transactions collected from a plurality of financial systems in different formats and timings. An object is to provide a processing method, a system, and a program.
本発明の第1の態様にかかる取引データ処理方法は、ネットワークを介して接続された金融システムから金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日とを含む取引データを受信し、処理する方法である。前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを取引データ記憶部から取得する最新取引データ取得ステップと、前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である第1の取引データを前記取引データ記憶部から取得する、第1の取得ステップと、前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である第2の取引データを前記取引データ記憶部から取得する、第2の取得ステップと、前記第1の取引データのデータ基準日と、前記第2の取引データのデータ基準日との間となるデータ基準日を含む取引データを前記取引データ記憶部から削除するデータ削除ステップと、を含む。 The transaction data processing method according to the first aspect of the present invention includes transaction identification information for identifying a financial transaction from a financial system connected via a network, a balance of the financial transaction, and a change date of the balance of the financial transaction. The transaction data including the data reference date indicating is received and processed. The latest transaction data acquisition step for acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data, and the latest transaction data acquisition step An update step of updating the expiration date of the balance included in the transaction data acquired by the above as the previous day of the data reference date included in the received transaction data, and the expiration date of the received transaction data as a future date A registration step of registering in the transaction data storage unit; a first input step of inputting a first non-deletion reference date among a plurality of non-deletion reference dates that are different dates not deleting the transaction data; and the data reference Before the first transaction data whose date is before the first non-deletion reference date and whose expiration date is after the first non-deletion reference date A first acquisition step that is acquired from the transaction data storage unit, and a second non-deletion reference date that is a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates is input. 2, and the transaction data storage unit stores second transaction data in which the data reference date is before the second non-deletion reference date and the expiration date is after the second non-deletion reference date The transaction data storage includes transaction data including a data acquisition date between a second acquisition step, a data reference date of the first transaction data, and a data reference date of the second transaction data. And a data deletion step of deleting from the copy .
また、前記第1の取得ステップは、前記取引データ記憶部に前記第1の取引データが存在しない場合に、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第2の取得ステップは、前記取引データ記憶部に前記第2の取引データが存在しない場合に、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得することが望ましい。 In addition, the first acquisition step may include the latest transaction data including a data reference date before the first non-deletion reference date when the first transaction data does not exist in the transaction data storage unit. Transaction data is acquired from the transaction data storage unit as the first transaction data, and the second acquisition step is performed when the second transaction data does not exist in the transaction data storage unit. Of the transaction data including the data reference date prior to the non-deletion reference date, it is desirable to obtain the latest transaction data from the transaction data storage unit as the second transaction data .
さらに、前記取引データ記憶部を参照し、前記データ基準日が前記第1の非削除基準日と一致する取引データが存在するか否かを判定する第1の一致判定ステップと、前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する取引データが存在するか否かを判定する第2の一致判定ステップと、をさらに備え、前記第1の取得ステップは、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第2の取得ステップは、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第2の取引データとして前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データを前記第2の取引データとして前記取引データ記憶部から取得するとよい。 Moreover, the transaction refers to the data storage unit, a first matching determination step of determining whether transaction data to which the data reference date coincides with the first non-deletion date is present, the transaction data storage part Referring to, further comprising a second matching determination step of determining, the whether transaction data to which the data reference date coincides with the second non-deletion date is present, the first acquisition step If it is determined in the first match determination step that there is transaction data whose data reference date matches the first non-deletion reference date, the matching transaction data is used as the first transaction data. When the transaction data storage unit obtains from the transaction data storage unit and the first coincidence determination step determines that there is no transaction data in which the data reference date matches the first non-deletion reference date, the data Quasi day the first non-deletion date earlier, and the expiration date acquired transaction data is the first non-deletion date after from the transaction data storage unit as the first transaction data, said second obtaining step, if the transaction data wherein the data date by the second match determination step coincides with the second non-deletion date is determined to exist, the transaction data to the matching first 2 is obtained from the transaction data storage unit as transaction data, and when it is determined by the second match determination step that there is no transaction data in which the data reference date matches the second non-delete reference date, data reference date is the second non-deletion date earlier, and the expiration date the transaction data storing transaction data is the second non-deletion date after the second transaction data It may be obtained from.
または、前記取引データ記憶部を参照し、前記第1の取引データが存在するか否かを判定する第1の範囲判定ステップと、前記取引データ記憶部を参照し、前記第2の取引データが存在するか否かを判定する第2の範囲判定ステップと、をさらに備え、前記第1の取得ステップは、前記第1の範囲判定ステップにより当該第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第2の取得ステップは、前記第2の範囲判定ステップにより当該第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得するとよい。 Alternatively, referring to the transaction data storage unit, the first range determination step of determining whether or not the first transaction data exists, and referring to the transaction data storage unit, the second transaction data is A second range determination step for determining whether or not it exists, wherein the first acquisition step is determined by the first range determination step that the first transaction data does not exist , The latest transaction data is acquired from the transaction data storage unit as the first transaction data among the transaction data including the data reference date before the first non-deletion reference date, and the second acquisition step includes: When the second range determination step determines that the second transaction data does not exist, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is in front It may be obtained from the transaction data storage unit as the second transaction data.
さらに、前記データ削除ステップは、前記データ基準日が前記第2の取得ステップにより取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記第1の取得ステップにより取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除するとよい。 Further, in the data deletion step, the data reference date is after the expiration date of the second transaction data acquired by the second acquisition step, and the expiration date is determined by the first acquisition step. Transaction data that is earlier than the data reference date of the acquired first transaction data may be deleted from the transaction data storage unit.
本発明の第2の態様にかかる取引データ処理方法は、ネットワークを介して接続された金融システムから金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日とを含む取引データを受信し、処理する方法である。前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを取引データ記憶部から取得する最新取引データ取得ステップと、前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、前記取引データ記憶部を参照し、前記データ基準日が前記第1の非削除基準日と一致する第1の取引データが存在するか否かを判定する第1の一致判定ステップと、前記第1の一致判定ステップにより前記第1の取引データが存在すると判定された場合、当該第1の取引データを前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得する第1の取得ステップと、前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する第2の取引データが存在するか否かを判定する第2の一致判定ステップと、前記第2の一致判定ステップにより前記第2の取引データが存在すると判定された場合、当該第2の取引データを前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する第2の取得ステップと、前記データ基準日が前記第2の取得ステップにより取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記第1の取得ステップにより取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除するデータ削除ステップと、を含む。
また、前記取引データ記憶部の空き容量に応じて、前記複数の非削除基準日を追加、変更又は削除する非削除基準日更新ステップをさらに含むとよい。
The transaction data processing method according to the second aspect of the present invention includes transaction identification information for identifying a financial transaction from a financial system connected via a network, a balance of the financial transaction, and a change date of the balance of the financial transaction. The transaction data including the data reference date indicating is received and processed. The latest transaction data acquisition step for acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data, and the latest transaction data acquisition step An update step of updating the expiration date of the balance included in the transaction data acquired by the above as the previous day of the data reference date included in the received transaction data, and the expiration date of the received transaction data as a future date A registration step of registering in the transaction data storage unit, a first input step of inputting a first non-deletion reference date among a plurality of non-deletion reference dates that are different dates not deleting the transaction data, and the transaction data It refers to the storage unit, to determine whether the first transaction data to which the data reference date coincides with the first non-deletion date is present A first matching determination step, if the first transaction data by said first matching determination step is determined to exist, acquires the first transaction data from the transaction data storage unit, the first If it is determined in the match determination step that the first transaction data does not exist, the latest transaction data among the transaction data including the data reference date before the first non-deletion reference date is used as the first transaction data. A first acquisition step that is acquired as data from the transaction data storage unit, and a second non-deletion reference date that is a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates is input a second input step of, the transaction refers to the data storage unit, a second determining whether the second transaction data the data reference date coincides with the second non-deletion date is present Match judgment step And flop, if the second transaction data by said second matching determination step is determined to exist, acquires the second transaction data from the transaction data storage unit, the by the second match determination step When it is determined that the second transaction data does not exist, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is used as the second transaction data. A second acquisition step acquired from a storage unit; and the data reference date is after the expiration date of the second transaction data acquired in the second acquisition step, and the expiration date is the first the it is before the data date the first transaction data acquired by the acquisition step of the transaction data; and a data deleting step of deleting from the transaction data storage unit.
Further, it may further include a non-deletion reference date update step of adding, changing or deleting the plurality of non-deletion reference dates according to the free space of the transaction data storage unit.
本発明の第3の態様にかかる取引データ処理システムは、ネットワークを介して接続された金融システムから金融取引における取引データを受信し、処理するものである。前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部と、取引データを削除しない異なる日付である複数の非削除基準日を記憶する非削除基準日記憶部と、前記受信した取引データを処理する制御部とを備え、前記制御部は、前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得手段と、前記最新取引データ取得手段により取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新手段と、前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録手段と、前記非削除基準日記憶部から前記複数の非削除基準日のいずれかを取得する非削除基準日取得手段と、前記非削除基準日取得手段により取得された非削除基準日に応じた取引データを前記取引データ記憶部から取得する取得手段と、前記取得手段により取得されない取引データを前記取引データ記憶部から削除する削除手段とを備え、前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、第1の非削除基準日を取得し、前記取得手段は、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である第1の取引データを前記取引データ記憶部から取得し、前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を取得し、前記取得手段は、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である第2の取引データを前記取引データ記憶部から取得し、前記削除手段は、前記第1の取引データのデータ基準日と、前記第2の取引データのデータ基準日との間となるデータ基準日を含む取引データを前記取引データ記憶部から削除する。 The transaction data processing system according to the third aspect of the present invention receives and processes transaction data in a financial transaction from a financial system connected via a network. Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance A non-deletion reference date storage unit that stores a plurality of non-deletion reference dates that are different dates that do not delete transaction data, and a control unit that processes the received transaction data. Of the past transaction data having the same transaction identification information as the transaction identification information included in the transaction data, the latest transaction data acquisition means for acquiring the latest transaction data from the transaction data storage unit, and the latest transaction data acquisition means the expiration date of the balance included in the obtained transaction data, and updating means for updating the data for the previous day reference date contained in the transaction data to the received, collected the received Registration means for registering to the transaction data storage unit expiration date data as a future date, the non-deleted reference date obtaining means for obtaining one of said plurality of non-deletion date from the non-deleted date storage unit , Acquisition means for acquiring transaction data corresponding to the non-deletion reference date acquired by the non-deletion reference date acquisition means, and deletion of transaction data not acquired by the acquisition means from the transaction data storage section A non-deletion reference date acquisition unit that acquires a first non-deletion reference date among the plurality of non-deletion reference dates from the non-deletion reference date storage unit, and the acquisition unit includes: First transaction data having the data reference date before the first non-deletion reference date and the expiration date after the first non-deletion reference date is acquired from the transaction data storage unit, Sharpening The reference date acquisition means acquires a second non-deletion reference date that is a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates from the non-deletion reference date storage unit, The acquisition means acquires from the transaction data storage unit second transaction data whose data reference date is before the second non-deletion reference date and whose expiration date is after the second non-deletion reference date. The deletion unit deletes transaction data including a data reference date between the data reference date of the first transaction data and the data reference date of the second transaction data from the transaction data storage unit. .
また、前記取得手段は、前記取引データ記憶部に前記第1の取引データが存在しない場合に、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記取引データ記憶部に前記第2の取引データが存在しない場合に、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得することが望ましい。 In addition, when the first transaction data does not exist in the transaction data storage unit, the acquisition unit includes the latest transaction data among transaction data including a data reference date before the first non-deletion reference date. Is obtained from the transaction data storage unit as the first transaction data, and when the second transaction data does not exist in the transaction data storage unit, a data reference date before the second non-deletion reference date is It is desirable to obtain the latest transaction data from the transaction data storage unit as the second transaction data.
さらに、前記制御部は、前記取引データ記憶部を参照し、前記データ基準日が前記非削除基準日と一致する取引データが存在するか否かを判定する一致判定手段とをさらに備え、前記一致判定手段は、前記データ基準日が前記第1の非削除基準日と一致する取引データが存在するか否かを判定し、前記取得手段は、前記一致判定手段により前記データ基準日が前記第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記一致判定手段により前記データ基準日が前記第1の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記一致判定手段は、前記データ基準日が前記第2の非削除基準日と一致する取引データが存在するか否かを判定し、前記取得手段は、前記一致判定手段により前記データ基準日が前記第2の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第2の取引データとして前記取引データ記憶部から取得し、前記一致判定手段により前記データ基準日が前記第2の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データを前記第2の取引データとして前記取引データ記憶部から取得するとよい。 Further, the control unit further includes a match determination unit that refers to the transaction data storage unit and determines whether or not there is transaction data having the data reference date that matches the non-deletion reference date. The determination means determines whether there is transaction data whose data reference date matches the first non-deletion reference date, and the acquisition means determines whether the data reference date is the first reference date by the match determination means. If it is determined that there is transaction data that matches the non-deletion reference date, the matching transaction data is acquired as the first transaction data from the transaction data storage unit, and the data determination date is determined by the match determination means. When it is determined that there is no transaction data matching the first non-deletion reference date, the data reference date is before the first non-deletion reference date and the expiration date is the first non-deletion reference date. Transaction data that is after the removal reference date is acquired from the transaction data storage unit as the first transaction data, and the match determination means determines that the transaction data whose data reference date matches the second non-deletion reference date If it is determined by the match determination unit that there is transaction data whose data reference date matches the second non-deletion reference date, the acquisition unit determines whether or not the transaction data matches. Is acquired from the transaction data storage unit as the second transaction data, and when it is determined by the match determination means that there is no transaction data whose data reference date matches the second non-deletion reference date, Transaction data whose data reference date is before the second non-deletion reference date and whose expiration date is after the second non-deletion reference date is used as the second transaction data. It may be acquired from the storage unit.
または、前記制御部は、前記取引データ記憶部を参照し、前記データ基準日が前記非削除基準日以前、かつ、前記有効期限日が当該非削除基準日以後である取引データが存在するか否かを判定する範囲判定手段をさらに備え、前記取得手段は、前記範囲判定手段により、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データが前記取引データ記憶部に存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記範囲判定手段により、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データが前記取引データ記憶部に存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得するとよい。 Alternatively, the control unit refers to the transaction data storage unit, and whether there is transaction data in which the data reference date is before the non-deletion reference date and the expiration date is after the non-deletion reference date. Range determination means for determining whether the data reference date is before the first non-deletion reference date and the expiration date is the first non-deletion by the range determination means. When it is determined that the transaction data after the reference date does not exist in the transaction data storage unit, the latest transaction data among the transaction data including the data reference date before the first non-deletion reference date is 1 as transaction data from the transaction data storage unit, and by the range determination means, the data reference date is before the second non-deletion reference date, and the expiration date is the second non-deletion reference date. After When it is determined that the transaction data does not exist in the transaction data storage unit, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is used as the second transaction data. It may be obtained from the transaction data storage unit.
さらに、前記削除手段は、前記データ基準日が前記取得手段により取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記取得手段により取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除するとよい。 Furthermore, the deletion unit, after the expiration date of the second transaction data obtained by the data reference date is the acquisition unit, and the expiration date has been the first acquired by the acquisition unit Transaction data that is earlier than the data reference date of the transaction data may be deleted from the transaction data storage unit.
本発明の第4の態様にかかる取引データ処理システムは、ネットワークを介して接続された金融システムから金融取引における取引データを受信し、処理するものである。前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部と、取引データを削除しない異なる日付である複数の非削除基準日を記憶する非削除基準日記憶部と、前記受信した取引データを処理する制御部とを備え、前記制御部は、前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得手段と、前記最新取引データ取得手段により取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新手段と、前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録手段と、前記非削除基準日記憶部から前記複数の非削除基準日のいずれかを取得する非削除基準日取得手段と、前記取引データ記憶部を参照し、前記データ基準日が前記非削除基準日取得手段により取得された非削除基準日と一致する取引データが存在するか否かを判定する一致判定手段と、前記非削除基準日取得手段により取得された非削除基準日に応じた取引データを前記取引データ記憶部から取得する取得手段と、前記取得手段により取得されない取引データを前記取引データ記憶部から削除する削除手段とを備え、前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、第1の非削除基準日を取得し、前記一致判定手段は、前記データ基準日が前記第1の非削除基準日と一致する第1の取引データが存在するか否かを判定し、前記取得手段は、前記一致判定手段により前記第1の取引データが存在すると判定された場合、当該第1の取引データを前記取引データ記憶部から取得し、前記一致判定手段により前記第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を取得し、前記一致判定手段は、前記データ基準日が前記第2の非削除基準日と一致する第2の取引データが存在するか否かを判定し、前記取得手段は、前記一致判定手段により前記第2の取引データが存在すると判定された場合、当該第2の取引データを前記取引データ記憶部から取得し、前記一致判定手段により前記第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得し、前記削除手段は、前記データ基準日が前記取得手段により取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記取得手段により取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除する。
また、前記取引データ記憶部の空き容量に応じて、前記複数の非削除基準日を追加、変更又は削除する非削除基準日更新手段をさらに備えるとよい。
The transaction data processing system according to the fourth aspect of the present invention receives and processes transaction data in a financial transaction from a financial system connected via a network. Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance A non-deletion reference date storage unit that stores a plurality of non-deletion reference dates that are different dates that do not delete transaction data, and a control unit that processes the received transaction data. Of the past transaction data having the same transaction identification information as the transaction identification information included in the transaction data, the latest transaction data acquisition means for acquiring the latest transaction data from the transaction data storage unit, and the latest transaction data acquisition means Updating means for updating an expiration date of a balance included in the acquired transaction data as a day before a data reference date included in the received transaction data; Registration means for registering to the transaction data storage unit expiration date data as a future date, the non-deleted reference date obtaining means for obtaining one of said plurality of non-deletion date from the non-deleted date storage unit A match determination unit that refers to the transaction data storage unit and determines whether there is transaction data in which the data reference date matches the non-deletion reference date acquired by the non-deletion reference date acquisition unit; An acquisition unit for acquiring transaction data corresponding to the non-deletion reference date acquired by the non-deletion reference date acquisition unit from the transaction data storage unit, and a deletion for deleting transaction data not acquired by the acquisition unit from the transaction data storage unit and means, said non-delete date acquiring means, among from the non-deleted date storage unit of said plurality of non-deletion date, to obtain a first non-deletion date, the match determination Stage, the data reference date is determined whether the first transaction data matching the first non-deletion date is present, the acquisition unit, the first transaction data by said coincidence determining means Is determined to exist, the first transaction data is acquired from the transaction data storage unit, and the first non-deletion is determined when the match determination unit determines that the first transaction data does not exist. Of the transaction data including the data reference date before the reference date, the latest transaction data is acquired as the first transaction data from the transaction data storage unit, and the non-deletion reference date acquisition unit is configured to acquire the non-deletion reference date. among the storage unit of said plurality of non-deletion date, to obtain a second non-deletion date is the date immediately before the first non-deletion date, the match determining means, said data base date the Same as the second non-deletion base date Determines whether match the second transaction data is present, the acquisition means, if said second transaction data is determined to exist by said coincidence determining means, the said second transaction data transaction When it is determined from the data storage unit that the second transaction data does not exist by the match determination means, the latest transaction data including the data reference date before the second non-deletion reference date obtained from the transaction data storage unit the transaction data as the second transaction data, the deletion unit, after the expiration date of the second transaction data obtained by the data reference date is the obtaining means, and , deleting the expiration date is before the data date of acquisition is the first transaction data was by the acquisition unit transaction data from the transaction data storage unit.
Moreover, it is good to further provide the non-deletion reference date update means for adding, changing or deleting the plurality of non-deletion reference dates according to the free capacity of the transaction data storage unit.
本発明の第5の態様にかかる取引データ処理プログラムは、ネットワークを介して接続された金融システムから金融取引における取引データを受信し、処理する取引データ処理をコンピュータに実行させるものである。前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部を参照し、前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得ステップと、前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である第1の取引データを前記取引データ記憶部から取得する、第1の取得ステップと、前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である第2の取引データを前記取引データ記憶部から取得する、第2の取得ステップと、前記第1の取引データのデータ基準日と、前記第2の取引データのデータ基準日との間となるデータ基準日を含む取引データを前記取引データ記憶部から削除するデータ削除ステップと、を有する。 A transaction data processing program according to a fifth aspect of the present invention causes a computer to execute transaction data processing for receiving and processing transaction data in a financial transaction from a financial system connected via a network. Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance A latest transaction data acquisition step of acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data; An update step of updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition step as the previous day of the data reference date included in the received transaction data, and the expiration date of the received transaction data a registration step of registering to said transaction data storage unit as future date day, a plurality of non-cutting is different dates not delete the transaction data A first input step of inputting a first non-deletion reference date among the reference dates, the data reference date is before the first non-deletion reference date, and the expiration date is the first non-deletion A first acquisition step of acquiring first transaction data after the reference date from the transaction data storage unit, and a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates. A second input step of inputting a second non-deletion reference date, the data reference date before the second non-deletion reference date, and the expiration date after the second non-deletion reference date It is between the second acquisition step of acquiring certain second transaction data from the transaction data storage unit, the data reference date of the first transaction data, and the data reference date of the second transaction data. Transaction data storage including transaction data including data reference date Having a data deletion step of deleting from.
また、前記第1の取得ステップは、前記取引データ記憶部に前記第1の取引データが存在しない場合に、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第2の取得ステップは、前記取引データ記憶部に前記第2の取引データが存在しない場合に、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得することが望ましい。 In addition, the first acquisition step may include the latest transaction data including a data reference date before the first non-deletion reference date when the first transaction data does not exist in the transaction data storage unit. Transaction data is acquired from the transaction data storage unit as the first transaction data, and the second acquisition step is performed when the second transaction data does not exist in the transaction data storage unit. Of the transaction data including the data reference date prior to the non-deletion reference date, it is desirable to obtain the latest transaction data from the transaction data storage unit as the second transaction data .
さらに、前記取引データ記憶部を参照し、前記データ基準日が前記第1の非削除基準日と一致する取引データが存在するか否かを判定する第1の一致判定ステップと、前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する取引データが存在するか否かを判定する第2の一致判定ステップと、をさらに有し、前記第1の取得ステップは、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第2の取得ステップは、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第2の取引データとして前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データを前記第2の取引データとして前記取引データ記憶部から取得するとよい。 Moreover, the transaction refers to the data storage unit, a first matching determination step of determining whether transaction data to which the data reference date coincides with the first non-deletion date is present, the transaction data storage part Referring to a second matching determination step of determining whether or not the transaction data is present the data reference date coincides with the second non-deletion date, further comprising a first acquisition When it is determined in the first match determination step that there is transaction data whose data reference date matches the first non-deletion reference date, the matching transaction data is used as the first transaction data. If the transaction data storage unit obtains from the transaction data storage unit and the first match determination step determines that there is no transaction data whose data reference date matches the first non-deletion reference date, the data Quasi day the first non-deletion date earlier, and the expiration date acquired transaction data is the first non-deletion date after from the transaction data storage unit as the first transaction data, said second obtaining step, if the transaction data wherein the data date by the second match determination step coincides with the second non-deletion date is determined to exist, the transaction data to the matching first 2 is obtained from the transaction data storage unit as transaction data, and when it is determined by the second match determination step that there is no transaction data in which the data reference date matches the second non-delete reference date, data reference date is the second non-deletion date earlier, and the expiration date the transaction data storing transaction data is the second non-deletion date after the second transaction data It may be obtained from.
または、前記取引データ記憶部を参照し、前記第1の取引データが存在するか否かを判定する第1の範囲判定ステップと、前記取引データ記憶部を参照し、前記第2の取引データが存在するか否かを判定する第2の範囲判定ステップと、をさらに備え、前記第1の取得ステップは、前記第1の範囲判定ステップにより当該第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第2の取得ステップは、前記第2の範囲判定ステップにより当該第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得するとよい。 Alternatively, referring to the transaction data storage unit, the first range determination step of determining whether or not the first transaction data exists, and referring to the transaction data storage unit, the second transaction data is A second range determination step for determining whether or not it exists, wherein the first acquisition step is determined by the first range determination step that the first transaction data does not exist , The latest transaction data is acquired from the transaction data storage unit as the first transaction data among the transaction data including the data reference date before the first non-deletion reference date, and the second acquisition step includes: When the second range determination step determines that the second transaction data does not exist, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is in front It may be obtained from the transaction data storage unit as the second transaction data.
さらに、前記データ削除ステップは、前記データ基準日が前記第2の取得ステップにより取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記第1の取得ステップにより取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除するとよい。 Further, in the data deletion step, the data reference date is after the expiration date of the second transaction data acquired by the second acquisition step, and the expiration date is determined by the first acquisition step. Transaction data that is earlier than the data reference date of the acquired first transaction data may be deleted from the transaction data storage unit.
本発明の第6の態様にかかる取引データ処理プログラムは、ネットワークを介して接続された金融システムから金融取引における取引データを受信し、処理する取引データ処理をコンピュータに実行させるものである。前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部を参照し、前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得ステップと、前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、前記取引データ記憶部を参照し、前記データ基準日が前記第1の非削除基準日と一致する第1の取引データが存在するか否かを判定する第1の一致判定ステップと、前記第1の一致判定ステップにより前記第1の取引データが存在すると判定された場合、当該第1の取引データを前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得する第1の取得ステップと、前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する第2の取引データが存在するか否かを判定する第2の一致判定ステップと、前記第2の一致判定ステップにより前記第2の取引データが存在すると判定された場合、当該第2の取引データを前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する第2の取得ステップと、前記データ基準日が前記第2の取得ステップにより取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記第1の取得ステップにより取得された取引データのデータ基準日より前である前記第1の取引データを前記取引データ記憶部から削除するデータ削除ステップと、を含む。
また、前記取引データ記憶部の空き容量に応じて、前記複数の非削除基準日を追加、変更又は削除する非削除基準日更新ステップをさらに含むとよい。
The transaction data processing program according to the sixth aspect of the present invention causes a computer to execute transaction data processing for receiving and processing transaction data in a financial transaction from a financial system connected via a network. Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance A latest transaction data acquisition step of acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data; An update step of updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition step as the previous day of the data reference date included in the received transaction data, and the expiration date of the received transaction data a registration step of registering to said transaction data storage unit as future date day, a plurality of non-cutting is different dates not delete the transaction data Of the reference date, a first input step of inputting a first non-deletion date, referring to the transaction data storage unit, a first said data date coincides with the first non-deletion date If the transaction data is determined and a first matching determination step of determining whether or not there, and the first transaction data by said first matching determination step is present, the transaction the first transaction data Of the transaction data including the data reference date before the first non-deletion reference date, obtained from the data storage unit and determined by the first match determination step that the first transaction data does not exist A first acquisition step of acquiring the latest transaction data as the first transaction data from the transaction data storage unit, and a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates The second A second input step of inputting non-deletion date, referring to the transaction data storage unit, whether the second transaction data the data reference date coincides with the second non-deletion date is present If the second match determination step and the second match determination step determine that the second transaction data exists, the second transaction data is acquired from the transaction data storage unit, When it is determined in the second match determination step that the second transaction data does not exist, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is the first transaction data . A second acquisition step of acquiring from the transaction data storage unit as transaction data of two, and the data reference date is after the expiration date of the second transaction data acquired by the second acquisition step, And includes a data deletion step of deleting said first transaction data from the transaction data storage unit is before the data date of the acquired transaction data by the expiration date of the first acquisition step.
Further, it may further include a non-deletion reference date update step of adding, changing or deleting the plurality of non-deletion reference dates according to the free space of the transaction data storage unit.
本発明によれば、複数の金融システムから異なるフォーマット及びタイミングで収集される金融取引の取引データに対して、データ検索の効率を向上する取引データ処理方法、システム及びプログラムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the transaction data processing method, system, and program which improve the efficiency of a data search can be provided with respect to the transaction data of the financial transaction collected in a different format and timing from several financial systems.
以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。 Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description will be omitted as necessary for the sake of clarity.
<発明の実施の形態1>
図1は、本発明の実施の形態1にかかるALMシステム3を含む全体構成を示すブロック図である。ALMシステム3は、ネットワーク2を介して接続された金融システム群1から金融取引における取引データを受信し、処理する取引データ処理システムである。また、ALMシステム3は、ネットワーク2を介して端末4にも接続されている。ネットワーク2は、インターネット、公衆網、専用線及び移動体通信網等の通信ネットワークであればよい。尚、金融システム群1と端末4とは、異なるネットワークに接続されたものであってもよい。金融システム群1と端末4とは、少なくともALMシステム3と通信可能なものであればよい。
<
FIG. 1 is a block diagram showing an overall configuration including an
金融システム群1は、融資、預金、債券などの金融取引を扱う金融システムの集合であり、国内金融システム群11及び海外金融システム群12を含む。また、国内金融システム群11は、国内の融資を管理する融資管理システム111、国内の預金を管理する預金管理システム112及び国内の債券を管理する債券管理システム113等を含む。海外金融システム群12は、海外の融資を管理する融資管理システム121、海外の預金を管理する預金管理システム122及び海外の債券を管理する債券管理システム123等を含む。尚、金融システム群1に含まれる金融システムは、これらに限定されない。
The
融資管理システム111、預金管理システム112、債券管理システム113、融資管理システム121、預金管理システム122及び債券管理システム123は、日々行われる金融取引により残高が変更されたものについて、ネットワーク2を介して、それぞれ異なるフォーマット及び異なるタイミングで取引データをALMシステム3へ送信する。ここで、金融システム群1に含まれる金融システムから送信される取引データは、少なくとも金融取引を識別する取引識別情報としての取引番号と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日とを含む。しかし、上述した金融システムから送信される取引データは、取引識別情報、残高、データ基準日以外のデータ項目については、共通している必要はない。例えば、金融システムから送信される取引データは、図14で示すようなものであればよい。
The
端末4は、ALMシステム3に対して、取引データについての検索対象日を含む検索要求を送信し、検索結果を受信し、画面等の表示装置に表示する端末である。また、端末4は、簡易なSQL文を実行できるユーザインタフェースを備え、当該ユーザインタフェースにより入力された検索要求を送信する。端末4は、例えば、通信機能を備えたパーソナルコンピュータであればよい。尚、本発明の実施の形態1にかかる端末4の台数は、これに限定されない。
The
ALMシステム3は、金融システム群1から送信される取引データを受信し、取引データについて各種処理を行うことで総合的に資産負債管理を行うものである。ALMシステム3は、データ収集サーバ31と分析サーバ32とを備える。
The
データ収集サーバ31は、金融システム群1から取引データを受信し、受信した取引データの検査、一時的な格納、正規化、分析サーバ32向けのIF(InterFace)ファイルを作成し、分析サーバ32へIFファイルを送信するというデータ収集処理を行う。このように、データ収集サーバ31は、複数の金融システムから異なるフォーマット及びタイミングで収集される金融取引の取引データに対してALMシステム3で処理するために必要なデータフォーマットへ変換することができる。また、データ収集サーバ31は、コンピュータシステムにより構成され、データ検査情報記憶部311及び受信データ記憶部312を備える。
The
データ検査情報記憶部311は、データ基準日の正当性やデータフォーマット等の各種検査を行うためのデータ検査情報を記憶する記憶装置である。受信データ記憶部312は、受信データを金融システム単位及び金融取引の商品単位に一時的に格納する記憶装置である。
The data inspection
分析サーバ32は、データ収集サーバ31からIFファイルを受信し、IFファイルに含まれる取引データを処理して、登録するというデータ登録分析処理を行う。また、分析サーバ32は、端末4からの検索対象日を含む検索要求を受信し、検索結果を端末4へ送信する。分析サーバ32は、コンピュータシステムにより構成され、取引データ記憶部321及び計算結果記憶部322を備える。
The
取引データ記憶部321は、金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを格納する記憶装置である。また、計算結果記憶部322は、分析サーバ32により取引データ記憶部321に格納された取引データに所定の計算が行われた結果である計算結果を格納する記憶装置である。
The transaction
尚、データ検査情報記憶部311、受信データ記憶部312、取引データ記憶部321及び計算結果記憶部322は、ハードディスクドライブ、フラッシュメモリ等の不揮発性の記憶装置である。
The data inspection
図2は、本発明の実施の形態1にかかる分析サーバ32の構成を示すブロック図である。分析サーバ32は、取引データ記憶部321と、計算結果記憶部322と、ハードディスク323と、CPU(Central Processing Unit)324と、RAM(Random Access Memory)325と、ROM(Read Only Memory)326と、通信部327とを備える。また、ハードディスク323は、不揮発性記憶装置であり、OS(Operating System)51及びデータ登録分析処理が実装された取引データ処理プログラム52が格納されている。尚、ハードディスク323は、取引データ記憶部321及び計算結果記憶部322をさらに含むものであってもよい。
FIG. 2 is a block diagram showing a configuration of the
CPU324は、分析サーバ32における各種処理、すなわち、各種プログラムの処理、RAM325、ROM326、通信部327、取引データ記憶部321、計算結果記憶部322及びハードディスク323へのアクセス等を制御する。通信部327は、データ収集サーバ31からIFファイルを受信し、ネットワーク2を介して、金融システム群1及び端末4との通信を行う。
The
分析サーバ32は、CPU324が、RAM325、ROM326又はハードディスク323に格納されたOS51及び取引データ処理プログラム52を読み込み、実行する。これにより、分析サーバ32は、データ登録分析処理を含む各種処理を行うことができる。
In the
尚、データ収集サーバ31の構成は、図2と同様であるため、図示及び説明を省略する。但し、データ収集サーバ31の構成は、図2における取引データ記憶部321及び計算結果記憶部322からデータ検査情報記憶部311及び受信データ記憶部312に、また、取引データ処理プログラム52からデータ収集処理が実装されたデータ収集処理プログラムに置き換わったものである。
The configuration of the
図3は、本発明の実施の形態1にかかるデータ収集処理の流れを示すフローチャート図である。まず、データ収集サーバ31は、金融システム群1に含まれる金融システムのいずれかから取引データを受信する(S11)。尚、データ収集サーバ31は、金融システム群1に含まれる金融システムのいずれかから、別々のタイミングで取引データのファイルを受信し、それぞれの取引データについてデータ収集処理を実行する。
FIG. 3 is a flowchart showing the flow of data collection processing according to the first embodiment of the present invention. First, the
次に、データ収集サーバ31は、受信した取引データを検査する(S12)。具体的には、データ収集サーバ31は、受信した取引データを解析し、データ基準日を抽出し、また、データフォーマットを認識する。そして、データ収集サーバ31は、データ検査情報記憶部311を参照してこれらが正当なものであるか否かを判定する。例えば、データ収集サーバ31は、受信した取引データが本来、送信されるべき日付に該当するか否かを判定する。このとき、受信した取引データが正当なものでない場合、データ収集サーバ31は、エラー出力するなどして、当該データ収集処理を終了することが望ましい。
Next, the
続いて、データ収集サーバ31は、受信した取引データをデータベースへ格納する(S13)。ここでは、データ収集サーバ31は、受信した取引データを金融システム単位及び金融取引の商品単位にそのフォーマットに応じて受信データ記憶部312へ格納する。つまり、データ収集サーバ31は、以降の正規化処理のために、受信した取引データをデータの加工をせずに一時的に受信データ記憶部312へ格納する。尚、金融システム群1に含まれる金融システムから送信される取引データのファイルには、当日の取引データに加え次の営業日の情報、すなわち、次回送信される日付の情報が含まれる。そのため、データ収集サーバ31は、次の営業日の情報をさらにデータ検査情報記憶部311に格納する。
Subsequently, the
その後、データ収集サーバ31は、処理対象データを抽出する(S14)。ここでは、データ収集サーバ31は、受信データ記憶部312からALMシステム3の処理対象とするデータ項目を抽出する。
Thereafter, the
そして、データ収集サーバ31は、処理対象データを正規化する(S15)。すなわち、データ収集サーバ31は、処理対象データのフォーマットに応じた変換を行い、少なくとも取引識別情報、残高及びデータ基準日を含むように正規化する。例えば、データ収集サーバ31は、データ基準日、状態、部店、取引番号、残高を含めた取引データへ正規化する。
Then, the
その後、データ収集サーバ31は、分析サーバ32向けのIFファイルを作成する(S16)。つまり、データ収集サーバ31は、正規化された取引データを所定のファイル形式で保存する。
Thereafter, the
最後に、データ収集サーバ31は、IFファイルを分析サーバ32へ送信する(S17)。例えば、データ収集サーバ31は、分析サーバ32と共通のファイル転送ソフトを用いてIFファイルの送信を行う。
Finally, the
このように、本発明の実施の形態1にかかるデータ収集処理により、複数の金融システムから異なるフォーマット及びタイミングで収集される金融取引の取引データに対してALMシステム3で処理するために必要なデータフォーマットへ変換することができる。
As described above, by the data collection processing according to the first exemplary embodiment of the present invention, the data necessary for processing the transaction data of the financial transaction collected from the plurality of financial systems with different formats and timings by the
図4は、本発明の実施の形態1にかかるデータ登録分析処理の流れを示すフローチャート図である。まず、分析サーバ32は、データ収集サーバ31からIFファイルを受信する(S21)。次に、分析サーバ32は、受信したIFファイルから未処理の取引データを抽出する(S22)。
FIG. 4 is a flowchart showing a flow of data registration analysis processing according to the first embodiment of the present invention. First, the
続いて、分析サーバ32は、抽出した取引データに含まれる取引番号が存在するか否かを判定する(S23)。例えば、分析サーバ32は、受信したIFファイルを解析し、取引番号を取得する。そして、分析サーバ32は、取引データ記憶部321に対して、当該取引番号を検索キーとした検索を実行する。尚、ステップS23において、抽出した取引データに含まれる取引番号が存在しないと判定された場合、ステップS26へ進む。
Subsequently, the
そして、ステップS23において、受信した取引データに含まれる取引番号が存在すると判定された場合、分析サーバ32は、当該取引番号を有する過去の取引データの内、最新の取引データを取引データ記憶部321から取得する(S24)。続いて、分析サーバ32は、取得した取引データの有効期限日を受信した取引データのデータ基準日の前日として更新する(S25)。
If it is determined in step S23 that there is a transaction number included in the received transaction data, the
その後、分析サーバ32は、受信した取引データの有効期限日を将来の日付として、受信した取引データを取引データ記憶部321へ登録する(S26)。つまり、受信した取引データは、常に将来日が設定される。ここでは、将来日を「2999/12/31」とする。そのため、分析サーバ32は、ステップS25において、有効期限日を「2999/12/31」からデータ基準日の前日へ更新することとなる。
Thereafter, the
尚、分析サーバ32は、ステップS24において、当該取引番号に一致する取引データの内、有効期限日が「2999/12/31」であるデータを取得してもよい。または、分析サーバ32は、当該取引番号に一致する取引データの内、データ基準日が最新の日付であるデータを取得してもよい。
In step S24, the
また、分析サーバ32は、IFファイルの全ての取引データが処理済みか否かを判定する(S27)。ステップS27において、全ての取引データが処理済みと判定された場合、ステップS28へ進む。また、ステップS27において、未処理の取引データが存在すると判定された場合、ステップS22へ戻る。
The
その後、分析サーバ32は、日次定例計算処理を起動する(S28)。日次定例計算処理とは、例えば、所定の日付における複数の取引番号における残高合計を求める計算などであるとよい。尚、日次定例計算処理は、これに限定されない。ここで、分析サーバ32は、日次定例計算処理の中で、取引データについて、検索対象日を含む検索要求を受け付ける。
Thereafter, the
続いて、分析サーバ32は、任意の時点で有効なデータを抽出する(S29)。すなわち、分析サーバ32は、任意の時点を検索対象日として、データ基準日が検索対象日以前、かつ、有効期限日が検索対象日以後である取引データを取引データ記憶部321から抽出する。図6は、本発明の実施の形態1にかかるデータ抽出方法の一例を示す図である。このように、データ基準日に加え有効期限日を用いることで、図6に示すデータ抽出方法では、図15に示す従来のデータ抽出方法より簡易に実現できる。その後、分析サーバ32は、抽出された取引データにより所定の計算を実行し、計算結果を計算結果記憶部322へ格納する(S30)。
Subsequently, the
尚、ステップS28は、日次定例計算処理に限定されず、端末4からネットワーク2を介して検索要求を受け付けるようにしても構わない。その際、ステップS29において抽出された取引データを、ステップS30において端末4へ送信するようにするとよい。
Note that step S28 is not limited to the daily regular calculation process, and a search request may be received from the
このように、本発明の実施の形態1にかかるデータ登録分析処理により、データ基準日に加えて直後のデータのデータ基準日の前日を有効期限日に設定することができる。そのため、所定の金融取引について、残高が変更された複数の取引データを時系列で管理することができる。さらに、任意の時点で有効なデータを検索して抽出することができ、所定の計算により金融取引の分析を行うことができる。そのため、ALMシステム3は、総合的な資産負債管理を行うことができる。
As described above, by the data registration analysis process according to the first embodiment of the present invention, the date before the data reference date of the data immediately after the data reference date can be set as the expiration date. Therefore, a plurality of transaction data whose balance has been changed can be managed in a time series for a predetermined financial transaction. Furthermore, it is possible to search and extract data that is valid at an arbitrary point in time, and to analyze financial transactions by a predetermined calculation. Therefore, the
尚、本発明の実施の形態1にかかる分析サーバ32は、少なくとも次に説明する最新取引データ取得手段と、更新手段と、登録手段とを備えるものである。最新取引データ取得手段は、受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを取引データ記憶部321から取得する。また、更新手段は、最新取引データ取得手段により取得された取引データに含まれる有効期限日を、受信した取引データに含まれるデータ基準日の前日として更新する。そして、登録手段は、受信した取引データの有効期限日を将来の日付として取引データ記憶部321へ登録する。このように、分析サーバ32は、受信した取引データには存在しない有効期限日の情報を付加することに加え、当該受信した取引データのデータ基準日の前日を直前の取引データにおける有効期限日に設定するものである。そのため、同一の取引識別情報についての取引データは、任意の時点において一つに特定することができる。よって、ある取引識別情報における任意の時点の残高を抽出するために、データ検索を容易に行うことができ、効率を向上することができる。
The
また、分析サーバ32は、予め登録された日次の定例計算処理を実行し、定例計算処理に含まれる取引データへの検索要求を受け付けて、登録された取引データのうち、所望の検索対象日に該当する取引データを抽出し、所定の計算を行う。すなわち、分析サーバ32は、受付手段と、データ抽出手段と、計算手段とを備える。受付手段は、取引データについて、検索対象日を含む検索要求を受け付ける。また、データ抽出手段は、データ基準日が検索要求に含まれる検索対象日以前、かつ、有効期限日が当該検索対象日以後である取引データを取引データ記憶部321から抽出する。そして、計算手段は、データ抽出手段により抽出された取引データにより、所定の計算を行う。これにより、任意の時点として検索対象日が指定された場合、取引データのデータ基準日と有効期限日とを用いて、容易に該当する取引データを抽出し、ALMに必要な各種処理を行うことができる。
Further, the
さらに、分析サーバ32は、受付手段により端末4からネットワーク2を介して検索要求を受け付け、データ抽出手段により抽出された取引データを端末4へ送信する送信手段をさらに備えるようにするとよい。これにより、端末4が備える簡易な検索のユーザインタフェースを使用して、取引データの検索を行うことができる。
Furthermore, the
図5は、本発明の実施の形態1におけるデータ登録分析処理による実行結果を例示する図である。以下、図5の例を用いて、図4のデータ登録分析処理を説明する。前提として、取引データ記憶部321には、取引番号「1001」における取引データが格納されていないものとする。
FIG. 5 is a diagram illustrating an execution result by the data registration analysis process according to the first embodiment of the present invention. Hereinafter, the data registration analysis process of FIG. 4 will be described using the example of FIG. It is assumed that the transaction
まず、分析サーバ32は、データ基準日「2008/5/1」、取引番号「1001」、残高「100,000,000」である取引データを受信する。そして、取引番号「1001」に該当する取引データが取引データ記憶部321に存在しないため、分析サーバ32は、受信した取引データの有効期限日を「2999/12/31」として、取引データ記憶部321へ格納する。その後、金融システム群1に含まれる金融システムにおいて、「2008/8/1」に取引番号「1001」の残高が「80,000,000」に変更されたとする。このとき、分析サーバ32は、データ基準日「2008/8/1」、取引番号「1001」、残高「80,000,000」である取引データを受信する。そして、取引番号「1001」に該当する取引データが取引データ記憶部321に存在するため、分析サーバ32は、データ基準日「2008/5/1」のレコードを取引データ記憶部321から取得し、有効期限日を「2008/8/1」の前日である「2008/7/31」として更新する。その後、分析サーバ32は、受信したデータ基準日「2008/8/1」である取引データの有効期限日を「2999/12/31」として、取引データ記憶部321へ格納する。
First, the
このように、本発明の実施の形態1にかかるALMシステム3では、取引データの有効期限日を直後の取引データのデータ基準日の前日として設定するものである。そのため、任意の時点におけるデータ検索を行う際に、図15で示したような副問い合わせを含むSQL文を必要とせず、図6に示すような簡易なSQL文のみで抽出することが可能となる。つまり、従来に比べて、データ検索速度が向上する。同時に、システムリソース使用量も抑えることができる。
Thus, in the
さらに、ALMシステム3を利用して、ALM業務を行うエンドユーザが使用する端末4が備えるユーザインタフェースから、簡易なSQL文を実行することで、任意の時点における残高を抽出することができる。そのため、従来に比べて、複数の簡易なSQL文を組み合わせて実行する必要がなく、作業負荷が低いという効果を奏する。
Furthermore, by using the
以上のことから、本発明の実施の形態1にかかるALMシステム3により、複数の金融システムから異なるフォーマット及びタイミングで収集される金融取引の取引データに対して、データ検索の効率を向上することができる。
From the above, the
<発明の実施の形態2>
本発明の実施の形態1は、受信した取引データを取引データ記憶部321に登録する処理について説明した。ALM業務では、直近の金融取引については、厳密に分析を行う必要がある。また、ある程度時間が経過した金融取引については、厳密性は要求されないものの任意の時点での残高を必要とする。そして、さらに時間が経過したものについては、取引データを必要としない。このように、データの厳密性は、データの保存期間に応じて変化する。そこで、本発明の実施の形態2では、取引データ記憶部321に格納された取引データの内、所定の条件を満たすデータのみ保存し、所定の条件に該当しないデータは不要データとして削除する不要データ削除処理について説明する。
<
本発明の実施の形態2にかかるALMシステム3aは、上述した本発明の実施の形態1にかかるALMシステム3の変形例である。図7は、本発明の実施の形態2にかかるALMシステム3aを含む全体構成を示すブロック図である。ALMシステム3aは、ALMシステム3に比べ、分析サーバ32の代わりに不要データ削除処理をさらに実行することができる分析サーバ32aを備えたものである。尚、図7に記載された構成要素の内、図1と同様のものについては、同一の符号を付して詳細な説明を省略する。
The
分析サーバ32aは、分析サーバ32と同等のデータ登録分析処理を実行すると共に、所定の間隔で不要データ削除処理を実行して、取引データ記憶部321に格納された取引データの内、不要データを削除するものである。
The
非削除基準日記憶部328は、取引データを削除しない日付である複数の非削除基準日を記憶する記憶装置である。例えば、非削除基準日記憶部328は、非削除基準日として複数の週末の日付又は月末の日付を非削除日定義リストとして有していてもよい。尚、非削除基準日記憶部328は、ハードディスクドライブ、フラッシュメモリ等の不揮発性の記憶装置でもよいし、DRAM(Dynamic Random Access Memory)等の揮発性の記憶装置であってもよい。
The non-deletion reference
図8は、本発明の実施の形態2にかかる分析サーバ32aの構成を示すブロック図である。分析サーバ32aは、図2の分析サーバ32に比べ、非削除基準日記憶部328が追加され、ハードディスク323に不要データ削除処理が実装された不要データ削除プログラム53が追加されたものである。ここで、不要データ削除プログラム53は、取引データ処理プログラム52に含めて実装されたものであってもよい。また、非削除基準日記憶部328は、ハードディスク323に含まれるものであってもよい。分析サーバ32aは、CPU324がRAM325、ROM326又はハードディスク323に格納されたOS51及び不要データ削除プログラム53を読み込み、実行する。これにより、分析サーバ32aは、不要データ削除処理を含む各種処理を行うことができる。尚、図8に記載された構成要素の内、図2と同様のものについては、同一の符号を付して詳細な説明を省略する。
FIG. 8 is a block diagram showing a configuration of the
図9は、本発明の実施の形態2にかかるデータ保存期間の例を示す図である。図9に示すように、直近2か月以内の取引データについては日次保存が必要とされるため、その期間については不要データが存在せずデータの削除を行う必要がない。しかし、2か月経過後から6か月前の取引データについては、週次保存がされればよく、仮に1週間の間に残高の変更があったとしても直前の残高が取得できればよいものとする。さらに、6か月経過後から25か月前の取引データについては、月次保存がされればよく、仮に1ヶ月の間に残高の変更があったとしても直前の残高が取得できればよいものとする。 FIG. 9 is a diagram showing an example of the data retention period according to the second embodiment of the present invention. As shown in FIG. 9, since transaction data within the last two months is required to be saved daily, unnecessary data does not exist for that period, and it is not necessary to delete the data. However, transaction data for 6 months before 2 months has only to be saved weekly, and even if there is a change in balance during the week, it is only necessary to obtain the previous balance. To do. Furthermore, transaction data for 25 months before 6 months have only to be saved monthly, and even if there is a change in balance during one month, it is only necessary to acquire the previous balance. To do.
図10は、本発明の実施の形態2にかかる不要データ削除処理の流れを示すフローチャート図である。以下において分析サーバ32aは、RAM325に予め第1の取引データと第2の取引データとを格納する領域を備えており、初期状態では当該領域には、データが格納されていないものとする。尚、第1の取引データと第2の取引データとを格納する領域は、ハードディスク323内であってもその他の書き換え可能な記憶装置内であっても構わない。
FIG. 10 is a flowchart showing a flow of unnecessary data deletion processing according to the second embodiment of the present invention. In the following description, the
まず、分析サーバ32aは、非削除基準日記憶部328から非削除基準日定義リストを取得する(S31)。例えば、当該不要データ削除処理が図9に示す週次保存を行う場合、3か月から6か月前における週末の日付データを含む非削除基準日定義リストが取得される。
First, the
次に、分析サーバ32aは、非削除基準日定義リストから未選択の非削除基準日を選択する(S32)。このとき、分析サーバ32aは、非削除基準日定義リストに含まれる未選択の非削除基準日の内、最新の日付のものを選択する。そして、分析サーバ32aは、取引データ記憶部321を参照し、データ基準日が非削除基準日と一致する取引データが存在するか否かを判定する(S33)。
Next, the
ステップS33において、データ基準日が非削除基準日と一致する取引データが存在すると判定された場合、分析サーバ32aは、一致する取引データを取得する(S34)。すなわち、分析サーバ32aは、取引データ記憶部321からデータ基準日が非削除基準日である取引データを取得する。
In Step S33, when it is determined that there is transaction data whose data reference date matches the non-deletion reference date, the
また、ステップS33において、データ基準日が非削除基準日と一致する取引データが存在しないと判定された場合、分析サーバ32aは、データ基準日が非削除基準日以前、かつ、有効期限日が非削除基準日以後である取引データを取引データ記憶部321から取得する(S35)。
If it is determined in step S33 that there is no transaction data whose data reference date matches the non-deletion reference date, the
その後、分析サーバ32aは、取得したデータを第2の取引データとしてRAM325に保存する(S36)。そして、分析サーバ32aは、RAM325内に第1の取引データが存在するか否かを判定する(S37)。第1の取引データが存在しないと判定された場合、分析サーバ32aは、RAM325内で第2の取引データを第1の取引データへ複製する(S38)。そして、ステップS32へ戻る。
Thereafter, the
ステップS37において、第1の取引データが存在すると判定された場合、分析サーバ32aは、第1の取引データと第2の取引データの間の取引データを取引データ記憶部321から削除する(S39)。例えば、分析サーバ32aは、データ基準日が第2の取引データの有効期限日より後、かつ、有効期限日が第1の取引データのデータ基準日より前である取引データを特定し、特定された取引データを削除するとよい。又は、分析サーバ32aは、第1の取引データのデータ基準日より前、かつ、第2の取引データのデータ基準日より後であるデータ基準日を有する取引データを特定してもよい。
When it is determined in step S37 that the first transaction data exists, the
そして、分析サーバ32aは、非削除定義リスト内の非削除基準日が全て選択済みであるか否かを判定する(S40)。全て選択済みでないと判定した場合、分析サーバ32aは、ステップS38へ進む。また、全て選択済みであると判定した場合、分析サーバ32aは、非削除定義リスト内の最古の非削除基準日より前の取引データを全て削除し、不要データ削除処理を終了する。
Then, the
尚、ステップS32において、非削除基準日定義リストに含まれる未選択の非削除基準日の内、最古の日付のものを選択してもよい。その場合、上述した第1の取引データと第2の取引データとを逆にすれば、同等の不要データ削除処理が実現可能である。 In step S32, the oldest date among the non-selected non-deleted reference dates included in the non-deleted reference date definition list may be selected. In that case, if the above-described first transaction data and second transaction data are reversed, equivalent unnecessary data deletion processing can be realized.
また、ステップS37において、第1の取引データが存在しないと判定されるのは、初回時のみであるため、ステップS37の処理の代わりに、ステップS32乃至S36の処理について1回目のみ、ステップS36において、取得したデータを第1の取引データへ格納し、2回目以降は、ステップS36において、取得したデータを第2の取引データへ格納するようにしてもよい。 Further, in step S37, it is determined that the first transaction data does not exist only at the first time. Therefore, instead of the process in step S37, only the first process in steps S32 to S36 is performed in step S36. The acquired data may be stored in the first transaction data, and after the second time, the acquired data may be stored in the second transaction data in step S36.
尚、本発明の実施の形態2にかかる分析サーバ32aは、少なくとも次に説明する非削除基準日取得手段と、取得手段と、削除手段とを備えるものである。非削除基準日取得手段は、非削除基準日記憶部328から複数の非削除基準日のいずれかを取得する。また、取得手段は、非削除基準日取得手段により取得された非削除基準日に応じた取引データを取引データ記憶部321から取得する。そして、削除手段は、取得手段により取得されない取引データを取引データ記憶部321から削除する。
The
このとき、次のように不要データ削除処理が行われることが望ましい。まず、非削除基準日取得手段は、非削除基準日記憶部328から第1の非削除基準日を取得する。次に、取得手段は、データ基準日が第1の非削除基準日以前、かつ、有効期限日が第1の非削除基準日以後である第1の取引データを取引データ記憶部321から取得する。また、非削除基準日取得手段は、非削除基準日記憶部328から第1の非削除基準日より前の日付である第2の非削除基準日を取得する。続いて、取得手段は、データ基準日が第2の非削除基準日以前、かつ、有効期限日が第2の非削除基準日以後である第2の取引データを取引データ記憶部321から取得する。その後、削除手段は、第1の取引データのデータ基準日と、第2の取引データのデータ基準日との間となるデータ基準日を含む取引データを前記取引データ記憶部321から削除する。
At this time, it is desirable to perform unnecessary data deletion processing as follows. First, the non-deletion reference date acquisition unit acquires the first non-deletion reference date from the non-deletion reference
これにより、データ基準日と有効期限日の間に非削除基準日が含まれない取引データについては、不要データとなり削除することができ、取引データ記憶部321に格納されるデータ量を削減することができる。同時に、データ基準日と有効期限日の間に非削除基準日が含まれる取引データについては、残されるため、非削除基準日を検索対象日とした検索によって、非削除基準日における残高を抽出することができる。
As a result, transaction data that does not include a non-deletion reference date between the data reference date and the expiration date can be deleted as unnecessary data, and the amount of data stored in the transaction
また、分析サーバ32aは、一致判定手段をさらに備えるとよい。一致判定手段は、取引データ記憶部321を参照し、データ基準日が非削除基準日と一致する取引データが存在するか否かを判定する。
The
このとき、次のように不要データ削除処理が行われることが望ましい。まず、一致判定手段は、データ基準日が第1の非削除基準日と一致する取引データが存在するか否かを判定する。次に、取得手段は、一致判定手段によりデータ基準日が第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを第1の取引データとして取引データ記憶部321から取得する。また、取得手段は、一致判定手段によりデータ基準日が第1の非削除基準日と一致する取引データが存在しないと判定された場合、データ基準日が第1の非削除基準日以前、かつ、有効期限日が第1の非削除基準日以後である取引データを第1の取引データとして取引データ記憶部321から取得する。
At this time, it is desirable to perform unnecessary data deletion processing as follows. First, the coincidence determination means determines whether or not there is transaction data whose data reference date matches the first non-deletion reference date. Next, when it is determined by the coincidence determining unit that there is transaction data whose data reference date matches the first non-deletion reference date, the acquisition unit stores the matching transaction data as the first transaction data. Acquired from the
続いて、一致判定手段は、データ基準日が第2の非削除基準日と一致する取引データが存在するか否かを判定する。次に、取得手段は、一致判定手段によりデータ基準日が第2の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを第2の取引データとして取引データ記憶部321から取得する。また、取得手段は、一致判定手段によりデータ基準日が第2の非削除基準日と一致する取引データが存在しないと判定された場合、データ基準日が第2の非削除基準日以前、かつ、有効期限日が第2の非削除基準日以後である取引データを第2の取引データとして取引データ記憶部321から取得する。このように、一致判定手段により、データ基準日が非削除基準日と一致する取引データを検索するという簡易な検索を事前に行うことにより、不要データでない取引データの特定が容易となる。
Subsequently, the coincidence determination means determines whether or not there is transaction data whose data reference date matches the second non-deletion reference date. Next, when it is determined by the coincidence determining unit that there is transaction data whose data reference date matches the second non-deletion reference date, the acquisition unit stores the matching transaction data as second transaction data. Acquired from the
さらに、上述した削除手段は、データ基準日が取得手段により取得された第2の取引データの有効期限日より後、かつ、有効期限日が取得手段により取得された第1の取引データのデータ基準日より前である取引データを取引データ記憶部321から削除する。これにより、不要データの指定を簡易に行うことができ、削除処理が容易になる。
Furthermore, the deletion means described above is configured such that the data reference date is after the expiration date of the second transaction data acquired by the acquisition means and the expiration date is acquired by the acquisition means. Transaction data that is earlier than the date is deleted from the transaction
図11は、本発明の実施の形態2にかかる不要データ削除処理(週次削除)の例を示す図である。ここでは、2009年1月頃に、図11に示す不要データ削除前の取引データテーブルのデータが存在するものとする。また、このとき、非削除日定義リストには、10/3,9/26,9/19,9/12,9/5,8/29,・・・が含まれているものとする。図11に示すように、本発明の実施の形態2にかかる不要データ削除処理により、非削除基準日である週末基準日をデータ基準日と有効期限日の間に含まない取引データである#1、3,5,6及び8が削除される。
FIG. 11 is a diagram illustrating an example of unnecessary data deletion processing (weekly deletion) according to the second exemplary embodiment of the present invention. Here, it is assumed that there is data in the transaction data table before unnecessary data deletion shown in FIG. At this time, the non-deletion date definition list includes 10/3, 9/26, 9/19, 9/12, 9/5, 8/29,. As shown in FIG. 11, by the unnecessary data deletion processing according to the second exemplary embodiment of the present invention, the transaction data does not include the weekend reference date that is the non-delete reference date between the data reference date and the
図12は、本発明の実施の形態2にかかる不要データ削除処理(月次削除)の例を示す図である。ここでは、2009年5月頃に、図12に示す不要データ削除前の取引データテーブルのデータが存在するものとする。また、このとき、非削除日定義リストには、9/30,8/31,・・・が含まれているものとする。図12に示すように、本発明の実施の形態2にかかる不要データ削除処理により、非削除基準日である月末基準日をデータ基準日と有効期限日の間に含まない取引データである#1、2,4乃至8が削除される。
FIG. 12 is a diagram illustrating an example of unnecessary data deletion processing (monthly deletion) according to the second exemplary embodiment of the present invention. Here, it is assumed that data of the transaction data table before unnecessary data deletion shown in FIG. 12 exists around May 2009. At this time, it is assumed that the non-deletion date definition list includes 9/30, 8/31,. As shown in FIG. 12, by the unnecessary data deletion process according to the second embodiment of the present invention, the transaction data does not include the month end reference date that is the non-delete reference date between the data reference date and the
このように、本発明の実施の形態2にかかるALMシステム3aにより、データ基準日と有効期限日の間に非削除基準日が含まれない不要データについて削除することで、取引データ記憶部321に格納されるデータ量を削減することができる。同時に、データ基準日と有効期限日の間に非削除基準日が含まれる取引データについては、残すことができ、非削除基準日を検索対象日とした検索によって、非削除基準日における残高を抽出することができる。そのため、検索効率を向上させることができる。
As described above, the
<発明の実施の形態3>
本発明の実施の形態3は、上述した本発明の実施の形態2にかかるALMシステム3aの変形例である。具体的には、本発明の実施の形態3にかかる不要データ削除処理は、図10の不要データ削除処理において、ステップS33、S34及びS35を変更したものである。
<Third Embodiment of the Invention>
The third embodiment of the present invention is a modification of the
図13は、本発明の実施の形態3にかかる不要データ削除処理の流れを示すフローチャート図である。尚、図13に記載された処理の内、図10と同様のものについては、同一の符号を付して詳細な説明を省略する。 FIG. 13 is a flowchart showing the flow of unnecessary data deletion processing according to the third embodiment of the present invention. Of the processes described in FIG. 13, those similar to those in FIG. 10 are denoted by the same reference numerals, and detailed description thereof is omitted.
ステップS32の後、分析サーバ32aは、データ基準日が非削除基準日以前、かつ、有効期限日が非削除基準日以後である取引データが取引データ記憶部321に存在するか否かを判定する(S33a)。
After step S32, the
ステップS33aにおいて、該当する取引データが存在すると判定された場合、分析サーバ32aは、該当する取引データを取得する(S34a)。すなわち、分析サーバ32aは、取引データ記憶部321からデータ基準日が非削除基準日以前、かつ、有効期限日が非削除基準日以後である取引データを取得する。
If it is determined in step S33a that the corresponding transaction data exists, the
また、ステップS33aにおいて、該当する取引データが存在しないと判定された場合、分析サーバ32aは、非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを取引データ記憶部321から取得する(S35a)。以降は、図10と同じであるため、説明を省略する。
When it is determined in step S33a that the corresponding transaction data does not exist, the
言い換えれば、本発明の実施の形態3では、範囲判定手段をさらに備えるとよい。範囲判定手段は、取引データ記憶部321を参照し、前記データ基準日が前記非削除基準日以前、かつ、前記有効期限日が当該非削除基準日以後である取引データが存在するか否かを判定する。
In other words, the third embodiment of the present invention may further include a range determination unit. The range determination means refers to the transaction
このとき、次のように不要データ削除処理が行われることが望ましい。まず、範囲判定手段により、データ基準日が第1の非削除基準日以前、かつ、有効期限日が第1の非削除基準日以後である取引データが取引データ記憶部321に存在するか否かを判定する。そして、本発明の実施の形態3にかかる取得手段は、範囲判定手段により、該当するデータが存在しないと判定された場合、第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを第1の取引データとして取引データ記憶部321から取得する。
At this time, it is desirable to perform unnecessary data deletion processing as follows. First, whether or not transaction data having a data reference date before the first non-deletion reference date and an expiration date after the first non-deletion reference date is present in the transaction
続いて、本発明の実施の形態3にかかる範囲判定手段により、データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データが前記取引データ記憶部に存在しないと判定された場合、取得手段は、第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを第2の取引データとして取引データ記憶部321から取得するものである。
Subsequently, a transaction in which the data reference date is before the second non-deletion reference date and the expiration date is after the second non-deletion reference date by the range determination unit according to the third embodiment of the present invention. When it is determined that the data does not exist in the transaction data storage unit, the acquisition means uses the latest transaction data as the second transaction data among the transaction data including the data reference date before the second non-deletion reference date. Is acquired from the transaction
これにより、図13に示す本発明の実施の形態3にかかる不要データ削除処理によっても、本発明の実施2と同様の効果に加え、例えば、週次削除により月末基準日を含む取引データが削除された場合であっても、直近の取引データを残すことができる。 Thereby, the unnecessary data deletion processing according to the third embodiment of the present invention shown in FIG. 13 also deletes transaction data including the month end reference date by weekly deletion in addition to the same effects as the second embodiment of the present invention. Even if it is done, the latest transaction data can be left.
つまり、ステップS33aにおいて、該当する取引データが存在しないと判定された場合とは、取引データ記憶部321に格納された取引データについて、ある取引データの有効期限日の翌日がデータ基準日となっている取引データが存在しない場合を示す。具体的には、図11において、週次削除が行われた後、数か月経過した場合において、図11の不要データ削除後取引データテーブルに対して月次削除を実行する際が該当する。このとき、週次削除において、月末基準日「2008/8/31」を含む取引データ#3が既に削除されている。そのため、ステップS33aでは、該当する取引データが存在しないと判定される。そこで、ステップS35aにより月末基準日より前のデータ基準日の内、最新のデータ基準日を有する取引データ#2が取得される。これにより、非削除基準日に該当する残高ではないが、取引データ記憶部321に格納された取引データの中では、直近の取引データの残高を取得することができる。
That is, when it is determined in step S33a that the corresponding transaction data does not exist, for the transaction data stored in the transaction
<発明の実施の形態4>
本発明の実施の形態4は、上述した本発明の実施の形態2及び3にかかるALMシステム3aの変形例である。具体的には、本発明の実施の形態4にかかる不要データ削除処理は、図10の不要データ削除処理において、図10のステップS35を図13のステップS35aと変更したものである。
<
The fourth embodiment of the present invention is a modification of the
言い換えれば、本発明の実施の形態4にかかる分析サーバ32は、少なくとも次に説明する非削除基準日取得手段と、一致判定手段と、取得手段と、削除手段とを備えるものである。非削除基準日取得手段は、非削除基準日記憶部328から複数の非削除基準日のいずれかを取得する。一致判定手段は、取引データ記憶部321を参照し、データ基準日が非削除基準日取得手段により取得された非削除基準日と一致する取引データが存在するか否かを判定する。取得手段は、非削除基準日取得手段により取得された非削除基準日に応じた取引データを取引データ記憶部321から取得する。削除手段は、取得手段により取得されない取引データを取引データ記憶部321から削除する。
In other words, the
このとき、次のように不要データ削除処理が行われることが望ましい。まず、非削除基準日取得手段は、非削除基準日記憶部328から第1の非削除基準日を取得する。次に、一致判定手段は、データ基準日が非削除基準日取得手段により取得された第1の非削除基準日と一致する取引データが存在するか否かを判定する。その後、取得手段は、一致判定手段によりデータ基準日が第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを第1の取引データとして取引データ記憶部321から取得する。また、一致判定手段によりデータ基準日が第1の非削除基準日と一致する取引データが存在しないと判定された場合、取得手段は、第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを第1の取引データとして取引データ記憶部321から取得する。
At this time, it is desirable to perform unnecessary data deletion processing as follows. First, the non-deletion reference date acquisition unit acquires the first non-deletion reference date from the non-deletion reference
続いて、非削除基準日取得手段は、非削除基準日記憶部328から第1の非削除基準日より前の日付である第2の非削除基準日を取得する。次に、一致判定手段は、データ基準日が非削除基準日取得手段により取得された第2の非削除基準日と一致する取引データが存在するか否かを判定する。その後、一致判定手段によりデータ基準日が第2の非削除基準日と一致する取引データが存在すると判定された場合、取得手段は、当該一致する取引データを第2の取引データとして取引データ記憶部321から取得する。また、一致判定手段によりデータ基準日が第2の非削除基準日と一致する取引データが存在しないと判定された場合、取得手段は、第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを第2の取引データとして取引データ記憶部321から取得する。
Subsequently, the non-deletion reference date acquisition unit acquires a second non-deletion reference date that is a date before the first non-deletion reference date from the non-deletion reference
その後、削除手段は、データ基準日が取得手段により取得された第2の取引データの有効期限日より後、かつ、有効期限日が取得手段により取得された第1の取引データのデータ基準日より前である取引データを取引データ記憶部321から削除する。これにより、少なくとも不要データの指定を簡易に行うことができ、削除処理が容易になる。
Thereafter, the deletion means has a data reference date after the expiration date of the second transaction data acquired by the acquisition means and an expiration date from the data reference date of the first transaction data acquired by the acquisition means. The previous transaction data is deleted from the transaction
<その他の発明の実施の形態>
尚、本発明の実施の形態1にかかるALMシステム3は、データ収集サーバ31及び分析サーバ32を備えるものとしたが、これに限定されない。例えば、データ収集サーバ31及び分析サーバ32は、一台のコンピュータシステムで実現しても構わない。その場合、IFファイルを作成する必要はなく、例えば、内蔵の記憶装置内に格納して受け渡せばよい。または、本発明の実施の形態1にかかるデータ収集サーバ31及び分析サーバ32は、さらに複数のコンピュータシステムに分散して実現されるものであってもよい。
<Other embodiments of the invention>
In addition, although the
尚、図10のステップS35の処理を図13のステップS33a、S34a及びS35aの処理に置き換えても構わない。これにより、データ基準日と有効期限日の間に非削除基準日を含む取引データが存在しない場合であっても、直近過去の取引データを取得することができる。 Note that the processing in step S35 in FIG. 10 may be replaced with the processing in steps S33a, S34a, and S35a in FIG. Thereby, even when there is no transaction data including the non-deletion reference date between the data reference date and the expiration date, the latest past transaction data can be acquired.
尚、本発明の実施の形態2乃至4では、データ保存期間をシステムのリソース使用状況等に応じて動的に変更しても構わない。例えば、取引データ記憶部321の空き容量に余裕がある場合、例えば、空き容量が80%以上のときには、ステップS40において、全て選択済みであると判定した場合、分析サーバ32aは、非削除定義リスト内の最古の非削除基準日より前の取引データを全て削除しなくてもよい。または、取引データ記憶部321の空き容量に余裕がある場合、分析サーバ32aは、週次保存期間及び月次保存期間が長くなるように、非削除基準日定義リストを更新するとよい。これにより、週次保存期間に属する予定の取引データが日次で保存され、月次保存期間に属する予定の取引データが週次で保存され、空き容量を有効に使用して詳細な取引データを保存する期間を長くすることができる。逆に、取引データ記憶部321の空き容量に余裕がない場合、例えば、空き容量が20%未満のときには、週次保存期間及び月次保存期間が短くなるように、非削除基準日定義リストを更新するとよい。これにより、当初は、日次保存期間に属する予定の取引データが週次で保存され、週次保存期間に属する予定の取引データが月次で保存され、限られた空き容量の範囲に対して残存データ量を削減することができる。さらに、空き容量に余裕がない場合には、アラームを発生させるようにするとよい。このようにして、取引データ記憶部321の空き容量が少なくなった場合や容量を増設した場合に設定変更を加えることなく自動的に保存期間を制御することができ、システムのリソースを有効活用して、データを保存することができる。
In the second to fourth embodiments of the present invention, the data retention period may be dynamically changed according to the resource usage status of the system. For example, if there is a free space in the transaction
さらに、本発明は上述した実施の形態のみに限定されるものではなく、既に述べた本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。 Furthermore, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention described above.
1 金融システム群
11 国内金融システム群
111 融資管理システム
112 預金管理システム
113 債券管理システム
12 海外金融システム群
121 融資管理システム
122 預金管理システム
123 債券管理システム
2 ネットワーク
3 ALMシステム
3a ALMシステム
31 データ収集サーバ
311 データ検査情報記憶部
312 受信データ記憶部
32 分析サーバ
32a 分析サーバ
321 取引データ記憶部
322 計算結果記憶部
323 ハードディスク
324 CPU
325 RAM
326 ROM
327 通信部
328 非削除基準日記憶部
4 端末
51 OS
52 取引データ処理プログラム
53 不要データ削除プログラム
DESCRIPTION OF
325 RAM
326 ROM
327
52 Transaction
Claims (21)
前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを取引データ記憶部から取得する最新取引データ取得ステップと、
前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、
前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、
取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、
前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である第1の取引データを前記取引データ記憶部から取得する、第1の取得ステップと、
前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、
前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である第2の取引データを前記取引データ記憶部から取得する、第2の取得ステップと、
前記第1の取引データのデータ基準日と、前記第2の取引データのデータ基準日との間となるデータ基準日を含む取引データを前記取引データ記憶部から削除するデータ削除ステップと、
を含む取引データ処理方法。 Receives and processes transaction data including transaction identification information for identifying a financial transaction from a financial system connected via a network, a balance of the financial transaction, and a data reference date indicating a change date of the balance of the financial transaction A transaction data processing method for
The latest transaction data acquisition step of acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data;
An update step of updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition step as the day before the data reference date included in the received transaction data;
A registration step of registering the expiration date of the received transaction data in the transaction data storage unit as a future date;
A first input step of inputting a first non-deletion reference date among a plurality of non-deletion reference dates that are different dates that do not delete transaction data;
The first transaction data having the data reference date before the first non-deletion reference date and the expiration date after the first non-deletion reference date is acquired from the transaction data storage unit. The acquisition step of
A second input step of inputting a second non-deletion reference date that is a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates;
Obtaining from the transaction data storage unit second transaction data in which the data reference date is before the second non-deletion reference date and the expiration date is after the second non-deletion reference date; The acquisition step of
A data deletion step of deleting transaction data including a data reference date between the data reference date of the first transaction data and the data reference date of the second transaction data from the transaction data storage unit;
Transaction data processing method including
前記第2の取得ステップは、前記取引データ記憶部に前記第2の取引データが存在しない場合に、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する In the second acquisition step, when the second transaction data does not exist in the transaction data storage unit, the latest transaction among the transaction data including the data reference date before the second non-deletion reference date. Data is acquired from the transaction data storage unit as the second transaction data
ことを特徴とする請求項1に記載の取引データ処理方法。The transaction data processing method according to claim 1, wherein:
前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する取引データが存在するか否かを判定する第2の一致判定ステップと、をさらに備え、
前記第1の取得ステップは、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データを前記第1の取引データとして前記取引データ記憶部から取得し、
前記第2の取得ステップは、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第2の取引データとして前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データを前記第2の取引データとして前記取引データ記憶部から取得する、
ことを特徴とする請求項1又は2に記載の取引データ処理方法。 Referring to the transaction data storage unit, a first matching determination step of determining whether transaction data to which the data reference date coincides with the first non-deletion date is present,
The transaction refers to the data storage unit, further comprising a second matching determination step of determining whether transaction data to which the data reference date coincides with the second non-deletion date is present,
Said first obtaining step, if the transaction data wherein the data date by the first match determination step coincides with the first non-deletion date is determined to exist, the transaction data to the matching first 1 is obtained from the transaction data storage unit as transaction data, and when it is determined in the first match determination step that there is no transaction data in which the data reference date matches the first non-deletion reference date, Transaction data whose data reference date is before the first non-deletion reference date and whose expiration date is after the first non-deletion reference date is acquired from the transaction data storage unit as the first transaction data. ,
Said second obtaining step, if the transaction data wherein the data date by the second match determination step coincides with the second non-deletion date is determined to exist, the transaction data to the matching first 2 is obtained from the transaction data storage unit as transaction data, and when it is determined by the second match determination step that there is no transaction data in which the data reference date matches the second non-delete reference date, Transaction data whose data reference date is before the second non-deletion reference date and whose expiration date is after the second non-deletion reference date is acquired from the transaction data storage unit as the second transaction data. ,
The transaction data processing method according to claim 1, wherein the transaction data is processed.
前記取引データ記憶部を参照し、前記第2の取引データが存在するか否かを判定する第2の範囲判定ステップと、をさらに備え、
前記第1の取得ステップは、前記第1の範囲判定ステップにより当該第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、
前記第2の取得ステップは、前記第2の範囲判定ステップにより当該第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する、
ことを特徴とする請求項1に記載の取引データ処理方法。 A first range determination step of referring to the transaction data storage unit and determining whether or not the first transaction data exists;
A second range determination step of referring to the transaction data storage unit and determining whether or not the second transaction data exists;
In the first acquisition step, when it is determined by the first range determination step that the first transaction data does not exist, transaction data including a data reference date before the first non-deletion reference date is stored. Among them, the latest transaction data is acquired from the transaction data storage unit as the first transaction data ,
In the second acquisition step, when it is determined by the second range determination step that the second transaction data does not exist, transaction data including a data reference date before the second non-deletion reference date is stored. The latest transaction data is acquired from the transaction data storage unit as the second transaction data .
The transaction data processing method according to claim 1 , wherein:
ことを特徴とする請求項1乃至4のいずれか1項に記載の取引データ処理方法。 In the data deletion step, the data reference date is after the expiration date of the second transaction data acquired by the second acquisition step, and the expiration date is acquired by the first acquisition step. Deleting the transaction data that is earlier than the data reference date of the first transaction data from the transaction data storage unit,
The transaction data processing method according to claim 1, wherein the transaction data is processed.
前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを取引データ記憶部から取得する最新取引データ取得ステップと、
前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、
前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、
取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、
前記取引データ記憶部を参照し、前記データ基準日が前記第1の非削除基準日と一致する第1の取引データが存在するか否かを判定する第1の一致判定ステップと、
前記第1の一致判定ステップにより前記第1の取引データが存在すると判定された場合、当該第1の取引データを前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得する第1の取得ステップと、
前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、
前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する第2の取引データが存在するか否かを判定する第2の一致判定ステップと、
前記第2の一致判定ステップにより前記第2の取引データが存在すると判定された場合、当該第2の取引データを前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する第2の取得ステップと、
前記データ基準日が前記第2の取得ステップにより取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記第1の取得ステップにより取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除するデータ削除ステップと、
を含む取引データ処理方法。 Receives and processes transaction data including transaction identification information for identifying a financial transaction from a financial system connected via a network, a balance of the financial transaction, and a data reference date indicating a change date of the balance of the financial transaction A transaction data processing method for
The latest transaction data acquisition step of acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data;
An update step of updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition step as the day before the data reference date included in the received transaction data;
A registration step of registering the expiration date of the received transaction data in the transaction data storage unit as a future date;
A first input step of inputting a first non-deletion reference date among a plurality of non-deletion reference dates that are different dates that do not delete transaction data;
Referring to the transaction data storage unit, a first matching determination step of determining whether the first transaction data the data reference date coincides with the first non-deletion date is present,
If it is determined in the first match determination step that the first transaction data is present, the first transaction data is acquired from the transaction data storage unit, and the first match determination step is used to acquire the first transaction data . When it is determined that there is no transaction data, the latest transaction data among the transaction data including the data reference date before the first non-deletion reference date is used as the first transaction data from the transaction data storage unit. A first acquisition step to acquire;
A second input step of inputting a second non-deletion reference date that is a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates;
Referring to the transaction data storage unit, a second matching determination step of determining whether the second transaction data the data reference date coincides with the second non-deletion date is present,
When it is determined by the second match determination step that the second transaction data exists, the second transaction data is acquired from the transaction data storage unit, and the second match determination step performs the second match data . When it is determined that there is no transaction data, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is used as the second transaction data from the transaction data storage unit. A second obtaining step to obtain;
Wherein after the data reference date to the expiration date of the second transaction data acquired by the second acquisition step, and the expiration date has been the first transaction acquired by the first acquisition step A data deletion step of deleting transaction data that is earlier than the data reference date of the data from the transaction data storage unit;
Transaction data processing method including
前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部と、
取引データを削除しない異なる日付である複数の非削除基準日を記憶する非削除基準日記憶部と、
前記受信した取引データを処理する制御部とを備え、
前記制御部は、
前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得手段と、
前記最新取引データ取得手段により取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新手段と、
前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録手段と、
前記非削除基準日記憶部から前記複数の非削除基準日のいずれかを取得する非削除基準日取得手段と、
前記非削除基準日取得手段により取得された非削除基準日に応じた取引データを前記取引データ記憶部から取得する取得手段と、
前記取得手段により取得されない取引データを前記取引データ記憶部から削除する削除手段とを備え、
前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、第1の非削除基準日を取得し、
前記取得手段は、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である第1の取引データを前記取引データ記憶部から取得し、
前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を取得し、
前記取得手段は、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である第2の取引データを前記取引データ記憶部から取得し、
前記削除手段は、前記第1の取引データのデータ基準日と、前記第2の取引データのデータ基準日との間となるデータ基準日を含む取引データを前記取引データ記憶部から削除する、
ことを特徴とする取引データ処理システム。 A transaction data processing system for receiving and processing transaction data in a financial transaction from a financial system connected via a network,
Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance And
A non-deletion reference date storage unit that stores a plurality of non-deletion reference dates that are different dates that do not delete transaction data;
A control unit for processing the received transaction data,
The controller is
Latest transaction data acquisition means for acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data;
Update means for updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition means as the day before the data reference date included in the received transaction data;
Registration means for registering the expiration date of the received transaction data in the transaction data storage unit as a future date;
Non-deletion reference date acquisition means for acquiring any of the plurality of non-deletion reference dates from the non-deletion reference date storage unit;
Acquisition means for acquiring transaction data according to the non-deletion reference date acquired by the non-deletion reference date acquisition means from the transaction data storage unit;
Deleting means for deleting transaction data not acquired by the acquisition means from the transaction data storage unit,
The non-deletion reference date acquisition means acquires a first non-deletion reference date among the plurality of non-deletion reference dates from the non-deletion reference date storage unit,
The acquisition means obtains first transaction data whose data reference date is before the first non-deletion reference date and whose expiration date is after the first non-deletion reference date from the transaction data storage unit. Acquired,
The non-deletion reference date acquisition unit acquires a second non-deletion reference date that is a date immediately before the first non-deletion reference date from the non-deletion reference date storage unit. And
The acquisition means obtains second transaction data whose data reference date is before the second non-deletion reference date and whose expiration date is after the second non-deletion reference date from the transaction data storage unit. Acquired,
The deletion means deletes transaction data including a data reference date between the data reference date of the first transaction data and the data reference date of the second transaction data from the transaction data storage unit.
A transaction data processing system characterized by that .
前記取引データ記憶部に前記第1の取引データが存在しない場合に、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、 When the first transaction data does not exist in the transaction data storage unit, the latest transaction data among the transaction data including the data reference date prior to the first non-deletion reference date is the first transaction data. As obtained from the transaction data storage unit,
前記取引データ記憶部に前記第2の取引データが存在しない場合に、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する、 When the second transaction data does not exist in the transaction data storage unit, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is used as the second transaction data. As obtained from the transaction data storage unit,
ことを特徴とする請求項8に記載の取引データ処理システム。The transaction data processing system according to claim 8, wherein:
前記一致判定手段は、前記データ基準日が前記第1の非削除基準日と一致する取引データが存在するか否かを判定し、
前記取得手段は、前記一致判定手段により前記データ基準日が前記第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記一致判定手段により前記データ基準日が前記第1の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データを前記第1の取引データとして前記取引データ記憶部から取得し、
前記一致判定手段は、前記データ基準日が前記第2の非削除基準日と一致する取引データが存在するか否かを判定し、
前記取得手段は、前記一致判定手段により前記データ基準日が前記第2の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第2の取引データとして前記取引データ記憶部から取得し、前記一致判定手段により前記データ基準日が前記第2の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データを前記第2の取引データとして前記取引データ記憶部から取得する、
ことを特徴とする請求項8又は9に記載の取引データ処理システム。 The control unit further includes a match determination unit that refers to the transaction data storage unit and determines whether there is transaction data in which the data reference date matches the non-deletion reference date,
The match determination means determines whether or not there is transaction data in which the data reference date matches the first non-deletion reference date,
In the case where it is determined by the match determination unit that there is transaction data whose data reference date matches the first non-deletion reference date, the acquisition unit uses the matching transaction data as the first transaction data. When it is determined that there is no transaction data that is acquired from the transaction data storage unit and the data reference date matches the first non-deletion reference date by the match determination means, the data reference date is the first non-deletion date. Transaction data that is before the deletion reference date and whose expiration date is after the first non-deletion reference date is acquired as the first transaction data from the transaction data storage unit,
The match determination means determines whether or not there is transaction data whose data reference date matches the second non-deletion reference date,
The acquisition means, when it is determined by the match determination means that there is transaction data whose data reference date matches the second non-deletion reference date, the matching transaction data is used as the second transaction data. When it is determined that there is no transaction data that is acquired from the transaction data storage unit and the data reference date matches the second non-deletion reference date by the match determination means, the data reference date is the second non-deletion date. Obtaining transaction data from the transaction data storage unit as the second transaction data before the deletion reference date and whose expiration date is after the second non-deletion reference date;
The transaction data processing system according to claim 8 or 9 , wherein
前記取得手段は、
前記範囲判定手段により、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データが前記取引データ記憶部に存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、
前記範囲判定手段により、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データが前記取引データ記憶部に存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する、
ことを特徴とする請求項8に記載の取引データ処理システム。 The control unit refers to the transaction data storage unit and determines whether or not there exists transaction data whose data base date is before the non-deletion base date and whose expiration date is after the non-deletion base date. A range determination means for determining;
The acquisition means includes
By the range determination means, there is no transaction data in the transaction data storage unit in which the data reference date is before the first non-deletion reference date and the expiration date is after the first non-deletion reference date. If it is determined, the latest transaction data is acquired from the transaction data storage unit as the first transaction data among the transaction data including the data reference date before the first non-deletion reference date,
By the range determination means, there is no transaction data in the transaction data storage unit in which the data reference date is before the second non-deletion reference date and the expiration date is after the second non-deletion reference date. If it is determined, the latest transaction data is acquired from the transaction data storage unit as the second transaction data among the transaction data including the data reference date prior to the second non-deletion reference date.
The transaction data processing system according to claim 8 , wherein:
前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部と、
取引データを削除しない異なる日付である複数の非削除基準日を記憶する非削除基準日記憶部と、
前記受信した取引データを処理する制御部とを備え、
前記制御部は、
前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得手段と、
前記最新取引データ取得手段により取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新手段と、
前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録手段と、
前記非削除基準日記憶部から前記複数の非削除基準日のいずれかを取得する非削除基準日取得手段と、
前記取引データ記憶部を参照し、前記データ基準日が前記非削除基準日取得手段により取得された非削除基準日と一致する取引データが存在するか否かを判定する一致判定手段と、
前記非削除基準日取得手段により取得された非削除基準日に応じた取引データを前記取引データ記憶部から取得する取得手段と、
前記取得手段により取得されない取引データを前記取引データ記憶部から削除する削除手段とを備え、
前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、第1の非削除基準日を取得し、
前記一致判定手段は、前記データ基準日が前記第1の非削除基準日と一致する第1の取引データが存在するか否かを判定し、
前記取得手段は、前記一致判定手段により前記第1の取引データが存在すると判定された場合、当該第1の取引データを前記取引データ記憶部から取得し、前記一致判定手段により前記第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、
前記非削除基準日取得手段は、前記非削除基準日記憶部から前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を取得し、
前記一致判定手段は、前記データ基準日が前記第2の非削除基準日と一致する第2の取引データが存在するか否かを判定し、
前記取得手段は、前記一致判定手段により前記第2の取引データが存在すると判定された場合、当該第2の取引データを前記取引データ記憶部から取得し、前記一致判定手段により前記第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得し、
前記削除手段は、前記データ基準日が前記取得手段により取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記取得手段により取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除する、
取引データ処理システム。 A transaction data processing system for receiving and processing transaction data in a financial transaction from a financial system connected via a network,
Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance And
A non-deletion reference date storage unit that stores a plurality of non-deletion reference dates that are different dates that do not delete transaction data;
A control unit for processing the received transaction data,
The controller is
Latest transaction data acquisition means for acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data;
Update means for updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition means as the day before the data reference date included in the received transaction data;
Registration means for registering the expiration date of the received transaction data in the transaction data storage unit as a future date;
Non-deletion reference date acquisition means for acquiring any of the plurality of non-deletion reference dates from the non-deletion reference date storage unit;
A match determination unit that refers to the transaction data storage unit and determines whether there is transaction data in which the data reference date matches the non-deleted reference date acquired by the non-deleted reference date acquiring unit;
Acquisition means for acquiring transaction data according to the non-deletion reference date acquired by the non-deletion reference date acquisition means from the transaction data storage unit;
And a deleting means for deleting the transaction data is not acquired by the acquisition means from the transaction data storage unit,
The non-deletion reference date acquisition means acquires a first non-deletion reference date among the plurality of non-deletion reference dates from the non-deletion reference date storage unit,
The match determining unit determines whether the first transaction data the data reference date coincides with the first non-deletion date is present,
Said acquisition means, if said first transaction data is determined to exist by said coincidence determining means, said first transaction data obtained from the transaction data storage unit, the first transaction by the match determining means When it is determined that there is no data, the latest transaction data is acquired from the transaction data storage unit as the first transaction data among the transaction data including the data reference date before the first non-deletion reference date. And
The non-deletion date obtaining means, wherein the plurality of non-deletion date from non-deleted date storage unit, acquires the second non-deletion date is the date immediately before the first non-deletion date And
It said coincidence determining means determines whether the second transaction data the data reference date coincides with the second non-deletion date is present,
It said acquisition means, if said second transaction data is determined to exist by said coincidence determining means, said second transaction data obtained from the transaction data storage unit, the second transaction by said coincidence determining means When it is determined that the data does not exist, the latest transaction data is acquired from the transaction data storage unit as the second transaction data among the transaction data including the data reference date before the second non-deletion reference date. And
The deletion unit, the data after reference date to the expiration date of the second transaction data acquired by the acquisition unit, and the expiration date of the first transaction data obtained by the obtaining means Deleting transaction data that is earlier than the data reference date from the transaction data storage unit ,
Transaction data processing system.
前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部を参照し、前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得ステップと、
前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、
前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、
取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、
前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である第1の取引データを前記取引データ記憶部から取得する、第1の取得ステップと、
前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、
前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である第2の取引データを前記取引データ記憶部から取得する、第2の取得ステップと、
前記第1の取引データのデータ基準日と、前記第2の取引データのデータ基準日との間となるデータ基準日を含む取引データを前記取引データ記憶部から削除するデータ削除ステップと、
を有する取引データ処理プログラム。 A transaction data processing program for causing a computer to execute transaction data processing for receiving and processing transaction data in a financial transaction from a financial system connected via a network,
Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance A latest transaction data acquisition step of acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data;
An update step of updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition step as the day before the data reference date included in the received transaction data;
A registration step of registering the expiration date of the received transaction data in the transaction data storage unit as a future date;
A first input step of inputting a first non-deletion reference date among a plurality of non-deletion reference dates that are different dates that do not delete transaction data;
The first transaction data having the data reference date before the first non-deletion reference date and the expiration date after the first non-deletion reference date is acquired from the transaction data storage unit. The acquisition step of
A second input step of inputting a second non-deletion reference date that is a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates;
Obtaining from the transaction data storage unit second transaction data in which the data reference date is before the second non-deletion reference date and the expiration date is after the second non-deletion reference date; The acquisition step of
A data deletion step of deleting transaction data including a data reference date between the data reference date of the first transaction data and the data reference date of the second transaction data from the transaction data storage unit;
A transaction data processing program.
前記第2の取得ステップは、前記取引データ記憶部に前記第2の取引データが存在しない場合に、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する In the second acquisition step, when the second transaction data does not exist in the transaction data storage unit, the latest transaction among the transaction data including the data reference date before the second non-deletion reference date. Data is acquired from the transaction data storage unit as the second transaction data
ことを特徴とする請求項15に記載の取引データ処理方法。The transaction data processing method according to claim 15, wherein:
前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する取引データが存在するか否かを判定する第2の一致判定ステップと、をさらに有し、
前記第1の取得ステップは、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第1の取引データとして前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記データ基準日が前記第1の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第1の非削除基準日以前、かつ、前記有効期限日が当該第1の非削除基準日以後である取引データを前記第1の取引データとして前記取引データ記憶部から取得し、
前記第2の取得ステップは、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在すると判定された場合、当該一致する取引データを前記第2の取引データとして前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記データ基準日が前記第2の非削除基準日と一致する取引データが存在しないと判定された場合、前記データ基準日が前記第2の非削除基準日以前、かつ、前記有効期限日が当該第2の非削除基準日以後である取引データを前記第2の取引データとして前記取引データ記憶部から取得する、
ことを特徴とする請求項15又は16に記載の取引データ処理プログラム。 Referring to the transaction data storage unit, a first matching determination step of determining whether transaction data to which the data reference date coincides with the first non-deletion date is present,
The transaction refers to the data storage unit further includes a second matching determination step of determining whether transaction data to which the data reference date coincides with the second non-deletion date is present,
Said first obtaining step, if the transaction data wherein the data date by the first match determination step coincides with the first non-deletion date is determined to exist, the transaction data to the matching first 1 is obtained from the transaction data storage unit as transaction data, and when it is determined in the first match determination step that there is no transaction data in which the data reference date matches the first non-deletion reference date, Transaction data whose data reference date is before the first non-deletion reference date and whose expiration date is after the first non-deletion reference date is acquired from the transaction data storage unit as the first transaction data. ,
Said second obtaining step, if the transaction data wherein the data date by the second match determination step coincides with the second non-deletion date is determined to exist, the transaction data to the matching first 2 is obtained from the transaction data storage unit as transaction data, and when it is determined by the second match determination step that there is no transaction data in which the data reference date matches the second non-delete reference date, Transaction data whose data reference date is before the second non-deletion reference date and whose expiration date is after the second non-deletion reference date is acquired from the transaction data storage unit as the second transaction data. ,
The transaction data processing program according to claim 15 or 16 , characterized in that
前記取引データ記憶部を参照し、前記第2の取引データが存在するか否かを判定する第2の範囲判定ステップと、をさらに備え、
前記第1の取得ステップは、前記第1の範囲判定ステップにより当該第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得し、
前記第2の取得ステップは、前記第2の範囲判定ステップにより当該第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する、
ことを特徴とする請求項15に記載の取引データ処理プログラム。 A first range determination step of referring to the transaction data storage unit and determining whether or not the first transaction data exists;
A second range determination step of referring to the transaction data storage unit and determining whether or not the second transaction data exists;
In the first acquisition step, when it is determined by the first range determination step that the first transaction data does not exist, transaction data including a data reference date before the first non-deletion reference date is stored. Among them, the latest transaction data is acquired from the transaction data storage unit as the first transaction data ,
In the second acquisition step, when it is determined by the second range determination step that the second transaction data does not exist, transaction data including a data reference date before the second non-deletion reference date is stored. The latest transaction data is acquired from the transaction data storage unit as the second transaction data .
The transaction data processing program according to claim 15 , wherein:
前記金融取引を識別する取引識別情報と、当該金融取引の残高と、当該金融取引の残高の変更日を示すデータ基準日と、当該残高の有効期限日とを含む取引データを記憶する取引データ記憶部を参照し、前記受信した取引データに含まれる取引識別情報と同じ取引識別情報を有する過去の取引データの内、最新の取引データを前記取引データ記憶部から取得する最新取引データ取得ステップと、
前記最新取引データ取得ステップにより取得された取引データに含まれる残高の有効期限日を、前記受信した取引データに含まれるデータ基準日の前日として更新する更新ステップと、
前記受信した取引データの有効期限日を将来の日付として前記取引データ記憶部へ登録する登録ステップと、
取引データを削除しない異なる日付である複数の非削除基準日のうち、第1の非削除基準日を入力する第1の入力ステップと、
前記取引データ記憶部を参照し、前記データ基準日が前記第1の非削除基準日と一致する第1の取引データが存在するか否かを判定する第1の一致判定ステップと、
前記第1の一致判定ステップにより前記第1の取引データが存在すると判定された場合、当該第1の取引データを前記取引データ記憶部から取得し、前記第1の一致判定ステップにより前記第1の取引データが存在しないと判定された場合、前記第1の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第1の取引データとして前記取引データ記憶部から取得する第1の取得ステップと、
前記複数の非削除基準日のうち、前記第1の非削除基準日の直前の日付である第2の非削除基準日を入力する第2の入力ステップと、
前記取引データ記憶部を参照し、前記データ基準日が前記第2の非削除基準日と一致する第2の取引データが存在するか否かを判定する第2の一致判定ステップと、
前記第2の一致判定ステップにより前記第2の取引データが存在すると判定された場合、当該第2の取引データを前記取引データ記憶部から取得し、前記第2の一致判定ステップにより前記第2の取引データが存在しないと判定された場合、前記第2の非削除基準日より前のデータ基準日を含む取引データの内、最新の取引データを前記第2の取引データとして前記取引データ記憶部から取得する第2の取得ステップと、
前記データ基準日が前記第2の取得ステップにより取得された前記第2の取引データの有効期限日より後、かつ、前記有効期限日が前記第1の取得ステップにより取得された前記第1の取引データのデータ基準日より前である取引データを前記取引データ記憶部から削除するデータ削除ステップと、
を含む取引データ処理プログラム。 A transaction data processing program for causing a computer to execute transaction data processing for receiving and processing transaction data in a financial transaction from a financial system connected via a network,
Transaction data storage for storing transaction data including transaction identification information for identifying the financial transaction, a balance of the financial transaction, a data reference date indicating a change date of the balance of the financial transaction, and an expiration date of the balance A latest transaction data acquisition step of acquiring the latest transaction data from the transaction data storage unit among the past transaction data having the same transaction identification information as the transaction identification information included in the received transaction data;
An update step of updating the expiration date of the balance included in the transaction data acquired by the latest transaction data acquisition step as the day before the data reference date included in the received transaction data;
A registration step of registering the expiration date of the received transaction data in the transaction data storage unit as a future date;
A first input step of inputting a first non-deletion reference date among a plurality of non-deletion reference dates that are different dates that do not delete transaction data;
Referring to the transaction data storage unit, a first matching determination step of determining whether the first transaction data the data reference date coincides with the first non-deletion date is present,
If it is determined in the first match determination step that the first transaction data is present, the first transaction data is acquired from the transaction data storage unit, and the first match determination step is used to acquire the first transaction data . When it is determined that there is no transaction data, the latest transaction data among the transaction data including the data reference date before the first non-deletion reference date is used as the first transaction data from the transaction data storage unit. A first acquisition step to acquire;
A second input step of inputting a second non-deletion reference date that is a date immediately before the first non-deletion reference date among the plurality of non-deletion reference dates;
Referring to the transaction data storage unit, a second matching determination step of determining whether the second transaction data the data reference date coincides with the second non-deletion date is present,
When it is determined by the second match determination step that the second transaction data exists, the second transaction data is acquired from the transaction data storage unit, and the second match determination step performs the second match data . When it is determined that there is no transaction data, the latest transaction data among the transaction data including the data reference date before the second non-deletion reference date is used as the second transaction data from the transaction data storage unit. A second obtaining step to obtain;
Wherein after the data reference date to the expiration date of the second transaction data acquired by the second acquisition step, and the expiration date has been the first transaction acquired by the first acquisition step A data deletion step of deleting transaction data that is earlier than the data reference date of the data from the transaction data storage unit;
Transaction data processing program including
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009071631A JP4938813B2 (en) | 2009-03-24 | 2009-03-24 | Transaction data processing method, system and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009071631A JP4938813B2 (en) | 2009-03-24 | 2009-03-24 | Transaction data processing method, system and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010224881A JP2010224881A (en) | 2010-10-07 |
JP4938813B2 true JP4938813B2 (en) | 2012-05-23 |
Family
ID=43042002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009071631A Expired - Fee Related JP4938813B2 (en) | 2009-03-24 | 2009-03-24 | Transaction data processing method, system and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4938813B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2013323618B2 (en) | 2012-09-25 | 2019-04-04 | Mx Technologies Inc. | Aggregation source routing |
US9692815B2 (en) | 2015-11-12 | 2017-06-27 | Mx Technologies, Inc. | Distributed, decentralized data aggregation |
US10313342B1 (en) | 2015-11-30 | 2019-06-04 | Mx Technologies, Inc. | Automatic event migration |
CN106548376A (en) * | 2016-10-27 | 2017-03-29 | 北京锐安科技有限公司 | A kind of data analysing method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3360654B2 (en) * | 1999-06-17 | 2002-12-24 | 日本電気株式会社 | Data deletion device |
JP2005227910A (en) * | 2004-02-10 | 2005-08-25 | Sumitomo Mitsui Banking Corp | Transaction account information management system and method |
JP4602813B2 (en) * | 2005-03-24 | 2010-12-22 | 株式会社エス・シー・アイ | Retirement allowance point calculation system and retirement allowance calculation system |
JP2007334595A (en) * | 2006-06-14 | 2007-12-27 | Toshiba Corp | Database system and method for deleting data in database system |
-
2009
- 2009-03-24 JP JP2009071631A patent/JP4938813B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010224881A (en) | 2010-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200218737A1 (en) | Method, system and program product for matching of transaction records | |
US8799116B2 (en) | Process and system for automated collection of business information from a business entity's accounting system | |
US20190236601A1 (en) | Enhanced merchant identification using transaction data | |
US10546348B1 (en) | Cleaning noise words from transaction descriptions | |
JP2011170490A (en) | SaaS GENERAL ACCOUNTING SYSTEM | |
JP2007018355A (en) | Collection proxy system | |
CN112037026A (en) | Automatic abnormal transaction work order processing method, device and system | |
JP4938813B2 (en) | Transaction data processing method, system and program | |
CN110942392A (en) | Service data processing method, device, equipment and medium | |
CN113205402A (en) | Account checking method and device, electronic equipment and computer readable medium | |
KR101487090B1 (en) | System and method for managing companies | |
US11734350B2 (en) | Statistics-aware sub-graph query engine | |
CN110084699A (en) | Polymerization, device, transaction List Table system and the storage medium of transaction record | |
JP5922089B2 (en) | Credit management system and method using exchange statement information | |
KR101927578B1 (en) | System for providing enterprise information and method | |
CN110781235A (en) | Big data based purchase data processing method and device, terminal and storage medium | |
CN110046980B (en) | Financial data generation system and method | |
KR20100027285A (en) | Integrating management system for supporting for service of bank and method of the same | |
JP5850546B1 (en) | Government bond principal and interest distribution system and method | |
KR102107453B1 (en) | System and method for funds management service, mobile device for the same and computer program for the same | |
JP7398296B2 (en) | Exchange rate conversion device, exchange rate conversion method, and exchange rate conversion program | |
JP2008033396A (en) | Information retrieval device and information retrieval system | |
JP2023119786A (en) | Fund settlement support system, method and program | |
JP4643982B2 (en) | Information processing device | |
JP2005227910A (en) | Transaction account information management system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110711 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110823 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111017 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120207 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120223 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150302 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |