JP2000066939A - Backup data restration system and storage medium storing backup data restoring method - Google Patents
Backup data restration system and storage medium storing backup data restoring methodInfo
- Publication number
- JP2000066939A JP2000066939A JP10231689A JP23168998A JP2000066939A JP 2000066939 A JP2000066939 A JP 2000066939A JP 10231689 A JP10231689 A JP 10231689A JP 23168998 A JP23168998 A JP 23168998A JP 2000066939 A JP2000066939 A JP 2000066939A
- Authority
- JP
- Japan
- Prior art keywords
- data
- generation
- application program
- backup
- data structure
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 24
- 238000006243 chemical reaction Methods 0.000 claims abstract description 23
- 238000012545 processing Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 2
- 230000008859 change Effects 0.000 abstract description 8
- 230000004044 response Effects 0.000 abstract description 4
- 238000012546 transfer Methods 0.000 description 75
- 238000010586 diagram Methods 0.000 description 13
- 238000004364 calculation method Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、データベースにお
ける項目の追加、変更、削除などのデータ構造の変更が
あった場合でも、データ構造の変更前にバックアップさ
れているデータをデータ構造の変更後のデータベース上
で有効に活用できるデータ復元システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for storing data that has been backed up before a data structure is changed, even if the data structure is changed such as addition, change, or deletion of an item in a database. The present invention relates to a data restoration system that can be effectively used on a database.
【0002】[0002]
【従来の技術】データベースを用いる業務用アプリケー
ションプログラムを作動するコンピュータシステムにお
いては、定期的に、データが、テープや光ディスクなど
固定記憶媒体にバックアップされている。このデータの
バックアップは、事故などによりコンピュータシステム
がダウンした場合に、バックアップされたデータを用い
て、コンピュータシステムを再起動して、業務用アプリ
ケーションプログラムを略元通りに再起動するために行
われる。2. Description of the Related Art In a computer system operating a business application program using a database, data is periodically backed up to a fixed storage medium such as a tape or an optical disk. This data backup is performed to restart the computer system using the backed up data and restart the business application program substantially in the case where the computer system goes down due to an accident or the like.
【0003】ところで、バックアップされたデータは、
アプリケーションプログラムとは独立して記憶される。
したがって、バックアップを行ったアプリケーションプ
ログラムがバージョンアップ等により、世代が変わった
新たなアプリケーションプログラムに置き換えられ、そ
の新たなアプリケーションプログラムによるバックアッ
プが行われる前に、システムがダウンした場合、バック
アップされていたデータと、新たなアプリケーションプ
ログラムとの間に不整合が生じる。新たなアプリケーシ
ョンプログラムでは、旧い世代のバックアップデータを
直接使用することはできないからである。この場合、従
来のコンピュータシステムにおいては、バックアップさ
れていたデータを、いったん、古い世代(世代が変わる
前)のアプリケーションプログラムなどを用いて復元
し、次いで、新たなアプリケーションプログラムを使用
して、データ処理を実行するまえに、復元されたデータ
のデータ構造を、新たなアプリケーションにおいて使用
できるように更新する必要があった。[0003] By the way, the backed up data is
It is stored independently of the application program.
Therefore, if the backed up application program is replaced with a new application program of a different generation due to version upgrade, etc., and the system goes down before the backup by the new application program is performed, the data that was backed up And a new application program is inconsistent. This is because a new application program cannot directly use backup data of an old generation. In this case, in the conventional computer system, data that has been backed up is restored using an old generation (before the generation is changed) application program and the like, and then data processing is performed using a new application program. Before executing, the data structure of the restored data had to be updated so that it could be used in a new application.
【0004】[0004]
【発明が解決しようとする課題】上述したように、従来
のコンピュータシステムにおいては、データの保管(バ
ックアップ)およびデータの復元の際に、アプリケーシ
ョンプログラムとの不整合を検出することができなかっ
たため、データ復元作業およびデータ更新作業(新たな
アプリケーションにて適切に作動するように整合をとる
作業)が複雑であるという問題点があった。As described above, in the conventional computer system, at the time of data storage (backup) and data restoration, inconsistency with the application program could not be detected. There has been a problem that the data restoring operation and the data updating operation (operation for matching to operate properly in a new application) are complicated.
【0005】本発明は、円滑にデータを復元して、コン
ピュータシステムにおいて、アプリケーションプログラ
ムを迅速にかつ適切に作動可能にするデータ復元システ
ムを提供することを目的とする。特に、データ復元が求
められる場合は、コンピュータシステムの障害復旧など
のように緊急を要することが多いため、復旧作業の時間
短縮と操作性の向上を図ることができるデータ復元シス
テムを提供することを目的とする。SUMMARY OF THE INVENTION It is an object of the present invention to provide a data restoration system for smoothly restoring data and enabling an application program to operate quickly and appropriately in a computer system. In particular, when data restoration is required, it is often urgent to recover data from a failure in a computer system. Therefore, it is necessary to provide a data restoration system that can shorten the time required for restoration work and improve operability. Aim.
【0006】[0006]
【課題を解決するための手段】上記の目的を達成するた
めに、請求項1記載の発明は、データベースを用いるア
プリケーションプログラムを作動させて所定の処理を実
行するとともに、前記データベース中のデータを外部記
憶媒体にバックアップし、必要に応じてバックアップさ
れたデータを読み出すバックアップデータ復元システム
であって、前記データ構造の世代を一意的に示す世代識
別子を付与する世代識別子付与手段と、前記バックアッ
プの際に、データベース中のデータと世代識別子とを対
応付けたバックアップデータを作成し、外部記憶媒体に
記憶するバックアップ手段と、データ復元の際に、前記
外部記憶媒体中の前記バックアップデータに含まれる世
代識別子が示す世代と、データを復元して作動させよう
とするアプリケーションプログラムがサポートしている
世代とを比較照合する比較照合手段と、前記比較照合手
段による比較照合の結果、前記世代識別子が示す世代
が、当該アプリケーションプログラムがサポートしてい
る世代と相違している場合は、外部記憶媒体中にバック
アップされているデータのデータ構造を、当該アプリケ
ーションプログラムがサポートしているデータ構造に適
合するよう変換するデータ構造変換手段と、を備えたこ
とを特徴とする。In order to achieve the above object, according to the present invention, an application program using a database is operated to execute a predetermined process, and data in the database is externally stored. What is claimed is: 1. A backup data restoration system for backing up data to a storage medium and reading backed up data as needed, comprising: a generation identifier assigning unit for assigning a generation identifier uniquely indicating a generation of the data structure; A backup unit that creates backup data in which data in a database and a generation identifier are associated with each other and stores the backup data in an external storage medium; and, when restoring data, a generation identifier included in the backup data in the external storage medium. Generation and the application that is trying to restore and run the data. A comparison / matching unit that compares and matches a generation supported by the application program, and a result of the comparison / matching performed by the comparison / matching unit, where the generation indicated by the generation identifier is different from the generation supported by the application program. Is characterized by comprising: data structure conversion means for converting a data structure of data backed up in an external storage medium so as to conform to a data structure supported by the application program.
【0007】請求項2記載の発明は、請求項1記載の発
明において、前記データ構造変換手段は、前記世代識別
子が示す世代と、当該アプリケーションプログラムがサ
ポートしている世代との相違の仕方に応じて、予め複数
のデータ構造変換方法を用意していることを特徴とす
る。請求項3記載の発明は、データベースを用いるアプ
リケーションプログラムを作動させて所定の処理を実行
するとともに、前記データベース中のデータを外部記憶
媒体にバックアップし、必要に応じてバックアップされ
たデータを読み出すバックアップデータ復元方法であっ
て、前記データ構造の世代を一意的に示す世代識別子を
付与する世代識別子付与ステップと、前記バックアップ
の際に、データベース中のデータと世代識別子とを対応
付けたバックアップデータを作成し、外部記憶媒体に記
憶するバックアップステップと、データ復元の際に、前
記外部記憶媒体中の前記バックアップデータに含まれる
世代識別子が示す世代と、データを復元して作動させよ
うとするアプリケーションプログラムがサポートしてい
る世代とを比較照合する比較照合ステップと、前記比較
照合ステップの結果、前記世代識別子が示す世代が、当
該アプリケーションプログラムがサポートしている世代
と相違している場合は、外部記憶媒体中にバックアップ
されているデータのデータ構造を、当該アプリケーショ
ンプログラムがサポートしているデータ構造に適合する
よう変換するデータ構造変換ステップと、を備えたこと
を特徴とする。According to a second aspect of the present invention, in the first aspect of the present invention, the data structure conversion means determines a difference between a generation indicated by the generation identifier and a generation supported by the application program. Thus, a plurality of data structure conversion methods are prepared in advance. The invention according to claim 3 is an application program that uses a database to execute predetermined processing, and at the same time, backs up data in the database to an external storage medium and reads backed up data as necessary. A restoration method, comprising: a generation identifier assigning step of assigning a generation identifier uniquely indicating a generation of the data structure; and, during the backup, creating backup data in which data in a database is associated with a generation identifier. A backup step of storing the data in an external storage medium, a generation indicated by a generation identifier included in the backup data in the external storage medium during data restoration, and an application program for restoring and operating the data. Comparison with the current generation If the generation indicated by the generation identifier is different from the generation supported by the application program, the data structure of the data backed up in the external storage medium And a data structure conversion step of converting the data into a data structure supported by the application program.
【0008】請求項4記載の発明である記憶媒体は、コ
ンピュータに、データベースを用いるアプリケーション
プログラムを作動させて所定の処理を実行するととも
に、前記データベース中のデータを外部記憶媒体にバッ
クアップし、必要に応じてバックアップされたデータを
読み出すバックアップデータ復元機能であって、前記デ
ータ構造の世代を一意的に示す世代識別子を付与する世
代識別子付与機能と、前記バックアップの際に、データ
ベース中のデータと世代識別子とを対応付けたバックア
ップデータを作成し、外部記憶媒体に記憶するバックア
ップ機能と、データ復元の際に、前記外部記憶媒体中の
前記バックアップデータに含まれる世代識別子が示す世
代と、データを復元して作動させようとするアプリケー
ションプログラムがサポートしている世代とを比較照合
する比較照合機能と、前記比較照合ステップの結果、前
記世代識別子が示す世代が、当該アプリケーションプロ
グラムがサポートしている世代と相違している場合は、
外部記憶媒体中にバックアップされているデータのデー
タ構造を、当該アプリケーションプログラムがサポート
しているデータ構造に適合するよう変換するデータ構造
変換機能と、を実行させるコンピュータプログラムを記
録したことを特徴とする。The storage medium according to the fourth aspect of the present invention executes a predetermined process by causing a computer to run an application program using a database, and also backs up data in the database to an external storage medium, and A backup data restoration function for reading backed-up data according to the data structure, wherein a generation identifier assignment function for assigning a generation identifier uniquely indicating a generation of the data structure; and A backup function for creating backup data in which the backup data is associated with the external storage medium, and at the time of data restoration, a generation indicated by a generation identifier included in the backup data in the external storage medium, and data restoration. Application program And comparing and collating function of comparing and collating a generation that port, the comparison and collation step results when the generation indicated by the generation identifier, which is different from the generation to which the application program is supported,
A computer program for executing a data structure conversion function of converting a data structure of data backed up in an external storage medium so as to conform to a data structure supported by the application program is recorded. .
【0009】[0009]
【発明の実施の形態】以下、添付図面を参照して、本発
明の実施の形態について説明する。図1は、本発明の実
施の形態にかかる振込金額自動決定システムの概略構成
図である。図1に示すように、振込金額自動決定システ
ム10は、システム全体を制御するとともに、種々のア
プリケーションプログラムを作動させて、必要な処理を
実行するCPU12と、キーボードやマウスなどの入力
装置14と、処理結果などを表示するためのディスプレ
イ16と、通信装置18と、データベース20と、テー
プや書き込み可能な光ディスクなどにデータを記憶する
外部記憶媒体読み書き装置22とを備えている。本実施
の形態においては、パーソナルコンピュータを、振込金
額自動決定システムとして用いることができる。通信装
置18は、例えば公衆通信回線網(図示せず)などを介
して、ホストコンピュータ(図示せず)と接続され得
る。CPU12により、アプリケーションプログラムが
実行されるほか、バックアップのための処理やデータ復
元ための処理が実行される。また、本実施の形態におい
て、CPU12にて実行されるプログラムは、メモリ
(図示せず)に記憶されている。尚、このプログラム
は、CD−ROMなどの可搬記憶媒体に記憶されたもの
を読み出すように構成しても良い。Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a schematic configuration diagram of a transfer amount automatic determination system according to an embodiment of the present invention. As shown in FIG. 1, the transfer amount automatic determination system 10 controls the entire system, activates various application programs to execute necessary processing, and an input device 14 such as a keyboard and a mouse. A display 16 for displaying processing results and the like, a communication device 18, a database 20, and an external storage medium read / write device 22 for storing data on a tape or a writable optical disk are provided. In the present embodiment, a personal computer can be used as an automatic transfer amount determination system. The communication device 18 can be connected to a host computer (not shown) via, for example, a public communication network (not shown). The CPU 12 executes an application program, and performs a process for backup and a process for data restoration. In the present embodiment, a program executed by CPU 12 is stored in a memory (not shown). The program may be configured to read out a program stored in a portable storage medium such as a CD-ROM.
【0010】図2は、本実施の形態にかかるバックアッ
プおよびデータ復元に関する機能ブロック図である。本
システムは、アプリケーションプログラム100と、ア
プリケーションプログラム100が用いるデータのデー
タ構造の世代番号を、データ構造に対応して付与する世
代付与部102と、バックアップデータを作成するバッ
クアップデータ作成部104と、バックアップされたデ
ータのデータ構造の世代番号を識別する世代識別部10
6と、世代識別部106による識別結果に基づき、デー
タを復元するデータ復元部108とを有している。FIG. 2 is a functional block diagram relating to backup and data restoration according to the present embodiment. The system includes an application program 100, a generation assignment unit 102 that assigns a generation number of a data structure of data used by the application program 100 in accordance with the data structure, a backup data creation unit 104 that creates backup data, Generation identification unit 10 for identifying the generation number of the data structure of the generated data
6 and a data restoration unit 108 for restoring data based on the identification result by the generation identification unit 106.
【0011】アプリケーションプログラム100は、バ
ージョンアップ等によって、それが取り扱うことのでき
るデータ構造が変わる場合があるが、そのような場合で
も、現在の時点で取り扱うことのできるデータ構造の世
代に関する情報を、自ら、アプリケーションプログラム
の世代番号として持っている。なお、上記「世代番号」
は、本発明の「世代識別子」の一例であり、各世代を識
別できるものであれば、特に「番号」に限られるもので
はなく、例えば種々の記号やビットパターンなどであっ
てもよい。The data structure that can be handled by the application program 100 may change due to version upgrade or the like. Even in such a case, information on the generation of the data structure that can be handled at the current time is stored. I own it as the generation number of the application program. The "generation number"
Is an example of the "generation identifier" of the present invention, and is not particularly limited to the "number" as long as it can identify each generation. For example, various symbols and bit patterns may be used.
【0012】世代付与部102は、アプリケーションプ
ログラム100の変更(たとえば、バージョンアップ)
に伴って、使用されるデータのデータ構造が変更された
場合に、その番号をインクリメントしたデータ構造の世
代番号を、新たなデータ構造に付与する。このデータ構
造の世代番号に基づき、後述するような比較照合が実行
されることになる。The generation giving unit 102 changes (for example, upgrades) the application program 100.
When the data structure of the data to be used is changed with the above, the generation number of the data structure in which the number is incremented is added to the new data structure. Based on the generation number of this data structure, comparison and collation as described below will be executed.
【0013】バックアップデータ作成部104は、アプ
リケーションプログラムにて使用されたデータをデータ
ベース20から読み出し、読み出したデータと対応する
世代番号とを対応付けて、バックアップ用の外部記憶媒
体110に記憶する。世代識別部106は、外部記憶媒
体110に記憶されたデータに対応する世代番号を認識
する。そして、現在のアプリケーションプログラムが取
り扱えるデータ構造の世代なのか、あるいは現在のアプ
リケーションプログラムはそのままでは取り扱えずデー
タ構造の変換が必要なのかを判断する。併せて、変換が
必要な場合には、どういう変換方法を使用してデータ復
元部108に渡すかを判断する。The backup data creation unit 104 reads data used by the application program from the database 20 and associates the read data with a corresponding generation number and stores the data in the backup external storage medium 110. The generation identification unit 106 recognizes a generation number corresponding to data stored in the external storage medium 110. Then, it is determined whether the generation is of a data structure that can be handled by the current application program, or whether the current application program cannot be handled as it is and the data structure needs to be converted. At the same time, when conversion is necessary, it is determined what conversion method to use to pass the data to the data restoration unit 108.
【0014】データ復元部108は、上記比較照合結果
に基づき、データ構造の変換を実行する。このデータ構
造の変換には、たとえば、データベース中の項目の追
加、変更および削除、テーブルの追加、削除などが含ま
れる。更に、本明細書では、テーブルの項目そのものに
変更がない場合でも、一定の場合は、データ構造に変更
があったものとする。例えばテーブルのある項目に所定
の計算式に基づいて計算された結果が自動的に挿入され
るような場合において、その計算式が変更されたような
場合も、データ構造に変更があったものとする。The data restoring unit 108 performs a data structure conversion based on the result of the comparison and collation. The conversion of the data structure includes, for example, addition, change and deletion of items in the database, addition and deletion of tables, and the like. Further, in the present specification, even when there is no change in the items of the table itself, it is assumed that the data structure has been changed in certain cases. For example, when a result calculated based on a predetermined calculation formula is automatically inserted into a certain item in a table, even if the calculation formula is changed, it is also assumed that the data structure has changed. I do.
【0015】以下、本明細書においては、(1)本実施
の形態にかかる振込金額自動決定システムにおいて実行
される、最も世代の新しいアプリケーションプログラム
に関するデータ構造、および、その処理内容につき説明
し、次いで、(2) これよりも世代の古いアプリケーシ
ョンプログラムに関するデータ構造、および、処理内容
について説明する。さらに、図2に示す構成による、
(3) データのバックアップおよびバックアップされた
データの復元について説明する。 (1) 最も世代の新しいアプリケーションプログラム
(最新世代アプリケーションプログラム) この実施の形態にかかる振込金額自動決定システムのデ
ータベース20には、支払元の口座に関する種々のデー
タを記憶した支払元口座情報テーブル、支払先(振込
先)の口座に関する種々のデータを記憶した支払先口座
情報テーブル、各金融機関の為替決済手数料を示すデー
タを記憶した為替決済手数料テーブル、および、振り込
むべき相手に関する種々のデータを記憶した相手先手数
料テーブルが記憶されている。まず、上述したテーブル
のそれぞれについて説明する。Hereinafter, in this specification, (1) a data structure relating to a newest generation application program executed in the automatic transfer amount determination system according to the present embodiment and the processing contents thereof will be described. (2) The data structure and the processing contents of the application program of a generation older than this will be described. Further, according to the configuration shown in FIG.
(3) Data backup and restoration of the backed up data will be described. (1) Latest Generation Application Program (Latest Generation Application Program) The database 20 of the automatic transfer amount determination system according to this embodiment includes a payment source account information table storing various data relating to the payment source account, A payee account information table that stores various data relating to the account of the destination (transfer destination), an exchange settlement fee table that stores data indicating the exchange settlement fee of each financial institution, and various data relating to the counterparty to be transferred. A counterparty fee table is stored. First, each of the tables described above will be described.
【0016】図3は、支払元口座情報テーブルを示す図
である。図3に示すように、支払元口座情報テーブル2
00は、ユーザにより予め開設された、支払元である金
融機関の番号を示す金融機関番号データ201、支店番
号データ202、口座種目を示す口座種目データ20
3、口座番号データ204、および、口座の名義人を示
す口座名義データ205からなるデータの組を有する。
支払元口座情報テーブル200は、たとえば、ユーザが
入力装置14を操作することにより、データベース20
に生成される。FIG. 3 is a diagram showing a payment source account information table. As shown in FIG. 3, the payment source account information table 2
00 is financial institution number data 201 indicating the number of the financial institution that is the payment source, branch number data 202, and account type data 20 indicating the account type, which are set up in advance by the user.
3. It has a data set consisting of account number data 204 and account name data 205 indicating the holder of the account.
The payment source account information table 200 stores, for example, the database 20 when the user operates the input device 14.
Is generated.
【0017】図4は、支払先口座情報テーブルを示す図
である。このテーブル300は、支払先ごとのデータの
組301、302、・・・ を有する。各データの組(たと
えば、符号301参照)は、支払先の金融機関番号を示
す金融機関番号データ311、支店番号データ312、
預金種目データ313、口座番号データ314、口座名
義データ315、後述する手数料の支払区分を示す手数
料支払区分データ316、その支払先から請求された金
額を示す請求金額データ317、この支払いのためにユ
ーザが実際に支払先の口座に振り込む金額を示す振込金
額データ318、振込に必要な支払元金融機関支払う為
替手数料データ319、当該振込について支払先が負担
する金額を示す相手負担額データ320、および、請求
金額と、振込金額及び為替手数料の合計金額との差額を
示す差額データ321とを有する。これらデータの組の
うち、金融機関番号データ311ないし手数料支払区分
データ316は、ユーザが入力装置14を操作すること
により、予め設定しておく。また、請求金額データ31
7は、ユーザが、支払先からの請求書などを参照して、
振込をする際に、入力装置14を操作して入力する。FIG. 4 shows a payee account information table. This table 300 has data sets 301, 302,... For each payee. Each set of data (for example, reference numeral 301) is composed of financial institution number data 311, branch number data 312,
Deposit item data 313, account number data 314, account name data 315, fee payment category data 316 indicating a fee payment category described later, billing amount data 317 indicating the amount billed by the payee, and a user , Transfer amount data 318 indicating the amount actually transferred to the account of the payee, exchange fee data 319 paid by the paying financial institution required for the transfer, partner charge amount data 320 indicating the amount borne by the payee for the transfer, It has difference data 321 indicating the difference between the billing amount and the total amount of the transfer amount and the exchange fee. Among these data sets, the financial institution number data 311 to the fee payment classification data 316 are set in advance by the user operating the input device 14. In addition, billing amount data 31
7, the user refers to the bill from the payee and the like,
When making the transfer, the input is made by operating the input device 14.
【0018】ユーザにより入力された請求金額データ3
17に基づき、CPU12において、手数料支払区分に
したがって、後述する所定の処理が実行されて、振込金
額や為替手数料などが算出される。本実施の形態におい
ては、手数料支払区分には、金融機関の為替手数料を、
相手、すなわち、支払先が負担する第1の区分、為替手
数料を自己負担する、すなわち、支払元が負担する第2
の区分、および、商取引の慣例にしたがって、一定の手
数料分を相手が負担する第3の区分がある。Billing amount data 3 input by the user
17, the CPU 12 executes predetermined processing described later in accordance with the fee payment category, and calculates a transfer amount, an exchange fee, and the like. In this embodiment, the fee payment category includes the exchange fee of a financial institution,
The other party, ie, the first category paid by the payee, the second party paid by the exchange fee, ie, the second paid by the payer
And a third category in which the opponent bears a fixed fee according to the customs of commercial transactions.
【0019】第1の区分においては、金融機関ごとの振
込金額に対応する為替手数料が、請求金額から差し引か
れて、振込金額が決定される。また、第2の区分におい
ては、請求金額がそのまま振込金額とされ、これに対応
する為替手数料が決定される。さらに、第3の区分にお
いては、所定の金額が、請求金額から差し引かれて振込
金額とされ、さらに、これに対応する為替手数料が決定
される。これら金額を決定する処理については、さらに
詳しく後述する。In the first category, the transfer fee corresponding to the transfer amount for each financial institution is subtracted from the charge amount to determine the transfer amount. In the second category, the billing amount is directly used as the transfer amount, and the corresponding exchange fee is determined. Further, in the third category, a predetermined amount is subtracted from the billed amount to be a transfer amount, and a corresponding exchange fee is determined. The processing for determining these amounts will be described later in more detail.
【0020】図5は、金融機関ごとの為替決定手数料を
記憶する為替決済手数料テーブルを示す図である。図5
に示すように、このテーブル400には、金融機関ごと
の振込金額に応じた手数料を示すデータの組401、4
02、・・・ が記憶されている。たとえば、図5において
は、二つの金融機関それぞれの、三つの払込み金額のそ
れぞれに対応する手数料が示されている。FIG. 5 is a diagram showing an exchange settlement fee table storing exchange decision fees for each financial institution. FIG.
As shown in the table, the table 400 includes a data set 401, 4 representing a fee corresponding to the transfer amount for each financial institution.
02,... Are stored. For example, FIG. 5 shows commissions corresponding to three payment amounts of two financial institutions.
【0021】上記データの組(たとえば、符号401)
には、金融機関番号411、振込金額の範囲を示す振込
金額範囲データ412、電信扱いによる同支店への振込
の際の為替手数料を示す第1の手数料データ413、電
信扱いによる他支店への振込の際の為替手数料を示す第
2の手数料データ414、電信扱いによる他銀行への振
込の際の為替手数料を示す第3の手数料データ415を
有する。図5に示すように、これら為替手数料は、金融
機関や振込金額によって異なるため、ユーザが入力装置
14を操作することにより設定するか、或いは、ホスト
コンピュータから所定の金融機関の手数料を示すデータ
の送付を依頼し、設定され或いは受け付けたデータを、
予めデータベース20に記憶しておく。このテーブルに
記憶されたデータの組は、振込金額を算出する際に用い
られる。The above data set (for example, reference numeral 401)
Includes a financial institution number 411, transfer amount range data 412 indicating the range of the transfer amount, first fee data 413 indicating an exchange fee when transferring to the same branch by telegraph processing, and transfer to another branch by telegraph processing. The second fee data 414 indicates the exchange fee at the time of the transfer, and the third fee data 415 indicates the exchange fee at the time of transfer to another bank by the handling of a telegraph. As shown in FIG. 5, since these exchange commissions differ depending on the financial institution and the amount of the transfer, the exchange commission is set by the user operating the input device 14, or the host computer is provided with data indicating the commission of the predetermined financial institution. Request to send, set or received data,
It is stored in the database 20 in advance. The set of data stored in this table is used when calculating the transfer amount.
【0022】また、本実施の形態においては、第3の区
分の下で、振込金額を算出するためのデータを記憶した
テーブルが設けられている。図6は、第3の区分の下で
の振込金額の算出に用いられる相手先手数料テーブルを
示す図である。この実施の形態において、このテーブル
には、為替手数料の最高額を支払先の負担とするよう
に、支払先の負担金額が記憶されている。より詳細に
は、図6に示すように、相手先手数料テーブル500に
は、支払先の請求書などに記載されている請求金額(本
来支払うべき支払金額)の範囲を示す請求金額範囲デー
タ511、および、支払先の負担金額を示す相手負担金
額データ512を有するデータの組501、502、・・
・ が記憶されている。In the present embodiment, a table storing data for calculating a transfer amount is provided under the third category. FIG. 6 is a diagram showing a counterparty fee table used for calculating the transfer amount under the third category. In this embodiment, the payee's share amount is stored in this table so that the payee's share is the maximum amount of the exchange fee. More specifically, as shown in FIG. 6, in the counterparty commission table 500, billing amount range data 511 indicating a range of billing amounts (payable amounts to be originally paid) described in a bill of a payee, etc. And data sets 501, 502,... Having a counterpart pay amount data 512 indicating a payee's share amount.
・ Is stored.
【0023】図6に示すテーブルを構成するデータのデ
ータ値は、ユーザが入力装置14を操作することにより
所望のように設定できる。設定されたデータの組は、デ
ータベース20に記憶される。本実施の形態において
は、上述したような図5および図6に示すテーブルを参
照して、CPU12が、振り込むべき金額を自動的に算
出する。以下に、CPU12により実行される、振込金
額を算出するアプリケーションプログラムの内容につ
き、より詳細に説明する。The data values of the data constituting the table shown in FIG. 6 can be set as desired by operating the input device 14 by the user. The set of the set data is stored in the database 20. In the present embodiment, the CPU 12 automatically calculates the amount to be transferred with reference to the tables shown in FIGS. 5 and 6 as described above. Hereinafter, the contents of the application program for calculating the transfer amount executed by the CPU 12 will be described in more detail.
【0024】まず、ユーザは、入力装置14を操作する
ことにより、CPU12のプログラムを起動する。CP
U12は、これに応答して、支払先口座情報テーブル3
00を読み出し、対応する画像をディスプレイ16の画
面上に表示する。ユーザは、ディスプレイ16の画面上
に表示された画像を参照して、必要な支払先の請求金額
欄に、請求書などに記載された請求金額を、入力装置1
4を操作して入力する。この入力された金額は、図4の
請求金額データ317に対応する。First, the user operates the input device 14 to start the program of the CPU 12. CP
In response, U12 responds by sending a payee account information table 3
00 is read and the corresponding image is displayed on the screen of the display 16. The user refers to the image displayed on the screen of the display 16 and inputs the billing amount described in the bill or the like into the billing amount column of the required payee, using the input device 1.
Operate 4 and input. The input amount corresponds to the charged amount data 317 in FIG.
【0025】このようにして請求金額の入力が終了する
と、CPU12は、振込金額を算出するための処理を開
始する。図7は、本実施の形態にかかる振込金額の算出
処理の概要を示すフローチャートである。図7に示すよ
うに、処理がスタートすると、CPU12は、図4に示
す支払先口座情報テーブルを参照し、今回請求金額が入
力され、これに基づき、振込金額などを決定する処理の
基礎となる請求金額データが含まれるデータの組を特定
する。次いで、CPU12は、特定されたデータの組に
含まれる手数料支払区分データ316を参照して、これ
が、第1の区分ないし第3の区分のいずれに対応するか
を判断する(ステップ701および702)。When the input of the billing amount is completed, the CPU 12 starts a process for calculating the transfer amount. FIG. 7 is a flowchart showing an outline of the processing for calculating the transfer amount according to the present embodiment. As shown in FIG. 7, when the processing is started, the CPU 12 refers to the payee account information table shown in FIG. 4, inputs a billed amount this time, and based on the billing amount, determines a transfer amount and the like. Identify a data set that includes billing amount data. Next, the CPU 12 refers to the fee payment category data 316 included in the specified data set, and determines which of the first category to the third category corresponds (steps 701 and 702). .
【0026】たとえば、第3の区分の下で、振込金額な
どを算出すべき場合(ステップ701でイエス(Yes) )
には、ステップ703に進む。ステップ701でノー
(No)と判断された場合には、ステップ702に進み、
ここで第1の区分の下で算出すべき場合(ステップ70
2でイエス(Yes) )には、ステップ704に進む。或い
は、ステップ702でノー(No)の場合、すなわち第2
の区分の下で算出すべき場合には、ステップ705に進
む。図8、図9、図10は、それぞれ、ステップ703
ないしステップ705の処理をより詳細に示すフローチ
ャートである。For example, when the transfer amount and the like should be calculated under the third category (Yes in step 701)
Proceeds to step 703. When it is determined NO in step 701, the process proceeds to step 702,
Here, when calculation is to be performed under the first category (step 70)
If yes in 2), the process proceeds to step 704. Alternatively, in the case of No at step 702, ie, the second
If the calculation is to be performed under the category of, the process proceeds to step 705. FIGS. 8, 9 and 10 show steps 703 and 703, respectively.
6 is a flowchart illustrating the processing of Steps 705 to 705 in more detail.
【0027】図8に示すように、第3の区分の下での処
理においては、相手先手数料テーブル500から、請求
金額が属する請求金額範囲データに基づき、振込金額を
算出する(ステップ801)。これは、請求金額データ
317から相手負担金額データ512を差し引くことに
より得られる。さらに、振込金額が0(ゼロ)またはマ
イナスであったか否かが判断され(ステップ802)。
このステップ802にてイエス(Yes) と判断された場合
には、振込金額が0またはマイナスになったことが、デ
ィスプレイ16の画面上に表示される。ユーザはこれに
応答して所望の振込金額を、入力装置14を用いて入力
する(ステップ803)。これにより、振込金額が決定
される。As shown in FIG. 8, in the processing under the third category, a transfer amount is calculated from the billing fee range data to which the charged amount belongs from the counterparty commission table 500 (step 801). This can be obtained by subtracting the partner charge amount data 512 from the charge amount data 317. Further, it is determined whether the transfer amount is 0 (zero) or minus (step 802).
If the result of this step 802 is affirmative (Yes), the fact that the transfer amount has become zero or negative is displayed on the screen of the display 16. In response, the user inputs a desired transfer amount using the input device 14 (step 803). Thereby, the transfer amount is determined.
【0028】次いで、CPU12は、為替決済手数料テ
ーブル400を参照して、得られた振込金額の振込金額
範囲に対応する為替手数料を決定する(ステップ80
4)。このようにして得られた振込金額および為替手数
料に関するデータは、それぞれ、振込金額データ318
および為替手数料データ319として、支払先口座情報
テーブルの対応する欄に格納される。また、相手先負担
手数料および差額(=請求金額−( 振込金額+為替手数
料) )に関するデータも、それぞれ、相手負担額データ
320および差額データ321として、支払先口座情報
テーブルの対応する欄に格納される(ステップ80
5)。Next, the CPU 12 refers to the exchange settlement fee table 400 to determine an exchange fee corresponding to the transfer amount range of the obtained transfer amount (step 80).
4). The data on the transfer amount and the exchange fee thus obtained are respectively transferred amount data 318
And exchange fee data 319 is stored in a corresponding column of the payee account information table. Further, data relating to the counterparty charge and the difference (= invoice amount− (transfer amount + exchange fee)) are also stored in the corresponding columns of the payee account information table as counterparty charge data 320 and difference data 321, respectively. (Step 80
5).
【0029】このようにして、第3の区分の下での振込
金額、為替手数料、相手負担額および差額が算出され
る。次に、第1の区分の下で振込金額などを算出する処
理について説明する。図9に示すように、第1の区分の
下で振込金額などを算出すべき場合には、まず、支払先
口座情報テーブル300において、請求金額データ30
1,302,・・・が含まれるデータの組のうち、金融
機関番号データ311を参照し、かつ、請求金額データ
317を参照して、為替決済手数料テーブル400にお
いて、該当するデータの組を探し出す。次いで、支払先
の金融機関番号データ311、支店データ312などの
種別にしたがって、請求金額データ317より振込金額
範囲412に対応する手数料データ413,414又は
415を特定する。より詳細には、支払先口座情報テー
ブル300の金融機関番号データ311が、支払元口座
情報テーブル200の金融機関番号データ201と同じ
であるか否か、支払先口座情報テーブル300の支店番
号データ312が、支払元口座情報テーブル200の支
店番号データ202と等しいか否かなどが判断され、こ
れにより、為替決済手数料テーブル400中のいずれか
の手数料データ413,414又は415が特定され
る。このようにして、為替手数料が特定されると、CP
U12は、請求金額から為替手数料を減算して、振込金
額データ318を算出する(ステップ901)。第1の
区分の下では、為替手数料を相手(支払先)が負担する
ため、上述した減算がなされる。In this manner, the transfer amount, the exchange fee, the partner's share, and the difference under the third category are calculated. Next, a process of calculating a transfer amount and the like under the first category will be described. As shown in FIG. 9, when the transfer amount or the like should be calculated under the first category, first, in the payee account information table 300, the charge amount data 30
In the data set including 1,302,..., The corresponding data set is searched for in the exchange settlement fee table 400 with reference to the financial institution number data 311 and the billing amount data 317. . Next, fee data 413, 414 or 415 corresponding to the transfer amount range 412 is specified from the charge amount data 317 according to the type of the financial institution number data 311, the branch data 312, etc. of the payee. More specifically, whether or not the financial institution number data 311 of the payee account information table 300 is the same as the financial institution number data 201 of the payer account information table 200 is determined by checking the branch number data 312 of the payee account information table 300. Is determined to be equal to the branch number data 202 in the payment source account information table 200, and thereby, any of the fee data 413, 414, or 415 in the foreign exchange settlement fee table 400 is specified. In this way, when the exchange fee is specified, the CP
U12 calculates the transfer amount data 318 by subtracting the exchange fee from the charged amount (step 901). Under the first category, the above-described subtraction is performed because the partner (payee) bears the exchange fee.
【0030】次いで、振込金額が0(ゼロ)であるかマ
イナスであるかが判断される(ステップ902)。この
ステップ902およびステップ903は、図8のステッ
プ802およびステップ803に、それぞれ対応する。
次いで、CPU12は、為替決済手数料テーブル400
を参照して、得られた振込金額に基づく為替手数料デー
タ319を算出する(ステップ904)。ここで、ステ
ップ901において得られた、請求金額に基づく為替手
数料と、ステップ904にて得られた、振込金額に基づ
く為替手数料とが一致するか否かが判断される(ステッ
プ905)。これは、為替手数料を相手(支払先)が負
担する場合に、ある範囲の金額においては、先に為替手
数料を差し引いた振込金額を、振り込む場合に、当該振
込金額の為替手数料が、先のものと異なる場合があるか
らである。たとえば、ある金融機関の為替手数料が、振
込金額¥30,000未満の場合には、¥420であ
り、¥30,000以上の場合には、¥630であると
考える。ここで、請求書に記載された請求金額が¥3
0,600である場合に、請求金額から為替手数料を差
し引いたものを振込金額とすると、 ¥30,600−¥630=¥29,970 となる。その一方、この振込金額¥29,970に対す
る為替手数料は、¥420であり、為替手数料に差額が
生じる。上述した例では、為替手数料に差額が生じる範
囲(グレーゾーン)は、¥30,420〜¥30,62
9までの範囲となる。Next, it is determined whether the transfer amount is 0 (zero) or negative (step 902). Steps 902 and 903 correspond to steps 802 and 803 in FIG. 8, respectively.
Next, the CPU 12 sets the exchange settlement fee table 400
, The exchange fee data 319 based on the obtained transfer amount is calculated (step 904). Here, it is determined whether or not the exchange fee based on the billed amount obtained in step 901 matches the exchange fee based on the transfer amount obtained in step 904 (step 905). This is because, when the exchange fee is paid by the other party (payee), for a certain range of amount, the transfer amount after deducting the exchange fee first, This is because it may be different. For example, if the exchange fee of a certain financial institution is less than $ 30,000, the cost is $ 420, and if it is more than $ 30,000, it is $ 630. Here, the billed amount described in the bill is $ 3
In the case of 0,600, assuming that the transfer amount is obtained by subtracting the foreign exchange commission from the billed amount, the following is obtained: ¥ 30,600- $ 630 = $ 29,970. On the other hand, the exchange fee for this transfer amount of $ 29,970 is $ 420, and a difference occurs in the exchange fee. In the example described above, the range (gray zone) where the difference in the exchange fee occurs is from $ 30,420 to $ 30,62.
The range is up to 9.
【0031】このように、グレーゾーンの場合には、ユ
ーザが支払うべき金額の総額が一意的に決定できないた
め、CPU12は、その旨をディスプレイ16の画面上
に表示し、ユーザに振込金額の入力を要求する(ステッ
プ906)。ステップ905にてイエス(Yes) と判断さ
れた後に、或いは、ステップ906にて所定の金額がユ
ーザにより入力された後に、振込金額および為替手数料
に関するデータが、それぞれ、振込金額データ318お
よび為替手数料データ319として、支払先口座情報テ
ーブルの対応する欄に格納される。また、相手先負担手
数料および差額(=請求金額−( 振込金額+為替手数
料) )に関するデータも、それぞれ、相手負担額データ
320および差額データ321として、支払先口座情報
テーブルの対応する欄に格納される(ステップ90
7)。このようにして、第1の区分の下での振込金額、
為替手数料、相手負担額および差額が算出される。As described above, in the case of the gray zone, since the total amount of the amount to be paid by the user cannot be uniquely determined, the CPU 12 displays the fact on the screen of the display 16 and inputs the transfer amount to the user. (Step 906). After the determination in step 905 is Yes, or after a predetermined amount is input by the user in step 906, the transfer amount data and the exchange fee data are stored in the transfer amount data 318 and the exchange fee data, respectively. 319 is stored in the corresponding column of the payee account information table. Further, data relating to the counterparty charge and the difference (= invoice amount− (transfer amount + exchange fee)) are also stored in the corresponding columns of the payee account information table as counterparty charge data 320 and difference data 321, respectively. (Step 90
7). In this way, the transfer amount under the first category,
The exchange fee, the partner's share and the difference are calculated.
【0032】この第1の区分の下では、請求金額が、グ
レーゾーンに含まれる場合を除き、振込金額+為替手数
料と同額になる。次に、第2の区分の下で振込金額など
を算出する処理について説明する。図10に示すよう
に、第2の区分の下で振込金額などを算出すべき場合に
は、まず、図9に示す第1の区分の下での処理と同様の
手法で、手数料データを特定する(ステップ100
1)。また、第2の区分の下では、為替手数料は、支払
元が負担するので、請求金額が、そのまま振込金額とな
る。Under the first category, the billing amount is the same as the transfer amount + exchange fee except in the case where the billing amount is included in the gray zone. Next, a process of calculating a transfer amount and the like under the second category will be described. As shown in FIG. 10, when the transfer amount or the like should be calculated under the second category, first, the fee data is specified by the same method as the processing under the first category shown in FIG. Yes (Step 100
1). Further, under the second category, the exchange fee is borne by the payer, so the billed amount becomes the transfer amount as it is.
【0033】ステップ1001において得られた振込金
額および為替手数料に関するデータは、それぞれ、振込
金額データ317および為替手数料データ318とし
て、支払先口座情報テーブルの対応する欄に格納され
る。また、相手先負担手数料(0円)および差額(=請
求金額−( 振込金額+為替手数料) )に関するデータ
も、それぞれ、相手負担額データおよび差額データとし
て、支払先口座情報テーブルの対応する欄に格納される
(ステップ1002)。このようにして、第2の区分の
下での振込金額、為替手数料、相手負担額および差額が
算出される。 (2) 古い世代のアプリケーションプログラム(旧世代
アプリケーションプログラム) たとえば、上記(1) で説明したアプリケーションプロ
グラムより一つ古い世代のアプリケーションプログラム
においては、第3の区分による振込手数料の算出(すな
わち、為替手数料のみを相手負担とする算出)ができ
ず、第1の区分および第2の区分の下でのみ、振込手数
料の算出が可能であったと考える。このため、このアプ
リケーションプログラムを使用する世代のシステムにお
いて、支払口座情報テーブルの手数料支払区分データ
(図4の符号316参照)には、相手先負担のデータ項
目は存在せず、かつ、図6に示す相手先手数料テーブル
が設けられていない。また、このアプリケーションプロ
グラムには、図7のステップ701およびステップ70
3の処理が設けられていない。 (3) データのバックアップおよびバックアップされた
データの復元 上述した旧世代アプリケーションプログラムの下で、デ
ータベース20のバックアップが行われ、最新世代アプ
リケーションプログラムの下で、バックアップされたデ
ータが復元される場合について図11をも参照して説明
する。図11は、本実施の形態にかかるバックアップ及
びデータ復元の処理概要を説明するための図である。The data relating to the transfer amount and the exchange fee obtained in step 1001 are stored in the corresponding columns of the payee account information table as the transfer amount data 317 and the exchange fee data 318, respectively. In addition, data on the counterparty charge (0 yen) and the difference (= billing amount-(transfer amount + exchange fee)) are also stored in the corresponding columns of the payee account information table as the counterparty charge data and the difference data, respectively. It is stored (step 1002). In this manner, the transfer amount, the exchange fee, the partner's share, and the difference under the second category are calculated. (2) Old generation application program (old generation application program) For example, in an application program of one generation older than the application program described in (1) above, calculation of the transfer fee by the third category (that is, exchange fee) It is considered that the transfer fee could be calculated only under the first and second categories. For this reason, in the generation system using this application program, there is no data item of the counterparty payment in the fee payment classification data (see reference numeral 316 in FIG. 4) of the payment account information table, and FIG. There is no counterparty fee table shown. Also, this application program includes steps 701 and 70 in FIG.
Step 3 is not provided. (3) Data Backup and Restoration of Backed-Up Data The database 20 is backed up under the above-mentioned old-generation application program, and the backed-up data is restored under the latest-generation application program. This will be described with reference to FIG. FIG. 11 is a diagram for explaining an outline of backup and data restoration processing according to the present embodiment.
【0034】上述したように、世代付与部102は、ア
プリケーションプログラムの変更(たとえば、バージョ
ンアップ)にともなって、使用されるデータのデータ構
造が変更された場合に、その番号をインクリメントし
た、データ構造の世代番号を、新たなデータ構造に付与
する。たとえば、世代番号がインクリメント管理なら
ば、旧世代アプリケーションプログラムで使用されたデ
ータのデータ構造の世代番号が“n”であった場合に、
最新世代アプリケーションプログラムが作成された際
に、そのデータのデータ構造の世代番号は“n+1”と
なる。As described above, when the data structure of the data to be used is changed in accordance with the change (for example, version upgrade) of the application program, the generation assigning unit 102 increments the number of the data structure. Is assigned to a new data structure. For example, if the generation number is increment management, if the generation number of the data structure of the data used in the old generation application program is “n”,
When the latest generation application program is created, the generation number of the data structure of the data is “n + 1”.
【0035】世代番号は、バックアップデータが作成さ
れる際に、世代付与部102よりバックアップデータ作
成部に通知されるとともに、アプリケーションプログラ
ムにも通知される。したがって、アプリケーションプロ
グラムは、自己が使用するデータのデータ構造の世代番
号を把握している。バックアップデータ作成部104の
作動により、データ構造の世代番号122とデータ12
4とからなるデータの組120が、外部記憶媒体110
に記憶される。たとえば、上記旧世代アプリケーション
プログラムで使用されるデータのバックアップ時には、
このデータに対応する世代番号“n”が、データと共に
外部記憶媒体110に記憶される。When the backup data is created, the generation number is notified from the generation assigning section 102 to the backup data creating section and also to the application program. Therefore, the application program knows the generation number of the data structure of the data used by itself. By the operation of the backup data creation unit 104, the generation number 122 of the data structure and the data 12
4 is stored in the external storage medium 110.
Is stored. For example, when backing up data used by the above-mentioned old-generation application program,
The generation number “n” corresponding to this data is stored in the external storage medium 110 together with the data.
【0036】たとえば、バックアップは、図12に示す
処理にしたがって実行される。まず、ユーザが入力装置
14を操作して、バックアップの実行を指示すると(ス
テップ1201)、バックアップデータ作成部104
は、上述したように世代番号とデータとを対応付けたデ
ータの組を、外部記憶媒体110に記憶する(ステップ
1202)。なお、この場合、世代番号とデータを、異
なる記憶媒体に記憶させてもよい。For example, the backup is executed according to the processing shown in FIG. First, when the user operates the input device 14 to instruct execution of backup (step 1201), the backup data creation unit 104
Stores the data set in which the generation number is associated with the data in the external storage medium 110 as described above (step 1202). In this case, the generation number and the data may be stored in different storage media.
【0037】このようにしてバックアップが完了した後
に、アプリケーションプログラムが変更され、何らかの
原因で、外部記憶媒体110に記憶されたデータを読み
出して、これを復元しなければならない場合が生じたと
考える。たとえば、最新世代アプリケーションプログラ
ムにて用いるデータが破壊され、旧世代アプリケーショ
ンプログラムで用いたデータを使用すべき場合が、これ
に該当する。It is assumed that after the backup is completed in this way, the application program is changed, and for some reason, the data stored in the external storage medium 110 must be read and restored. For example, this corresponds to a case where data used in the latest generation application program is destroyed and data used in the old generation application program should be used.
【0038】このような場合の処理について、図13の
フローチャートを参照して説明する。世代識別部106
は、ユーザが入力装置14を操作することにより与えら
れたバックアップデータの復元の指令(ステップ130
1)に応答して、外部記憶媒体110中のデータの組
(図11の符号130参照)中のデータ構造の世代番号
132を、外部記憶媒体読み書き装置22を介して読み
出して、メモリ( 図示せず) に一時的に記憶する(ステ
ップ1302)。The processing in such a case will be described with reference to the flowchart of FIG. Generation identification unit 106
Is a command for restoring backup data given by the user operating the input device 14 (step 130).
In response to 1), the generation number 132 of the data structure in the data set (see reference numeral 130 in FIG. 11) in the external storage medium 110 is read out via the external storage medium read / write device 22, and the memory (shown in FIG. (Step 1302).
【0039】次いで、データを復元して再起動すべきア
プリケーションプログラムにて使用すべき世代番号(図
11の符号152参照)を、取得する(ステップ130
3)。上述したように、アプリケーションプログラムに
より、自己が使用するデータ構造の世代番号は把握され
ているため、世代識別部106は、アプリケーションプ
ログラムから現在の世代番号を受け入れれば良い。Next, a generation number (see reference numeral 152 in FIG. 11) to be used in the application program to be restored and restarted is obtained (step 130).
3). As described above, since the generation number of the data structure used by the application program is known by the application program, the generation identification unit 106 may receive the current generation number from the application program.
【0040】さらに、世代識別部106は、ステップ1
302にて得られた世代番号と、ステップ1303にて
得られた世代番号とを比較する(ステップ1304)。
たとえば、アプリケーションプログラムの世代が異なっ
ても、使用するデータのデータ構造自体は変更されない
場合があるからである。両者の世代番号が一致する場合
(ステップ1304にてイエス(Yes) )には、外部記憶
媒体110に記憶されていたデータが、そのまま復元さ
れる、すなわち、そのままデータベース20のデータと
なる(ステップ1305)。Further, the generation identifying unit 106 determines in step 1
The generation number obtained in 302 is compared with the generation number obtained in step 1303 (step 1304).
For example, even if the generation of the application program differs, the data structure itself of the data to be used may not be changed. If both generation numbers match (Yes in Step 1304), the data stored in the external storage medium 110 is restored as it is, that is, becomes the data of the database 20 as it is (Step 1305). ).
【0041】その一方、両者が相違する場合には、デー
タ復元部108が起動される。データ復元部108にお
いては、世代番号間の各々に関するデータ変換プログラ
ムが設けられている。したがって、データ復元部108
は、世代識別部106から、バックアップ時の世代番号
と、データを復元して再起動すべきアプリケーションプ
ログラムで用いるデータの世代番号とを参照して、必要
なデータ構造変換プログラムを起動させて、データ構造
の変換を実行する(ステップ1306)。このデータ構
造の変換には、データベース中の項目の追加、変更、削
除、テーブルの追加、削除すべき項目の追加などが含ま
れる。On the other hand, if the two are different, the data restoration unit 108 is activated. In the data restoration unit 108, a data conversion program for each of the generation numbers is provided. Therefore, the data restoration unit 108
Refers to the generation number at the time of backup and the generation number of the data used in the application program to be restored and restarted from the generation identifying unit 106, and activates the necessary data structure conversion program, A structure conversion is performed (step 1306). The conversion of the data structure includes addition, change, and deletion of items in the database, addition of tables, addition of items to be deleted, and the like.
【0042】たとえば、旧世代アプリケーションプログ
ラムにて用いられた、バックアップ時のデータのデータ
構造の世代番号が“n”であり、最新アプリケーション
プログラムにて用いるべきデータのデータ構造の世代番
号が“n+1”である場合には、バックアップ時の世代
番号“n”とデータを復元して再起動すべきアプリケー
ションプログラムにて用いるべきデータの世代番号“n
+1”との間のデータ構造変換プログラムを用いて、必
要な変換(この例では、相手先テーブルの作成、およ
び、テーブル内のデフォルト値の設定など)を実行す
る。このようにして、その構造に所定の変換がなされた
データが、データベース20のデータとなる(ステップ
1305)。For example, the generation number of the data structure of the data at the time of backup used in the old generation application program is "n", and the generation number of the data structure of the data to be used in the latest application program is "n + 1". , The generation number “n” at the time of backup and the generation number “n” of the data to be used in the application program to be restored and restarted.
The necessary conversion (in this example, creation of the destination table and setting of default values in the table, etc.) is executed using a data structure conversion program between "+1" and "1". Are converted into data of the database 20 (step 1305).
【0043】本実施の形態によれば、バックアップデー
タに、そのデータ構造の世代番号を対応させ、データ復
元時に、バックアップデータのデータ構造の世代番号
と、データを復元して再起動すべきアプリケーションプ
ログラムにて用いるデータのデータ構造の世代番号とを
比較照合し、この照合結果に対応して、バックアップデ
ータのデータ構造を変換するため、煩雑な手続なく、円
滑にデータを復元することが可能となる。According to the present embodiment, the generation number of the data structure is associated with the backup data, and the generation number of the data structure of the backup data and the application program to be restored and restarted when the data is restored Is compared with the generation number of the data structure of the data used in the above, and the data structure of the backup data is converted in accordance with the result of the comparison, so that the data can be smoothly restored without complicated procedures. .
【0044】また、本実施の形態によれば、データ構造
の世代番号を記憶し、これを比較照合している。したが
って、アプリケーションの変更により使用するデータの
データ構造が変更されない場合には、データ構造の変換
処理を実行する必要がないため、無駄な処理を実行する
必要がなくなる。さらに、本実施の形態によれば、デー
タ復元部において、世代番号間のそれぞれに対応して、
データ構造の変換が実行されるため、バックアップされ
たデータのデータ構造の世代や、データを復元して再起
動すべきアプリケーションプログラムにて使用すべきデ
ータのデータ構造の世代にかかわらず、適切に、変換を
実行することが可能となる。Further, according to the present embodiment, the generation number of the data structure is stored and compared with the generation number. Therefore, when the data structure of the data to be used is not changed due to the change of the application, there is no need to execute the data structure conversion processing, and thus it is not necessary to execute useless processing. Further, according to the present embodiment, in the data restoration unit,
Since the data structure conversion is executed, regardless of the generation of the data structure of the backed up data and the generation of the data structure of the data to be used in the application program that should restore and restart the data, Conversion can be performed.
【0045】本発明は、以上の実施の形態に限定される
ことなく、特許請求の範囲に記載された発明の範囲内
で、種々の変更が可能であり、それらも本発明の範囲内
に包含されるものであることは言うまでもない。たとえ
ば、上記実施の形態においては、バックアップデータ復
元システムを、振込金額自動決定システムに適用してい
るが、これに限定されるものではなく、データベースを
用いたシステムであれば、どのようなものであっても、
本発明を適用することができる。The present invention is not limited to the embodiments described above, and various modifications can be made within the scope of the invention described in the claims, which are also included in the scope of the present invention. Needless to say, this is done. For example, in the above embodiment, the backup data restoration system is applied to the automatic transfer amount determination system. However, the present invention is not limited to this, and any system using a database can be used. Even so,
The present invention can be applied.
【0046】また、上記実施の態様においては、バック
アップされたアプリケーションプログラム(旧世代アプ
リケーションプログラム)の世代番号が“n”であり、
データを復元して再起動すべきアプリケーションプログ
ラム(最新世代アプリケーションプログラム)の世代番
号が“n+1”であったが、これら世代番号は、いずれ
であっても良い。これは、データ復元部108にて、世
代番号間ごとのデータ形式変換プログラムが記憶されて
いることによる。Also, in the above embodiment, the generation number of the backed-up application program (old generation application program) is “n”,
Although the generation number of the application program (the latest generation application program) to be restored and restarted is “n + 1”, these generation numbers may be any. This is because the data restoration unit 108 stores a data format conversion program for each generation number.
【0047】さらに、前記実施の形態においては、デー
タ形式の世代を、バックアップの際にデータに対応付け
て、外部記憶媒体に記憶しているが、これに加えて、ア
プリケーションプログラムの世代を記憶しても良い。ま
た、本明細書において、手段とは必ずしも物理的手段を
意味するものではなく、各手段の機能が、ソフトウェア
によって実現される場合も包含する。さらに、一つの手
段の機能が、二つ以上の要素により実現されても、若し
くは、二つ以上の手段の機能が、一つの要素により実現
されてもよい。Further, in the above embodiment, the generation of the data format is stored in the external storage medium in association with the data at the time of backup. In addition to this, the generation of the application program is stored. May be. Further, in this specification, means does not necessarily mean physical means, but also includes a case where the function of each means is realized by software. Further, the function of one means may be realized by two or more elements, or the function of two or more means may be realized by one element.
【0048】[0048]
【発明の効果】本発明によれば、円滑にデータを復元し
て、コンピュータシステムにおいて、アプリケーション
プログラムを迅速にかつ適切に作動可能にするデータ復
元システムを提供することが可能となる。According to the present invention, it is possible to provide a data restoration system that smoothly restores data and enables an application program to operate quickly and appropriately in a computer system.
【図1】本発明の実施の形態にかかる振込金額自動決定
システムを利用したファームバンキングシステムを示す
概略構成図である。FIG. 1 is a schematic configuration diagram showing a firm banking system using an automatic transfer amount determination system according to an embodiment of the present invention.
【図2】本実施の形態にかかるCPU内のバックアップ
およびデータ回復に関するブロック図である。FIG. 2 is a block diagram related to backup and data recovery in the CPU according to the embodiment;
【図3】本実施の形態にかかる支払元口座情報テーブル
を示す図である。FIG. 3 is a diagram showing a payment source account information table according to the embodiment;
【図4】本実施の形態にかかる支払先口座情報テーブル
を示す図である。FIG. 4 is a diagram showing a payee account information table according to the embodiment;
【図5】本実施の形態にかかる金融機関ごとの為替決定
手数料を記憶する為替決済手数料テーブルを示す図であ
る。FIG. 5 is a diagram showing an exchange settlement fee table storing exchange determination fees for each financial institution according to the present embodiment.
【図6】本実施の形態にかかる第3の区分の下での振込
金額の算出に用いられる相手先手数料テーブルを示す図
である。FIG. 6 is a diagram showing a counterparty fee table used for calculating a transfer amount under a third category according to the present embodiment.
【図7】本実施の形態にかかる振込金額などの算出処理
の概要を示すフローチャートである。FIG. 7 is a flowchart illustrating an outline of a calculation process of a transfer amount and the like according to the embodiment;
【図8】本実施の形態にかかる振込金額などの算出処理
をより詳細に示すフローチャートである。FIG. 8 is a flowchart illustrating a calculation process of a transfer amount and the like according to the present embodiment in more detail.
【図9】本実施の形態にかかる振込金額などの算出処理
をより詳細に示すフローチャートである。FIG. 9 is a flowchart illustrating the calculation processing of the transfer amount and the like according to the present embodiment in more detail.
【図10】本実施の形態にかかる振込金額などの算出処
理をより詳細に示すフローチャートである。FIG. 10 is a flowchart illustrating a calculation process of a transfer amount and the like according to the present embodiment in more detail.
【図11】本実施の形態にかかるバックアップおよびデ
ータ復元の処理概要を示す図である。FIG. 11 is a diagram showing an outline of backup and data restoration processing according to the embodiment;
【図12】本実施の形態にかかるバックアップ処理を示
すフローチャートである。FIG. 12 is a flowchart illustrating a backup process according to the embodiment;
【図13】本実施の形態にかかるデータ復元処理を示す
フローチャートである。FIG. 13 is a flowchart illustrating data restoration processing according to the present embodiment.
10 振込金額自動決定システム 12 CPU 14 入力装置 16 ディスプレイ 18 通信装置 20 データベース 22 外部記憶媒体読み書き装置 100 アプリケーションプログラム(AP) 102 世代付与部 104 バックアップデータ作成部 106 世代認識部 108 データ復元部 110 外部記憶媒体 REFERENCE SIGNS LIST 10 transfer amount automatic determination system 12 CPU 14 input device 16 display 18 communication device 20 database 22 external storage medium read / write device 100 application program (AP) 102 generation assigning unit 104 backup data creation unit 106 generation recognition unit 108 data restoration unit 110 external storage Medium
Claims (4)
プログラムを作動させて所定の処理を実行するととも
に、前記データベース中のデータを外部記憶媒体にバッ
クアップし、必要に応じてバックアップされたデータを
読み出すバックアップデータ復元システムであって、 前記データ構造の世代を一意的に示す世代識別子を付与
する世代識別子付与手段と、 前記バックアップの際に、データベース中のデータと世
代識別子とを対応付けたバックアップデータを作成し、
外部記憶媒体に記憶するバックアップ手段と、 データ復元の際に、前記外部記憶媒体中の前記バックア
ップデータに含まれる世代識別子が示す世代と、データ
を復元して作動させようとするアプリケーションプログ
ラムがサポートしている世代とを比較照合する比較照合
手段と、 前記比較照合手段による比較照合の結果、前記世代識別
子が示す世代が、当該アプリケーションプログラムがサ
ポートしている世代と相違している場合は、外部記憶媒
体中にバックアップされているデータのデータ構造を、
当該アプリケーションプログラムがサポートしているデ
ータ構造に適合するよう変換するデータ構造変換手段
と、 を備えたことを特徴とするバックアップデータ復元シス
テム。1. A backup data restoring system for executing predetermined processing by operating an application program using a database, backing up data in the database to an external storage medium, and reading backed up data as necessary. A generation identifier assigning means for assigning a generation identifier uniquely indicating a generation of the data structure, and, at the time of the backup, creating backup data in which data in a database and a generation identifier are associated with each other;
Backup means for storing the data in an external storage medium, a generation indicated by a generation identifier included in the backup data in the external storage medium at the time of data restoration, and an application program for restoring and operating the data are supported. A comparison / matching unit that compares and collates the generation with the generation program. If the generation indicated by the generation identifier is different from the generation supported by the application program, The data structure of the data backed up in the medium is
A backup data restoration system, comprising: data structure conversion means for performing conversion so as to conform to a data structure supported by the application program.
別子が示す世代と、当該アプリケーションプログラムが
サポートしている世代との相違の仕方に応じて、予め複
数のデータ構造変換方法を用意していることを特徴とす
る請求項1に記載のバックアップデータ復元システム。2. The data structure conversion means prepares a plurality of data structure conversion methods in advance according to the manner of difference between the generation indicated by the generation identifier and the generation supported by the application program. The backup data restoration system according to claim 1, wherein
プログラムを作動させて所定の処理を実行するととも
に、前記データベース中のデータを外部記憶媒体にバッ
クアップし、必要に応じてバックアップされたデータを
読み出すバックアップデータ復元方法であって、 前記データ構造の世代を一意的に示す世代識別子を付与
する世代識別子付与ステップと、 前記バックアップの際に、データベース中のデータと世
代識別子とを対応付けたバックアップデータを作成し、
外部記憶媒体に記憶するバックアップステップと、 データ復元の際に、前記外部記憶媒体中の前記バックア
ップデータに含まれる世代識別子が示す世代と、データ
を復元して作動させようとするアプリケーションプログ
ラムがサポートしている世代とを比較照合する比較照合
ステップと、 前記比較照合ステップの結果、前記世代識別子が示す世
代が、当該アプリケーションプログラムがサポートして
いる世代と相違している場合は、外部記憶媒体中にバッ
クアップされているデータのデータ構造を、当該アプリ
ケーションプログラムがサポートしているデータ構造に
適合するよう変換するデータ構造変換ステップと、 を備えたことを特徴とするバックアップデータ復元方
法。3. A backup data restoring method for executing a predetermined process by operating an application program using a database, backing up data in the database to an external storage medium, and reading out the backed up data as needed. A generation identifier assigning step of assigning a generation identifier uniquely indicating a generation of the data structure, and, at the time of the backup, creating backup data in which data in the database and a generation identifier are associated with each other;
A backup step of storing the data in an external storage medium, a generation indicated by a generation identifier included in the backup data in the external storage medium at the time of data restoration, and an application program for restoring and operating the data are supported. A comparison and collation step for comparing and collating with the generation that is being executed.If the generation indicated by the generation identifier is different from the generation supported by the application program, A data structure conversion step of converting a data structure of backed-up data so as to conform to a data structure supported by the application program.
動させて所定の処理を実行するとともに、前記データベ
ース中のデータを外部記憶媒体にバックアップし、必要
に応じてバックアップされたデータを読み出すバックア
ップデータ復元機能であって、 前記データ構造の世代を一意的に示す世代識別子を付与
する世代識別子付与機能と、 前記バックアップの際に、データベース中のデータと世
代識別子とを対応付けたバックアップデータを作成し、
外部記憶媒体に記憶するバックアップ機能と、 データ復元の際に、前記外部記憶媒体中の前記バックア
ップデータに含まれる世代識別子が示す世代と、データ
を復元して作動させようとするアプリケーションプログ
ラムがサポートしている世代とを比較照合する比較照合
機能と、 前記比較照合ステップの結果、前記世代識別子が示す世
代が、当該アプリケーションプログラムがサポートして
いる世代と相違している場合は、外部記憶媒体中にバッ
クアップされているデータのデータ構造を、当該アプリ
ケーションプログラムがサポートしているデータ構造に
適合するよう変換するデータ構造変換機能と、 を実行させるコンピュータプログラムを記録したことを
特徴とするコンピュータ読み取り可能な記憶媒体。4. A backup data which reads out the backed-up data by backing up the data in the database to an external storage medium while executing predetermined processing by operating an application program using the database in a computer. A restoration function, a generation identifier assigning function for assigning a generation identifier uniquely indicating a generation of the data structure; and, during the backup, creating backup data in which data in a database is associated with a generation identifier. ,
A backup function for storing in an external storage medium, a generation indicated by a generation identifier included in the backup data in the external storage medium at the time of data restoration, and an application program for restoring and operating data are supported. A comparison and collation function for comparing and collating with the generation that is present.If the generation indicated by the generation identifier is different from the generation supported by the application program, A data structure conversion function for converting the data structure of the backed-up data so as to conform to the data structure supported by the application program; and a computer-readable storage for recording a computer program for executing Medium.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10231689A JP2000066939A (en) | 1998-08-18 | 1998-08-18 | Backup data restration system and storage medium storing backup data restoring method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10231689A JP2000066939A (en) | 1998-08-18 | 1998-08-18 | Backup data restration system and storage medium storing backup data restoring method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000066939A true JP2000066939A (en) | 2000-03-03 |
Family
ID=16927464
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10231689A Pending JP2000066939A (en) | 1998-08-18 | 1998-08-18 | Backup data restration system and storage medium storing backup data restoring method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000066939A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100414617B1 (en) * | 2001-02-08 | 2004-01-07 | 주식회사 클래러스 | Method for data backup using realtime monitoring of files and system therefor |
| JP2011053780A (en) * | 2009-08-31 | 2011-03-17 | Oki Networks Co Ltd | Restoration system, restoration method and backup control system |
| JP2013531321A (en) * | 2010-07-20 | 2013-08-01 | 中▲興▼通▲訊▼股▲フン▼有限公司 | Database backup data restoration method and apparatus |
| WO2014142217A1 (en) | 2013-03-15 | 2014-09-18 | 日本電気株式会社 | Information processing system and method for relocating application |
-
1998
- 1998-08-18 JP JP10231689A patent/JP2000066939A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100414617B1 (en) * | 2001-02-08 | 2004-01-07 | 주식회사 클래러스 | Method for data backup using realtime monitoring of files and system therefor |
| JP2011053780A (en) * | 2009-08-31 | 2011-03-17 | Oki Networks Co Ltd | Restoration system, restoration method and backup control system |
| JP2013531321A (en) * | 2010-07-20 | 2013-08-01 | 中▲興▼通▲訊▼股▲フン▼有限公司 | Database backup data restoration method and apparatus |
| WO2014142217A1 (en) | 2013-03-15 | 2014-09-18 | 日本電気株式会社 | Information processing system and method for relocating application |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6990466B1 (en) | Method and system for integrating core banking business processes | |
| CN100498719C (en) | Method and device for executing batch processing job | |
| CN111027984A (en) | Business order processing method, system, electronic device and computer storage medium | |
| US20020032664A1 (en) | Accounting system, accounting method, content executing device, accounting monitoring device, accounting control device and recording medium | |
| US7403916B1 (en) | Method and system for correcting payee names and adjusting an account balance for a financial statement | |
| JP2019139391A (en) | Reconciliation processor and reconciliation processing method and reconciliation processing program | |
| US20070169097A1 (en) | Configuration tool and method of updating an archive file property relating to at least one point-of-sale peripheral | |
| JP2000066939A (en) | Backup data restration system and storage medium storing backup data restoring method | |
| US20020049754A1 (en) | Expenditure management system, method and recording media | |
| JP2003050904A (en) | Information processing apparatus, information processing system, business flow support method, storage medium, and program | |
| JP2000057233A (en) | Electronic banking system | |
| JP7723027B2 (en) | Account transfer management device, account transfer management method, and account transfer management program | |
| JP2852302B2 (en) | Re-transfer processing method of account transfer processing | |
| JP7250979B2 (en) | Accounting error confirmation work support device, account error confirmation work support method, and account error confirmation work support program | |
| JP7768940B2 (en) | Debt management device, debt management method, and debt management program | |
| CN111209273A (en) | Configurable ERP system data unloading method and device | |
| JP2003122932A (en) | Account transfer method, search method for account transfer information, and account transfer system | |
| JP3771753B2 (en) | Integrated resource management method | |
| JP2010146487A (en) | Reserve management apparatus, reserve management system, method for controlling reserve management apparatus, and control program | |
| CN119515375A (en) | Transaction processing method, device, electronic device and storage medium | |
| JP2002175417A (en) | Computer system and payment confirmation method | |
| JPH09330262A (en) | Backup system | |
| JP3132285B2 (en) | Master file update management method | |
| JP2005107852A (en) | Automatic transfer system | |
| JP3387310B2 (en) | Accounting data deletion / restoration processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040507 |