JPH11184857A - Tree structure information retrieval device/method and recording medium recording program executing retrieval method - Google Patents
Tree structure information retrieval device/method and recording medium recording program executing retrieval methodInfo
- Publication number
- JPH11184857A JPH11184857A JP9355929A JP35592997A JPH11184857A JP H11184857 A JPH11184857 A JP H11184857A JP 9355929 A JP9355929 A JP 9355929A JP 35592997 A JP35592997 A JP 35592997A JP H11184857 A JPH11184857 A JP H11184857A
- Authority
- JP
- Japan
- Prior art keywords
- information
- tree structure
- search
- ava
- instance
- 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
- 238000000034 method Methods 0.000 title claims description 62
- 241001127925 Arracacha virus A Species 0.000 description 119
- 238000002832 anti-viral assay Methods 0.000 description 119
- 238000010586 diagram Methods 0.000 description 14
- 239000000284 extract Substances 0.000 description 6
- 241000375392 Tana Species 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は木構造情報検索装置
及び検索方法並びに検索方法を実行させるためのプログ
ラムを記録した記録媒体に関し、特にOSI(Open
SystemInterconnection)管理
メッセージに含まれる管理オブジェクトインスタンスパ
ラメタをもとに検索を行う木構造情報検索装置及び検索
方法並びに検索方法を実行させるためのプログラムを記
録した記録媒体に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tree structure information search device, a search method, and a recording medium on which a program for executing the search method is recorded.
The present invention relates to a tree structure information search device and a search method for performing a search based on a managed object instance parameter included in a (SystemInterconnection) management message, and a recording medium storing a program for executing the search method.
【0002】[0002]
【従来の技術】図9はこの種の検索に用いられる木構造
情報の一例の模式説明図である。同図中、情報はインス
タンス(instance)51〜58(又は一括して
「50」と表示する)で表示されている。2. Description of the Related Art FIG. 9 is a schematic illustration of an example of tree structure information used for this type of search. In the figure, information is displayed as instances 51 to 58 (or collectively, “50”).
【0003】即ち、最上位(又は「根元」:root)
のインスタンス51の1段下位に3つのインスタンス5
2〜54が存在し、インスタンス54の1段下位に2つ
のインスタンス55,56が存在し、インスタンス56
の1段下位には2つのインスタンス57,58が存在す
る。[0003] That is, the top (or "root": root)
Three instances 5 one level below instance 51
2 to 54, two instances 55 and 56 exist one step below the instance 54, and an instance 56
There are two instances 57 and 58 one stage below.
【0004】又、これらのインスタンス51〜58に対
応してテーブル61〜64(又は一括して「60」と表
示する)が設けられている。In addition, tables 61 to 64 (or collectively, “60”) are provided corresponding to these instances 51 to 58.
【0005】即ち、最上位に位置するインスタンス51
に対応するテーブルが61、2段目に位置するインスタ
ンス52〜54に対応するテーブルが62、3段目に位
置するインスタンス55,56に対応するテーブルが6
3、4段目に位置するインスタンス57,58に対応す
るテーブルが64である。That is, the instance 51 located at the highest level
Is a table corresponding to 61, instances 52 to 54 located in the second row are 62, and tables corresponding to instances 55 and 56 located in the third row are 6
64 is the table corresponding to the instances 57 and 58 located in the third and fourth rows.
【0006】又、各テーブル61〜64は、各インスタ
ンス51〜58に対応するエントリ71〜78(又は一
括して「70」と表示する)の集合として構成されてい
る。Each of the tables 61 to 64 is configured as a set of entries 71 to 78 (or collectively indicated as “70”) corresponding to the instances 51 to 58.
【0007】即ち、テーブル61は1つのエントリ7
1、テーブル62は3つのエントリ72〜74、テーブ
ル63は2つのエントリ75,76、テーブル64は2
つのエントリ77,78で各々構成されている。That is, the table 61 has one entry 7
1, the table 62 has three entries 72 to 74, the table 63 has two entries 75 and 76, and the table 64 has two.
Each entry 77 and 78 is constituted.
【0008】次に、エントリ70について説明する。図
10はエントリ70の形式図である。なお、エントリ7
1〜78各々の形式は全て同一に形成されている。Next, the entry 70 will be described. FIG. 10 is a format diagram of the entry 70. Entry 7
All types 1 to 78 are formed identically.
【0009】同図を参照して、エントリ70はインスタ
ンス名を表すAVAと、辿るべき一段下位のテーブル6
0を指定するテーブルポインタTPと、同位テーブル6
0より取得すべき1のインスタンス50を指定するイン
スタンスポインタIPとを含み構成されている。Referring to FIG. 1, an entry 70 includes an AVA representing an instance name and a next lower table 6 to be traced.
Table pointer TP specifying 0, and peer table 6
And an instance pointer IP for designating one instance 50 to be acquired from 0.
【0010】即ち、木情報テーブル62の各エントリ7
2〜74は、このテーブル62へのテーブルポインタT
Pをもつテーブル61中のインスタンスポインタIPが
指し示すインスタンス51の直下に位置づけられるイン
スタンス52,53,54を含んでいる。That is, each entry 7 in the tree information table 62
2 to 74 are table pointers T to this table 62
It includes instances 52, 53, and 54 located immediately below the instance 51 indicated by the instance pointer IP in the table 61 having P.
【0011】同様に木情報テーブル63の各エントリ7
5,76はインスタンス55,56を含み、木情報テー
ブル64の各エントリ77,78はインスタンス57,
58を含む。Similarly, each entry 7 in the tree information table 63
5 and 76 include instances 55 and 56, and each entry 77 and 78 of the tree information table 64 has an instance 57,
58.
【0012】これらの木構造情報は各エントリ71〜7
8ごとに不図示の木構造情報格納部の異なるアドレスに
格納されている。従って、このアドレスが分かれば目的
エントリ70が木構造の何段目のどこに存在するかを知
ることができる。The tree structure information is stored in each of the entries 71 to 7
8 are stored at different addresses in the tree structure information storage unit (not shown). Therefore, if this address is known, it is possible to know in which stage of the tree structure the target entry 70 exists.
【0013】検索命令は管理オブジェクトインスタンス
パラメタにて与えられる。この管理オブジェクトインス
タンスパラメタDN(Distinguished N
ame)は、木構造の最上位から検索対象のインスタン
スへ至るまでの個々のインスタンス名を表すAVA(A
ttribute Value Assertion)
の順序列で表される。The search command is given by a managed object instance parameter. This managed object instance parameter DN (Distinguished N
Ame) is an AVA (A) representing an individual instance name from the top of the tree structure to the instance to be searched.
tribute Value Assertion)
Is represented by the following sequence.
【0014】即ち、図9を参照して検索の対象がインス
タンス57であれば、DNはインスタンス51,54,
56,57のAVAの順序列で指定される。That is, referring to FIG. 9, if the search target is the instance 57, the DNs are the instances 51, 54,
56 and 57 are specified in the order of AVA.
【0015】次に、従来の木構造情報検索の手順につい
て説明する。図11は従来の木構造情報検索装置の一例
の構成図、図12は同装置の動作を示すフローチャート
である。なお、図11,12とともに図9を参照する。Next, a conventional procedure for retrieving tree structure information will be described. FIG. 11 is a configuration diagram of an example of a conventional tree structure information search device, and FIG. 12 is a flowchart showing the operation of the device. Note that FIG. 9 is referred to in addition to FIGS.
【0016】従来の木構造情報検索装置は検索処理部8
1と、木構造情報格納部82とにより構成される。この
木構造情報格納部82には木構造により関係付けられた
エントリ71〜78の各々が異なるアドレスに格納され
ている。The conventional tree structure information retrieving apparatus comprises a retrieval processing unit 8
1 and a tree structure information storage unit 82. In the tree structure information storage unit 82, each of the entries 71 to 78 related by the tree structure is stored at different addresses.
【0017】いま、管理メッセージの検索対象がインス
タンス57であった場合、そのDNは前述したようにイ
ンスタンス51,54,56,57のインスタンス名A
VAの順序列で指定されている。If the search target of the management message is the instance 57, the DN is the instance name A of the instances 51, 54, 56, 57 as described above.
It is specified in the order of VA.
【0018】このDNが検索処理部81に入力される
(S101)。This DN is input to the search processing section 81 (S101).
【0019】検索処理部81はまず最上位のインスタン
ス51を取出し(S102)、木構造情報格納部82に
格納されている最上位のインスタンス51と比較する
(S103)。The search processor 81 first extracts the highest instance 51 (S102) and compares it with the highest instance 51 stored in the tree structure information storage 82 (S103).
【0020】このインスタンス51の双方は一致するの
で、検索処理部81は次に一段下位のインスタンス54
を取出し(S104,105)、木構造情報格納部82
に格納されている一段下位のインスタンス52と比較す
る(S103)。Since both of the instances 51 match, the search processing unit 81 proceeds to the next lower-level instance 54.
(S104, 105), the tree structure information storage unit 82
(S103).
【0021】この場合、比較結果は不一致なので、再び
最上位のインスタンスから比較をやり直す。In this case, since the comparison results do not match, the comparison is performed again from the highest instance.
【0022】まず、最上位のインスタンス51を取出し
(S102)、木構造情報格納部82に格納されている
最上位のインスタンス51と比較する(S103)。First, the highest instance 51 is extracted (S102) and compared with the highest instance 51 stored in the tree structure information storage unit 82 (S103).
【0023】このインスタンス51の双方は一致するの
で、検索処理部81は次に一段下位のインスタンス54
を取出し(S104,105)、木構造情報格納部82
に格納されている一段下位のインスタンス53と比較す
る(S103)。Since both of the instances 51 match, the search processing unit 81 proceeds to the next lower-level instance 54.
(S104, 105), the tree structure information storage unit 82
(S103).
【0024】この場合も、比較結果は不一致なので、再
び最上位のインスタンスから比較をやり直す。Also in this case, since the comparison results do not match, the comparison is performed again from the highest instance.
【0025】まず、最上位のインスタンス51を取出し
(S102)、木構造情報格納部82に格納されている
最上位のインスタンス51と比較する(S103)。First, the highest instance 51 is extracted (S102) and compared with the highest instance 51 stored in the tree structure information storage unit 82 (S103).
【0026】このインスタンス51の双方は一致するの
で、検索処理部81は次に一段下位のインスタンス54
を取出し(S104,105)、木構造情報格納部82
に格納されている一段下位のインスタンス54と比較す
る(S103)。Since both the instances 51 match, the search processing unit 81 proceeds to the next lower instance 54
(S104, 105), the tree structure information storage unit 82
(S103).
【0027】今度は、比較結果は一致するので、検索処
理部81は次に一段下位のインスタンス56を取出し、
木構造情報格納部82に格納されている一段下位のイン
スタンス55と比較する(S104,105)。This time, since the comparison results match, the search processing unit 81 takes out the next lower instance 56, and
A comparison is made with the lower-level instance 55 stored in the tree structure information storage unit 82 (S104, 105).
【0028】以下、同様の手順を繰り返して最終的にイ
ンスタンス57を得る。Hereinafter, the same procedure is repeated to finally obtain the instance 57.
【0029】このように、検索途中で双方のインスタン
スが不一致となった場合は最上位のインスタンスから検
索をやり直していた。As described above, when both instances do not match during the search, the search is repeated from the highest instance.
【0030】次に、従来の木構造情報検索装置の他の一
例について説明する。図13は従来の木構造情報検索装
置の他の一例の構成図である。なお、図13とともに図
9を参照する。Next, another example of the conventional tree structure information retrieval apparatus will be described. FIG. 13 is a configuration diagram of another example of the conventional tree structure information search device. Note that FIG. 9 is referred to together with FIG.
【0031】他の一例は検索処理部81と木構造情報格
納部82との間にキャッシュメモリ83を挿入したもの
である。In another example, a cache memory 83 is inserted between a search processing unit 81 and a tree structure information storage unit 82.
【0032】即ち、キャッシュメモリ83には木構造情
報格納部82より取出したインスタンス50のうちの最
新のもの、あるいは取出し頻度の高いものが格納されて
いる。That is, the cache memory 83 stores the latest one of the instances 50 fetched from the tree structure information storage unit 82 or the one fetched frequently.
【0033】従って、検索処理部81が木構造情報格納
部82より取出したいインスタンス50がキャッシュメ
モリ83に格納されていれば、このキャッシュメモリ8
3より目的のインスタンス50を取出せば済むため、木
構造情報格納部82よりインスタンス50を取出す場合
に比べアクセス時間が短くなる。よって、検索に要する
時間も短くなる。Therefore, if the instance 50 that the search processing unit 81 wants to retrieve from the tree structure information storage unit 82 is stored in the cache memory 83, the cache memory 8
Since the target instance 50 need only be extracted from the tree structure 3, the access time is shorter than when the instance 50 is extracted from the tree structure information storage unit 82. Therefore, the time required for the search is also reduced.
【0034】[0034]
【発明が解決しようとする課題】しかし、従来の木構造
情報検索装置はOSI管理メッセージに含まれる検索対
象の管理オブジェクトインスタンスを検索する際、中間
位のインスタンス50を比較して不一致となった場合
は、再び最上位のインスタンスから比較をやり直さなけ
ればならないという欠点があった。これはインスタンス
50をキャッシュメモリ83に配置しておいたとして
も、ヒットしなかった場合は同様である。However, when the conventional tree structure information search device searches for a managed object instance to be searched for included in an OSI management message, it compares the intermediate instance 50 and finds a mismatch. Had the disadvantage that the comparison had to be redone from the top-level instance again. This is the same when no hit occurs even if the instance 50 is arranged in the cache memory 83.
【0035】又、複数回の検索において特に最上位に近
い段のインスタンス名AVAの順序列は同一であること
が多いにもかかわらず、繰り返し同じ木情報を最上位か
ら順に辿る処理を行わなければならないという欠点もあ
った。In addition, although the order of the instance name AVA in the stage closest to the highest level is often the same in a plurality of searches, it is necessary to repeatedly perform the same tree information in order from the highest level. There was also a disadvantage that it did not.
【0036】一方、特開平7−319894号公報に木
構造の根元より末端方向の特定の節部から検索すること
により検索の高速化を図る技術が開示されている。これ
は、木構造の中間の節部から検索を開始させ検索の高速
化を図るという点で本発明と目的が共通する。On the other hand, Japanese Patent Application Laid-Open No. Hei 7-319894 discloses a technique for speeding up a search by searching from a specific node in a direction from the base to the end of the tree structure. This has the same purpose as the present invention in that the search is started from the middle node of the tree structure to speed up the search.
【0037】この技術は、データ検索が連続する場合、
検索目的のインスタンスが存在する節部を含む木構造の
比較的狭い検索範囲を検索に先立ち指定しておくことに
より、その節から末端方向に検索を行うというものであ
る。This technique is used when data retrieval is continuous.
By specifying a relatively narrow search range of a tree structure including a node where a search target instance exists, prior to the search, the search is performed in the terminal direction from the node.
【0038】しかし、この技術の場合、検索範囲を予め
指定しておくという作業が必要となる。However, in the case of this technique, it is necessary to specify a search range in advance.
【0039】そこで本発明の目的は、最上位に近い部分
のインスタンスの順序列が同一である場合に、検索範囲
を予め指定しておくことなく検索の高速化を図ることが
できる木構造情報検索装置及び検索方法並びに検索方法
を実行させるためのプログラムを記録した記録媒体を提
供することにある。Accordingly, an object of the present invention is to provide a tree structure information retrieval system capable of speeding up retrieval without specifying a retrieval range in advance when the order of instances near the top is the same. An object of the present invention is to provide an apparatus, a search method, and a recording medium on which a program for executing the search method is recorded.
【0040】[0040]
【課題を解決するための手段】前記課題を解決するため
に本発明は、木構造により関係付けられた複数個の情報
を最上位の情報から順次検索し、目的の最下位の情報を
得る木構造情報検索装置であって、その木構造情報検索
装置は情報検索の際、辿った中間位の情報の履歴が格納
される履歴格納手段と、新たな情報検索を行うに先立
ち、各位の被検索情報と前記履歴格納手段に格納された
情報のうち前記各位の被検索情報と同位の情報とを最上
位の情報から順に比較する比較手段と、この比較手段で
の比較結果に応じて所定位の情報より検索を開始する検
索手段とを含むことを特徴とする。According to the present invention, a plurality of pieces of information related by a tree structure are sequentially searched from the highest-order information to obtain a target lowest-order information. A structure information search device, wherein the tree structure information search device includes a history storage unit for storing a history of information at an intermediate position traced during information search, and a search target of each position before performing a new information search. Comparing means for comparing the information and the same information with the same rank information among the information stored in the history storage means in order from the highest order information; and a predetermined order according to the comparison result by the comparing means. And a search means for starting a search from the information.
【0041】本発明による他の発明は、木構造により関
係付けられた複数個の情報を最上位の情報から順次検索
し、目的の最下位の情報を得る木構造情報検索方法であ
って、その木構造情報検索方法は情報検索の際、辿った
中間位の情報の履歴を記録する第1処理と、新たな情報
検索を行うに先立ち、各位の被検索情報と前記第1処理
にて記録された情報のうち前記各位の被検索情報と同位
の情報とを最上位の情報から順に比較する第2処理と、
この第2処理での比較結果に応じて所定位の情報より検
索を開始する第3処理とを含むことを特徴とする。Another invention according to the present invention is a tree structure information search method for sequentially searching a plurality of pieces of information related by a tree structure from the highest-order information to obtain the target lowest-order information. In the tree structure information search method, at the time of information search, a first process for recording the history of the information at the intermediate position traced, and before each new information search is performed, the information to be searched for at each position is recorded in the first process. A second process of sequentially comparing the searched information of each rank and the information of the same rank in order from the highest rank information among the pieces of information,
And a third process of starting a search from predetermined information in accordance with the comparison result in the second process.
【0042】さらに本発明による他の発明は、木構造に
より関係付けられた複数個の情報を最上位の情報から順
次検索し、目的の最下位の情報を得る木構造情報検索方
法を実行させるためのプログラムを記録した記録媒体で
あって、その記録媒体に情報検索の際、辿った中間位の
情報の履歴を記録する第1処理と、新たな情報検索を行
うに先立ち、各位の被検索情報と前記第1処理にて記録
された情報のうち前記各位の被検索情報と同位の情報と
を最上位の情報から順に比較する第2処理と、この第2
処理での比較結果に応じて所定位の情報より検索を開始
する第3処理とを実行させるためのプログラムを記録し
たことを特徴とする。Still another invention according to the present invention is to execute a tree structure information search method for sequentially searching a plurality of pieces of information related by a tree structure from the most significant information and obtaining the desired least significant information. And a first process of recording a history of intermediate information traversed at the time of information retrieval on the recording medium, and information to be searched for before each new information retrieval. And a second process of sequentially comparing the searched information of each rank and information of the same rank in the information recorded in the first processing, starting from the highest rank information.
A program for executing a third process of starting a search from information at a predetermined position according to a comparison result in the process is recorded.
【0043】本発明によれば、情報検索の際、辿った中
間の前記情報を辿った順に格納手段に格納し、次の検索
の際、その格納手段に格納された情報と被検索情報とを
最上位から順に比較し、比較結果が一致の場合はそれま
でに辿った包含木(木構造の木部分)を省略し、不一致
となった情報の直前の上位情報から検索を開始させる装
置が得られるため、検索の高速化を図ることができる。According to the present invention, at the time of information retrieval, the information that has been traversed is stored in the storage means in the tracing order, and at the time of the next retrieval, the information stored in the storage means and the information to be searched are compared. An apparatus is provided that performs comparison in order from the highest order, omits the containing tree (tree portion of the tree structure) traced up to that point if the comparison result matches, and starts the search from the upper information immediately before the mismatched information. Therefore, the search can be speeded up.
【0044】本発明による他の発明によれば、情報検索
の際、辿った中間の前記情報を辿った順に格納手段に格
納し、次の検索の際、その格納手段に格納された情報と
被検索情報とを最上位から順に比較し、比較結果が一致
の場合はそれまでに辿った包含木を省略し、不一致とな
った情報の直前の上位情報から検索を開始させる方法が
得られるため、検索の高速化を図ることができる。According to another aspect of the present invention, at the time of information retrieval, the information that has been traced is stored in the storage means in the order of tracing, and at the time of the next search, the information stored in the storage means and the information to be processed are stored. Since the search information is compared in order from the top, if the comparison result is a match, the inclusion tree traced so far is omitted, and a method of starting the search from the upper information immediately before the mismatched information is obtained. The search can be speeded up.
【0045】さらに本発明による他の発明によれば、情
報検索の際、辿った中間の前記情報を辿った順に格納手
段に格納し、次の検索の際、その格納手段に格納された
情報と被検索情報とを最上位から順に比較し、比較結果
が一致の場合はそれまでに辿った包含木を省略し、不一
致となった情報の直前の上位情報から検索を開始させる
ためのプログラムを記録した記録媒体が得られるため、
検索の高速化を図ることができる。Further, according to another aspect of the present invention, at the time of information search, the intermediate information is stored in the storage means in the order of tracing, and at the next search, the information stored in the storage means is stored in the storage means. Compares the searched information with the information in order from the top and records a program to start the search from the upper information immediately before the mismatched information, omitting the inclusion tree traced up to that point if the comparison result matches Is obtained,
The search can be speeded up.
【0046】[0046]
【発明の実施の形態】以下、本発明の実施の形態につい
て添付図面を参照しながら説明する。図1は本発明に係
る木構造情報検索装置の第1の実施の形態の構成図であ
る。なお、従来例(図9〜13)と同様の構成部分につ
いては同一番号を付し、その説明を省略する。Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a configuration diagram of a first embodiment of a tree structure information search device according to the present invention. Note that the same components as those in the conventional example (FIGS. 9 to 13) are denoted by the same reference numerals, and description thereof will be omitted.
【0047】木構造情報検索装置は、到着したOSI管
理メッセージに指定されるオブジェクトインスタンスを
検索する管理オブジェクトインスタンス検索処理部1
と、インスタンス名AVAの比較を行うAVA比較部2
と、インスタンス名AVAが格納されるキャッシュメモ
リ3と、木構造情報格納部82とからなる。又、木構造
情報格納部82に格納されるエントリ71〜78は従来
例と同様とする。The tree structure information search device searches for an object instance specified in the arrived OSI management message by a managed object instance search processing unit 1.
AVA comparison unit 2 that compares the instance name AVA with the
, A cache memory 3 in which an instance name AVA is stored, and a tree structure information storage unit 82. The entries 71 to 78 stored in the tree structure information storage unit 82 are the same as in the conventional example.
【0048】管理オブジェクトインスタンス検索処理部
1には管理オブジェクトインスタンスパラメタDNが入
力される。検索の対象がインスタンス57であれば、D
Nはインスタンス51,54,56,57のAVAの順
序列で指定される。The managed object instance search parameter 1 receives a managed object instance parameter DN. If the search target is instance 57, D
N is specified by the sequence of the AVA of the instances 51, 54, 56, and 57.
【0049】AVA比較部2は管理オブジェクトインス
タンス検索処理部1に入力されたDNに含まれるAVA
を1個ずつ順にキャッシュメモリ3に格納されているA
VAと比較する。The AVA comparison unit 2 is configured to execute the AVA included in the DN input to the managed object instance search processing unit 1.
Are stored in the cache memory 3 one by one in order.
Compare with VA.
【0050】キャッシュメモリ3には管理オブジェクト
インスタンス検索処理部1にて情報検索がなされた際、
辿った中間位のAVAの履歴が格納されている。又、そ
のAVAは木構造情報格納部82に予め格納されている
情報であるが、そのAVAが格納されている木構造情報
格納部82のアドレスDがAVAとともにキャッシュメ
モリ3に格納されている。When an information search is performed on the cache memory 3 by the managed object instance search processing unit 1,
The history of the traced intermediate AVA is stored. The AVA is information stored in advance in the tree structure information storage unit 82, and the address D of the tree structure information storage unit 82 where the AVA is stored is stored in the cache memory 3 together with the AVA.
【0051】さらに、AVA、アドレスDとともに次に
辿るテーブル60を指定するテーブルポインタTPもキ
ャッシュメモリ3に格納されている。Further, a table pointer TP for designating the next tracing table 60 is stored in the cache memory 3 together with the AVA and the address D.
【0052】即ち、キャッシュメモリ3にはAVA、ア
ドレスD及びテーブルポインタTPからなるエントリ7
0が辿った順に格納されている。That is, the cache memory 3 has an entry 7 comprising an AVA, an address D and a table pointer TP.
0 are stored in the order of tracing.
【0053】このキャッシュメモリ3に格納されるエン
トリ70としては次の2種が考えられる。The following two types of entries 70 are stored in the cache memory 3.
【0054】まず第1は、最新の情報検索時に辿ったエ
ントリ70が常時キャッシュメモリ3に格納される場合
である。The first case is that the entry 70 traced at the time of searching for the latest information is always stored in the cache memory 3.
【0055】これは、次に情報検索する際に辿る包含木
の経路は前回の情報検索の際の経路と共通する部分が比
較的多いことを考慮したものである。This takes into account the fact that the path of the containment tree to be followed in the next information search has a relatively large number of portions common to the path in the previous information search.
【0056】そして第2は、過去の情報検索時において
アクセス頻度が最も高かったエントリ70の履歴がキャ
ッシュメモリ3に格納される場合である。The second case is that the history of the entry 70 with the highest access frequency at the time of past information retrieval is stored in the cache memory 3.
【0057】これは、同様の経路を辿る情報検索が比較
的多いことを考慮したものである。This takes into account the fact that there are relatively many information searches following the same route.
【0058】本発明はこの第1及び第2の態様のいずれ
にも適用が可能である。The present invention can be applied to both the first and second aspects.
【0059】又、キャッシュメモリ3にエントリ70を
格納する格納制御部は図1に記載されていないが、管理
オブジェクトインスタンス検索処理部1にて情報検索が
なされる際、管理オブジェクトインスタンス検索処理部
1が辿ったエントリ70を格納制御部が辿った順にキャ
ッシュメモリ3に格納していくのである。Although the storage control unit for storing the entry 70 in the cache memory 3 is not shown in FIG. 1, when the managed object instance search processing unit 1 searches for information, the managed object instance search processing unit 1 Are stored in the cache memory 3 in the order in which the storage control unit has traced the entries 70 that have been traced.
【0060】AVA比較部2は管理オブジェクトインス
タンス検索処理部1より入力された管理オブジェクトイ
ンスタンスパラメタDNに含まれるインスタンス名AV
Aを最上位から順にキャッシュメモリ3に格納されたイ
ンスタンス名AVAと比較していき、不一致になったと
ころで一段上のインスタンス名AVAに対応するアドレ
スDを管理オブジェクトインスタンス検索処理部1へ返
す。The AVA comparison unit 2 has the instance name AV included in the managed object instance parameter DN input from the managed object instance search processing unit 1.
A is compared with the instance name AVA stored in the cache memory 3 in order from the top, and when they do not match, the address D corresponding to the instance name AVA at the next higher level is returned to the management object instance search processing unit 1.
【0061】管理オブジェクトインスタンス検索処理部
1は得られたアドレスDを利用して、包含木情報格納部
82のアドレスDに格納されているエントリ70を取出
し、エントリ70から検索処理を行い、操作対象のオブ
ジェクトインスタンスを得る。Using the obtained address D, the managed object instance search processing section 1 retrieves the entry 70 stored at the address D of the containment tree information storage section 82, performs a search process from the entry 70, and Get an object instance of
【0062】次に、管理オブジェクトインスタンス検索
処理部1及びAVA比較部2の動作についてフローチャ
ートを参照しながら説明する。図2はAVA比較部2の
動作を示すフローチャートである。同図中S2〜S5が
AVA比較部2の動作を示す。一方、S1及びS6は管
理オブジェクトインスタンス検索処理部1の動作を示
す。Next, the operations of the managed object instance search processing unit 1 and the AVA comparison unit 2 will be described with reference to flowcharts. FIG. 2 is a flowchart showing the operation of the AVA comparison unit 2. In the figure, S2 to S5 show the operation of the AVA comparison unit 2. On the other hand, S1 and S6 show the operation of the managed object instance search processing unit 1.
【0063】管理オブジェクトインスタンス検索処理部
1が、「managedElementId=1@vp
4CTPId=1@tug3Id=1@tug2Id=
2@tug2CTPId=1」(@は区切り文字を表
す)という管理オブジェクトインスタンスパラメタDN
で表される管理オブジェクトインスタンスを木構造情報
格納部82に格納された木構造情報から検索する場合の
動作について説明する。The managed object instance search processing unit 1 determines that “managedElementId = 1 @ vp
4CTPId = 1 @ tug3Id = 1 @ tug2Id =
2 {tug2CTPId = 1} ($ indicates a delimiter) Managed object instance parameter DN
The operation in the case of searching for the managed object instance represented by the following from the tree structure information stored in the tree structure information storage unit 82 will be described.
【0064】この管理オブジェクトインスタンスパラメ
タDNに対応する管理オブジェクトインスタンスを得な
ければならない管理オブジェクトインスタンス検索処理
部1は、管理オブジェクトインスタンス検索処理部1内
の管理オブジェクトインスタンスパラメタDNとキャッ
シュメモリ3に格納されている管理オブジェクトインス
タンスパラメタDNとの比較をAVA比較部2に依頼す
る(S1)。The managed object instance search processing unit 1 for obtaining the managed object instance corresponding to the managed object instance parameter DN is stored in the managed object instance parameter DN in the managed object instance search processing unit 1 and the cache memory 3. A request is made to the AVA comparison unit 2 for comparison with the managed object instance parameter DN (S1).
【0065】次に、AVA比較部2は管理オブジェクト
インスタンス検索処理部1の管理オブジェクトインスタ
ンスパラメタDNからまず、最初の「managedE
lementId=1」を取出し(S2)、キャッシュ
メモリ3に存在する管理オブジェクトインスタンスパラ
メタDNの最上位のインスタンス名AVAと比較する
(S3)。Next, the AVA comparison unit 2 first uses the managed object instance parameter DN of the managed object instance search processing unit 1 to start with “managedE”.
elementId = 1 "(S2), and is compared with the highest instance name AVA of the managed object instance parameter DN existing in the cache memory 3 (S3).
【0066】キャッシュメモリ3を参照すると、最上位
のインスタンス名AVAは「managedEleme
ntId=1」であり、両者は等しいのでAVA比較部
2は次の、即ち一段下のインスタンス名AVAを両者よ
り取出し(S4)、双方を比較する(S3)。Referring to the cache memory 3, the highest instance name AVA is "managedElement"
Since ntId = 1 ”and the two are equal, the AVA comparison unit 2 takes out the next, that is, the next lower instance name AVA from both (S4), and compares both (S3).
【0067】これを繰り返し管理オブジェクトインスタ
ンスパラメタDNを比較していくと、キャッシュメモリ
3内の「tug2Id=1」で不一致を検出(管理オブ
ジェクトインスタンス検索処理部1のインスタンス名A
VAは「tug2Id=2」である)する。By repeatedly comparing the management object instance parameter DN, a mismatch is detected in “tug2Id = 1” in the cache memory 3 (instance name A of the management object instance search processing unit 1).
VA is “tug2Id = 2”).
【0068】そこで、AVA比較部2は「tug2Id
=1」より一段上位のインスタンス名AVAである「t
ug3Id=1」及びこのアドレスD(図1のaddr
ess3)を管理オブジェクトインスタンス検索処理部
1へ返す(S5)。Therefore, the AVA comparison unit 2 sets “tug2Id
= 1 ”, the instance name AVA that is one level higher than“ t ”
ug3Id = 1 "and this address D (addr in FIG. 1)
ess3) is returned to the managed object instance search processing unit 1 (S5).
【0069】次に、管理オブジェクトインスタンス検索
処理部1はこのインスタンス名AVA「tug3Id=
1」及びこのアドレスDを利用して木構造情報格納部8
2にアクセスし、残りのインスタンス名AVAを検索し
て管理オブジェクトインスタンスを得る(S6)。これ
で動作は終了する。Next, the managed object instance search processing unit 1 uses the instance name AVA “tug3Id =
1 "and the tree structure information storage unit 8 using this address D
2 and retrieves the remaining instance name AVA to obtain a managed object instance (S6). This ends the operation.
【0070】即ち、管理オブジェクトインスタンス検索
処理部1は包含木の中間のインスタンス名AVA「tu
g3Id=1」より検索を開始できることになり、これ
により検索を高速化することができる。That is, the managed object instance search processing unit 1 sets the instance name AVA “tu” in the middle of the inclusion tree.
The search can be started from "g3Id = 1", and the search can be speeded up.
【0071】次に,第2の実施の形態について説明す
る。図3は第2の実施の形態の模式説明図である。図3
はキャッシュメモリ3に格納されるインスタンス名AV
A、アドレスD及びテーブルポインタTPの構成図であ
る。Next, a second embodiment will be described. FIG. 3 is a schematic explanatory view of the second embodiment. FIG.
Is the instance name AV stored in the cache memory 3
FIG. 3 is a configuration diagram of A, an address D, and a table pointer TP.
【0072】同図を参照して、キャッシュメモリ3内に
は過去に辿ったテーブルが最上位のテーブル91から5
段目のテーブル95までは直線的に格納されているが、
6段目のテーブル96にはインスタンス名AVA96a
と96bとが分岐して格納されている。Referring to FIG. 15, in the cache memory 3, the tables that have been traced in the past are stored in the top tables 91 to 5.
It is stored linearly up to the table 95 of the stage,
In the table 96 in the sixth row, the instance name AVA 96a
And 96b are branched and stored.
【0073】即ち、この分岐したインスタンス名AVA
96aと96bの各々は、比較的アクセス頻度が高いイ
ンスタンス名AVAが選択されて格納されているのであ
る。That is, the branched instance name AVA
In each of 96a and 96b, an instance name AVA having a relatively high access frequency is selected and stored.
【0074】又、アクセス頻度により選択するのではな
く、例えばインスタンス名AVA96aとして前回の検
索で辿ったインスタンス名AVAを格納し、インスタン
ス名AVA96bとして前々回辿ったインスタンス名A
VAを格納してもよい。即ち、過去の任意の2回におけ
るインスタンス名AVAを格納するのである。Instead of being selected based on the access frequency, for example, the instance name AVA traced in the previous search is stored as the instance name AVA 96a, and the instance name A traced twice before is recorded as the instance name AVA 96b.
VA may be stored. That is, the instance names AVA in arbitrary two times in the past are stored.
【0075】さらに、分岐は2つに限定されるものでは
なく、3つ以上に分岐させることももちろん可能であ
る。Furthermore, the number of branches is not limited to two, and it is of course possible to branch three or more.
【0076】次に、第2の実施の形態の動作について説
明する。この動作はAVA比較処理部2による動作を示
している。Next, the operation of the second embodiment will be described. This operation shows the operation of the AVA comparison processing unit 2.
【0077】いま、AVA比較処理部2における比較結
果がテーブル91から94までは一致で、テーブル95
にて不一致となったとする。この場合、テーブル95で
はインスタンス名AVA95a「tug2Id=1」が
選択されていたものとする。Now, the comparison results in the AVA comparison processing section 2 are identical in the tables 91 to 94,
It is assumed that there is a mismatch at. In this case, it is assumed that the instance name AVA95a “tug2Id = 1” has been selected in the table 95.
【0078】もし、テーブル95としてこのインスタン
ス名AVA95aしか格納されていなかったとすると、
AVA比較処理部2はこれより一段上のインスタンス名
AVA94のアドレス「address4」を管理オブ
ジェクトインスタンス検索処理部1へ返すことになる。If only the instance name AVA 95a is stored in the table 95,
The AVA comparison processing unit 2 returns the address “address4” of the instance name AVA 94 one level higher than this to the managed object instance search processing unit 1.
【0079】しかし、この実施の形態の場合にはテーブ
ル95としてインスタンス名AVA95b「tug2I
d=2」も格納されている。However, in the case of this embodiment, the instance name AVA95b “tug2I
d = 2 ”is also stored.
【0080】そこで、AVA比較処理部2はインスタン
ス名AVA95a「tug2Id=1」で不一致の場合
は、同一テーブル95内のもう一つのインスタンス名A
VA95bを管理オブジェクトインスタンス検索処理部
1内の対応するインスタンス名AVAと比較する。Therefore, if the instance name AVA 95a “tug2Id = 1” and the instance name AVA 95a do not match, another AVA comparison processing unit 2
The VA 95b is compared with the corresponding instance name AVA in the managed object instance search processing unit 1.
【0081】そして、比較結果が一致の場合、管理オブ
ジェクトインスタンス検索処理部1はさらに一段下のテ
ーブル96のインスタンス名AVA95b直下のインス
タンス名AVA96b「tu12CTPId=3」を管
理オブジェクトインスタンス検索処理部1内の対応する
インスタンス名AVAと比較する。If the comparison result indicates a match, the managed object instance search processing section 1 further stores the instance name AVA 96b “tu12CTPId = 3” immediately below the instance name AVA 95b in the next lower table 96 in the managed object instance search processing section 1. Compare with the corresponding instance name AVA.
【0082】そして、これが不一致の場合、AVA比較
処理部2は一段上のインスタンス名AVA95bのアド
レス「address7」を管理オブジェクトインスタ
ンス検索処理部1へ返す。If the two do not match, the AVA comparison processing unit 2 returns the address “address7” of the next higher instance name AVA 95 b to the managed object instance search processing unit 1.
【0083】即ち、テーブル95として2つのインスタ
ンス名AVA95a及び95bをキャッシュメモリ3に
格納しておくことにより、インスタンス名AVA95a
で不一致となってもインスタンス名AVA95bで一致
となれば、AVA比較処理部2は少なくともテーブル9
4よりも一段下位のテーブル95内のインスタンス名A
VA95bを管理オブジェクトインスタンス検索処理部
1へ返すことができることになり、これによりさらに検
索を高速化することができる。That is, by storing two instance names AVA 95a and 95b in the cache memory 3 as the table 95, the instance name AVA 95a
If the instance name AVA 95b does not match even if the AVA comparison processing unit 2 does not match,
Instance name A in table 95 one level lower than 4
The VA 95b can be returned to the managed object instance search processing unit 1, thereby further speeding up the search.
【0084】次に、第3の実施の形態について説明す
る。図4は第3の実施の形態の構成図である。第3の実
施の形態は木構造情報検索検索方法を実行させるための
プログラムを記録した記録媒体に関し、この記録媒体及
びこの記録媒体を駆動するための装置の構成を示したも
のである。Next, a third embodiment will be described. FIG. 4 is a configuration diagram of the third embodiment. The third embodiment relates to a recording medium on which a program for executing a tree structure information search and retrieval method is recorded, and shows a configuration of the recording medium and an apparatus for driving the recording medium.
【0085】記録媒体駆動装置はCPU(中央処理装
置)11と、入力装置12と、記憶装置13と、出力装
置14と、前述の管理オブジェクトインスタンス検索処
理部1と、AVA比較処理部2と、キャッシュメモリ3
とからなり、これらで記録媒体15を駆動する。The recording medium drive includes a CPU (central processing unit) 11, an input device 12, a storage device 13, an output device 14, the above-described managed object instance search processing unit 1, the AVA comparison processing unit 2, Cache memory 3
These drive the recording medium 15.
【0086】記録媒体15には前述した図2のフローチ
ャートに示すプログラムが記録されており、キャッシュ
メモリ3にも前述のインスタンス名AVA等の情報が格
納されている。The program shown in the flowchart of FIG. 2 is recorded on the recording medium 15, and information such as the instance name AVA is also stored in the cache memory 3.
【0087】次に、動作について説明する。まず、CP
U11が記録媒体15に記録された木構造情報検索検索
方法を実行させるためのプログラムを読込むと、そのプ
ログラムは記憶装置13に格納される。Next, the operation will be described. First, CP
When U11 reads a program for executing the tree structure information search / search method recorded on the recording medium 15, the program is stored in the storage device 13.
【0088】次に、入力装置12から検索開始のための
情報がCPU11へ入力されると、CPU11は記憶装
置13から得たプログラムに基づき、検索処理部1、比
較処理部2及びキャッシュメモリ3を制御して情報検索
を行う。そして、検索結果を出力装置14に出力する。
制御の内容については前述したとおりである。Next, when information for starting a search is input from the input device 12 to the CPU 11, the CPU 11 stores the search processing unit 1, the comparison processing unit 2, and the cache memory 3 based on the program obtained from the storage device 13. Control and perform information search. Then, the search result is output to the output device 14.
The contents of the control are as described above.
【0089】次に、第1の実施の形態の実施例について
説明する。Next, an example of the first embodiment will be described.
【0090】[0090]
【実施例】図5は実施例の木構造情報の模式説明図であ
る。この実施例ではネットワークを構成する3つの装置
A〜Cが有する回路のうちの所定回路を検索する。FIG. 5 is a schematic explanatory diagram of the tree structure information of the embodiment. In this embodiment, a predetermined circuit is searched for among the circuits of the three devices A to C constituting the network.
【0091】図5を参照して、木構造情報の最上位には
「ネットワーク」というインスタンス名AVAがあり、
その「ネットワーク」の直下には「装置A」、「装置
B」、「装置C」という3つのインスタンス名AVAが
ある。Referring to FIG. 5, at the top of the tree structure information, there is an instance name AVA called “network”.
Directly under the “network” are three instance names AVA “device A”, “device B”, and “device C”.
【0092】さらに、「装置A」の直下には「たな
A」、「たなB」、「たなC」、「たなD」という4つ
のインスタンス名AVAがあり、「たなA」の直下には
「ボードA」、「ボードB」、「ボードC」という3つ
のインスタンス名AVAがあり、「ボードA」の直下に
は「アンプA」、「回線A」という2つのインスタンス
名AVAがある。Further, immediately below “Device A”, there are four instance names AVA “Tana A”, “Tana B”, “Tana C”, and “Tana D”, and “Tana A” There are three instance names AVA immediately below “Board A”, “Board B” and “Board C”, and immediately below “Board A” two instance names AVA “Amplifier A” and “Line A”. There is.
【0093】これは、例えば装置Aについて説明する
と、ネットワークを構成する装置AはたなA〜Dで構成
され、そのたなAはボードA〜Cで構成され、そのボー
ドAにはアンプA及び回線Aが載置されていることを示
している。For example, when the device A is described, the device A constituting the network is composed of the boards A to D, and the shelf A is composed of the boards A to C. This indicates that the line A is installed.
【0094】いま、検索の対象が「ボードA」直下の
「アンプA」であるとする。管理オブジェクトインスタ
ンス検索処理部1には管理オブジェクトインスタンスパ
ラメタDNが入力される。検索の対象が「ボードA」直
下の「アンプA」であれば、DNは「ネットワーク」、
「装置A」、「たなA」、「ボードA」、「アンプA」
のAVAの順序列で指定される。Now, it is assumed that the search target is “Amplifier A” immediately below “Board A”. The managed object instance parameter DN is input to the managed object instance search processing unit 1. If the search target is “Amplifier A” immediately below “Board A”, DN is “Network”,
"Device A", "Tana A", "Board A", "Amplifier A"
In the order of AVA.
【0095】図6はキャッシュメモリ3に格納された情
報の一例を示す模式説明図である。同図を参照して、キ
ャッシュメモリ3には「ネットワーク」、「装置A」、
「たなA」、「ボードB」、…のAVAの順序列で指定
された管理オブジェクトインスタンスパラメタDNが格
納されている。FIG. 6 is a schematic explanatory view showing an example of information stored in the cache memory 3. Referring to the figure, the cache memory 3 has "network", "device A",
Stores the managed object instance parameters DN specified by the sequence of the AVA of “Tana A”, “Board B”,.
【0096】次に、この一例がキャッシュメモリ3に格
納されている場合のAVA比較部2の動作について説明
する。なお、説明に際し図2のフローチャートを併用す
る。Next, the operation of the AVA comparison section 2 when this example is stored in the cache memory 3 will be described. It should be noted that the flowchart of FIG.
【0097】まず、管理オブジェクトインスタンス検索
処理部1の管理オブジェクトインスタンスパラメタDN
をAVA比較部2へ入力する(S1)。First, the managed object instance parameter DN of the managed object instance search processing unit 1
Is input to the AVA comparison unit 2 (S1).
【0098】次に、AVA比較部2は管理オブジェクト
インスタンス検索処理部1及びキャッシュメモリ3より
最上位のAVAを取出す(S2)。そして、両者を比較
する(S3)。Next, the AVA comparison unit 2 extracts the highest AVA from the managed object instance search processing unit 1 and the cache memory 3 (S2). Then, the two are compared (S3).
【0099】この場合、両者のAVAは「ネットワー
ク」で一致するため、AVA比較部2は一段下のAVA
を管理オブジェクトインスタンス検索処理部1及びキャ
ッシュメモリ3より取出す(S4)。そして、両者を比
較する(S3)。In this case, since both AVAs match in the “network”, the AVA comparison unit 2 sets the next lower AVA
From the management object instance search processing unit 1 and the cache memory 3 (S4). Then, the two are compared (S3).
【0100】この場合も、両者のAVAは「装置A」で
一致するため、AVA比較部2は一段下のAVAを管理
オブジェクトインスタンス検索処理部1及びキャッシュ
メモリ3より取出す(S4)。そして、両者を比較する
(S3)。Also in this case, since both AVAs match in “apparatus A”, the AVA comparing unit 2 extracts the next lower AVA from the managed object instance search processing unit 1 and the cache memory 3 (S4). Then, the two are compared (S3).
【0101】この場合も、両者のAVAは「たなA」で
一致するため、AVA比較部2は一段下のAVAを管理
オブジェクトインスタンス検索処理部1及びキャッシュ
メモリ3より取出す(S4)。そして、両者を比較する
(S3)。Also in this case, since the two AVAs match with each other, "A", the AVA comparison unit 2 retrieves the next lower AVA from the managed object instance search processing unit 1 and the cache memory 3 (S4). Then, the two are compared (S3).
【0102】この場合、管理オブジェクトインスタンス
検索処理部1のAVAは「ボードA」であるのに対し、
キャッシュメモリ3内のAVAは「ボードB」であり、
比較結果は不一致となる。In this case, the AVA of the managed object instance search processing unit 1 is “board A”,
The AVA in the cache memory 3 is “board B”,
The comparison results are inconsistent.
【0103】このため、AVA比較部2は一段上のAV
A「たなA」とそのアドレスDを管理オブジェクトイン
スタンス検索処理部1に返す(S5)。For this reason, the AVA comparison section 2 outputs the next higher AV
A “Tana A” and its address D are returned to the managed object instance search processing unit 1 (S5).
【0104】次に、管理オブジェクトインスタンス検索
処理部1はAVA「たなA」より検索を開始し、目的の
AVA「アンプA」を得る(S6)。Next, the management object instance search processing section 1 starts searching from the AVA "Tana A" to obtain the target AVA "Amplifier A" (S6).
【0105】図7はキャッシュメモリ3に格納された情
報の他の一例を示す模式説明図である。同図を参照し
て、キャッシュメモリ3には「ネットワーク」、「装置
A」、「たなA」のAVAの順序列で指定された管理オ
ブジェクトインスタンスパラメタDNと、「たなA」か
ら2つに分岐したAVA「ボードB」及び「ボードA」
と、「ボードA」より一段下のAVA「回線A」とが格
納されている。FIG. 7 is a schematic explanatory view showing another example of the information stored in the cache memory 3. Referring to the figure, the cache memory 3 has two items, a managed object instance parameter DN specified by an AVA sequence of “network”, “device A”, and “tana A”, and “tana A”. AVA "Board B" and "Board A"
And the AVA “line A” one level below “board A”.
【0106】次に、この他の一例がキャッシュメモリ3
に格納されている場合のAVA比較部2の動作について
説明する。図8は他の一例の動作を示すフローチャート
である。なお、説明に際しこの図8とともに図2のフロ
ーチャートも併用する。Next, another example is the cache memory 3.
The operation of the AVA comparison unit 2 when the data is stored in the. FIG. 8 is a flowchart showing another example of the operation. Note that the flowchart in FIG. 2 is used together with FIG. 8 in the description.
【0107】まず、管理オブジェクトインスタンス検索
処理部1の管理オブジェクトインスタンスパラメタDN
をAVA比較部2へ入力する(S1)。First, the managed object instance parameter DN of the managed object instance search processing unit 1
Is input to the AVA comparison unit 2 (S1).
【0108】次に、AVA比較部2は管理オブジェクト
インスタンス検索処理部1及びキャッシュメモリ3より
最上位のAVAを取出す(S2)。そして、両者を比較
する(S3)。Next, the AVA comparison unit 2 extracts the highest AVA from the managed object instance search processing unit 1 and the cache memory 3 (S2). Then, the two are compared (S3).
【0109】この場合、両者のAVAは「ネットワー
ク」で一致するため、AVA比較部2は一段下のAVA
を管理オブジェクトインスタンス検索処理部1及びキャ
ッシュメモリ3より取出す(S4)。そして、両者を比
較する(S3)。In this case, since both AVAs match in the “network”, the AVA comparison unit 2 outputs the next lower AVA.
From the management object instance search processing unit 1 and the cache memory 3 (S4). Then, the two are compared (S3).
【0110】この場合も、両者のAVAは「装置A」で
一致するため、AVA比較部2は一段下のAVAを管理
オブジェクトインスタンス検索処理部1及びキャッシュ
メモリ3より取出す(S4)。そして、両者を比較する
(S3)。Also in this case, since both AVAs match in “apparatus A”, the AVA comparing unit 2 extracts the next lower AVA from the managed object instance search processing unit 1 and the cache memory 3 (S4). Then, the two are compared (S3).
【0111】この場合も、両者のAVAは「たなA」で
一致するため、AVA比較部2は一段下のAVAを管理
オブジェクトインスタンス検索処理部1及びキャッシュ
メモリ3より取出す(S4)。そして、両者を比較する
(S3)。Also in this case, since the two AVAs match each other with "Tana A", the AVA comparison unit 2 extracts the next lower AVA from the managed object instance search processing unit 1 and the cache memory 3 (S4). Then, the two are compared (S3).
【0112】この場合、管理オブジェクトインスタンス
検索処理部1のAVAは「ボードA」であるのに対し、
キャッシュメモリ3内のAVAは「ボードB」であり、
比較結果は不一致となる。In this case, the AVA of the managed object instance search processing section 1 is “board A”,
The AVA in the cache memory 3 is “board B”,
The comparison results are inconsistent.
【0113】この場合、AVA比較部2はキャッシュメ
モリ3内に「ボードB」と同位のAVAがあるか否かを
調べる(S11)。もし、ない場合は前述したS5及び
S6の処理を行う。In this case, the AVA comparing section 2 checks whether or not there is an AVA of the same rank as “board B” in the cache memory 3 (S11). If not, the processing of S5 and S6 described above is performed.
【0114】しかし、この他の一例ではキャッシュメモ
リ3内に「ボードB」と同位のAVA「ボードA」が格
納されているため、AVA比較部2はこのAVA「ボー
ドA」をキャッシュメモリ3より取出す(S12)。そ
して、このAVA「ボードA」を管理オブジェクトイン
スタンス検索処理部1のAVA「ボードA」と比較する
(S13)。However, in another example, since the AVA “board A” of the same rank as “board B” is stored in the cache memory 3, the AVA comparison unit 2 stores the AVA “board A” from the cache memory 3. Take it out (S12). Then, the AVA “board A” is compared with the AVA “board A” of the managed object instance search processing unit 1 (S13).
【0115】比較結果は一致するため、AVA比較部2
はさらに一段下のAVAを管理オブジェクトインスタン
ス検索処理部1及びキャッシュメモリ3より取出す(S
14)。そして、両者を比較する(S3)。Since the comparison results match, the AVA comparison unit 2
Retrieves the next lower AVA from the managed object instance search processing unit 1 and the cache memory 3 (S
14). Then, the two are compared (S3).
【0116】この場合、管理オブジェクトインスタンス
検索処理部1のAVAは「アンプA」であるのに対し、
キャッシュメモリ3のAVAは「回線A」であり、比較
結果は不一致となる。In this case, the AVA of the managed object instance search processing unit 1 is “Amplifier A”,
The AVA of the cache memory 3 is “line A”, and the comparison result is inconsistent.
【0117】そして、「回線A」と同位のAVAがない
ため(S11)、前述したS5及びS6の処理を行う。Since there is no AVA at the same rank as the “line A” (S11), the above-described processing of S5 and S6 is performed.
【0118】即ち、AVA比較部2は管理オブジェクト
インスタンス検索処理部1に対し、「ボードA」のAV
A及びこのアドレスを返す(S5)。That is, the AVA comparison unit 2 instructs the managed object instance search processing unit 1 to execute the AV of “board A”.
A and this address are returned (S5).
【0119】次に、管理オブジェクトインスタンス検索
処理部1はAVA「ボードA」より検索を開始し、目的
のAVA「アンプA」を得る(S6)。Next, the management object instance search processing section 1 starts searching from the AVA "board A" to obtain the target AVA "amplifier A" (S6).
【0120】[0120]
【発明の効果】本発明によれば、情報検索の際、辿った
中間の前記情報が辿った順に格納手段に格納され、次の
検索の際、その格納手段に格納された情報と被検索情報
とを最上位から順に比較し、比較結果が一致の場合はそ
れまでに辿った包含木を省略し、不一致となった情報の
直前の上位情報から検索を開始させる装置が得られるた
め、検索範囲を予め指定しておくことなく検索の高速化
を図ることができる。According to the present invention, at the time of information retrieval, the intermediate information traversed is stored in the storage means in the tracing order, and at the next retrieval, the information stored in the storage means and the information to be searched are retrieved. Are compared in order from the top, and if the result of the comparison is a match, the containment tree traced so far is omitted, and a device that starts the search from the upper information immediately before the mismatched information is obtained. Can be speeded up without pre-designating.
【0121】本発明による他の発明によれば、情報検索
の際、辿った中間の前記情報が辿った順に格納手段に格
納され、次の検索の際、その格納手段に格納された情報
と被検索情報とを最上位から順に比較し、比較結果が一
致の場合はそれまでに辿った包含木を省略し、不一致と
なった情報の直前の上位情報から検索を開始させる方法
が得られるため、検索範囲を予め指定しておくことなく
検索の高速化を図ることができる。According to another aspect of the present invention, at the time of searching for information, the information that has been traced is stored in the storage means in the order of tracing, and at the time of the next search, the information stored in the storing means is stored in the storage means. Since the search information is compared in order from the top, if the comparison result is a match, the inclusion tree traced so far is omitted, and a method of starting the search from the upper information immediately before the mismatched information is obtained. The search can be speeded up without specifying the search range in advance.
【0122】さらに本発明による他の発明によれば、情
報検索の際、辿った中間の前記情報が辿った順に格納手
段に格納され、次の検索の際、その格納手段に格納され
た情報と被検索情報とを最上位から順に比較し、比較結
果が一致の場合はそれまでに辿った包含木を省略し、不
一致となった情報の直前の上位情報から検索を開始させ
るためのプログラムを記録した記録媒体が得られるた
め、検索範囲を予め指定しておくことなく検索の高速化
を図ることができる。Further, according to another aspect of the present invention, at the time of information retrieval, the intermediate information traversed is stored in the storage means in the tracing order, and at the time of the next retrieval, the information stored in the storage means is stored. Compares the searched information with the information in order from the top and records a program to start the search from the upper information immediately before the mismatched information, omitting the inclusion tree traced up to that point if the comparison result matches Thus, a high-speed search can be achieved without specifying a search range in advance.
【図1】本発明に係る木構造情報検索装置の第1の実施
の形態の構成図である。FIG. 1 is a configuration diagram of a first embodiment of a tree structure information search device according to the present invention.
【図2】同装置のAVA比較部2の動作を示すフローチ
ャートである。FIG. 2 is a flowchart showing an operation of an AVA comparison unit 2 of the device.
【図3】同装置の第2の実施の形態の模式説明図であ
る。FIG. 3 is a schematic explanatory view of a second embodiment of the device.
【図4】同装置の第3の実施の形態の構成図である。FIG. 4 is a configuration diagram of a third embodiment of the device.
【図5】同装置の実施例の木構造情報の模式説明図であ
る。FIG. 5 is a schematic explanatory diagram of tree structure information according to the embodiment of the apparatus.
【図6】キャッシュメモリ3に格納された情報の一例を
示す模式説明図である。FIG. 6 is a schematic explanatory view showing an example of information stored in a cache memory 3.
【図7】キャッシュメモリ3に格納された情報の他の一
例を示す模式説明図である。FIG. 7 is a schematic explanatory view showing another example of the information stored in the cache memory 3.
【図8】他の一例の動作を示すフローチャートである。FIG. 8 is a flowchart showing an operation of another example.
【図9】従来の木構造情報の一例の模式説明図である。FIG. 9 is a schematic diagram illustrating an example of conventional tree structure information.
【図10】エントリの形式図である。FIG. 10 is a format diagram of an entry.
【図11】従来の木構造情報検索装置の一例の構成図で
ある。FIG. 11 is a configuration diagram of an example of a conventional tree structure information search device.
【図12】同装置の動作を示すフローチャートである。FIG. 12 is a flowchart showing the operation of the apparatus.
【図13】同装置の他の一例の構成図である。FIG. 13 is a configuration diagram of another example of the device.
1 管理オブジェクトインスタンス検索処理部 2 AVA比較部 3 キャッシュメモリ 15 記録媒体 82 木構造情報格納部 Reference Signs List 1 managed object instance search processing unit 2 AVA comparison unit 3 cache memory 15 recording medium 82 tree structure information storage unit
Claims (24)
報を最上位の情報から順次検索し、目的の最下位の情報
を得る木構造情報検索装置であって、 情報検索の際、辿った中間位の情報の履歴が格納される
履歴格納手段と、新たな情報検索を行うに先立ち、各位
の被検索情報と前記履歴格納手段に格納された情報のう
ち前記各位の被検索情報と同位の情報とを最上位の情報
から順に比較する比較手段と、この比較手段での比較結
果に応じて所定位の情報より検索を開始する検索手段と
を含むことを特徴とする木構造情報検索装置。1. A tree structure information search device for sequentially searching a plurality of pieces of information related by a tree structure from the highest-order information to obtain the lowest-order information of interest. History storing means for storing the history of intermediate information, and prior to performing a new information search, of the searched information of each rank and the information stored in the history storing means, the same as the searched information of each rank; A tree structure information search device, comprising: comparison means for comparing information in order from the highest-order information; and search means for starting a search from predetermined information in accordance with the comparison result of the comparison means.
位の情報が格納されることを特徴とする請求項1記載の
木構造情報検索装置。2. The tree structure information search device according to claim 1, wherein the history storage means stores intermediate information obtained at the time of a previous search.
も高い中間位の情報が格納されることを特徴とする請求
項1記載の木構造情報検索装置。3. The tree structure information search device according to claim 1, wherein the history storage means stores intermediate information having the highest access frequency.
関係付けられた中間位の情報を含むことを特徴とする請
求項1記載の木構造情報検索装置。4. The tree structure information search device according to claim 1, wherein said history storage means includes intermediate information associated with said tree structure.
より1段上位の情報を前記履歴格納手段より取出して前
記検索手段に送出し、前記検索手段は前記比較手段より
得た情報を起点として検索を開始することを特徴とする
請求項1〜4いずれかに記載の木構造情報検索装置。5. The comparison means retrieves information one level higher than the information in which a mismatch is detected from the history storage means and sends it to the search means, and the search means uses the information obtained from the comparison means as a starting point. The tree structure information search device according to any one of claims 1 to 4, wherein the search is started.
の情報の各々を異なるアドレスに格納した木構造情報格
納手段を含み、前記履歴格納手段に格納される中間位の
情報にはその情報が格納された前記木構造情報格納手段
のアドレスが含まれることを特徴とする請求項1〜5い
ずれかに記載の木構造情報検索装置。6. A tree structure information storing means for storing each of a plurality of pieces of information related by the tree structure at different addresses, and the intermediate information stored in the history storing means includes the information. 6. The tree structure information search device according to claim 1, further comprising an address of the stored tree structure information storage unit.
情報は、主情報と、辿るべき一段下位の情報群を指定す
る情報群ポインタと、同位の情報群より取得すべき1の
情報を指定する1情報ポインタとを含むことを特徴とす
る請求項1〜6いずれかに記載の木構造情報検索装置。7. Each piece of information related by the tree structure specifies main information, an information group pointer for specifying a next lower information group to be traced, and one piece of information to be obtained from a peer information group. The tree structure information search device according to any one of claims 1 to 6, further comprising:
る各装置が有する回路のうちの所定回路を検索するため
の情報であることを特徴とする請求項1〜7いずれかに
記載の木構造情報検索装置。8. The tree structure information according to claim 1, wherein the tree structure information is information for searching for a predetermined circuit among circuits included in each device constituting the network. Search device.
報を最上位の情報から順次検索し、目的の最下位の情報
を得る木構造情報検索方法であって、 情報検索の際、辿った中間位の情報の履歴を記録する第
1処理と、新たな情報検索を行うに先立ち、各位の被検
索情報と前記第1処理にて記録された情報のうち前記各
位の被検索情報と同位の情報とを最上位の情報から順に
比較する第2処理と、この第2処理での比較結果に応じ
て所定位の情報より検索を開始する第3処理とを含むこ
とを特徴とする木構造情報検索方法。9. A tree structure information search method for sequentially searching a plurality of pieces of information related by a tree structure from the highest-order information and obtaining the lowest-order information of interest. A first process of recording the history of the intermediate information, and prior to performing a new information search, of the searched information of each rank and the same information as the searched information of each rank among the information recorded in the first processing. Tree structure information, comprising: a second process for sequentially comparing information with the highest-order information; and a third process for starting a search from predetermined-position information in accordance with the comparison result in the second process. retrieval method.
の情報が記録されることを特徴とする請求項9記載の木
構造情報検索方法。10. The tree structure information search method according to claim 9, wherein, in the first processing, information of an intermediate position in a previous search is recorded.
高い中間位の情報が記録されることを特徴とする請求項
9記載の木構造情報検索方法。11. The tree structure information search method according to claim 9, wherein, in the first processing, intermediate information having the highest access frequency is recorded.
記木構造により関係付けられた中間位の情報を含むこと
を特徴とする請求項9記載の木構造情報検索方法。12. The tree structure information search method according to claim 9, wherein the information recorded in said first processing includes intermediate information associated with said tree structure.
となった場合、前記不一致となった情報より1段上位の
情報を前記第1処理で記録された情報の中から取出し、
前記第3処理は前記第2処理より得た情報を起点として
検索を開始することを特徴とする請求項9〜12いずれ
かに記載の木構造情報検索方法。13. In the second process, when the result of the comparison indicates a mismatch, information one level higher than the mismatched information is extracted from the information recorded in the first process.
The tree structure information search method according to any one of claims 9 to 12, wherein the third process starts a search starting from information obtained by the second process.
個の情報の各々を異なるアドレスに記録する第4処理を
含み、前記第1処理にて記録される中間位の情報にはそ
の情報が記録された前記第4処理におけるアドレスが含
まれることを特徴とする請求項9〜13いずれかに記載
の木構造情報検索方法。14. A fourth process for recording each of a plurality of pieces of information related by the tree structure at different addresses, and the information is recorded in intermediate information recorded in the first process. 14. The tree structure information search method according to claim 9, further comprising an address in the fourth processing performed.
の情報は、主情報と、辿るべき一段下位の情報群を指定
する情報群ポインタと、同位の情報群より取得すべき1
の情報を指定する1情報ポインタとを含むことを特徴と
する請求項9〜14いずれかに記載の木構造情報検索方
法。15. The information associated with the tree structure includes main information, an information group pointer for specifying a next lower information group to be traced, and one information to be obtained from the same information group.
The tree structure information search method according to any one of claims 9 to 14, further comprising one information pointer for specifying the information of the tree structure.
する各装置が有する回路のうちの所定回路を検索するた
めの情報であることを特徴とする請求項9〜15いずれ
かに記載の木構造情報検索方法。16. The tree structure information according to claim 9, wherein the tree structure information is information for searching for a predetermined circuit among circuits included in each device constituting the network. retrieval method.
情報を最上位の情報から順次検索し、目的の最下位の情
報を得る木構造情報検索方法を実行させるためのプログ
ラムを記録した記録媒体であって、 情報検索の際、辿った中間位の情報の履歴を記録する第
1処理と、新たな情報検索を行うに先立ち、各位の被検
索情報と前記第1処理にて記録された情報のうち前記各
位の被検索情報と同位の情報とを最上位の情報から順に
比較する第2処理と、この第2処理での比較結果に応じ
て所定位の情報より検索を開始する第3処理とを実行さ
せるためのプログラムを記録した記録媒体。17. A recording medium storing a program for executing a tree structure information search method for sequentially searching a plurality of pieces of information related by a tree structure from the highest-order information and obtaining the lowest-order information of interest. In the information search, a first process for recording the history of the intermediate information traversed, and information to be searched for and information recorded in the first process prior to performing a new information search. A second process of sequentially comparing the searched information of each rank and information of the same rank in order from the highest rank information, and a third process of starting a search from the predetermined rank information according to the comparison result in the second process. Recording medium on which a program for executing the above is recorded.
の情報が記録されることを特徴とする請求項17記載の
記録媒体。18. The recording medium according to claim 17, wherein, in the first processing, information of an intermediate position at the time of a previous search is recorded.
高い中間位の情報が記録されることを特徴とする請求項
17記載の記録媒体。19. The recording medium according to claim 17, wherein intermediate information having the highest access frequency is recorded in said first processing.
記木構造により関係付けられた中間位の情報を含むこと
を特徴とする請求項17記載の記録媒体。20. The recording medium according to claim 17, wherein the information recorded in said first processing includes intermediate-level information related by said tree structure.
となった場合、前記不一致となった情報より1段上位の
情報を前記第1処理で記録された情報の中から取出し、
前記第3処理は前記第2処理より得た情報を起点として
検索を開始することを特徴とする請求項17〜20いず
れかに記載の記録媒体。21. In the second process, when the result of the comparison indicates a mismatch, information one stage higher than the mismatched information is extracted from the information recorded in the first process.
The recording medium according to any one of claims 17 to 20, wherein the third process starts a search starting from information obtained by the second process.
個の情報の各々を異なるアドレスに記録する第4処理を
含み、前記第1処理にて記録される中間位の情報にはそ
の情報が記録された前記第4処理におけるアドレスが含
まれることを特徴とする請求項17〜21いずれかに記
載の記録媒体。22. A fourth process for recording each of a plurality of pieces of information related by the tree structure at different addresses, and the information is recorded in intermediate information recorded in the first process. 22. The recording medium according to claim 17, further comprising an address in said fourth processing performed.
の情報は、主情報と、辿るべき一段下位の情報群を指定
する情報群ポインタと、同位の情報群より取得すべき1
の情報を指定する1情報ポインタとを含むことを特徴と
する請求項17〜22いずれかに記載のいずれかに記載
の記録媒体。23. Each piece of information related by the tree structure includes main information, an information group pointer designating a next lower information group to be traced, and one information to be obtained from a peer information group.
23. The recording medium according to claim 17, further comprising one information pointer for specifying the information of (1).
する各装置が有する回路のうちの所定回路を検索するた
めの情報であることを特徴とする請求項17〜23いず
れかに記載のいずれかに記載の記録媒体。24. The method according to claim 17, wherein the tree structure information is information for searching for a predetermined circuit among circuits included in each device constituting the network. The recording medium according to the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9355929A JPH11184857A (en) | 1997-12-25 | 1997-12-25 | Tree structure information retrieval device/method and recording medium recording program executing retrieval method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9355929A JPH11184857A (en) | 1997-12-25 | 1997-12-25 | Tree structure information retrieval device/method and recording medium recording program executing retrieval method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11184857A true JPH11184857A (en) | 1999-07-09 |
Family
ID=18446465
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9355929A Pending JPH11184857A (en) | 1997-12-25 | 1997-12-25 | Tree structure information retrieval device/method and recording medium recording program executing retrieval method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11184857A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013108333A1 (en) * | 2012-01-18 | 2013-07-25 | 日本電気株式会社 | Search device, search method, and search program |
| WO2015015757A1 (en) * | 2013-08-02 | 2015-02-05 | 日本電気株式会社 | Information processing device and search method |
-
1997
- 1997-12-25 JP JP9355929A patent/JPH11184857A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013108333A1 (en) * | 2012-01-18 | 2013-07-25 | 日本電気株式会社 | Search device, search method, and search program |
| WO2015015757A1 (en) * | 2013-08-02 | 2015-02-05 | 日本電気株式会社 | Information processing device and search method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5157606A (en) | System for translation of source language data into multiple target language data including means to prevent premature termination of processing | |
| US5940831A (en) | Hypermedia system and method of managing directories and directory data originating from a node link structure in a directory server | |
| US6728705B2 (en) | System and method for selecting content for displaying over the internet based upon some user input | |
| US6304872B1 (en) | Search system for providing fulltext search over web pages of world wide web servers | |
| JP2000076105A (en) | Time version data storage device | |
| JPH02231675A (en) | Methods and apparatus for organizing, managing or retrieving data | |
| JP4233564B2 (en) | Data processing apparatus, data processing program and recording medium | |
| CN112182040B (en) | Data query method, device, equipment and storage medium | |
| JP2000357115A (en) | Device and method for file retrieval | |
| JPH11184857A (en) | Tree structure information retrieval device/method and recording medium recording program executing retrieval method | |
| JPH1040255A (en) | Hash table control device | |
| JPH06215037A (en) | Automatic updating device for index | |
| JP2886308B2 (en) | Data registration apparatus and method and data search apparatus and method | |
| JPH0836512A (en) | Directory retrieval device | |
| JP2001056816A (en) | Search system, search device, and recording medium recording program | |
| KR0165511B1 (en) | Information test method using sequential link list | |
| JPH08249356A (en) | Database retrieval system | |
| JPS60254342A (en) | Controlling method of resources in using | |
| JP2004110216A (en) | Search device and method | |
| JP2003022202A (en) | Record management method, its implementation device, and its processing program | |
| JP2000148776A (en) | Method and system for information retrieval and computer-readable medium where information retrieving program is recorded | |
| JPH04250569A (en) | Network file service controller | |
| JPH06325088A (en) | Information retrieval system | |
| JPH09212520A (en) | Electronic dictionary device | |
| JPH06230952A (en) | Program editing device |