JP2000047914A - System and method for managing data base table information - Google Patents

System and method for managing data base table information

Info

Publication number
JP2000047914A
JP2000047914A JP10215756A JP21575698A JP2000047914A JP 2000047914 A JP2000047914 A JP 2000047914A JP 10215756 A JP10215756 A JP 10215756A JP 21575698 A JP21575698 A JP 21575698A JP 2000047914 A JP2000047914 A JP 2000047914A
Authority
JP
Japan
Prior art keywords
information
table information
data
storage unit
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10215756A
Other languages
Japanese (ja)
Inventor
Yasuhiro Shinohara
康広 篠原
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP10215756A priority Critical patent/JP2000047914A/en
Publication of JP2000047914A publication Critical patent/JP2000047914A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data base table information managing system by which the structure of a table defined in a data base can be easily referred to, the structure can be easily managed even when the structure of the table is changed and the generalized relation of the table can be defined. SOLUTION: A data storage part 32 stores a table and data of a data base and a table information storage part 31 stores detailed information concerning the items of the table defined in the data storage part 32 and the information on the relation among the respective tables as table information. As for a processing request such as table information retrieval or registration from a table information managing picture 11, a table information processing part 21 manages the table information in the table information storage part 31. Further, as for a processing request from a data retrieval picture 12, a data retrieving processing part 22 retrieves the data in the data storage part 32. This retrieval can be hierarchically performed while narrowing down conditions along the relation of the tables.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データベースのテ
ーブル定義に関する情報とテーブル間のリレーション関
係に関する情報を管理するデータベース・テーブル情報
管理システムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a database table information management system for managing information relating to table definitions in a database and information relating to relations between tables.

【0002】[0002]

【従来の技術】データベース・テーブル情報管理システ
ムは、データベースに定義されたテーブルの定義情報と
リレーション関係情報をデータとして記憶し、そのデー
タから画面上にテーブル定義に関する情報とリレーショ
ン関係情報を表示させることにより、テーブル構造を把
握させて管理を行う。また、各テーブルに登録されてい
るデータの検索を行う機能も有している。
2. Description of the Related Art A database / table information management system stores definition information of a table defined in a database and relation relation information as data, and displays information relating to the table definition and relation relation information on a screen from the data. With this, the table structure is grasped and managed. In addition, it has a function of searching for data registered in each table.

【0003】従来のこの種のデータベース・テーブル情
報管理システムは、データベース・テーブルの汎化なリ
レーション、すなわち、テーブル間で、テーブルの項目
の値によって、リレーション先のテーブルが異なってく
るような関係については、何ら情報を有していない。
A conventional database table information management system of this type uses a generalized relation of a database table, that is, a relation in which a relation destination table differs between tables depending on the value of a table item. Has no information.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のデータ
ベース・テーブル情報管理システムでは、データベース
・テーブルの汎化なリレーションに関して何ら情報を有
していないため、データベース・テーブル間の汎化なリ
レーションを管理できず、テーブルの構造を参照するの
が困難であるという第1の問題点がある。
In the conventional database table information management system described above, since there is no information on the generalized relation of the database table, the generalized relation between the database tables is managed. The first problem is that it is difficult to refer to the structure of the table.

【0005】また、同じ理由により、データベース・テ
ーブルのデータ検索において、汎化なリレーションにあ
るテーブルの検索を階層的に行うことができないという
第2の問題点がある。
Further, for the same reason, there is a second problem that it is not possible to hierarchically search for a table in a generalized relation in a data search of a database table.

【0006】本発明の第1の目的は、データベースに定
義されているテーブルの構造を容易に参照でき、テーブ
ルの構造を変更したときも構造の管理が容易に行えるよ
うなデータベース・テーブル情報管理システムを提供す
ることにある。
A first object of the present invention is to provide a database / table information management system which can easily refer to the structure of a table defined in a database and can easily manage the structure even when the structure of the table is changed. Is to provide.

【0007】本発明の第2の目的は、テーブルの汎化な
リレーションが定義できるデータベース・テーブル情報
管理システムを提供することにある。
A second object of the present invention is to provide a database / table information management system capable of defining a generalized relation of a table.

【0008】本発明の第3の目的は、各テーブルに登録
されているデータをテーブルのリレーションに沿って、
条件を絞り込みながら階層的に検索できるデータベース
・テーブル情報管理システムを提供することにある。
[0008] A third object of the present invention is to store data registered in each table along a relation of the table.
An object of the present invention is to provide a database / table information management system capable of searching hierarchically while narrowing down conditions.

【0009】[0009]

【課題を解決するための手段】本発明のデータベース・
テーブル情報管理システムは、データベースのテーブル
およびデータを記憶するデータ記憶部と、該データ記憶
部に定義されているテーブルの項目に関する詳細情報お
よび各テーブルのリレーションの情報をテーブル情報と
して記憶するテーブル記憶部とからなるデータベース部
と、テーブル情報管理画面からのテーブル情報検索また
は登録要求に対して前記テーブル情報記憶部のテーブル
を管理するテーブル情報処理部と、データ検索画面から
の処理要求に対して前記データ記憶部のデータを検索す
るデータ検索処理部とを有することを特徴とする。
[MEANS FOR SOLVING THE PROBLEMS] The database of the present invention
A table information management system includes a data storage unit that stores tables and data of a database, and a table storage unit that stores, as table information, detailed information on items of tables defined in the data storage unit and information of relations of each table. A table information processing unit that manages a table in the table information storage unit in response to a table information search or registration request from a table information management screen; and a data processing unit that processes the data in response to a processing request from a data search screen. A data search processing unit for searching data in the storage unit.

【0010】本発明のデータベース・テーブル情報管理
システムの好ましい実施の形態は、前記詳細情報は、テ
ーブルの項目に関する項目別名,データ表示形式,検索
対象設定,条件指定可否,汎化条件有無を含むことを特
徴とする。
[0010] In a preferred embodiment of the database / table information management system according to the present invention, the detailed information includes an item alias for a table item, a data display format, a search target setting, whether or not a condition can be specified, and whether or not there is a generalization condition. It is characterized by.

【0011】本発明のデータベース・テーブル情報管理
システムの好ましい実施の形態は、前記テーブル情報処
理部は、管理対象テーブルのデータ項目に関する情報を
前記データ記憶部から、テーブル情報を前記テーブル情
報記憶部からそれぞれ検索し、両者の比較によってテー
ブル情報内の項目に関する情報の変更の有無を調べるテ
ーブル情報検索手段と、前記変更が有るときは前記検索
されたテーブル情報に変更分を反映させて前記テーブル
情報管理画面に出力するテーブル情報表示手段と、前記
テーブル情報管理画面に設定されたテーブル情報を登録
要求として受け取り前記テーブル情報記憶部に登録する
テーブル情報登録手段とを有し、また、前記データ検索
処理部は、前記テーブル情報管理画面から受け取った検
索対象テーブル名によって、データ検索対象となるテー
ブルに関するテーブル情報を前記テーブル情報記憶部か
ら検出するデータ検索手段と、該検索されたテーブル情
報内のテーブルの項目に関する詳細情報およびリレーシ
ョン情報によって前記データ検索画面を表示するデータ
表示手段とを有し、前記データ検索手段は該データ検索
画面によって前記データ記憶部を検索することを特徴と
する。
In a preferred embodiment of the database / table information management system according to the present invention, the table information processing section stores information on data items of a table to be managed from the data storage section and table information from the table information storage section. A table information retrieving means for respectively retrieving and comparing the information on items in the table information by comparing the two, and when there is a change, the table information management by reflecting the change in the retrieved table information A table information display unit for outputting to a screen, table information registration unit for receiving table information set on the table information management screen as a registration request, and registering the table information in the table information storage unit; Is the search target table name received from the table information management screen Therefore, the data search means for detecting table information relating to the table to be subjected to the data search from the table information storage unit, and the data search screen is displayed by the detailed information and the relation information relating to the table items in the searched table information. Data display means, wherein the data search means searches the data storage unit on the data search screen.

【0012】本発明のデータベース・テーブル情報管理
システムの好ましい実施の形態は、前記データ検索画面
に、検索対象テーブルのリレーション情報が表示される
と、前記データ検索手段は、先ず、検索するリレーショ
ン先テーブルのテーブル情報を前記テーブル情報記憶部
から取得し、次に、該取得したテーブル情報に含まれる
検索対象テーブルの検索項目と指定された検索条件を使
用して前記データ記憶部を検索することを特徴とする。
In a preferred embodiment of the database table information management system according to the present invention, when relation information of a search target table is displayed on the data search screen, the data search means firstly executes a relation destination table to be searched. Acquiring the table information from the table information storage unit, and then searching the data storage unit using search items of a search target table included in the obtained table information and designated search conditions. And

【0013】また、本発明のデータベース・テーブル情
報管理方法は、データ記憶部から管理対象テーブルのデ
ータ項目に関する情報を検索する手順と、テーブル情報
記憶部からテーブル情報を検索する手順と、これらの検
索によって得たデータ項目に関する情報とテーブル情報
を比較してテーブル情報内の項目に関する情報の変更の
有無を調べる手順と、前記変更が有るときは前記検索さ
れたテーブル情報に変更分を反映させてテーブル情報管
理画面に出力する手順と、該テーブル情報を登録要求と
して受け取り前記テーブル情報記憶部に登録する手順
と、前記テーブル情報管理画面から受け取った検索対象
テーブル名によって、データ検索対象となるテーブルに
関するテーブル情報を前記データ情報記憶部から検索す
る手順と、該検索されたテーブル情報内のテーブルの項
目に関する詳細情報およびリレーション情報によってデ
ータ検索画面を表示する手順と、該データ検索画面によ
って前記データ記憶部を検索する手順とを有することを
特徴とする。
Further, the database table information management method of the present invention provides a procedure for retrieving information on a data item of a table to be managed from a data storage section, a procedure for retrieving table information from a table information storage section, and a procedure for retrieving them. Comparing the information on the data items obtained by the above with the table information to check whether or not the information on the items in the table information has been changed; and, if there is the change, reflecting the change in the searched table information to reflect the change. A procedure for outputting to the information management screen, a procedure for receiving the table information as a registration request and registering the table information in the table information storage unit, and a table relating to a table to be subjected to data search by the search target table name received from the table information management screen A procedure for retrieving information from the data information storage unit; And instructions for displaying the data search screen the detailed information and relation information about the fields of the table in the table information, and having a procedure for searching the data storage unit by said data search screen.

【0014】[0014]

【発明の実施の形態】次に、本発明の実施の形態につい
て説明する。
Next, an embodiment of the present invention will be described.

【0015】本発明のデータベース・テーブル情報管理
システムは、データベースのテーブルおよびデータを記
憶するデータ記憶部と、該データ記憶部に定義されてい
るテーブルの項目に関する詳細情報および各テーブルの
リレーションの情報をテーブル情報として記憶するテー
ブル記憶部とからなるデータベース部と、テーブル情報
管理画面からのテーブル情報検索または登録要求に対し
て前記テーブル情報記憶部のテーブルを管理するテーブ
ル情報処理部と、データ検索画面からの処理要求に対し
て前記データ記憶部のデータを検索するデータ検索処理
部とを有することを特徴とする。
The database / table information management system of the present invention stores a data storage unit for storing database tables and data, detailed information on table items defined in the data storage unit, and relation information of each table. A database unit including a table storage unit that stores table information; a table information processing unit that manages a table in the table information storage unit in response to a table information search or registration request from a table information management screen; and a data search screen. And a data search processing unit for searching data in the data storage unit in response to the processing request.

【0016】また、本発明のデータベース・テーブル情
報管理方法は、データ記憶部から管理対象テーブルのデ
ータ項目に関する情報を検索する手順と、テーブル情報
記憶部からテーブル情報を検索する手順と、これらの検
索によって得たデータ項目に関する情報とテーブル情報
を比較してテーブル情報内の項目に関する情報の変更の
有無を調べる手順と、前記変更が有るときは前記検索さ
れたテーブル情報に変更分を反映させてテーブル情報管
理画面に出力する手順と、該テーブル情報を登録要求と
して受け取り前記テーブル情報記憶部に登録する手順
と、前記テーブル情報管理画面から受け取った検索対象
テーブル名によって、データ検索対象となるテーブルに
関するテーブル情報を前記データ情報記憶部から検索す
る手順と、該検索されたテーブル情報内のテーブルの項
目に関する詳細情報およびリレーション情報によってデ
ータ検索画面を表示する手順と、該データ検索画面によ
って前記データ記憶部を検索する手順とを有することを
特徴とする。
Further, according to the database / table information management method of the present invention, a procedure for retrieving information on a data item of a table to be managed from a data storage unit, a procedure for retrieving table information from a table information storage unit, Comparing the information on the data items obtained by the above with the table information to check whether or not the information on the items in the table information has been changed; and, if there is the change, reflecting the change in the searched table information to reflect the change. A procedure for outputting to the information management screen, a procedure for receiving the table information as a registration request and registering the table information in the table information storage unit, and a table relating to a table to be subjected to data search by the search target table name received from the table information management screen A procedure for retrieving information from the data information storage unit; And instructions for displaying the data search screen the detailed information and relation information about the fields of the table in the table information, and having a procedure for searching the data storage unit by said data search screen.

【0017】以下、本発明の実施例について図面を参照
して詳細に説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0018】図1は、本発明のデータベース・テーブル
情報管理システムの一実施例を示すブロック図である。
図1を参照すると、本実施例は、ユーザが作業を実施す
るためのユーザインタフェース部1と、プログラム制御
により動作する処理部2と、情報を記憶するデータベー
ス部3とを含む。
FIG. 1 is a block diagram showing one embodiment of the database / table information management system of the present invention.
Referring to FIG. 1, the present embodiment includes a user interface unit 1 for a user to perform a task, a processing unit 2 operated by program control, and a database unit 3 for storing information.

【0019】データベース部3は、テーブル情報記憶部
31と、データ記憶部32とを備えている。テーブル記
憶部32は、データベースを構成するためのテーブルと
データが記憶している。テーブル情報記憶部31は、デ
ータ記憶部32に定義されているテーブルの項目に関す
る詳細情報(項目別名、データ表示形式、検索対象設
定、条件指定不可、汎化条件等)および、各テーブルの
リレーション関係の情報がテーブル情報として記憶して
いる。
The database unit 3 includes a table information storage unit 31 and a data storage unit 32. The table storage unit 32 stores tables and data for constituting a database. The table information storage unit 31 stores detailed information (item aliases, data display formats, search target settings, condition designation disabled, generalization conditions, etc.) regarding the items of the tables defined in the data storage unit 32, and the relationship between the tables. Is stored as table information.

【0020】ユーザインタフェース部1は、テーブル情
報管理画面11と、データ検索画面12とを備えてい
る。テーブル情報管理画面11は、図2に一例を示す画
面構成であり、テーブル情報記憶部31に記憶されてい
るテーブル情報の管理を行うためのユーザインタフェー
ス画面である。
The user interface unit 1 has a table information management screen 11 and a data search screen 12. The table information management screen 11 has a screen configuration shown in an example in FIG. 2, and is a user interface screen for managing table information stored in the table information storage unit 31.

【0021】データ検索画面12は、図3に一例を示す
画面構成であり、データ記憶部32に記憶されているデ
ータ情報の検索を行うためのユーザインタフェース画面
である。
The data search screen 12 has a screen configuration shown as an example in FIG. 3 and is a user interface screen for searching for data information stored in the data storage unit 32.

【0022】処理部2は、テーブル情報検索手段21
1,テーブル情報表示手段212およびテーブル情報登
録手段213を有するテーブル情報処理部21と、デー
タ検索手段221およびデータ表示手段222を有する
データ検索処理部22とを備える。
The processing unit 2 includes a table information search unit 21
1, a table information processing unit 21 having a table information display unit 212 and a table information registration unit 213, and a data search processing unit 22 having a data search unit 221 and a data display unit 222.

【0023】図2には、テーブル情報管理画面11の一
例、図3には、データ検索画面12の一例、図4には、
テーブルのリレーション関係がそれぞれ示されている。
先ず、本発明の特徴について、図1〜図4により説明す
る。
FIG. 2 shows an example of the table information management screen 11, FIG. 3 shows an example of the data search screen 12, and FIG.
The relations of the tables are shown.
First, features of the present invention will be described with reference to FIGS.

【0024】図1において、テーブル情報管理を行う場
合、テーブル情報検索手段211は、管理対象テーブル
名をテーブル情報管理画面11(図2)のテーブル情報
定義テーブル名2−1から受け取る。テーブル情報検索
手段211は、管理対象テーブルのデータ項目に関する
情報をデータ記憶部32から検索し、テーブル情報をテ
ーブル情報記憶部31から検索する。さらに、テーブル
情報検索手段211は、このテーブル項目に関する情報
とテーブル情報を比較して、テーブル情報内の項目に関
する情報に変更が無いかどうかを調べる。
In FIG. 1, when performing table information management, the table information search means 211 receives a management target table name from the table information definition table name 2-1 of the table information management screen 11 (FIG. 2). The table information search unit 211 searches the data storage unit 32 for information on the data items of the management target table, and searches the table information storage unit 31 for table information. Further, the table information search unit 211 compares the information on the table item with the table information and checks whether there is any change in the information on the item in the table information.

【0025】ここで、変更が確認された場合には、テー
ブル情報表示手段212が、変更分を検索されたテーブ
ル情報に反映させ、テーブル情報管理画面11(図2の
テーブル情報設定部2−3)に出力する。これにより、
データ記憶部32でのテーブル項目に関する情報の変更
に対応できる。また、テーブル情報として図1のテーブ
ル情報記憶部31に記憶されているテーブルの項目に関
する詳細情報には、汎化条件が含まれているため、図4
の汎化なリレーション4−2のような、1つのリレーシ
ョン項目から、ある項目のデータ値によりリレーション
先のテーブルが異なる汎化なリレーション関係を管理す
ることができる。
Here, if the change is confirmed, the table information display means 212 reflects the change on the retrieved table information, and displays the table information management screen 11 (table information setting section 2-3 in FIG. 2). ). This allows
It is possible to cope with a change in information on table items in the data storage unit 32. In addition, since the detailed information on the table items stored in the table information storage unit 31 of FIG. 1 as the table information includes the generalization condition, FIG.
From a single relation item, such as the generalized relation 4-2, a generalized relation in which the relation destination table differs depending on the data value of a certain item can be managed.

【0026】また、データ検索を行う場合、データ検索
手段221は、検索対象テーブル名をテーブル情報管理
画面11(図2のデータ検索テーブル名2−2)から受
け取る。テーブル情報検索手段211は、データ検索対
象となるテーブルに関するテーブル情報をテーブル情報
記憶部31から検索する。データ表示手段222は、検
索されたテーブル情報内のテーブルの項目に関する詳細
情報および、リレーション情報にてデータ検索画面12
(図3のテーブル情報表示部3−3)を表示する。こう
して設定されたデータ検索画面12では、検索条件を指
定(図3のデータ条件設定部3−31)して、検索を実
行すると、その条件でデータ検索手段221がデータ記
憶部32を検索する。検索結果は、データ表示手段22
2によりデータ検索画面12(図3のデータ表示部3−
4)に表示される。
When performing a data search, the data search means 221 receives the name of the table to be searched from the table information management screen 11 (the data search table name 2-2 in FIG. 2). The table information search unit 211 searches the table information storage unit 31 for table information on a table for which data is to be searched. The data display unit 222 displays the data search screen 12 based on the detailed information on the table items in the searched table information and the relation information.
(Table information display section 3-3 in FIG. 3) is displayed. In the data search screen 12 set in this way, a search condition is specified (data condition setting unit 3-31 in FIG. 3), and when a search is executed, the data search unit 221 searches the data storage unit 32 with the condition. The search result is displayed on the data display unit 22.
2 to the data search screen 12 (the data display section 3- of FIG. 3).
Displayed in 4).

【0027】検索対象テーブルにリレーション関係が設
定されている場合には、データ検索画面12(図3のリ
レーション情報表示部3−32)にその情報が表示され
る。このリレーション関係に添って、リレーション先テ
ーブルのデータ検索を行うには、リレーション対象テー
ブル項目(図3のリレーション対象テーブル項目3−4
1)に表示されているデータを検索条件として選択し、
検索(図3のリレーション検索2)を実行する。データ
検索手段221は、まず、検索するリレーション先テー
ブルのテーブル情報を取得するため、テーブル情報記憶
部31を検索し、次に、検索されたテーブル情報に含ま
れる検索対象テーブルの検索項目と指定された検索条件
を使用してデータ記憶部32を検索する。検索結果は、
データ表示手段222により、前回表示済み画面とは異
なる新規のデータ検索画面12(図3)に表示される。
これにより、対象テーブルのデータ検索を行うことと、
そのテーブルに関連するテーブルのデータ検索を階層的
に行うことができる。
If a relation is set in the search target table, the information is displayed on the data search screen 12 (relation information display section 3-32 in FIG. 3). In order to perform a data search of the relation destination table in accordance with the relation, the relation target table item (relation target table item 3-4 in FIG. 3).
Select the data displayed in 1) as a search condition,
A search (relation search 2 in FIG. 3) is executed. The data search unit 221 first searches the table information storage unit 31 to obtain the table information of the relation destination table to be searched, and then specifies the search item of the search target table included in the searched table information. The data storage unit 32 is searched using the searched search condition. Search results are
The data display means 222 displays a new data search screen 12 (FIG. 3) different from the previously displayed screen.
This allows you to perform data search for the target table,
Data retrieval of a table related to the table can be performed hierarchically.

【0028】次に、処理部2に含まれる各手段ごとに、
その機能を明らかにする。
Next, for each means included in the processing unit 2,
Clarify its function.

【0029】テーブル情報検索手段211は、テーブル
情報管理画面11からの検索要求に対して、与えられた
テーブル名をキーとして、データ記憶部32のテーブル
に設定されている項目の情報(以下、テーブル項目情
報)とテーブル情報記憶部31に記憶されたテーブル情
報(以下、テーブル情報)を検索する。また、検索され
たテーブル項目情報とテーブル情報の比較検証も行う。
The table information search means 211 responds to a search request from the table information management screen 11 by using the given table name as a key and by setting information on items set in the table of the data storage unit 32 (hereinafter referred to as table information). Item information) and table information (hereinafter, table information) stored in the table information storage unit 31 are searched. Further, comparison and verification of the retrieved table item information and table information are also performed.

【0030】テーブル情報表示手段212は、テーブル
情報検索手段211によるテーブル項目情報とテーブル
情報の比較検証結果をテーブル情報管理画面11に表示
する。テーブル項目情報とテーブル情報の比較検証およ
び検証結果による表示の違いは次のようになる。検索対
象のテーブル項目情報がデータ記憶部32から検索さ
れ、テーブル情報がテーブル情報記憶部31に記憶され
ていない場合には、テーブル項目情報をデフォルトのテ
ーブル情報としてテーブル情報管理画面11に表示す
る。ここでのデフォルトのテーブル情報には、テーブル
のリレーション関係は定義されていないため、単一テー
ブルの情報のみが表示される。
The table information display means 212 displays the result of the comparison between the table item information and the table information by the table information search means 211 on the table information management screen 11. The comparison between the table item information and the table information and the difference in display depending on the verification result are as follows. If the table item information to be searched is retrieved from the data storage unit 32 and the table information is not stored in the table information storage unit 31, the table item information is displayed on the table information management screen 11 as default table information. Since the table relation is not defined in the default table information, only information of a single table is displayed.

【0031】また、検索対象のテーブル項目情報がデー
タ記憶部32から検索され、テーブル情報がテーブル情
報記憶部31に記憶されている場合には、検索対象のテ
ーブルと、そのテーブルからリレーション関係が定義さ
れているテーブルを全て表示する。その際、表示される
全てのテーブルのテーブル情報とテーブル項目情報を比
較し、テーブル情報内の項目に関する情報に変更が有っ
たかどうかをチェックする。チェックにより変更が無い
場合は、検索されたテーブル情報をテーブル情報管理画
面11に表示する。チェックにより変更が有った場合
は、検索されたテーブル情報内の項目に関する情報にテ
ーブル項目情報の変更を反映させた形でテーブル情報管
理画面11に表示する。ここでのテーブル情報には、テ
ーブルのリレーション関係が定義されているため、リレ
ーション関係と共に複数テーブルの情報が表示される。
When the table item information to be searched is searched from the data storage unit 32 and the table information is stored in the table information storage unit 31, a relation between the table to be searched and the table is defined. Displays all the tables that have been set. At this time, the table information of all the displayed tables is compared with the table item information, and it is checked whether or not the information on the items in the table information has been changed. If there is no change in the check, the searched table information is displayed on the table information management screen 11. If there is a change due to the check, the information is displayed on the table information management screen 11 in a form in which the change in the table item information is reflected on the information on the item in the searched table information. In the table information, the relation of the table is defined, and thus information of a plurality of tables is displayed together with the relation.

【0032】また、検索対象テーブル情報がテーブル情
報記憶部31に記憶されているが、テーブル項目情報が
データ記憶部32から検索されない場合(データ記憶部
32から検索対象のテーブルが削除された場合)には、
テーブル削除のメッセージをテーブル情報管理画面11
に表示する。
When the search target table information is stored in the table information storage unit 31, but the table item information is not searched from the data storage unit 32 (when the search target table is deleted from the data storage unit 32). In
Table deletion message on table information management screen 11
To be displayed.

【0033】テーブル情報登録手段213は、テーブル
情報管理画面11にて設定されたテーブル情報を登録要
求として受け取り、テーブル情報記憶部31に登録す
る。
The table information registration means 213 receives the table information set on the table information management screen 11 as a registration request, and registers it in the table information storage unit 31.

【0034】データ検索手段221は、データ検索画面
12からの検索要求の形態により、2つのパターンの処
理を行う。検索要求の形態には、条件検索とリレーショ
ン検索の2つがあり、条件検索は、データ検索画面12
の検索条件欄(図3の検索条件設定部3−31)に条件
を指定して行う。リレーション検索は、データ検索画面
12に表示されたリレーション関係にある項目(図3の
リレーション対象テーブル項目3−41)のデータを検
索条件として選択して検索を行う。検索要求の形態が条
件検索の場合は、検索対象テーブルのテーブル名、検索
項目、検索条件が与えられるため、それらを使用してデ
ータ記憶部32のデータを検索する。
The data search means 221 processes two patterns according to the form of the search request from the data search screen 12. There are two types of search requests, a condition search and a relation search.
Is specified in the search condition column (search condition setting unit 3-31 in FIG. 3). The relation search is performed by selecting, as a search condition, data of an item having a relation relation (relation target table item 3-41 in FIG. 3) displayed on the data search screen 12. When the form of the search request is a condition search, a table name, a search item, and a search condition of the search target table are given, and the data in the data storage unit 32 is searched using these.

【0035】検索要求の形態がリレーション検索の場合
は、まず、検索するテーブルのリレーション関係等のテ
ーブル情報が必要となるため、検索対象のテーブルのテ
ーブル情報をテーブル情報記憶部21から検索する。次
に、検索されたテーブル情報に含まれる検索項目とデー
タ検索画面12からの検索要求より与えられた検索対象
のテーブルのテーブル名、検索条件を使用してデータ記
憶部32のデータを検索する。
When the form of the search request is a relation search, first, table information such as a relation relation of the table to be searched is required. Therefore, the table information of the table to be searched is searched from the table information storage unit 21. Next, data in the data storage unit 32 is searched using the search items included in the searched table information, the table name of the search target table given by the search request from the data search screen 12, and the search conditions.

【0036】データ表示手段222は、データ検索手段
211によって検索されたテーブル情報とデータを基に
データ検索画面12にデータを表示する。この画面は、
テーブル情報を基に構成され、データ表示は、テーブル
情報内のデータ表示用情報に従った表示フォーマット上
に行われる。
The data display means 222 displays data on the data search screen 12 based on the table information and data searched by the data search means 211. This screen is
It is configured based on the table information, and the data display is performed in a display format according to the data display information in the table information.

【0037】次に、図5〜図8のフローチャートをも参
照して本実施例の動作について詳細に説明する。
Next, the operation of this embodiment will be described in detail with reference to the flowcharts of FIGS.

【0038】まず、テーブル情報管理のうちのテーブル
情報検索処理について図5のフローチャートに沿って説
明する。図5のフローチャートで示されるテーブル情報
検索処理では、図1のテーブル情報管理画面11(図2
のテーブル情報定義テーブル名2−1)でテーブル情報
を設定するテーブルを指定して検索を実行すると、テー
ブル情報検索手段211に対象テーブル名が供給され
る。テーブル情報検索手段211は、このテーブルがデ
ータ記憶部32に記憶されているかどうかを調べる(図
5のステップS1およびS2)。データ記憶部32に、
このテーブルが記憶されていなかった場合は、さらにこ
のテーブルのテーブル情報がテーブル情報記憶部31に
記憶されているかどうかを調べる(S3およびS4)。
テーブル情報記憶部31に、このテーブルのテーブル情
報が記憶されていなかった場合は、エラーとし、テーブ
ル情報表示手段212によりエラーメッセージを図1の
テーブル情報管理画面11(図2のテーブル情報設定部
2−3)に出力する(S5)。一方、ステップS4で、
テーブル情報が検索された場合には、テーブル情報表示
手段212により、テーブル記憶部32からテーブルが
削除されているとのメッセージをテーブル情報管理画面
11(図2のテーブル情報設定部2−3)に出力する
(S6)。
First, the table information search processing in the table information management will be described with reference to the flowchart of FIG. In the table information search processing shown in the flowchart of FIG. 5, the table information management screen 11 of FIG.
When a search is executed by specifying a table for which table information is to be set in the table information definition table name 2-1), the target table name is supplied to the table information search means 211. The table information search unit 211 checks whether this table is stored in the data storage unit 32 (steps S1 and S2 in FIG. 5). In the data storage unit 32,
If this table is not stored, it is further checked whether the table information of this table is stored in the table information storage unit 31 (S3 and S4).
If the table information of this table is not stored in the table information storage unit 31, it is determined that an error has occurred, and an error message is displayed by the table information display unit 212 on the table information management screen 11 of FIG. 1 (table information setting unit 2 of FIG. 2). -3) (S5). On the other hand, in step S4,
When the table information is retrieved, the table information display unit 212 sends a message to the effect that the table has been deleted from the table storage unit 32 to the table information management screen 11 (table information setting unit 2-3 in FIG. 2). Output (S6).

【0039】S2で、データ記憶部32に、テーブル情
報を設定するテーブルが記憶されている場合は、図1の
テーブル情報検索手段211が、そのテーブル項目情報
を取得し(S7)、さらにこのテーブルのテーブル情報
がテーブル情報記憶部31に記憶されているかどうかを
調べる(S8およびS9)。テーブル情報記憶部31
に、このテーブルのテーブル情報が記憶されていなかっ
た場合は、テーブル情報表示手段212により、ステッ
プS7で取得したテーブル項目情報をデフォルトのテー
ブル情報としてテーブル情報管理画面11(図2のテー
ブル情報設定部2−3)に表示する(S10)。例え
ば、テーブルAが図1のデータ記憶部32にテーブル定
義されており、テーブル情報記憶部31に記憶されてい
ない場合には、図2のテーブル情報設定部2−3に表示
されるテーブル情報は、テーブルAのテーブル項目情報
31のみである。
In S2, if a table for setting table information is stored in the data storage unit 32, the table information search means 211 of FIG. 1 acquires the table item information (S7), and It is checked whether or not the table information is stored in the table information storage unit 31 (S8 and S9). Table information storage unit 31
If the table information of this table is not stored, the table information display unit 212 uses the table item information acquired in step S7 as the default table information, and displays the table information management screen 11 (table information setting unit in FIG. 2). It is displayed in 2-3) (S10). For example, when the table A is defined in the data storage unit 32 in FIG. 1 and is not stored in the table information storage unit 31, the table information displayed in the table information setting unit 2-3 in FIG. , Table item information 31 of table A only.

【0040】一方、ステップS9で、テーブル情報が検
索された場合には、そのテーブル情報内の項目に関する
情報とステップS7で取得しテーブル項目情報を比較す
る(S11およびS12)。比較の結果、変更が無い場
合には、テーブル情報表示手段212により、検索され
たテーブル情報をテーブル情報管理画面11(図2のテ
ーブル情報設定部2−3)に表示し(S13)、変更が
あった場合には、テーブル情報表示手段212により、
検索されたテーブル情報内の項目に関する情報にテーブ
ル項目情報の変更を反映して、テーブル情報管理画面1
1(図2のテーブル情報設定部2−3)に表示する(S
14)。例えば、データ記憶部32にテーブル定義され
ているテーブルAに項目追加として列名An+1 が追加さ
れたが、テーブル情報記憶部31には、その変更が反映
されていない場合には、テーブルAのテーブル情報検索
により、図2のテーブルAのテーブル項目情報31に列
名An+1 が追加された形で表示される。
On the other hand, if the table information is found in step S9, the information on the items in the table information is obtained and compared in step S7 with the table item information (S11 and S12). As a result of the comparison, if there is no change, the table information display means 212 displays the searched table information on the table information management screen 11 (table information setting unit 2-3 in FIG. 2) (S13), and the change is made. If there is, by the table information display means 212,
The table information management screen 1 reflects the change of the table item information in the information on the item in the searched table information, and
1 (table information setting section 2-3 in FIG. 2) (S
14). For example, if the column name A n + 1 is added as an item to the table A defined in the table in the data storage unit 32 but the change is not reflected in the table information storage unit 31, the table information retrieval a, column names a n + 1 is displayed in added form to the table item information 31 of table a of FIG.

【0041】また、S4もしくはS9で、テーブル情報
が検索できた場合には、検索されたテーブル情報内のテ
ーブルのリレーション関係情報をテーブル情報管理画面
11(図2のテーブル情報設定部2−3)に表示する必
要があるため、リレーション対象として指定されている
全てのテーブルに対して上記処理(S1〜S14)を繰
り返し実行する(S15)。例えば、データ記憶部32
にテーブル定義されているテーブルA、テーブルB、テ
ーブルCが、図2のテーブル情報設定部2−3のような
リレーション関係にある場合には、テーブルAを対象と
したテーブル情報検索により、まず、テーブルAに関し
て処理を実施して、図2のテーブルAのテーブル項目情
報2−31を表示する。次に、テーブルAとリレーショ
ン関係にあるテーブルBとテーブルCに関する処理を実
施し、図2のテーブルBのテーブル項目情報2−32、
図2のテーブルCのテーブル項目情報2−33を表示す
る。これで、テーブルAに関連する各テーブルの項目情
報の表示が完了したため、最後に、テーブルA、テーブ
ルB、テーブルCのリレーション関係を表す図2のテー
ブルA、テーブルB、テーブルCのリレーション関係情
報2−34を表示する。
If the table information can be retrieved in S4 or S9, the relation information of the table in the retrieved table information is displayed on the table information management screen 11 (table information setting section 2-3 in FIG. 2). Therefore, the above processing (S1 to S14) is repeatedly executed for all tables designated as relation targets (S15). For example, the data storage unit 32
Table A, table B, and table C defined in the table are in a relational relationship as in the table information setting unit 2-3 in FIG. The process is performed on the table A, and the table item information 2-31 of the table A in FIG. 2 is displayed. Next, processing relating to tables B and C having a relational relationship with table A is performed, and table item information 2-32 of table B in FIG.
The table item information 2-33 of the table C in FIG. 2 is displayed. Since the display of the item information of each table related to the table A is completed, finally, the relation relation information of the table A, the table B, and the table C in FIG. Display 2-34.

【0042】次に、テーブル情報管理のうちのテーブル
情報登録処理について、図6のフローチャートに沿って
説明する。上記テーブル情報検索処理により、テーブル
情報管理画面11(図2のテーブル情報設定部2−3)
に表示されたテーブル情報を修正する(図6のステップ
T1)。修正は、図2のテーブル情報管理画面で行う。
テーブルの項目情報に関する設定は、表示された各テー
ブルごとの情報を修正して行う。リレーション関係に関
する設定は、リレーション元テーブルのリレーション関
係を定義する項目からリレーション先テーブルのリレー
ション関係を定義する項目に矢印を引く形で設定する。
また、汎化なリレーション関係の設定では、上記のリレ
ーション関係に関する設定後に、汎化条件を設定する項
目を選択して、汎化条件を設定する。テーブル情報管理
画面11(図2)で登録が実行されると(T2)、テー
ブル情報登録手段213に、設定されたテーブル情報が
供給される。テーブル情報登録手段213は、このテー
ブル情報を、テーブル情報記憶部31に登録する(T
3)。
Next, the table information registration processing in the table information management will be described with reference to the flowchart of FIG. By the table information search processing, the table information management screen 11 (table information setting unit 2-3 in FIG. 2)
Is corrected (step T1 in FIG. 6). The correction is made on the table information management screen of FIG.
The setting regarding the item information of the table is performed by correcting the displayed information of each table. The setting related to the relation relation is set by drawing an arrow from the item defining the relation relation of the relation source table to the item defining the relation relation of the relation destination table.
In the setting of the generalized relation, after setting the relation, the item for setting the generalization condition is selected, and the generalization condition is set. When registration is performed on the table information management screen 11 (FIG. 2) (T2), the set table information is supplied to the table information registration means 213. The table information registration unit 213 registers the table information in the table information storage unit 31 (T
3).

【0043】次に、データ検索のうちのデータ検索画面
表示処理フローに関して、図7のフローチャートに沿っ
て説明する。図7のフローチャートで示されるテーブル
情報管理画面11からデータ検索画面12を表示する処
理では、テーブル情報管理画面11(図2のデータ検索
対象テーブル名2−2)でデータ検索を行うテーブルを
指定して検索を行うと、データ検索手段221に対象テ
ーブル名が供給される。データ検索手段221は、この
テーブルのテーブル情報がテーブル情報記憶部31に記
憶されているかどうかを調べる(図7のステップU1お
よびU2)。
Next, the data search screen display processing flow of the data search will be described with reference to the flowchart of FIG. In the process of displaying the data search screen 12 from the table information management screen 11 shown in the flowchart of FIG. 7, a table on which data search is to be performed is specified on the table information management screen 11 (data search target table name 2-2 in FIG. 2). Then, the target table name is supplied to the data search means 221. The data search means 221 checks whether the table information of this table is stored in the table information storage unit 31 (Steps U1 and U2 in FIG. 7).

【0044】テーブル情報記憶部31から、このテーブ
ルのテーブル情報が検索された場合には、データ表示手
段222が、テーブル情報内の項目に関する情報、リレ
ーション関係情報、データ表示用情報を基に画面構成を
行い、データ検索画面12(図3)に出力する(U
3)。例えば、データ検索対象テーブル名2−2にテー
ブルAを指定して検索を実施した場合には、テーブル情
報記憶部31に記憶されている図2のテーブルAのテー
ブル項目情報2−31とテーブルA、テーブルB、テー
ブルCのリレーション関係情報2−34が検索される。
検索された図2のテーブルAのテーブル項目情報31に
より、図3の検索対象テーブル名表示部3−33と検索
項目表示部3−34が設定され、図2のテーブルA、テ
ーブルB、テーブルCのリレーション関係情報2−34
により、図3のリレーション情報表示部2−32が設定
される。リレーション情報表示部3−32には、リレー
ション表間の親子関係を表す記号(→、←)が表示さ
れ、→は、この例のテーブルAからテーブルBへの関係
のような、子となる表へのリレーション関係を表し、←
は、この例のテーブルBからテーブルAへの関係のよう
な、親となる表へのリレーション関係を表す。
When the table information of this table is retrieved from the table information storage section 31, the data display means 222 displays the screen configuration based on the information on the items in the table information, relation relation information, and data display information. And output it to the data search screen 12 (FIG. 3) (U
3). For example, when the search is performed by designating the table A as the data search target table name 2-2, the table item information 2-31 of the table A of FIG. , Table B and table C are searched for relation relation information 2-34.
The retrieved table item information 31 of the table A of FIG. 2 is used to set the search target table name display section 3-33 and the search item display section 3-34 of FIG. 3, and the tables A, B, and C of FIG. Relation information 2-34
Thus, the relation information display section 2-32 in FIG. 3 is set. In the relation information display section 3-32, symbols (→, ←) indicating the parent-child relationship between the relation tables are displayed, and → indicates a child table such as the relation from table A to table B in this example. Represents the relationship to
Represents a relation relation to the parent table, such as the relation from table B to table A in this example.

【0045】一方、U2で、テーブル情報記憶部31
に、このテーブルのテーブル情報が記憶されていなかっ
た場合は、エラーとし、データ表示手段222によりエ
ラーメッセージをテーブル情報管理画面11(図2のテ
ーブル情報設定部2−3)に出力する(U4)。
On the other hand, at U2, the table information storage 31
If the table information of this table is not stored, it is determined that an error has occurred, and an error message is output to the table information management screen 11 (table information setting unit 2-3 in FIG. 2) by the data display unit 222 (U4). .

【0046】次に、データ検索画面12からデータを検
索する処理について、図8のフローチャートに沿って説
明する。データ検索画面12で検索条件を指定(図3の
検索条件設定部3−31に条件指定またはリレーション
対象テーブル項目3−41からデータ選択)して、検索
が実行(図3の条件検索3−1またはリレーション検索
3−2)されると、データ検索の種類と検索条件がデー
タ検索手段221に供給される。データ検索手段221
は、このデータ検索の種類を調べる(図8のステップV
1およびV2)。データ検索の種類が、条件検索の場合
には、検索条件と共に供給される検索対象テーブル、検
索項目を指定してデータ記憶部32を検索する(V
3)。検索結果は、データ表示手段222により、デー
タ検索画面12(図3のデータ表示部3−4)に出力さ
れる(V4)。
Next, the process of searching for data from the data search screen 12 will be described with reference to the flowchart of FIG. A search condition is designated on the data search screen 12 (designation of a condition in the search condition setting unit 3-31 of FIG. 3 or selection of data from the relation target table item 3-41), and a search is executed (condition search 3-1 of FIG. 3). Alternatively, when the relation search 3-2) is performed, the type of data search and the search condition are supplied to the data search unit 221. Data search means 221
Checks the type of this data search (step V in FIG. 8).
1 and V2). When the type of data search is a condition search, the data storage unit 32 is searched by specifying a search target table and a search item supplied together with the search condition (V
3). The search result is output to the data search screen 12 (the data display section 3-4 in FIG. 3) by the data display means 222 (V4).

【0047】一方、V2で、データ検索の種類が、リレ
ーション検索の場合には、検索条件と共に供給される検
索対象テーブルのテーブル情報がテーブル情報記憶部3
1に記憶されているかどうかを調べる(V5,V6)。
テーブル情報記憶部31に、このテーブルのテーブル情
報が記憶されていなかった場合は、エラーとし、データ
表示手段222により、エラーメッセージをデータ検索
画面11(図3)に表示する(V7)。一方、V6でテ
ーブル情報が検索された場合には、検索されたテーブル
情報内の検索項目と既に供給されている検索対象テーブ
ル、検索条件を指定してデータ記憶部32を検索する
(V8)。データ表示手段222は、検索されたテーブ
ル情報内の項目に関する情報、リレーション関係情報、
データ表示用情報を基に画面構成を行い、新たなデータ
検索画面12(図3)を出力し、その画面に検索された
データ情報を出力する(V9)。
On the other hand, in the case of V2, when the type of data search is a relation search, the table information of the search target table supplied together with the search condition is stored in the table information storage unit 3.
It is checked whether it is stored in No. 1 (V5, V6).
If the table information of this table is not stored in the table information storage unit 31, it is regarded as an error, and an error message is displayed on the data search screen 11 (FIG. 3) by the data display unit 222 (V7). On the other hand, when the table information is searched in V6, the data storage unit 32 is searched by specifying the search item in the searched table information, the search target table already supplied, and the search condition (V8). The data display means 222 includes information on items in the searched table information, relation-related information,
The screen is configured based on the data display information, a new data search screen 12 (FIG. 3) is output, and the searched data information is output to the screen (V9).

【0048】なお、以上に説明したデータベース・テー
ブル情報管理方法をコンピュータに実行させるプログラ
ムをフロッピー・ディスク,半導体メモリ等の記録媒体
に記録し、コンピュータに読み込ませて実行するように
してもよい。
A program for causing a computer to execute the database table information management method described above may be recorded on a recording medium such as a floppy disk or a semiconductor memory and read and executed by a computer.

【0049】[0049]

【発明の効果】本発明の第1の効果は、データベースに
定義されているテーブルの構造を容易に参照することが
でき、テーブルの構造を変更した時も構造の管理が容易
に行えることである。この結果、データベース・テーブ
ルの構造管理工数を削減できる。その理由は、各テーブ
ルの項目に関する詳細情報とリレーション関係情報をテ
ーブル情報としてデータベースに登録し、管理するため
である。
A first effect of the present invention is that the structure of a table defined in a database can be easily referred to, and the structure can be easily managed even when the structure of the table is changed. . As a result, the number of man-hours for managing the structure of the database table can be reduced. The reason is to register and manage the detailed information and the relation-related information on the items of each table as table information in the database.

【0050】また、第2の効果は、テーブルの汎化なリ
レーション関係が定義できることである。この結果、よ
り多くのデータベース・テーブルの構造管理が行える。
その理由は、テーブル情報内の項目に関する詳細情報と
して汎化条件を含んでいるためである。
A second effect is that a generalized relation of a table can be defined. As a result, the structure of more database tables can be managed.
The reason is that generalization conditions are included as detailed information on items in the table information.

【0051】さらに、第3の効果は、各テーブルに登録
されているデータをテーブルのリレーション関係に沿っ
て、条件を絞り込みながら階層的に検索できることであ
る。この結果、データ検索が容易に行え、検索作業を効
率的に行える。その理由は、データベースに登録された
テーブル情報を使用してテーブルの構造を認識しながら
検索を実施するためである。
A third effect is that data registered in each table can be searched hierarchically while narrowing down conditions along the relation of the tables. As a result, the data search can be easily performed, and the search operation can be efficiently performed. The reason is that the search is performed while recognizing the table structure using the table information registered in the database.

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

【図1】本発明のデータベース・テーブル情報管理シス
テムの一実施例を示すブロック図
FIG. 1 is a block diagram showing an embodiment of a database / table information management system according to the present invention.

【図2】本発明におけるテーブル情報管理画面を示す図FIG. 2 is a diagram showing a table information management screen according to the present invention.

【図3】本発明におけるデータ情報検索画面を示す図FIG. 3 is a diagram showing a data information search screen according to the present invention.

【図4】本発明におけるテーブルのリレーション例を示
す図
FIG. 4 is a diagram showing an example of a table relation according to the present invention;

【図5】本発明におけるテーブル情報検索処理のフロー
チャート
FIG. 5 is a flowchart of a table information search process according to the present invention.

【図6】本発明におけるテーブル情報登録処理のフロー
チャート
FIG. 6 is a flowchart of a table information registration process according to the present invention.

【図7】本発明におけるデータ検索画面表示処理のフロ
ーチャート
FIG. 7 is a flowchart of a data search screen display process according to the present invention.

【図8】本発明におけるデータ検索処理のフローチャー
FIG. 8 is a flowchart of a data search process according to the present invention.

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

1 ユーザインタフェース部 2 処理部 3 データベース部 11 テーブル情報管理画面 12 データ検索画面 21 テーブル情報処理部 22 データ検索処理部 31 テーブル情報記憶部 32 データ記憶部 211 テーブル情報検索手段 212 テーブル情報表示手段 213 テーブル情報登録手段 221 データ検索手段 222 データ表示手段 2−1 テーブル情報定義テーブル名 2−2 データ検索対象テーブル名 2−3 テーブル情報設定部 2−31 テーブル項目情報 2−32 テーブル項目情報 2−33 テーブル項目情報 2−34 リレーション関係情報 3−1 条件検索 3−2 リレーション検索 3−3 テーブル情報表示部 3−4 データ表示部 3−31 検索条件設定部 3−32 リレーション情報表示部 3−33 検索対象テーブル名表示部 3−34 検索項目表示部 3−41 リレーション対象テーブル項目 4−1 汎化なリレーション DESCRIPTION OF SYMBOLS 1 User interface part 2 Processing part 3 Database part 11 Table information management screen 12 Data search screen 21 Table information processing part 22 Data search processing part 31 Table information storage part 32 Data storage part 211 Table information search means 212 Table information display means 213 Table Information registration unit 221 Data search unit 222 Data display unit 2-1 Table information definition table name 2-2 Data search target table name 2-3 Table information setting unit 2-31 Table item information 2-32 Table item information 2-33 Table Item information 2-34 Relation information 3-1 Condition search 3-2 Relation search 3-3 Table information display section 3-4 Data display section 3-31 Search condition setting section 3-32 Relation information display section 3-33 Search target table name Display section 3-34 Search item display section 3-41 Relation target table item 4-1 Generalized relation

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】データベースのテーブルおよびデータを記
憶するデータ記憶部と、 該データ記憶部に定義されているテーブルの項目に関す
る詳細情報および各テーブルのリレーションの情報をテ
ーブル情報として記憶するテーブル記憶部とからなるデ
ータベース部と、 テーブル情報管理画面からのテーブル情報検索または登
録要求に対して前記テーブル情報記憶部のテーブルを管
理するテーブル情報処理部と、データ検索画面からの処
理要求に対して前記データ記憶部のデータを検索するデ
ータ検索処理部とを有することを特徴とするデータベー
ス・テーブル情報管理システム。
1. A data storage unit for storing tables and data of a database, and a table storage unit for storing, as table information, detailed information on items of tables defined in the data storage unit and information on relations of each table. A table information processing unit for managing a table in the table information storage unit in response to a table information search or registration request from a table information management screen; and a data storage unit in response to a processing request from a data search screen. And a data retrieval processing unit for retrieving the data of the database table information management system.
【請求項2】前記詳細情報は、テーブルの項目に関する
項目別名,データ表示形式,検索対象設定,条件指定可
否,汎化条件有無を含むことを特徴とする請求項1記載
のデータベース・テーブル情報管理システム。
2. The database table information management according to claim 1, wherein the detailed information includes an item alias, an data display format, a search target setting, whether or not a condition can be specified, and whether or not there is a generalization condition with respect to a table item. system.
【請求項3】前記テーブル情報処理部は、管理対象テー
ブルのデータ項目に関する情報を前記データ記憶部か
ら、テーブル情報を前記テーブル情報記憶部からそれぞ
れ検索し、両者の比較によってテーブル情報内の項目に
関する情報の変更の有無を調べるテーブル情報検索手段
と、前記変更が有るときは前記検索されたテーブル情報
に変更分を反映させて前記テーブル情報管理画面に出力
するテーブル情報表示手段と、前記テーブル情報管理画
面に設定されたテーブル情報を登録要求として受け取り
前記テーブル情報記憶部に登録するテーブル情報登録手
段とを有し、 また、前記データ検索処理部は、前記テーブル情報管理
画面から受け取った検索対象テーブル名によって、デー
タ検索対象となるテーブルに関するテーブル情報を前記
テーブル情報記憶部から検出するデータ検索手段と、該
検索されたテーブル情報内のテーブルの項目に関する詳
細情報およびリレーション情報によって前記データ検索
画面を表示するデータ表示手段とを有し、前記データ検
索手段は該データ検索画面によって前記データ記憶部を
検索することを特徴とする請求項1または請求項2記載
のデータベース・テーブル情報管理システム。
3. The table information processing unit retrieves information on data items of the table to be managed from the data storage unit and table information from the table information storage unit, and compares the two to compare the items in the table information. Table information search means for checking whether or not information has been changed; table information display means for, when there is a change, reflecting the change in the searched table information and outputting the change to the table information management screen; Table information registering means for receiving table information set on the screen as a registration request and registering the table information in the table information storage unit; and the data search processing unit includes a search target table name received from the table information management screen. Table information on the table to be searched for data A data search unit that detects from the file information storage unit; and a data display unit that displays the data search screen based on detailed information and relation information regarding a table item in the searched table information. 3. The database / table information management system according to claim 1, wherein the data storage unit is searched by the data search screen.
【請求項4】前記データ検索画面に、検索対象テーブル
のリレーション情報が表示されると、前記データ検索手
段は、先ず、検索するリレーション先テーブルのテーブ
ル情報を前記テーブル情報記憶部から取得し、次に、該
取得したテーブル情報に含まれる検索対象テーブルの検
索項目と指定された検索条件を使用して前記データ記憶
部を検索することを特徴とする請求項3記載のデータベ
ース・テーブル情報管理システム。
4. When relation information of a search target table is displayed on the data search screen, the data search means first acquires table information of a relation destination table to be searched from the table information storage unit. 4. The database table information management system according to claim 3, wherein the data storage unit is searched using a search item of a search target table included in the acquired table information and a specified search condition.
【請求項5】データ記憶部から管理対象テーブルのデー
タ項目に関する情報を検索する手順と、テーブル情報記
憶部からテーブル情報を検索する手順と、これらの検索
によって得たデータ項目に関する情報とテーブル情報を
比較してテーブル情報内の項目に関する情報の変更の有
無を調べる手順と、前記変更が有るときは前記検索され
たテーブル情報に変更分を反映させてテーブル情報管理
画面に出力する手順と、該テーブル情報を登録要求とし
て受け取り前記テーブル情報記憶部に登録する手順と、
前記テーブル情報管理画面から受け取った検索対象テー
ブル名によって、データ検索対象となるテーブルに関す
るテーブル情報を前記データ情報記憶部から検索する手
順と、該検索されたテーブル情報内のテーブルの項目に
関する詳細情報およびリレーション情報によってデータ
検索画面を表示する手順と、該データ検索画面によって
前記データ記憶部を検索する手順とを有するデータベー
ス・テーブル情報管理方法。
5. A procedure for retrieving information relating to data items of a management target table from a data storage unit, a procedure for retrieving table information from a table information storage unit, and retrieving information relating to data items and table information obtained by these retrievals. Comparing the information on the items in the table information to determine whether or not there is a change in the table information; and, if there is any change, outputting the changed information to the retrieved table information on the table information management screen. Receiving information as a registration request and registering the information in the table information storage unit;
A step of searching the data information storage unit for table information on a table to be a data search target, based on the search target table name received from the table information management screen; and detailed information on table items in the searched table information. A database / table information management method, comprising: displaying a data search screen according to relation information; and searching the data storage unit using the data search screen.
【請求項6】データ記憶部から管理対象テーブルのデー
タ項目に関する情報を検索する手順と、テーブル情報記
憶部からテーブル情報を検索する手順と、これらの検索
によって得たデータ項目に関する情報とテーブル情報を
比較してテーブル情報内の項目に関する情報の変更の有
無を調べる手順と、前記変更が有るときは前記検索され
たテーブル情報に変更分を反映させてテーブル情報管理
画面に出力する手順と、該テーブル情報を登録要求とし
て受け取り前記テーブル情報記憶部に登録する手順と、
前記テーブル情報管理画面から受け取った検索対象テー
ブル名によって、データ検索対象となるテーブルに関す
るテーブル情報を前記データ情報記憶部から検索する手
順と、該検索されたテーブル情報内のテーブルの項目に
関する詳細情報およびリレーション情報によってデータ
検索画面を表示する手順と、該データ検索画面によって
前記データ記憶部を検索する手順とを有するデータベー
ス・テーブル情報管理方法をコンピュータに実行させる
プログラムを記録したコンピュータ読み込み可能な記録
媒体。
6. A procedure for retrieving information relating to data items of a table to be managed from a data storage unit, a procedure for retrieving table information from a table information storage unit, and retrieving information relating to data items and table information obtained by these retrievals. Comparing the information on the items in the table information to determine whether or not there is a change in the table information; and, if there is any change, outputting the changed information to the retrieved table information on the table information management screen. Receiving information as a registration request and registering the information in the table information storage unit;
A step of searching the data information storage unit for table information on a table to be a data search target, based on the search target table name received from the table information management screen; and detailed information on table items in the searched table information. A computer-readable recording medium storing a program for causing a computer to execute a database / table information management method having a procedure of displaying a data search screen using relation information and a procedure of searching the data storage unit using the data search screen.
JP10215756A 1998-07-30 1998-07-30 System and method for managing data base table information Pending JP2000047914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10215756A JP2000047914A (en) 1998-07-30 1998-07-30 System and method for managing data base table information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10215756A JP2000047914A (en) 1998-07-30 1998-07-30 System and method for managing data base table information

Publications (1)

Publication Number Publication Date
JP2000047914A true JP2000047914A (en) 2000-02-18

Family

ID=16677715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10215756A Pending JP2000047914A (en) 1998-07-30 1998-07-30 System and method for managing data base table information

Country Status (1)

Country Link
JP (1) JP2000047914A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591863A (en) * 2011-01-06 2012-07-18 上海银晨智能识别科技有限公司 Data processing method and device in comparison system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591863A (en) * 2011-01-06 2012-07-18 上海银晨智能识别科技有限公司 Data processing method and device in comparison system

Similar Documents

Publication Publication Date Title
JP2003316634A (en) Data base management method and device and processing program therefor
JP2000047914A (en) System and method for managing data base table information
JP4048006B2 (en) Database search system and method
JP2003223453A (en) Matching method for address information with position coordinates
JPH1097546A (en) Reduced picture read system and its method
JP2004126838A (en) Document creation supporting method
JPH05151056A (en) Data controller
JP2000298680A (en) Method and device for dividing sample and its program recording medium
JPH10254887A (en) Data base system
JPH01233517A (en) Data base retrieving device
JPH06187385A (en) Drawing retrieval system
JPH08263535A (en) Three-dimensional structure data managing method
JPH04359373A (en) Electronic filing device
JPH0447367A (en) Data base retrieval system
JP2000250941A (en) Data management system and its method
JP2002014985A (en) Document retrieval system and retrieved document registration control method
JPH10240744A (en) System for processing retrieval of range division chart and method therefor and recording medium for recording retrieval processing program
JPH06314226A (en) Data update method
JPH0728788A (en) Documentation device and document saving and calling method
JPH05120340A (en) Routing address managing method
JPH03251937A (en) Data base retrieving system
JPH07175686A (en) Error system
JPH04369775A (en) System for registering attribute data
JP2002215624A (en) Document management system
JPH10289136A (en) Data file loading system