[go: up one dir, main page]

JP2003280955A - Method and system for updating definition information in data extraction - Google Patents

Method and system for updating definition information in data extraction

Info

Publication number
JP2003280955A
JP2003280955A JP2002084942A JP2002084942A JP2003280955A JP 2003280955 A JP2003280955 A JP 2003280955A JP 2002084942 A JP2002084942 A JP 2002084942A JP 2002084942 A JP2002084942 A JP 2002084942A JP 2003280955 A JP2003280955 A JP 2003280955A
Authority
JP
Japan
Prior art keywords
information
extraction
definition
database
definition information
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
Application number
JP2002084942A
Other languages
Japanese (ja)
Inventor
Yotaro Nakayama
陽太郎 中山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Biprogy Inc
Original Assignee
Nihon Unisys Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nihon Unisys Ltd filed Critical Nihon Unisys Ltd
Priority to JP2002084942A priority Critical patent/JP2003280955A/en
Publication of JP2003280955A publication Critical patent/JP2003280955A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To alleviate complication of operation for a user and prevent occurrences of an information mismatch due to re-inputting by minimizing re-inputting of information when updating definition information. <P>SOLUTION: In a method for updating the definition information in an data extraction, an associated information table associating user re-definition information in an extraction origin database with the definition information in an extraction destination database is created to be stored into a memory. When updating the user re-definition information, a table part not needed to be changed is remained unchanged even when the information table is updated, a new table part is created as associated information needed by the updating, and an associated information table corresponding to the updated user re- definition information is created by adding the table part newly created to the remaining table part in the memory. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、データ抽出におけ
る定義情報更新方法およびシステムに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a definition information updating method and system in data extraction.

【0002】[0002]

【従来の技術】従来より、汎用機のデータベースのデー
タを、例えば、オープン系のリレーショナルデータベー
ス管理システム(RDBMS)のデータベース(例え
ば、Oracle、MS SQL Server等)へ抽出する場合には、
汎用機とRDBMSとの間に別のホストコンピュータま
たはワークステーション端末を介在させて、このホスト
コンピュータまたはワークステーション端末の制御のも
とでデータ抽出を自動的に行うようにしている。このホ
ストコンピュータまたはワークステーション端末は、汎
用機上で稼動するデータ抽出用プログラムを作成するソ
フトウェアを実装しており、汎用機のデータベースの使
用者再定義情報を用いて、データ抽出のための設定を行
うことができるものとされている。
2. Description of the Related Art Conventionally, when extracting data from a general-purpose database into a database of an open relational database management system (RDBMS) (for example, Oracle, MS SQL Server, etc.),
Another host computer or workstation terminal is interposed between the general-purpose machine and the RDBMS, and data extraction is automatically performed under the control of this host computer or workstation terminal. This host computer or workstation terminal is equipped with software that creates a data extraction program that runs on a general-purpose machine, and uses the user redefinition information in the database of the general-purpose machine to make settings for data extraction. It is supposed to be possible.

【0003】一般的に、データベースの定義を変更する
と、変更に伴う影響範囲が広がるため、通常データベー
ス定義を変更しないでよいように、レコード中に予めFI
LLER句(予備領域)を確保しておき、使用者プログラム
では、そのレコードのFILLER句部分を使用者が実項目と
して再定義して使うことで、データ使用上の柔軟性を確
保している。これらのレコード定義情報をオープン系の
RDBMSのデータベース上に反映させ、データ抽出を行う
プログラムを生成する場合にも、これらの再定義情報を
正しく反映させたデータ抽出を行っている。一旦、オー
プン系のRDBMS上に抽出されたデータは、抽出時のレコ
ード定義に従ってRDBMS上で使用される。
Generally, when the definition of the database is changed, the range of influence accompanying the change is widened. Therefore, in order not to change the definition of the normal database, the FI is previously recorded in the record.
The LLER clause (spare area) is reserved, and the user program redefines the FILLER clause part of the record as an actual item and uses it to ensure flexibility in data usage. Open these record definition information
Even when a program that extracts data by reflecting it on the RDBMS database is generated, data extraction that correctly reflects these redefinition information is performed. The data once extracted on the open RDBMS is used on the RDBMS according to the record definition at the time of extraction.

【0004】[0004]

【発明が解決しようとする課題】従来のシステムでは、
汎用機側でレコードの使用者再定義が変更された場合に
は、変更された該当レコードの定義情報を、再度RDBMS
のレコードに反映させるために汎用機のデータベース
(抽出元)とオープン系のRDBMS(抽出先)の項目間の
関連付けを、手作業で全項目について、行わなければな
かった。
In the conventional system,
When the user redefinition of a record is changed on the general-purpose machine side, the definition information of the changed record is changed to the RDBMS again.
In order to reflect in the record of, the relation between the general-purpose machine database (extraction source) and the open system RDBMS (extraction destination) had to be manually done for all items.

【0005】データベースのレコード定義情報の変更
は、設定済み項目数が多いとか使用者再定義情報の変更
回数が多い場合には、項目間の関連付け作業が多くな
り、データ移行時には大変な作業負荷となるために、手
作業ミスが発生しやすく、その手戻り損失は大きいもの
があった。
When the number of set items is large or the number of changes of user redefinition information is large, the change of the record definition information of the database requires a lot of work for associating the items with each other, resulting in a great work load at the time of data transfer. Therefore, manual work errors are likely to occur, and the return loss is large.

【0006】また、オープン系RDBMSに対する定義を変
更した場合も同じで、再入力の手間が発生していた。こ
れは、使用者にとって、一度入力した内容をあらためて
情報を入力しなおす手間がかかり、再定義をし易くする
ための機能を半減させていた。また、これに加え再入力
を行うときに、入力ミスや入力漏れが発生することとな
り、トラブルを発生させる要因ともなっていた。したが
って、使用者にとって、使用者再定義情報を更新するこ
とは、大変な労力とリスクを強いる結果となっていた。
The same is true when the definition for the open RDBMS is changed, and re-entry is required. This takes time for the user to re-enter the information once input, and halves the function for facilitating redefinition. Moreover, in addition to this, when re-inputting, input mistakes and input omissions occur, which is also a cause of trouble. Therefore, updating the user redefinition information results in great effort and risk for the user.

【0007】本発明の目的は、前述したような従来の問
題点を解消しうるような、データ抽出における定義情報
更新方法およびシステムを提供することである。
An object of the present invention is to provide a definition information updating method and system in data extraction which can solve the above-mentioned conventional problems.

【0008】[0008]

【課題を解決するための手段】本発明の一つの観点によ
れば、データ抽出における定義情報更新方法において、
抽出元データベースの使用者再定義情報と抽出先データ
ベースの定義情報との間を対応付ける関連付け情報テー
ブルを作成してメモリに記憶させておき、前記使用者再
定義情報を更新する場合において、前記関連付け情報テ
ーブルのうち前記更新によっても変更を必要としないテ
ーブル部分はそのままとし、前記更新によって必要とさ
れる関連付け情報として新たなテーブル部分を作成し、
前記そのままとされたテーブル部分に前記新たに作成し
たテーブル部分を前記メモリ上で付け加えることによ
り、前記更新された使用者再定義情報に対応する関連付
け情報テーブルを生成することを特徴とする定義情報更
新方法が提供される。
According to one aspect of the present invention, in a definition information updating method in data extraction,
When the user redefinition information of the extraction source database and the definition information of the extraction destination database are associated with each other and stored in a memory, and the user redefinition information is updated, the association information Of the table, the table portion that does not need to be changed even by the update is left as it is, and a new table portion is created as the association information required by the update,
Definition information update, characterized in that an association information table corresponding to the updated user redefinition information is generated by adding the newly created table portion on the memory to the table portion left as it is. A method is provided.

【0009】本発明の一つの実施の形態によれば、前記
メモリは、前記抽出元データベースから前記抽出先デー
タベースへのデータ抽出を行うためのデータ抽出プログ
ラムを生成するコンピュータに含まれるリポジトリであ
る。
According to one embodiment of the present invention, the memory is a repository included in a computer that generates a data extraction program for performing data extraction from the extraction source database to the extraction destination database.

【0010】本発明の別の実施の形態によれば、前記使
用者再定義情報の更新は、抽出元データベースを操作す
るプログラムの側でなされ、該更新された使用者再定義
情報を前記リポジトリに取り込み元使用者再定義情報と
し、レコード定義と対応づけられている更新前の使用者
再定義情報を先使用者再定義情報として、前記元使用者
再定義情報と前記先使用者再定義情報とを対比していく
ことを含む。
According to another embodiment of the present invention, the updating of the user redefinition information is performed by a program operating an extraction source database, and the updated user redefinition information is stored in the repository. The original user redefinition information and the previous user redefinition information are used as the import source user redefinition information, and the pre-update user redefinition information associated with the record definition is used as the previous user redefinition information. Including comparing.

【0011】本発明のさらに別の実施の形態によれば、
前記使用者再定義情報の更新は、前記リポジトリに取り
込まれた使用者再定義情報に対してなされ、該更新され
た使用者再定義情報を、抽出元データベースを操作する
プログラムの側に反映させると共に、該更新された使用
者再定義情報を元使用者再定義情報とし、レコード定義
と対応づけられている更新前の使用者再定義情報を先使
用者再定義情報として、前記元使用者再定義情報と前記
先使用者再定義情報とを対比していくことを含む。
According to yet another embodiment of the present invention,
The updating of the user redefinition information is performed on the user redefinition information captured in the repository, and the updated user redefinition information is reflected on the side of the program that operates the extraction source database. , The updated user redefinition information is used as the original user redefinition information, and the user redefinition information before update that is associated with the record definition is used as the previous user redefinition information. It includes comparing information with the pre-user redefinition information.

【0012】本発明の別の観点によれば、データ抽出に
おける定義情報更新方法において、抽出元データベース
の使用者再定義情報と抽出先データベースの定義情報と
の間を対応付ける関連付け情報テーブルを作成してメモ
リに記憶させておき、前記抽出先データベースの定義情
報を更新する場合において、前記関連付け情報テーブル
のうち前記更新によっても変更を必要としないテーブル
部分はそのままとし、前記更新によって必要とされる関
連付け情報として新たなテーブル部分を作成し、前記そ
のままとされたテーブル部分に前記新たに作成したテー
ブル部分を前記メモリ上で付け加えることにより、前記
更新された抽出先データベースの定義情報に対応する関
連付け情報テーブルを生成することを特徴とする定義情
報更新方法が提供される。
According to another aspect of the present invention, in the definition information updating method in data extraction, an association information table for associating the user redefinition information of the extraction source database with the definition information of the extraction destination database is created. When the definition information of the extraction destination database is stored in the memory and updated, the table portion of the association information table that does not need to be changed by the update is left as it is, and the association information required by the update is maintained. A new table portion is created as, and the newly created table portion is added to the left table portion on the memory, thereby creating an association information table corresponding to the updated definition information of the extraction destination database. Providing a definition information updating method characterized by generating It is.

【0013】本発明の一つの実施の形態によれば、前記
メモリは、前記抽出元データベースから前記抽出先デー
タベースへのデータ抽出を行うためのデータ抽出プログ
ラムを生成するコンピュータに含まれるリポジトリであ
る。
According to one embodiment of the present invention, the memory is a repository included in a computer that generates a data extraction program for performing data extraction from the extraction source database to the extraction destination database.

【0014】本発明の別の実施の形態によれば、前記抽
出先データベースのテーブル定義情報の更新は、抽出先
データベースを管理するデータベース管理システムの側
でなされ、該更新された抽出先データベースのテーブル
定義情報を前記リポジトリに反映させることを含む。
According to another embodiment of the present invention, the table definition information of the extraction destination database is updated by the database management system managing the extraction destination database, and the updated table of the extraction destination database is updated. Including definition information in the repository.

【0015】本発明のさらに別の実施の形態によれば、
前記抽出先データベースのテーブル定義情報の更新は、
前記リポジトリに記憶された抽出先データベースのテー
ブル定義情報に対してなされ、該更新されたテーブル定
義情報を、抽出先データベースを管理するデータベース
管理システムの側に反映させることを含む。
According to yet another embodiment of the present invention,
Update of the table definition information of the extraction destination database,
It is included in the table definition information of the extraction destination database stored in the repository and reflects the updated table definition information on the side of the database management system that manages the extraction destination database.

【0016】本発明のさらに別の観点によれば、データ
抽出における定義情報更新システムにおいて、抽出元デ
ータベースの使用者再定義情報と抽出先データベースの
定義情報との間を対応付ける関連付け情報テーブルを記
憶するための第1の記憶場所と、前記使用者再定義情報
または抽出先データベースの定義情報を更新する場合に
おいて、前記関連付け情報テーブルのうち前記更新によ
っても変更を必要としないテーブル部分はそのまま記憶
するための第2の記憶場所と、前記更新によって必要と
される関連付け情報として新たなテーブル部分を作成す
る新テーブル部分作成手段と、前記第2の記憶場所に記
憶されたテーブル部分に前記新テーブル部分作成手段に
よって作成されたテーブル部分を付け加えることによ
り、前記更新された使用者再定義情報または抽出先デー
タベースの定義情報に対応する関連付け情報テーブルを
生成する関連付け情報テーブル作成手段とを備えること
を特徴とする定義情報更新システムが提供される。
According to still another aspect of the present invention, in the definition information updating system for data extraction, an association information table for associating the user redefinition information of the extraction source database with the definition information of the extraction destination database is stored. In the case of updating the first storage location for updating and the user redefinition information or the definition information of the extraction destination database, the table portion of the association information table that does not need to be changed by the update is stored as it is. Second storage location, new table portion creation means for creating a new table portion as association information required by the update, and new table portion creation in the table portion stored in the second storage location. Said updated by adding the table part created by the means Definition information update system comprising: a an association information table generating means for generating association information table corresponding to the use's redefined information or definition information of the extracted destination database is provided.

【0017】本発明の一つの実施の形態によれば、前記
第1の記憶場所および第2の記憶場所は、前記抽出元デ
ータベースから前記抽出先データベースへのデータ抽出
を行うためのデータ抽出プログラムを生成するコンピュ
ータに含まれるリポジトリ内に設けられており、前記新
テーブル部分作成手段および関連付け情報テーブル作成
手段は、前記コンピュータに実装されリポジトリ内に貯
えられているデータを操作するためのプログラムによっ
て与えられる。
According to one embodiment of the present invention, the first storage location and the second storage location are data extraction programs for performing data extraction from the extraction source database to the extraction destination database. The new table part creating means and the association information table creating means are provided in a repository included in the computer that generates the data, and the new table part creating means and the association information table creating means are provided by a program for operating the data stored in the repository and implemented in the computer. .

【0018】本発明のさらに別の実施の形態によれば、
前述したような定義情報更新システムとしてコンピュー
タを機能させるためのプログラムを記録したコンピュー
タ読み取り可能な記録媒体が提供される。
According to yet another embodiment of the present invention,
There is provided a computer-readable recording medium in which a program for causing a computer to function as the above definition information updating system is recorded.

【0019】本発明のさらに別の観点によれば、前述し
たような定義情報更新システムとしてコンピュータを機
能させるためのプログラムが提供される。
According to still another aspect of the present invention, there is provided a program for causing a computer to function as the above definition information updating system.

【0020】[0020]

【発明の実施の形態】次に、添付図面に基づいて、本発
明の実施の形態および実施例について、本発明をより詳
細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, the present invention will be described in more detail with reference to the accompanying drawings with regard to the embodiments and examples of the present invention.

【0021】図1は、抽出元データベースである汎用機
のデータベースから抽出先データベースであるオープン
系のRDBMSのデータベースへデータ抽出を行うため
のホストコンピュータまたはワークステーション端末
に、本発明を適用した実施例の構成および機能の概要を
示す図である。
FIG. 1 shows an embodiment in which the present invention is applied to a host computer or workstation terminal for extracting data from a general-purpose machine database which is an extraction source database to an open RDBMS database which is an extraction destination database. It is a figure which shows the outline of a structure and function.

【0022】図1に示すように、汎用機10とオープン
系コンピュータ20上のRDBMSとの間にホストコン
ピュータまたはワークステーション端末30が介在し、
このホストコンピュータまたはワークステーション端末
30は、汎用機10のデータベース11からオープン系
コンピュータ20上のRDBMSのデータベース21へ
のデータ抽出のための制御を行う。このホストコンピュ
ータまたはワークステーション端末30には、本発明に
よる定義情報更新方法を実施するデータ抽出プログラム
を生成するソフトウエアが実装されている。また、この
ホストコンピュータまたはワークステーション端末30
には、内部データベースであるリポジトリ31が含まれ
ている。
As shown in FIG. 1, a host computer or workstation terminal 30 is interposed between the general-purpose machine 10 and the RDBMS on the open system computer 20,
The host computer or workstation terminal 30 performs control for data extraction from the database 11 of the general-purpose machine 10 to the RDBMS database 21 on the open system computer 20. The host computer or workstation terminal 30 is equipped with software for generating a data extraction program for implementing the definition information updating method according to the present invention. Also, this host computer or workstation terminal 30
Contains a repository 31 which is an internal database.

【0023】図1の下方部に示す概略説明図を参照し
て、本発明による定義情報更新方法の基本的概念につい
て説明する。
The basic concept of the definition information updating method according to the present invention will be described with reference to the schematic explanatory view shown in the lower part of FIG.

【0024】抽出元のデータベース管理システムである
汎用機10における抽出元データベース定義情報が、図
1の下方部の左端に示すようなものであるとし、そし
て、抽出元である汎用機10におけるデータベース11
の使用者再定義情報がX1として示したようなものであ
り、抽出先であるオープン系コンピュータ20上のRD
BMSのデータベース21の対応する定義情報がY1と
して示したようなものであり、これら定義情報でデータ
を利用しているとする。このとき、ホストコンピュータ
またはワークステーション端末30のリポジトリ31に
は、それらの使用者再定義情報X1と抽出先データベー
ス定義情報Y1との間を対応付ける関連付け情報として
関連付け情報テーブルxが記憶されている。
It is assumed that the extraction source database definition information in the general-purpose device 10 which is the extraction source database management system is as shown at the left end of the lower part of FIG. 1, and the database 11 in the general-purpose device 10 which is the extraction source.
The user redefinition information of RD is as shown as X1, and the RD on the open system computer 20 that is the extraction destination
It is assumed that the corresponding definition information in the database 21 of the BMS is as shown as Y1 and that the definition information uses data. At this time, the repository 31 of the host computer or workstation terminal 30 stores an association information table x as association information that associates the user redefinition information X1 and the extraction destination database definition information Y1.

【0025】このような使用者再定義情報X1の下でデ
ータ利用がなされている場合において、その使用者再定
義情報X1を、使用者再定義情報X2へと更新(改訂)
する際の本発明による手順は、次のようになる。リポジ
トリ31中のX1とY1の関連付け情報テーブルxのう
ち、変更のない部分A1、A2、Bの関連付け情報をそ
のままコピーして、別の関連付け情報テーブルy1を生
成し、その後、新たに手作業で追加された項目C1とC
2についての対応付けの定義情報y2をy1に付加する
ことにより、リポジトリ31中のテーブル上の対応情報
として、その参照する更新された使用者再定義情報X2
と抽出先のRDBMSにおけるデータベース定義情報Y2と
の間の関連付け情報yを生成して、この関連付け情報の
引継ぎを行うことができる。
When data is used under such user redefinition information X1, the user redefinition information X1 is updated (revised) to the user redefinition information X2.
The procedure according to the invention for doing so is as follows. Of the association information table x of X1 and Y1 in the repository 31, the association information of unchanged portions A1, A2, and B is copied as it is to generate another association information table y1, and then manually. Added items C1 and C
By adding the definition information y2 of the association for the item 2 to y1, as the correspondence information on the table in the repository 31, the updated user redefinition information X2 referred to by the reference information
It is possible to generate association information y between the database definition information Y2 in the RDBMS of the extraction destination and take over the association information.

【0026】このような方法を実施するための本発明の
システムの一実施例としては、抽出元データベースから
抽出先データベースへのデータ抽出を行うためのデータ
抽出プログラムを生成するコンピュータ30に含まれる
リポジトリ31内に、抽出元データベースの使用者再定
義情報と抽出先データベースの定義情報との間を対応付
ける関連付け情報テーブルxを記憶するための第1の記
憶場所と、使用者再定義情報または抽出先データベース
の定義情報を更新する場合において、第1の記憶場所に
記憶された関連付け情報テーブルxのうち更新によって
も変更を必要としないテーブル部分y1はそのまま記憶
するための第2の記憶場所とを設けておく。そして、更
新によって必要とされる関連付け情報として新たなテー
ブル部分y2を作成する新テーブル部分作成手段を実現
し、且つこの新テーブル部分作成手段によって作成され
た新たなテーブル部分y2を、第2の記憶場所にて、更
新によっても変更を必要としないテーブル部分y1に付
け加えることによって、更新された使用者再定義情報ま
たは抽出先データベースの定義情報に対応する関連付け
情報テーブルyを生成する関連付け情報テーブル作成手
段を実現しうるプログラムを、コンピュータ30に実装
しておき、このプログラムにしたがって、リポジトリ3
1内に貯えられているデータを前述したように操作でき
るようにしておく。
As an embodiment of the system of the present invention for carrying out such a method, a repository included in the computer 30 for generating a data extraction program for performing data extraction from the extraction source database to the extraction destination database. A first storage location for storing the association information table x that correlates the user redefinition information of the extraction source database and the definition information of the extraction destination database in 31 and the user redefinition information or the extraction destination database In the case of updating the definition information of, the table portion y1 of the association information table x stored in the first storage location that does not need to be changed by the update is provided with a second storage location for storing as it is. deep. Then, a new table part creating means for creating a new table part y2 as the association information required by the update is realized, and the new table part y2 created by the new table part creating means is stored in the second storage. An association information table creating means for generating an association information table y corresponding to the updated user redefinition information or the definition information of the extraction destination database by adding to the table portion y1 that does not need to be changed by updating at the place. A program capable of realizing the above is installed in the computer 30, and the repository 3 is installed in accordance with this program.
The data stored in 1 can be operated as described above.

【0027】従来の方法の場合、使用者再定義の内容を
更新したとき、関連付け情報をあらためて作成しなけれ
ばならなかったのに対し、本発明によれば、前述したよ
うに使用者再定義情報の更新された部分に対応する関連
付け情報を付加、編集すればよいので、ユーザの負担が
軽減される。
In the case of the conventional method, when the contents of the user redefinition were updated, the association information had to be created anew, whereas according to the present invention, the user redefinition information as described above. Since it suffices to add and edit the association information corresponding to the updated portion of, the burden on the user is reduced.

【0028】次に、前述したような本発明の基本的概念
に基づく定義情報更新方法を適用したデータ抽出プログ
ラムを生成するソフトウエアによる処理動作の詳細につ
いて、項分けして説明する。
Next, the details of the processing operation by the software that generates the data extraction program to which the definition information updating method based on the basic concept of the present invention as described above is applied will be described item by item.

【0029】1.基本動作 図2は、抽出元データベース11から抽出先データベー
ス21へのデータ抽出を制御するのに使用される使用者
再定義情報と抽出先データベース定義情報との関連付け
情報を作成する手順を説明するための図であり、図3
は、その手順のフロー図である。図2に示す構成と図3
のフロー図における各手順との関係を分かり易くするた
め、図3における各手順を示すステップ番号S1〜S6
を、図2の対応する矢印に関連付けて示している。
1. Basic Operation FIG. 2 is for explaining a procedure of creating association information between user redefinition information and extraction destination database definition information used for controlling data extraction from the extraction source database 11 to the extraction destination database 21. FIG. 3 and FIG.
Is a flow chart of the procedure. The configuration shown in FIG. 2 and FIG.
In order to make it easy to understand the relationship with each procedure in the flowchart of FIG. 3, step numbers S1 to S6 showing each procedure in FIG.
Are shown in association with the corresponding arrows in FIG.

【0030】使用者再定義情報と抽出先データベース定
義情報との関連付け情報を作成するため、先ず、図2お
よび図3にステップS1として示すように、抽出元デー
タベース11から抽出元データベース定義情報(レコー
ド定義)をリポジトリ31へコピーする。また、ステッ
プS2として示すように、抽出元データベース11から
使用者再定義情報(使用者再定義)をリポジトリ31へ
コピーする。さらにまた、ステップS3として示すよう
に、抽出先データベース21から抽出先データベース定
義情報(テーブル定義)をリポジトリ31へコピーす
る。
In order to create the association information between the user redefinition information and the extraction destination database definition information, first, as shown as step S1 in FIGS. 2 and 3, the extraction source database definition information (record Definition) to the repository 31. Further, as shown as step S2, the user redefinition information (user redefinition) is copied from the extraction source database 11 to the repository 31. Furthermore, as shown as step S3, the extraction destination database definition information (table definition) is copied from the extraction destination database 21 to the repository 31.

【0031】次に、ステップS4として示すように、抽
出元データベース定義情報中のレコード定義とそれに関
する使用者再定義情報を関連付ける。それから、ステッ
プS5として示すように、抽出元データベース定義情報
から、抽出対象とするレコードを選択する。そして、ス
テップS6として示すように、ステップS5の処理で選
択した抽出元レコード中の項目と抽出先データベース
(テーブル)中の列と対応付けを行う。このとき、必要
であれば、演算式を使用した値の加工、項目中の値によ
り、条件を設定し、それによって、列へ代入する値を切
り分ける、等の設定を行う。具体例について説明する
と、ステップS5では、汎用機のデータベース中の移行
すべきレコードを選び、例えば、2001年4月〜12
月のレコードを選択して、抽出する。また、ステップS
6では、例えば、抽出先データベースの#2にレコード
された値と#3にレコードされた値とを加えて、抽出先
データベースの#4のテーブルに入れるというような対
応付けも行う。
Next, as shown as step S4, the record definition in the extraction source database definition information and the user redefinition information related thereto are associated with each other. Then, as shown as step S5, a record to be extracted is selected from the extraction source database definition information. Then, as shown as step S6, the items in the extraction source record selected in the process of step S5 are associated with the columns in the extraction destination database (table). At this time, if necessary, processing such as processing a value using an arithmetic expression, setting a condition according to the value in the item, and dividing the value to be assigned to the column is performed. Explaining a specific example, in step S5, a record to be migrated in the database of the general-purpose machine is selected, and for example, from April 2001 to 12
Select and extract the month record. Also, step S
In step 6, for example, the value recorded in # 2 of the extraction destination database and the value recorded in # 3 are added to the table of # 4 of the extraction destination database, and association is also performed.

【0032】図4は、前述した基本動作のうち、抽出元
データベース11上のデータベース定義情報とデータベ
ース11上のレコード定義を再定義するための使用者再
定義情報を、抽出元データベース11からホストコンピ
ュータまたはワークステーション端末30のリポジトリ
31へ格納する手順、並びに抽出先データベース21上
のデータベース定義情報を抽出してリポジトリ31に格
納する手順、をブロック図にてまとめて示している。こ
こで、データベース定義情報は、レコード定義の他、レ
コード間の関連性に関する定義、レコードの物理的な配
置に関する定義を含む情報の集まりである。
FIG. 4 shows database definition information on the extraction source database 11 and user redefinition information for redefining the record definition on the database 11 from the extraction source database 11 among the basic operations described above. Alternatively, a block diagram collectively shows a procedure of storing the information in the repository 31 of the workstation terminal 30 and a procedure of extracting the database definition information on the extraction destination database 21 and storing it in the repository 31. Here, the database definition information is a collection of information that includes, in addition to the record definition, a definition related to the relationship between the records and a definition related to the physical arrangement of the records.

【0033】図5は、前述した基本動作のうち、抽出元
データベース定義情報中のレコード定義と、それに関連
する使用者再定義情報とを関連付ける使用者再定義マッ
プ情報を作成する手順をブロック図にまとめて示してい
る。
FIG. 5 is a block diagram showing a procedure for creating user redefinition map information for associating the record definition in the extraction source database definition information and the user redefinition information related to it among the basic operations described above. It is shown collectively.

【0034】図6は、前述した基本動作のうち、抽出元
データベース定義情報から抽出対象とするレコードを選
択し、必要であれば、レコード抽出時の選択条件を設定
し、スキーマリンク情報としてリポジトリ31に記憶さ
せる手順をブロック図にまとめて示している。
In FIG. 6, of the basic operations described above, the record to be extracted is selected from the extraction source database definition information, and if necessary, the selection condition at the time of record extraction is set, and the repository 31 is used as the schema link information. A block diagram collectively shows the procedure to be stored in.

【0035】図7は、前述した基本動作のうち、前のス
テップにて選択した抽出元レコード中の項目と抽出先デ
ータベース(テーブル)中の列と対応付けを行い、必要
であれば、演算式を使用した値の加工、項目中の値によ
り条件を設定しそれによって、列へ代入する値を切り分
ける、等の設定を行いテーブルマップ情報としてリポジ
トリ31に記憶させる手順をブロック図にまとめて示し
ている。このように、前のステップを実施することによ
り下位情報が作成され、使用者再定義情報のコピーに連
ねられる。
FIG. 7 associates the items in the extraction source record selected in the previous step with the columns in the extraction destination database (table) among the basic operations described above, and, if necessary, the arithmetic expression. The block diagram shows the procedure for processing values using, and setting conditions based on the values in the items and dividing the values to be assigned to the columns, and storing them in the repository 31 as table map information. There is. In this way, by performing the previous steps, the subordinate information is created and linked to the copy of the user redefinition information.

【0036】2.関連情報について 前述した手順において作成される「関連情報」につい
て、どのような情報を言うのかにつきより分かり易くす
るため、以下にまとめて説明することにする。関連情報
は、次の3つの情報、すなわち、使用者再定義マップ情
報、スキーマリンク情報、テーブルマップ情報に分けら
れる。
2. Regarding Related Information In order to make it easier to understand what kind of information the “related information” created in the above-described procedure is, it will be collectively described below. The related information is divided into the following three types of information: user redefinition map information, schema link information, and table map information.

【0037】先ず、使用者再定義マップ情報について説
明するに、この使用者再定義マップ情報は、抽出元デー
タベースの定義情報と使用者が使用するときに再定義し
た使用者再定義情報を関係付けるための情報である。こ
れは、汎用機としてのデータベース管理システムによっ
て管理される抽出元データベースの定義情報と使用者が
使用するときに再定義した使用者再定義情報との関連付
けを行っているものである。図8は、このような関連情
報である使用者再定義マップ情報の一例について説明す
るための図であり、抽出元データベースの定義情報と、
それに対応する使用者再定義情報との一例を並置して示
している。図8において、例えば、データベースの定義
情報におけるAを日付のデータとする。そのデータは汎
用機のデータベースでは、年月日を表す数字として20
020227という8桁の数字で使用しているとする。
この場合、Aのデータは、20020227となってい
る。しかし、実際は、4桁と4桁に分けた方が使用し易
い場合には、Aを、使用者再定義においてA1とA2に
分割し、A1のデータを、その年月日のうちの年を示す
2002とし、A2のデータを、その年月日のうちの月
日を示す0227としておく。そして、A1のデータが
Aのデータのどの部分に当たるか、また、A2のデータ
がAのデータのどの部分に当たるかを結び付けておく。
この結び付け情報が一つの関連情報である使用者再定義
マップ情報となる。このような使用者再定義マップ情報
は、データベースの記憶場所のアドレスを用いて表さ
れ、例えば、A1のデータは、Aのどのアドレスからど
のアドレスまでに記憶されたものに相当するか、A2の
データは、Aのどのアドレスからどのアドレスまでに記
憶されたものに相当するかを、対応付けるようなアドレ
スマップとされうる。
First, the user redefinition map information will be described. This user redefinition map information relates the definition information of the extraction source database with the user redefinition information redefined when the user uses it. This is information for. This is to associate the definition information of the extraction source database managed by the database management system as a general-purpose machine with the user redefinition information redefined when the user uses it. FIG. 8 is a diagram for explaining an example of user redefinition map information which is such related information, and includes definition information of an extraction source database and
An example of the user redefinition information corresponding thereto is shown side by side. In FIG. 8, for example, A in the definition information of the database is date data. The data is 20 in the database of general-purpose machines as a number indicating the date.
It is assumed that the 8-digit number 020227 is used.
In this case, the data of A is 20020227. However, in practice, if it is easier to use 4 digits and 4 digits, A is divided into A1 and A2 in the user redefinition, and the data of A1 is the year of the date. 2002, and the data of A2 is 0227 indicating the date of the date. Then, which part of the A data corresponds to the A data, and which part of the A2 data corresponds to the A data are linked.
This connection information becomes the user redefinition map information which is one related information. Such user redefinition map information is represented by using the address of the storage location of the database. For example, the data of A1 corresponds to what address of A is stored and which address of A2. The data may be an address map that associates which address of A corresponds to what is stored.

【0038】次に、スキーマリンク情報について説明す
るに、このスキーマリンク情報は、抽出元データベース
からレコードを抽出するときの条件を示すものである。
図8に示されたものは、1レコード単位になるが、その
抽出に必要な抽出条件が、関連情報の一つであるスキー
マリンク情報である。
Next, the schema link information will be described. The schema link information indicates a condition for extracting a record from the extraction source database.
Although what is shown in FIG. 8 is one record unit, the extraction condition necessary for the extraction is the schema link information which is one of the related information.

【0039】次に、テーブルマップ情報について説明す
るに、このテーブルマップ情報は、抽出元データベース
である汎用機のデータベースの使用者再定義情報と抽出
先データベースであるオープン系RDBMSのデータベ
ースの定義情報とを関連付けるものである。汎用機のデ
ータベースとオープン系RDBMSのデータの持ち方が
異なるために、その関連付けが必要となるからである。
この情報の中には、何らかの演算をした結果をいれるた
めの列も存在するので、そういった演算式も情報の一部
となる。図9は、このような関連情報であるテーブルマ
ップ情報の一例について説明するための図であり、抽出
元データベースの使用者再定義情報と、抽出先データベ
ースの定義情報との一例を並置して示している。この図
9に示した例では、テーブルマップ情報は、〔A1:a
1,A2:a2,B:b,C1:c1,C2:c2,C
3:c3〕のような対応付け情報となる。この場合にお
いて、A1およびA2とBとの関係が、A1のデータと
A2のデータとを加算したものをBのデータとするよう
な関係にある場合には、テーブルマップ情報には、この
関係を示す情報として、〔B=A1+A2〕の如き情報
も加えられることになる。
Next, the table map information will be described. The table map information includes the user redefinition information of the database of the general-purpose machine which is the extraction source database and the definition information of the database of the open RDBMS which is the extraction destination database. Is to be associated with. This is because the database of the general-purpose machine and the data of the open RDBMS are different, so that the association is required.
Since there is a column for putting the result of some operation in this information, such an arithmetic expression is also a part of the information. FIG. 9 is a diagram for explaining an example of the table map information that is such related information, and shows an example of the user redefinition information of the extraction source database and the definition information of the extraction destination database side by side. ing. In the example shown in FIG. 9, the table map information is [A1: a
1, A2: a2, B: b, C1: c1, C2: c2, C
3: c3]. In this case, if the relationship between A1 and A2 and B is such that the data of A1 and the data of A2 are added to the data of B, this relationship is included in the table map information. Information such as [B = A1 + A2] is also added as the information to be shown.

【0040】3.使用者再定義情報の更新処理の流れ 使用者再定義情報を更新する場合の手順の詳細例につい
て、図10および図11を参照して説明する。
3. Flow of Update Process of User Redefinition Information A detailed example of the procedure for updating the user redefinition information will be described with reference to FIGS. 10 and 11.

【0041】図10は、現在の使用者再定義情報の一例
を示す表1と、この現在の使用者再定義情報を更新した
ものを示す表2とを並置して示している。図11は、こ
のように使用者再定義情報を更新する場合の処理手順を
示すフロー図である。図10の表1に示す現在の使用者
再定義情報は、既にリポジトリ31内に取り込まれレコ
ード定義と関連付けられて記憶されているものであり、
これを先使用者再定義情報と呼ぶことにする。これを図
10の表2に示されるような使用者再定義情報へと更新
したい場合には、図11のフローにおけるステップS1
で示すように、抽出元データベース管理システム10で
使用者再定義情報を更新する。この更新された使用者再
定義情報は、図11のフローにおけるステップS2に
て、リポジトリ31内に取り込まれそこに記憶される。
この取り込んだものを、元使用者再定義情報と呼ぶこと
にする。
FIG. 10 shows a table 1 showing an example of the current user redefinition information and a table 2 showing the updated current user redefinition information side by side. FIG. 11 is a flow chart showing a processing procedure for updating the user redefinition information in this way. The current user redefinition information shown in Table 1 of FIG. 10 is already taken in the repository 31 and stored in association with the record definition.
This is called pre-user redefinition information. To update this to the user redefinition information as shown in Table 2 of FIG. 10, step S1 in the flow of FIG.
As shown by, the extraction source database management system 10 updates the user redefinition information. This updated user redefinition information is taken into the repository 31 and stored therein in step S2 in the flow of FIG.
The acquired information will be referred to as former user redefinition information.

【0042】図10の表1と表2とを対比すると分かる
ように、この例における使用者再定義情報の更新は、2
番のFILLER句を、2つの項目NEW-ITEM1とNEW-ITEM2、お
よびFILLERに変更するものである。
As can be seen by comparing Table 1 and Table 2 in FIG. 10, the update of the user redefinition information in this example is 2
Number FILLER clause is changed to two items NEW-ITEM1 and NEW-ITEM2, and FILLER.

【0043】表1の定義から、表2の定義への変更は、
次のようにして行われる。 (1)表1のFILLER句の中にNEW-REC1のNEW-ITEM-1とN
EW-ITEM-2の二つの項目を設定する。 (2)上記(1)項で残った部分はFILLER句とする。 (3)FILLER句の上位にNEW-ITEM-1とNEW-ITEM-2を追加
したので、元のFILLER句以降のシーケンス番号がずれる
ことになる。 (4)#2に集団項目名(NEW-REC-1)が入る。 (5)#3と#4に各項目名(NEW-ITEM-1とNEW-ITEM-2)が
入る。 (6)FILLER句とそれ以下の項目を3つずらし、シーケ
ンス番号を振りなおす。
The change from the definition in Table 1 to the definition in Table 2 is:
This is done as follows. (1) NEW-ITEM-1 and N of NEW-REC1 in the FILLER clause of Table 1
Set two items of EW-ITEM-2. (2) The portion left over in (1) above is the FILLER clause. (3) Since NEW-ITEM-1 and NEW-ITEM-2 are added above the FILLER clause, the sequence numbers after the original FILLER clause will be shifted. (4) The group item name (NEW-REC-1) is entered in # 2. (5) Each item name (NEW-ITEM-1 and NEW-ITEM-2) is entered in # 3 and # 4. (6) Shift the FILLER clause and the following items by 3, and renumber the sequence numbers.

【0044】次に、ステップS2でとり込んだ元使用者
再定義情報とレコード定義との関連づけをする場合は、
図11のフローのステップS3に示すように、元使用者
再定義情報と先使用者再定義情報との比較を行う。この
比較の手順としては、FILLER句前後の項目比較を行い、
FILLER項目以外が変更されていないかを確認する。 (1)先使用者再定義情報の項目を番号順に一つ得る。 (2)FILLER項目である場合、以下の項目をチェックす
る。
Next, when the original user redefinition information fetched in step S2 and the record definition are associated with each other,
As shown in step S3 of the flow of FIG. 11, the original user redefinition information and the previous user redefinition information are compared. The procedure for this comparison is to compare items before and after the FILLER clause,
Check if any items other than FILLER items have been changed. (1) Obtain one item of pre-user redefinition information in numerical order. (2) If it is a FILLER item, check the following items.

【0045】(ア)この一つ前の項目名の情報が、「元
使用者再定義情報」に存在するかどうかチェックする。
図10の表1の場合、FILLER項目の前の項目名がKEYなの
でKEYという項目名が存在するか確認する。FILLERの前
に項目がない場合には、この処理は実行されない。
(A) It is checked whether or not the information of the item name immediately before this exists in the "former user redefinition information".
In the case of Table 1 in FIG. 10, since the item name before the FILLER item is KEY, it is confirmed whether the item name KEY exists. If there is no item before FILLER, this process is not executed.

【0046】(イ)先使用者再定義の中でFILLER項目の
次の項目名と番号を取得する。その項目名が「元使用者
再定義情報」に存在するかどうかチェックする。
(B) In the redefinition of the previous user, the item name and number next to the FILLER item are acquired. Check if the item name exists in the "former user redefinition information".

【0047】図11のフローにおいて、ステップS3に
おいて、項目が一致しない場合には、ステップS4でエ
ラーを表示し、一致する場合には、元使用者再定義情報
から先使用者再定義情報への上書きを行う。次いで、ス
テップS6において、下位情報である関連情報としての
テーブルマップ情報の更新処理を行う。シーケンス番号
が変更になっているものもあるので、下位情報の中で、
この番号がはいっているところがあるので、その部分の
更新を行う。
In the flow of FIG. 11, if the items do not match in step S3, an error is displayed in step S4, and if they match, the original user redefinition information changes to the previous user redefinition information. Overwrite. Next, in step S6, the update process of the table map information as the related information, which is the lower information, is performed. Some of the sequence numbers have been changed, so in the lower information,
Since there is a part where this number is entered, that part is updated.

【0048】このような使用者再定義情報の更新時にお
けるリポジトリ31内の記憶内容をイメージ的に示すと
図12の如くである。この図12に示すように、リポジ
トリ31内に記憶されていた表1に示す更新前使用者再
定義情報は、表2に示す更新後使用者再定義情報とな
り、この際に、本発明によれば、点線で示す円内の関連
情報、下位情報も各項目毎に引き継がれて記憶されてい
くのである。従来の方法では、これらの関連情報は、表
2の更新後使用者再定義情報には引き継がれていなかっ
たのである。
FIG. 12 schematically shows the contents stored in the repository 31 when the user redefinition information is updated. As shown in FIG. 12, the pre-update user redefinition information shown in Table 1 stored in the repository 31 becomes the post-update user redefinition information shown in Table 2. At this time, according to the present invention. For example, the related information and subordinate information within the circle indicated by the dotted line are inherited and stored for each item. In the conventional method, the related information is not carried over to the post-update user redefinition information in Table 2.

【0049】4.抽出先データベース定義情報の更新処
理の流れ 抽出先データベース定義情報の更新を行う場合も、本発
明によれば、前述した抽出元データベースの使用者再定
義情報を更新する場合と同様な手法によって行われ得
る。図13は、抽出先データベース定義情報の更新する
手順例を説明するための図1と同様の図であり、図14
は、その手順を例示するフロー図である。
4. Update processing of the extraction destination database definition information
Also updating the management of the flow extracted the database definition information, according to the present invention may be carried out by a similar to the case of updating the user re-definition information extraction source database described above techniques. FIG. 13 is a diagram similar to FIG. 1 for explaining an example of the procedure for updating the extraction destination database definition information.
FIG. 6 is a flow diagram illustrating the procedure.

【0050】図13の下方部に示す概略説明図に示され
るように、この場合にも、抽出元のデータベース管理シ
ステムである汎用機10における抽出元データベース定
義情報が、図13の下方部の左端に示すようなものであ
るとし、そして、抽出元である汎用機10におけるデー
タベース11の使用者再定義情報がX1として示したよ
うなものであり、抽出先であるオープン系コンピュータ
20上のRDBMSのデータベース21の対応する定義
情報がY1として示したようなものであり、これら定義
情報でデータを利用しているとする。このとき、ホスト
コンピュータまたはワークステーション端末30のリポ
ジトリ31には、それらの使用者再定義情報X1と抽出
先データベース定義情報Y1との間を対応付ける関連付
け情報として関連付け情報テーブルxが記憶されてい
る。
As shown in the schematic explanatory view shown in the lower part of FIG. 13, the extraction source database definition information in the general-purpose machine 10 which is the database management system of the extraction source is the left end of the lower part of FIG. 13 in this case as well. And the user redefinition information of the database 11 in the general-purpose machine 10 as the extraction source is as X1 and the RDBMS of the open-type computer 20 as the extraction destination. It is assumed that the corresponding definition information in the database 21 is as shown as Y1 and the definition information uses data. At this time, the repository 31 of the host computer or workstation terminal 30 stores an association information table x as association information that associates the user redefinition information X1 and the extraction destination database definition information Y1.

【0051】このような抽出先データベース定義情報Y
1の下でデータ利用がなされている場合において、その
抽出先データベース定義情報Y1を、テーブル定義情報
Y2へと更新(改訂)する際の本発明による手順は、次
のようになる。リポジトリ31中のX1とY1の関連付
け情報テーブルxのうち、変更のない部分A1、A2、
Bの関連付け情報をそのままコピーして、別の関連付け
情報テーブルy1を生成し、その後、新たに手作業で追
加された項目c1とc2についての対応付けの定義情報
y2をy1に付加することにより、リポジトリ31中の
テーブル上の対応情報として、その参照する更新された
使用者再定義情報X2と抽出先のRDBMSにおけるデータ
ベース定義情報Y2との間の関連付け情報yを生成し
て、この関連付け情報の引継ぎを行うことができる。こ
こで、テーブル定義情報は、データベース定義情報と同
様で、RDBMS上のテーブル定義の他、テーブル間の
関連性に関する定義、テーブル間の物理的な配置に関す
る定義を含む情報の集まりである。
Such extraction destination database definition information Y
When the data is used under 1, the procedure according to the present invention when updating (revising) the extraction destination database definition information Y1 to the table definition information Y2 is as follows. Of the association information table x of X1 and Y1 in the repository 31, the unchanged portions A1, A2,
By copying the associating information of B as it is, another associating information table y1 is generated, and thereafter, the definition information y2 of the associating the newly manually added items c1 and c2 is added to y1. As the correspondence information on the table in the repository 31, the association information y between the updated updated user redefinition information X2 to be referenced and the database definition information Y2 in the extraction destination RDBMS is generated, and the association information is inherited. It can be performed. Here, the table definition information is the same as the database definition information, and is a collection of information including a table definition on the RDBMS, a definition on the relation between the tables, and a definition on the physical arrangement between the tables.

【0052】従来の方法の場合、抽出先データベース定
義情報(テーブル定義情報)の内容を更新したとき、関
連付け情報をあらためて作成しなければならなかったの
に対し、本発明によれば、前述したようにテーブル定義
情報の更新された部分に対応する関連付け情報を付加、
編集すればよいので、ユーザの負担が軽減される。
In the case of the conventional method, when the contents of the extraction destination database definition information (table definition information) were updated, the association information had to be newly created, whereas according to the present invention, as described above. Add the association information corresponding to the updated part of the table definition information to
Since editing is sufficient, the burden on the user is reduced.

【0053】これを図14のフロー図を参照して説明す
ると、図13に示す抽出先データベース定義情報Y1を
テーブル定義情報Y2へと更新したい場合には、図14
のフローにおけるステップS1で示すように、抽出先デ
ータベース管理システム20でテーブル定義情報Y1を
更新する。この更新されたテーブル定義情報Y2は、図
14のフローにおけるステップS2にて、リポジトリ3
1内に取り込まれそこに記憶される。この取り込んだも
のを、新しいテーブル定義情報と呼ぶことにする。 一
方、前述したのと同様に、更新前のテーブル定義情報Y
1は、リポジトリ31内に既に記憶されており、これを
既存のテーブル定義情報と呼ぶこととする。次に、図1
4のフローのステップS3に示すように、新しいテーブ
ル定義情報と既存のテーブル定義情報との比較を行う。
この比較は、使用者際定義情報の更新処理の場合と同様
に項目毎に行われる。図14のフローにおいて、ステッ
プS3において、項目が一致しない場合には、ステップ
S4でエラーを表示し、一致する場合には、新しいテー
ブル定義情報から既存のテーブル定義情報への上書きを
行う。次いで、ステップS6において、下位情報である
関連情報としてのテーブルマップ情報の更新処理を行
う。シーケンス番号が変更になっているものもあるの
で、下位情報の中で、この番号がはいっているところが
あるので、その部分の更新を行う。
This will be explained with reference to the flow chart of FIG. 14. When it is desired to update the extraction destination database definition information Y1 shown in FIG. 13 to the table definition information Y2, FIG.
As shown in step S1 in the flow of 1., the extraction destination database management system 20 updates the table definition information Y1. This updated table definition information Y2 is stored in the repository 3 in step S2 in the flow of FIG.
It is captured in 1 and stored there. The acquired information will be called new table definition information. On the other hand, similarly to the above, the table definition information Y before update
1 is already stored in the repository 31, and this will be referred to as existing table definition information. Next, FIG.
As shown in step S3 of the flow of 4, the new table definition information and the existing table definition information are compared.
This comparison is performed for each item as in the case of the update process of the definition information for the user. In the flow of FIG. 14, if the items do not match in step S3, an error is displayed in step S4, and if they match, the new table definition information is overwritten on the existing table definition information. Next, in step S6, the update process of the table map information as the related information, which is the lower information, is performed. Since some sequence numbers have been changed, this number is included in some lower information, so that part is updated.

【0054】また、前述のテーブル定義情報の更新手順
は、先ず抽出先データベース管理システム側でテーブル
定義情報を更新して、それをリポジトリ内に反映させた
のであるが、本発明は、これに限らず、リポジトリ内に
記憶されたテーブル定義情報を更新して、これを抽出先
データベース管理システム側のデータベースに反映させ
るようにしてもよい。さらにまた、このことは、抽出元
使用者再定義情報を更新する処理においても同様のこと
が言え、先ず、リポジトリ内に記憶されている使用者再
定義情報を更新してこれを抽出元データベースを操作す
るプログラムの側に反映させるようにしてもよい。
In the updating procedure of the table definition information described above, the table definition information is first updated on the extraction destination database management system side and reflected in the repository. However, the present invention is not limited to this. Instead, the table definition information stored in the repository may be updated and reflected in the database on the extraction destination database management system side. Furthermore, the same can be said in the process of updating the extraction source user redefinition information. First, the user redefinition information stored in the repository is updated and the extraction source database is updated. It may be reflected on the side of the program to be operated.

【0055】本発明によれば、前述したように汎用機上
のデータベースの使用者再定義情報とオープン系RDB
MSのデータベース定義情報をリポジトリへ取り込み、
それぞれの定義情報同士の関連付けを行い、汎用機上の
データベースからデータを取り出すためのプログラムを
生成し、この生成されたプログラムを実行することで、
汎用機上のデータベースからオープン系RDBMSへ、
選択されたデータを転送できるのである。
According to the present invention, as described above, the user redefinition information of the database on the general-purpose machine and the open RDB.
Import the database definition information of MS into the repository,
By associating each definition information with each other, generating a program for extracting data from the database on the general-purpose machine, and executing this generated program,
From a database on a general-purpose machine to an open RDBMS,
The selected data can be transferred.

【0056】[0056]

【発明の効果】本発明によれば、データ抽出のためのデ
ータ抽出プログラムを自動作成するにあたって、現在の
抽出元使用者再定義情報と抽出先テーブル定義情報との
内部データベース(リポジトリ)中の関連情報(対応情
報)を引継いで活用し、ユーザの入力を最小限すること
で、ユーザの入力漏れ、入力ミスを減らすことができ
る。
According to the present invention, in automatically creating a data extraction program for data extraction, the relation between the current extraction source user redefinition information and the extraction destination table definition information in the internal database (repository). By taking over and utilizing the information (correspondence information) and minimizing the user's input, it is possible to reduce the user's omission of input and input error.

【0057】本発明は、現場でもっとも発生頻度の高い
「使用者再定義情報のFILLER句内に項目を追加する」な
どのように、他の項目内容に変更がない場合に有効であ
る。
The present invention is effective when there is no change in the contents of other items, such as "adding an item in the FILLER clause of user redefinition information" which is the most frequently occurring in the field.

【0058】また、設定済み項目数が多いとか使用者再
定義情報の変更回数が多い場合に、項目間の関連付け作
業が多くなるのであるが、本発明によれば、更新後の使
用者再定義情報に、現在の抽出元使用者再定義情報と抽
出先テーブル定義情報との関連情報(対応情報)のう
ち、使用者にとって変更を伴わない項目の定義情報をそ
のまま残して引継ぎ、新たな定義情報として流用するこ
とで、ユーザが過去に一旦入力した関連付け情報を再度
入力する手間を省き、変更を伴う更新内容についてだけ
情報を追加するだけでよくなる。
Further, when the number of set items is large or the number of times the user redefinition information is changed is large, the work of associating the items increases, but according to the present invention, the user redefinition after updating is performed. Among the related information (correspondence information) between the current extraction source user redefinition information and the extraction destination table definition information, the definition information of the items that do not change for the user is left as it is, and new definition information is taken over. By diverting as, the user does not have to re-input the association information once input in the past, and the information only needs to be added about the update content accompanied by the change.

【0059】要するに、本発明によれば、情報の再入力
を最小限としたことにより、使用者にとっての煩雑さを
緩和し、再度入力したことによる、情報の不整合の発生
を未然に防止することに役立つ。
In short, according to the present invention, the re-input of information is minimized to reduce the complexity for the user and prevent the inconsistency of information due to the re-input. Useful for that.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明を適用した実施例の構成および機能の概
要を示す図である。
FIG. 1 is a diagram showing an outline of a configuration and a function of an embodiment to which the present invention is applied.

【図2】使用者再定義情報と抽出先データベース定義情
報との関連付け情報を作成する手順を説明するための図
である。
FIG. 2 is a diagram for explaining a procedure for creating association information between user redefinition information and extraction destination database definition information.

【図3】関連付け情報を作成する手順のフロー図であ
る。
FIG. 3 is a flowchart of a procedure for creating association information.

【図4】抽出元データベース定義情報、使用者再定義情
報および抽出先データベース定義情報をリポジトリ内に
格納する手順をまとめて示すブロック図である。
FIG. 4 is a block diagram collectively showing a procedure for storing extraction source database definition information, user redefinition information, and extraction destination database definition information in a repository.

【図5】使用者再定義マップ情報を作成する手順をまと
めて示すブロック図である。
FIG. 5 is a block diagram collectively showing a procedure for creating user redefinition map information.

【図6】スキーマリンク情報をリポジトリ内に記憶させ
る手順をまとめて示すブロック図である。
FIG. 6 is a block diagram collectively showing a procedure for storing schema link information in a repository.

【図7】テーブルマップ情報をリポジトリ内に記憶させ
る手順をまとめて示すブロック図である。
FIG. 7 is a block diagram collectively showing a procedure for storing table map information in a repository.

【図8】使用者再定義マップ情報の一例について説明す
るための図である。
FIG. 8 is a diagram illustrating an example of user redefinition map information.

【図9】テーブルマップ情報の一例を説明するための図
である。
FIG. 9 is a diagram for explaining an example of table map information.

【図10】現在の使用者再定義情報の一例と更新した使
用者再定義情報とを並置して示す図である。
FIG. 10 is a diagram showing an example of the current user redefinition information and the updated user redefinition information side by side.

【図11】使用者再定義情報を更新する場合の処理手順
を示すフロー図である。
FIG. 11 is a flowchart showing a processing procedure for updating user redefinition information.

【図12】使用者再定義情報の更新時におけるリポジト
リ内の記憶内容を示すイメージ図である。
FIG. 12 is an image diagram showing stored contents in a repository when updating user redefinition information.

【図13】抽出先データベース定義情報を更新する手順
例を説明するための図1と同様の図である。
FIG. 13 is a diagram similar to FIG. 1 for explaining an example of a procedure for updating the extraction destination database definition information.

【図14】抽出先データベース定義情報を更新する手順
を例示するフロー図である。
FIG. 14 is a flowchart illustrating a procedure for updating extraction destination database definition information.

【符号の説明】[Explanation of symbols]

10 汎用機 11 汎用機のデータベース 20 オープン系コンピュータ 21 オープン系コンピュータ上のRDBMSのデータ
ベース 30 ホストコンピュータまたはワークステーション端
末 31 リポジトリ
10 General Purpose Machine 11 General Purpose Machine Database 20 Open Computer 21 RDBMS Database on Open Computer 30 Host Computer or Workstation Terminal 31 Repository

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 データ抽出における定義情報更新方法に
おいて、抽出元データベースの使用者再定義情報と抽出
先データベースの定義情報との間を対応付ける関連付け
情報テーブルを作成してメモリに記憶させておき、前記
使用者再定義情報を更新する場合において、前記関連付
け情報テーブルのうち前記更新によっても変更を必要と
しないテーブル部分はそのままとし、前記更新によって
必要とされる関連付け情報として新たなテーブル部分を
作成し、前記そのままとされたテーブル部分に前記新た
に作成したテーブル部分を前記メモリ上で付け加えるこ
とにより、前記更新された使用者再定義情報に対応する
関連付け情報テーブルを生成することを特徴とする定義
情報更新方法。
1. A method of updating definition information in data extraction, wherein an association information table that associates user redefinition information of an extraction source database with definition information of an extraction destination database is created and stored in a memory, and In the case of updating the user redefinition information, the table portion of the association information table that does not need to be changed by the update is left as it is, and a new table portion is created as the association information required by the update, Definition information update, characterized in that an association information table corresponding to the updated user redefinition information is generated by adding the newly created table portion on the memory to the table portion left as it is. Method.
【請求項2】 前記メモリは、前記抽出元データベース
から前記抽出先データベースへのデータ抽出を行うため
のデータ抽出プログラムを生成するコンピュータに含ま
れるリポジトリである請求項1に記載の定義情報更新方
法。
2. The definition information updating method according to claim 1, wherein the memory is a repository included in a computer that generates a data extraction program for performing data extraction from the extraction source database to the extraction destination database.
【請求項3】 前記使用者再定義情報の更新は、抽出元
データベースを操作するプログラムの側でなされ、該更
新された使用者再定義情報を前記リポジトリに取り込み
元使用者再定義情報とし、レコード定義と対応づけられ
ている更新前の使用者再定義情報を先使用者再定義情報
として、前記元使用者再定義情報と前記先使用者再定義
情報とを対比していくことを含む請求項2に記載の定義
情報更新方法。
3. The updating of the user redefinition information is performed by a program that operates an extraction source database, and the updated user redefinition information is imported into the repository as original user redefinition information, and a record The method includes comparing the original user redefinition information with the previous user redefinition information, using the user redefinition information before update associated with the definition as the previous user redefinition information. The definition information updating method described in 2.
【請求項4】 前記使用者再定義情報の更新は、前記リ
ポジトリに取り込まれた使用者再定義情報に対してなさ
れ、該更新された使用者再定義情報を、抽出元データベ
ースを操作するプログラムの側に反映させると共に、該
更新された使用者再定義情報を元使用者再定義情報と
し、レコード定義と対応づけられている更新前の使用者
再定義情報を先使用者再定義情報として、前記元使用者
再定義情報と前記先使用者再定義情報とを対比していく
ことを含む請求項2に記載の定義情報更新方法。
4. The user redefinition information is updated with respect to the user redefinition information taken into the repository, and the updated user redefinition information is stored in a program that operates an extraction source database. The updated user redefinition information is used as the original user redefinition information, and the user redefinition information before update that is associated with the record definition is used as the previous user redefinition information. The definition information updating method according to claim 2, further comprising comparing the original user redefinition information and the preceding user redefinition information.
【請求項5】 データ抽出における定義情報更新方法に
おいて、抽出元データベースの使用者再定義情報と抽出
先データベースの定義情報との間を対応付ける関連付け
情報テーブルを作成してメモリに記憶させておき、前記
抽出先データベースの定義情報を更新する場合におい
て、前記関連付け情報テーブルのうち前記更新によって
も変更を必要としないテーブル部分はそのままとし、前
記更新によって必要とされる関連付け情報として新たな
テーブル部分を作成し、前記そのままとされたテーブル
部分に前記新たに作成したテーブル部分を前記メモリ上
で付け加えることにより、前記更新された抽出先データ
ベースの定義情報に対応する関連付け情報テーブルを生
成することを特徴とする定義情報更新方法。
5. A method of updating definition information in data extraction, wherein an association information table that associates user redefinition information of an extraction source database with definition information of an extraction destination database is created and stored in a memory. When updating the definition information of the extraction destination database, the table portion of the association information table that does not need to be changed by the update is left as it is, and a new table portion is created as the association information required by the update. The definition is characterized in that the newly created table part is added to the left table part on the memory to generate an association information table corresponding to the updated definition information of the extraction destination database. Information update method.
【請求項6】 前記メモリは、前記抽出元データベース
から前記抽出先データベースへのデータ抽出を行うため
のデータ抽出プログラムを生成するコンピュータに含ま
れるリポジトリである請求項5に記載の定義情報更新方
法。
6. The definition information updating method according to claim 5, wherein the memory is a repository included in a computer that generates a data extraction program for performing data extraction from the extraction source database to the extraction destination database.
【請求項7】 前記抽出先データベースのテーブル定義
情報の更新は、抽出先データベースを管理するデータベ
ース管理システムの側でなされ、該更新された抽出先デ
ータベースのテーブル定義情報を前記リポジトリに反映
させることを含む請求項6に記載の定義情報更新方法。
7. The table definition information of the extraction destination database is updated by a database management system that manages the extraction destination database, and the updated table definition information of the extraction destination database is reflected in the repository. 7. The definition information updating method according to claim 6, which includes.
【請求項8】 前記抽出先データベースのテーブル定義
情報の更新は、前記リポジトリに記憶された抽出先デー
タベースのテーブル定義情報に対してなされ、該更新さ
れたテーブル定義情報を、抽出先データベースを管理す
るデータベース管理システムの側に反映させることを含
む請求項6に記載の定義情報更新方法。
8. The table definition information of the extraction destination database is updated to the table definition information of the extraction destination database stored in the repository, and the updated table definition information is managed in the extraction destination database. The definition information updating method according to claim 6, further comprising reflecting the information on the database management system side.
【請求項9】 データ抽出における定義情報更新システ
ムにおいて、抽出元データベースの使用者再定義情報と
抽出先データベースの定義情報との間を対応付ける関連
付け情報テーブルを記憶するための第1の記憶場所と、
前記使用者再定義情報または抽出先データベースの定義
情報を更新する場合において、前記関連付け情報テーブ
ルのうち前記更新によっても変更を必要としないテーブ
ル部分はそのまま記憶するための第2の記憶場所と、前
記更新によって必要とされる関連付け情報として新たな
テーブル部分を作成する新テーブル部分作成手段と、前
記第2の記憶場所に記憶されたテーブル部分に前記新テ
ーブル部分作成手段によって作成されたテーブル部分を
付け加えることにより、前記更新された使用者再定義情
報または抽出先データベースの定義情報に対応する関連
付け情報テーブルを生成する関連付け情報テーブル作成
手段とを備えることを特徴とする定義情報更新システ
ム。
9. A definition information updating system for data extraction, comprising: a first storage location for storing an association information table that associates user redefinition information of an extraction source database with definition information of an extraction destination database;
When updating the user redefinition information or the definition information of the extraction destination database, a second storage location for storing a table portion of the association information table that does not need to be changed even by the update, and New table part creating means for creating a new table part as association information required by updating, and the table part created by the new table part creating means is added to the table part stored in the second storage location. Accordingly, the definition information updating system is provided with an association information table creating unit that creates an association information table corresponding to the updated user redefinition information or the definition information of the extraction destination database.
【請求項10】 前記第1の記憶場所および第2の記憶
場所は、前記抽出元データベースから前記抽出先データ
ベースへのデータ抽出を行うためのデータ抽出プログラ
ムを生成するコンピュータに含まれるリポジトリ内に設
けられており、前記新テーブル部分作成手段および関連
付け情報テーブル作成手段は、前記コンピュータに実装
されリポジトリ内に貯えられているデータを操作するた
めのプログラムによって与えられる請求項9に記載の定
義情報更新システム。
10. The first storage location and the second storage location are provided in a repository included in a computer that generates a data extraction program for performing data extraction from the extraction source database to the extraction destination database. 10. The definition information updating system according to claim 9, wherein the new table part creating means and the association information table creating means are provided by a program for operating data stored in a repository which is mounted on the computer. .
【請求項11】 請求項9または10に記載の定義情報
更新システムとしてコンピュータを機能させるためのプ
ログラムを記録したコンピュータ読み取り可能な記録媒
体。
11. A computer-readable recording medium in which a program for causing a computer to function as the definition information updating system according to claim 9 or 10 is recorded.
【請求項12】 請求項9または10に記載の定義情報
更新システムとしてコンピュータを機能させるためのプ
ログラム。
12. A program for causing a computer to function as the definition information updating system according to claim 9.
JP2002084942A 2002-03-26 2002-03-26 Method and system for updating definition information in data extraction Pending JP2003280955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002084942A JP2003280955A (en) 2002-03-26 2002-03-26 Method and system for updating definition information in data extraction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002084942A JP2003280955A (en) 2002-03-26 2002-03-26 Method and system for updating definition information in data extraction

Publications (1)

Publication Number Publication Date
JP2003280955A true JP2003280955A (en) 2003-10-03

Family

ID=29232080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002084942A Pending JP2003280955A (en) 2002-03-26 2002-03-26 Method and system for updating definition information in data extraction

Country Status (1)

Country Link
JP (1) JP2003280955A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179420A (en) * 2005-12-28 2007-07-12 Denryoku Systems Institute:Kk Charge calculation system
JP2011180947A (en) * 2010-03-03 2011-09-15 Mizuho Information & Research Institute Inc System, method and program for collection of report information
WO2020115864A1 (en) 2018-12-06 2020-06-11 株式会社日立製作所 Data management method, data management system, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179420A (en) * 2005-12-28 2007-07-12 Denryoku Systems Institute:Kk Charge calculation system
JP2011180947A (en) * 2010-03-03 2011-09-15 Mizuho Information & Research Institute Inc System, method and program for collection of report information
WO2020115864A1 (en) 2018-12-06 2020-06-11 株式会社日立製作所 Data management method, data management system, and program

Similar Documents

Publication Publication Date Title
US8788457B2 (en) Ensuring that the archival data deleted in relational source table is already stored in relational target table
US7401085B2 (en) System and method for controlling the release of updates to a database configuration
US9280572B2 (en) Managing product information versions
US8572027B2 (en) Performing synchronization among relational database tables with minimal contention
US8805777B2 (en) Data record collapse and split functionality
Sun et al. Modeling data for business processes
US8667010B2 (en) Database table partitioning allowing overlaps used in full text query
CN110489401B (en) Method and device for deploying database objects
US20140250062A1 (en) Systems and Methods for Facilitating the Development of an Application that Accesses Data
RU2406115C2 (en) Accessing complex data
US10509632B2 (en) Model augmentation in a model-driven application development environment
JPH08235032A (en) Logical check system for data base updating
JP2003280955A (en) Method and system for updating definition information in data extraction
CN110968569B (en) Database management method, database management device, and storage medium
CN117687681B (en) Version management method and system for low-code application
US7707211B2 (en) Information management system and method
JP3484440B2 (en) Distributed database update method
CN117194385A (en) A data migration method between different types of relational databases
JP3516843B2 (en) Database access method
JP3245047B2 (en) Version control apparatus and method
JP2004355203A (en) Update/history/tabulation management system for data
US8015150B2 (en) Method for editing related data in a database
US11797579B2 (en) Data content governance for presentation layer synchronization for a version controlled underlying data model
US20050108226A1 (en) Uniquely identifying an object before it is stored in a database
TWI484358B (en) Migration system and method of database and computer readable medium thereof