Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0789333B2 - Database control method - Google Patents
[go: Go Back, main page]

JPH0789333B2 - Database control method - Google Patents

Database control method

Info

Publication number
JPH0789333B2
JPH0789333B2 JP61013803A JP1380386A JPH0789333B2 JP H0789333 B2 JPH0789333 B2 JP H0789333B2 JP 61013803 A JP61013803 A JP 61013803A JP 1380386 A JP1380386 A JP 1380386A JP H0789333 B2 JPH0789333 B2 JP H0789333B2
Authority
JP
Japan
Prior art keywords
database
format
information
screen
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61013803A
Other languages
Japanese (ja)
Other versions
JPS62173528A (en
Inventor
典幸 高橋
利夫 山根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP61013803A priority Critical patent/JPH0789333B2/en
Publication of JPS62173528A publication Critical patent/JPS62173528A/en
Publication of JPH0789333B2 publication Critical patent/JPH0789333B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータベースの制御方式、特に構造型データベ
ースの検索におけるエンドユーザインタフェースに関す
る。
The present invention relates to a database control method, and more particularly to an end user interface for searching a structured database.

〔従来の技術〕[Conventional technology]

構造型データベースにおけるデータの検索方法として、
特開昭57−109050号公報に示されるようにディスプレイ
画面にデータベースの論理構成図を表示し、オペレータ
が必要とするデータを出力させるため検索コマンドを投
入するときのガイドとしていた。
As a method of searching data in a structured database,
As shown in Japanese Patent Application Laid-Open No. 57-109050, a logical configuration diagram of a database is displayed on the display screen, and it is used as a guide when inputting a search command in order to output data required by an operator.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、この方式ではガイドは表示されるものの
オペレータは構造型データベースの構成に従った検索手
順を順次とらなければ必要なデータが得られない。
However, in this method, although the guide is displayed, the operator cannot obtain the necessary data unless the search procedure is sequentially performed according to the structure of the structural database.

本発明の目的は従来の問題点を解決することである。The object of the present invention is to solve the problems of the prior art.

〔問題点を解決するための手段〕[Means for solving problems]

出力すべきデータの表形式に編集されたフォーマットを
登録しておき、指定された登録しておいたフォーマット
に従ってデータベースからデータを読み出して表示する
手段を設けた。
A means is provided in which the edited format is registered in the table format of the data to be output, and the data is read from the database and displayed in accordance with the specified registered format.

〔作用〕[Action]

データベースを検索する人は一旦出力フォーマットを編
集して入力すると、次にそのフォーマットを指定するだ
けでデータベースの構造にに係らず所望のデータを得る
ことができる。
A person who searches the database can edit the output format once and input it, and then simply specify the format to obtain desired data regardless of the structure of the database.

〔実施例〕〔Example〕

次に図を参照しながら本発明の実施例を説明する。第1
図は本発明が適用されるコンピュータシステムの概略構
成図である。中央処理装置1はメモリ3に格納されたプ
ログラムに従った処理を遂行する処理部2と、プログラ
ム及び諸データを格納するメモリ3を備えている。外部
記憶装置4はプログラムの実行に伴なってアクセスされ
るものであり、データベースやその他のデータを格納し
ている。端末装置5からはプログラムに対して処理要求
が出され、端末装置5へはプログラムの処理結果や、オ
ペレータへの指示が表示される。
Next, an embodiment of the present invention will be described with reference to the drawings. First
FIG. 1 is a schematic configuration diagram of a computer system to which the present invention is applied. The central processing unit 1 includes a processing unit 2 that performs processing according to a program stored in the memory 3, and a memory 3 that stores the program and various data. The external storage device 4 is accessed as the program is executed, and stores a database and other data. A processing request is issued to the program from the terminal device 5, and the processing result of the program and an instruction to the operator are displayed on the terminal device 5.

こうしたシステムにおいて、第2a図に示すように、外部
記憶装置4にデータベース定義情報をもつデータディク
ショナリが、そして第3図に示すデータベースが格納さ
れている。本発明においては更に後に詳述するテーブル
情報21とそのテーブルの詳細を示すカラム情報22とから
なるテーブル定義情報が格納されている。
In such a system, a data dictionary having database definition information is stored in the external storage device 4 as shown in FIG. 2a, and a database shown in FIG. 3 is stored. In the present invention, table definition information including table information 21 described later in detail and column information 22 showing details of the table is stored.

このテーブル定義情報の作成と、これを利用したテーブ
ルの表示の制御を説明する。
The creation of this table definition information and the control of the display of the table using this will be described.

はじめにテーブル定義情報の作成について説明する。第
4a図,第4b図は中央処理装置1に具えられたプログラム
のフローチャートであり、この実行によって制御が遂行
される。第5a図,第5b図はテーブル定義情報作成におけ
る端末装置5の表示画面の推移を示す。まず、データベ
ース名を入力する処理を行なう(401)。このとき、画
面51には日本語で示すガイダンスが表示され、英字の各
名称がキーインされる。これが中央側へ送られ入力され
る。次に、これに従って、当該データベースを構成する
レコードを画面52のように表示する(402)。目的レコ
ードがないためオペレータによって何も選択されなけれ
ばステップ401へ戻り、オペレータにより図のようにZAI
KORECが選択され、当該位置にYのマークがキーインさ
れると(403),目的レコード選択を認識する(404)。
目的レコードだけで表を作るかどうかのオペレータの指
示を認識し(405),NOのとき、目的レコードの直接のオ
ーナレコード(親レコード)に関するディレクトを読み
出し画面53のように表示する(406)。オペレータによ
りSHOHINRECが選択されたことを認識し(407),これら
レコードのコンポーネントを画面54のように表示する。
第3図のデータベースにおいて上記を説明すれば、在庫
レコードが目的レコードとして選択され、そのオーナレ
コードの1つである商品レコードが次に選択された。画
面54において、上の二行はそれぞれ商品レコードのコン
ポーネントの残りは在庫レコードのコンポーネントの構
造(フォーマット)を示す。画面に全体を一度に表示す
ることができないので点線で示すように横にスクロール
して表示する。コンポーネントの編集が必要であるとき
(409)まず、画面上にオペレータにより削除“E"のマ
ークが不要なコンポーネント名に対応して付される。そ
れからコンポーネントの並びかえを指定する。例えば
“M"はSNAMEというコンポーネントを“T"で示されたZTY
PEというコンポーネントの前に移動させるという指定で
ある。これを読み取ってコンポーネントの選択と並びか
えを行なう(410)。そして画面55のようにステップ410
で編集した結果をオペレータの確認のため表示する(41
1)。フォーマットの編集であるのでディレクトリだけ
が参照され、データは参照されていない。従って、ブラ
ンクフォマットとして表示される。オペレータはこれを
見て思いどおりの削除並び替えが入力されたかどうかを
確認し、その旨を入力する。表示した形式で良ければ
(412),この表の形式の定義情報の作成・登録を行な
う(413)。このとき画面56のようにオペレータに編集
終了が知らされる。ステップ413ではテーブル情報21と
カラム情報22の作成と登録が行なわれる。テーブル情報
21は以上の処理により作成されたテーブルのテーブル
名,テーブル日本語名,パスワード,作成日付,作成時
刻,スキーマ名,構成するレコード数,構成するコンポ
ーネント名などを記憶する。カラム情報22はテーブル情
報21からポイントされ、テーブルを構成するデータベー
スのレコード情報と構成するレコード間の関係情報、即
ちレコード名,セット名,や2つのレコードの定義情報
が格納される部分と、テーブルのカラムを構成するコン
ポーネント情報及び編集形式,即ち、レコード番号,コ
ンポーネント名称,カラムヘッダ,入出力幅,属性,く
り返しの有無,編集形式(カラム中にマーク等を付ける
などの指示)を表中のカラム順に並べて記憶する部分と
からなる。これにより画面55で示されるような表のフォ
ーマットが記憶される。テーブル情報21とカラム情報22
は1つの表について1組登録される。
First, the creation of table definition information will be described. First
4a and 4b are flowcharts of a program included in the central processing unit 1, and the control is performed by this execution. FIGS. 5a and 5b show the transition of the display screen of the terminal device 5 in creating the table definition information. First, a process of inputting a database name is performed (401). At this time, the guidance shown in Japanese is displayed on the screen 51, and each name in English is keyed in. This is sent to the center side and input. Then, according to this, the records constituting the database are displayed like the screen 52 (402). If there is no target record and nothing is selected by the operator, the process returns to step 401, and the operator sets ZAI as shown in the figure.
When KOREC is selected and the Y mark is keyed in at that position (403), the target record selection is recognized (404).
Recognizing the operator's instruction as to whether or not to make a table with only the target record (405), when NO, the directory regarding the direct owner record (parent record) of the target record is displayed as in the read screen 53 (406). Recognizing that SHOHINREC has been selected by the operator (407), the components of these records are displayed as in screen 54.
To explain the above in the database of FIG. 3, the inventory record was selected as the target record, and the merchandise record which is one of the owner records was selected next. In the screen 54, the upper two lines show the structure (format) of the components of the inventory record and the rest of the components of the commodity record, respectively. Since it is not possible to display the entire screen at once, scroll horizontally to display as shown by the dotted line. When it is necessary to edit a component (409) First, an operator adds a mark of "E" for deletion to the unnecessary component name on the screen. Then specify the order of the components. For example, "M" is a ZTY with a component named SNAME indicated by "T".
It is specified to be moved before the PE component. By reading this, the components are selected and rearranged (410). Then step 410 as on screen 55
Display the result edited in step 4 for operator confirmation (41
1). Since this is a format edit, only the directory is referenced, not the data. Therefore, it is displayed as a blank format. The operator looks at this and confirms whether or not the desired deletion rearrangement has been input, and inputs that effect. If the displayed format is acceptable (412), the definition information in the format of this table is created and registered (413). At this time, the operator is notified of the end of editing as shown in screen 56. In step 413, table information 21 and column information 22 are created and registered. Table information
21 stores the table name of the table created by the above processing, the Japanese name of the table, the password, the creation date, the creation time, the schema name, the number of records to be configured, the component name to be configured, and the like. The column information 22 is pointed to by the table information 21, and the relation information between the record information of the database forming the table and the record constituting the table, that is, the part storing the record name, the set name, and the definition information of two records, and the table The component information and editing format that make up each column in the table, that is, the record number, component name, column header, input / output width, attribute, presence / absence of repetition, and editing format (instructions such as adding a mark in the column) in the table It is composed of a part arranged in a column order and stored. This stores the format of the table as shown on screen 55. Table information 21 and column information 22
Is registered for one table.

以上の処理によってオペレータにより任意に指定された
表のフォーマットが登録される。
By the above process, the table format arbitrarily designated by the operator is registered.

次に、登録されたフォーマットの表を表示する制御につ
いて説明する。
Next, the control for displaying the table of the registered formats will be described.

端末装置5から画面61のように登録時のテーブル名ZAIK
Oを入力して表示を指示する。中央処理装置1はこのテ
ーブル名でテーブル情報21等を読み出し、画面62のよう
な登録された表のフォーマットを表示する。オペレータ
はこの表についてデータを得たいのであれば操作の欄に
“8"をキーインする。中央処理装置1はこれを認識する
と、登録されたレコード名,コンポーネント名等により
第3図のデータベースを検索してデータを得て、これを
フォーマットに従って画面63のように表示する。
Table name ZAIK at the time of registration from terminal 5 as shown in screen 61
Enter O to indicate the display. The central processing unit 1 reads out the table information 21 and the like with this table name and displays the format of the registered table such as the screen 62. If the operator wants to obtain data for this table, he will key in "8" in the operation column. When the central processing unit 1 recognizes this, it searches the database of FIG. 3 by the registered record name, component name, etc. to obtain data, and displays it according to the format as a screen 63.

以上のようであるから、データベースの構造に係らず任
意に編集された表形式の出力が簡単な指示だけで得られ
る。表のフォーマットを一旦登録すればデータが更新さ
れても再登録する必要はない。
As described above, tabular output that has been arbitrarily edited regardless of the structure of the database can be obtained with a simple instruction. Once the table format is registered, it is not necessary to register again even if the data is updated.

〔発明の効果〕〔The invention's effect〕

以上のような本発明によれば構造型データベースにおい
て簡単な操作により任意に編集されたデータを得ること
ができる。
According to the present invention as described above, it is possible to obtain arbitrarily edited data in a structural database by a simple operation.

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

第1図は本発明が適用されるコンピュータシステムの概
略構成図,第2a図は本発明におけるディクショナリの一
例を示す図,第2b図はテーブル情報とカラム情報の詳細
例を示す図,第3図はデータベースの一例を示す図,第
4a図,第4b図は表フォーマット登録制御のフローチャー
ト,第5a図,第5b図は表フォーマット登録時の画面例を
示す図,第6図は表の表示時の画面例を示す図。 21……テーブル情報,22……カラム情報。
FIG. 1 is a schematic configuration diagram of a computer system to which the present invention is applied, FIG. 2a is a diagram showing an example of a dictionary in the present invention, FIG. 2b is a diagram showing detailed examples of table information and column information, and FIG. Is a diagram showing an example of a database,
FIGS. 4a and 4b are flowcharts of table format registration control, FIGS. 5a and 5b are screen examples when registering a table format, and FIG. 6 is a screen example when displaying a table. 21 …… Table information, 22 …… Column information.

フロントページの続き (56)参考文献 特開 昭59−95645(JP,A) 特開 昭61−15276(JP,A) 特開 昭56−90369(JP,A) 特開 昭59−180763(JP,A) JEFFREY D.ULLMAN著、 國井利泰、大保信夫訳「コンピュータ・サ イエンス研究書 シリーズ24 データベー ス・システムの原理」(昭60−5−25)日 本コンピュータ協会 PP.115−149「3 ネットワークモデルとDBTG提案」 D.C.Tsichrtizis,F. H.Lochovsky著、斎藤忠夫訳 「コンピュータ・サイエンス研究書 シリ ーズ20 データベース管理システム」(昭 54−11−25)日本コンピュータ協会 P P.146−199「第6章 ネットワーク形シ ステム」 C.J.Date著、藤原譲訳「データ ベース・システム概論」(昭59−1−30) 丸善 PP.445−467「26.DBTGのデ ータ操作」Front page continuation (56) Reference JP 59-95645 (JP, A) JP 61-15276 (JP, A) JP 56-90369 (JP, A) JP 59-180763 (JP , A) JEFFREY D. ULLMAN, Translated by Toshiyasu Kunii, Nobuo Ohbo "Computer Science Research Series 24 Principles of Database Systems" (SHO 60-5-25) Japan Computer Association PP. 115-149 “3 Network model and DBTG proposal” D. C. Tsichritisis, F.H. Lochovsky, translated by Tadao Saito "Computer Science Research Book Series 20 Database Management System" (SHO 54-11-25) Japan Computer Association P.P. 146-199 “Chapter 6 Network System” C. J. Date, J. Fujiwara, "Introduction to Database Systems" (SHO 59-1-30) Maruzen PP. 445-467 "26. DBTG data operation"

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のデータレコード及びレコード内のコ
ンポーネントが構造型の構成に従って格納される構造型
データベースの制御方法であって、目的とするレコード
及びその親となるレコードから複数のコンポーネント名
を選択して表形式のテーブル定義情報を編成し、該テー
ブル定義情報中のコンポーネント名に基づく検索指令に
応答して該構造型データベースを検索し、該表形式に従
って各コンポーネント名に対応するデータをそれぞれ出
力することを特徴とするデータベースの制御方法。
1. A method of controlling a structural database in which a plurality of data records and components within the records are stored according to a structural structure, wherein a plurality of component names are selected from a target record and its parent record. The table definition information in a table format is organized, the structural database is searched in response to a search command based on the component name in the table definition information, and data corresponding to each component name is output according to the table format. A method of controlling a database characterized by:
JP61013803A 1986-01-27 1986-01-27 Database control method Expired - Lifetime JPH0789333B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61013803A JPH0789333B2 (en) 1986-01-27 1986-01-27 Database control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61013803A JPH0789333B2 (en) 1986-01-27 1986-01-27 Database control method

Publications (2)

Publication Number Publication Date
JPS62173528A JPS62173528A (en) 1987-07-30
JPH0789333B2 true JPH0789333B2 (en) 1995-09-27

Family

ID=11843417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61013803A Expired - Lifetime JPH0789333B2 (en) 1986-01-27 1986-01-27 Database control method

Country Status (1)

Country Link
JP (1) JPH0789333B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11288290B2 (en) 2014-12-18 2022-03-29 Ab Initio Technology Llc Building reports

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5690369A (en) * 1979-12-24 1981-07-22 Fujitsu Ltd List-format data retrieval system
JPS5995645A (en) * 1982-11-24 1984-06-01 Toshiba Corp Information arranging device
JPS59180763A (en) * 1983-03-31 1984-10-13 Fujitsu Ltd System for accessing data base system
JPS6115276A (en) * 1984-06-30 1986-01-23 Toshiba Corp Document file device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
C.J.Date著、藤原譲訳「データベース・システム概論」(昭59−1−30)丸善PP.445−467「26.DBTGのデータ操作」
D.C.Tsichrtizis,F.H.Lochovsky著、斎藤忠夫訳「コンピュータ・サイエンス研究書シリーズ20データベース管理システム」(昭54−11−25)日本コンピュータ協会PP.146−199「第6章ネットワーク形システム」
JEFFREYD.ULLMAN著、國井利泰、大保信夫訳「コンピュータ・サイエンス研究書シリーズ24データベース・システムの原理」(昭60−5−25)日本コンピュータ協会PP.115−149「3ネットワークモデルとDBTG提案」

Also Published As

Publication number Publication date
JPS62173528A (en) 1987-07-30

Similar Documents

Publication Publication Date Title
US4939689A (en) Outline-driven database editing and retrieval system
JPH0475170A (en) Data base operation system
JPH01180062A (en) Document shaping device
JPH0789333B2 (en) Database control method
JP2845897B2 (en) Document search / display method and apparatus
JPH06243172A (en) Electronic filing device
JP2948088B2 (en) Integrated search system of family register information and removal information
JP2798147B2 (en) Database input / output method and input / output device
JP2906638B2 (en) Database search system
JP2868256B2 (en) Program editing device
JP2990314B2 (en) Data management device
JPH0359774A (en) Search support system and database system
JP3632988B2 (en) Item data processing device
JPH08161345A (en) Information retrieval method
JPH0561920A (en) Display method for information of hierarchical structure
JP2000259461A (en) Data connection system and computer readable recording medium with program recorded thereon
JPS61206053A (en) Data base control system
JPH01302592A (en) Information storing and retrieving device
JPS6284322A (en) Data input method of database system
JPS63214831A (en) How to manage files on your workstation
JPH03113672A (en) Data retrieval device
JP2000259667A (en) Document data registration system, document data registration method, and recording medium storing a program for realizing the method
JPH02219177A (en) Data retrieving method
JPH0442366A (en) Data retrieving device
JPH0785077A (en) Tabular data retrieval method and device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term