JPS6243730A - Information retrieval device - Google Patents
Information retrieval deviceInfo
- Publication number
- JPS6243730A JPS6243730A JP60181883A JP18188385A JPS6243730A JP S6243730 A JPS6243730 A JP S6243730A JP 60181883 A JP60181883 A JP 60181883A JP 18188385 A JP18188385 A JP 18188385A JP S6243730 A JPS6243730 A JP S6243730A
- Authority
- JP
- Japan
- Prior art keywords
- attribute
- record
- attributes
- index
- equivalent
- 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
- 238000010586 diagram Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 11
- 230000014759 maintenance of location Effects 0.000 description 5
- DNAWGBOKUFFVMB-ANYFDBNWSA-N C1C[C@@H](O)[C@@H]2C(COC(=O)[C@](O)([C@H](C)O)C(C)C)=CC[N+]21[O-] Chemical compound C1C[C@@H](O)[C@@H]2C(COC(=O)[C@](O)([C@H](C)O)C(C)C)=CC[N+]21[O-] DNAWGBOKUFFVMB-ANYFDBNWSA-N 0.000 description 1
- 208000009641 Frontonasal dysplasia Diseases 0.000 description 1
- 101100072620 Streptomyces griseus ind2 gene Proteins 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- APFVFJFRJDLVQX-UHFFFAOYSA-N indium atom Chemical compound [In] APFVFJFRJDLVQX-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、データベースに総称される情報検索装置に関
する。DETAILED DESCRIPTION OF THE INVENTION FIELD OF INDUSTRIAL APPLICATION The present invention relates to an information retrieval device generally referred to as a database.
従来のVL術
従来の情報検索装置においては、レコード内のある属性
が複数の値を持つことは許されておらず、論理的に第1
1図に示すように属性503が属性値KW+ 〜KWN
を持つような状況のレコードに対しては、これを第12
図(a)または第12図(b)のように変形し、階層構
造または関係構造で汲っていた。Conventional VL Technique In conventional information retrieval devices, it is not allowed for a certain attribute in a record to have multiple values;
As shown in Figure 1, the attribute 503 has attribute values KW+ ~KWN.
For records in situations where the
It was transformed as shown in Figure (a) or Figure 12 (b), and had a hierarchical or relational structure.
発明が解決しようとする問題点
しかし、上記第12図(a)のような構成ではレコード
の構造が大きく変形されており、取り扱いが複雑になる
という問題点を有し、第12図(b)のような構成でも
レコードの構造がかなり変形されてJ3jつ、しかも情
報の重複が署しいという問題ど、1をf1シていた。Problems to be Solved by the Invention However, in the configuration shown in FIG. 12(a), the structure of the record is greatly modified, making handling complicated. Even with a configuration like this, the structure of the record was considerably modified, and there was a serious problem of duplication of information.
イこで、第11図に示す属性503の属性値の繰返し個
数(複数の値を持つその個数)の最大値をNに決めると
、第13図のような構成も考えられた。Now, if the maximum value of the number of repeated attribute values (the number of values having a plurality of values) of the attribute 503 shown in FIG. 11 is determined to be N, a configuration as shown in FIG. 13 could also be considered.
ところが、この構成では、繰返し部の属性5031〜5
03Nはnいに独立なので、そのいずれかの属性に含ま
れる属性値に対する検歳は、検索条件式がかなり複雑に
なり、検′素速度の低下が著しくなっ℃いた。However, in this configuration, the attributes 5031 to 5 of the repeat part
Since 03N is independently independent, the search condition expression becomes quite complicated when searching for the attribute value included in any of the attributes, resulting in a significant decrease in search speed.
本発明はかかる点に鑑み、第13図に示すような構成を
取った際の高速な検素を(可能こする情報検゛、A装首
を提供すること苓l]的とづる。In view of this point, the present invention aims to provide high-speed detection using the configuration shown in FIG.
問題へを解決づるための丁[Ω
本発明に係る情報検索装置は、複数の属性から成るレコ
ードという中位で情報を管理する情報管理手段と、シー
1−ド内の等価な複数の属性についてイの属性群の共通
の索引を作成する索引作成手「Qど、レコード内のS価
な複数の属性について作成された単一の索引又lよ独立
に作成された個々の索引のすべてを参照して目的とする
し]−ドを検索する検索手段とを備えている5
作 用
本発明では、上2した構成により、索引作成手段は、情
報管理手段によって管理されるレコード内の索引作成に
関して等価な複数の属性について共通の索引を自動的に
作成し、検索1段(よ、情報管理手段によって管理され
るし)−1−ド内の検索に関して等価な複数の属Ptに
対する1又(よ2以上の索引をすべて自動的に検索する
ことにより、しT]−ド内の複数の属t1にまたがる属
性値の検索を高速に行なう。An information retrieval device according to the present invention has an information management means for managing information at an intermediate level such as a record consisting of a plurality of attributes, and a plurality of equivalent attributes in a seed. An index creation method that creates a common index for a group of attributes in a record. In the present invention, with the above-mentioned configuration, the index creation means is equipped with a search means for searching records managed by the information management means. A common index is automatically created for a plurality of equivalent attributes, and a common index is automatically created for a plurality of equivalent attributes Pt for a search in the first search stage (which is managed by the information management means). By automatically searching all two or more indexes, attribute values across a plurality of attributes t1 in the [T]-word can be searched at high speed.
実施例
第1図は、本弁明の一実滴例にお(jる情報検索装dの
ブロック図を示すものC・ある。第1図において1は情
報管理手段、2は索引作成手段、3は検索手段、4は索
引である。Embodiment FIG. 1 shows a block diagram of an information retrieval device d in one example of the present defense. In FIG. 1, 1 is an information management means, 2 is an index creation means, and 3 is a search means, and 4 is an index.
情報管理手段1は、複数の属性の集まりから成る情報を
レコードという単位で管理し、レコードの集合を主配憶
十または二次記憶上に管理する。The information management means 1 manages information consisting of a collection of a plurality of attributes in units called records, and manages the collection of records on the main storage or secondary storage.
い、(、レコードを固定長とし二次記憶上にすべてのレ
コードを保持する場合を考えると、その格納形態は第2
図のようになる。第2図において、5は二次記憶、51
〜5nはレコードである。すべてのレコードには1ノコ
一ド通番が付与されており、各レコードの格納位置は(
レコード通番〉×(レコード長)で知ることができる。(If we consider the case where records are of fixed length and all records are held in secondary storage, the storage format is
It will look like the figure. In Figure 2, 5 is secondary memory, 51
~5n is a record. All records are given a one-note serial number, and the storage location of each record is (
You can find out by looking at the record serial number x (record length).
レコードは複数の属性から成るのでレコードの形式を管
理する情報があり、その−例を第3図に示す。第3図に
おいて、6はレコード定義情報の欄、6oは属性番号の
欄、61は属性名の欄、62は属性の型(文字列、数値
など)の欄、63は属性の長さく幅)の欄、64は索引
作成に関する等価属性番号、65は検索に関する等価属
性番号、即ち成る属性値による検索に際し同時に参照さ
れるべき属性番号を示す欄である。Since a record consists of a plurality of attributes, there is information for managing the format of the record, an example of which is shown in FIG. In Figure 3, 6 is a field for record definition information, 6o is a field for attribute number, 61 is a field for attribute name, 62 is a field for attribute type (character string, numerical value, etc.), and 63 is a field for attribute length and width. Column 64 is an equivalent attribute number related to index creation, and 65 is a column indicating an equivalent attribute number related to search, that is, an attribute number that should be referred to at the same time when searching by attribute values.
索引作成手段2は、レコード内のある属性Xに関する索
引を作成するように指示されると、レコード定義情報6
を参照することによりレコード内の属性Xの位置及びそ
の長さを知り、属性の値とレコード通番との対応情報で
ある索引4を作成する(第4図)。第4図において、4
1は属性値、42はその属性値を持つレコードのし]−
ド通番である。When the index creation means 2 is instructed to create an index regarding a certain attribute X in a record, the index creation means 2 creates the record definition information 6
By referring to , the position of attribute X in the record and its length are known, and index 4, which is the correspondence information between the value of the attribute and the record serial number, is created (FIG. 4). In Figure 4, 4
1 is the attribute value, 42 is the name of the record with that attribute value] -
This is the serial number.
検索手段3は、索引4内の属性値41と検索条件として
与えられた属性値とを比較しく一致、不一致、大小、包
含など)、条件に合う属性1i[41を発見するとその
属性値に対応するレコード通番42を得て、そのレコー
ド通番42により目的どするレコードを二次記憶5から
取り出す。The search means 3 compares the attribute value 41 in the index 4 with the attribute value given as the search condition (match, mismatch, size, inclusion, etc.), and when it finds an attribute 1i[41 that matches the condition, it corresponds to that attribute value. A record serial number 42 is obtained, and a desired record is retrieved from the secondary storage 5 using the record serial number 42.
以上のように構成された本実施例の情報検索装置につい
て以下その動作を説明する。The operation of the information retrieval device of this embodiment configured as described above will be described below.
第5図は、本実施例における情報管理手段1によるレコ
ード(第13図)の第1の管理形態を表わしたものであ
る。第5図において、10はレコードであり、11〜I
M、1(M+1 )〜1(M+N)はその属性である。FIG. 5 shows a first form of management of records (FIG. 13) by the information management means 1 in this embodiment. In FIG. 5, 10 is a record, and 11 to I
M, 1(M+1) to 1(M+N) are its attributes.
ここで1(M+1 )〜1(M+N)を、索引作成に関
して等(iIliな第1の属性群とする。従って、この
例におけるレコード管理情報は第3図の定義により第6
図のようになる。第6図に53いて、等係属性番号欄8
4内の値○はその属性が索引を持たないことを示し、等
係属性番号欄85内の値Oは検索に際し等価な属性とし
て吸われる相手が無いことを示している。Here, 1(M+1) to 1(M+N) are assumed to be the first attribute group with respect to index creation.Therefore, the record management information in this example is the 6th attribute group according to the definition in FIG.
It will look like the figure. 53 in Figure 6, equal attribute number column 8
The value ○ in 4 indicates that the attribute does not have an index, and the value 0 in the equal attribute number column 85 indicates that there is no partner that is taken as an equivalent attribute during a search.
このように構成されたレコード10(レコード通番は仮
に#100とする)に対して属性1(M+1 )〜1(
M+N)のいずれかに関して索引を作成するように指示
がなされると、索引作成手段2は、レコード管理情報8
内の索引作成に関する等係属性番号欄84を参照するこ
とにより、属性 1(M+1)〜1(M→N)が索引作
成に関して等価な属性であることを識別し、上述の開化
により自動的に属性1(M→−1)〜1(M + N
)内のすべての属性値とレコード通番#100とを対応
させて索引70に登録する(第7図)。Attributes 1 (M+1) to 1 (
When an instruction is given to create an index with respect to any one of M+N), the index creation means 2 creates the record management information 8.
By referring to the equivalent attribute number column 84 for index creation, it is identified that attributes 1 (M+1) to 1 (M→N) are equivalent attributes for index creation, and the above-mentioned enlightenment automatically Attribute 1 (M → -1) ~ 1 (M + N
) and the record serial number #100 are registered in the index 70 in association with each other (FIG. 7).
検索手段3は、同様に、レコード管理情報8内の索引作
成に関する等係属性番号欄84を参照することにより属
性 1(M+1 )〜1(M十N)が共通の一つの索引
70を持つことを識別し、与えられた属性値に対する検
索の対象が属性+(M−+−1)〜 +(M+N)のい
ずれであっても索引70を検索することにより、レコー
ド10を捜し出すことが可能になる。Similarly, the search means 3 can determine that attributes 1(M+1) to 1(M+N) have one common index 70 by referring to the equal attribute number column 84 related to index creation in the record management information 8. By identifying the index 70 and searching the index 70, it is possible to find the record 10, regardless of whether the search target for a given attribute value is any of the attributes +(M-+-1) to +(M+N). Become.
第8図は、情報管理手段1によるレコード(第13図)
の第2の管理形態を表わしたものである。FIG. 8 shows records by information management means 1 (FIG. 13)
This represents the second management form.
第8図において、20はレコードであり、2L−2M、
2(M+1 )〜2(M+N)は属性である。ここで2
(M+1 ”)〜2(M十N)は、検索に関して等価な
第2の属性群とづる。従って、レコード管理情報は第9
図のようになる。第9図においても第6図同様、等(I
l属性番号欄94内の値Oはその属性が索引を持たない
ことを示し、等係属性番号欄95内の値Oは検索に際し
等価な属性として扱われる相手が無いことを示している
。In FIG. 8, 20 is a record, 2L-2M,
2(M+1) to 2(M+N) are attributes. Here 2
(M+1'') to 2(M+N) are the equivalent second attribute group for search. Therefore, the record management information is the 9th attribute group.
It will look like the figure. In Fig. 9, as in Fig. 6, etc. (I
A value O in the attribute number column 94 indicates that the attribute does not have an index, and a value O in the equal attribute number column 95 indicates that there is no other attribute that can be treated as an equivalent attribute during a search.
このように構成されたレコード20(レコード通番は仮
に#200とする)に対して属性2(M+1 )〜2(
M+N)に関して索引を作成するように指示がなされる
と、索引作成手段2は、レコード管理情報9内の索引作
成に関する等1lliyA性番号94を参照することに
より属性2(M+1 )〜2(M十N)が索引作成に関
して等l1Ilな属性を持たないことを識別し、上述の
機能により属性2(M+1 )〜2(M+N)の個々の
属性に対して一つずつ独立な索引71〜INを作成する
(第10図)。Attributes 2 (M+1) to 2 (
When an instruction is given to create an index regarding attributes 2(M+1) to 2(M+N), the index creating means 2 refers to the attribute number 94 related to index creation in the record management information 9. N) does not have equal attributes with respect to index creation, and creates independent indexes 71 to IN for each attribute of attributes 2(M+1) to 2(M+N) one by one using the above-mentioned function. (Figure 10).
検索手段3は、レコード管理情報9内の検索に関する等
係属性番号欄95を参照することにより属性2(M+1
)〜2(M+N)が検索に関して等価なく即ち、同時
に検索の対象とすべき)属性であることを識別し、与え
られた属性値に対する検索の対象が属性2(M+1 )
〜2(M十N)のいずれであっても属性2(M+1 )
〜2(M+N)に対する索引71〜7Nをすべて自動的
に検索することにより、レコード20を捜し出すことが
可能になる。The search means 3 retrieves the attribute 2 (M+1
) to 2(M+N) are attributes that are not equivalent with respect to the search, that is, they should be searched at the same time), and the search target for the given attribute value is attribute 2(M+1)
Attribute 2 (M+1) for any of ~2 (M + N)
By automatically searching all the indexes 71-7N for ~2(M+N), it becomes possible to locate the record 20.
ここで、上述の動作をフローチャートに従って説明する
。Here, the above-mentioned operation will be explained according to a flowchart.
(ア)索引作成時の動作
第14図は索引作成動作を説明するフローチャートであ
る。(A) Operation during index creation FIG. 14 is a flowchart illustrating the index creation operation.
(INDI)・・・・・・索引作成の開始。(INDI)...Start of index creation.
(IND2>・・・・・・レコード管理情報8又は同9
により、対象となるレコードの属
性の構成(=FORM)を得て、
変数Nに属性数を代入。(IND2>...Record management information 8 or 9
Obtain the attribute configuration (=FORM) of the target record and substitute the number of attributes to variable N.
(IND3)・・・・・・得られたFORMの第1属性
から処理を開始(i=1)。(IND3)...Start processing from the first attribute of the obtained FORM (i=1).
(IND4)・・・・・・変数Iに索引作成に関する等
係属性番号a4又は同94の値を代入。(IND4)...Substitute the value of equality attribute number a4 or 94 related to index creation to variable I.
(IND5)・・・・・・l−0(索引なし)ならば(
IND8)に進む。(IND5)...If l-0 (no index) (
Proceed to IND8).
(IND6)・・・・・・変数Vにレコードの第1番目
の属性値を代入。(IND6)...Substitute the first attribute value of the record to variable V.
(lND7)・・・・・・属性mvをレコード通番と対
にして索引Iに登録する。(lND7)... Attribute mv is paired with the record serial number and registered in index I.
(IND8)・・・・・・1を1だけ増す。(IND8)... Increase 1 by 1.
(IND9)・・・・・・i≦Nならば(IND4)に
進む。(IND9)...If i≦N, proceed to (IND4).
(INDIO)・・・・・・索引作成の終了。(INDIO)...End of index creation.
このように、索引作成に関する等価属性グルーブは物理
的な結合であり、索引は、新レコードの登録、既存レコ
ードの内容の更新、新たな索引作成指定の度に自動的に
更新、作成される。In this way, the equivalent attribute group related to index creation is a physical combination, and the index is automatically updated and created each time a new record is registered, the contents of an existing record are updated, or a new index creation is specified.
(イ)検索時の動作
第15A図及び第15B図は一体となって、本発明にお
ける検索動作を説明するフローチャートである。(a) Operation at the time of search FIGS. 15A and 15B together are a flowchart for explaining the search operation in the present invention.
(FND 1)・・・・・・検索の開始。(FND 1)・・・・・・Start of search.
(FND2)・・・・・・レコード管理情報8または同
9により、対象となるレコードの
属性の構成(−FORM)を19、
変数Nに属性数を代入。また、
検索済み索引番号記憶配列り及
び検索結果格納配列Rをクリア。(FND2)... According to record management information 8 or 9, the attribute configuration (-FORM) of the target record is set to 19, and the number of attributes is assigned to variable N. Also, clear the searched index number storage array and search result storage array R.
(FND3)・・・・・・変@Kに検索の対象となる属
性の検索に関する等係属性番号85
又は同95の値を代入。(FND3)...Substitute the value of equal attribute number 85 or 95 related to the search for the attribute to be searched into variable @K.
(FND4)・・・・・・K−0(等価索引なし)なら
ば(F N D 16)に進む。(FND4)...If K-0 (no equivalence index), proceed to (FND16).
(FND5)・・・・・・得られたFORMの第1属性
から処理を開始(i=1)。(FND5)...Start processing from the first attribute of the obtained FORM (i=1).
(FND6)・・・・・・変数Jに第1番目の属t’t
の検索に関づる等係属性番目85又は[θ
95の値を代入。(FND6)...The first attribute t't in variable J
Assign the value of equality attribute number 85 or [θ 95 related to the search for .
(FND7)・・・・・・JfKならば(F N D
13>に進む。(FND7)...If JfK (FND7)...
Proceed to 13>.
(FND8)・・・・・・変数1に第1番目の属性の索
引作成に関する等(6属性番号84又
は同94の値を代入。(FND8)...Related to the index creation of the first attribute, etc. (6 Assign the value of attribute number 84 or 94 to variable 1.
(FND9)・・・・・・1=o(索引なし)ならば(
FND13)に進む。(FND9)...If 1=o (no index) then (
Proceed to FND13).
(F N D 10)・・・・・・Iが既に配列りに6
録されていれば(F N D 13)に進む。(F N D 10)...I is already 6 in the array
If it is recorded, proceed to (FND 13).
(FND1+)・・・・・・Iを配列りに追加登録する
。(FND1+)... Add I to the array.
(FND12)・・・・・・索引Iに対して検索を行な
い結果を配列Rに追加。(FND12)... Perform a search on index I and add the results to array R.
(FND13)・・・・・・1を1だけ増す。(FND13)... Increase 1 by 1.
(F N D 14)・・・・・・1≦Nならば(FN
D6)に進む。(F N D 14)...If 1≦N, (F N
Proceed to D6).
(FNDI5)・・・・・・(F N D 19)に進
む。(FNDI5)... Proceed to (FND19).
(F N D 16)・・・・・・変数Iに検索の対象
となる属性の索引作成に関する等1iIIi属性番号8
4又は94の値を代入。(F N D 16)・・・・・・Etc. 1iIIIi Attribute number 8 related to creating an index of the attribute to be searched for in variable I
Assign a value of 4 or 94.
(F N D 17)・・・・・・l−0(索引なし)
ならば(F N D 19)に進む。(FND 17)...l-0 (no index)
If so, proceed to (FND 19).
(F N D 18)・・・・・・索引Iに対して検索
を行ない結果を配列Rに追加。(FND 18)... Perform a search on index I and add the results to array R.
(F N D 19)・・・・・・検索の終了。(F N D 19)...End of search.
このように、検索に関する等1iIIi属性グループは
論理的な結合であり、検索動作の前に指定することによ
り索引の構成を物理的に再編することなく柔軟な検索が
できる。In this way, the search-related attribute groups are logical combinations, and by specifying them before a search operation, flexible searches can be performed without physically reorganizing the index structure.
以上のように本実施例によれば、レコード内の複数の属
性に対して、索引作成に関する等価属性群及び検索に関
する等価属性群というものを定義することにより、レコ
ード内の複数の属性にまたがる属性値の検索が高速に行
なえる。As described above, according to this embodiment, by defining an equivalent attribute group related to index creation and an equivalent attribute group related to search for multiple attributes in a record, attributes that span multiple attributes in a record are defined. Value searches can be performed quickly.
なお、索引の作成法については、ISAM、B−TRE
E、HASH等のいくつかの手法があるが、本発明はこ
れらの何れかに限るものではない。For information on how to create an index, please refer to ISAM, B-TRE
Although there are several methods such as E and HASH, the present invention is not limited to any of these methods.
また、索引作成に関する等価属性群と検索に関する等(
iIli属性群とはそれぞれ無関係に定義できる。In addition, equivalent attribute groups related to index creation and search related (
It can be defined independently of the iIli attribute group.
本発明では、このように、索引作成用等価属性番号欄及
び/又は検索用等価属性番号欄を設けるので、検索の際
には、索引作成時の仕様とは無関係に、複数の属性内の
属性値についてそれらがあたかも一つの属性間に収容さ
れているかの如く取り扱うことができる。即ち、検索に
際しその対象とすべき属性の組み合わせを、データ構造
作成後に自由に決定し、変更できる。In the present invention, as described above, the equivalent attribute number field for index creation and/or the equivalent attribute number field for search is provided. Values can be handled as if they were contained within a single attribute. That is, the combination of attributes to be searched can be freely determined and changed after the data structure is created.
発明の詳細
な説明したように、本発明によれば、最大N個の繰返し
属性値を持つ属性をたかだか1個の属性値を持つN個の
属性に展開して情報が管理されている場合に、繰返し部
に対応するN個の属性のいずれかに含まれる属性値に対
する検索も検索条件式を?!雑にすることなくしかも高
速に検索することが期待でき、その実用的効果は大きい
。As described in detail, according to the present invention, when information is managed by expanding an attribute having a maximum of N repeated attribute values into N attributes having at most one attribute value, , Can I also use a search condition expression to search for an attribute value included in any of the N attributes corresponding to the repeat part? ! It can be expected to perform searches at high speed without complication, and its practical effects are great.
第1図は本発明における一実施例の情報検索装置のブロ
ック図、第2図は二次記憶内のレコードの格納形態を表
わす図、第3図はレコード定義情報の構造を表わす図、
第4図は索引の構造を表ね〕1図、第5図は同実施例に
おける第1の情報保持方法を表わす概念図、第6図は第
1の情報保持方法に対するレコード定義情報を表わす図
、第7図は第1の情報保持方法に対する索引への登録を
説明する図、第8図は同実施例における第2の情報保持
方法を表わす概念図、第9図は第2の情報保持方法に対
するレコード定義情報を表わす図、第10図は第2の情
報保持方法に対する索引への0録を説明する図、第11
図は本発明装置が扱うレコードの構造を概念的に示す図
、第12図及び第13図は従来の情報検索[jにおける
情報保持方法を表ねり概念図である。第14図は同実施
例における索引作成動作を説明するフローチャート、第
15A図及び第153図は、その検索動作を説明するフ
ローチャー・トである。
1・・・情報管理手段 2・・・索引作成手段 3・・
・検索下段 4・・・索引 5・・二次記憶 51〜5
n・・・レコード 6・・・レコード定6情報 40
.20・・・レコード 11〜 i(M+N>、
21〜 2 (M −+−N ) ・・・ 属
性70.71〜7N・・・索引 64,84.94・・
・索引作成に関する等歯底性番号欄、 65,85.9
5・・・検索に関ツる等価属性番号欄
特許出願人 松下電器産業株式会社
第1図
第2図
第3図
第4図
第7図
第8図
第9図
第10図
第11図
第12図
第14図
第15A図
第15B図FIG. 1 is a block diagram of an information retrieval device according to an embodiment of the present invention, FIG. 2 is a diagram showing the storage format of records in secondary storage, and FIG. 3 is a diagram showing the structure of record definition information.
Figure 4 shows the structure of the index] Figures 1 and 5 are conceptual diagrams showing the first information holding method in the same embodiment, and Figure 6 is a diagram showing record definition information for the first information holding method. , FIG. 7 is a diagram illustrating registration in the index for the first information retention method, FIG. 8 is a conceptual diagram showing the second information retention method in the same embodiment, and FIG. 9 is a diagram illustrating the second information retention method. FIG. 10 is a diagram showing the record definition information for the second information retention method, FIG.
1 is a diagram conceptually showing the structure of records handled by the apparatus of the present invention, and FIGS. 12 and 13 are conceptual diagrams representing information retention methods in conventional information retrieval [j]. FIG. 14 is a flowchart explaining the index creation operation in the same embodiment, and FIGS. 15A and 153 are flowcharts explaining the search operation. 1... Information management means 2... Index creation means 3...
・Search lower row 4...Index 5...Secondary memory 51-5
n...Record 6...Record fixed 6 information 40
.. 20...Record 11~i(M+N>,
21~2 (M -+-N)... Attribute 70.71~7N... Index 64,84.94...
・Isodental number column for index creation, 65, 85.9
5... Equivalent attribute number column related to search Patent applicant Matsushita Electric Industrial Co., Ltd. Figure 1 Figure 2 Figure 3 Figure 4 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 14 Figure 15A Figure 15B
Claims (2)
管理する情報管理手段と、前記レコード内の特定の1又
は2以上の属性についてその属性値の索引を作成する索
引作成手段と、前記索引を検索することにより目的とす
る前記レコードを得る検索手段とを具備し、前記索引作
成手段が、前記レコード内の複数の属性が等価な意味を
持つことを識別し、等価な属性内の個々の属性値に対し
て共通の一つの索引を作成し、前記検索手段が、前記索
引作成手段と同様に前記レコード内の複数の属性が等価
な意味を持つことを識別し、個々の属性値に対して作成
された1又は2以上の前記索引を参照して目的とする前
記レコードを検索する機能を有することを特徴とする情
報検索装置。(1) Information management means for managing information in units of records consisting of a plurality of attributes; index creation means for creating an index of attribute values for one or more specific attributes in the record; a search means for obtaining the target record by searching, and the index creation means identifies that a plurality of attributes in the record have equivalent meanings, and identifies each attribute in the equivalent attributes. A common index is created for the values, and the search means, like the index creation means, identifies that the plurality of attributes in the record have equivalent meanings, and searches for each attribute value. An information search device characterized by having a function of searching for the target record by referring to one or more of the created indexes.
味を持つことを識別し、前記等価な意味を持つ複数の属
性について個々に独立に作成された索引をすべて参照し
て目的とする前記レコードを検索する機能を有すること
を特徴とする特許請求の範囲第(1)項に記載の情報検
索装置。(2) The search means identifies that multiple attributes in the record have equivalent meanings, and refers to all indexes that have been independently created for the multiple attributes that have equivalent meanings. The information search device according to claim 1, characterized by having a function of searching the record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60181883A JPS6243730A (en) | 1985-08-21 | 1985-08-21 | Information retrieval device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60181883A JPS6243730A (en) | 1985-08-21 | 1985-08-21 | Information retrieval device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6243730A true JPS6243730A (en) | 1987-02-25 |
Family
ID=16108537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60181883A Pending JPS6243730A (en) | 1985-08-21 | 1985-08-21 | Information retrieval device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6243730A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01180632A (en) * | 1988-01-12 | 1989-07-18 | Nec Corp | Record retrieving system |
JP2009169902A (en) * | 2008-01-21 | 2009-07-30 | Hitachi Ltd | Database management method, database management apparatus, database management program, and database system |
JP2016126788A (en) * | 2015-01-06 | 2016-07-11 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | Cross-column search of relational database tables |
-
1985
- 1985-08-21 JP JP60181883A patent/JPS6243730A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01180632A (en) * | 1988-01-12 | 1989-07-18 | Nec Corp | Record retrieving system |
JP2009169902A (en) * | 2008-01-21 | 2009-07-30 | Hitachi Ltd | Database management method, database management apparatus, database management program, and database system |
JP2016126788A (en) * | 2015-01-06 | 2016-07-11 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | Cross-column search of relational database tables |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4677550A (en) | Method of compacting and searching a data index | |
US6185569B1 (en) | Linked data structure integrity verification system which verifies actual node information with expected node information stored in a table | |
US6236988B1 (en) | Data retrieval system | |
US5276874A (en) | Method for creating a directory tree in main memory using an index file in secondary memory | |
JPH04124774A (en) | Data storage method for hierarchical construction in related data base | |
CN105956085A (en) | Reverse indexing construction method and apparatus as well as retrieval method and apparatus | |
CN109388641B (en) | Method, the equipment, medium of the common prefix of key in a kind of retrieval key value database | |
JP2693914B2 (en) | Search system | |
JPS6243730A (en) | Information retrieval device | |
JPH1040255A (en) | Hash table control device | |
US6735584B1 (en) | Accessing a database using user-defined attributes | |
JP2697559B2 (en) | Information retrieval device | |
JP3649472B2 (en) | Information retrieval device | |
Van Rijsbergen | File organization in library automation and information retrieval | |
JPS62186361A (en) | Information retrieval device | |
White et al. | A brief introduction to data storage and retrieval in MERLIN (MachinE Readable Library INformation) | |
JP2548119B2 (en) | Information retrieval device | |
JP2940522B2 (en) | Index creation method and information retrieval device | |
JPH05313971A (en) | Key word managing system in relational data base | |
JPH0447350B2 (en) | ||
JPH11242627A (en) | Data access method and medium recording program | |
JPS62114060A (en) | Image file device | |
JPS62186362A (en) | Information retrieval device | |
JPS61184635A (en) | Database system search method | |
JP2722660B2 (en) | How to manage indexed sequential files |