JP2000242538A - Directory retrieval system, directory retrieving method and computer readable recording medium with directory retrieval program recorded therein - Google Patents

Directory retrieval system, directory retrieving method and computer readable recording medium with directory retrieval program recorded therein

Info

Publication number
JP2000242538A
JP2000242538A JP11043259A JP4325999A JP2000242538A JP 2000242538 A JP2000242538 A JP 2000242538A JP 11043259 A JP11043259 A JP 11043259A JP 4325999 A JP4325999 A JP 4325999A JP 2000242538 A JP2000242538 A JP 2000242538A
Authority
JP
Japan
Prior art keywords
entry
directory
search
attribute
ancestor
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
JP11043259A
Other languages
Japanese (ja)
Inventor
Yoshitaka Yasumura
義孝 安村
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP11043259A priority Critical patent/JP2000242538A/en
Publication of JP2000242538A publication Critical patent/JP2000242538A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To enable the fast processing of a scope (range) retrieval in a directory service. SOLUTION: The directory retrieval system consists of an entry managing means 21 which changes tables managing the ancestral relation of an entry when the entry existing in a directory hierarchy is registered and eliminated and when an ID is updated, a filter retrieving means 22 which retrieves an entry according to an attribute condition and a scope discriminating means 23 which utilizes the ancestral relation table of an entry and performs scope retrieval. When a directory is retrieved, the means 22 acquires entries meeting an attribute condition and the means 23 narrows down an entry meeting the scope retrieval among them.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はディレクトリ検索シ
ステム、ディレクトリ検索方法およびディレクトリ検索
用プログラムを記録したコンピュータ読み取り可能な記
録媒体に関し、特に、ディレクトリ上の検索範囲を指定
できるディレクトリ検索システム、ディレクトリ検索方
法およびディレクトリ検索用プログラムを記録したコン
ピュータ読み取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a directory search system, a directory search method, and a computer-readable recording medium storing a directory search program, and more particularly to a directory search system and a directory search method capable of specifying a search range on a directory. And a computer-readable recording medium recording a directory search program.

【0002】[0002]

【従来の技術】ディレクトリ検索システムは、個人情報
管理やネットワーク管理、ファイル管理などのディレク
トリサービスにおいて、利用者が必要とする情報を探す
ために、様々な資源を対象にする検索システムである。
様々な資源とは、組織や個人、コンピュータ、プリン
タ、文書など、それぞれのディレクトリサービスで管理
対象となる物を表し、各資源には管理対象の名前などの
複数の属性情報が存在する。また、これらの資源は階層
構造として管理されている。一般に、ディレクトリサー
ビスで管理される資源をエントリ、その属性をアトリビ
ュートとしてデータベースに格納される。
2. Description of the Related Art A directory search system is a search system for various resources in order to search for information required by a user in a directory service such as personal information management, network management, and file management.
Various resources represent objects to be managed by respective directory services, such as organizations, individuals, computers, printers, and documents, and each resource has a plurality of attribute information such as names of the objects to be managed. These resources are managed as a hierarchical structure. Generally, resources managed by the directory service are stored in a database as entries and their attributes as attributes.

【0003】従来のディレクトリ検索システムでは、階
層構造を持つファイルシステムを対象にすることが多
く、各階層や複数の階層に跨る範囲に含まれるファイル
を検索するものである。また、特開平10−15409
5号公報に開示されているように、特定の用途に特化し
ていない汎用のディレクトリサービスも存在する。この
ようなディレクトリサービスを提供するシステムでは、
検索範囲を示すスコープと検索条件を示すフィルタを利
用者が指定して検索処理が行われる。
A conventional directory search system often targets a file system having a hierarchical structure, and searches for files included in a range extending over each hierarchy or a plurality of hierarchies. Also, Japanese Patent Application Laid-Open No. 10-15409
As disclosed in Japanese Patent Laid-Open Publication No. 5 (1999), there is a general-purpose directory service that is not specialized for a specific use. In a system that provides such a directory service,
The user specifies a scope indicating the search range and a filter indicating the search condition, and the search process is performed.

【0004】従来のディレクトリ検索装置の一例とし
て、特開平08−036512号公報に開示されてい
る。この公報で開示されたディレクトリ検索装置は、各
々階層レベルが予め定められると共に、階層レベルが異
なりかつ互いに関連するディレクトリがリンクされた複
数のディレクトリを表すディレクトリ情報を記憶した記
憶手段と、複数の階層レベルに跨る検索範囲を指定する
ための指定手段と、前記指定手段によって指定された検
索範囲内に存在するディレクトリを前記記憶手段に記憶
されたディレクトリ情報より検索する検索手段と、前記
検索手段によって検索されたディレクトリ及び検索され
たディレクトリのリンク状態を表示する表示手段とから
構成されている。
[0004] An example of a conventional directory search device is disclosed in Japanese Patent Application Laid-Open No. 08-036512. The directory search device disclosed in this publication includes storage means for storing directory information indicating a plurality of directories each having a predetermined hierarchy level and linking directories having different hierarchy levels and related to each other; Specifying means for specifying a search range across levels; searching means for searching a directory existing within the search range specified by the specifying means from directory information stored in the storage means; and searching by the searching means And a display unit for displaying a link state of the searched directory and the searched directory.

【0005】このような構成を有する従来のディレクト
リ検索装置は次のように動作する。まず、指定手段によ
って指定されたディレクトリに格納されているディレク
トリ・ファイルを、検索手段によって記憶手段に記憶さ
れたディレクトリ情報から検索する。検索範囲の指定有
無によって、さらにディレクトリファイルの検索を行
い、検索結果の編集をした後に、表示手段により表示画
面上のウィンドウ内に検索結果を表示する。
[0005] The conventional directory search device having such a configuration operates as follows. First, a directory file stored in the directory specified by the specifying unit is searched from the directory information stored in the storage unit by the searching unit. Depending on whether or not the search range is specified, the directory file is further searched, and after the search result is edited, the search result is displayed in a window on the display screen by the display unit.

【0006】さらに、ディレクトリアクセスの高速化の
ために、従来のディレクトリシステムの一例が、特開平
07−311704号公報に開示されている。この公報
で開示されたディレクトリシステムは、オブジェクトに
関する情報の登録及びその検索の制御を行うシステム制
御部と、ディレクトリをアクセスするディレクトリアク
セス部と、ハッシュディレクトリ識別子に応答してハッ
シュディレクトリの検索を行うハッシュディレクトリア
クセス部と、オブジェクトの識別子にハッシュ関数を作
用させてハッシュディレクトリのハッシュディレクトリ
識別子を決定するハッシュ関数作用部と、他のハッシュ
ディレクトリに対するアクセスを行う通信制御部とから
構成されている。
An example of a conventional directory system for speeding up directory access is disclosed in Japanese Patent Application Laid-Open No. 07-31704. The directory system disclosed in this publication includes a system control unit that controls registration of information about an object and control of its search, a directory access unit that accesses a directory, and a hash that searches a hash directory in response to a hash directory identifier. A directory access unit, a hash function operation unit that determines a hash directory identifier of a hash directory by applying a hash function to an identifier of an object, and a communication control unit that accesses another hash directory.

【0007】オブジェクトに関する情報へのアクセスの
発生に応答したシステム制御部が、ディレクトリアクセ
ス部を起動してディレクトリを検索し、オブジェクトに
関する情報を得る。前記オブジェクトに関する情報がな
いときは、システム制御部はハッシュ関数作用部を作用
させてハッシュディレクトリのハッシュディレクトリ識
別子を決定し、該ハッシュディレクトリ識別子で識別さ
れるハッシュディレクトリが自ディレクトリ下のもので
あるとき、ハッシュディレクトリアクセス部を起動して
該ハッシュディレクトリを検索し、オブジェクトに関す
る情報を得る。決定されたハッシュディレクトリ識別子
が自ディレクトリシステムのものではないとき、該ハッ
シュディレクトリ識別子を通信制御部を介して当該ハッ
シュディレクトリ識別子で識別されるハッシュディレク
トリを有するディレクトリシステムへ転送してオブジェ
クトに関する情報の検索を依頼する。
[0007] In response to the occurrence of access to the information on the object, the system control unit activates the directory access unit, searches the directory, and obtains information on the object. When there is no information on the object, the system control unit operates the hash function operation unit to determine a hash directory identifier of the hash directory, and when the hash directory identified by the hash directory identifier belongs to the own directory. Activate the hash directory access unit and search the hash directory to obtain information about the object. When the determined hash directory identifier is not that of the own directory system, the hash directory identifier is transferred to the directory system having the hash directory identified by the hash directory identifier via the communication control unit to search for information on the object. Ask for.

【0008】[0008]

【発明が解決しようとする課題】上記の従来技術には以
下のような問題点があった。
The above prior art has the following problems.

【0009】第1の問題点は、ディレクトリサービスに
おいてスコープ(範囲)検索処理の高速化方式が提供さ
れていないということである。
A first problem is that a directory service does not provide a method for speeding up scope (range) search processing.

【0010】その理由は、従来のディレクトリ検索シス
テムでは、各階層レベル毎にひとまとめにしてオブジェ
クト(ファイル)を管理していたため、検索対象にする
ディレクトリの範囲を指定した場合には、階層を辿ると
いう操作が必要とされるためである。
[0010] The reason is that in the conventional directory search system, objects (files) are managed collectively for each hierarchical level, so that when a range of directories to be searched is specified, the hierarchy is traced. This is because an operation is required.

【0011】第2の問題点は、階層レベルの継承関係を
記憶装置に記憶してスコープ検索の高速化に役立てるに
しても、オブジェクト数が多くなると大容量の記憶装置
が必要となるということである。
A second problem is that even if the hierarchical level inheritance relation is stored in a storage device to speed up the scope search, a large-capacity storage device is required as the number of objects increases. is there.

【0012】その理由は、階層レベルの継承関係を表形
式で管理する場合に、そのシステムの最大識別子(例え
ば2の32乗)の2乗ビット分の主記憶装置が必要とな
るためである。また、一部の継承関係だけを主記憶装置
に記憶しておき、残りの継承関係を二次記憶装置に格納
して適宜入れ換えるようにしても、二次記憶装置へのア
クセスが入ってしまうために、検索時間が遅くなってし
まう。
[0012] The reason is that, when managing the inheritance relation at the hierarchical level in the form of a table, a main storage device for the square bits of the maximum identifier (for example, 2 to the 32nd power) of the system is required. Further, even if only a part of the inheritance relationship is stored in the main storage device and the remaining inheritance relationship is stored in the secondary storage device and replaced as appropriate, access to the secondary storage device is required. In addition, the search time becomes slow.

【0013】本発明の目的は、スコープ処理高速化方式
を持つディレクトリ検索システムを提供することにあ
る。
An object of the present invention is to provide a directory search system having a high-speed scope processing method.

【0014】本発明の他の目的は、スコープ処理のため
に必要な継承関係の記憶領域を縮小できるディレクトリ
検索システムを提供することにある。
Another object of the present invention is to provide a directory search system capable of reducing a storage area of an inheritance relationship required for scope processing.

【0015】[0015]

【課題を解決するための手段】本発明の第1のディレク
トリ検索システムは、エントリの検索処理の後に、先祖
関係による範囲検索処理を行う。より具体的には、エン
トリの登録・削除・ID更新時に先祖関係の表を変更す
るエントリ管理手段(図1の21)と、属性条件による
エントリ検索を行うフィルタ検索手段(図1の22)
と、エントリの先祖関係の表を利用して範囲検索を行う
スコープ判定手段(図1の23)とを有する。
A first directory search system according to the present invention performs a range search process based on an ancestor relationship after an entry search process. More specifically, an entry management means (21 in FIG. 1) for changing the ancestor table at the time of entry registration / deletion / ID update, and a filter search means (22 in FIG. 1) for performing an entry search based on attribute conditions.
And a scope determining means (23 in FIG. 1) for performing a range search using a table of the ancestor relationship of the entry.

【0016】また、本発明の第2のディレクトリ検索シ
ステムは、エントリの先祖関係をビットマップの形式で
保持し、前記ビットマップを参照することで範囲検索処
理を行う。より具体的には、エントリのIDからビット
値を計算するビット演算手段(図6の24)を有する。
Further, the second directory search system of the present invention holds an ancestor relationship of an entry in a bitmap format, and performs a range search process by referring to the bitmap. More specifically, it has bit operation means (24 in FIG. 6) for calculating a bit value from the ID of the entry.

【0017】[0017]

【発明の実施の形態】[実施形態1]次に、本発明の実
施形態1について図面を参照して詳細に説明する。
[First Embodiment] Next, a first embodiment of the present invention will be described in detail with reference to the drawings.

【0018】図1を参照すると、本発明の実施形態1
は、キーボード等の入力装置1と、プログラム制御によ
り動作するデータ処理装置2と、情報を記憶する記憶装
置3と、ディスプレイ装置や印刷装置等の出力装置4と
を含む。
Referring to FIG. 1, Embodiment 1 of the present invention
Includes an input device 1 such as a keyboard, a data processing device 2 that operates under program control, a storage device 3 for storing information, and an output device 4 such as a display device or a printing device.

【0019】記憶装置3は、エントリ/アトリビュート
記憶部31と、複合インデックス記憶部32と、先祖関
係記憶部33とを備えている。
The storage device 3 includes an entry / attribute storage unit 31, a composite index storage unit 32, and an ancestor relationship storage unit 33.

【0020】エントリ/アトリビュート記憶部31は、
ディレクトリ階層における個々のノードに相当するエン
トリの情報と、前記エントリに含まれる属性であるアト
リビュートの情報を記憶しておくためのものである。
The entry / attribute storage unit 31
This is for storing information of an entry corresponding to each node in the directory hierarchy and information of an attribute which is an attribute included in the entry.

【0021】複合インデックス記憶部32は、各エント
リがディレクトリ上の何階層目の何番目かという複合し
たデータを、二分木やハッシュ表等によりインデックス
の形式で記憶しておくためのものである。汎用のデータ
ベース管理システムでも同様の機能が提供されているも
のもある。
The composite index storage unit 32 is for storing composite data of each entry and the number of the hierarchy in the directory in the form of an index using a binary tree, a hash table, or the like. Some general-purpose database management systems also provide similar functions.

【0022】先祖関係記憶部33は、各エントリの先祖
のエントリ(ディレクトリ階層の上位に位置しているエ
ントリ)が何かというデータを、複合インデックス記憶
部32で記憶している何階層目の何番目というデータを
利用して2次元の表形式で記憶しておくためのものであ
る。
The ancestor relationship storage unit 33 stores data indicating what the ancestor entry of each entry is (the entry located at a higher level in the directory hierarchy). The data is stored in a two-dimensional table format using the data of the number.

【0023】データ処理装置2は、エントリ管理手段2
1と、フィルタ検索手段22と、スコープ判定手段23
とを備える。
The data processing device 2 includes an entry management unit 2
1, filter search means 22, and scope determination means 23
And

【0024】エントリ管理手段21は、利用者から入力
装置1によりエントリの登録・削除・ID更新、アトリ
ビュートの登録・削除・更新などの要求を受け付け、そ
の要求によりエントリ/アトリビュート記憶部31にエ
ントリやアトリビュートの登録・削除・更新を行う。エ
ントリのIDが変更される場合には複合インデックス記
憶部32と先祖関係記憶部33の該当するデータも更新
する。これらの処理が終了した旨は出力装置4に表示す
る。
The entry management means 21 receives a request from the user for entry registration / deletion / ID update, attribute registration / deletion / update, etc. through the input device 1, and the entry / attribute storage unit 31 receives the request from the user. Register, delete, and update attributes. When the ID of the entry is changed, the corresponding data in the composite index storage unit 32 and the ancestor relationship storage unit 33 are also updated. The end of these processes is displayed on the output device 4.

【0025】フィルタ検索手段22は、利用者から入力
装置1によりディレクトリの検索要求を受け付け、利用
者が指定した検索条件にしたがってエントリ/アトリビ
ュート記憶部31に格納されているエントリの検索を行
う。
The filter search means 22 receives a directory search request from the user through the input device 1, and searches for an entry stored in the entry / attribute storage unit 31 according to a search condition specified by the user.

【0026】スコープ判定手段23は、フィルタ検索手
段22によって検索された結果のエントリ集合から、利
用者が指定した検索範囲に入っているエントリのみに絞
り込む。この際、先祖関係記憶部33を利用して、対象
となるエントリが検索範囲の基点となるエントリを先祖
に持つかにより判定し、検索範囲に含まれている場合に
は複合インデックス記憶部32により目的のエントリを
取得する。最終的な検索結果は出力装置4に表示する。
The scope determining means 23 narrows down, from the set of entries searched by the filter searching means 22, only those entries which fall within the search range specified by the user. At this time, the ancestor relationship storage unit 33 is used to determine whether the target entry has an entry that is the base point of the search range in the ancestor. If the entry is included in the search range, the composite index storage unit 32 determines Get the desired entry. The final search result is displayed on the output device 4.

【0027】次に、図1および図2と図3のフローチャ
ートを参照して実施形態1の全体の動作について詳細に
説明する。
Next, the overall operation of the first embodiment will be described in detail with reference to the flowcharts of FIGS. 1, 2 and 3.

【0028】まず、図2のフローチャートに基づいて、
ディレクトリ情報を管理する動作について説明する。入
力装置1から与えられた要求がエントリ管理手段21で
受け付けられ、この要求がアトリビュートの更新要求か
を調べて(ステップA1)、もしそうならばエントリ/
アトリビュート記憶部31内の該当するエントリのアト
リビュートを更新して(ステップA2)、処理終了を通
知するために出力装置4に表示する(ステップA1
3)。
First, based on the flowchart of FIG.
An operation for managing directory information will be described. The request given from the input device 1 is accepted by the entry management means 21, and it is checked whether this request is an attribute update request (step A1).
The attribute of the corresponding entry in the attribute storage unit 31 is updated (step A2) and displayed on the output device 4 to notify the end of the processing (step A1).
3).

【0029】ステップA1で、アトリビュートの更新要
求ではないときには、ID更新又は削除要求か否かを調
べて(ステップA3)、もしID更新又は削除要求なら
ば複合インデックス記憶部32からエントリのIDを削
除し(ステップA4)、先祖関係記憶部33の表の該当
箇所のチェックも消去する(ステップA5)。削除要求
の場合(ステップA6)には、エントリ/アトリビュー
ト記憶部31から削除するデータ(エントリまたはアト
リビュート)を削除する(ステップA7)。登録要求の
場合(ステップA8)には、逆にエントリ/アトリビュ
ート記憶部31にデータ(エントリまたはアトリビュー
ト)を登録する(ステップA9)。さらに、ID更新ま
たは登録要求の場合(ステップA10)には、複合イン
デックス記憶部32にエントリのIDを追加し(ステッ
プA11)、先祖関係記憶部33の表の該当箇所にもチ
ェックする(ステップA12)。最後に、処理終了を通
知するために出力装置4に表示する(ステップA1
3)。
In step A1, if the request is not an attribute update request, it is checked whether the request is an ID update or deletion request (step A3). If the request is an ID update or deletion request, the ID of the entry is deleted from the composite index storage unit 32. (Step A4), and also deletes the check of the corresponding part of the table in the ancestor relationship storage unit 33 (Step A5). In the case of a deletion request (step A6), the data (entry or attribute) to be deleted is deleted from the entry / attribute storage unit 31 (step A7). In the case of a registration request (step A8), data (entry or attribute) is registered in the entry / attribute storage unit 31 (step A9). Further, in the case of an ID update or registration request (step A10), the ID of the entry is added to the composite index storage unit 32 (step A11), and the corresponding part of the table in the ancestor relationship storage unit 33 is also checked (step A12). ). Finally, a message is displayed on the output device 4 to notify the end of the processing (step A1).
3).

【0030】次に、図3のフローチャートに基づいて、
ディレクトリ情報を検索する動作について説明する。入
力装置1から与えられた検索要求がフィルタ検索手段2
2で受け付けられ、利用者が指定した検索条件(フィル
タ条件)にしたがってエントリ/アトリビュート記憶部
31に格納されているエントリの検索を行う(ステップ
B1)。ここでは、通常のデータベース管理システムで
実現されている検索技術が利用できる。検索条件を満た
すエントリは、そのIDが検索結果として一時集合に格
納される(ステップB2)。そして、この一時集合が空
かを調べて(ステップB3)、もし空ならば結果集合
(この場合は空)を出力装置4に表示する(ステップB
7)。
Next, based on the flowchart of FIG.
The operation of searching for directory information will be described. The search request given from the input device 1 is the filter search means 2
The search is performed on the entry stored in the entry / attribute storage unit 31 in accordance with the search condition (filter condition) specified by the user (step B1). Here, a search technology realized in a normal database management system can be used. For an entry that satisfies the search condition, its ID is stored in the temporary set as a search result (step B2). Then, it is checked whether the temporary set is empty (step B3), and if it is empty, the result set (in this case, empty) is displayed on the output device 4 (step B3).
7).

【0031】ステップB3で、一時集合が空ではない場
合には、一時集合からIDを1つ取得し(ステップB
4)、先祖関係記憶部33の表を参照して、そのIDの
エントリの項目が検索範囲(スコープ)の基点となるエ
ントリの項目にチェックがあるかを調べる(ステップB
5)。チェックがある場合には、結果集合にそのIDを
格納し(ステップB6)、ステップB3に戻る。チェッ
クがない場合には、そのままステップB3に戻る。これ
を一時集合内の全てのIDについて繰り返し、それが終
了すると、複合インデックス記憶部32を利用してエン
トリにアクセスして、結果集合から検索結果を出力装置
4に表示する(ステップB7)。
If the temporary set is not empty at step B3, one ID is obtained from the temporary set (step B3).
4) Referring to the table of the ancestor relationship storage unit 33, it is checked whether or not the item of the entry having the ID as the base point of the search range (scope) is checked (step B).
5). If there is a check, the ID is stored in the result set (step B6), and the process returns to step B3. If there is no check, the process returns to step B3. This is repeated for all the IDs in the temporary set, and when that is completed, the entry is accessed using the composite index storage unit 32, and the search result from the result set is displayed on the output device 4 (step B7).

【0032】実施形態1では、ディレクトリ上の検索対
象となる検索範囲が指定された場合に、2次元の表形式
で管理されたエントリの先祖関係を利用して、目的のエ
ントリが検索範囲に入っているかを判定することができ
る。そのため、エントリ間の関係を辿るためにデータベ
ースに何度もアクセスしに行くこともなく、検索速度が
向上する。
In the first embodiment, when a search range to be searched in the directory is specified, the target entry is included in the search range by using the ancestor relationship of the entries managed in a two-dimensional table format. Can be determined. Therefore, the search speed is improved without going to the database many times to trace the relationship between the entries.

【0033】[実施例1]次に、具体的な実施例を用い
て実施形態1の動作を説明する。
[First Embodiment] Next, the operation of the first embodiment will be described using a specific embodiment.

【0034】図4に示すようなディレクトリ階層を例に
する。この例では、ある会社の組織を管理するディレク
トリサービスであり、この会社は管理部門、営業部門、
開発部門から構成されている。管理部門には人事課と経
理課、営業部門には営業一課と営業二課、開発部門には
企画課と製造課という部署が存在する。各部署にはA氏
からL氏までの12人がそれぞれ2人ずつ配属されてお
り、全部で4階層のディレクトリが形成されている。
An example is a directory hierarchy as shown in FIG. In this example, a directory service that manages the organization of a company, which has administrative, sales,
It consists of a development department. The administration section has a personnel section and an accounting section, the sales section has a sales section and a sales section, and the development section has a planning section and a manufacturing section. In each department, 12 persons from Mr. A to Mr. L are assigned to two persons each, and a directory of four layers is formed in total.

【0035】このとき、先祖関係記憶部33には、図5
に示すような2次元の表が格納されることになる。表の
横の行には、ディレクトリ階層上の先祖を持つエントリ
が並べられており、各行には階層番号と階層別番号(図
5では、分かりやすいようにエントリの名前で表してあ
る)からなるIDで識別している。表の縦の列には、子
孫を持つエントリが並べられており、各列には前記ID
(階層番号と階層別番号)で識別している。この表の上
でチェックがある項目は、縦の列のエントリが横の行の
エントリの先祖になっていることを表現している。例え
ば、D氏の先祖は会社と管理部門と経理課ということが
分かる。
At this time, the ancestor relationship storage unit 33 stores
The two-dimensional table shown in FIG. In the row on the side of the table, entries having ancestors in the directory hierarchy are arranged, and each row is composed of a hierarchy number and a hierarchy-specific number (in FIG. 5, the names are indicated by the names of the entries for easy understanding). It is identified by ID. In the vertical column of the table, entries having descendants are arranged, and each column has the ID
(Hierarchy number and hierarchy number). Items checked in this table indicate that the entry in the vertical column is an ancestor of the entry in the horizontal row. For example, it can be seen that D's ancestors are a company, a management department, and an accounting section.

【0036】エントリ管理手段21はエントリの登録や
削除、ID更新により、先祖関係管理部33に格納され
ている表の上にチェックしたり、チェックを消去したり
する(ステップA5およびステップA12)ことによ
り、先祖関係の表を常に最新の状態に保つ役割をする。
The entry management means 21 checks or deletes the check on the table stored in the ancestor relationship management unit 33 by registering, deleting, and updating the ID (steps A5 and A12). With this function, the ancestor table is always kept up-to-date.

【0037】また、スコープ判定手段23は、検索範囲
が指定されたエントリの検索時に、先祖関係管理部33
に格納されている表を参照して、表の上にチェックがあ
れば検索範囲に入っているエントリであると判定して結
果集合にそのIDを格納する(ステップB6)。例え
ば、検索範囲が営業部門以下のエントリであり、フィル
タ検索手段22で検索条件を満たすエントリがC氏とG
氏とK氏のエントリであるとすると、ステップB2で一
時集合に3つのIDが格納されることになり、ステップ
B3からステップB6までの処理が3回繰り返される。
この繰り返しの処理において、ステップB5の表のチェ
ックを調べる際に、検索範囲の基点である営業部門のエ
ントリに対するIDの項目にチェックがあるのはG氏の
エントリだけである。したがって、ステップB6で結果
集合に格納されるIDはG氏のエントリのみであり、G
氏のエントリが検索結果として出力装置4に表示される
(ステップB7)。
The scope determining means 23 searches the ancestor relationship management unit 33 when searching for an entry whose search range is specified.
, And if there is a check on the table, it is determined that the entry is within the search range, and the ID is stored in the result set (step B6). For example, the search range is the entry of the sales department or lower.
If the entries are Mr. and Mr. K, the three IDs are stored in the temporary set in step B2, and the processing from step B3 to step B6 is repeated three times.
In this repetitive processing, when checking the check in the table in step B5, only the entry of Mr. G has a check in the ID item for the entry of the sales department, which is the base point of the search range. Therefore, the only ID stored in the result set in step B6 is Mr. G's entry.
His entry is displayed on the output device 4 as a search result (step B7).

【0038】[実施形態2]次に、本発明の実施形態2
について図面を参照して詳細に説明する。
[Embodiment 2] Next, Embodiment 2 of the present invention.
Will be described in detail with reference to the drawings.

【0039】図6を参照すると、本発明の実施形態2
は、データ処理装置5が図1に示された実施形態1にお
けるデータ処理装置2の構成に加えてビット演算手段2
4を有し、記憶装置6が図1に示された実施形態1にお
ける記憶装置3の構成における継承関係記憶部33がビ
ットマップ記憶部34に置き換わる点が異なる。
Referring to FIG. 6, Embodiment 2 of the present invention
The data processing device 5 has the bit operation means 2 in addition to the configuration of the data processing device 2 in the first embodiment shown in FIG.
4 in that the storage device 6 is replaced with the bitmap storage unit 34 in the configuration of the storage device 3 in the first embodiment shown in FIG.

【0040】ビットマップ記憶部34は、ディレクトリ
階層上のエントリの先祖関係をビットマップの形式で記
憶しておくためのものである。
The bitmap storage unit 34 is for storing the ancestor relationship of the entries on the directory hierarchy in the form of a bitmap.

【0041】ビット演算手段24は、フィルタ検索手段
22により検索された結果のエントリを、スコープ判定
手段23で検索範囲に入っているかを判定する際に、ビ
ットマップ記憶部34に格納されている先祖関係のビッ
トマップにアクセスするためのビット演算を行う。ま
た、エントリ管理手段21によりエントリの追加や削
除、ID更新を行う場合、前記先祖関係のビットマップ
を更新する際にも、そのためのビット演算を行う。
The bit operation means 24 determines whether an entry obtained as a result of the search by the filter search means 22 is included in the search range by the scope determination means 23 or not. Perform a bit operation to access the bitmap of the relationship. In addition, when an entry is added or deleted, or an ID is updated by the entry management means 21, a bit operation for that is also performed when updating the ancestor bitmap.

【0042】実施形態2の動作を図面を参照して詳細に
説明する。
The operation of the second embodiment will be described in detail with reference to the drawings.

【0043】まず、図7のフローチャートに基づいて、
ディレクトリ情報を管理する動作について説明する。図
6のステップA1とA2のアトリビュートの更新処理、
ステップA6とA7のエントリ/アトリビュートのデー
タ削除処理、ステップA8とA9のエントリ/アトリビ
ュートのデータ作成処理、ステップA13の処理終了通
知で示される実施形態2におけるエントリ管理手段21
の動作は、実施形態1の手段21の動作と同一のため、
説明は省略する。ステップA3において、利用者からの
要求がID更新または削除要求の場合には、複合インデ
ックス記憶部32からエントリのIDを削除し(ステッ
プA4)、ビット演算手段24を利用してそのIDのビ
ット値を計算して(ステップC1)、ビットマップ記憶
部34のビットマップの該当箇所からビットを降ろす
(ステップC2)。また、ステップA10において、利
用者からの要求がID更新または登録要求の場合には、
複合インデックス記憶部32にエントリのIDを追加し
(ステップA11)、ビット演算手段24を利用してそ
のIDのビット値を計算して(ステップC3)、ビット
マップ記憶部34のビットマップの該当箇所にビットを
立てる(ステップC4)。
First, based on the flowchart of FIG.
An operation for managing directory information will be described. Update processing of the attributes of steps A1 and A2 in FIG. 6,
Entry / attribute data deletion processing in steps A6 and A7, entry / attribute data creation processing in steps A8 and A9, and entry management means 21 in the second embodiment indicated by processing end notification in step A13
Is the same as the operation of the means 21 of the first embodiment,
Description is omitted. In step A3, when the request from the user is an ID update or deletion request, the ID of the entry is deleted from the composite index storage unit 32 (step A4), and the bit value of the ID is Is calculated (step C1), and the bit is dropped from the corresponding portion of the bitmap in the bitmap storage unit 34 (step C2). In step A10, when the request from the user is an ID update or registration request,
The ID of the entry is added to the composite index storage unit 32 (step A11), the bit value of the ID is calculated using the bit operation unit 24 (step C3), and the corresponding portion of the bit map in the bit map storage unit 34 is calculated. Is set (step C4).

【0044】次に、図8のフローチャートに基づいて、
ディレクトリ情報を検索する動作について説明する。図
7のステップB1とB2のフィルタ検索処理で示される
実施形態2におけるフィルタ検索手段22の動作および
ステップB3とB7で示される実施形態2におけるスコ
ープ判定手段23の動作は、実施形態1の各手段22お
よび23の動作と同一のため、説明は省略する。ステッ
プB4で一時集合からIDを1つ取得した後、ビット演
算手段24を利用してそのIDのビット値を計算し(ス
テップD1)、ビットマップ記憶部34のビットマップ
の該当箇所のビットが立っているかを調べる(ステップ
D2)。ビットが立っている場合には、結果集合にその
IDを格納する(ステップB6)が、ビットが立ってい
ない場合には、そのままステップB3に戻る。
Next, based on the flowchart of FIG.
The operation of searching for directory information will be described. The operation of the filter search means 22 in the second embodiment shown in the filter search processing in steps B1 and B2 in FIG. 7 and the operation of the scope determination means 23 in the second embodiment shown in steps B3 and B7 are the same as those in the first embodiment. Since the operations are the same as those of the operations 22 and 23, the description is omitted. After obtaining one ID from the temporary set in step B4, the bit value of the ID is calculated using the bit operation means 24 (step D1), and the bit of the corresponding portion of the bit map of the bit map storage unit 34 is set. Is checked (step D2). If the bit is set, the ID is stored in the result set (step B6). If the bit is not set, the process returns to step B3.

【0045】[実施例2]次に、具体的な実施例につい
て説明する。実施形態1の実施例と同様に、図3に示す
ようなディレクトリ階層を例にする。このとき、ビット
マップ記憶部34には、図9に示すようなビットマップ
が格納されることになる。ビットマップの横の行はディ
レクトリ階層毎に区切ったエントリが並べられており、
始めの2ビットで階層番号を、残りの4ビットで階層別
番号(サブID)を表現している。ビットマップの縦の
列には、各エントリのIDをビット演算手段24でビッ
ト値を計算した値をハッシュ値として並べられており、
図5の先祖関係の表と同様にビットの有無で先祖関係を
表現している。ただし、図9では、分かりやすいように
ハッシュ値はランダムではなく、階層番号および階層別
番号の順番(階層毎に1つの空列がある)にハッシュ値
が決まると想定している。
Embodiment 2 Next, a specific embodiment will be described. As in the example of the first embodiment, a directory hierarchy as shown in FIG. 3 is taken as an example. At this time, a bitmap as shown in FIG. 9 is stored in the bitmap storage unit 34. The row next to the bitmap contains entries separated by directory hierarchy.
The first two bits represent the hierarchical number, and the remaining four bits represent the hierarchical number (sub ID). In the vertical column of the bitmap, the ID of each entry is arranged as a hash value with the value obtained by calculating the bit value by the bit operation means 24,
An ancestor relationship is represented by the presence or absence of a bit, as in the ancestor relationship table of FIG. However, in FIG. 9, it is assumed that the hash value is not random for the sake of simplicity, but is determined in the order of the layer number and the layer number (one empty column for each layer).

【0046】前記ビットマップを利用したエントリ管理
手段21およびスコープ判定手段23の動作は、ビット
演算手段24によるビット値(ハッシュ値)の計算と、
その値によるビットマップへのアクセスのみが異なるだ
けであり、その他の処理は同様である。
The operations of the entry management means 21 and the scope determination means 23 using the bit map are as follows: calculation of a bit value (hash value) by the bit operation means 24;
Only the access to the bitmap by the value is different, and the other processing is the same.

【0047】実施形態2では、ビットマップを用いるこ
とで、先祖関係を表形式に管理するよりも記憶領域を少
なくすることができる。また、エントリのIDが変更さ
れたときでも、ビット操作だけで済むので、管理情報の
メンテナンスが容易である。
In the second embodiment, by using the bitmap, the storage area can be reduced as compared with the case where the ancestor relationship is managed in a table format. Further, even when the ID of the entry is changed, only the bit operation is required, so that maintenance of the management information is easy.

【0048】[実施形態3]次に、本発明の実施形態3
について図面を参照して詳細に説明する。
[Embodiment 3] Next, Embodiment 3 of the present invention.
Will be described in detail with reference to the drawings.

【0049】図10を参照すると、本発明の実施形態3
は、管理プログラムおよび検索プログラムを記録した記
録媒体7を備える。この記録媒体7は磁気ディスク、半
導体メモリ、その他の記録媒体であってよい。
Referring to FIG. 10, Embodiment 3 of the present invention
Has a recording medium 7 on which a management program and a search program are recorded. This recording medium 7 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0050】管理プログラムおよび検索プログラムは記
録媒体7からデータ処理装置8に読み込まれ、データ処
理装置8の動作を制御する。データ処理装置8は管理プ
ログラムおよび検索プログラムの制御により以下の処
理、すなわち実施形態1におけるデータ処理装置2によ
る処理と同一の処理、を実行する。
The management program and the search program are read from the recording medium 7 into the data processing device 8, and control the operation of the data processing device 8. The data processing device 8 executes the following processing under the control of the management program and the search program, that is, the same processing as the processing by the data processing device 2 in the first embodiment.

【0051】管理プログラムでは、入力装置1から管理
要求が与えられると、要求内容にしたがって記憶装置3
内のエントリ/アトリビュート記憶部31のデータが追
加・削除・更新される。エントリの追加や削除、ID更
新の場合には、複合インデックス記憶部32と先祖関係
記憶部33も更新される。これらの処理の終了は出力装
置4に表示される。
In the management program, when a management request is given from the input device 1, the storage device 3 according to the request content.
The data in the entry / attribute storage unit 31 is added / deleted / updated. In the case of adding or deleting an entry or updating an ID, the composite index storage unit 32 and the ancestor relationship storage unit 33 are also updated. The end of these processes is displayed on the output device 4.

【0052】一方、検索プログラムでは、入力装置1か
ら検索要求が与えられると、記憶装置3内のエントリ/
アトリビュート記憶部31にアクセスして、検索条件を
満たすエントリを検索して一時集合を生成する。次に、
先祖関係記憶部33を利用して範囲条件を満たす一時集
合内のエントリを取得し、結果集合を生成する。そし
て、複合インデックス記憶部32によりエントリを取得
して、出力装置4に検索結果を表示する。
On the other hand, in the search program, when a search request is given from the input device 1, the entry /
The attribute storage unit 31 is accessed to search for an entry that satisfies the search condition to generate a temporary set. next,
The entry in the temporary set that satisfies the range condition is acquired by using the ancestor relationship storage unit 33, and a result set is generated. Then, the entry is acquired by the composite index storage unit 32, and the search result is displayed on the output device 4.

【0053】[0053]

【発明の効果】以上説明したように本発明によれば以下
の効果が奏される。
As described above, according to the present invention, the following effects can be obtained.

【0054】第1の効果は、検索条件で指定された検索
範囲にあるエントリを容易に判定できることにある。こ
の結果、ディレクトリの検索速度も向上する。その理由
は、エントリ管理手段によって構築された先祖関係記憶
部にある表を利用して、エントリ間の先祖関係を判定で
きるためである。
A first effect is that entries within a search range specified by a search condition can be easily determined. As a result, the directory search speed is also improved. The reason is that an ancestor relationship between entries can be determined using a table in the ancestor relationship storage unit constructed by the entry management means.

【0055】第2の効果は、大規模なディレクトリを対
象にしている場合でも、検索速度をあまり落とさずにシ
ステムの記憶容量を削減できることにある。その理由
は、エントリの先祖関係をビットマップの形式でビット
マップ記憶部に格納し、ビット演算手段によりエントリ
のIDをビット値に変換した後に、ビットマップを利用
してエントリの先祖関係の判定をしているためである。
The second effect is that even when a large directory is targeted, the storage capacity of the system can be reduced without significantly lowering the search speed. The reason is that the ancestor relationship of an entry is stored in a bitmap storage unit in the form of a bitmap, and the ID of the entry is converted into a bit value by bit operation means. It is because.

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

【図1】本発明の実施形態1の構成を示すブロック図で
ある。
FIG. 1 is a block diagram illustrating a configuration of a first exemplary embodiment of the present invention.

【図2】本発明の実施形態1のディレクトリ管理の動作
を示す流れ図である。
FIG. 2 is a flowchart showing an operation of directory management according to the first embodiment of the present invention.

【図3】本発明の実施形態1のディレクトリ検索の動作
を示す流れ図である。
FIG. 3 is a flowchart showing an operation of a directory search according to the first embodiment of the present invention.

【図4】本発明の実施形態を説明するためのディレクト
リ階層の例である。
FIG. 4 is an example of a directory hierarchy for describing an embodiment of the present invention.

【図5】図1の先祖関係記憶部33に格納される図4の
ディレクトリ階層の例に対応した2次元の表の内容を示
す図である。
FIG. 5 is a diagram showing the contents of a two-dimensional table corresponding to the example of the directory hierarchy of FIG. 4 stored in the ancestor relationship storage unit 33 of FIG. 1;

【図6】本発明の実施形態2の構成を示すブロック図で
ある。
FIG. 6 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図7】本発明の実施形態2のディレクトリ管理の動作
を示す流れ図である。
FIG. 7 is a flowchart showing an operation of directory management according to the second embodiment of the present invention.

【図8】本発明の実施形態2のディレクトリ検索の動作
を示す流れ図である。
FIG. 8 is a flowchart showing an operation of a directory search according to the second embodiment of the present invention.

【図9】図6のビットマップ記憶部33に格納される図
4のディレクトリ階層の例に対応した2次元の表の内容
を示す図である。
9 is a diagram showing the contents of a two-dimensional table corresponding to the example of the directory hierarchy of FIG. 4 stored in the bitmap storage unit 33 of FIG. 6;

【図10】本発明の実施形態3の構成を示すブロック図
である。
FIG. 10 is a block diagram showing a configuration of a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 入力装置 2,5,8 データ処理装置 3,6 記憶装置 4 出力装置 7 記憶媒体 21 エントリ管理手段 22 フィルタ検索手段 23 スコープ判定手段 24 ビット演算手段 31 エントリ/アトリビュート記憶部 32 複合インデックス記憶部 33 先祖関係記憶部 34 ビットマップ記憶部 Reference Signs List 1 input device 2, 5, 8 data processing device 3, 6 storage device 4 output device 7 storage medium 21 entry management means 22 filter search means 23 scope determination means 24 bit operation means 31 entry / attribute storage unit 32 composite index storage unit 33 Ancestor relationship storage unit 34 Bitmap storage unit

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 様々な資源をエントリの階層構造として
管理し、各エントリはその属性情報となるアトリビュー
トを保持し、前記階層構造や前記アトリビュートにより
必要なエントリの検索処理を行うディレクトリ検索シス
テムにおいて、 エントリの検索を行う場合に、検索条件で指定された属
性条件にしたがってエントリの検索を行うフィルタ検索
手段と、 前記検索条件で指定された範囲条件にしたがい、エント
リの先祖関係を利用してエントリの絞り込みを行うスコ
ープ判定手段と、 を備えることを特徴とするディレクトリ検索システム。
In a directory search system, various resources are managed as a hierarchical structure of entries, each entry holds an attribute serving as attribute information thereof, and a search process of a required entry is performed based on the hierarchical structure and the attribute. When searching for an entry, a filter search means for searching for an entry in accordance with an attribute condition specified by the search condition; and, based on the range condition specified by the search condition, using the ancestor relationship of the entry. A directory search system, comprising: a scope determination unit for narrowing down.
【請求項2】 様々な資源をエントリの階層構造として
管理し、各エントリはその属性情報となるアトリビュー
トを保持し、前記階層構造や前記アトリビュートにより
必要なエントリの検索処理を行うディレクトリ検索シス
テムにおいて、 エントリの先祖関係を階層番号と階層別番号で管理する
ために、エントリの登録、削除、更新の処理を行う際
に、前記エントリの先祖関係の表を更新するエントリ管
理手段と、 エントリの検索を行う場合に、検索条件で指定された範
囲条件にしたがい、前記先祖関係の表を参照してエント
リの絞り込みを行うスコープ判定手段と、 を備えることを特徴とするディレクトリ検索システム。
2. A directory search system which manages various resources as a hierarchical structure of entries, each entry holds an attribute serving as attribute information thereof, and performs a search process of a required entry by the hierarchical structure and the attribute. Entry management means for updating an ancestry table of the entry when registering, deleting, and updating the entry in order to manage the ancestor relation of the entry by the hierarchical number and the hierarchical number; And a scope determining unit that narrows down entries by referring to the ancestor table according to a range condition specified by a search condition.
【請求項3】 前記階層番号と前記階層別番号からビッ
ト値を算出するビット演算手段を更に備え、前記エント
リの先祖関係の表を前記ビット値を利用したビットマッ
プの形式で保持し、 前記エントリ管理手段および前記スコープ判定手段か
ら、前記ビット演算手段を通して前記エントリの先祖関
係の表にアクセスすることを特徴とする請求項2に記載
のディレクトリ検索システム。
3. A method according to claim 1, further comprising: a bit operation means for calculating a bit value from the hierarchy number and the hierarchy number, wherein a table of an ancestor relationship of the entry is held in a bitmap format using the bit value. 3. The directory search system according to claim 2, wherein the ancestor table of the entry is accessed from the management unit and the scope determination unit through the bit operation unit.
【請求項4】 様々な資源をエントリの階層構造として
管理し、各エントリはその属性情報となるアトリビュー
トを保持し、前記階層構造や前記アトリビュートにより
必要なエントリの検索処理を行うディレクトリ検索方法
において、 エントリの検索を行う場合に、検索条件で指定された属
性条件にしたがってエントリの検索を行い、 前記検索条件で指定された範囲検索にしたがい、エント
リの先祖関係を利用してエントリの絞り込みを行うこと
を特徴とするディレクトリ検索方法。
4. A directory search method for managing various resources as a hierarchical structure of entries, each entry holding an attribute serving as attribute information thereof, and performing a search process of a required entry by the hierarchical structure and the attribute. When searching for an entry, search for the entry according to the attribute condition specified by the search condition, and narrow down the entry using the ancestor relationship of the entry according to the range search specified by the search condition. A directory search method characterized by the following.
【請求項5】 様々な資源をエントリの階層構造として
管理し、各エントリはその属性情報となるアトリビュー
トを保持し、前記階層構造や前記アトリビュートにより
必要なエントリの検索処理を行うディレクトリ検索方法
において、 エントリの先祖関係を階層番号と階層別番号で管理する
ために、エントリの登録、削除、更新の処理を行う際
に、前記エントリの先祖関係の表を更新しておき、 エントリの検索を行う場合に、検索条件で指定された範
囲条件にしたがい、前記エントリの先祖関係の表を参照
してエントリの絞り込みを行うことを特徴とするディレ
クトリ検索方法。
5. A directory search method for managing various resources as a hierarchical structure of entries, each entry holding an attribute serving as attribute information thereof, and performing a search process of a required entry by the hierarchical structure and the attribute. When performing entry registration, deletion, and update processing to manage the ancestor relationship of an entry by the hierarchy number and the hierarchy-specific number, updating the ancestry table of the entry and searching for the entry A directory search method for narrowing down entries by referring to a table of ancestor relationships of the entries in accordance with a range condition specified by a search condition.
【請求項6】 階層番号と階層別番号からビット値を算
出して、前記エントリの先祖関係の表を前記ビット値を
利用したビットマップの形式で保持し、 前記エントリ管理手段および前記スコープ判定手段か
ら、算出されたビット値により前記エントリの先祖関係
の表にアクセスすることを特徴とする請求項5に記載の
ディレクトリ検索方法。
6. A bit value is calculated from a layer number and a layer number, and a table of the ancestor relationship of the entry is held in the form of a bit map using the bit value. The entry management unit and the scope determination unit 6. The directory search method according to claim 5, wherein a table of the ancestor relation of the entry is accessed by using the calculated bit value.
【請求項7】 様々な資源をエントリの階層構造として
管理し、各エントリはその属性情報となるアトリビュー
トを保持し、前記階層構造や前記アトリビュートにより
必要なエントリの検索処理を行うディレクトリ検索方法
であって、 エントリの検索を行う場合に、検索条件で指定された属
性条件にしたがってエントリの検索を行うフィルタ検索
処理と、 前記検索条件で指定された範囲条件にしたがい、エント
リの先祖関係を利用してエントリの絞り込みを行うスコ
ープ判定処理と、 を有する方法をコンピュータに実行させるためのプログ
ラムを記録したことを特徴とするコンピュータ読み取り
可能な記録媒体。
7. A directory search method in which various resources are managed as a hierarchical structure of entries, each entry holds an attribute serving as attribute information thereof, and a search process for a required entry is performed based on the hierarchical structure and the attribute. When searching for an entry, a filter search process for searching for an entry according to an attribute condition specified by a search condition, and using an ancestor relationship of the entry according to a range condition specified by the search condition A computer-readable recording medium on which is recorded a program for causing a computer to execute a method having a scope determination process for narrowing down entries.
【請求項8】 様々な資源をエントリの階層構造として
管理し、各エントリはその属性情報となるアトリビュー
トを保持し、前記階層構造や前記アトリビュートにより
必要なエントリの検索処理を行うディレクトリ検索方法
であって、 エントリの先祖関係を階層番号と階層別番号で管理する
ために、エントリの登録、削除、更新の処理を行う際
に、前記エントリの先祖関係の表を更新するエントリ管
理処理と、 エントリの検索を行う場合に、検索条件で指定された範
囲条件にしたがって、前記エントリの先祖関係の表を参
照してエントリの絞り込みを行うスコープ判定処理と、 を有する方法をコンピュータに実行させるためのプログ
ラムを記録したことを特徴とするコンピュータ読み取り
可能な記録媒体。
8. A directory search method in which various resources are managed as a hierarchical structure of entries, each entry holds an attribute serving as attribute information thereof, and a search process for a required entry is performed based on the hierarchical structure and the attribute. In order to manage an ancestor relationship of an entry by a hierarchical number and a hierarchical number, an entry management process of updating an ancestor relationship table of the entry when performing registration, deletion, and update processes of the entry; When performing a search, according to a range condition specified by a search condition, a scope determination process of narrowing down entries by referring to a table of the ancestor relationship of the entry, and a program for causing a computer to execute a method having: A computer-readable recording medium characterized by being recorded.
【請求項9】 前記ディレクトリ検索方法は、前記階層
番号と前記階層別番号からビット値を算出するビット演
算処理と、 前記エントリの先祖関係の表を前記ビット値を利用した
ビットマップの形式で保持する処理と、 前記エントリ管理処理および前記スコープ判定処理か
ら、前記ビット演算処理を通して前記エントリの先祖関
係の表にアクセスする処理と、 を有することを特徴とする請求項8に記載のコンピュー
タ読み取り可能な記録媒体。
9. The directory search method, wherein: a bit operation process for calculating a bit value from the hierarchy number and the hierarchy-specific number; and a table of an ancestor relationship of the entry in a bitmap format using the bit value. 9. The computer-readable method according to claim 8, further comprising: a process of accessing the ancestor table of the entry from the entry management process and the scope determination process through the bit operation process. recoding media.
【請求項10】 フィルタ条件とスコープによって与え
られる検索条件に適合するエントリをディレクトリサー
ビスより検索するディレクトリ検索方法において、 フィルタ条件に適合したエントリがスコープに入るか否
かを、各エントリが属する先祖ディレクトリを記述した
表を参照することにより判定するステップを有すること
を特徴とするディレクトリ検索方法。
10. A directory search method for searching an entry that satisfies a search condition given by a filter condition and a scope from a directory service, determining whether an entry that satisfies the filter condition falls within a scope or not. A directory search method comprising the step of making a determination by referring to a table in which is described.
【請求項11】 前記表をエントリの登録、削除、更新
の際に更新する前処理を更に有することを特徴とする請
求項10に記載のディレクトリ検索方法。
11. The directory search method according to claim 10, further comprising a pre-process for updating the table when registering, deleting, and updating entries.
【請求項12】 フィルタ条件とスコープによって与え
られる検索条件に適合するエントリをディレクトリサー
ビスより検索するディレクトリ検索方法であって、フィ
ルタ条件に適合したエントリがスコープに入るか否か
を、各エントリが属する先祖ディレクトリを記述した表
を参照することにより判定するステップを有するディレ
クトリ検索方法をコンピュータに実行させるためのプロ
グラムを記録したことを特徴とするコンピュータ読み取
り可能な記録媒体。
12. A directory search method for searching an entry that matches a search condition given by a filter condition and a scope from a directory service, and determines whether an entry that matches the filter condition falls within a scope. A computer-readable recording medium having recorded thereon a program for causing a computer to execute a directory search method having a step of determining by referring to a table describing an ancestor directory.
【請求項13】 前記ディレクトリ検索方法は、前記表
をエントリの登録、削除、更新の際に更新する前処理を
更に有することを特徴とする請求項12に記載のコンピ
ュータ読み取り可能な記録媒体。
13. The computer-readable recording medium according to claim 12, wherein the directory search method further includes a pre-process for updating the table when registering, deleting, or updating entries.
JP11043259A 1999-02-22 1999-02-22 Directory retrieval system, directory retrieving method and computer readable recording medium with directory retrieval program recorded therein Pending JP2000242538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11043259A JP2000242538A (en) 1999-02-22 1999-02-22 Directory retrieval system, directory retrieving method and computer readable recording medium with directory retrieval program recorded therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11043259A JP2000242538A (en) 1999-02-22 1999-02-22 Directory retrieval system, directory retrieving method and computer readable recording medium with directory retrieval program recorded therein

Publications (1)

Publication Number Publication Date
JP2000242538A true JP2000242538A (en) 2000-09-08

Family

ID=12658866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11043259A Pending JP2000242538A (en) 1999-02-22 1999-02-22 Directory retrieval system, directory retrieving method and computer readable recording medium with directory retrieval program recorded therein

Country Status (1)

Country Link
JP (1) JP2000242538A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011111837A1 (en) 2010-03-11 2011-09-15 楽天株式会社 Information processing method, information processing device, program, and recording medium
JP2012185611A (en) * 2011-03-04 2012-09-27 Nec Corp Information management device, information management method and program
JP2012212304A (en) * 2011-03-31 2012-11-01 Nec Corp Retrieval result output device, retrieval result output control program, and retrieval result output method
JP2021170409A (en) * 2020-09-27 2021-10-28 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Label data processing method, apparatus therefor, device, and recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011111837A1 (en) 2010-03-11 2011-09-15 楽天株式会社 Information processing method, information processing device, program, and recording medium
US8812568B2 (en) 2010-03-11 2014-08-19 Rakuten, Inc. Information processing method, information processing device, program, and recording medium
JP2012185611A (en) * 2011-03-04 2012-09-27 Nec Corp Information management device, information management method and program
JP2012212304A (en) * 2011-03-31 2012-11-01 Nec Corp Retrieval result output device, retrieval result output control program, and retrieval result output method
JP2021170409A (en) * 2020-09-27 2021-10-28 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Label data processing method, apparatus therefor, device, and recording medium
JP7221342B2 (en) 2020-09-27 2023-02-13 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Label data processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US6035303A (en) Object management system for digital libraries
EP0437159B1 (en) Method for identifying documents having a particular attribute using a vector relational characteristical object
JP2001357062A (en) Method and system for retrieving database and recording medium having database retrieval program recorded thereon
KR20020034998A (en) Method and apparatus for populating multiple data marts in a single aggregation process
JPH0765035A (en) Structured document retrieving device
US8176027B1 (en) Spatial index for data files
JP5033322B2 (en) Information management method and apparatus using connection relation information
JP2000089991A (en) Document management system
US6701328B1 (en) Database management system
JP3233058B2 (en) Document management system
JP3752945B2 (en) DIRECTORY SEARCH SYSTEM AND METHOD, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DIRECTORY SEARCH PROGRAM
JP2000242538A (en) Directory retrieval system, directory retrieving method and computer readable recording medium with directory retrieval program recorded therein
JP2003022351A (en) System and method for managing personnel information and program
JP4825504B2 (en) Data registration / retrieval system and data registration / retrieval method
JP2004133505A (en) File management system
JP2004185270A (en) Unload program, load program and method of migrating data
JPH0969112A (en) Intelligent estate information management system
JP3980326B2 (en) Data management method and computer-readable recording medium
Ilkhomjon et al. About Database (Db)
JP2007293746A (en) File management system, file management program and file management method
JPH0769920B2 (en) Document management processor
JP2004362166A (en) Data management system and method, server, computer program, and recording medium recorded with computer program
JPH06266591A (en) Document managing method
JP2003323377A (en) Bulletin board information sharing system
CN116868182A (en) Data processing system capable of manipulating logical data set group