JPS61256441A - Retrieving method for table data - Google Patents

Retrieving method for table data

Info

Publication number
JPS61256441A
JPS61256441A JP60097752A JP9775285A JPS61256441A JP S61256441 A JPS61256441 A JP S61256441A JP 60097752 A JP60097752 A JP 60097752A JP 9775285 A JP9775285 A JP 9775285A JP S61256441 A JPS61256441 A JP S61256441A
Authority
JP
Japan
Prior art keywords
data
column
type data
retrieving
names
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
JP60097752A
Other languages
Japanese (ja)
Inventor
Takuo Oguchi
琢夫 小口
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 JP60097752A priority Critical patent/JPS61256441A/en
Publication of JPS61256441A publication Critical patent/JPS61256441A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain the retrieval of table data with the highest accuracy by retrieving the column of a real data while referring a table where the hierarchical relation is defined among the names in a data storage column and therefore reducing the load of the retrieving job. CONSTITUTION:When a retrieving sentence is supplied from a terminal equipment 202, a data base control system DBMS 206 transfers the table type data showing the hierarchical relation to a buffer area 207 from an external memory device 201. Then a column name key word and a document name emerging in a retrieving sentence are extracted within an area 207. The retrieving document is converted with reference to proper names in a table type data column. Then the DBMS 206 transfers a relative table type data in the device 201 to the area 207 and extracts the value whose output is requested to transmit it to the equipment 202 and to display it as the result of retrieval. Thus the load of a retrieving job is reduced with the table type data and the retrieval of the table data is possible with the highest accuracy.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、テーブル型データの検索方法に係り、特にデ
ータベース管理システムのように、利用者からデータの
蓄積・検索依頼を受けて、外部記憶装置上のデータを操
作する際に好適なテーブルデータの検索方法に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a method for searching table-type data, and in particular, in a database management system, when data is requested to be stored and searched from a user, data is stored in an external storage device. This invention relates to a table data search method suitable for manipulating the above data.

〔発明の背景〕[Background of the invention]

テーブル型データの蓄積・検索方式については。 Regarding storage and retrieval methods for table-type data.

たとえばシステム・アール:リレーショナル アプロー
チ トウウデータベースマネジメント;エム・エム・ア
ストラハン他、エイ・シー・エムトウウ ディー・ニス
1976年6月97頁〜137頁(System R:
Re1ational Approach to Da
tabageManagement : M、 M、 
Astrahan et al、、ACM To D 
51976 Jun、 PP、 97−137 )など
に記載されているリレーショナルデータベースが知られ
ている。リレーショナルデータベースにおけるユーザの
検索要求は、一般にデータを取出そうとするテーブルの
名称およびそのテーブル中の欄の名称および欄の持つ値
によって指定するテーブル中の行の取出し条件を記述し
た検索文の発行によってなされる。
For example, System R: Relational Approach to Database Management; M.M. Astrakhan et al., A.C.M.D.
Relational Approach to Da
tabageManagement: M, M,
Astrahan et al., ACM To D
51976 Jun, PP, 97-137) and the like are known. A user's search request in a relational database is generally made by issuing a search statement that describes the conditions for retrieving rows in the table specified by the name of the table from which data is to be retrieved, the name of the column in that table, and the value of the column. It will be done.

このような検索文の作成は、テーブルの名称や欄の名称
および値の持つ意味を熟知した一般ユーザまたはそのテ
ーブルの作成者にとっては容易である。しかし、上記の
ようなデータベースの構造を熟知していないユーザがあ
るテーブルについて、テーブル中のどの欄に対応するか
明確でない値に基づいて関連するデータの検索を行なう
ような場合には、検索文の発行に先立ってデータベース
に関する仕様書あるいはデータベース内にあるディクシ
ョナリを参照する必要があった。それによってどの欄に
対応するか明確でなかった値をデータとして持つ可能性
のある欄の名称をすべてリストアツブすることが必要で
あった。さらにこうして、リストアツブされた欄の名称
を、蓄積されている通りに指定して、前記の対応の不明
確な値と合わわせて検索の条件を構成し、逐次、検索文
を発行していく必要があった。
Creating such a search statement is easy for a general user or the table creator who is familiar with table names, column names, and meanings of values. However, when a user who is not familiar with the structure of the database as described above searches for related data based on a value that is not clear which column in the table corresponds to, the search statement Before publication, it was necessary to refer to the database specifications or the dictionary within the database. As a result, it was necessary to restore all names of columns that may contain values that were not clearly associated with which column. Furthermore, it is necessary to specify the name of the restored column as it is stored, configure the search condition along with the unclear value of the correspondence mentioned above, and issue the search statement one after another. was there.

〔発明の目的〕 本発明の目的は、このようなユーザの負担を軽減し、よ
り人間の知能活動に近づけるため、検索の際の、取出し
欄の指定と、検索の条件の中の欄の指定が容易になるテ
ーブルデータの検索方法を提供することにある。
[Purpose of the Invention] The purpose of the present invention is to reduce the burden on users and to bring it closer to human intelligence activities, by specifying a retrieval column and specifying a column in search conditions during a search. The purpose of the present invention is to provide a table data search method that facilitates the search of table data.

〔発明の概要〕[Summary of the invention]

本発明は、外部記憶装置等のメモリ装置内に蓄積したテ
ーブル型データの特定の欄を参照するための欄の名称と
して、テーブルの行のただ1つの欄に対応する名称のほ
かに、テーブルの行の複数の欄に同時に対応する名称を
予め定義して、その名称間の階層関係をこれらの記憶装
置内に蓄積しておき、検索の際にはテーブルの特定の欄
を複数の名称によって参照可能とすることにより、目的
を実現しようとするものである。
In the present invention, as the name of a column for referring to a specific column of table-type data stored in a memory device such as an external storage device, in addition to the name corresponding to only one column of a row of a table, Names that correspond to multiple columns in a row at the same time can be defined in advance, and the hierarchical relationship between the names can be stored in these storage devices, so that a specific column in a table can be referenced by multiple names when searching. The aim is to realize the purpose by making it possible.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図〜第5図を用いて説明
する。第1図は、本発明を適用した計算機システムの外
部記憶装置上のテーブル型データと、テーブル型データ
を参照するための欄の名称の関係を模式的に表わした図
である。第2図は、本発明を適用した計算機システムの
概念構成図であり、第3図は検索の対象となる外部記憶
装置内のテーブル型データの一例である。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 5. FIG. 1 is a diagram schematically showing the relationship between table-type data on an external storage device of a computer system to which the present invention is applied and the names of columns for referencing the table-type data. FIG. 2 is a conceptual configuration diagram of a computer system to which the present invention is applied, and FIG. 3 is an example of table-type data in an external storage device to be searched.

第1図において、101は外部記憶装置上のテーブル型
データであり、102〜103はテーブルの行であり、
104〜110はテーブルの欄である。111〜117
は、テーブルの蓄積構造上の欄の固有名称であり、11
8〜124は、テーブルの行のただ1つの欄に対応する
種名称である。
In FIG. 1, 101 is table type data on an external storage device, 102 to 103 are rows of the table,
104 to 110 are columns of the table. 111-117
is the unique name of the column in the storage structure of the table, and 11
8-124 are species names corresponding to only one column in a row of the table.

125〜128はテーブルの行の欄に同時に対応する種
名称であり他の種名称との階層関係によって示されてい
る種名称である0例えば、122の種名の使用は108
の欄の参照となり、127の種名の使用は108〜11
0の欄の参照となる。
125 to 128 are species names that simultaneously correspond to row columns of the table, and are species names indicated by hierarchical relationships with other species names.0For example, the use of 122 species names is 108
The use of species names in 127 is 108-11.
This is a reference to the 0 column.

第2図において、201は外部記憶装置、202はキー
ボードとディスプレイを有する端末装置。
In FIG. 2, 201 is an external storage device, and 202 is a terminal device having a keyboard and a display.

203 ハCP U、204はチャネル、205は主記
憶装置であり、主記憶装置内にはデータベース管理シス
テム(以下DBMSと略記)206.バッファエリア2
07が設けられている。
203 is a CPU, 204 is a channel, 205 is a main storage device, and within the main storage device is a database management system (hereinafter abbreviated as DBMS) 206. Buffer area 2
07 is provided.

第3図は、検索対象として文献に関する情報をテーブル
型データとして蓄積した例である。301は行であり個
々の文献に対応する。302は欄であり文献に関する個
々のデータを蓄積するものである。303は欄302を
参照するための欄の固有名称である。
FIG. 3 is an example in which information regarding documents as search targets is stored as table-type data. 301 is a line and corresponds to each document. A column 302 stores individual data related to documents. 303 is a unique name of a column for referring to column 302.

第4図は、第3図のテーブル型データの各欄の参照のた
めに用いることのできる種名称の階層関係を蓄積したテ
ーブル型データの例である。401は検索文中に使用す
る種名称であり、402は検索文中に出現した種名称に
従って参照される第3のテーブル型データの欄の固有名
称である。第3図のように検索対象となるテーブル型デ
ータの定義作成をした後、第4図のような種名称の階層
関係を表わすテーブル型データを定義・作成しておく。
FIG. 4 is an example of table-type data that accumulates hierarchical relationships of species names that can be used to refer to each column of the table-type data of FIG. 3. 401 is the species name used in the search sentence, and 402 is the unique name of the column of the third table-type data that is referred to according to the species name that appears in the search sentence. After creating the definition of table-type data to be searched as shown in FIG. 3, table-type data representing the hierarchical relationship of species names as shown in FIG. 4 is defined and created.

次に、第5図を用いて、第3図のテーブル型データと第
4図のテーブル型データが外部記憶装置に蓄積されてい
るときの第2図のシステムの動作を説明する。
Next, using FIG. 5, the operation of the system shown in FIG. 2 when the table-type data shown in FIG. 3 and the table-type data shown in FIG. 4 are stored in the external storage device will be explained.

まず、ユーザが検索文を端末装置202から入力する(
ステップ501)、検索文が「キーワードがリレーショ
ナルデータベースである文献基を出力せよ」であるとす
ると、 DBMS206は外部記憶装置201から第4
図の種名称の階層関係を表わすテーブル型データをバッ
ファエリア207に転送すi (502)。次に、検索
文中に出現した種名称キーワードおよび文献基について
、それらを第4図の欄401を含む行403をバッファ
エリア内で取出しテーブル型データの欄の固有名称を参
照し、種名称キーワードが第3図のテーブル型データの
欄5 (307)、欄6 (308) 、 II7 (
309)を参照する名称であり、種名称文献名が欄2 
(304)、欄1 (303)を参照する名称であるこ
とを知ってDBMS 206は検索文をrli5 (3
07)または@6 (308)または欄7 (309)
の値がリレーショナルデータベースである行のIll 
(303)および欄2 (304)の値を出力せよ」と
変換する(503)。その後DBMS 206は外部記
憶装置201内の第3図のテーブル型データのうち、1
i5(307)または欄6 (308) *タハw7 
(309) (7)値カNJ L/−ショナルデータベ
ース」である行301をバッファエリア207に転送し
く504)、バッファエリア207に転送された行から
出力を要求されていた欄1 (303)と欄2 (30
4)の値を取り出しく505)、端末装置202に送信
し検索結果として「文献01データベースの検索」と「
文献02データベースの高速化」とを表示する(506
)。
First, the user inputs a search sentence from the terminal device 202 (
Step 501), if the search sentence is "output the literature base whose keyword is relational database", the DBMS 206 outputs the fourth data from the external storage device 201.
Table type data representing the hierarchical relationship of species names in the diagram is transferred to the buffer area 207 (502). Next, regarding the species name keywords and literature bases that appeared in the search sentence, the line 403 containing the column 401 in Figure 4 is taken out in the buffer area, and the proper name in the table type data column is referred to. Table type data column 5 (307), column 6 (308), II7 (
309), and the species name document name is in column 2.
(304), column 1 (303), the DBMS 206 executes the search sentence rli5 (3
07) or @6 (308) or field 7 (309)
Ill of the row whose value is relational database
(303) and the values in column 2 (304).'' (503). After that, the DBMS 206 stores one of the table-type data in FIG. 3 in the external storage device 201.
i5 (307) or column 6 (308) *Taha w7
(309) (7) Transfer the line 301 with the value ``NJ L/- National Database'' to the buffer area 207 (504), and select the column 1 (303) that was requested to be output from the line transferred to the buffer area 207. Column 2 (30
Extract the value of 4) (505), send it to the terminal device 202, and as the search results, "Search document 01 database" and "
Document 02 Database Speedup” is displayed (506
).

この実施例によれば、ユーザが検索要求を行なう際に、
検索の手掛りとなる言葉や取出したいデータが外部記憶
装置内のテーブル型データのどの欄に存在するかが明確
に唯一に限定できない場合にも、蓄積された種名称に階
層関係に従って、複数の欄を自動的に参照するような検
索文を発行することができるという効果がある。
According to this embodiment, when a user makes a search request,
Even if it is not possible to clearly determine in which column of table-type data in an external storage device the word that will serve as a clue for a search or the data that you want to retrieve exists, multiple columns can be created according to the hierarchical relationship of the accumulated species names. This has the effect that it is possible to issue a search sentence that automatically references the .

また、検索文を[手段がリレーショナルデータベースで
ある文献基を出力せよ」というように、検索の手掛りと
なる言葉は同一であるが、種名称が階層上下関係にある
ように変化させると、第3図のテーブル型データの!7
 (309)の値がリレーショナルデータベース」であ
るような行だけがバッファエリア(207)に転送され
、検索結果として「文献01データベースの検索」を得
る。
In addition, if the search sentence is changed to ``Output the literature base whose means is a relational database'', the words that serve as the clues for the search are the same, but the species names are changed so that they are in a hierarchical relationship, the third Diagram of table type data! 7
Only rows whose value in (309) is "Relational database" are transferred to the buffer area (207), and "Reference 01 database search" is obtained as a search result.

このように、検索の手掛りとなる言葉は同一でも、対応
する種名称を階層上下方向に変化させることによって、
検索結果の件数を制御することかでユーザの意図に合わ
せた検索が行なえるなどの効果がある。
In this way, even if the word that serves as a search clue is the same, by changing the corresponding species name up and down the hierarchy,
By controlling the number of search results, it is possible to conduct a search that matches the user's intentions.

第6図は、本発明を同類語を含んだ階層関係に適用した
場合の説明図である。(b)図に示すようにテーブルの
種名称の同類語関係を保持するテーブルを有する検索シ
ステムを示すものである。
FIG. 6 is an explanatory diagram when the present invention is applied to a hierarchical relationship including similar words. (b) As shown in the figure, it shows a search system having a table that holds synonym relationships of species names in the table.

本実施例は検索文中の種名称と置換してよい種名称を同
類語関係と階層上下関係の2者に分離して蓄積すること
を特徴とする。この2つの関係を表わすテーブルにより
種名称の階層上下関係については標準となる単語(60
2)についてのみ蓄積しておき、他の単語(603)に
ついては初めに同類語関係を表わすテーブル(第4図)
を参照して標準となる単語(602)に変換し、次に階
層上下関係を表わすテーブルを参照して、実データのテ
ーブル(101)、の固有の種名称(111〜114)
に変換することができる。この方法により、置換可能な
種名称を一括してテーブルに蓄積する方法と比べて、標
準でない単語とその単語の階層下位にあたる固有の種名
称の組合わせを蓄積する必要がなく、記憶容量を節減で
き1通常人間が行なっている類似概念をもとに階層関係
を構成したり、連想したりすることが可能である。
The present embodiment is characterized in that species names that can be replaced with species names in a search sentence are stored separately into two types, one in a similar word relationship and the other in a hierarchy relationship. The table that expresses these two relationships provides standard words (60
Only 2) is accumulated, and for other words (603), a table (Fig. 4) that expresses similar word relationships is first created.
is converted into a standard word (602), and then the unique species name (111 to 114) of the actual data table (101) is converted with reference to the table representing the hierarchical relationship.
can be converted to . Compared to the method of storing replaceable species names in a table all at once, this method eliminates the need to store combinations of non-standard words and unique species names that are lower in the hierarchy of that word, reducing storage capacity. 1. It is possible to construct hierarchical relationships and make associations based on similar concepts that humans normally do.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば、ユーザがテーブル
型データを管理するデータベース管理システムに検索を
要求する際に、取出したいデータが存在する欄の固有名
称を正確に知らない場合あるいは、検索の手掛りとなる
言葉が存在する欄の固有名称を正確に知らない場合にお
いても、複数の検索文を逐一作成・発行していく必要が
なく、1つの検索文を作成・発行することによってデー
タベース管理システムに種名称の階層関係に従って検索
を実行させることができる。これによりテ−プル型デー
タの検索におけるユーザの作業を軽減する効果があるば
かりでなく、検索者の知識。
As described above, according to the present invention, when a user requests a search to a database management system that manages table-type data, when the user does not know the exact proper name of the column in which the data he/she wants to retrieve exists, or Even if you do not know the exact proper name of the field where the word that is a clue exists, there is no need to create and issue multiple search statements one by one, and you can manage the database by creating and issuing one search statement. The system can be made to perform searches according to the hierarchical relationship of species names. This not only has the effect of reducing the user's work when searching for table-type data, but also improves the searcher's knowledge.

経験を越えた連想的キーワードにより、高度な検索を実
現することが出来る。
Advanced searches can be achieved using associative keywords that go beyond experience.

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

第1図は、本発明における外部記憶装置内のテーブル型
データとそのデータを参照するための種名称との対応関
係の説明図、第2図は1本発明を適用した計算機システ
ムの概念構成図、第3図は。 本発明における検索の対象となるテーブル型データの蓄
積例を示す説明図、第4図は、本発明における種名称の
階層関係の蓄積例を示す説明図、第5図は1本発明の検
索手順を示す説明図、第6図(a)、(b)は、本発明
の他の適用例を示す説明図である。 101・・・検索対象となるテーブル型データ、118
〜124・・・蓄積されたテーブル型データの欄の1対
1に対応する種名称、125〜128・・・蓄積された
テーブル型データの欄に対し、1対多に対応する種名称
。 ′$ 1 目 TI 2 口 第 3 目 4−01     苧σ/      4 o t  
   wt第 5 口 第 乙 口
FIG. 1 is an explanatory diagram of the correspondence between table-type data in an external storage device and species names for referring to that data in the present invention, and FIG. 2 is a conceptual configuration diagram of a computer system to which the present invention is applied. , Figure 3 is. FIG. 4 is an explanatory diagram showing an example of accumulation of table-type data to be searched in the present invention. FIG. 4 is an explanatory diagram showing an accumulation example of hierarchical relationship of species names in the present invention. FIG. FIGS. 6(a) and 6(b) are explanatory diagrams showing other application examples of the present invention. 101...Table type data to be searched, 118
~124...Species names that correspond one-to-one to the columns of accumulated table-type data, 125-128...Species names that correspond one-to-many to the columns of accumulated table-type data. '$ 1st TI 2nd mouth 3rd 4-01 苧σ/ 4 o t
wt 5th mouth 2nd mouth

Claims (1)

【特許請求の範囲】 1、記憶装置にテーブル型データベースを蓄積し、該デ
ータの書込みおよび読出しを行なうための主記憶装置内
のデータベース管理システムを有する情報処理システム
において、データを格納する欄の名称に階層関係を定義
するテーブルを有し、該テーブルを参照し乍ら実データ
の欄を検索することを特徴とするテーブルデータの検索
方法。 2、検索のための欄名称として階層の異なる複数の名称
を使用する第1項記載のテーブルデータの検索方法。 3、上記欄名称として階層関係のほか同類語関係を使用
する第1項記載のテーブルデータの検索方法。
[Claims] 1. Names of columns in which data is stored in an information processing system that stores a table-type database in a storage device and has a database management system in the main storage device for writing and reading the data. 1. A method for searching table data, comprising: a table defining hierarchical relationships; and searching a column of actual data while referring to the table. 2. The table data search method described in item 1, which uses a plurality of names in different hierarchies as column names for search. 3. The table data search method described in item 1, which uses not only hierarchical relationships but also like-word relationships as the column names.
JP60097752A 1985-05-10 1985-05-10 Retrieving method for table data Pending JPS61256441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60097752A JPS61256441A (en) 1985-05-10 1985-05-10 Retrieving method for table data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60097752A JPS61256441A (en) 1985-05-10 1985-05-10 Retrieving method for table data

Publications (1)

Publication Number Publication Date
JPS61256441A true JPS61256441A (en) 1986-11-14

Family

ID=14200610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60097752A Pending JPS61256441A (en) 1985-05-10 1985-05-10 Retrieving method for table data

Country Status (1)

Country Link
JP (1) JPS61256441A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007164268A (en) * 2005-12-09 2007-06-28 Hitachi Kokusai Electric Inc Data warehouse system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007164268A (en) * 2005-12-09 2007-06-28 Hitachi Kokusai Electric Inc Data warehouse system

Similar Documents

Publication Publication Date Title
US6151604A (en) Method and apparatus for improved information storage and retrieval system
US5995962A (en) Sort system for merging database entries
US20020059297A1 (en) Search formulation user interface
JP2005251115A (en) System and method of associative retrieval
JPH04124774A (en) Data storage method for hierarchical construction in related data base
Macleod et al. Document retrieval as a database application
JPS61256441A (en) Retrieving method for table data
JPH01149127A (en) Information retrieving device
McLeod et al. RISS: A generalized minicomputer relational data base management system
JPH09305622A (en) Method and system for managing data base having document retrieval function
JPS63254523A (en) Key word retrieving method
JPH08329101A (en) Data base system
JP2715443B2 (en) Database device
KR100493399B1 (en) Information search management system and method tereof
Rollins Design and analysis of a complete relational interface for a Multi-Backend Database System.
Hagen An information retrieval system for performing hierarchical document clustering
Wiesener et al. Semantic hypermedia retrieval in digital libraries
JPS59188765A (en) Processing device of data base inquiry
JPH08278980A (en) Data processor
Barbic et al. An office message system
JPH02116972A (en) Retrieval system for program data base
JPH0410062A (en) Document retrieving method equipped with vocaburary extension function
Weldon et al. An attribute-based file organization for a relational database
Di Giorgi et al. Expert System and Database Interaction in the Legal Domain
JPH05313971A (en) Key word managing system in relational data base