JP3577400B2 - System design equipment and data warehouse design system - Google Patents

System design equipment and data warehouse design system Download PDF

Info

Publication number
JP3577400B2
JP3577400B2 JP19790997A JP19790997A JP3577400B2 JP 3577400 B2 JP3577400 B2 JP 3577400B2 JP 19790997 A JP19790997 A JP 19790997A JP 19790997 A JP19790997 A JP 19790997A JP 3577400 B2 JP3577400 B2 JP 3577400B2
Authority
JP
Japan
Prior art keywords
data
business
items
existing database
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP19790997A
Other languages
Japanese (ja)
Other versions
JPH1125126A (en
Inventor
和浩 西村
宗大 宮川
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.)
NTT Data Corp
Original Assignee
NTT Data Corp
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 NTT Data Corp filed Critical NTT Data Corp
Priority to JP19790997A priority Critical patent/JP3577400B2/en
Publication of JPH1125126A publication Critical patent/JPH1125126A/en
Application granted granted Critical
Publication of JP3577400B2 publication Critical patent/JP3577400B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
この発明は、ノウハウを再利用することができるデータウエアハウスの設計装置及びデータウエアハウス生成システムに関する。
また、この発明は、データウエアハウスを容易に構成することができるデータウエアハウスの設計装置及びデータウエアハウス生成システムに関する。
【0002】
【従来の技術】
従来のビジネスに使用されるコンピュータテムの構成においては、ビジネスの内容及びルールを詳細に分析して、主に、プロセスに着目し、データをどのように使用するか、どのようにデータベースに格納するか等を含めて、そのビジネスに最適化するようにシステムを構成している。
しかし、従来のシステムの設計は、同一業種の似通ったシステムにおいても個別に設計されている。
【0003】
【発明が解決しようとする課題】
このため、さまざまな場面で同様な分析・解析及び設計が繰り返されていた。しかし、同一業種の似通ったシステムにおいて、同様の設計を繰り返すことは基本的に労力の無駄である。特に、システムの分析・解析は高度な専門知識と能力を有するエンジニアが行う必要がある。しかし、これらのエンジニアを拘束することはコスト的にも高いものとなっていた。
【0004】
システムを効率よく設計する手法としてデータウエアハウスが注目されている。しかし、データウエアハウスを構築するためには、データウエアハウスの構築とそこにデータを移行・登録するための仕組みを開発しなければならない。
【0005】
しかし、データウエアハウスの構築については、データウエアハウス自体として発展性のある製品を短期間に低コストで開発することが困難である。
また、データを移行・登録する部分については、従来手作業でなされており、移行・登録の効率が低かった。
【0006】
この発明は、上記実状に鑑みてなされたもので、容易にシステムを設計及び/又は製造することができる装置及びシステムを提供することを目的とする。
また、この発明は、それ自体発展性のあるデータウエアハウスを提供することを他の目的とする。
また、この発明は、既存のシステムのデータのデータウエアハウスへの移行・登録を容易化することを他の目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成するため、この発明の第1の観点に係るシステム設計装置は、
ビジネスで取り扱う業務について、正規化された複数の要素と各要素の属性及び要素の関係を使用して前記業務の業務内容を表現するビジネスモデルデータを記憶するビジネスモデルデータ記憶手段と、
前記ビジネスモデルデータ記憶手段に記憶されたビジネスモデルデータに基づいて、データウエアハウス実装形式に従って設計され、前記複数の要素の属性を項目とする雛形テーブルを記憶する雛形テーブル記憶手段と、
ユーザの入力指示を受け付けて、該入力指示に従って、既存のデータベースシステムが処理しているデータのデータ項目と前記雛形テーブルのデータ項目との対応関係を設定する対応付手段と、
前記対応付手段の設定に従って、前記対応付け手段によって対応付けられた既存のデータベースシステムの各データ項目のデータを前記雛形テーブル群の対応するデータ項目のデータに移動するためのコマンド列から構成される変換情報を生成する変換情報生成手段と、
を備えることを特徴とする。
前記ビジネスモデルデータ記憶手段に記憶されているビジネスモデルデータの属性と前記雛形テーブルのデータ項目の意味内容を示したデータディクショナリを記憶するデータディクショナリ記憶手段と、前記データディクショナリ記憶手段に記憶されている意味内容を、ユーザの確認用に出力するディクショナリ出力手段と、をさらに配置してもよい。
【0008】
このような構成によれば、内容を確認しながら、確実に対応するデータ項目同士を対応付けることができる。また、対応付けに基づいて変換情報を生成するので、変換情報生成の際のミスも少なく、正確な変換に寄与する。
【0009】
前記変換情報生成手段は、前記既存のデータベースシステムのデータを前記雛形テーブル群に適合したデータに変換するために、操作者が前記変換情報生成手段が生成した変換情報を編集するための編集画面を提供する手段をさらに備えてもよい。
【0010】
既存のデータベースシステムのデータを入力するデータ入力手段と、前記データ入力手段により入力されたデータを、前記変換情報に従って、前記雛形テーブルに適合するデータに変換し、変換したデータをデータウエアハウスに格納する変換手段、をさらに備えてもよい。
この構成によれば、データの変換自体を変換手段が行うので、データを自動的に適切に変換することができ、ひいては、適切なデータウエアハウスを実現できる。
【0011】
前記対応付手段は、例えば、既存のデータベースシステムのデータ項目と前記雛形テーブルのデータ項目とを表示する表示手段と、ユーザの入力指示に応答し、前記表示手段により表示された既存のデータベースシステムのデータ項目と前記雛形テーブルのデータ項目との対応するもの同士を選択する選択手段と、から構成される。この構成によれば、視覚的に対応付けが可能となる。
【0012】
前記対応付手段は、ユーザの入力指示に応答し、既存のデータベースシステムのデータ項目と前記雛形テーブルのデータ項目との対応するもの同士を選択する手段を備え、前記変換情報生成手段は、前記既存のデータベースシステムの選択されたデータ項目のデータを前記雛形テーブルの対応するデータ項目のデータに移動するためのコマンド列を生成する手段を備え、前記変換手段は、前記変換情報生成手段により生成されたコマンドを実行することにより、既存のシステムのデータを前記雛形テーブルに適合したデータに変換し、データウエアハウスに格納する、ように構成してもよい。
この構成によれば、データ項目同士の対応付けが容易であり、さらに、その対応付けにより、プログラムが生成され、このプログラムを実行することによりデータが変換されて移行される。従って、データの変換が確実に行われる。また、両データ項目の対応付けにより変換プログラムが自動的に生成されるので、ソース側とターゲット側のデータ項目と対応付け(マッピングルール)とプログラムとを相関関係を保って一元管理することができる。
【0013】
前記対応付手段は、ユーザの入力指示に応答し、既存のデータベースシステムのデータ項目と前記雛形データベース群の雛形テーブルのデータ項目との対応するもの同士を選択する手段を備え、
前記変換情報生成手段は、ユーザの入力指示に応答し、前記既存のデータベースシステムの選択されたデータ項目のデータを前記雛形テーブルの対応するデータ項目のデータに変換するための変換テーブルを選択する手段を備え、
前記変換手段は、選択された前記変換テーブルに設定されている変換情報に従って、既存のデータベースシステムのデータを前記雛形テーブルに適合したデータに変換し、データウエアハウスに格納する、ように構成してもよい。
この構成によれば、データ項目同士の対応付けが容易であり、さらに、その対応付けにより、テーブルが選択され、このテーブルに従ってデータが変換されて移行される。従って、データの変換が確実に行われる。また、両データ項目の対応付けによりテーブルが選択されるので、ソース側とターゲット側のデータ項目と対応付け(マッピングルール)とテーブルとを相関関係を保って一元管理することができる。
【0014】
上記目的を達成するため、この発明の第2の観点に係るデータウエアハウス設計システムは、
ビジネスで取り扱う業務について、正規化された複数の要素と各要素の属性及び要素の関係を使用して前記業務の業務内容を表現するビジネスモデルデータに基づいて、データウエアハウス実装形式に従ってあらかじめ設計され、前記複数の要素の属性を項目とする雛形テーブルを記憶する雛形テーブル記憶手段と、
ユーザの入力指示に従って、既存データベースシステムのデータ項目と前記雛形テーブルのデータ項目とを対応付ける対応付手段と、
前記対応付手段の対応付に従って、前記既存データベースシステムのデータを前記雛形テーブルに適合したデータに変換するための変換情報を生成する変換情報生成手段と、
を備えることを特徴とする。
【0015】
前記既存データベースシステムのデータを入力し、前記変換情報に従って、入力された前記既存データベースシステムのデータを前記雛形テーブルに適合したデータに変換する手段を更に配置してもよい。
【0016】
前記雛形テーブルのデータ項目の意味内容の定義を記憶する手段と、ユーザの入力指示に従って記憶している意味内容に関する定義を表示する手段と、前記雛形テーブルの各データ項目の関連を示す情報を記憶する手段と、ユーザの入力指示に従って記憶している関連に関する情報を表示する手段と、をさらに配置してもよい。
【0018】
前記テーブル群のデータ項目の意味内容の定義を表示する手段と、前記テーブル群の各データ項目の関連を表示する手段と、との少なくとも一方をさらに備えてもよい。
これらの手段を配置することにより、対応関係の誤りを防止できる。例えば、ソースシステムの項目名などは一定せず、作成者により同一項目名が全く異なる場面で使用される場合も多いが、これらの手段を配置することにより、テーブル群のデータ項目の意味内容や位置付を確実に判断し、適切な項目名同士を対応付けることができる。
【0020】
コンピュータにこれらの機能を実現し且つこれらのステップを実行させるプログラムを記憶媒体に格納して配布し、これをコンピュータ上で実行することにより、上述のシステムや方法を実現してもよい。
【0021】
【発明の実施の形態】
以下、この発明の実施の形態を図面を参照して説明する。
【0022】
まず、図1〜図3を参照して、この発明の第1の実施の形態に係るデータウエアハウスについて説明する。
図1は、この発明の第1の実施の形態に係るデータウエアハウス設計・製造システムの構成を示している。
このシステムは、既存のシステムのデータをデータウエアハウス化するためのシステムであり、図1に示すように、入力部1と、表示部2と、ビジネスモデル記憶・制御部3と、DB(データベース)スキーマテンプレート記憶・制御部4と、データディクショナリ記憶・制御部5と、変換部6とを備えている。
【0023】
入力部1は、キーボード、マウスなどを備え、データ、ビジネスモデル、DBスキーマテンプレート、指示などを入力する。
表示部2は、CRT、LCD等を備え、データや指示を入力するための入力用画面、入力されたデータ等を表示する。
【0024】
ビジネスモデル記憶・制御部3は、ビジネスモデルを記憶し、また、記憶しているビジネスモデルを表示部2に表示する。
このビジネスモデルは、各種のビジネスを詳細に分析し、モデル化の対象業務について、その業務に関連する各要素(エンティティやクラス等のオブジェクト)とその属性をオブジェクト指向方法論に従って概念的に整理したものであり、さらに、各要素(オブジェクト)相互の関連を表現したものである。
換言すると、このビジネスモデル自体は、そのビジネスで取り扱う普遍的な要素をモデル化したものである。
【0025】
図2はビジネスモデルの一例を示す。但し、図2は、理解を容易にするためにきわめて簡略化した例である。図2において、各ブロック(ボックス)はクラスを表し、業務を構成する項目の最小単位を表す。クラス相互の関係は、クラス相互を接続するカーディナリティ(多重度)とそのラインに付された説明により表されている。また、各クラスのもつデータ属性と手続きは各クラス内に記述されている。
【0026】
DBスキーマテンプレート記憶・制御部4は、ビジネスモデルを実世界に投影した雛形のデータベース群(即ち、スキーマテンプレート)を記憶する。
この雛形のデータベース群は、ビジネスモデル記憶・制御部3に記憶されているビジネスモデルの各属性をデータベースの項目(エンティテイ)としており、純粋な論理的モデルをシステム的な処理効率などを考慮して統合したものである。
このデータベース群はデータウエアハウスのデータベース実装形式に従っており、これを基にデータベースを作成し、そこに既存システムのデータを変換及び挿入することにより、データウエアハウスのデータベースとなる。
【0027】
データディクショナリ記憶・制御部5は、ビジネスモデルの各属性と、DBスキーマテンプレートの項目の意味内容を曖昧さを排除して表現したデータディクショナリを記憶し、また、記憶しているディクショナリの任意の項目を表示部2に表示する。このビジネスディクショナリは、曖昧さを排除するため、シノニムを排除し、項目の一意性を保証し、明確且つ的確な表現を使用している。
【0028】
図3にデータディクショナリの一例を示す。図3によれば、例えば、「約定日」とは「約定オペレーションをおこなった日」であり、そのフォーマットが「西暦8桁」であることが明確に理解できる。
【0029】
変換部6は、既存のシステムのデータを入力し、スキーマテンプレートに適合したデータに変換するものであり、図4に示すように、既存システムのデータ項目を登録するデータ項目登録部61と、既存システムのデータ項目とスキーマテンプレートのデータ項目を対応付けのための処理を行うマッピング部62と、ユーザにより対応付けられたデータ項目を変換するためのプログラムを自動的に生成するためのプログラム生成・編集部63と、プログラム生成・編集部63で生成されたプログラムの文法チェックを行う文法チェック部64とを備える。
なお、このシステム自体には、プログラム生成・編集部63が生成・編集したプログラムを実行する機能はなく、別のマシンでプログラムをコンパイルして実行し、データウエアハウスを生成する。
【0030】
次に、このような構成を有するデータウエアハウス設計・製造システム自体の構築方法について、図5のフローチャートを参照して説明する。
【0031】
まず、ビジネスを特定し(ステップS11)、その業務内容を分析・解析し(ステップS12)、図2に例示するような、業務に関連する各要素とその属性を概念的に整理し、データ項目が重複しないように正規化(最適化)されたビジネスモデルを作成する(ステップS13)。ビジネスモデルは、望ましくは、1つのビジネスに1つ設計する。例えば、金融等のビジネスにおいては、勘定系の業務、国際系の業務、証券系の業務、円資金系の業務、外部情報系の業務等の多種業務が存在するが、これらを詳細に分析して、全体として1つのビジネスモデル(メタモデル)を設計する。
【0032】
次に、設計したビジネスモデルのデータ項目をデータ項目とする雛形のデータベース群を設計する(ステップS14)。このデータベース群は、ビジネスモデルの各属性をデータベースの項目(エンティテイ)としており、純粋な論理的モデルをシステム的な処理効率などを考慮して複数のテーブルに分け、また、項目の組み合わせなども選択する。
【0033】
さらに、設計したビジネスモデルのデータエンティテイ(データ項目)のそれぞれについて、図4に示すように、その意味内容を明確にするためのデータディクショナリを作成する(ステップS15)。
【0034】
作成した、ビジネスモデルと、データベース群と、データディクショナリと、をそれぞれシステムに登録し(ステップS16)、さらに、変換部6を登録することにより、図1に示すシステムが構成される(ステップS17)。
【0035】
なお、既存の業務の場合には、既に設定されているビジネスモデルを選択し(ステップS13’)、続いて、既に設定されているDBスキーマテンプレートを選択し(ステップS14’)、選択したビジネスモデルとDBスキーマテンプレートをシステムに登録する(ステップS16)ことにより、対応することも可能である。
【0036】
次にこのようにして構成されたデータウエアハウス設計・製造システムを用いたデータウエアハウス設計の手順(方法)を図6〜図11を参照して説明する。通常のシステムの設計は「調査」→「設計」→「製造」→「試験」の順に行われる。以下、この手順に従って順次説明する。
【0037】
(1) 調査から設計に至る工程
このデータウエアハウス設計・製造システムを用いる場合、通常の調査や設計の工程は、予めそれを普遍化したものがビジネスルール及び雛形データベース群として予め用意されているので、個別に行う必要はない。
【0038】
(2) 設計から製造に至る工程
(2−1) 操作者は、入力部1を操作してデータ項目登録部61を起動し、データウエアハウス化する既存のシステムのデータ項目を登録する。
データ項目は、ディレクトリ名、テーブル名、データ項目等の関連がわかるように階層構造で登録する。
登録は、手作業で入力してもよく、既存システムのデータのディレクトリ情報を読み出して入力するものでもよい。
【0039】
(2−2) 操作者は、入力部1を操作して、登録部6のマッピング部62を起動する。マッピング部62は、図6に示すように、既存のシステム(入力モジュール)のデータ項目の一覧を左側のウインドウに、DBスキーマテンプレート(出力モジュール)上のデータ項目の一覧を右側のウインドウに表示する。
【0040】
操作者は、GUI(グラフィカルユーザインタフェース)により、既存画面の左側のウインドウに階層的に表示されたデータ項目と右側のウインドウに階層的に列記されたデータ項目とを、例えば、マウスでダブルクリックすることにより、選択して対応付ける(マッピングする)。
【0041】
既存のシステムで使用されている用語は、システム毎に個別に設定されており、一定しない。このため、対応関係を正確に判断するため、操作者は、必要に応じて、マウスの右クリック、適当なアイコンの選択により、ビジネスモデル及び/又はデータディクショナリを参照する。
【0042】
例えば、ビジネスモデル表示用のアイコンがクリックされると、登録部6又は他の適当なツールが起動し、ビジネスモデルを適当なウインドウ内に表示する。操作者が、OS(オペレーティングシステム)が備える通常のスクロール技術などを用いて表示されたビジネスモデルのうち、必要な箇所を参照できるようにしてもよい。
【0043】
また、DBスキーマスキーマテンプレート表示アイコンがクリックされると、登録部6はデータディクショナリ記憶・制御部5を起動し、データディクショナリ記憶・制御部5は、データディクショナリをウインドウ内に表示する。操作者は、通常の検索機能などを用いて所望のデータ項目の意味・内容を確認することができる。
【0044】
このようにして、操作者は、DBスキーマテンプレートの各項目の位置付けと他のエンティテイとの関連を判別し、さらに、その意味内容を明確に判断し、既存システムの項目名とDBスキーマテンプレートの項目との対応関係を判断する。
【0045】
操作者は、判断に基づき、GUI(グラフィカルユーザインタフェース)により、画面の左側のウインドウに階層的に列記されたデータ項目と右側のウインドウに階層的に列記されたデータ項目との対応するものをそれぞれ選択する。
【0046】
マッピング部62は、下側のウインドウに、選択された両項目を表示する。例えば、対応する項目名として「SSN」を選択した場合には、図7に示すように、アイコンと共に項目名「SSN」を表示する。
【0047】
操作者は、対応付ける(マッピングする)場合には、「編集」ボタンを選択する。この選択により、図8に示すように、変換名(マッピング名)と説明(マッピング説明)を入力するためのウインドウが開く。操作者は、適当な名称を変換名として入力し、必要に応じてコメントを記入する。
この変換名は、既存システムの選択された項目のデータをスキーマテンプレートの選択された項目のデータに変換する際に、変換関数(変換プログラムモジュール)を呼び出すための一種の関数名である。なお、選択された項目名を変換名の候補として表示するようにしてもよい。
【0048】
(2−3) ここで、「OK」ボタンを選択すると、プログラム生成・編集部63が起動され、既存システムの選択された項目のデータをスキーマテンプレートの選択された項目のデータに変換するためのプログラム(ソース)コードを自動的に生成する。
このプログラムコードは、基本的には、既存システムの該当項目のデータをスキーマテンプレートの対応項目のデータに移動(strncpy)するためのコマンド列からなる。
プログラムコード生成・編集部63は、図9に示すように、生成したプログラムコードをウインドウ内に表示する。
このプログラムコードでよい場合は、操作者は、「OK」ボタンを操作する。この操作により、プログラムコードが変換名と共に格納される。
【0049】
ただし、例えば、既存システムで使用している「元号」又は「西暦」で表記されている「年」をスキーマテンプレートで使用している「西暦」又は「元号」で表された「年」に変換するような場合には、単純なstrncpyコマンドを使用できない。
そこで、このような場合には、図8の状態で、「編集」ボタンを操作する。このボタン操作により、プログラム生成・編集部63は、図9に示すような編集するための編集画面を表示する。操作者は、この編集画面上で、変換プログラムを作成し、「登録」ボタンを指示することにより登録する。
【0050】
また、例えば、既存システムで使用している「F」又は「M」で表記されている「性別」をスキーマテンプレートで使用している「0」又は「1」で表された「性別」に変換するような場合にも、単純なstrncpyコマンドを使用できない。
このような場合には、「F」→「0」、「M」→「1」というように対応関係を定義する。
プログラム生成・編集部63は、定義された対応関係に基づいて、既存システムで使用している「性別」のデータをスキーマテンプレートで使用している「性別」のデータに変換するためのプログラムを生成する。
【0051】
また、プログラムが編集された場合には、図9において、「文法」ボタンが指示されると、表示されたプログラム(モジュール)の文法(構文エラー)がチェックされる。即ち、「文法」ボタンが指示されると、文法チェック部64が起動され、文法チェック部64は、ウインドウ内に表示されたプログラム(ソースコード)の文法チェックを行い、その結果を表示する。
【0052】
このようにして、操作者は、既存システムで使用している全ての項目名をスキーマテンプレートで使用している項目に対応付け、その変換プログラム(ソースコード)を作成・登録する。
【0053】
以上の処理により、既存システムのデータをデータウエアハウス(DBスキーマテンプレート)に登録するための準備が完了する。
通常の設計方法では、変換プログラムを詳細にデバッグする必要があるが、このシステムでは、ほとんど自動的に変換される。また、コンパイルすることなく、プログラムの文法チェックが可能である。このため、デバックの負担は非常に小さい。
【0054】
(3) データウエアハウスの製造(既存システムのデータのデータウエアハウスへの移行)
次に、データウエアハウスの製造手順を図10のフローチャートを参照して説明する。
データウエアハウスに既存システムのデータを移行する場合、まず、任意のツールを用いてDBスキーマテンプレート上の項目を選択すること等により、データウエアハウス(データは未収納)を生成する(ステップS20)。
【0055】
次に、プログラム生成部63で生成された変換プログラムラムをコンパイルし、変換プログラムを実行することにより、ステップS21以下のデータ変換・設定処理を行う。
なお、既存システムのデータは、ファイルの形式で、予め、この変換システムに取り込んでおくこととする。
【0056】
先ず、データのデータ項目を取り込み(ステップS21)、そのデータ項目に対応付けられている変換名(マッピング名)を判別する(ステップS22)。
次に、判別した変換名に対応する変換プログラムモジュールを読み出す(ステップS23)。
【0057】
次に、順次データを読み出し(ステップS24)、ステップS23で読み出したプログラムモジュールを実行して、既存システムの各データをDBスキーマテンプレート上の対応する項目のデータに変換し、ステップS20で生成したデータウエアハウスに格納する(ステップS25)。次に、そのデータ項目のデータが終了したか否かを判別し(ステップS26)、終了していないと判断された場合には、ステップS24にリターンし、次のデータを読み出し、変換・格納処理を繰り返す。
【0058】
一方、ステップS26で、そのデータ項目についてデータの変換が終了したと判断された場合には、全てのデータ項目についてデータの変換・格納が終了したか否か判別され(ステップS27)、終了していない場合には、ステップS21にリターンし、次のデータ項目を読み込み、上述と同様の変換・格納動作を実行する。
【0059】
このようにして、既存システムについて全てのデータの変換が終了すると、ステップS20でDBスキーマテンプレートにより作成されたデータウエアハウスには、既存システムの全てのデータが格納される。
【0060】
(4) データウエアハウスの拡張
以上のようにして、ある既存システムについて、データのデータウエアハウスが完成した後、他の既存システムについて、データウエアハウスを生成することも容易に可能である。すなわち、ビジネスモデル及びそれに基づいたDBスキーマテンプレートは、ビジネスの業務内容を詳細に分析して、普遍的なものが作成されている。従って、他の既存システムについても、個々のデータは異なっていても業務内容自体は同一である。従って、上述と同様に、その既存システムについて、前述のデータ項目の対応付けを行い、変換プログラムを生成して、データを変換・格納することにより、データウエアハウスを作成することができる。
【0061】
このようにして、DBスキーマテンプレートから作成したデータウエアハウスに種々の既存システムのデータを変換・蓄積することにより,その後のデータの加工・利用を効率よく又は有効に行うことができる。すなわち、統一したビジネスモデルにより、情報が整理及び体系化されているので、その後の個別業務への応用が容易である。また、情報の追加も容易である。
また、統一したモデルであり、且つ、既存システムとデータウエアハウスとの対応関係が明確であるので、ノウハウの再利用が容易である。
【0062】
(5) プロジェクト管理
変換部6は、所定の操作により、変換元と変換先のデータ項目の対応関係を一覧にして出力(表示・印刷)し、又は、データベースの形式で保存・出力する。
さらに、このデータウエアハウスによれば、基本となるビジネスモデルが存在し、データ項目の意味内容がデータデクショナリにより明確に定義されており、変換元と変換先のデータ項目の対応関係が明確である。従って、プロジェクトの管理や、リバースエンジニアリングが容易である。
【0063】
また、このシステムによれば、ソーススキーマ(既存システムのDB項目)、ターゲットスキーマ(データウエアハウスのDB項目)、とを対応付け、ソースコードを自動的に作成している。従って、対応関係が変化した際には、ソースコードも変換する。従って、ソーススキーマ、ターゲットスキーマ、との相関関係を保った一元管理が可能となる。
【0064】
なお、この発明は、上記実施の形態に限定されず、種々の変形・応用が可能である。
例えば、上記実施の形態では、変換元のシステムのデータ項目とDBスキーマテンプレートのデータ項目とを、操作者がGUIを用いて個別に対応付けたが、ある程度自動化してもよい。
例えば、各データ項目を「項目名」と「データ形式」で構成しておき、「項目名」と「データ形式」とが互いに一致している場合には、変換元と変換先のデータ項目が互いに対応すると判断するようにしてもよい。
例えば、既存システムの項目名が「氏名」でデータ形式が「テキスト最大20文字」、DBスキーマテンプレートの項目名が「氏名」でデータ形式が「テキスト最大20文字」の場合には、両データ項目が互いに一致すると判断してもよい。同様に、既存システムの項目名が「年」でデータ形式が「YYMMDD」、DBスキーマテンプレートの項目名が「年」でデータ形式が「YYMMDD」の場合等にも、両データ項目が互いに一致すると判断してもよい。
【0065】
このようにして、自動的に対応付けを行った後、編集あるいは対応付けできなかったものについて個別に対応付けするようにしてもよい。
また、予め操作者が選択した複数の項目名について、自動的に対応付けするようにしてもよい。
【0066】
また、データの変換はプログラムによらず、外部変換テーブルに従っておこなってもよい。
この場合、例えば、図11に示すように変換元のシステムのデータ項目とDBスキーマテンプレートのデータ項目とを、操作者がGUIを用いて対応付けた際に、変換名を設定すると共に変換テーブルを設定する。例えば、図12では、「米ドル」は「USD」に変換される。
データを変換する際は、データ項目名から変換名を判別し、判別した変換名から変換テーブルを参照し、データを変換するようにしてもよい。
【0067】
このような構成とすれば、変換テーブルを変更するだけで、プログラム本体を操作することなく、データの変換内容を変更することができる。
例えば、変換テーブルの内容に「フラン:FRC」を追加するだけで、フランと「FRC]の変換に変更することができる。
また、変換プログラムや変換テーブルの内容自体を変更する代わりに、変換名を修正することにより、実行する変換プログラムや参照する変換テーブルを変更することにより、変換内容を変更することも可能である。
【0068】
なお、以上の説明では、データ変換用のソースコードを生成する迄のシステムと、生成されたソースコードをコンパイルして実際にデータを変換してデータウエアハウスに移行するシステムとを構成したが、これらを1つのシステムとしてもよい。
【0069】
なお、この発明のシステムは、専用のシステムとして構成することなく、通常のコンピュータシステムを用いて実現することができる。例えば、コンピュータシステムに上述の動作を実行するためのプログラムを格納した媒体(フロッピーディスク、CD−ROM等)からプログラムをインストールすることにより、上述の処理を実行するデータウエアハウス設計・生成システムを構築することができる。インストールによって、当該プログラムは、コンピュータシステム内のハードディスク等の媒体に格納されて、データウエアハウス設計・生成システムを構成し、実行に供される。
【0072】
【発明の効果】
以上説明したように、この発明によれば、比較的容易にデータウエアハウスを構築することができる。
また、構成されたデータウエアハウスの発展性を維持する事ができる。
【図面の簡単な説明】
【図1】この発明の実施の形態に係るデータウエアハウス設計・製造システムの構成を示すブロック図である。
【図2】ビジネスモデルの一例を示す図である。
【図3】データデクショナリの例を示す図である。
【図4】変換部の構成例を示すブロック図である。
【図5】図1に示すデータウエアハウス設計・製造システムの設計手順を示すフローチャートである。
【図6】図1のデータウエアハウス設計・製造システムにおけるデータ項目のマッピング時の表示画面の例を示す図である。
【図7】図1のデータウエアハウス設計・製造システムにおけるデータ項目のマッピング時の表示画面の例を示す図である。
【図8】図1のデータウエアハウス設計・製造システムにおけるデータ項目のマッピング時の表示画面の例を示す図である。
【図9】図1のデータウエアハウス設計・製造システムにおけるデータ項目のマッピング時の変換プログラム生成画面の例を示す図である。
【図10】データ変換動作を説明するためのフローチャートである。
【図11】データ変換テーブルの例を示す図である。
【符号の説明】
1 入力部
2 表示部
3 ビジネスモデル記憶・制御部
4 DBスキーマテンプレート記憶・制御部
5 データディクショナリ記憶・制御部
6 変換部
61 データ項目登録部
62 マッピング部
63 プログラム生成・編集部
64 文法チェック部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention is a data warehouse design that can reuse know-how.Equipment andData warehouse generation systemToRelated.
In addition, the present invention provides a data warehouse design that can easily configure a data warehouse.Equipment andData warehouse generation systemToRelated.
[0002]
[Prior art]
In the configuration of the computer system used in the conventional business, the contents and rules of the business are analyzed in detail, mainly focusing on the process, how to use the data, and how to store the data in the database. The system is configured to optimize for the business, including whether or not.
However, conventional system designs are also individually designed for similar systems of the same business type.
[0003]
[Problems to be solved by the invention]
For this reason, similar analysis, analysis, and design were repeated in various situations. However, it is basically a waste of labor to repeat similar designs in similar systems of the same industry. In particular, the analysis and analysis of the system must be performed by engineers with advanced expertise and capabilities. However, restraining these engineers was costly.
[0004]
Data warehouses are attracting attention as a method for efficiently designing systems. However, in order to build a data warehouse, it is necessary to develop a data warehouse and a mechanism for transferring and registering data there.
[0005]
However, with respect to the construction of a data warehouse, it is difficult to develop a product that can be developed as a data warehouse itself at a low cost in a short period of time.
In addition, the data transfer / registration part has conventionally been manually performed, and transfer / registration efficiency was low.
[0006]
The present invention has been made in view of the above situation, and can easily design and / or manufacture a system.Apparatus and systemThe purpose is to provide.
It is another object of the present invention to provide a data warehouse which can be developed by itself.
Another object of the present invention is to facilitate transfer and registration of data of an existing system to a data warehouse.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a system design apparatus according to a first aspect of the present invention includes:
Business model data that stores business model data that expresses the business content of the business using a plurality of normalized elements and the attribute and element relationship of each element for the business handled in the businessStorage means;
Business model data stored in the business model data storage meansOn the basis of theAccording to the data warehouse implementation formatDesigned,The attributes of the plurality of elements as itemsTemplate tapeTheModel to remembertableStorage means;
A userAccepts the input instruction ofDatabasesystemIs processing the dataData items and previousChickAssociating means for setting a correspondence relationship with the data items of the shape table;
According to the setting of the associating means, the existingDatabaseConversion information generating means for generating conversion information composed of a command sequence for moving data of each data item of the system to data of a corresponding data item of the template table group;
HaveIt is characterized by the following.
Data dictionary storage means for storing a data dictionary indicating the attributes of the business model data stored in the business model data storage means and the meanings of the data items of the template table, and stored in the data dictionary storage means Dictionary output means for outputting the meaning content for the user's confirmation may be further arranged.
[0008]
According to such a configuration, it is possible to surely associate the corresponding data items with each other while confirming the contents. In addition, since the conversion information is generated based on the association, there is little mistake in generating the conversion information, which contributes to accurate conversion.
[0009]
The conversion information generating means,SaidExistingDatabaseIn order to convert the data of the system into data suitable for the template table group, the operatorGenerated by the conversion information generating meansconversionEdit informationAnd a means for providing an editing screen for editing.
[0010]
Data input means for inputting data of an existing database system,SaidEntered by data input meansdataToAccording to the conversion information,PreviousWriting templatetableAnd convert the converted data to a data warehouse.StorageConversion meansWhenMay be further provided.
According to this configuration, the data conversion itself is performed by the conversion means, so that the data can be automatically and appropriately converted, and thus an appropriate data warehouse can be realized.
[0011]
The association means,For example,ExistingDatabaseSystem data items and previousChickDisplay means for displaying data items of the shape table;Respond to user input instructions,Existing display displayed by the display meansDatabaseSystem data items and previousChickSelecting means for selecting corresponding ones of the data items of the shape table. According to this configuration, the association can be visually made.
[0012]
The association means,Respond to user input instructions,ExistingDatabaseSystem data items and previousChickMeans for selecting ones corresponding to the data items of the shape table, wherein the conversion information generating means comprises:DatabasePrevious data of the selected data item in the systemChickMeans for generating a command sequence for moving to the data of the corresponding data item of the shape table, wherein the conversion means executes the command generated by the conversion information generation means to convert the data of the existing system. The template tapeToConvert to suitable data and convert to data warehouseStorageMay be configured.
According to this configuration, it is easy to associate the data items with each other, and further, a program is generated based on the association, and the data is converted and transferred by executing the program. Therefore, data conversion is reliably performed. In addition, since the conversion program is automatically generated by associating the two data items, the data items on the source side and the target side, the association (mapping rule), and the program can be centrally managed while maintaining the correlation. .
[0013]
The association means,Respond to user input instructions,ExistingDatabaseMeans for selecting corresponding ones of the data items of the system and the data items of the template table of the template database group,
The conversion information generating means,Respond to user input instructions,The existingDatabasePrevious data of the selected data item in the systemChickMeans for selecting a conversion table for converting to data of a corresponding data item of the shape table,
The conversion unit is configured to select the conversion table.According to the conversion information set inExistingDatabaseSystem data is stored in the template tableToConvert to suitable data and convert to data warehouseStoreMay be configured as follows.
According to this configuration, it is easy to associate the data items with each other, and further, a table is selected based on the association, and the data is converted and transferred according to the table. Therefore, data conversion is reliably performed. In addition, since a table is selected by associating both data items, data items on the source side and target side, association (mapping rule), and table can be centrally managed while maintaining a correlation.
[0014]
In order to achieve the above object, a data warehouse design system according to a second aspect of the present invention comprises:
The business handled in the business is designed in advance according to the data warehouse implementation format based on the business model data that expresses the business content of the business using the normalized plurality of elements and the attribute and element relationship of each element. A template table storage means for storing a template table having attributes of the plurality of elements as items;
Associating means for associating data items of the existing database system with data items of the template table according to a user's input instruction;
Conversion information generating means for generating conversion information for converting data of the existing database system into data adapted to the template table, according to the association of the association means,
It is characterized by having.
[0015]
A means for inputting data of the existing database system and converting the input data of the existing database system into data adapted to the template table according to the conversion information may be further arranged.
[0016]
SaidTemplateTabeLeDefinition of semantic contents of data itemsAnd a definition of the meaning content stored according to the user's input instruction.Means for displaying, saidTemplateTabeLeRelationship of each data itemMeans for storing information indicating the relationship, and information relating to the association stored in accordance with a user's input instruction.Means to displayAndIt may be further arranged.
[0018]
The information processing apparatus may further include at least one of a unit that displays a definition of the meaning of the data item of the table group and a unit that displays a relation between the data items of the table group.
By arranging these means, it is possible to prevent an error in the correspondence. For example, the item names of the source system are not fixed, and the same item names are often used in completely different situations depending on the creator. Positioning can be reliably determined, and appropriate item names can be associated with each other.
[0020]
The above-described system and method may be realized by storing and distributing a program that causes a computer to realize these functions and execute these steps in a storage medium and execute the program on the computer.
[0021]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0022]
First, a data warehouse according to a first embodiment of the present invention will be described with reference to FIGS.
FIG. 1 shows a configuration of a data warehouse design / manufacturing system according to a first embodiment of the present invention.
This system is a system for converting data of an existing system into a data warehouse. As shown in FIG. 1, an input unit 1, a display unit 2, a business model storage / control unit 3, a DB (database) A) a schema template storage / control unit 4, a data dictionary storage / control unit 5, and a conversion unit 6.
[0023]
The input unit 1 includes a keyboard, a mouse, and the like, and inputs data, a business model, a DB schema template, instructions, and the like.
The display unit 2 includes a CRT, an LCD, and the like, and displays an input screen for inputting data and instructions, input data, and the like.
[0024]
The business model storage / control unit 3 stores the business model and displays the stored business model on the display unit 2.
This business model analyzes various businesses in detail, and conceptually organizes the elements (objects such as entities and classes) and their attributes related to the business to be modeled according to the object-oriented methodology. And further expresses the relationship between the respective elements (objects).
In other words, the business model itself is a model of universal elements handled in the business.
[0025]
FIG. 2 shows an example of a business model. However, FIG. 2 is an extremely simplified example for easy understanding. In FIG. 2, each block (box) represents a class, and represents a minimum unit of an item constituting a task. The relationship between the classes is represented by the cardinality (multiplicity) connecting the classes and the description given to the line. The data attributes and procedures of each class are described in each class.
[0026]
The DB schema template storage / control unit 4 stores a template database group (that is, a schema template) in which a business model is projected onto the real world.
In the database group of this model, each attribute of the business model stored in the business model storage / control unit 3 is used as an item (entity) of the database, and a pure logical model is considered in consideration of systematic processing efficiency and the like. It is integrated.
This database group follows the data warehouse database implementation format, and a database is created based on the database, and the data of the existing system is converted and inserted into the database, thereby becoming a data warehouse database.
[0027]
The data dictionary storage / control unit 5 stores a data dictionary in which each attribute of the business model and the semantic contents of the items of the DB schema template are expressed without ambiguity, and any items of the stored dictionary are stored. Is displayed on the display unit 2. This business dictionary uses synonyms, guarantees uniqueness of items, and uses clear and precise expressions to eliminate ambiguity.
[0028]
FIG. 3 shows an example of the data dictionary. According to FIG. 3, for example, the “contract date” is a “date on which a contract operation was performed”, and it can be clearly understood that the format is “8 digits of the Christian era”.
[0029]
The conversion unit 6 receives data of an existing system and converts the data into data conforming to a schema template. As shown in FIG. 4, a data item registration unit 61 for registering data items of the existing system, A mapping unit 62 for performing a process for associating the data items of the system with the data items of the schema template, and a program generation / editing for automatically generating a program for converting the data item associated by the user And a grammar checker 64 for checking the grammar of the program generated by the program generator / editor 63.
The system itself does not have a function of executing the program generated and edited by the program generating / editing unit 63, and compiles and executes the program on another machine to generate a data warehouse.
[0030]
Next, the data warehouse design / manufacturing system with this configurationBody structureThe construction method will be described with reference to the flowchart of FIG.
[0031]
First, the business is specified (step S11), the contents of the business are analyzed and analyzed (step S12), and the elements and their attributes related to the business are conceptually arranged as illustrated in FIG. Create a business model that is normalized (optimized) so as not to overlap (step S13). A business model is desirably designed one for one business. For example, in the business of finance, etc., there are various kinds of business such as accounting business, international business, securities business, yen fund business, external information business, etc. Then, one business model (meta model) is designed as a whole.
[0032]
Next, a template database group is designed using the data items of the designed business model as data items (step S14). In this database group, each attribute of the business model is used as a database item (entity), the pure logical model is divided into multiple tables in consideration of systematic processing efficiency, and the combination of items is also selected. I do.
[0033]
Further, for each of the data entities (data items) of the designed business model, as shown in FIG. 4, a data dictionary for clarifying the meaning is created (step S15).
[0034]
The created business model, database group, and data dictionary are respectively registered in the system (step S16), and the conversion unit 6 is further registered, whereby the system shown in FIG. 1 is configured (step S17). .
[0035]
In the case of an existing business, a business model that has already been set is selected (step S13 ′), a DB schema template that has already been set is selected (step S14 ′), and the selected business model is selected. By registering the DB schema template and the DB schema template in the system (step S16), it is possible to cope with this.
[0036]
Next, a procedure (method) of data warehouse design using the data warehouse design / manufacturing system thus configured will be described with reference to FIGS. Normal system design is performed in the order of "Survey" → "Design" → "Manufacture" → "Test". Hereinafter, the procedure will be sequentially described.
[0037]
(1) Process from investigation to design
In the case of using this data warehouse design / manufacturing system, it is not necessary to carry out the usual investigation and design process individually since a generalized version is prepared in advance as a business rule and template database group.
[0038]
(2) Process from design to manufacturing
(2-1) The operator operates the input unit 1 to activate the data item registration unit 61, and registers data items of the existing system to be converted into a data warehouse.
The data items are registered in a hierarchical structure so that the relation between the directory name, the table name, the data item, and the like can be understood.
The registration may be performed manually or by reading and inputting directory information of data of an existing system.
[0039]
(2-2) The operator operates the input unit 1 to activate the mapping unit 62 of the registration unit 6. As shown in FIG. 6, the mapping unit 62 displays a list of data items of the existing system (input module) in the left window and a list of data items on the DB schema template (output module) in the right window. .
[0040]
Using a GUI (graphical user interface), the operator double-clicks the data items hierarchically displayed in the left window on the existing screen and the data items hierarchically listed in the right window, for example, with a mouse. By doing so, it is selected and associated (mapped).
[0041]
Terms used in existing systems are set individually for each system and are not fixed. Therefore, in order to accurately determine the correspondence, the operator refers to the business model and / or the data dictionary by right-clicking the mouse and selecting an appropriate icon as necessary.
[0042]
For example, when the icon for displaying the business model is clicked, the registration unit 6 or another appropriate tool is activated, and the business model is displayed in an appropriate window. An operator may be able to refer to a necessary part of a business model displayed using a normal scroll technology or the like provided in an OS (Operating System).
[0043]
When the DB schema schema template display icon is clicked, the registration unit 6 activates the data dictionary storage / control unit 5, and the data dictionary storage / control unit 5 displays the data dictionary in the window. The operator can confirm the meaning and content of the desired data item using a normal search function or the like.
[0044]
In this way, the operator determines the relationship between the position of each item of the DB schema template and other entities, further clearly determines the meaning, and determines the item name of the existing system and the item of the DB schema template. To determine the correspondence.
[0045]
Based on the determination, the operator uses a GUI (Graphical User Interface) to display corresponding items of the data items hierarchically listed in the left window of the screen and the data items hierarchically listed in the right window. select.
[0046]
The mapping unit 62 displays both selected items in the lower window. For example, when "SSN" is selected as the corresponding item name, the item name "SSN" is displayed together with the icon as shown in FIG.
[0047]
When associating (mapping), the operator selects the “edit” button. This selection opens a window for inputting a conversion name (mapping name) and a description (mapping description), as shown in FIG. The operator inputs an appropriate name as the conversion name, and enters a comment as necessary.
This conversion name is a kind of function name for calling a conversion function (conversion program module) when converting the data of the selected item of the existing system into the data of the selected item of the schema template. Note that the selected item name may be displayed as a conversion name candidate.
[0048]
(2-3) Here, when the “OK” button is selected, the program generation / editing unit 63 is activated, and converts the data of the selected item of the existing system into the data of the selected item of the schema template. Automatically generate program (source) code.
This program code basically consists of a command sequence for moving (strncpy) the data of the corresponding item of the existing system to the data of the corresponding item of the schema template.
The program code generation / editing unit 63 displays the generated program code in a window as shown in FIG.
If this program code is sufficient, the operator operates the “OK” button. By this operation, the program code is stored together with the conversion name.
[0049]
However, for example, "year" expressed in "year" or "era" used in schema template is "year" expressed in "era" or "year" used in existing system In such a case, a simple strncpy command cannot be used.
Therefore, in such a case, the "edit" button is operated in the state of FIG. With this button operation, the program generating / editing unit 63 displays an editing screen for editing as shown in FIG. The operator creates a conversion program on this editing screen and registers it by instructing a “register” button.
[0050]
In addition, for example, “sex” represented by “F” or “M” used in the existing system is converted into “sex” represented by “0” or “1” used in the schema template. In such a case, a simple strncpy command cannot be used.
In such a case, the correspondence is defined as “F” → “0”, “M” → “1”.
The program generating / editing unit 63 generates a program for converting “gender” data used in the existing system into “gender” data used in the schema template, based on the defined correspondence. I do.
[0051]
If the "grammar" button is designated in FIG. 9 when the program is edited, the grammar (syntax error) of the displayed program (module) is checked. That is, when the "grammar" button is instructed, the grammar check unit 64 is activated, and the grammar check unit 64 checks the grammar of the program (source code) displayed in the window and displays the result.
[0052]
In this way, the operator associates all the item names used in the existing system with the items used in the schema template, and creates and registers the conversion program (source code).
[0053]
With the above processing, the preparation for registering the data of the existing system in the data warehouse (DB schema template) is completed.
The usual design method requires detailed debugging of the conversion program, but this system converts it almost automatically. Also, it is possible to check the grammar of the program without compiling. Therefore, the burden of debugging is very small.
[0054]
(3) Manufacture of data warehouse (migration of existing system data to data warehouse)
Next, the data warehouse manufacturing procedure is illustrated.10This will be described with reference to the flowchart of FIG.
When migrating the data of the existing system to the data warehouse, first, a data warehouse (data is not stored) is generated by selecting an item on the DB schema template using an arbitrary tool (step S20). .
[0055]
Next, by compiling the conversion program generated by the program generation unit 63 and executing the conversion program, the data conversion / setting processing of step S21 and subsequent steps is performed.
It should be noted that the data of the existing system is taken in advance in this conversion system in the form of a file.
[0056]
First, a data item of data is fetched (step S21), and a conversion name (mapping name) associated with the data item is determined (step S22).
Next, the conversion program module corresponding to the determined conversion name is read (step S23).
[0057]
Next, the data is sequentially read out (step S24), and the program module read out in step S23 is executed to convert each data of the existing system into the data of the corresponding item on the DB schema template, and the data generated in step S20 It is stored in the warehouse (step S25). Next, it is determined whether or not the data of the data item has been completed (step S26). If it is determined that the data has not been completed, the process returns to step S24 to read the next data and perform the conversion / storage processing. repeat.
[0058]
On the other hand, if it is determined in step S26 that the data conversion has been completed for the data item, it is determined whether the data conversion / storage has been completed for all the data items (step S27), and the process is completed. If not, the process returns to step S21, reads the next data item, and executes the same conversion and storage operation as described above.
[0059]
When the conversion of all data for the existing system is completed in this way, all data of the existing system is stored in the data warehouse created by the DB schema template in step S20.
[0060]
(4) Expansion of data warehouse
As described above, after a data warehouse for data is completed for a certain existing system, a data warehouse for another existing system can be easily generated. In other words, a business model and a DB schema template based on the business model are analyzed in detail, and a universal one is created. Therefore, the business content itself is the same even for other existing systems, although the individual data is different. Therefore, as described above, a data warehouse can be created by associating the data items with the existing system, generating a conversion program, and converting and storing the data.
[0061]
In this way, by converting and storing data of various existing systems in the data warehouse created from the DB schema template, the subsequent processing and use of the data can be performed efficiently or effectively. That is, since the information is organized and systematized by the unified business model, it is easy to apply to subsequent individual tasks. Also, it is easy to add information.
Also, since the model is unified and the correspondence between the existing system and the data warehouse is clear, the know-how can be easily reused.
[0062]
(5) Project management
The conversion unit 6 outputs (displays and prints) a list of correspondences between the data items of the conversion source and the conversion destination by a predetermined operation, or saves and outputs the data items in a database format.
Furthermore, according to this data warehouse, there is a basic business model, the meaning of the data items is clearly defined by the data dictionary, and the correspondence between the source and destination data items is clear. It is. Therefore, project management and reverse engineering are easy.
[0063]
Further, according to this system, the source schema (DB item of the existing system) and the target schema (DB item of the data warehouse) are associated with each other, and the source code is automatically created. Therefore, when the correspondence changes, the source code is also converted. Therefore, it is possible to perform centralized management while maintaining a correlation with the source schema and the target schema.
[0064]
The present invention is not limited to the above embodiment, and various modifications and applications are possible.
For example, in the above embodiment, the data item of the conversion source system and the data item of the DB schema template are individually associated by the operator using the GUI, but may be automated to some extent.
For example, each data item is composed of “item name” and “data format”, and when “item name” and “data format” match each other, the data items of the conversion source and the conversion destination are It may be determined that they correspond to each other.
For example, if the item name of the existing system is “name” and the data format is “maximum text 20 characters”, and the item name of the DB schema template is “name” and the data format is “maximum text 20 characters”, both data items May be determined to match each other. Similarly, when the item name of the existing system is “Year” and the data format is “YYMMDD”, the item name of the DB schema template is “Year” and the data format is “YYMMDD”, etc. You may decide.
[0065]
In this way, after automatically associating, those that could not be edited or associated may be individually associated.
Also, a plurality of item names selected by the operator in advance may be automatically associated.
[0066]
Further, data conversion may be performed according to an external conversion table instead of a program.
In this case, for example,11When the operator associates the data items of the conversion source system with the data items of the DB schema template by using the GUI as shown in (1), a conversion name is set and a conversion table is set. For example, in FIG. 12, “USD” is converted to “USD”.
When converting the data, the conversion name may be determined from the data item name, and the conversion table may be referred to based on the determined conversion name to convert the data.
[0067]
With such a configuration, it is possible to change the data conversion contents only by changing the conversion table without operating the program body.
For example, by simply adding “Fran: FRC” to the contents of the conversion table, the conversion can be changed to the conversion between franc and “FRC”.
Further, instead of changing the contents of the conversion program or the conversion table itself, it is also possible to change the conversion contents by modifying the conversion name and changing the conversion program to be executed or the conversion table to be referred to.
[0068]
In the above description, the system for generating the source code for data conversion and the system for compiling the generated source code, actually converting the data, and transferring the data to the data warehouse are configured. These may be one system.
[0069]
It should be noted that the system of the present invention can be realized by using a normal computer system without configuring as a dedicated system. For example, a data warehouse design / generation system that executes the above-described processing is constructed by installing the program from a medium (a floppy disk, a CD-ROM, or the like) storing the program for executing the above-described operation in a computer system. can do. By installation, the program is stored on a medium such as a hard disk in the computer system, and the data warehouse design / generation system is stored.ConfigureAnd run it.
[0072]
【The invention's effect】
As described above, according to the present invention, a data warehouse can be constructed relatively easily.
In addition, the developed data warehouse can maintain its development potential.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a data warehouse design / manufacturing system according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating an example of a business model.
FIG. 3 is a diagram illustrating an example of a data dictionary.
FIG. 4 is a block diagram illustrating a configuration example of a conversion unit.
FIG. 5 is a flowchart showing a design procedure of the data warehouse design / manufacturing system shown in FIG. 1;
FIG. 6 is a diagram showing an example of a display screen when mapping data items in the data warehouse design / manufacturing system of FIG. 1;
FIG. 7 is a diagram showing an example of a display screen when mapping data items in the data warehouse design / manufacturing system of FIG. 1;
8 is a diagram showing an example of a display screen when mapping data items in the data warehouse design / manufacturing system of FIG. 1;
FIG. 9 is a diagram showing an example of a conversion program generation screen when mapping data items in the data warehouse design / manufacturing system of FIG. 1;
FIG. 10 is a flowchart illustrating a data conversion operation.
FIG. 11 is a diagram illustrating an example of a data conversion table.
[Explanation of symbols]
1 Input section
2 Display
3 Business model storage and control unit
4 DB schema template storage and control unit
5 Data dictionary storage and control unit
6 Conversion unit
61 Data item registration section
62 Mapping section
63 Program Creation / Editing Department
64 Grammar Check Department

Claims (12)

ビジネスで取り扱う業務について、正規化された複数の要素と各要素の属性及び要素の関係を使用して前記業務の業務内容を表現するビジネスモデルデータを記憶するビジネスモデルデータ記憶手段と、
前記ビジネスモデルデータ記憶手段に記憶されたビジネスモデルデータに基づいて、データウエアハウス実装形式に従って設計され、前記複数の要素の属性を項目とする雛形テーブルを記憶する雛形テーブル記憶手段と、
ユーザの入力指示を受け付けて、該入力指示に従って、既存のデータベースシステムが処理しているデータのデータ項目と前記雛形テーブルのデータ項目との対応関係を設定する対応付手段と、
前記対応付手段の設定に従って、前記対応付手段によって対応付けられた既存のデータベースシステムの各データ項目のデータを前記雛形テーブル群の対応するデータ項目のデータに移動するためのコマンド列から構成される変換情報を生成する変換情報生成手段と、
を備えることを特徴とするシステム設計装置。
A business model data storage unit for storing business model data expressing the business contents of the business using a plurality of normalized elements and the relationship between the attributes and the elements of each element ,
On the basis of the business model data stored in the business model data storing means, designed in accordance with the data warehouse implementation form, the model table storage means for storing a model table to item attribute of the plurality of elements,
Receives an input instruction of the user, in accordance with input instructions, and associating means for setting the correspondence between the data item and the previous Kihiyoko shaped table data items of the data existing database system is processing,
According to the setting of the associating means, it is composed of a command sequence for moving the data of each data item of the existing database system associated with the associating means to the data of the corresponding data item of the template table group. Conversion information generating means for generating conversion information;
System design apparatus comprising: a.
前記ビジネスモデルデータ記憶手段に記憶されているビジネスモデルデータの属性と前記雛形テーブルのデータ項目の意味内容を示したデータディクショナリを記憶するデータディクショナリ記憶手段と、A data dictionary storage means for storing a data dictionary indicating the attributes of the business model data stored in the business model data storage means and the meaning of the data items of the template table;
前記データディクショナリ記憶手段に記憶されている意味内容を、ユーザの確認用に出力するディクショナリ出力手段と、  Dictionary output means for outputting the meaning content stored in the data dictionary storage means for user confirmation,
をさらに備えることを特徴とする請求項1に記載のシステム設計装置。  The system design apparatus according to claim 1, further comprising:
前記変換情報生成手段は、前記既存のデータベースシステムのデータを前記雛形テーブル群に適合したデータに変換するために、操作者が前記変換情報生成手段が生成した変換情報を編集するための編集画面を提供する手段をさらに備えることを特徴とする請求項1に記載のシステム設計装置。The conversion information generating means for converting the data of the existing database systems to data suitable for the template table group, an editing screen for editing the conversion information the operator has generated the conversion information generating means The system design apparatus according to claim 1, further comprising a providing unit. 既存のデータベースシステムのデータを入力するデータ入力手段と、
前記データ入力手段により入力されたデータを、前記変換情報に従って、前記雛形テーブルに適合するデータに変換し、変換したデータをデータウエアハウスに格納する変換手段、
をさらに備えことを特徴とする請求項1、2又は3に記載のシステム設計装置。
Data input means for inputting data of an existing database system,
Wherein the input data by the data input means, in accordance with the conversion information, into a compatible data before SL model table, converting means for storing the converted data in the data warehouse,
System design apparatus according to claim 1, 2 or 3, characterized in that Ru further comprising a.
前記対応付手段は、
既存のデータベースシステムのデータ項目と前記雛形テーブルのデータ項目とを表示する表示手段と、
ユーザの入力指示に応答し、前記表示手段により表示された既存のデータベースシステムのデータ項目と前記雛形テーブルのデータ項目との対応するもの同士を選択する選択手段と、
から構成されることを特徴とする請求項1、2、3又は4に記載のシステム設計装置。
The association means,
Display means for displaying the data items of a data item and previous Kihiyoko shaped table of existing database systems,
Selecting means for responding to a user's input instruction, selecting between corresponding ones of the data items and data items before Kihiyoko shaped table of an existing database system that is displayed by the display means,
The system design apparatus according to claim 1 , wherein the system design apparatus comprises:
前記対応付手段は、ユーザの入力指示に応答し、既存のデータベースシステムのデータ項目と前記雛形テーブルのデータ項目との対応するもの同士を選択する手段を備え、
前記変換情報生成手段は、前記既存のデータベースシステムの選択されたデータ項目のデータを前記雛形テーブルの対応するデータ項目のデータに移動するためのコマンド列を生成する手段を備え、
前記変換手段は、前記変換情報生成手段により生成されたコマンドを実行することにより、既存のシステムのデータを前記雛形テーブルに適合したデータに変換し、データウエアハウスに格納する
ことを特徴とする請求項に記載のシステム設計装置。
The associating means is responsive to an input instruction of the user, comprising a means for selecting between a corresponding one of the data items and data items before Kihiyoko shaped table of existing database systems,
The conversion information generating means comprises means for generating a command sequence for moving the data of the corresponding data items in the existing database system of the selected data item of the data pre Kihiyoko shaped table,
And the converting means, by executing a command generated by the conversion information generation unit, converts the data from the existing system to data suitable for the template table, and stores the data warehouse,
The system design apparatus according to claim 4 , wherein:
前記対応付手段は、ユーザの入力指示に応答し、既存のデータベースシステムのデータ項目と前記雛形テーブルのデータ項目との対応するもの同士を選択する手段を備え、
前記変換情報生成手段は、ユーザの入力指示に応答し、前記既存のデータベースシステムの選択されたデータ項目のデータを前記雛形テーブルの対応するデータ項目のデータに変換するための変換テーブルを選択する手段を備え、
前記変換手段は、選択された前記変換テーブルに設定されている変換情報に従って、既存のデータベースシステムのデータを前記雛形テーブルに適合したデータに変換し、データウエアハウスに格納する
ことを特徴とする請求項に記載のシステム設計装置。
The associating means is responsive to an input instruction of the user, comprising a means for selecting between a corresponding one of the data items and data items before Kihiyoko shaped table of existing database systems,
The conversion information generating means selects a conversion table for converting in response to an input instruction of the user, data in the corresponding data item of the data of the selected data item of the existing database systems prior Kihiyoko type table With means to
And the converting means, according to the conversion information set in the conversion table selected, converts the data in the existing database system data suitable for the template table, and stores the data warehouse,
The system design apparatus according to claim 4 , wherein:
ビジネスで取り扱う業務について、正規化された複数の要素と各要素の属性及び要素の関係を使用して前記業務の業務内容を表現するビジネスモデルデータに基づいて、データウエアハウス実装形式に従ってあらかじめ設計され、前記複数の要素の属性を項目とする雛形テーブルを記憶する雛形テーブル記憶手段と、
ユーザの入力指示に従って、既存データベースシステムのデータ項目と前記雛形テーブルのデータ項目とを対応付ける対応付手段と、
前記対応付手段の対応付に従って、前記既存データベースシステムのデータを前記雛形テーブルに適合したデータに変換するための変換情報を生成する変換情報生成手段と、
を備えることを特徴とするデータウエアハウス設計システム。
The business handled in the business is designed in advance according to the data warehouse implementation format based on the business model data that expresses the business content of the business using the normalized plurality of elements and the attribute and element relationship of each element. A template table storage means for storing a template table having attributes of the plurality of elements as items;
Associating means for associating data items of the existing database system with data items of the template table according to a user's input instruction;
Conversion information generating means for generating conversion information for converting data of the existing database system into data adapted to the template table, according to the association of the association means,
A data warehouse design system comprising:
前記既存データベースシステムのデータを入力し、前記変換情報に従って、入力された前記既存データベースシステムのデータを前記雛形テーブルに適合したデータに変換する手段を更に含む、ことを特徴とする請求項に記載のデータウエアハウス設計システム。 9. The apparatus according to claim 8 , further comprising means for inputting data of the existing database system and converting the input data of the existing database system into data adapted to the template table according to the conversion information. Data warehouse design system. 前記対応付手段は、前記既存データベースシステムのデータ項目と前記雛形テーブルのデータ項目とを表示する手段と、ユーザの入力指示に従って、表示されているデータ項目の中から対応するもの同士を選択する手段と、を備えることを特徴とする請求項又はに記載のデータウエアハウス設計システム。It said associating means includes means for displaying the data items and data items of the template tables of the existing database system, prompt the user to select a between corresponding ones among the data items displayed The data warehouse design system according to claim 8 or 9 , further comprising: 前記雛形テーブルのデータ項目の意味内容の定義を記憶する手段と、ユーザの入力指示に従って記憶している意味内容に関する定義を表示する手段と、前記雛形テーブルの各データ項目の関連を示す情報を記憶する手段と、ユーザの入力指示に従って記憶している関連に関する情報を表示する手段と、をさらに備えることを特徴とする請求項8、9又は10に記載のデータウエアハウス設計システム。 Information indicating means for storing the definition of the meaning of the data items of the template table, means for displaying the definition of semantic content stored prompt the user, the association of each data item of the template table 11. The data warehouse design system according to claim 8 , further comprising: a unit configured to store the information, and a unit configured to display information related to the association stored according to a user's input instruction . 12. 記憶装置を備えるコンピュータを、
ビジネスで取り扱う業務について、正規化された複数の要素と各要素の属性及び要素の関係を使用して前記業務の業務内容を表現するビジネスモデルデータを記憶するビジネスモデルデータ記憶手段と、
前記ビジネスモデルデータ記憶手段に記憶されたビジネスモデルデータに基づいて、データウエアハウス実装形式に従って設計され、前記複数の要素の属性を項目とする雛形テーブルを記憶する雛形テーブル記憶手段と、
ユーザの入力指示を受け付けて、該入力指示に従って、既存のデータベースシステムが処理しているデータのデータ項目と前記雛形テーブルのデータ項目との対応関係を設定する対応付手段と、
前記対応付手段の設定に従って、前記対応付手段によって対応付けられた既存のデータベースシステムの各データ項目のデータを前記雛形テーブル群の対応するデータ項目のデータに移動するためのコマンド列から構成される変換情報を生成する変換情報生成手段、
として機能させる為のプログラムを格納した機械読み取り可能な記録媒体。
A computer with a storage device ,
A business model data storage unit for storing business model data expressing the business contents of the business using a plurality of normalized elements and the relationship between the attributes and the elements of each element ,
Based on the business model data stored in the business model data storage unit, a template table storage unit that stores a template table that is designed according to a data warehouse implementation format and stores the attributes of the plurality of elements as items.
Receives an input instruction of the user, in accordance with input instructions, and associating means for setting the correspondence between the data item and the previous Kihiyoko shaped table data items of the data existing database system is processing,
According to the setting of the associating means, it is composed of a command sequence for moving the data of each data item of the existing database system associated with the associating means to the data of the corresponding data item of the template table group. Conversion information generating means for generating conversion information,
A machine-readable recording medium that stores a program for functioning as a computer.
JP19790997A 1997-07-08 1997-07-08 System design equipment and data warehouse design system Expired - Lifetime JP3577400B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19790997A JP3577400B2 (en) 1997-07-08 1997-07-08 System design equipment and data warehouse design system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19790997A JP3577400B2 (en) 1997-07-08 1997-07-08 System design equipment and data warehouse design system

Publications (2)

Publication Number Publication Date
JPH1125126A JPH1125126A (en) 1999-01-29
JP3577400B2 true JP3577400B2 (en) 2004-10-13

Family

ID=16382299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19790997A Expired - Lifetime JP3577400B2 (en) 1997-07-08 1997-07-08 System design equipment and data warehouse design system

Country Status (1)

Country Link
JP (1) JP3577400B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010011836A (en) * 1999-07-30 2001-02-15 정선종 Method of analyzing OLTP data sources using mart mapping technique
US6510420B1 (en) 1999-09-30 2003-01-21 International Business Machines Corporation Framework for dynamic hierarchical grouping and calculation based on multidimensional member characteristics
US7493391B2 (en) 2001-02-12 2009-02-17 International Business Machines Corporation System for automated session resource clean-up by determining whether server resources have been held by client longer than preset thresholds
JP2004246755A (en) * 2003-02-17 2004-09-02 Dainippon Printing Co Ltd Design device for database system
JP2005275831A (en) * 2004-03-25 2005-10-06 Hitachi Ltd Information retrieval system
US20060116922A1 (en) * 2004-11-29 2006-06-01 Microsoft Corporation Efficient and flexible business modeling based upon structured business capabilities
JP4675635B2 (en) * 2005-02-04 2011-04-27 三菱電機株式会社 Command conversion program development method and development apparatus for home appliance adapter
JP5033322B2 (en) * 2005-11-10 2012-09-26 株式会社日立製作所 Information management method and apparatus using connection relation information
DE102006021541A1 (en) * 2006-05-08 2007-11-15 Abb Technology Ag System and method for the automated generation, management and documentation of device assemblies
US20090049064A1 (en) * 2007-08-15 2009-02-19 Lori Alquier Data and application model for configurable tracking and reporting system
JP5601066B2 (en) 2010-07-23 2014-10-08 富士通株式会社 Information integration program, apparatus and method
JP2013142971A (en) * 2012-01-10 2013-07-22 Sumitomo Heavy Ind Ltd Device and method for processing program
CN103927353A (en) * 2014-04-10 2014-07-16 北京网秦天下科技有限公司 Method and device for generating service tables

Also Published As

Publication number Publication date
JPH1125126A (en) 1999-01-29

Similar Documents

Publication Publication Date Title
US10831449B2 (en) Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language
JP6753596B2 (en) Processes and systems that automatically generate functional architecture documents and software design / analysis specifications in natural language
US6098061A (en) Computer system for interactive help using human-understandable knowledge and computer-understandable knowledge
US6571247B1 (en) Object oriented technology analysis and design supporting method
US5898872A (en) Software reconfiguration engine
US6944514B1 (en) Innovation information management model
US6219831B1 (en) Device and method for converting computer programming languages
Kurz et al. Leveraging CMMN for ACM: examining the applicability of a new OMG standard for adaptive case management
US20080263443A1 (en) Method and System for Editing Text with a Find and Replace Function Leveraging Derivations of the Find and Replace Input
JP2000148814A (en) Component part data management system and computer readable storage medium with component part data management program stored therein
WO2012051389A1 (en) Method and system for developing data integration applications with reusable semantic types to represent and process application data
JP3577400B2 (en) System design equipment and data warehouse design system
CN102736915A (en) Automatic program generation device, method, and computer program
Krogstie Capturing enterprise data integration challenges using a semiotic data quality framework
JPH10254689A (en) Application constitution design supporting system for client/server system
Halpin et al. Database modeling with Microsoft® Visio for enterprise architects
Abrams et al. Architectural thinking and modeling with the Architects' Workbench
US6453318B1 (en) Control apparatus of structured information and method of controlling the information
US20120084224A1 (en) Automatically created report generator for managing information technology service projects
EP3977261A1 (en) Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language
WO2001008007A1 (en) Method and system of automated generation of program code from an object oriented model
US8839097B2 (en) System and method for information encapsulation for providing multiple deliverable formats from one information source
JP3345522B2 (en) Program development support device using data item parts
JP2007094453A (en) Program development support system, program development support method and program
JP5153718B2 (en) Information management apparatus and method, and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040712

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term