JPH0561920A - Display method for information of hierarchical structure - Google Patents
Display method for information of hierarchical structureInfo
- Publication number
- JPH0561920A JPH0561920A JP3224238A JP22423891A JPH0561920A JP H0561920 A JPH0561920 A JP H0561920A JP 3224238 A JP3224238 A JP 3224238A JP 22423891 A JP22423891 A JP 22423891A JP H0561920 A JPH0561920 A JP H0561920A
- Authority
- JP
- Japan
- Prior art keywords
- data
- information
- displayed
- hierarchical structure
- hierarchical
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、階層関係を持つ情報を
階層型メニュー画面を用いて表示する階層構造の情報表
示方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hierarchical information display method for displaying information having a hierarchical relationship using a hierarchical menu screen.
【0002】[0002]
【従来の技術】従来、データベースシステム等において
は、各種の情報(あるいは情報の名称)を階層構造に関
係付け、この階層構造の情報(あるいは情報の名称)を
検索キーに応じて検索し、表示装置の画面に表示する表
示方法が使用されている。2. Description of the Related Art Conventionally, in a database system or the like, various kinds of information (or information names) are associated with a hierarchical structure, and the hierarchical structure information (or information name) is searched according to a search key and displayed. The display method used to display on the screen of the device is used.
【0003】なお、この種の技術として関連するものに
は、例えば特公昭64−8853号公報等がある。As a technique related to this type, there is, for example, Japanese Patent Publication No. 64-8853.
【0004】[0004]
【発明が解決しようとする課題】ところが、上記従来の
表示方法においては、検索キーに対応した情報のみを表
示画面に表示し、その表示された情報がどの階層に属す
るものか、さらにはその下位階層に情報が存在するのか
どうかを表示するようにしていないため、画面に表示さ
れている情報の下位階層にさらに情報が存在するか否か
は、下位階層の情報を表示させる指示を行い、実際に下
位階層を表示させることによってのみ確認することがで
きる。このため、その確認のための操作が面倒で、かつ
回答を得るまでに時間がかかるという問題があった。However, in the above-mentioned conventional display method, only the information corresponding to the search key is displayed on the display screen, and the hierarchy to which the displayed information belongs, and further, its subordinates. Since it does not display whether or not information exists in the hierarchy, whether or not there is more information in the lower hierarchy of the information displayed on the screen is displayed by instructing to display the information in the lower hierarchy. It can be confirmed only by displaying the lower hierarchy in. Therefore, there is a problem that the operation for confirmation is troublesome and it takes time to obtain an answer.
【0005】また、全体の階層構造に対して、表示され
ている情報の階層位置関係が把握できず、情報の階層関
係がわかりにくいという問題があった。Further, there is a problem that the hierarchical positional relationship of displayed information cannot be grasped with respect to the overall hierarchical structure, and the hierarchical relationship of information is difficult to understand.
【0006】本発明の目的は、表示される情報の階層位
置関係を特別な操作を行うことなく確認することができ
る階層構造の情報表示方法を低供することである。An object of the present invention is to provide a method of displaying information in a hierarchical structure, which enables the hierarchical positional relationship of displayed information to be confirmed without any special operation.
【0007】[0007]
【課題を解決するための手段】本発明は、上記目的を達
成するために、階層構造に関係付けられた情報のうち、
同一階層の情報と、表示される各情報の階層レベルと、
その下位階層の階層数を同一画面に表示するようにし
た。In order to achieve the above-mentioned object, the present invention provides, among the information related to the hierarchical structure,
Information of the same hierarchy, and the hierarchy level of each displayed information,
The number of lower layers is displayed on the same screen.
【0008】[0008]
【作用】上記手段によれば、同一階層の情報と、表示さ
れる各情報の階層レベルと、その下位階層の階層数が同
一画面に表示されるので、表示される情報の階層位置関
係および下位階層に情報が存在するかどうかを特別な操
作を行うことなく確認することができる。According to the above means, since the information of the same layer, the layer level of each information to be displayed, and the number of layers of the lower layers are displayed on the same screen, the positional relationship of the displayed information and the lower layers are displayed. It is possible to check whether information exists in the hierarchy without performing any special operation.
【0009】[0009]
【実施例】以下、本発明を図示する実施例に基づいて詳
細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to illustrated embodiments.
【0010】図1は、本発明を適用したデータベースシ
ステムの一実施例を示すブロック構成図である。図にお
いて、1はデータ構造格納ファイル2からなるリレーシ
ョナルデータベース、3はこのリレーショナルデータベ
ースを操作するためのSQL言語を自動生成するSQL
言語自動生成プログラム、4はデータ階層構造編集制御
プログラム、5は中央処理装置、6は表示装置、7はキ
ーボード等で構成される入力装置であり、表示装置6の
表示画面60に表示されるカーソル9を上下、左右方向
に、移動するためのカーソル移動キー8を備えている。FIG. 1 is a block diagram showing an embodiment of a database system to which the present invention is applied. In the figure, 1 is a relational database consisting of a data structure storage file 2, and 3 is an SQL that automatically generates an SQL language for operating this relational database.
An automatic language generation program, 4 a data hierarchical structure editing control program, 5 a central processing unit, 6 a display unit, 7 an input unit composed of a keyboard, etc., and a cursor displayed on a display screen 60 of the display unit 6. A cursor movement key 8 is provided for moving the cursor 9 up and down and left and right.
【0011】データ構造格納ファイル2に格納されるデ
ータは、図示のように、表形式となっており、データ1
−1、2−1、2−3……などのようなデータ名に対
し、データID、親ポインタ、兄弟ポインタ、子ポイン
タ、上位データ数、階層位置、下階層数の欄が設けられ
ている。The data stored in the data structure storage file 2 is in a tabular format as shown in the figure, and the data 1
For data names such as -1, 2-1, 2-3, etc., columns for data ID, parent pointer, sibling pointer, child pointer, upper data number, hierarchical position, lower hierarchical number are provided. ..
【0012】データIDとは、データ名に付けた2進数
値からなる識別コードである。親ポインタ、兄弟ポイン
タ、子ポインタとは、自データに対して親、兄弟、子の
関係にある他のデータのデータIDを示すもので、デー
タID=1,2,3,4,5,6の各データが図2のよ
うな3層の階層構造になっている場合、これらの親ポイ
ンタ、兄弟ポインタ、子ポインタは図1のような値に設
定される。この親ポインタ、兄弟ポインタ、子ポインタ
によってデータの階層構造を表すデータ階層構造情報を
構成している。The data ID is an identification code consisting of a binary value added to the data name. The parent pointer, sibling pointer, and child pointer indicate data IDs of other data having parent, sibling, and child relationships with respect to the own data, and data ID = 1, 2, 3, 4, 5, 6 2 has a three-layer hierarchical structure as shown in FIG. 2, the parent pointer, sibling pointer, and child pointer are set to the values shown in FIG. The parent pointer, the sibling pointer, and the child pointer constitute data hierarchical structure information indicating a hierarchical structure of data.
【0013】上位データ数は、自データと同一階層を含
めて自データの上位階層に存在するデータ数を示し、下
位データ数は自データの下位に存在するデータ数を示す
ものである。階層位置とは、自データの階層位置を示す
ものであり、下階層数とは自データの下位に存在する階
層の数を示すものである。これらの上位データ数、下位
データ数、階層位置、下階層数の情報はデータ位置情報
を構成している。The number of upper data indicates the number of data existing in the upper layer of the own data including the same layer as the own data, and the number of lower data indicates the number of data existing in the lower layer of the own data. The layer position indicates the layer position of the own data, and the number of lower layers indicates the number of layers below the own data. The information on the number of upper data, the number of lower data, the layer position, and the number of lower layers constitutes the data position information.
【0014】次に以上構成において、表示装置6の表示
画面60に、入力装置7から指定されたデータ名の情報
を検索して表示する手順について、図3のデータフロー
図および図4のフローチャートを参照しながら説明す
る。Next, in the above-described structure, the data flow diagram of FIG. 3 and the flow chart of FIG. 4 will be described with respect to the procedure for retrieving and displaying the information of the data name designated by the input device 7 on the display screen 60 of the display device 6. It will be explained with reference to FIG.
【0015】まず、リレーショナルデータベースを検索
し、表示装置6に表示させたいデータの名称を入力装置
7から表入力する。次いで、「検索キー」(図示せず)
をカーソル9によって操作する。すると、中央処理装置
5は、これらのデータ名および検索キーの情報をデータ
階層構造編集制御プログラム4に渡す。そこで、データ
階層構造編集プログラム4はSQL言語自動生成プログ
ラム3を起動し、入力されたデータ名と、そのデータ名
の上位、下位、同位のいずれの階層を検索するかを示す
要求処理コードをSQL言語自動生成プログラム3に渡
す。要求処理コードとしては、入力装置7で上位または
下位の検索が指示されていない場合は、同位の検索を指
示するコードを渡す。First, the relational database is searched, and the name of the data to be displayed on the display device 6 is input from the input device 7 as a table. Then, a "search key" (not shown)
Is operated by the cursor 9. Then, the central processing unit 5 passes the information of the data name and the search key to the data hierarchical structure editing control program 4. Therefore, the data hierarchical structure editing program 4 activates the SQL language automatic generation program 3 and outputs the input data name and the request processing code indicating which of the upper level, the lower level and the same level of the data name is to be searched. Pass to the language automatic generation program 3. As the request processing code, when the input device 7 has not instructed a higher or lower search, a code for instructing the same search is passed.
【0016】SQL言語自動生成プログラム3は、要求
処理コードに基づき、入力されたデータ名を検索キーと
するデータ構造格納ファイル2の検索用のSQLコマン
ドを生成し、このSQLコマンドによってデータ構造格
納ファイル2を1レコード単位で検索する(図4のステ
ップ20,21)。この結果、入力装置7から指定され
たデータ名を持つデータが得られたならば、このデータ
と共に同一レコードに格納されているデータ階層構造情
報およびデータ位置情報を抽出し、検索したデータ名と
共にデータ階層構造編集制御プログラム4に渡す。The SQL language automatic generation program 3 generates an SQL command for searching the data structure storage file 2 using the input data name as a search key, based on the request processing code, and by this SQL command, the data structure storage file is generated. 2 is retrieved for each record (steps 20 and 21 in FIG. 4). As a result, if the data having the specified data name is obtained from the input device 7, the data hierarchical structure information and the data position information stored in the same record together with this data are extracted, and the retrieved data name and the data are extracted. It is passed to the hierarchical structure editing control program 4.
【0017】データ階層構造編集制御プログラム4は、
検索したデータ名の兄弟ポインタが「0」かどうかを調
べ、「0」でなければ、「0」の兄弟ポインタが見つか
るまで、検索したデータの兄弟ポインタをキーとする検
索用のSQLコマンドをSQL言語自動生成プログラム
3に生成させ、このSQLコマンドによってデータ構造
格納ファイル2を再度1レコード単位で検索させる(ス
テップ22,23,24)。The data hierarchical structure editing control program 4 is
It is checked whether the sibling pointer of the retrieved data name is "0", and if it is not "0", the SQL command for retrieval using the sibling pointer of the retrieved data as a key is SQL until a sibling pointer of "0" is found. The language automatic generation program 3 is caused to generate it, and the data structure storage file 2 is searched again for each record by this SQL command (steps 22, 23, 24).
【0018】例えば、データ名2−2のデータ検索要求
であったとすると、このデータの兄弟ポインタは「4」
であるので、兄弟ポインタ=4で示されるデータ名2−
3を検索させる。これにより、入力装置7で指定された
データ名2−2と同位の階層のデータが採取される(ス
テップ25)。次に、データ名2−3の兄弟ポインタは
「0」であるので、データ名2−3のデータを採取した
時点でデータ構造格納ファイル2の検索を終了する。For example, if it is a data search request of data name 2-2, the sibling pointer of this data is "4".
Therefore, the data name 2-indicated by the sibling pointer = 4
Search for 3. As a result, the data of the same layer as the data name 2-2 designated by the input device 7 is collected (step 25). Next, since the sibling pointer of the data name 2-3 is "0", the search of the data structure storage file 2 is completed at the time when the data of the data name 2-3 is collected.
【0019】データ階層構造編集正誤プログラム4は、
データ名2−2のデータを検索した時に得たデータ階層
構造情報およびデータ位置情報に基づき、全データ数、
全階層数を採取する(ステップ26)。そして、データ
名2−2のデータおよび同位のデータ2−3と、全デー
タ数、全階層数を表示装置6に表示させるべく、これら
の情報を中央処理装置5に渡す。 非中央処理装置5
は、画面表示処理を行い、入力された情報に基づく表示
画像を生成し、表示装置6の画面60に表示させる。The data hierarchical structure editing correct / incorrect program 4 is
Based on the data hierarchical structure information and data position information obtained when searching the data of data name 2-2, the total number of data,
The total number of layers is collected (step 26). Then, in order to display the data of the data name 2-2 and the peer data 2-3, the total number of data, and the total number of layers on the display device 6, this information is passed to the central processing unit 5. Non-central processing unit 5
Performs screen display processing, generates a display image based on the input information, and displays it on the screen 60 of the display device 6.
【0020】図1には、データ名2−1のデータ検索要
求を行った場合の表示例を示している。FIG. 1 shows a display example when a data search request for the data name 2-1 is made.
【0021】この表示例においては、入力装置7から検
索要求を行ったデータ名2−1が、その階層位置(階層
レベル)の情報が付記されて表示されている他、データ
名2−1と同一階層に存在するデータ名2−2および2
−3が階層位置の情報を付記して表示されている。さら
に、これらの各データ名2−1〜2−3には、それぞれ
の下位階層に含まれる下位データ数と下階層数が付記さ
れて表示されている。さらに、これらの各データ名2−
1〜2−3の上位階層のデータ名1−1とその階層位
置、上位データ数が付記されて表示されている。さらに
また、全階層数と全データ数が表示されている。In this display example, the data name 2-1 for which a search request is made from the input device 7 is displayed with the information of its hierarchical position (hierarchical level) additionally displayed, and also the data name 2-1. Data names 2-2 and 2 existing in the same layer
-3 is displayed with additional information on the hierarchical position. Further, in each of these data names 2-1 to 2-3, the number of lower data and the number of lower layers included in each lower layer are additionally displayed. Furthermore, each of these data names 2-
The data names 1-1 of the upper layers of 1-2, their hierarchical positions, and the number of upper data are additionally displayed. Furthermore, the total number of layers and the total number of data are displayed.
【0022】従って、この表示を見れば、検索要求を行
ったデータ名2−1がどの階層であるか、その下位の階
層は存在するのか、同一階層にはどのようなデータ名が
存在するのかを極めて簡単に判断することができる。し
たがって、データベースにおいて各種のデータを検索す
る場合に上下階層を調べるための操作が不要になり、目
的とするデータを短時間で効率的に検索することができ
るようになる。同時に、データの全体構造が明瞭になる
ので、検索語も極めて適切なものを選択し、検索効率を
向上させることができる。Therefore, looking at this display, which layer is the data name 2-1 for which the search request is made, is there a lower layer, and what data name is in the same layer? Can be determined very easily. Therefore, when searching various data in the database, an operation for checking the upper and lower layers is not required, and the target data can be efficiently searched in a short time. At the same time, since the entire structure of the data becomes clear, it is possible to select an extremely appropriate search word and improve the search efficiency.
【0023】なお、上記表示例においては、上位階層の
データ名、上位データ数、上位階層位置、全階層数、全
データ数、下位データ数を表示しているが、これらは必
要に応じて表示するようにしてもよい。In the above display example, the upper layer data name, the upper data number, the upper layer position, the total layer number, the total data number, and the lower data number are displayed, but these are displayed as necessary. You may do so.
【0024】また、上位階層のデータ名1−1について
その階層位置を表示しているが、これに代えてデータ名
2−1の上位階層数を表示するようにしてもよい。Although the hierarchical position of the data name 1-1 of the upper layer is displayed, the number of upper layers of the data name 2-1 may be displayed instead.
【0025】また、データ名という情報を表示している
が、これに限らず、階層構造の情報を表示する場合の全
てに本発明は適用することができる。Further, although the information of the data name is displayed, the present invention is not limited to this, and the present invention can be applied to all cases of displaying information of hierarchical structure.
【0026】[0026]
【発明の効果】以上の説明から明らかなように本発明に
よれば、階層構造に関係付けられた情報のうち、同一階
層の情報と、表示される各情報の階層レベルと、その下
位階層の階層数を同一画面に表示するようにしたので、
階層構造の情報の階層位置関係を特別な操作を行うこと
なく確認することができる。これにより、データベース
システム等に適用すれば、各種のデータを検索する場合
に上下階層を調べるための操作が不要になり、目的とす
るデータを短時間で効率的に検索することができるよう
になる。同時に、データの全体構造が明瞭になるので、
検索語も極めて適切なものを選択し、検索効率を向上さ
せることができる。As is apparent from the above description, according to the present invention, among the information related to the hierarchical structure, the information of the same hierarchy, the hierarchy level of each information to be displayed, and the lower hierarchy thereof. Since the number of layers is displayed on the same screen,
It is possible to confirm the hierarchical positional relationship of the information of the hierarchical structure without performing a special operation. As a result, when applied to a database system or the like, the operation for checking the upper and lower layers becomes unnecessary when searching various data, and the target data can be searched efficiently in a short time. .. At the same time, the overall structure of the data becomes clear,
It is possible to improve the search efficiency by selecting a very appropriate search word.
【図1】本発明を適用したデータベースシステムの一実
施例を示すブロック構成図である。FIG. 1 is a block diagram showing an embodiment of a database system to which the present invention is applied.
【図2】データの階層構造例を示す階層構造図である。FIG. 2 is a hierarchical structure diagram showing an example of a hierarchical structure of data.
【図3】階層数、情報数等を表示するためのデータの流
れを示す説明図である。FIG. 3 is an explanatory diagram showing a data flow for displaying the number of layers, the number of information, and the like.
【図4】階層数、情報数等を表示するための手順を示す
フローチャートである。FIG. 4 is a flowchart showing a procedure for displaying the number of layers, the number of information, and the like.
1…リレーショナルデータベース、2…データ構造格納
ファイル、3…SQL言語自動生成プログラム、4…デ
ータ階層構造編集制御プログラム、5…中央処理装置、
6…表示装置、7…入力装置、60…表示画面。1 ... Relational database, 2 ... Data structure storage file, 3 ... SQL language automatic generation program, 4 ... Data hierarchical structure editing control program, 5 ... Central processing unit,
6 ... Display device, 7 ... Input device, 60 ... Display screen.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 林 英作 東京都小平市上水本町5丁目20番1号 日 立超エル・エス・アイ・エンジニアリング 株式会社内 (72)発明者 南 裕行 東京都小平市上水本町5丁目20番1号 日 立超エル・エス・アイ・エンジニアリング 株式会社内 (72)発明者 小方 暁 東京都小平市上水本町5丁目20番1号 日 立超エル・エス・アイ・エンジニアリング 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Eisaku Hayashi 5-20-1 Kamimizuhoncho, Kodaira-shi, Tokyo Hiratsuko ELS Engineering Co., Ltd. (72) Inventor Hiroyuki Minami Kodaira, Tokyo 5-20-1 Jitsumizu Honcho, Ichi, Japan, within Hitate Super L.S.I Engineering Co., Ltd. (72) Inventor Akira Ogata 5-20-1 Kamimizuhoncho, Kodaira-shi, Tokyo・ I Engineering Co., Ltd.
Claims (3)
同一階層の情報と、表示される各情報の階層レベルと、
その下位階層の階層数を同一画面に表示することを特徴
とする階層構造の情報表示方法。1. Among information related to a hierarchical structure,
Information of the same hierarchy, and the hierarchy level of each displayed information,
A method for displaying information in a hierarchical structure, characterized in that the number of lower layers is displayed on the same screen.
は上位階層位置を表示し、さらに上位階層および下位階
層に含まれる全情報数を表示することを特徴とする請求
項1記載の階層構造の情報表示方法。2. The hierarchical structure according to claim 1, wherein the number of upper layers and the number of upper layers are displayed together with the number of lower layers, and the total number of information contained in the upper and lower layers is displayed. Information display method.
表示することを特徴請求項1または2記載の階層構造の
情報表示方法。3. The method for displaying information in a hierarchical structure according to claim 1, wherein the total number of information contained in all layers and the total number of layers are displayed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3224238A JPH0561920A (en) | 1991-09-04 | 1991-09-04 | Display method for information of hierarchical structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3224238A JPH0561920A (en) | 1991-09-04 | 1991-09-04 | Display method for information of hierarchical structure |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0561920A true JPH0561920A (en) | 1993-03-12 |
Family
ID=16810659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3224238A Pending JPH0561920A (en) | 1991-09-04 | 1991-09-04 | Display method for information of hierarchical structure |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0561920A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202850A (en) * | 2004-01-19 | 2005-07-28 | Nippon Telegr & Teleph Corp <Ntt> | Information processing device, method and program |
JP2012174242A (en) * | 2011-02-24 | 2012-09-10 | Jvc Kenwood Corp | Browsing information editing device and browsing information editing method |
JP2019135574A (en) * | 2018-02-05 | 2019-08-15 | 株式会社Nykシステムズ | Cad device, information processing method, and program |
-
1991
- 1991-09-04 JP JP3224238A patent/JPH0561920A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202850A (en) * | 2004-01-19 | 2005-07-28 | Nippon Telegr & Teleph Corp <Ntt> | Information processing device, method and program |
JP2012174242A (en) * | 2011-02-24 | 2012-09-10 | Jvc Kenwood Corp | Browsing information editing device and browsing information editing method |
JP2019135574A (en) * | 2018-02-05 | 2019-08-15 | 株式会社Nykシステムズ | Cad device, information processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2525275B2 (en) | Database operation method | |
US5418950A (en) | System for interactive clause window construction of SQL queries | |
US20020059297A1 (en) | Search formulation user interface | |
US20080141155A1 (en) | Interactive video tour system editor | |
JP3311540B2 (en) | Data management system | |
EP1672540A1 (en) | Complex data access | |
JPH0756505A (en) | Electronic map display device | |
US5920866A (en) | Process and system for generating shared value lists for databases | |
JPH0561920A (en) | Display method for information of hierarchical structure | |
JPH08329101A (en) | Data base system | |
JPH01239628A (en) | Information retrieval system by key word | |
JPH02135549A (en) | File table display method | |
JP2906638B2 (en) | Database search system | |
KR0165510B1 (en) | Table of database management system | |
JP2990314B2 (en) | Data management device | |
JP2955289B2 (en) | Interactive error handling system in relational database management. | |
JPH06195343A (en) | Document storage and display system | |
JPS63298572A (en) | Geographic retrieving device | |
JPS59216273A (en) | Information retrieving device | |
JP2003157286A (en) | System for linkingly retrieving facility managing data | |
JPH08161345A (en) | Information retrieving system | |
JPH0215374A (en) | Image information retrieving device | |
Zhang | User interface design guidelines for multimedia database applications | |
JPS6380346A (en) | Document recognizing device | |
JP2001256232A (en) | Data processing system |