[go: up one dir, main page]

JPH11212988A - Multidimensional database hierarchical classification axis automatic generation system, classification item analysis method, and recording medium storing this program - Google Patents

Multidimensional database hierarchical classification axis automatic generation system, classification item analysis method, and recording medium storing this program

Info

Publication number
JPH11212988A
JPH11212988A JP10010995A JP1099598A JPH11212988A JP H11212988 A JPH11212988 A JP H11212988A JP 10010995 A JP10010995 A JP 10010995A JP 1099598 A JP1099598 A JP 1099598A JP H11212988 A JPH11212988 A JP H11212988A
Authority
JP
Japan
Prior art keywords
classification
item
axis
classification item
items
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.)
Granted
Application number
JP10010995A
Other languages
Japanese (ja)
Other versions
JP3431482B2 (en
Inventor
Kenji Yoshida
顕治 吉田
Hiroko Fukuda
浩子 福田
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.)
Hitachi Systems Ltd
Original Assignee
Hitachi Information Systems 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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP01099598A priority Critical patent/JP3431482B2/en
Publication of JPH11212988A publication Critical patent/JPH11212988A/en
Application granted granted Critical
Publication of JP3431482B2 publication Critical patent/JP3431482B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】分類軸及び分類軸の分類項目の階層構造を自動
的に生成し、多次元データベースの構築に際して作業効
率を向上する。 【解決手段】リレーショナル・データベース11の多次
元データベースから分類項目情報13を入力手段12で
取り込み、取り込んだ分類項目情報13を分類項目解析
手段14に渡し、分類項目解析手段14は分類項目情報
の分類項目間の関係を解析して、それを基に分類軸階層
情報を分類軸生成手段15に渡す。分類軸生成手段15
は、これを基に分類軸及び分類項目の階層構造を生成す
る。このように、データに対する視点となる分類軸の作
成過程において、分類軸を構成するデータの関係から階
層型の分類軸の階層構造を自動的に生成することができ
る。
(57) [Summary] [Problem] To automatically generate a hierarchical structure of a classification axis and a classification item of the classification axis to improve work efficiency when constructing a multidimensional database. Kind Code: A1 Abstract: Class item information 13 is fetched from a multidimensional database of a relational database 11 by an input unit 12, and the fetched class item information 13 is passed to a class item analyzing unit 14, and the class item analyzing unit 14 classifies the class item information. The relationship between the items is analyzed, and the classification axis hierarchy information is passed to the classification axis generating means 15 based on the analysis. Classification axis generation means 15
Generates a hierarchical structure of classification axes and classification items based on this. As described above, in the process of creating a classification axis as a viewpoint for data, it is possible to automatically generate a hierarchical structure of a hierarchical classification axis from the relationship between data constituting the classification axis.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、多次元データベー
ス(以下、多次元DBという)の階層型分類軸を自動生
成する多次元データベース階層型分類軸自動生成システ
ム、および分類項目間の関係を解析する分類項目解析方
法、ならびにこれを実現するプログラムを記録した記録
媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-dimensional database hierarchical classification axis automatic generation system for automatically generating a hierarchical classification axis of a multi-dimensional database (hereinafter, referred to as a multi-dimensional database), and to analyze a relationship between classification items. The present invention relates to a method for analyzing a classification item to be performed and a recording medium storing a program for realizing the method.

【0002】[0002]

【従来の技術】データベースの1つとして、データの見
方を規定する分類項目基準を分類軸とし、各分類軸を構
成する要素を分類項目とし、3つ以上の分類軸を有し、
各分類軸の分類項目の値が決まると1つの値が決まる多
次元DBが存在する。図4は、多次元DBの構造を概念
的に示した図である。多次元DB41は、図4に示すよ
うに立方体の各軸を複数の分類軸に対応させ、さらに各
分類軸にデータを対応させることにより構成されてお
り、階層構造のデータはそれぞれ分類軸の分類項目に対
応した位置に配列されている。例えば、売上金額、4
月、冷蔵庫、本社に対応した多次元DBの位置には、4
月の本社における冷蔵庫の売上金額のデータが配列され
ている。図4の多次元DB41の場合には、<期間>、
<組織>、<製品>、<評価値>の4つの分類軸で構成
されている。各分類軸はそれぞれ細分化された分類項目
を有している。例えば、<評価値>の分類軸は、その軸
上に売上金額、売上数量等の分類項目を有している。ま
た、一般的に、この分類軸は値の集約度を自由に変える
ことができるように階層構造になっており、その集約度
に応じてそれぞれ異なる階層レベルに分類される。例え
ば、<製品>の分類軸は、家電、パソコン等の「製品大
分類レベル」、冷蔵庫、テレビ等の「製品小分類レベ
ル」、SS01、TVC60等の「製品名レベル」に分
類されている。
2. Description of the Related Art As one of databases, a classification item criterion for defining a viewpoint of data is used as a classification axis, elements constituting each classification axis are used as classification items, and three or more classification axes are provided.
There is a multidimensional DB in which one value is determined when the value of the classification item of each classification axis is determined. FIG. 4 is a diagram conceptually showing the structure of the multidimensional DB. As shown in FIG. 4, the multidimensional DB 41 is configured by associating each axis of the cube with a plurality of classification axes and further associating data with each classification axis. They are arranged in positions corresponding to the items. For example, sales amount, 4
The location of the multidimensional DB corresponding to the moon, refrigerator, and head office
The data of the sales amount of the refrigerator at the head office of the month are arranged. In the case of the multidimensional DB 41 in FIG. 4, <period>,
It is composed of four classification axes of <organization>, <product>, and <evaluation value>. Each classification axis has a subdivided classification item. For example, the classification axis of <evaluation value> has classification items such as sales amount and sales quantity on the axis. In general, this classification axis has a hierarchical structure so that the degree of concentration of values can be freely changed, and is classified into different hierarchical levels according to the degree of concentration. For example, the classification axis of <product> is classified into “product large classification level” for home appliances and personal computers, “product small classification level” for refrigerators and televisions, and “product name level” such as SS01 and TVC60.

【0003】多次元DBに格納するデータを含んだ抽出
元のデータベースは、組織、製品、顧客、チャネルのマ
スタテーブルを頂点とし、各マスタテーブルとの関連キ
ーと時系列属性によって一意に識別される売上、コスト
等の数値データを持つテーブルを中心にしたスキーマ構
造を構成する。通常、分類軸の階層構造はマスタテーブ
ルから抽出され、どの分類項目がどの階層レベルに対応
するかを定義者が判断して、対応づけている。従来、こ
の種の多次元DBの階層型分類軸を定義する場合、多次
元DBへ格納される分類項目の属性情報を定義者が判断
し、GUI(グラフィック・ユーザ・インタフェース)
ツールやスクリプトで関連を指定して、分類項目を階層
レベルに対応させる方法が知られている。例えば、特開
平2−414883号公報に記載の『多次元データベー
ス階層型分類項目値指定方式』では、分類項目の指定を
容易に行えるように、分類軸を指定して最上位分類項目
一覧を要求し、これが表示されると、レベルダウンまた
はレベルアップを指示することにより、指定分類項目の
子の分類項目または親の分類項目一覧が作成されて、表
示されるようになっている。
An extraction source database including data to be stored in a multidimensional DB has a master table of an organization, a product, a customer, and a channel as a vertex, and is uniquely identified by a key associated with each master table and a time-series attribute. A schema structure centered on a table having numerical data such as sales and costs is configured. Usually, the hierarchical structure of the classification axis is extracted from the master table, and the definer determines which classification item corresponds to which hierarchy level, and associates it. Conventionally, when defining a hierarchical classification axis of this kind of multidimensional DB, a definer judges attribute information of a classification item stored in the multidimensional DB, and a GUI (graphic user interface).
There is known a method in which a relation is specified by a tool or a script, and a classification item corresponds to a hierarchical level. For example, in the "multi-dimensional database hierarchical classification item value specification method" described in JP-A-2-414883, a top-level classification item list is requested by specifying a classification axis so that classification items can be easily specified. When this is displayed, by instructing a level down or level up, a list of child classification items or parent classification items of the designated classification item is created and displayed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来の多次元DB階層型分類軸定義方法においては、
「この分類項目は、この分類軸のこの階層レベルの分類
項目である」という分類項目と階層レベルのマッピング
を定義者が判断して指定しなければならないため、定義
作業が煩雑であるという問題があった。そこで、本発明
の目的は、上記従来技術の問題点を解決し、分類軸及び
分類軸の分類項目の階層構造を自動的に生成させて、作
成作業の省力化を図ることができる多次元DB分類軸自
動生成システム及び分類項目解析方法並びにこれを実現
するためのプログラムを記録した記録媒体を提供するこ
とにある。
However, in the above-described conventional multidimensional DB hierarchical classification axis definition method,
There is a problem that the definition work is complicated because the definer has to determine and specify the classification item "his classification item is the classification item of this hierarchy level of this classification axis" and the hierarchy level. there were. Therefore, an object of the present invention is to solve the above-mentioned problems of the prior art, and to automatically generate a hierarchical structure of the classification axis and the classification items of the classification axis, thereby making it possible to reduce the labor of the creation work. An object of the present invention is to provide a classification axis automatic generation system, a classification item analysis method, and a recording medium on which a program for realizing the method is recorded.

【0005】[0005]

【課題を解決するための手段】前記目的を達成するため
に、本発明の多次元DB分類軸自動生成システムでは、
全部ないし一部の分類軸の分類項目が階層構造になって
いる多次元DBシステムにおいて、分類軸の分類項目情
報を取り込む入力手段と、入力された分類項目情報の分
類項目間の関係を解析する分類項目解析手段と、前記分
類項目解析手段からの解析情報を基に分類軸及び分類項
目の階層構造を生成する分類軸生成手段とを備えること
を特徴としている。また、本発明の分類項目解析方法で
は、前記分類項目情報を読み込んで、分類項目組み合わ
せテーブルを生成するステップと、該テーブルから組み
合わせレコードを1つずつ取り出し、分類項目間の関係
を分析するために、一方の項目から他方の項目を見たと
き1:nが、逆に見たとき1:1が成立するか否かを判
定して、成立したとき分類項目親子テーブルに親分類項
目と子分類項目を挿入するステップと、分類項目組み合
わせテーブルの各レコードに対して上記処理を繰り返し
行い、レコードがなくなった時点で、親分類項目の最も
エントリ数の多い値から順次、エントリ数の多い順に第
1階層レベル、第2階層レベルにセットしていくステッ
プとを有することを特徴としている。さらに、本発明の
記録媒体は、分類項目解析方法、または分類軸の分類項
目情報を取り込んだ後に、分類項目解析を行い、さらに
分類軸及び分類項目の階層構造を生成する各ステップか
らなる多次元DB階層型分類軸自動生成方法を、それぞ
れプログラムに変換し、それを記録したことを特徴とし
ている。これにより、分類項目解析および多次元DB階
層型分類軸自動生成の処理の大幅な省力化を図ることが
可能になる。
In order to achieve the above object, an automatic multidimensional DB classification axis generation system according to the present invention comprises:
In a multidimensional DB system in which the classification items of all or some of the classification axes have a hierarchical structure, an input means for taking in the classification item information of the classification axes and a relationship between the classification items of the input classification item information are analyzed. It is characterized by comprising classification item analysis means, and classification axis generation means for generating a classification axis and a hierarchical structure of classification items based on analysis information from the classification item analysis means. Further, in the classification item analysis method according to the present invention, in order to read the classification item information and generate a classification item combination table, and to retrieve combination records one by one from the table and analyze the relationship between the classification items. It is determined whether 1: n is satisfied when one item is viewed from the other item, and 1: 1 when the other item is viewed. When the item is satisfied, the parent classification item and the child classification are added to the classification item parent-child table. The step of inserting an item and the above-described processing are repeated for each record of the classification item combination table, and when there are no more records, the first item in the parent classification item has the largest number of entries, and the first item has the largest number of entries. Setting to the hierarchical level and the second hierarchical level. Further, the recording medium of the present invention is a multi-dimensional method comprising the steps of: performing a classification item analysis method or class item analysis after acquiring classification item information of a classification axis; and further generating a hierarchical structure of the classification axis and the classification item. It is characterized in that each of the DB hierarchical classification axis automatic generation methods is converted into a program and recorded. As a result, it is possible to significantly save labor in the processing of the classification item analysis and the automatic generation of the multidimensional DB hierarchical classification axis.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図1は、本発明の一実施例を示す
多次元DB階層型分類軸自動生成システムのブロック図
である。図1では、RDB(リレーショナル・データベ
ース)から多次元DBにデータを格納する場合のデータ
移動が示されている。本システムは、多次元DBへの格
納データを保持しているRDB11と、RDB11から
分類項目情報13を取り込む入力手段12と、入力手段
12から分類項目情報を受け取って、分類項目解析を行
う分類項目解析手段14と、分類項目解析結果を受け取
って、分類軸生成を行う分類軸生成手段15とから構成
されている。ここで、入力手段13は従来より存在する
ハードウェアの入力装置であり、分類項目解析手段14
と分類軸生成手段15はいずれもプログラム実行手段と
してのモジュールから構成される。図1のRDB11
は、図3(a)(b)(c)に示すようなスキーマ構造
を有しており、売上テーブル、組織マスタテーブル、お
よび製品マスタテーブルを備えている。これらのテーブ
ル上のデータはいずれも分類項目であるが、図4に示す
ように、多次元DBの分類軸の分類項目に対応した位置
に配列されるデータは、(b)(c)の各マスタテーブ
ルの各分類項目と、(a)の売上テーブルの売上金額と
売上数量、および製品名、年月の各分類項目がそれぞれ
別の分類軸に対応している。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a multi-dimensional DB hierarchical classification axis automatic generation system showing one embodiment of the present invention. FIG. 1 shows data movement when data is stored in a multidimensional DB from an RDB (relational database). The system includes an RDB 11 that holds data stored in a multidimensional DB, an input unit 12 that takes in classification item information 13 from the RDB 11, and a classification item that receives classification item information from the input unit 12 and performs classification item analysis. The system includes an analysis unit 14 and a classification axis generation unit 15 that receives a classification item analysis result and generates a classification axis. Here, the input means 13 is an existing hardware input device, and the classification item analyzing means 14
The classification axis generation means 15 is composed of modules as program execution means. RDB 11 in FIG.
Has a schema structure as shown in FIGS. 3A, 3B, and 3C, and includes a sales table, an organization master table, and a product master table. Although the data on these tables are all classification items, as shown in FIG. 4, the data arranged at the positions corresponding to the classification items on the classification axis of the multidimensional DB are the respective items of (b) and (c). Each classification item of the master table and each classification item of the sales amount and the sales amount, the product name, and the date in the sales table of (a) correspond to different classification axes.

【0007】図4には、図1のRDB11から作成され
る多次元DBの構造が概念的に示されている。ここで、
多次元DB41は階層構造になっている分類軸、<組織
>、<製品>を有している。以下、本発明の方法によ
り、この階層型の分類軸を自動生成する手順を説明す
る。先ず、図1に示したように、入力手段12は格納デ
ータを含むRDB11に対して構造化照会言語(Struct
ured Query language:以下SQLという)の命令文を
発行し、分類軸の分類項目を含むマスタ・テーブルを参
照して分類項目情報13を取り込み、分類項目解析手段
14に出力する。
FIG. 4 conceptually shows the structure of a multidimensional DB created from the RDB 11 of FIG. here,
The multidimensional DB 41 has classification axes having a hierarchical structure, <organization>, and <product>. Hereinafter, a procedure for automatically generating the hierarchical classification axis by the method of the present invention will be described. First, as shown in FIG. 1, the input unit 12 sends a structured query language (Struct) to the RDB 11 including stored data.
A command statement of ured Query language (hereinafter referred to as SQL) is issued, the classification item information 13 is fetched by referring to the master table including the classification items of the classification axis, and output to the classification item analyzing means 14.

【0008】次に、分類項目解析手段14は、入力手段
12から渡された分類項目情報13に対して、図2に示
す処理を行う。ここで、図2は、図1における分類項目
解析手段の処理フローチャートであり、図5は分類項目
情報を示す図であり、図6は分類項目組み合せテーブル
を示す図であり、図7は分類項目親子テーブルを示す図
であり、図8は分類項目解析手段の最終出力である分類
軸階層情報の図である。図2において、先ず図5に示し
た分類項目情報を読み込み(ステップ201)、分類項目を
取得する(ステップ202)。次に、取得した分類項目から
2つの分類項目を取り出す組み合わせを求め、図6に示
すように分類項目組み合せテーブルを生成する(ステッ
プ203)。ここで、組み合せになっている第1フィールド
と第2フィールドの分類項目同志が1つのレコードとな
る(例えば、「支店」と「部」)。続いて、分類項目組
み合せテーブルのレコードをチェックし(ステップ20
4)、レコードが有ればそのレコードを取得する(ステッ
プ205)。2つの分類項目間の関係を分析するために、取
得したレコードの第1フィールドの値(分類項目)を変数
Xに、第2フィールドの値を変数Yに代入する(ステッ
プ206)。2つの分類項目間のデータの比較の第一段階と
して、X:Y=1:nかつY:X=1:1であるかどう
かをみる(ステップ207)。これをもう少し詳しく説明す
る。
Next, the classification item analysis means 14 performs the processing shown in FIG. 2 on the classification item information 13 passed from the input means 12. Here, FIG. 2 is a processing flowchart of the classification item analysis means in FIG. 1, FIG. 5 is a diagram showing classification item information, FIG. 6 is a diagram showing a classification item combination table, and FIG. FIG. 8 is a diagram showing a parent-child table, and FIG. 8 is a diagram of classification axis hierarchy information which is the final output of the classification item analysis means. 2, first, the classification item information shown in FIG. 5 is read (step 201), and the classification item is acquired (step 202). Next, a combination for extracting two classification items from the obtained classification items is obtained, and a classification item combination table is generated as shown in FIG. 6 (step 203). Here, the combined classification items of the first field and the second field constitute one record (for example, “branch” and “department”). Next, check the record of the classification item combination table (step 20).
4) If there is a record, the record is acquired (step 205). In order to analyze the relationship between the two classification items, the value of the first field (classification item) of the acquired record is substituted for the variable X and the value of the second field is substituted for the variable Y (step 206). As a first step in comparing data between two classification items, it is checked whether X: Y = 1: n and Y: X = 1: 1 (step 207). This will be explained in more detail.

【0009】先ず、図6の分類項目組み合わせテーブル
の中の「支店」と「部」の関係を分析する。図5に示すよう
に、「支店」という項目中のレコードは、「本社」と「関西
支店」があり、「部」という項目中のレコードは「第1営業
部」,「第2営業部」,「第3営業部」が存在する。そして
先ず、「支店」から見た「部」を考えてみると、「本社」に対
応するものとしては「第1営業部」と「第2営業部」という
2つの「部」が存在する(1:nの関係)のに対して、
「部」から見た「支店」としては1:1の関係が成り立って
いる。これらの条件が成り立つならば、図7に示した分
類項目親子テーブルに親分類項目をX、子分類項目をY
としてレコードを挿入する(ステップ208)。一方、ステ
ップ207で条件が成り立たない場合には、1:nの条件
を逆にして、X:Y=n:1かつY:X=1:1である
かどうかをみる(ステップ209)。その条件を満たすなら
ば、分類項目親子テーブルに親分類項目をY、子分類項
目をXとしてレコードを挿入する(ステップ210)。
First, the relationship between "branch" and "department" in the classification item combination table of FIG. 6 is analyzed. As shown in FIG. 5, the records in the item "branch" include "head office" and "Kansai branch", and the records in the item "department" are "first sales department" and "second sales department". , "Third sales department" exists. First, considering the "department" viewed from the "branch", there are two "departments" corresponding to the "headquarters": a "first sales department" and a "second sales department" ( 1: n relationship)
The “branch” viewed from the “department” has a 1: 1 relationship. If these conditions are satisfied, the parent classification item is X and the child classification item is Y in the classification item parent-child table shown in FIG.
Is inserted (step 208). On the other hand, if the condition is not satisfied in step 207, the condition of 1: n is reversed, and it is checked whether X: Y = n: 1 and Y: X = 1: 1 (step 209). If the condition is satisfied, a record is inserted into the classification item parent-child table with the parent classification item being Y and the child classification item being X (step 210).

【0010】ステップ209で条件が満たされない場合、
その組み合わせの比較をやめてステップ204に戻る。図
6に示す分類項目組み合せテーブルのレコードがある間
は、ステップ205からステップ210の処理を繰り返す。分
類項目組み合せテーブル内のすべてのレコードに対して
の処理が終了すると、図7の分類項目親子テーブルの処
理へと移る。分類項目親子テーブルに対して、親分類項
目のエントリに注目し、最もエントリ数の多い値を図8
に示した分類軸階層情報の第1階層レベルにセットし、
順次エントリ数の多い順に第2階層レベル、第3階層レ
ベルへとセットしていく(ステップ211)。ここでは、
「支店」のエントリ数が2、「部」のエントリ数が1で
あるため、「支店」,「部」の順にセットされる。分類
項目親子テーブルの最小エントリ数(1つ)の値をセット
したならば、そのレコードの子分類項目の値を分類軸階
層情報の最後に追加する(ステップ212)。図2に示した
処理が完了すると、解析結果である分類軸階層情報を分
類軸生成手段15へ出力する。
If the condition is not satisfied in step 209,
The comparison of the combination is stopped, and the process returns to step 204. While there is a record in the classification item combination table shown in FIG. 6, the processing from step 205 to step 210 is repeated. When the processing for all the records in the classification item combination table is completed, the processing shifts to the processing of the classification item parent-child table in FIG. In the classification item parent-child table, focusing on the entry of the parent classification item, the value having the largest number of entries is shown in FIG.
Is set to the first hierarchy level of the classification axis hierarchy information shown in
The second hierarchical level and the third hierarchical level are sequentially set in ascending order of the number of entries (step 211). here,
Since the number of entries of “branch” is 2 and the number of entries of “branch” is 1, they are set in the order of “branch” and “branch”. When the value of the minimum number of entries (one) in the classification item parent-child table is set, the value of the child classification item of the record is added to the end of the classification axis hierarchy information (step 212). When the processing shown in FIG. 2 is completed, the classification axis hierarchical information, which is the analysis result, is output to the classification axis generation unit 15.

【0011】図9は、本発明の分類軸生成手段が生成す
る階層型分類軸の図である。分類軸生成手段15は、図
8に示した分類軸階層情報に基づき、順次、階層レベル
に対応した分類項目を取り出し、図1に示すように、再
びRDB11に対してSQLの命令文を発行して、マス
タテーブルから重複を除いたユニーク分類項目の値を取
り出し、図9に示したような階層構造をもつ分類軸を生
成する。
FIG. 9 is a diagram of a hierarchical classification axis generated by the classification axis generation means of the present invention. Based on the classification axis hierarchy information shown in FIG. 8, the classification axis generation means 15 sequentially takes out the classification items corresponding to the hierarchy levels, and issues an SQL statement to the RDB 11 again as shown in FIG. Then, the values of the unique classification items excluding the duplication are extracted from the master table, and a classification axis having a hierarchical structure as shown in FIG. 9 is generated.

【0012】図2に記載された各ステップの分類項目解
析方法、または図1に示すように、分類軸の分類項目情
報を取り込んだ後に、図2に示す各ステップの分類項目
解析を行い、さらに図8の分類項目解析情報を基に分類
軸及び分類項目の階層構造を生成する各ステップからな
る多次元データベース階層型分類軸自動生成方法を、そ
れぞれプログラムに変換し、該プログラムをフレキシブ
ルディスクやコンパクトディスクやテープ等の記録媒体
に記録すれば、それを搬送することにより、どこででも
本発明の方法を実施することができ、分類軸及び用類項
目の階層構造を自動的に生成することが可能となる。
The method of analyzing the classification item of each step described in FIG. 2 or the classification item information of each step shown in FIG. 2 after taking in the classification item information of the classification axis as shown in FIG. The multi-dimensional database hierarchical classification axis automatic generation method including the steps of generating the classification axis and the classification item hierarchical structure based on the classification item analysis information of FIG. 8 is converted into a program, and the program is converted into a flexible disk or a compact disk. If recorded on a recording medium such as a disk or tape, the method of the present invention can be carried out anywhere by transporting it, and a hierarchical structure of classification axes and utility items can be automatically generated. Becomes

【0013】[0013]

【発明の効果】以上説明したように、本発明によれば、
多次元データベース階層型分類軸自動生成システムが分
類項目間の関連から分類軸及び分類軸の分類項目の階層
構造を自動的に生成するので、多次元DBを構築する場
合の作業効率が格段に向上する。
As described above, according to the present invention,
The multi-dimensional database hierarchical classification axis automatic generation system automatically generates the classification axis and the hierarchical structure of the classification items of the classification axis from the relation between the classification items, so that the work efficiency when constructing the multi-dimensional DB is remarkably improved. I do.

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

【図1】本発明の一実施例を示す多次元データベース階
層型分類軸自動生成システムのブロック図である。
FIG. 1 is a block diagram of a multi-dimensional database hierarchical classification axis automatic generation system showing one embodiment of the present invention.

【図2】分類項目解析手段の手順を示すフローチャート
である。
FIG. 2 is a flowchart illustrating a procedure of a classification item analysis unit.

【図3】RDBのスキーマ構造を示す図である。FIG. 3 is a diagram showing a schema structure of an RDB.

【図4】多次元DBの構造を示す図である。FIG. 4 is a diagram showing a structure of a multidimensional DB.

【図5】分類項目情報の一例を示す図である。FIG. 5 is a diagram illustrating an example of classification item information.

【図6】分類項目組み合せテーブルの一例を示す図であ
る。
FIG. 6 is a diagram showing an example of a classification item combination table.

【図7】分類項目親子テーブルの一例を示す図である。FIG. 7 is a diagram illustrating an example of a classification item parent-child table.

【図8】分類軸情報の一例を示す図である。FIG. 8 is a diagram illustrating an example of classification axis information.

【図9】本発明で生成された階層型分類軸の一例を示す
図である。
FIG. 9 is a diagram illustrating an example of a hierarchical classification axis generated according to the present invention.

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

11…RDB、12…入力手段、13…分類項目情報、
14…分類項目解析手段、15…分類軸生成手段、41
…多次元DB。
11 ... RDB, 12 ... input means, 13 ... classification item information,
14: classification item analysis means, 15: classification axis generation means, 41
... Multidimensional DB.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 全部ないしは一部の分類軸の分類項目が
階層構造になっている多次元データベースシステムにお
いて、 該多次元データベースから分類軸の分類項目情報を取り
込む入力手段と、 入力された分類項目情報の分類項目間の関係を解析する
分類項目解析手段と、 該分類項目解析手段からの解析情報を基に分類軸及び分
類項目の階層構造を生成する分類軸生成手段とを備える
ことを特徴とする多次元データベース階層型分類軸自動
生成システム。
1. A multidimensional database system in which all or some of the classification items of a classification axis have a hierarchical structure, input means for taking classification item information of a classification axis from the multidimensional database, and input classification items. Classification item analysis means for analyzing the relationship between information classification items, and classification axis generation means for generating a classification axis and a hierarchical structure of classification items based on the analysis information from the classification item analysis means. Multi-dimensional database hierarchical classification axis automatic generation system.
【請求項2】 入力された分類項目情報から分類項目間
の関係を解析する分類項目解析方法において、 前記分類項目情報を読み込んで、取得した分類項目から
2つの分類項目を取り出す組み合わせを求め、分類項目
組み合わせテーブルを生成するステップと、 該テーブルから組み合わせレコードを1つずつ取り出
し、分類項目間の関係を分析するために、レコードの一
方の値をXに、他方の値をYとして、X:Y=1:n
で、かつY:X=1:1が成立するか否かを判定し、成
立すれば、分類項目親子テーブルに親分類項目をX、子
分類項目をYとしてレコードを挿入するステップと、 もし、上記条件が成立しないときには、X:Y=1:1
で、かつY:X=1:1が成立するか否かを判定して、
成立すれば、分類項目親子テーブルに親分類項目をY、
子分類項目をXとしてレコードを挿入するステップと、 分類項目組み合わせテーブルのレコードに対して上記処
理を繰り返し行い、レコードがなくなった時点で、親分
類項目の最もエントリ数の多い値を分類軸階層情報の第
1階層レベルにセットするステップと、 順次、エントリ数の多い順に第2階層レベル、第3階層
レベルにセットしていき、最小エントリ数の値をセット
した時点で、該レコードの子分類項目の値を分類軸階層
情報の最後に追加するステップとを有することを特徴と
する分類項目解析方法。
2. A classification item analysis method for analyzing a relationship between classification items from input classification item information, wherein the classification item information is read and a combination for extracting two classification items from the obtained classification items is obtained. Generating an item combination table, extracting combination records one by one from the table, and analyzing the relationship between the classification items, one value of the record being X and the other value being Y, X: Y = 1: n
Determining whether Y: X = 1: 1 is satisfied, and if so, inserting a record in the classification item parent-child table with X as the parent classification item and Y as the child classification item; When the above condition is not satisfied, X: Y = 1: 1
And whether Y: X = 1: 1 holds or not, and
If it is established, the parent classification item is set to Y,
A step of inserting a record with the child classification item being X, and repeating the above processing for the records of the classification item combination table, and when there are no more records, the value of the parent classification item having the largest number of entries is classified into the classification axis hierarchy information And the second hierarchical level and the third hierarchical level are set in ascending order of the number of entries, and when the value of the minimum number of entries is set, the child classification item of the record is set. Adding a value to the end of the classification axis hierarchy information.
【請求項3】 請求項2に記載の各ステップの分類項目
解析方法、または分類軸の分類項目情報を取り込んだ後
に、請求項2に記載の各ステップの分類項目解析を行
い、さらに該分類項目解析情報を基に分類軸及び分類項
目の階層構造を生成する各ステップからなる多次元デー
タベース階層型分類軸自動生成方法を、それぞれプログ
ラムに変換し、該プログラムを記録したことを特徴とす
る記録媒体。
3. The method for analyzing the classification item of each step according to claim 2, or after importing the classification item information of the classification axis, perform the analysis of the classification item of each step according to claim 2. A recording medium characterized in that a multidimensional database hierarchical classification axis automatic generation method comprising steps of generating a classification axis and a classification item hierarchical structure based on analysis information is converted into a program, and the program is recorded. .
JP01099598A 1998-01-23 1998-01-23 Classification item analysis method and recording medium recording this program Expired - Fee Related JP3431482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01099598A JP3431482B2 (en) 1998-01-23 1998-01-23 Classification item analysis method and recording medium recording this program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01099598A JP3431482B2 (en) 1998-01-23 1998-01-23 Classification item analysis method and recording medium recording this program

Publications (2)

Publication Number Publication Date
JPH11212988A true JPH11212988A (en) 1999-08-06
JP3431482B2 JP3431482B2 (en) 2003-07-28

Family

ID=11765733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01099598A Expired - Fee Related JP3431482B2 (en) 1998-01-23 1998-01-23 Classification item analysis method and recording medium recording this program

Country Status (1)

Country Link
JP (1) JP3431482B2 (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306593A (en) * 2000-04-17 2001-11-02 Kuniichi Okada Display method, display processor and recording medium
JP2001306377A (en) * 2000-04-20 2001-11-02 Natl Inst Of Advanced Industrial Science & Technology Meti Physical property database system
US6738761B1 (en) 1999-09-17 2004-05-18 Nec Corporation Information processing system capable of indicating tendency to change
EP1587008A3 (en) * 2004-04-14 2006-07-05 Microsoft Corporation Automatic data view generation for a target variable
JP2008524712A (en) * 2004-12-17 2008-07-10 ゼネラル・エレクトリック・カンパニイ Domain specific data entity mapping method and system
US7606819B2 (en) 2001-10-15 2009-10-20 Maya-Systems Inc. Multi-dimensional locating system and method
JP2010501947A (en) * 2006-08-31 2010-01-21 スウィーニー,ピーター System, method and computer program for consumer-defined information architecture
US8615378B2 (en) 2010-04-05 2013-12-24 X&Y Solutions Systems, methods, and logic for generating statistical research information
US8984417B2 (en) 2008-09-12 2015-03-17 9224-5489 Quebec Inc. Method of associating attributes with documents
JP2015060259A (en) * 2013-09-17 2015-03-30 株式会社日立製作所 Data analysis support system
US9058093B2 (en) 2011-02-01 2015-06-16 9224-5489 Quebec Inc. Active element
US9251643B2 (en) 2001-10-15 2016-02-02 Apple Inc. Multimedia interface progression bar
US9262381B2 (en) 2007-08-22 2016-02-16 9224-5489 Quebec Inc. Array of documents with past, present and future portions thereof
US9519693B2 (en) 2012-06-11 2016-12-13 9224-5489 Quebec Inc. Method and apparatus for displaying data element axes
US9613167B2 (en) 2011-09-25 2017-04-04 9224-5489 Quebec Inc. Method of inserting and removing information elements in ordered information element arrays
US9646080B2 (en) 2012-06-12 2017-05-09 9224-5489 Quebec Inc. Multi-functions axis-based interface
US9652438B2 (en) 2008-03-07 2017-05-16 9224-5489 Quebec Inc. Method of distinguishing documents
US9690460B2 (en) 2007-08-22 2017-06-27 9224-5489 Quebec Inc. Method and apparatus for identifying user-selectable elements having a commonality thereof
JP2017123021A (en) * 2016-01-06 2017-07-13 日本電信電話株式会社 Data processing method, data processing apparatus, and data processing program
US10671266B2 (en) 2017-06-05 2020-06-02 9224-5489 Quebec Inc. Method and apparatus of aligning information element axes

Cited By (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6738761B1 (en) 1999-09-17 2004-05-18 Nec Corporation Information processing system capable of indicating tendency to change
JP2001306593A (en) * 2000-04-17 2001-11-02 Kuniichi Okada Display method, display processor and recording medium
JP2001306377A (en) * 2000-04-20 2001-11-02 Natl Inst Of Advanced Industrial Science & Technology Meti Physical property database system
US9454529B2 (en) 2001-10-15 2016-09-27 Apple Inc. Method of improving a search
US9251643B2 (en) 2001-10-15 2016-02-02 Apple Inc. Multimedia interface progression bar
US7606819B2 (en) 2001-10-15 2009-10-20 Maya-Systems Inc. Multi-dimensional locating system and method
US8893046B2 (en) 2001-10-15 2014-11-18 Apple Inc. Method of managing user-selectable elements in a plurality of directions
US8904281B2 (en) 2001-10-15 2014-12-02 Apple Inc. Method and system for managing multi-user user-selectable elements
US8954847B2 (en) 2001-10-15 2015-02-10 Apple Inc. Displays of user select icons with an axes-based multimedia interface
CN100426289C (en) * 2004-04-14 2008-10-15 微软公司 Automatic data view generation for a target variable
EP1587008A3 (en) * 2004-04-14 2006-07-05 Microsoft Corporation Automatic data view generation for a target variable
JP2008524712A (en) * 2004-12-17 2008-07-10 ゼネラル・エレクトリック・カンパニイ Domain specific data entity mapping method and system
JP2010501947A (en) * 2006-08-31 2010-01-21 スウィーニー,ピーター System, method and computer program for consumer-defined information architecture
US10430495B2 (en) 2007-08-22 2019-10-01 9224-5489 Quebec Inc. Timescales for axis of user-selectable elements
US10282072B2 (en) 2007-08-22 2019-05-07 9224-5489 Quebec Inc. Method and apparatus for identifying user-selectable elements having a commonality thereof
US9690460B2 (en) 2007-08-22 2017-06-27 9224-5489 Quebec Inc. Method and apparatus for identifying user-selectable elements having a commonality thereof
US11550987B2 (en) 2007-08-22 2023-01-10 9224-5489 Quebec Inc. Timeline for presenting information
US9262381B2 (en) 2007-08-22 2016-02-16 9224-5489 Quebec Inc. Array of documents with past, present and future portions thereof
US9348800B2 (en) 2007-08-22 2016-05-24 9224-5489 Quebec Inc. Method of managing arrays of documents
US10719658B2 (en) 2007-08-22 2020-07-21 9224-5489 Quebec Inc. Method of displaying axes of documents with time-spaces
US9652438B2 (en) 2008-03-07 2017-05-16 9224-5489 Quebec Inc. Method of distinguishing documents
US8984417B2 (en) 2008-09-12 2015-03-17 9224-5489 Quebec Inc. Method of associating attributes with documents
US8615378B2 (en) 2010-04-05 2013-12-24 X&Y Solutions Systems, methods, and logic for generating statistical research information
US9733801B2 (en) 2011-01-27 2017-08-15 9224-5489 Quebec Inc. Expandable and collapsible arrays of aligned documents
US10067638B2 (en) 2011-02-01 2018-09-04 9224-5489 Quebec Inc. Method of navigating axes of information elements
US9189129B2 (en) 2011-02-01 2015-11-17 9224-5489 Quebec Inc. Non-homogeneous objects magnification and reduction
US9122374B2 (en) 2011-02-01 2015-09-01 9224-5489 Quebec Inc. Expandable and collapsible arrays of documents
US9588646B2 (en) 2011-02-01 2017-03-07 9224-5489 Quebec Inc. Selection and operations on axes of computer-readable files and groups of axes thereof
US9529495B2 (en) 2011-02-01 2016-12-27 9224-5489 Quebec Inc. Static and dynamic information elements selection
US9058093B2 (en) 2011-02-01 2015-06-16 9224-5489 Quebec Inc. Active element
US10558733B2 (en) 2011-09-25 2020-02-11 9224-5489 Quebec Inc. Method of managing elements in an information element array collating unit
US9613167B2 (en) 2011-09-25 2017-04-04 9224-5489 Quebec Inc. Method of inserting and removing information elements in ordered information element arrays
US11281843B2 (en) 2011-09-25 2022-03-22 9224-5489 Quebec Inc. Method of displaying axis of user-selectable elements over years, months, and days
US10289657B2 (en) 2011-09-25 2019-05-14 9224-5489 Quebec Inc. Method of retrieving information elements on an undisplayed portion of an axis of information elements
US11080465B2 (en) 2011-09-25 2021-08-03 9224-5489 Quebec Inc. Method of expanding stacked elements
US9519693B2 (en) 2012-06-11 2016-12-13 9224-5489 Quebec Inc. Method and apparatus for displaying data element axes
US10845952B2 (en) 2012-06-11 2020-11-24 9224-5489 Quebec Inc. Method of abutting multiple sets of elements along an axis thereof
US11513660B2 (en) 2012-06-11 2022-11-29 9224-5489 Quebec Inc. Method of selecting a time-based subset of information elements
US10180773B2 (en) 2012-06-12 2019-01-15 9224-5489 Quebec Inc. Method of displaying axes in an axis-based interface
US9646080B2 (en) 2012-06-12 2017-05-09 9224-5489 Quebec Inc. Multi-functions axis-based interface
JP2015060259A (en) * 2013-09-17 2015-03-30 株式会社日立製作所 Data analysis support system
JP2017123021A (en) * 2016-01-06 2017-07-13 日本電信電話株式会社 Data processing method, data processing apparatus, and data processing program
US10671266B2 (en) 2017-06-05 2020-06-02 9224-5489 Quebec Inc. Method and apparatus of aligning information element axes

Also Published As

Publication number Publication date
JP3431482B2 (en) 2003-07-28

Similar Documents

Publication Publication Date Title
JPH11212988A (en) Multidimensional database hierarchical classification axis automatic generation system, classification item analysis method, and recording medium storing this program
US7925672B2 (en) Metadata management for a data abstraction model
US7593931B2 (en) Apparatus, system, and method for performing fast approximate computation of statistics on query expressions
US6233573B1 (en) System and method for selecting rows from dimensional databases having temporal dimention
US6931390B1 (en) Method and mechanism for database partitioning
Phipps et al. Automating data warehouse conceptual schema design and evaluation.
US7310639B2 (en) Providing query correlation attributes
US5761653A (en) Method for estimating cardinalities for query processing in a relational database management system
US8886617B2 (en) Query-based searching using a virtual table
US7949652B2 (en) Filtering query results using model entity limitations
US6285996B1 (en) Run-time support for user-defined index ranges and index filters
US8140595B2 (en) Linked logical fields
US20070214104A1 (en) Method and system for locking execution plan during database migration
EP1585036A2 (en) Management of parameterized database queries
JP2008544382A (en) System and method for converting relational database queries and multidimensional database queries
JPH10232804A (en) Method and device for executing assembly collation for data base system
US7243106B2 (en) Static drill-through modelling
JP2010525477A (en) Data storage and query method for time series analysis of weblog and system for executing the method
KR20160117965A (en) Method and apparatus for generating NoSQL model
US8224810B2 (en) Abstract classification field specification
US5692171A (en) Method of extracting statistical profiles, and use of the statistics created by the method
US7062496B2 (en) Automatic data abstraction generation using database schema and related objects
US20070143245A1 (en) System and method for managing presentation of query results
CN111949743A (en) Method, device and equipment for acquiring network operation data
US9268817B2 (en) Efficient evaluation of hierarchical cubes by non-blocking rollups and skipping levels

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100523

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100523

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20140523

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees