JP2003091555A - Distributed object retrieval program, record medium of the same and distributed object retrieval unit - Google Patents

Distributed object retrieval program, record medium of the same and distributed object retrieval unit

Info

Publication number
JP2003091555A
JP2003091555A JP2001282823A JP2001282823A JP2003091555A JP 2003091555 A JP2003091555 A JP 2003091555A JP 2001282823 A JP2001282823 A JP 2001282823A JP 2001282823 A JP2001282823 A JP 2001282823A JP 2003091555 A JP2003091555 A JP 2003091555A
Authority
JP
Japan
Prior art keywords
search
client
server
information
reference destination
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.)
Withdrawn
Application number
JP2001282823A
Other languages
Japanese (ja)
Inventor
Daisuke Shimizu
大輔 清水
Yoichi Yamakawa
陽一 山川
Isao Inaba
功 稲場
Satoshi Hebisawa
聡 蛇沢
Kosuke Kato
幸介 加藤
Yoshinori Matsudaira
芳典 松平
Jiro Ikegami
慈郎 池上
Manabu Hirose
学 広瀬
Akinori Matsukura
彰範 松倉
Kengo Kido
健吾 貴堂
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2001282823A priority Critical patent/JP2003091555A/en
Publication of JP2003091555A publication Critical patent/JP2003091555A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method for specially aiming at shortening a retrieval processing queuing time in order to overcome the deterioration of a retrieval time accompanying a referral liaison, where in a distributed object retrieval, if the object for retrieval is not existent in a main reference server, a client is requested to establish a session with an actual reference server, transmit a retrieval demand and queue for the retrieval processing of the server in accordance with a referral information, the retrieval processing time becomes longer than that of a case where the object for retrieval is existent in the main reference server. SOLUTION: The system is so constituted that when the main reference server detects an actual reference server information in a retrieval result to the retrieval demand of the client, it notifies the client of the actual reference server information, notifies the actual reference server of client information and transfers the retrieval demand of the client to the actual reference server, the actual reference server performs a retrieval processing to the retrieval demand of the client, and compares a retrieval result with the client information when the client performs a retrieval demand in accordance with the actual reference server information, and transmits the retrieval result from the main reference server to the client if the result matches with the retrieval demand from the actual reference server.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、分散オブジェクト
の検索機能に関し、特にリフェラル連携を行うLDAP
サーバのネットワーク環境における、LDAP検索の性
能向上に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a search function for distributed objects, and in particular LDAP for performing referral cooperation.
The present invention relates to improvement of LDAP search performance in a server network environment.

【0002】[0002]

【従来の技術】オブジェクトとその属性、及びオブジェ
クト間の関係を有するデータベース(ディレクトリ)、
及び事前に定義されたポリシーに基づき、クライアント
に対し、指定されたオブジェクトに関する様々なサービ
スを提供することをディレクトリサービスと呼ぶ。な
お、クライアントからの検索要求に対して、参照元サー
バ内で解決できない場合、他の参照先サーバ情報をクラ
イアントに通知する機能をリフェラル機能と呼び、参照
元サーバからクライアントへ参照先サーバのアドレスな
どの情報が格納されたリフェラルと呼ばれる制御情報が
送信される。また、LDAP(Lightweight Directory
Access Protocol)とはLDAPサーバとLDAPクライ
アント間でディレクトリサービスを行なうためのプロト
コルの簡易版を指す。
2. Description of the Related Art A database (directory) having relations between objects and their attributes and objects,
And, providing various services regarding a specified object to a client based on a predefined policy is called a directory service. If a referral server cannot resolve a search request from a client, the function that notifies the client of other referral server information is called a referral function, and the referrer server tells the client the address of the referent server. Control information called a referral in which the information of (1) is stored is transmitted. In addition, LDAP (Lightweight Directory
“Access Protocol” refers to a simplified version of a protocol for performing a directory service between an LDAP server and an LDAP client.

【0003】LDAP規約(インターネット上で開発さ
れるさまざまな新しい技術の標準化を促進するために設
立されたコンソシアムIETF( Internet Engineerin
g Task Force)が管理・発行するドキュメントRFC
(Requests For Comment)2251で定義されるリフェ
ラル機能では、LDAPサーバ(以下サーバと記述)か
ら通知されるリフェラル情報に参照先サーバのアドレス
が格納されており、LDAPクライアント(以下クライ
アントと記述)は、その情報に従い参照先サーバにセシ
ョンの接続及び検索要求を行って参照先サーバへの検索
要求を行う。このため、参照先サーバにアクセスする毎
にセションの確立、検索要求送信、サーバの検索処理待
ち時間が必要になり、リフェラル連携が多数行われる環
境では、検索に要する時間が増大する。
LDAP standard (Consortium IETF (Internet Engineerin) established to promote the standardization of various new technologies developed on the Internet.
Document RFC managed and issued by g Task Force)
In the referral function defined in (Requests For Comment) 2251, the address of the reference destination server is stored in the referral information notified from the LDAP server (hereinafter referred to as server), and the LDAP client (hereinafter referred to as client) is According to the information, a session connection and a search request are made to the reference destination server to make a search request to the reference destination server. Therefore, it is necessary to establish a session, send a search request, and wait for the server to perform a search process each time the referenced server is accessed, and the time required for the search increases in an environment where a large number of referrals are linked.

【0004】図1は、LDAP規約に基づいて、サーバ
AにサーバBに対するリフェラル設定がされている場合
の従来の検索処理例が示してある。クライアントはサー
バAに対し、セション接続及び検索要求を行う()。
サーバAでは、クライアントからの要求に基づいて、認
証・検索処理を行い()、リフェラルが設定されてい
る場合、検索結果と共にクライアントへリフェラル情報
を通知する()。クライアントは、受信したリフェラ
ル情報を解析し()、その情報に基づきサーバBへ接
続・検索要求を送信する()。サーバBでは、クライ
アントからの検索要求を受け、検索処理を行い()、
クライアントへ検索結果を通知する()。
FIG. 1 shows an example of a conventional search process in the case where the server A has a referral setting for the server B based on the LDAP protocol. The client makes a session connection and a search request to the server A ().
The server A performs authentication / search processing based on the request from the client (), and when the referral is set, notifies the client of the referral information together with the search result (). The client analyzes the received referral information () and sends a connection / search request to the server B based on the information (). The server B receives the search request from the client and performs a search process (),
Notify the search result to the client ().

【0005】また、図5は図1におけるサーバAにサー
バBに対するリフェラル設定がされている場合の従来の
検索処理例を示す処理シーケンスである。図中の番号の
処理は、図1の番号に対応する。検索要求を行なったサ
ーバ上に検索対象のオブジェクトが存在する場合、検索
に要する時間は、〜の処理を加算した値である。
及びは、セションの接続切断、リフェラルの送受信処
理となり参照先のサーバが増える毎に処理が増える。
のサーバでのDBの検索処理は、そのDBの規模に応じ
た検索時間を要する。
FIG. 5 is a processing sequence showing an example of a conventional search processing when the server A in FIG. 1 has a referral setting for the server B. The processing of the numbers in the figure corresponds to the numbers in FIG. When an object to be searched exists on the server that has issued the search request, the time required for the search is a value obtained by adding the processes of to.
And become the session disconnection and referral transmission / reception processing, and the processing increases each time the number of referenced servers increases.
The DB search processing on the server requires a search time according to the scale of the DB.

【0006】検索要求を行なったサーバに検索対象のオ
ブジェクトが存在しない場合、リフェラル処理が行われ
検索時間は++++++となり、検索要
求を行なったサーバ上に検索対象が存在する場合に対
し、〜の処理分だけ検索時間が増大する。図9は、
リフェラル連携の運用例が示してある。この例では、会
社AのサーバAから関連会社B〜DのサーバB、サーバ
C、サーバDにリフェラル設定が行われており、さら
に、関連会社B内での部門E〜GのサーバE、サーバ
F、サーバGへのリフェラル設定が行われている。クラ
イアントが会社AのサーバAに対し、関係会社Bの部門
EのサーバEに存在するオブジェクト検索を行う場合、
従来のリフェラル連携を伴うオブジェクトの検索では、
先ずクライアントは参照元サーバであるサーバAに接続
要求・検索要求を行い、サーバAから検索結果として参
照先サーバ情報を示すリフェラルを受信する。
If no object to be searched exists in the server that issued the search request, referral processing is performed and the search time becomes ++++++. Search time increases by the amount. Figure 9
An operation example of referral cooperation is shown. In this example, referral settings are performed from the server A of the company A to the servers B, C, and D of the affiliated companies B to D, and further, the servers E and the servers of the departments E to G of the affiliated company B. Referrals to F and server G are set. When the client searches the server A of the company A for objects existing in the server E of the department E of the affiliated company B,
In the conventional object search involving referral collaboration,
First, the client makes a connection request / search request to the server A that is the reference source server, and receives a referral indicating the reference destination server information from the server A as the search result.

【0007】クライアントは、リフェラル情報に基づき
参照先サーバであるサーバBに対し、接続要求・検索要
求を行ない、サーバBから検索結果として参照先サーバ
情報を示すリフェラルを受信する。クライアントは最終
参照先サーバであるサーバEに対して接続要求・検索要
求を行い、サーバEから検索結果として検索対象のオブ
ジェクトを受信する。
The client makes a connection request / search request to the server B, which is the reference destination server, based on the referral information, and receives a referral indicating the reference destination server information as the search result from the server B. The client makes a connection request / search request to the server E, which is the final reference destination server, and receives an object to be searched as a search result from the server E.

【0008】このように、オブジェクトの分散化が進み
リフェラル連携が複雑になっていくとクライアントは関
連するすべてのサーバとのセション接続が必要となり
〜の処理時間は関連するサーバの数に比例して増大し
ていく。なお、上記の問題点の改善策として、一度接続
したサーバとクライアントの間のセションを保持してお
くという方法は従来より行なわれていた。この場合、一
度リフェラル情報に基づき検索を行ったサーバに対し、
再度検索を実行する場合、セション接続のための時間が
短縮できる。しかしながら、新たなサーバの情報をリフ
ェラルにより通知された場合には、新たにセションを確
立する必要があり、図9で示すようにオブジェクトの分
散化が進んだ環境では、必ずしも有効とはなっていな
い。また、クライアントと関連するサーバとのセション
の確立を予めすべて保持しておくことも考えられるが、
リフェラル連携が複雑になると資源の増大や管理の複雑
さからクライアントの負荷も増大し必ずしも得策ではな
い。
As described above, as the decentralization of objects progresses and the referral cooperation becomes complicated, the client needs session connection with all related servers, and the processing time of is proportional to the number of related servers. Increase. As a solution to the above problem, a method of holding a session between a server and a client once connected has been conventionally performed. In this case, for the server that once searched based on the referral information,
If you perform the search again, the time for session connection can be reduced. However, when the information of the new server is notified by the referral, it is necessary to newly establish a session, and it is not always effective in the environment where the object decentralization is advanced as shown in FIG. . It is also possible to hold all the sessions established between the client and the related server in advance,
When referral coordination becomes complicated, the load on the client also increases due to the increase of resources and the complexity of management, which is not necessarily a good idea.

【0009】[0009]

【発明が解決しようとする課題】分散オブジェクト検索
において、対象のオブジェクトが参照元サーバに存在し
ない場合、クライアントはリフェラル情報に従い参照先
サーバとのセションの確立や検索要求送信、サーバの検
索処理待ちが必要となり、対象のオブジェクトが参照元
サーバに存在する場合に比較して処理時間が増大する。
本発明では、リフェラル連携を伴う検索時間の劣化を解
決するために、特にサーバの検索処理待ち時間の短縮を
目的としている。
In the distributed object search, when the target object does not exist in the referrer server, the client waits for establishment of a session with the referee server, transmission of a search request, and server search processing according to the referral information. It becomes necessary, and the processing time increases as compared with the case where the target object exists in the reference source server.
In the present invention, in order to solve the deterioration of the search time associated with referral cooperation, it is an object of the present invention to shorten the search processing waiting time of the server.

【0010】[0010]

【課題を解決するための手段】図10は本発明に係るデ
ィレクトリ・サービス・システムの全体構成図である。
本発明の分散オブジェクト検索プログラムは、ディレク
トリ・サービス・システムのサーバ用プログラムとクラ
イアント用プログラムから構成されており、コンピュー
タを用いて、サーバA2には検索要求に対するデータベ
ース検索を行なう検索処理手段21、クライアントに参
照先サーバ情報を通知するリフェラル通知手段22、参
照元サーバに検索要求を行なったクライアントのクライ
アント情報を参照先サーバに通知するクライアント情報
通知手段23、検索結果に参照先サーバ情報があると参
照先サーバに検索要求を代行する検索要求代行手段2
4、クライアントが参照先サーバからの検索結果を受領
できるかどうか判定する受領可能判定手段25、参照元
サーバからの検索要求に対する検索結果をクライアント
に通知する検索結果通知手段26、クライアント1には
サーバに対して参照先サーバからの検索結果通知を受領
できることを通知する受領可能通知手段11、サーバに
対してオブジェクトの検索要求を行なう検索要求手段1
2、前記検索手段12が要求するオブジェクトが参照元
サーバに存在しない場合、参照元サーバから通知される
リフェラルを解析するリフェラル解析手段13、参照先
サーバからの検索結果を受領する検索結果受領手段14
として機能するものである。
FIG. 10 is an overall configuration diagram of a directory service system according to the present invention.
The distributed object search program of the present invention is composed of a server program and a client program of the directory service system. The server A2 uses the computer to search the database for a search request, and the search processing means 21 and the client. Referral means 22 for notifying the reference server information to the reference server, client information notifying means 23 for notifying the reference server of the client information of the client that made the search request to the reference server, and the reference result indicates that the reference server information exists. Retrieval request acting means 2 for acting a retrieval request to the destination server
4. Acceptability judging means 25 for judging whether the client can receive the search result from the reference destination server, search result notifying means 26 for notifying the client of the search result for the search request from the reference source server, and the server for the client 1. Acceptability notifying means 11 notifying that the search result notification from the reference destination server can be received, and search requesting means 1 requesting the server to search for an object.
2. If the object requested by the search means 12 does not exist in the referrer server, the referral analysis means 13 for analyzing the referral notified from the referrer server, and the search result receiving means 14 for accepting the search result from the referred server.
It functions as.

【0011】上記課題を解決するために、従来のディレ
クトリ・サービス・システムのサーバ用プログラムのみ
に機能追加する方法と、サーバとクライアント双方のプ
ログラムに機能追加を行い、より分散オブジェクト検索
の時間を縮小させる方法について説明する。 [解決手段1]本解決手段は請求項1の発明に関したも
のである。クライアント1の検索要求手段12が参照元
サーバであるサーバA2に対し検索要求を行なうと、サ
ーバA2の検索処理手段21はクライアント1の検索要
求に基づいて自システムにローカルに接続されたデータ
ベースを検索し、リフェラル通知手段22が検索結果に
リフェラルが設定されていることを判定すると、検索要
求代行手段24がクライアントからの検索要求を代行
し、参照先サーバ(サーバB3)に対して検索要求を代
行すると共にクライアント情報通知手段23が検索要求
元のクライアント1のクライアント情報を通知する。サ
ーバA2の検索処理手段21は検索結果を、リフェラル
通知手段22はリフェラル情報をクライアント1に対し
て通知する。
In order to solve the above-mentioned problems, a method of adding functions only to a server program of a conventional directory service system and a function addition to both programs of a server and a client are used to further reduce the time required for distributed object search. The method of making it will be described. [Solving Means 1] This solving means relates to the invention of claim 1. When the search request means 12 of the client 1 makes a search request to the server A2 which is the reference source server, the search processing means 21 of the server A2 searches the database locally connected to its own system based on the search request of the client 1. Then, when the referral notification unit 22 determines that the referral is set in the search result, the search request proxy unit 24 proxy the search request from the client and proxy the search request to the referenced server (server B3). At the same time, the client information notifying means 23 notifies the client information of the client 1 as the search request source. The search processing unit 21 of the server A2 notifies the client 1 of the search result and the referral notification unit 22 of the referral information.

【0012】参照先サーバであるサーバB3の検索処理
手段31は、サーバA2からの検索要求を受け、データ
ベースの検索を行い、受領可能判定手段35がクライア
ントは参照先サーバからの検索結果を受領することがで
きることを判定し、できないと判定した場合には(本解
決手段では、クライアントは参照サーバからの検索結果
を受領できることを通知していないため)、その結果を
保持する。もし、サーバB3のリフェラル通知手段32
が更にリフェラルが設定されていることを判定すると、
その参照先サーバに対して検索要求代行手段34が検索
要求の代行、及びクライアント情報通知手段33がクラ
イアント情報の通知を行ない、検索処理手段31が検索
結果を、リフェラル通知手段がリフェラル情報をクライ
アント1に通知する。
The search processing means 31 of the server B3, which is the reference destination server, receives the search request from the server A2, searches the database, and the acceptability determination means 35 causes the client to receive the search result from the reference destination server. If it is determined that it is possible, and if it is determined that it is not possible (since the client does not notify that the search result from the reference server can be received in this solution), the result is held. If the referral notification means 32 of the server B3
Determines that the referral is set further,
The search request proxy means 34 proxy the search request to the reference destination server, the client information notification means 33 notifies the client information, the search processing means 31 reports the search result, and the referral notification means reports the referral information to the client 1. To notify.

【0013】クライアント1の検索要求手段12は、サ
ーバA1から検索結果としてリフェラル情報を受領する
と、リフェラル解析手段13がリフェラル情報を解析
し、検索要求手段12が前記リフェラル情報の解析結果
に基づき参照先サーバB3に検索要求を行なう。サーバ
Bの検索処理手段31は、クライアント1からの検索要
求を受付け、サーバA2からの検索要求と同一条件であ
るか確認を行なう。同一条件である場合には、サーバA
2からの検索結果を、クライアント1からの検索結果と
して通知する。
Upon receiving the referral information as the search result from the server A1, the search requesting means 12 of the client 1 analyzes the referral information by the referral analyzing means 13, and the search requesting means 12 refers to the referral information based on the analysis result of the referral information. A search request is sent to the server B3. The search processing means 31 of the server B receives the search request from the client 1 and confirms whether the conditions are the same as the search request from the server A2. If the conditions are the same, server A
The search result from 2 is notified as the search result from the client 1.

【0014】以上により、ディレクトリ・サービス・シ
ステムのサーバに対して、請求項1の発明を適用する
と、クライアントには機能追加することなく、参照元サ
ーバがクライアントにリフェラルを通知し、クライアン
トがリフェラルを解析し、参照先サーバへ検索要求を行
なう処理と、参照元サーバから参照先サーバへの検索要
求処理が並行して動作するため、分散オブジェクト検索
時間の短縮が図れる。(短縮時間の詳細については、発
明の実施の形態を参照されたい。) [解決手段2]本解決手段は請求項2の発明に関したも
のである。クライアント1の検索要求手段12は参照元
サーバであるサーバA2に対して、検索要求を行なうと
共に、受領可能通知手段11がクライアントが参照先サ
ーバからの検索結果を受領可能であることを通知する。
As described above, when the invention of claim 1 is applied to the server of the directory service system, the referring server notifies the client of the referral without adding the function to the client, and the client sends the referral. Since the process of analyzing and issuing a search request to the reference destination server and the search request process from the reference source server to the reference destination server operate in parallel, the distributed object search time can be shortened. (For details of the shortened time, refer to the embodiment of the invention.) [Solution Means 2] This solution means relates to the invention of claim 2. The search request means 12 of the client 1 makes a search request to the server A2 which is the reference source server, and the acceptability notifying means 11 notifies that the client can receive the search result from the reference destination server.

【0015】サーバA2では、検索処理手段21がクラ
イアントからの検索要求に基づいて、自システムにロー
カルに接続されたデータベースから検索処理を行い、検
索結果にリフェラルが設定されている場合、検索要求代
行手段24は、サーバBに対して、クライアントからの
検索要求を代行すると共に、クライアント情報通知手段
23は検索要求元であるクライアント1のクライアント
情報を通知し、クライアント1に対して検索処理手段2
1が検索結果を、リフェラル通知手段22がリフェラル
情報を通知する。検索結果に更にリフェラルが設定され
ている場合には、解決手段1の場合と同様に参照先サー
バへの検索要求代行、クライアント情報の通知、及びク
ライアントへの検索結果とリフェラル情報の通知を行な
う。
In the server A2, the search processing means 21 performs the search processing from the database locally connected to the own system based on the search request from the client, and when the referral is set in the search result, the search request proxy is performed. The means 24 acts on behalf of the search request from the client to the server B, and the client information notifying means 23 notifies the client information of the client 1 as the search request source to the client 1 and the search processing means 2
1 notifies the search result, and the referral notification means 22 notifies the referral information. When a referral is further set in the search result, as in the case of the solving means 1, the search request proxy, the client information is notified to the reference destination server, and the search result and the referral information are notified to the client.

【0016】参照先サーバであるサーバB3の受領可能
判定手段35がクライアントは参照先サーバからの検索
結果を受領できることを判定し(本解決手段では、クラ
イアントは参照先サーバからの検索結果を受領できるこ
とを検索要求時に通知しているため)、検索結果通知手
段36が、検索処理手段31が行った参照元サーバであ
るサーバA1からの検索要求結果をクライアント1への
検索結果として通知し、クライアント1の検索結果受領
手段14が受領する。
The acceptability judging means 35 of the server B3 which is the reference destination server judges that the client can receive the search result from the reference destination server (in this solving means, the client can receive the search result from the reference destination server). Is notified at the time of the search request), the search result notifying unit 36 notifies the client 1 of the search request result from the reference source server A1 performed by the search processing unit 31 as the search result to the client 1. The search result receiving means 14 receives the search result.

【0017】以上により、ディレクトリ・サービス・シ
ステムのサーバに対して、請求項1の発明を、クライア
ントに請求項2の発明を適用すると、参照先サーバから
クライアント検索結果を通知する方式であるため、参照
先サーバがクライアントに接続する前に、接続する必要
がないことを認識できるため、参照先サーバの検索結果
にリフェラル情報だけがヒットした場合など、クライア
ントにその結果を通知しないことで、更に検索待ち時間
の減少及びネットワーク上の負荷の軽減が可能である。
また、サーバは参照先サーバに次々に検索情報を送信
し、その結果を並列的にクライアントに通知できるの
で、クライアントが順順にサーバからのリフェラルを受
け取り解析後、次の参照先サーバに検索を行う方式より
も、検索待ち時間の減少が図れる。(短縮時間の詳細に
ついては、発明の実施の形態を参照されたい。)
As described above, when the invention of claim 1 is applied to the server of the directory service system and the invention of claim 2 is applied to the client, the method is to notify the client search result from the reference destination server. Before the referenced server connects to the client, it can recognize that it does not need to connect, so if the referral server search result only hits referral information, for example, by not notifying the client of the search result, further search can be performed. It is possible to reduce the waiting time and the load on the network.
In addition, the server can send the search information to the reference destination server one after another and notify the result in parallel to the client, so that the client receives the referrals from the server in order and analyzes them, and then performs the search to the next reference destination server. The search waiting time can be reduced as compared with the method. (For details of the shortening time, refer to the embodiment of the invention.)

【0018】[0018]

【発明の実施の形態】図10は本発明に係るディレクト
リ・サービス・システムの全体構成図である。本発明の
分散オブジェクト検索プログラムは、ディレクトリ・サ
ービス・システムのサーバ用プログラムとクライアント
用プログラムから構成されており、コンピュータを用い
て、サーバA2には検索要求に対するデータベース検索
を行なう検索処理手段21、クライアントに参照先サー
バ情報を通知するリフェラル通知手段22、参照元サー
バに検索要求を行なったクライアントのクライアント情
報を参照先サーバに通知するクライアント情報通知手段
23、検索結果に参照先サーバ情報があると参照先サー
バに検索要求を代行する検索要求代行手段24、クライ
アントが参照先サーバからの検索結果を受領できるかど
うか判定する受領可能判定手段25、参照元サーバから
の検索要求に対する検索結果をクライアントに通知する
検索結果通知手段26、クライアント1にはサーバに対
して参照先サーバからの検索結果通知を受領できること
を通知する受領可能通知手段11、サーバに対してオブ
ジェクトの検索要求を行なう検索要求手段12、前記検
索要求手段12が要求するオブジェクトが参照元サーバ
に存在しない場合、参照元サーバから通知されるリフェ
ラルを解析するリフェラル解析手段13、参照先サーバ
からの検索結果を受領する検索結果受領手段14として
機能するものであり、コンピュータ読み取り可能な記録
媒体に記録されている。
BEST MODE FOR CARRYING OUT THE INVENTION FIG. 10 is an overall configuration diagram of a directory service system according to the present invention. The distributed object search program of the present invention is composed of a server program and a client program of the directory service system. The server A2 uses the computer to search the database for a search request, and the search processing means 21 and the client. Referral means 22 for notifying the reference server information to the reference server, client information notifying means 23 for notifying the reference server of the client information of the client that made the search request to the reference server, and the reference result indicates that the reference server information exists. Retrieval request proxy means 24 for substituting the retrieval request to the destination server, acceptability determination means 25 for determining whether or not the client can receive the retrieval result from the referred server, and notifying the client of the retrieval result for the retrieval request from the referencing server. Search results to Acknowledgment means 26, acceptability notification means 11 for notifying the client 1 that the server can receive the search result notification from the reference destination server, search request means 12 for requesting the server to search for an object, the search request When the object requested by the means 12 does not exist in the referrer server, it functions as a referral analysis means 13 for analyzing the referral notified from the referrer server, and a search result receiving means 14 for receiving the search result from the referred server. And is recorded on a computer-readable recording medium.

【0019】なお、本発明に係るディレクトリ・サービ
ス・システムは、複数のクライアントと複数のサーバか
ら構成され、複数のクライアントと複数のサーバはそれ
ぞれ同一の構成をしているが、説明の便宜上、クライア
ントは1台のみを表示し、サーバnの構成要素は省略し
てある。以下、本発明に係るディレクトリ・サービス・
システムの全体構成図に基づいて説明してある。
The directory service system according to the present invention is composed of a plurality of clients and a plurality of servers, and the plurality of clients and the plurality of servers have the same structure. Shows only one, and the components of server n are omitted. Hereinafter, the directory service according to the present invention
The description is based on the overall configuration of the system.

【0020】図2は、請求項1の発明に関したものであ
り、本発明に係る実施の形態1の検索処理が示してあ
る。クライアント1はサーバA2に対し、検索要求手段
12によりセション接続及び検索要求を行う()。サ
ーバA2では、クライアント1からの要求に基づいて、
検索処理手段21により認証・検索処理を行い()、
リフェラル通知手段22が検索結果にリフェラルが設定
されていることを判定すると、サーバA2の検索要求代
行手段24はクライアントが使用した認証情報と検索要
求でサーバB3に対しセションを確立し、検索要求を出
す(c)と共に、クライアント情報通知手段23が検索
要求元であるクライアント1のクライアント情報を通知
する。
FIG. 2 relates to the invention of claim 1 and shows the search processing of the first embodiment according to the present invention. The client 1 makes a session connection and a search request to the server A2 by the search request means 12 (). In the server A2, based on the request from the client 1,
Authentication / search processing is performed by the search processing means 21 (),
When the referral notification unit 22 determines that the referral is set in the search result, the search request proxy unit 24 of the server A2 establishes a session to the server B3 with the authentication information used by the client and the search request, and sends the search request. At the same time as issuing (c), the client information notifying means 23 notifies the client information of the client 1 as the search request source.

【0021】もしリフェラル情報に、クライアントのた
めの認証情報が含まれる場合、この認証情報を使用し、
検索要求を出す。リフェラル通知手段22はクライアン
ト1へ検索結果と共にリフェラル情報を通知する
()。サーバB3の検索処理手段31は、サーバA2
からの検索要求を受け、データベースの検索処理を行
い、その結果を保持する()。もしサーバB3のリフ
ェラル通知手段32がさらにリフェラルが設定されてい
ることを判定すると、その参照先サーバに対し、同様に
セションの接続要求・検索要求を行なうと共にクライア
ント情報を通知する。
If the referral information includes authentication information for the client, use this authentication information,
Submit a search request. The referral notification means 22 notifies the client 1 of the referral information together with the search result (). The search processing means 31 of the server B3 is the server A2.
In response to a search request from, the database search process is performed and the result is held (). If the referral notifying unit 32 of the server B3 determines that the referral is further set, the referral server similarly makes a connection request / search request of the session and notifies the client information.

【0022】クライアント1の検索要求手段12がサー
バA1から検索結果としてリフェラルを受領すると、ク
ライアントは参照元サーバであるサーバA2とのセショ
ン切断要求処理を行い、リフェラル解析手段13は、リ
フェラル情報を解析し、検索要求手段12は、その解析
情報に基づきサーバB3へ検索要求を行なう()。サ
ーバB3の検索処理手段31は、クライアント1からの
検索要求を受け、サーバA2からの検索要求と同一条件
であるかどうかのチェックを行う()。同一条件であ
る場合、サーバA2からの検索要求により検索した結果
を、クライアント1への検索結果として通知する
()。クライアント1は、検索結果の受信を完了する
とサーバB3とのセション切断要求処理を行なうことを
特徴とするものである。
When the search request means 12 of the client 1 receives the referral from the server A1 as a search result, the client performs a session disconnection request processing with the server A2 which is the reference source server, and the referral analysis means 13 analyzes the referral information. Then, the search request means 12 makes a search request to the server B3 based on the analysis information (). The search processing means 31 of the server B3 receives the search request from the client 1 and checks whether the conditions are the same as the search request from the server A2 (). If the conditions are the same, the search result from the search request from the server A2 is notified to the client 1 as the search result (). The client 1 is characterized by performing a session disconnection request process with the server B3 when receiving the search result.

【0023】もし、サーバB3がまだ検索処理中である
場合、その検索処理が終わるまで、クライアントは待機
させることは可能である。クライアントが参照先サーバ
に、参照元と異なる条件(権限、検索開始位置、検索フ
ィルタ等)もしくは、リフェラル情報を無視し参照先サ
ーバに検索要求を送信しない場合にも、参照先サーバ
は、参照元サーバの検索要求に従い、検索を実施し、そ
の結果を一定時間保持しておき、一定時間内に受信され
た検索条件が等しい検索要求に対し、検索結果として送
信するすることも可能である。
If the server B3 is still in the searching process, the client can wait until the searching process is completed. Even if the client does not send a search request to the reference server, the conditions (authority, search start position, search filter, etc.) different from the reference source or referral information is ignored and the search request is not sent to the reference server. It is also possible to carry out a search in accordance with a search request from the server, hold the result for a certain period of time, and send it as a search result to a search request received within a certain period of time and having the same search condition.

【0024】図3は、請求項1の発明に関したものの改
良例であり、本発明に係る実施の形態2の検索処理が示
してある。本実施の形態は、ディレクトリ・サービス・
システムの制御方式については本発明に係る実施の形態
1の場合と基本的に同様であるが、よりサーバの検索処
理待ち時間の短縮を図るために、予めリフェラル連携の
関係にあるサーバ間のセションを接続しておくものであ
る。先ず、リフェラル連携の関係にあるサーバA2及び
サーバB3起動時にセションを張り(a)、この経路を
常に保持する。
FIG. 3 shows an improved example of the invention according to claim 1 and shows a search process according to the second embodiment of the present invention. In this embodiment, the directory service
The system control method is basically the same as in the case of the first embodiment of the present invention, but in order to further reduce the server search processing waiting time, a session between servers that are in a referral cooperation relationship in advance. Is to be connected. First, a session is established (a) when the server A2 and the server B3, which are in a referral cooperation relationship, are activated, and this path is always held.

【0025】クライアント1はサーバA2に対し、検索
要求手段12によりセション接続及び検索要求を行う
()。サーバA2では、クライアントか1らの検索要
求に基づいて、検索処理手段21が認証・検索処理を行
い()、リフェラル通知手段22がリフェラルが設定
されていることを判定すると、サーバB3との間で保持
しているセションを使用し、クライアントが使用した認
証情報と検索条件で検索要求代行手段24が検索要求を
送信する(b)すると共にクライアント情報通知手段2
3が検索元であるクライアント1のクライアント情報を
通知する。
The client 1 makes a session connection and a search request to the server A2 by the search request means 12 (). In the server A2, the search processing means 21 performs authentication / search processing () based on the search request from the client (), and when the referral notification means 22 determines that the referral is set, the search processing means 21 communicates with the server B3. Using the session held in step 2, the search request proxy means 24 sends a search request based on the authentication information used by the client and the search conditions (b), and at the same time, the client information notification means 2
3 notifies the client information of the client 1 that is the search source.

【0026】もしリフェラル情報に、クライアントのた
めの認証情報が含まれる場合、この認証情報を使用し、
検索要求を出す。サーバA2の検索処理手段21はクラ
イアントへ検索結果を、リフェラル通知手段22はリフ
ェラル情報をクライアント1へ通知する()。サーバ
B3の検索処理手段31は、サーバA2からの検索要求
を受けると、データベースの検索処理を行い、その結果
を保持する()。もしさらにリフェラルが設定されて
いる場合、その参照先サーバに対し、検索要求代行手段
34が検索要求を行い、クライアント情報通知手段33
がクライアント情報を通知する。
If the referral information includes authentication information for the client, use this authentication information,
Submit a search request. The search processing means 21 of the server A2 notifies the client of the search result, and the referral notification means 22 notifies the client 1 of the referral information (). Upon receiving the search request from the server A2, the search processing means 31 of the server B3 performs a database search process and holds the result (). If a referral is further set, the search request proxy unit 34 makes a search request to the reference destination server, and the client information notification unit 33.
Notifies the client information.

【0027】クライアント1の検索要求手段12がサー
バA2からのリフェラル情報を受領すると、クライアン
トは参照元サーバであるサーバAとのセション切断要求
処理を行い、リフェラル解析手段13がリフェラルを解
析し()、その解析情報に基づき検索要求手段12が
サーバB3へ接続・検索要求を送信する()。サーバ
B3の検索処理手段31はクライアントからの検索要求
を受けると、クライアント情報に基づきサーバA2から
の検索要求と同一条件であるかどうかのチェックを行う
()。同一条件である場合、サーバA2からの検索要
求により検索した結果を、クライアント1へ検索結果と
して通知し()、クライアント1は検索結果の受信を
完了すると参照先サーバとのセション切断要求処理を行
なうことを特徴とするものである。
When the search request means 12 of the client 1 receives the referral information from the server A2, the client performs a session disconnection request processing with the server A which is the reference source server, and the referral analysis means 13 analyzes the referral (). The search request means 12 transmits a connection / search request to the server B3 based on the analysis information (). Upon receiving the search request from the client, the search processing means 31 of the server B3 checks whether or not the conditions are the same as the search request from the server A2 based on the client information (). When the conditions are the same, the search result from the search request from the server A2 is notified to the client 1 as the search result (), and when the client 1 completes the reception of the search result, the client 1 performs a session disconnection request process with the reference destination server. It is characterized by that.

【0028】もし、サーバB3がまだ検索処理中である
場合、その検索処理が終わるまで、クライアントは待機
させることが可能である。また、クライアントが参照先
サーバに、参照元と異なる条件(権限、検索開始位置、
検索フィルタ等)もしくは、リフェラル情報を無視し参
照先サーバに検索要求を送信しない場合にも、参照先サ
ーバは、参照元サーバの検索要求に従い、検索を実施
し、その結果を一定時間保持しておき、一定時間内に受
信された検索条件が等しい検索要求に対し、検索結果と
して送信することも可能である。
If the server B3 is still in the searching process, the client can wait until the searching process is completed. In addition, the client uses the reference server to specify conditions (authority, search start position,
Even if the referral server ignores the referral information and does not send the search request to the reference server, the reference server performs the search according to the search request from the reference server and holds the result for a certain period of time. Alternatively, it is also possible to transmit as a search result to a search request received with the same search condition within a fixed time.

【0029】図6は、本発明に係る実施の形態2の処理
シーケンスが示してある。本発明による検索処理時間
は、++++++となり、式の上では従
来のリフェラル連携を伴う検索処理と変わらないが、処
理++をサーバA−クライアント−サーバB間で
実行する間に、サーバA−サーバB間において検索要求
処理bを実行する。通常、処理++は具体的には
以下の処理を含んでいる。 (1)参照先サーバのアドレスの受信及び解析 (2)参照元サーバからのアンバインド処理 (3)参照先サーバへのバインド処理 (4)参照先サーバへの検索要求・クライアント情報の
送信処理 これらの処理は、参照先サーバへの検索要求送信処理b
より時間を要する。つまり、以下が成り立つ。 ++ > b このことは、サーバA−クライアント−サーバB経由で
送信された検索要求よりサーバA−サーバB経由で送信
された検索要求の方が早く実行され、検索結果も早く取
得できることを意味する。この検索結果を、クライアン
トが検索結果として受信することにより、検索時間が短
縮される。短縮可能な検索時間Xは以下の通り。
FIG. 6 shows a processing sequence according to the second embodiment of the present invention. The search processing time according to the present invention is +++++++, which is the same as the conventional search processing involving referral cooperation, but while the processing ++ is executed between the server A-client-server B, the server A-server B is executed. The search request process b is executed during the interval. In general, the processing ++ specifically includes the following processing. (1) Reception and analysis of the address of the reference destination server (2) Unbind processing from the reference source server (3) Bind processing to the reference destination server (4) Search request / client information transmission processing to the reference destination server Is a search request transmission process b to the reference destination server.
It takes more time. That is, the following holds. ++> b This means that the search request sent via the server A-server B is executed earlier than the search request sent via the server A-client-server B, and the search result can be acquired earlier. . When the client receives the search result as the search result, the search time is shortened. The search time X that can be shortened is as follows.

【0030】X=++−b これは、参照先サーバが一つの場合であるが、参照先サ
ーバがn個の場合、以下のようになり、より効果が大き
くなる。 Xn=(++−b)×n (n>0) 図4は、請求項2の発明に関したものであり、本発明に
係る実施の形態3の検索処理が示してある。クライアン
ト1の検索要求手段12はサーバA2に対し、セション
接続及び検索要求を行う()と共に受領可能通知手段
11はクライアント1が参照先サーバからの検索結果を
受領できることを通知する。サーバA2では、検索処理
手段21がクライアントからの要求に基づいて、認証・
検索処理を行い()、検索結果にリフェラルが設定さ
れている場合、サーバA2の検索要求代行手段24は、
クライアント1が使用した認証情報と検索要求でサーバ
B2にセションを接続し、検索要求を出す(c)と共に
クライアント情報通知手段23は検索要求元であるクラ
イアント1のクライアント情報を通知する。
X = ++-b This is the case where there is only one reference destination server. However, when there are n reference destination servers, the result is as follows, and the effect is greater. Xn = (++-b) × n (n> 0) FIG. 4 relates to the invention of claim 2 and shows the search processing of the third embodiment according to the present invention. The search request means 12 of the client 1 makes a session connection and a search request to the server A2 (), and the acceptability notification means 11 notifies that the client 1 can receive the search result from the reference destination server. In the server A2, the search processing means 21 performs authentication / authentication based on the request from the client.
When the search processing is performed () and the referral is set in the search result, the search request proxy unit 24 of the server A2
The session is connected to the server B2 by the authentication information used by the client 1 and the search request, the search request is issued (c), and the client information notifying unit 23 notifies the client information of the client 1 that is the search request source.

【0031】もしリフェラル情報に、クライアントのた
めの認証情報が含まれる場合、この認証情報を使用し、
検索要求を出す。クライアントに対し、検索処理手段2
1は検索結果を、リフェラル通知手段22がリフェラル
情報を通知する()。サーバB3の検索処理手段31
は、サーバA2からの検索要求を受け、データベースの
検索処理を行い、その結果を保持する()。
If the referral information includes authentication information for the client, use this authentication information,
Submit a search request. Search processing means 2 for the client
1 indicates the search result, and the referral notification means 22 notifies the referral information (). Search processing means 31 of server B3
Receives the search request from the server A2, searches the database, and holds the result ().

【0032】もしさらにリフェラルが設定されている場
合、その参照先サーバに対し、検索要求代行手段34は
検索要求を行い、クライアント情報通知手段33はクラ
イアント情報を通知する。サーバB3の検索結果通知手
段36は参照元サーバ(サーバA2)から通知されたク
ライアント情報を使用し、クライアントに接続を行い、
サーバA2からの検索要求により検索した結果を、クラ
イアント1への検索結果として、通知し(e)、クライ
アント1の検索結果受領手段14が検索結果を受領し、
が参照先サーバ(サーバB3)とのセション切断処理を
行なうことを特徴とするものである。
If a referral is further set, the search request proxy means 34 sends a search request to the reference destination server, and the client information notifying means 33 notifies the client information. The search result notifying means 36 of the server B3 uses the client information notified from the reference source server (server A2) to connect to the client,
The search result obtained by the search request from the server A2 is notified to the client 1 as the search result (e), and the search result receiving means 14 of the client 1 receives the search result,
Performs session disconnection processing with the reference destination server (server B3).

【0033】もし、検索結果にリフェラル情報以外のエ
ントリがヒットしなかった場合、クライアントへのセシ
ョン接続及び検索結果の通知は行わないようにすること
もできる。なお、よりサーバの検索処理待ち時間の短縮
を図るために、本発明に係る実施の形態1と実施の形態
2の関係と同様に予めリフェラル連携の関係にあるサー
バ間(サーバA2とサーバB3)のセションを接続して
おくことも可能である。
If an entry other than the referral information does not hit the search result, the session connection to the client and the search result notification may not be performed. Note that, in order to further reduce the server search processing waiting time, between the servers (server A2 and server B3) that have a relationship of referral cooperation in advance, similar to the relationship between the first and second embodiments of the present invention. It is also possible to connect the session of.

【0034】図7は、本発明に係る実施の形態3の処理
シーケンスが示してある。本実施の形態では参照先サー
バからクライアントに接続し、検索結果を通知する方式
であるため、参照先サーバがクライアントに接続する前
に、接続する必要がないことを認識できるため、参照先
サーバの検索結果にリフェラル情報だけがヒットした場
合など、クライアントにその結果を通知しないことで、
更に検索待ち時間の減少及びネットワーク上の負荷の軽
減が可能である。また、サーバは参照先サーバに次々に
検索情報を送信し、その結果を並列的にクライアントに
通知できるので、クライアントが順順にサーバからのリ
フェラルを受け取り解析後、次の参照先サーバに検索を
行う方式よりも、検索待ち時間の減少が図れる。
FIG. 7 shows a processing sequence according to the third embodiment of the present invention. In the present embodiment, since the reference destination server connects to the client and notifies the search result, it can recognize that the reference destination server does not need to connect before connecting to the client. By not notifying the client of the result such as when referral information only hits in the search result,
Further, it is possible to reduce the search waiting time and the load on the network. In addition, the server can send the search information to the reference destination server one after another and notify the result in parallel to the client, so that the client receives the referrals from the server in order and analyzes them, and then performs the search to the next reference destination server. The search waiting time can be reduced as compared with the method.

【0035】図8は、参照先サーバが複数ある場合の検
索通知例が示してある。言い換えると、これは前記検索
待ち時間の減少について図示したものである。従来のリ
フェラル連携を伴う検索処理においては、破線で示した
クライアントと関連する参照先サーバに対してもセショ
ンの接続・検索要求処理が必要であったが、本実施の形
態では検索対象のない参照先サーバ(サーバB、サーバ
C)にはセションの接続が不要であることを示してい
る。
FIG. 8 shows an example of search notification when there are a plurality of reference destination servers. In other words, this illustrates the reduction in search latency. In the conventional search processing involving referral cooperation, session connection / search request processing was also required for the reference server associated with the client indicated by the broken line, but in the present embodiment, there is no search target. It is shown that the destination servers (server B, server C) do not require session connection.

【0036】以下、本発明の実施の形態を図面を参照し
て説明する。[実施の形態1]図11、図12、図13
は、図2で示した本発明に係る実施の形態1を実現する
ための処理フローが示してある。実施の形態1のディレ
クトリ・サービス・システム全体の処理の流れは「課題
を解決するための手段」の項で説明した通り、基本的に
実施の形態2と同様であるため、図6で示した本発明に
係る実施の形態2の処理シーケンスを参照されたい。
Embodiments of the present invention will be described below with reference to the drawings. [First Embodiment] FIGS. 11, 12, and 13.
Shows a processing flow for realizing the first embodiment according to the present invention shown in FIG. The processing flow of the entire directory service system according to the first embodiment is basically the same as that of the second embodiment as described in the section "Means for solving the problem", and therefore is shown in FIG. Please refer to the processing sequence of the second embodiment according to the present invention.

【0037】図11は、本発明に係る実施の形態1にお
ける参照元サーバの検索情報通知処理フローを示すフロ
ーチャートであり、図2で示したサーバAにおけるデー
タベースの検索処理に関したものである。データベース
検索中にリフェラル情報が含まれている場合、参照先サ
ーバBにセションを張り、検索要求を送信し、クライア
ントには、検索結果とリフェラル情報を通知する。以下
フローチャートに従って説明する。
FIG. 11 is a flow chart showing a search information notification processing flow of the referencing server in the first embodiment according to the present invention, and relates to the database search processing in the server A shown in FIG. If the referral information is included in the database search, a session is established with the reference destination server B, a search request is transmitted, and the client is notified of the search result and the referral information. A description will be given below according to the flowchart.

【0038】クライアントが指定した検索条件によりデ
ータベースを検索し(S1101)、エントリがヒット
するとリフェラル情報があるかどうか判定する(S11
03)。検索するデータがない場合、クライアントに検
索した結果を通知するメッセージを作成する処理を行う
(S1102)。リフェラル情報の形式(RFCで規約
化されている)は、図18を参照されたい。
The database is searched according to the search condition specified by the client (S1101), and if the entry hits, it is determined whether or not there is referral information (S11).
03). If there is no data to be searched, a process of creating a message notifying the client of the search result is performed (S1102). See FIG. 18 for the format of the referral information (standardized by RFC).

【0039】リフェラル情報が含まれている場合、以下
のクライアント情報を収集する(S1104)。 (1)ホスト名(IPアドレス) (2)ユーザ名、パスワード (3)サーチベース(検索を開始するツリーの位置)、
検索の範囲、フィルタ(検索条件) これらの情報のうち、ホスト名、ユーザ名、パスワード
は、検索代行のコントロールリクエスト(クライアント
からの検索と識別するために本発明で新設)として検索
要求に付加した状態で送信する。サーチベース、検索の
範囲及びフィルタは、従来からの検索要求項目として送
信する。検索のコントロールリクエストには、クライア
ントのホスト名、クライアントのバインドに使用するd
n(distinguished name) 名(オブジェクトを識別する
名前) 、クライアントのバインドに使用するバスワード
が設定される。
If the referral information is included, the following client information is collected (S1104). (1) Host name (IP address) (2) User name and password (3) Search base (position of tree to start search),
Search range, filter (search condition) Of these pieces of information, the host name, user name, and password are added to the search request as a control request for search (newly established in the present invention to distinguish the search from the client). Send in the state. The search base, search range, and filter are transmitted as conventional search request items. The host name of the client, d used to bind the client in the search control request
The n (distinguished name) name (the name that identifies the object) and the password used to bind the client are set.

【0040】次に参照先サーバとセションが接続されて
いるかどうかを判定する(S1105)。セションが接
続されていない場合、参照先サーバとのセションの接続
を行なう(S1106)。参照先サーバとのセションが
接続されると参照先サーバにクライアント情報を含む検
索要求を送信する(S1107)。図12は、本発明に
係る実施の形態1における参照先サーバの検索処理フロ
ーを示すフローチャートである。参照先サーバ(サーバ
B)は、参照元サーバ(サーバA)、又はクライアント
からの検索要求を受け、参照元サーバからの検索要求の
場合、データベースの検索を実施した後、検索結果を保
持する。クライアントからの検索要求の場合、参照元サ
ーバからの検索が前もって実行されていないかをチェッ
クし、対応する検索結果がある場合には、その結果をク
ライアントに通知する。
Next, it is judged whether or not the reference destination server and the session are connected (S1105). If the session is not connected, the session is connected to the reference destination server (S1106). When the session with the reference destination server is connected, a search request including client information is transmitted to the reference destination server (S1107). FIG. 12 is a flowchart showing a search processing flow of the referred server according to the first embodiment of the present invention. The reference destination server (server B) receives the search request from the reference source server (server A) or the client, and in the case of the search request from the reference source server, after executing the database search, holds the search result. In the case of the search request from the client, it is checked whether the search from the referrer server has been executed in advance, and if there is a corresponding search result, the result is notified to the client.

【0041】参照先サーバは、検索要求を受信する(S
1201)と、受け取った検索要求が参照元サーバから
の検索か、クライアントからの検索かを検索のコントロ
ールリクエストのタイプで識別する(S1202)。参
照元サーバからの検索の場合、データベースの検索を行
う。ここで更にリフェラル情報が含まれる場合、図11
の処理がここで行われる(S1203)。検索結果をク
ライアントに通知するメッセージの形式で保持する(S
1204)。
The referenced server receives the search request (S).
1201) and whether the received search request is a search from the reference source server or a client is identified by the type of search control request (S1202). When searching from the referrer server, search the database. If further referral information is included here, FIG.
Is performed here (S1203). Hold the search results in the form of a message that notifies the client (S
1204).

【0042】クライアントからの検索要求であった場
合、参照元サーバからの検索要求により該当する検索結
果があるかどうかのチェックを行う(S1205)。あ
る場合、その検索結果のメッセージを検索結果メッセー
ジ管理から削除しクライアントへのメッセージとして使
用する(S1206)。ない場合、データベースの検索
を行い、検索結果のメッセージを作成する(S120
7)。検索結果をクライアントに通知する(S120
8)。
If the search request is from the client, it is checked whether or not there is a corresponding search result by the search request from the reference source server (S1205). If there is, the message of the search result is deleted from the search result message management and used as a message to the client (S1206). If not, the database is searched and a message of the search result is created (S120).
7). Notify the client of the search result (S120)
8).

【0043】図13は、本発明に係る実施の形態1 にお
けるリフェラルが通知された場合のクライアントの処理
フローを示すフローチャートである。クライアントにお
いて参照元サーバからリフェラル情報が通知された場合
の処理である。参照元サーバ(サーバA)に検索要求を
送信後、その結果としてリフェラル情報が通知された場
合、クライアントは参照先サーバ(サーバB)に検索要
求を送信する。検索結果を受信後、マージを行い。サー
バとのセションを切断する。
FIG. 13 is a flowchart showing the processing flow of the client when the referral is notified in the first embodiment according to the present invention. This is the process when the referral server notifies the client of the referral information. After sending the search request to the reference source server (server A), when the referral information is notified as a result, the client sends the search request to the reference destination server (server B). After receiving the search results, merge them. Disconnect the session with the server.

【0044】参照元サーバに対し、接続要求を送信する
(S1301)。参照元サーバからの接続要求を受信す
る(S1302)。参照元サーバに対し、検索要求を送
信する(S1303)。検索結果を受信し、検索要求を
出した全てのサーバから、メッセージのタイプがLDAP_
RES _SEARCH_RESULTが帰ってきた場合、サーバへの切
断要求を送る(S1304)。上記以外の場合、そのメ
ッセージの中にリフェラル情報を含むかどうかチェック
する(S1305)。リフェラル情報を含む場合、その
リフェラル情報を解析し、参照先サーバに接続要求を行
う(S1306)。参照先サーバに検索要求を行う(S
1307)。参照元サーバに切断要求を行う(S130
8)。[実施の形態2]本発明の実施の形態2のディレ
クトリ・サービス・システムの制御方式は実施の形態1
と基本的に同様であり、よりサーバの検索処理待ち時間
の短縮を図るために、予めリフェラル連携の関係にある
サーバ間のセションを接続しておくものである。処理の
詳細については省略する。[実施の形態3]図14、図
15、図16、図17は、図4で示した本発明に係る実
施の形態3を実現するための処理フローが示してある。
実施の形態3のディレクトリ・サービス・システム全体
の処理の流れは図7で示した本発明に係る実施の形態3
の処理シーケンスを参照されたい。なお、図14、図1
5、図16、図17のフローチャートには図示していな
いが、クライアント1が検索要求を行なう時には、クラ
イアント1が参照先サーバからの検索結果を受領できる
ことを通知する。通知の方法は、検索のコントロールリ
クエストにその旨の情報を追加してもよいし、参照元サ
ーバとの間で新たな通知インタフェースを設けてもよ
い。
A connection request is sent to the referrer server (S1301). The connection request from the reference source server is received (S1302). A search request is transmitted to the referring server (S1303). The message type is LDAP_ from all the servers that received the search result and issued the search request.
When RES_SEARCH_RESULT is returned, a disconnection request to the server is sent (S1304). In cases other than the above, it is checked whether the message includes referral information (S1305). When the referral information is included, the referral information is analyzed and a connection request is made to the reference destination server (S1306). Make a search request to the referenced server (S
1307). A disconnection request is issued to the referring server (S130).
8). [Embodiment 2] The control method of the directory service system according to Embodiment 2 of the present invention is Embodiment 1
This is basically the same as the above, and in order to further reduce the server search processing waiting time, a session between servers in a referral cooperation relationship is connected in advance. The details of the processing are omitted. [Third Embodiment] FIGS. 14, 15, 16, and 17 show a processing flow for realizing the third embodiment according to the present invention shown in FIG.
The processing flow of the entire directory service system according to the third embodiment is the same as that of the third embodiment according to the present invention shown in FIG.
Refer to the processing sequence of. Note that FIG. 14 and FIG.
Although not shown in the flowcharts of FIGS. 5, 16 and 17, when the client 1 makes a search request, the client 1 notifies that the search result from the reference destination server can be received. As a notification method, information to that effect may be added to the search control request, or a new notification interface may be provided with the reference source server.

【0045】図14は、本発明に係る実施の形態3にお
ける参照元サーバの検索処理フローを示すフローチャー
トである。検索中にリフェラル情報が含まれている場
合、参照先サーバ(サーバB)にセションを張り、検索
要求を送信する。クライアントには、検索結果とリフェ
ラル情報を通知する。クライアントが指定した検索条件
によりデータベースを検索し(S1401)、エントリ
がヒットすると、ヒットしたエントリにリフェラル情報
が含まれているかどうかをチェックする(S140
3)。リフェラル情報については、図18を参照された
い。
FIG. 14 is a flow chart showing the search processing flow of the referring server in the third embodiment of the present invention. If the referral information is included in the search, a session is established with the reference destination server (server B) and a search request is transmitted. The client is notified of the search result and referral information. The database is searched according to the search condition specified by the client (S1401), and when an entry is hit, it is checked whether the hit entry includes referral information (S140).
3). See FIG. 18 for referral information.

【0046】検索するデータがない場合、クライアント
に検索した結果を通知するメッセージを作成し送信する
(S1402)。また、これと同時にサーバからクライ
アントに検索待ちのコントロールリクエストが通知さ
れ、クライアントは待ち状態に入る。検索待ちのコント
ロールリクエストには、クライアントでの最大待ち時間
が設定される。
If there is no data to be retrieved, a message for notifying the client of the retrieval result is created and transmitted (S1402). At the same time, the server notifies the client of a control request waiting for search, and the client enters the waiting state. The maximum waiting time at the client is set to the control request waiting for the search.

【0047】リフェラル情報が含まれている場合、以下
のクライアント情報を収集する(S1404)。 (1)ホスト名(IPアドレス) (2)ユーザ名、パスワード (3)サーチベース(検索を開始するツリーの位置)、
検索の範囲、フィルタ(検索条件) (4)参照先サーバからの検索結果の受領可能の有無 これらの情報のうち、ホスト名、ユーザ名、パスワー
ド、参照先サーバからの検索結果の受領可能の有無は、
検索のコントロールリクエストとして検索要求に付加し
た状態で送信する。サーチベース、検索の範囲及びフィ
ルタは、従来からの検索要求項目として送信する。検索
のコントロールリクエストには、クライアントのホスト
名、クライアントのバインドに使用するdn名、クライ
アントのバインドに使用するパスワードが設定される。
When the referral information is included, the following client information is collected (S1404). (1) Host name (IP address) (2) User name and password (3) Search base (position of tree to start search),
Search range, filter (search condition) (4) Whether the search result can be received from the reference destination server Among these information, the host name, user name, password, and whether the search result can be received from the reference destination server Is
It is sent as a search control request with the search request added. The search base, search range, and filter are transmitted as conventional search request items. The host name of the client, the dn name used for binding the client, and the password used for binding the client are set in the search control request.

【0048】図15は、本発明に係る実施の形態3にお
ける参照先サーバの検索処理フローを示すフローチャー
トである。参照元サーバ(サーバA2)、又はクライア
ント1からの検索要求を受け、クライアント及び次の参
照先サーバへの検索要求を送信する。クライアント、参
照先サーバに送信する情報については、図20を参照さ
れたい。
FIG. 15 is a flow chart showing the search processing flow of the referred server in the third embodiment of the present invention. Upon receiving a search request from the reference source server (server A2) or the client 1, the search request is transmitted to the client and the next reference destination server. See FIG. 20 for information to be sent to the client and the reference destination server.

【0049】参照先サーバは、検索要求を受信する(S
1501)と、受け取った検索要求が、参照元サーバか
らの検索要求か、クライアントからの検索要求であるか
を検索のコントロールリクエストのタイプで識別する
(S1502)。クライアントからの検索要求の場合に
は、クライアントへリフェラル情報を通知するためのリ
フェラル通知フラグをONに設定する(S1503)。参
照元サーバからの検索要求の場合には、データベースの
検索を行う(S1504)。
The referenced server receives the search request (S).
1501) and whether the received search request is the search request from the reference source server or the search request from the client, is identified by the type of the search control request (S1502). In the case of the search request from the client, the referral notification flag for notifying the client of the referral information is set to ON (S1503). In the case of the search request from the reference source server, the database is searched (S1504).

【0050】次に、検索結果にリフェラル情報が含まれ
ているかどうかをチェックする(S1505)。リフェ
ラル情報がある場合、その参照先サーバに接続を行い、
検索要求を送信する(S1506)。リフェラル情報が
ない場合、クライアントに検索の最後を示すLDAP_RES
_SEARCH_LAST_REFERENCE 通知フラグをONに設定する
(S1507)。リフェラル通知フラグがONかどうかを
チェックし(S1508)、このフラグがONの場合、ク
ライアントにリフェラル情報を通知する(S150
9)。次に、検索結果があるどうかをチェックする(S
1510)。検索結果がある場合、クライアントが参照
先サーバからの検索結果を受領できるかどうか判定し
て、受領できる場合はクライアントに検索結果を通知す
る(S1511)。検索結果がない場合、LDAP_RES _
SEARCH_LAST_REFERENCE 通知フラグを確認する(S1
512)。このフラグがOFF の場合、クライアントには
何も通知しない。LDAP_RES _SEARCH_LAST_REFERENC
E 通知フラグがONの場合、クライアントに検索の終了を
示すLDAP_RES _SEARCH_LAST_REFERENCE (本発明の
ために新設したメッセージタイプ)を通知する(S15
13)。
Next, it is checked whether or not the search result includes referral information (S1505). If there is referral information, connect to the referenced server and
A search request is transmitted (S1506). LDAP_RES, which indicates to the client the end of the search if there is no referral information
The _SEARCH_LAST_REFERENCE notification flag is set to ON (S1507). It is checked whether the referral notification flag is ON (S1508), and if the flag is ON, the client is notified of the referral information (S150).
9). Next, check whether there is a search result (S
1510). If there is a search result, the client determines whether or not the search result from the reference destination server can be received, and if the search result can be received, the client is notified of the search result (S1511). LDAP_RES_ if there is no search result
Check the SEARCH_LAST_REFERENCE notification flag (S1
512). If this flag is OFF, nothing is notified to the client. LDAP_RES_SEARCH_LAST_REFERENC
When the E notification flag is ON, the client is notified of LDAP_RES_SEARCH_LAST_REFERENCE (new message type for the present invention) indicating the end of the search (S15).
13).

【0051】図16は、本発明に係る実施の形態3にお
けるリフェラルが通知された場合のクライアントの処理
フローを示すフローチャートである。参照元サーバ(サ
ーバA)に検索要求を送信後、その結果として検索待ち
のコントロールリクエスト、及びリフェラル情報が通知
された場合、クライアントは参照先サーバからの検索結
果通知を受領するために待ち状態に入る。参照先サーバ
からの検索結果は、別のスレッドを起動し、そこで待ち
合わせに入るように構成する。
FIG. 16 is a flowchart showing the processing flow of the client when the referral is notified in the third embodiment of the present invention. After sending a search request to the referrer server (server A), if the result is a search request control request and referral information, the client is placed in a waiting state to receive the search result notification from the referee server. enter. The search result from the reference destination server is configured to start another thread and wait there.

【0052】参照元サーバに対し、接続要求を送信する
(S1601)。参照元サーバからの接続要求を受信す
る(S1602)。参照元サーバに対し、検索要求を送
信する(S1603)。検索結果を受信し、検索要求を
出した全てのサーバから、メッセージのタイプがLDAP_
RES _SEARCH_RESULTが帰ってきた場合、参照先サーバ
からの検索結果を受け取る処理が全て終了するのを待ち
合わせる(S604)。上記以外の場合、そのメッセー
ジの中に検索待ちのコントロールリクエスト、及びリフ
ェラル情報が含むかどうかチェックする(S160
5)。リフェラル情報を含む場合、参照先サーバからの
検索結果受信処理を行う(S1606)。(図17を参
照されたい)上記の処理で参照先サーバからの検索結果
が全て受信(LDAP_RES _SEARCH_RESULT受信)される
まで待ち合わせ状態に入る(S1607)。受信した検
索結果を全てマージする(S1608)。参照元サーバ
に切断要求を行う(S1609)。
A connection request is sent to the referring server (S1601). The connection request from the referrer server is received (S1602). A search request is transmitted to the referring server (S1603). The message type is LDAP_ from all the servers that received the search result and issued the search request.
When RES_SEARCH_RESULT is returned, it waits until all the processes for receiving the search result from the referred server are completed (S604). In cases other than the above, it is checked whether or not the message includes a control request waiting for search and referral information (S160).
5). When the referral information is included, the search result receiving process from the reference destination server is performed (S1606). (See FIG. 17) In the above process, the waiting state is entered until all search results from the reference destination server are received (LDAP_RES_SEARCH_RESULT reception) (S1607). All the received search results are merged (S1608). A disconnection request is issued to the referring server (S1609).

【0053】図17は、本発明に係る実施の形態3にお
ける参照先サーバからのクライアントの検索結果受領処
理フローを示すフローチャートである。クライアント
が、参照先サーバからの接続及び検索結果通知の受領を
行う処理である。この処理は、スレッドで起動され、参
照先サーバからの接続があるのを待つ。参照先サーバか
らアクセスがあるとその要求をチェックし、検索結果の
受領処理を行う。
FIG. 17 is a flow chart showing a processing flow for receiving a search result of a client from a reference destination server according to the third embodiment of the present invention. This is a process in which the client receives a connection and a search result notification from the reference destination server. This process is started by a thread and waits for a connection from the referenced server. When there is an access from the reference destination server, the request is checked, and the search result is received.

【0054】参照先サーバからのアクセス要求を受信
し、そのメッセージがこれ以上、参照先サーバからの接
続がないことを示すLDAP_RES _SEARCH_LAST_REFERE
NCE メッセージであるかどうか判定し(S1701)、
Yesの場合、その参照先サーバに切断要求を送信する
(S1708)。Noの場合、そのメッセージがバイン
ド要求かどうかをチェックする(S1702)。バイン
ド要求である場合、認証処理が成功したかどうか判定す
る。認証情報は、クライアントが参照元サーバの検索で
使用した認証情報が使用される(S1703)。認証に
成功した場合は、参照先サーバにLDAP_RES _BINDメッ
セージを使用して、認証に成功したことを通知する(S
1704)。認証に失敗した場合、同様の方法で認証に
失敗したことを通知する(S1705)。次に、通知さ
れたメッセージがそのサーバからのメッセージの最後で
あるかどうかをチェックする(S1706)。LDAP_RE
S _SEARCH_RESULTが通知されている場合、その参照先
サーバに対し、切断要求を送信する(S1707)。参
照先サーバに切断要求を送り処理を終了する(S170
8)。
LDAP_RES_SEARCH_LAST_REFERE, which receives an access request from the referenced server and the message indicates that there is no more connection from the referenced server.
It is determined whether the message is an NCE message (S1701),
In the case of Yes, the disconnection request is transmitted to the reference destination server (S1708). If No, it is checked whether the message is a bind request (S1702). If the request is a bind request, it is determined whether the authentication process is successful. As the authentication information, the authentication information used by the client to search the reference source server is used (S1703). When the authentication is successful, the referenced server is notified of the successful authentication by using the LDAP_RES_BIND message (S
1704). When the authentication has failed, the fact that the authentication has failed is notified by the same method (S1705). Next, it is checked whether the notified message is the last of the messages from the server (S1706). LDAP_RE
When S_SEARCH_RESULT is notified, a disconnection request is transmitted to the reference destination server (S1707). A disconnection request is sent to the reference destination server and the processing is terminated (S170).
8).

【0055】図18は、リフェラル情報の形式が示して
ある。リフェラルには参照先サーバ情報として、LDA
Pホスト名、LDAPポート番号、オブジェクトの識別
名、検索範囲、検索条件などがLDAP URL(Unif
orm Resource Locator)の形式で格納されている。図1
9は、検索結果メッセージ管理構造体が示してある。参
照先サーバからの検索結果はリンク構造のデータとして
保持される。クライアントからの検索があった場合にこ
の構造体の情報を検索し、該当するものがある場合、そ
の情報が検索結果として使用され、この構造体からは削
除される。設定によって、一定時間保持され、その間に
同様の検索があった全てのクライアントに対しそのメッ
セージを通知させることも可能である。
FIG. 18 shows the format of referral information. For referrals, LDA is used as reference server information.
P host name, LDAP port number, object identification name, search range, search condition, etc. are LDAP URL (Unif
orm Resource Locator) format. Figure 1
Reference numeral 9 indicates a search result message management structure. The search result from the reference destination server is held as data having a link structure. When there is a search from the client, the information in this structure is searched, and if there is a corresponding one, that information is used as the search result and deleted from this structure. Depending on the setting, it is possible to keep the message for a certain period of time and notify the message to all clients that have made similar searches during that time.

【0056】図20は、クライアント及び参照先サーバ
に対し、検索結果、リフェラル情報及び検索要求を送る
条件を示す。リフェラル情報が設定されている場合は、
参照先サーバに検索要求を送信する。参照先サーバがな
い場合は、検索結果がない場合でも、クライアントにLD
AP_RES _SEARCH_LAST_REFERENCE メッセージを送付
して、それ以上検索結果がないことを通知する。クライ
アントからの検索があった場合で、リフェラル情報があ
る場合は、必ずリフェラル情報をクライアントに通知
し、サーバでリフェラル処理を行うことをクライアント
に教える必要がある。
FIG. 20 shows conditions for sending a search result, referral information, and a search request to the client and the reference destination server. If referral information is set,
Send a search request to the referenced server. If there is no reference server, even if there is no search result, LD
Send the AP_RES_SEARCH_LAST_REFERENCE message to notify that there are no more search results. When there is a search from the client and if there is referral information, it is necessary to notify the client of the referral information and instruct the client to perform referral processing at the server.

【0057】なお、クライアントからの検索は、このサ
ーバに直接、クライアントが検索要求を出してきた場合
を、参照元からの検索は、このサーバにリフェラル情報
が設定されているサーバから検索要求が来た場合を指
す。また、クライアントへの通知は、クライアントに返
す結果の内容を、参照先への検索は、参照先サーバへ検
索要求を出すかどうかを、LAST_REFERENCE メッセージ
は、LDAP_RES _SEARCH_LAST_REFERENCE メッセージ
のことを指す。
For the search from the client, the client issues a search request directly to this server. For the search from the reference source, the search request comes from the server for which referral information is set in this server. Refers to the case. Further, the notification to the client indicates the content of the result returned to the client, the search to the reference destination indicates whether to issue a search request to the reference destination server, and the LAST_REFERENCE message indicates the LDAP_RES_SEARCH_LAST_REFERENCE message.

【0058】(付記1)検索要求に対し、検索処理を行
なう検索処理手段と、前記検索処理手段で検索したデー
タに参照先サーバが設定されていると、クライアントに
参照先サーバ情報を通知するリフェラル通知手段と、前
記参照先サーバに対し、検索要求元のクライアント情報
を通知するクライアント情報通知手段と、前記クライア
ントが参照先サーバからの検索結果を受領できるかどう
かを判定する受領可能判定手段と、前記検索要求元がク
ライアントである場合、又は前記受領可能判定手段がク
ライアントにより前記参照先サーバからの検索結果を受
領できると判定した場合、前記クライアント情報に基づ
きクライアントに検索結果を通知する検索結果通知手段
としてコンピュータを機能させるディレクトリ・サービ
ス・システムのサーバ・プログラム。
(Supplementary Note 1) In response to a search request, a search processing means for performing a search process and a referral server for the data retrieved by the search processing means, a referral for notifying the client of the referral server information. Notifying means, client information notifying means for notifying the reference destination server of the client information of the search request source, and acceptability determining means for determining whether or not the client can receive the search result from the reference destination server, When the search request source is a client, or when the acceptability determination unit determines that the client can receive the search result from the reference destination server, a search result notification that notifies the client of the search result based on the client information A directory service system that allows a computer to function as a means. Server program.

【0059】(付記2)サーバに対して、検索要求を行
なう検索要求手段と、参照先サーバからの検索結果を受
領可能であることをサーバに通知する受領可能通知手
段、前記検索要求手段が受領した検索結果に参照先サー
バ情報があるかどうかを判定・解析するリフェラル解析
手段と、前記リフェラル解析手段が解析した参照先サー
バ情報の解析結果に基づき、参照先サーバからの検索結
果を受領する検索結果受領手段としてコンピュータを機
能させるディレクトリ・サービス・システムのクライア
ント・プログラム。
(Supplementary Note 2) Search request means for making a search request to the server, acceptability notifying means for notifying the server that the search results from the reference destination server can be received, and the search request means Referral analysis means for determining / analyzing whether or not there is referred server information in the retrieved search result, and retrieval for receiving the retrieval result from the referred server based on the analysis result of the referred server information analyzed by the referral analysis means A directory service system client program that causes a computer to function as a means of receiving results.

【0060】(付記3)検索要求に対し、検索処理を行
なう検索処理手段と、前記検索処理手段で検索したデー
タに参照先サーバが設定されていると、クライアントに
参照先サーバ情報を通知するリフェラル通知手段と、前
記参照先サーバに対し、検索要求元のクライアント情報
を通知するクライアント情報通知手段と、前記参照先サ
ーバに対し、クライアントからの検索要求を代行する検
索要求代行手段と、前記クライアントが参照先サーバか
らの検索結果を受領できるかどうかを判定する受領可能
判定手段と、前記検索要求元がクライアントである場
合、又は前記受領可能判定手段がクライアントにより前
記参照先サーバからの検索結果を受領できると判定した
場合、前記クライアント情報に基づきクライアントに検
索結果を通知する検索結果通知手段とを有することを特
徴とするディレクトリ・サービス・システムのサーバ装
置。
(Supplementary Note 3) A referral for notifying a client of reference destination server information when a search processing means for performing a search processing in response to a search request and a reference destination server for data retrieved by the search processing means are set. Notification means, client information notification means for notifying the reference destination server of the client information of the search request source, search request proxy means for acting the search request from the client to the reference destination server, and the client Acceptability determining means for determining whether or not the search result from the reference destination server can be received; and when the search request source is a client, or the acceptability determining means receives the search result from the reference destination server by the client. If it is determined that it is possible, the search result is notified to the client based on the client information. Server directory service system; and a result notification unit.

【0061】(付記4)サーバに対して、検索要求を行
なう検索要求手段と、参照先サーバからの検索結果を受
領可能であることをサーバに通知する受領可能通知手段
と、前記検索要求手段が受領した検索結果に参照先サー
バ情報があるかどうかを判定・解析するリフェラル解析
手段と、前記リフェラル解析手段が解析した参照先サー
バ情報の解析結果に基づき、参照先サーバからの検索結
果を受領する検索結果受領手段とを有することを特徴と
するディレクトリ・サービス・システムのクライアント
装置。
(Supplementary Note 4) The search request means for making a search request to the server, the acceptability notifying means for notifying the server that the search result from the reference destination server can be received, and the search request means are provided. Referral analysis means for determining / analyzing whether or not there is referred server information in the received retrieval result, and receiving the retrieval result from the referred server based on the analysis result of the referred server information analyzed by the referral analysis means. A client device of a directory service system, comprising a search result receiving means.

【0062】(付記5)検索要求に対し、検索処理を行
なう検索処理手段と、前記検索処理手段で検索したデー
タに参照先サーバが設定されていると、クライアントに
参照先サーバ情報を通知するリフェラル通知手段と、前
記参照先サーバに対し、検索要求元のクライアント情報
を通知するクライアント情報通知手段と、前記参照先サ
ーバに対し、クライアントからの検索要求を代行する検
索要求代行手段と、前記クライアントが参照先サーバか
らの検索結果を受領できるかどうかを判定する受領可能
判定手段と、前記検索要求元がクライアントである場
合、又は前記受領可能判定手段がクライアントにより前
記参照先サーバからの検索結果を受領できると判定した
場合、前記クライアント情報に基づきクライアントに検
索結果を通知する検索結果通知手段してコンピュータを
機能させるディレクトリ・サービス・システムのサーバ
・プログラム記録したコンピュータ読み取り可能な記録
媒体。
(Supplementary Note 5) A referral for notifying a client of reference destination server information when a search processing means for performing a search processing and a reference destination server for data retrieved by the search processing means are set in response to a search request. Notification means, client information notification means for notifying the reference destination server of the client information of the search request source, search request proxy means for acting the search request from the client to the reference destination server, and the client Acceptability determining means for determining whether or not the search result from the reference destination server can be received; and when the search request source is a client, or the acceptability determining means receives the search result from the reference destination server by the client. If it is determined that it is possible, the search result is notified to the client based on the client information. Result notifying means and the directory service system that causes a computer to function, the server program and computer readable recording medium.

【0063】(付記6)サーバに対して、検索要求を行
なう検索要求手段と、参照先サーバからの検索結果を受
領可能であることをサーバに通知する受領可能通知手段
と、前記検索要求手段が受領した検索結果に参照先サー
バ情報があるかどうかを判定・解析するリフェラル解析
手段と、前記リフェラル解析手段が解析した参照先サー
バ情報の解析結果に基づき、参照先サーバからの検索結
果を受領する検索結果受領手段としてコンピュータを機
能させるディレクトリ・サービス・システムのクライア
ント・プログラムを記録したコンピュータ読み取り可能
な記録媒体。
(Supplementary Note 6) The search request means for making a search request to the server, the acceptability notifying means for notifying the server that the search result from the reference destination server can be received, and the search request means are provided. Referral analysis means for determining / analyzing whether or not there is referred server information in the received retrieval result, and receiving the retrieval result from the referred server based on the analysis result of the referred server information analyzed by the referral analysis means. A computer-readable recording medium recording a client program of a directory service system that causes a computer to function as a search result receiving means.

【0064】[0064]

【発明の効果】以上説明したように、本発明によれば、
以下の効果がある。クライアントと検索対象の存在しな
い参照先サーバとのセション接続が不要となり、また、
従来クライアントが行なってていた参照先サーバへのセ
ション接続をサーバが代行することにより、ネットワー
クの負荷の軽減と分散オブジェクト検索における検索待
ち時間の短縮が図れる。
As described above, according to the present invention,
It has the following effects. The session connection between the client and the referenced server that does not have the search target is not required, and
Since the server substitutes the session connection to the reference destination server, which was conventionally performed by the client, the load on the network can be reduced and the search waiting time in the distributed object search can be shortened.

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

【図1】従来の検索処理例である。FIG. 1 is an example of a conventional search process.

【図2】本発明に係る実施の形態1の検索処理である。FIG. 2 is a search process according to the first embodiment of the present invention.

【図3】本発明に係る実施の形態2の検索処理である。FIG. 3 is a search process according to the second embodiment of the present invention.

【図4】本発明に係る実施の形態3の検索処理である。FIG. 4 is a search process according to the third embodiment of the present invention.

【図5】従来の検索処理例の処理シーケンスである。FIG. 5 is a processing sequence of a conventional search processing example.

【図6】本発明に係る実施の形態2の処理シーケンスで
ある。
FIG. 6 is a processing sequence according to the second embodiment of the present invention.

【図7】本発明に係る実施の形態3の処理シーケンスで
ある。
FIG. 7 is a processing sequence according to the third embodiment of the present invention.

【図8】本発明に係る参照先サーバが複数ある場合の検
索通知例である。
FIG. 8 is an example of a search notification when there are a plurality of reference destination servers according to the present invention.

【図9】リフェラル連携の運用例である。FIG. 9 is an operation example of referral cooperation.

【図10】本発明に係るディレクトリ・サービス・シス
テムの全体構成図である。
FIG. 10 is an overall configuration diagram of a directory service system according to the present invention.

【図11】本発明に係る実施の形態1における参照元サ
ーバの検索情報通知処理フローを示すフローチャートで
ある。
FIG. 11 is a flowchart showing a search information notification processing flow of the referring server according to the first embodiment of the present invention.

【図12】本発明に係る実施の形態1における参照先サ
ーバの検索処理フローを示すフローチャートである。
FIG. 12 is a flowchart showing a search processing flow of a referred server according to the first embodiment of the present invention.

【図13】本発明に係る実施の形態1におけるリフェラ
ルが通知された場合のクライアントの処理フローを示す
フローチャートである。
FIG. 13 is a flowchart showing a processing flow of the client when the referral is notified in the first embodiment according to the present invention.

【図14】本発明に係る実施の形態3における参照元サ
ーバの検索情報通知処理フローを示すフローチャートで
ある。
FIG. 14 is a flowchart showing a search information notification processing flow of the referencing server in the third embodiment according to the present invention.

【図15】本発明に係る実施の形態3における参照先サ
ーバの検索処理フローを示すフローチャートである。
FIG. 15 is a flowchart showing a search processing flow of a referred server according to the third embodiment of the present invention.

【図16】本発明に係る実施の形態3におけるリフェラ
ルが通知された場合のクライアントの処理フローを示す
フローチャートである。
FIG. 16 is a flowchart showing a processing flow of the client when the referral is notified in the third embodiment according to the present invention.

【図17】本発明に係る実施の形態3における参照先サ
ーバからのクライアントの検索結果受領処理フローを示
すフローチャートである。
FIG. 17 is a flowchart showing a search result reception processing flow of a client from a reference destination server according to the third embodiment of the present invention.

【図18】リフェラル情報の形式。FIG. 18 shows a format of referral information.

【図19】検索結果メッセージ管理構造体。FIG. 19 is a search result message management structure.

【図20】クライアント及び参照先サーバへの通知情
報。
FIG. 20 is notification information to the client and the reference destination server.

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

1 クライアント 2 サーバA 3 サーバB 4 サーバn 11 受領可能通知手段 12 検索要求手段 13 リフェラル解析手段 14 検索結果受領手段 21 検索処理手段 22 リフェラル通知手段 23 クライアント情報通知手段 24 検索要求代行手段 25 受領可能判定手段 26 検索結果通知手段 31 検索処理手段 32 リフェラル通知手段 33 クライアント情報通知手段 34 検索要求代行手段 35 受領可能判定手段 36 検索結果通知手段 1 client 2 Server A 3 server B 4 servers n 11 Acceptable notification means 12 Search request means 13 Referral analysis means 14 Search result receiving means 21 Search processing means 22 Referral notification means 23 Client information notification means 24 Search request agency 25 Acceptability judgment means 26 Search result notification means 31 Search Processing Means 32 Referral notification means 33 Client information notification means 34 Search Request Agent 35 Acceptability judging means 36 Search result notification means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 稲場 功 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 (72)発明者 蛇沢 聡 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 (72)発明者 加藤 幸介 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 (72)発明者 松平 芳典 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 (72)発明者 池上 慈郎 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 (72)発明者 広瀬 学 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 (72)発明者 松倉 彰範 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 (72)発明者 貴堂 健吾 富山県婦負郡八尾町保内二丁目2番1 株 式会社富山富士通内 Fターム(参考) 5B075 KK03 KK33 PQ40 QT03 5B082 GC04    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Isao Inaba             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu (72) Inventor Satoshi Jasawa             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu (72) Inventor Kosuke Kato             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu (72) Inventor Yoshinori Matsudaira             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu (72) Inventor Jiro Ikegami             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu (72) Inventor Manabu Hirose             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu (72) Inventor Akinori Matsukura             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu (72) Inventor Kengo Kido             2-2-1 Yanai, Yao-cho, Nisei-gun, Toyama Prefecture             Ceremony inside Toyama Fujitsu F term (reference) 5B075 KK03 KK33 PQ40 QT03                 5B082 GC04

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 検索要求に対し、検索処理を行なう検索
処理手段と、 前記検索処理手段で検索したデータに参照先サーバが設
定されていると、クライアントに参照先サーバ情報を通
知するリフェラル通知手段と、 前記参照先サーバに対し、検索要求元のクライアント情
報を通知するクライアント情報通知手段と、 前記参照先サーバに対し、クライアントからの検索要求
を代行する検索要求代行手段と、 前記クライアントが参照先サーバからの検索結果を受領
できるかどうかを判定する受領可能判定手段と、 前記検索要求元がクライアントである場合、又は前記受
領可能判定手段により前記クライアントが参照先サーバ
からの検索結果を受領できると判定した場合、前記クラ
イアント情報に基づきクライアントに検索結果を通知す
る検索結果通知手段としてコンピュータを機能させるデ
ィレクトリ・サービス・システムのサーバ・プログラ
ム。
1. A referral notification means for notifying a client of reference destination server information when a search processing means for performing a search processing in response to a search request and a reference destination server are set in the data searched by the search processing means. A client information notifying unit for notifying the reference destination server of the client information of the search request source; a search request proxy unit for acting the search request from the client to the reference destination server; Acceptability determining means for determining whether or not the search result from the server can be received; and if the search request source is a client, or if the acceptability determining means allows the client to receive the search result from the reference destination server. If judged, the search result that notifies the client of the search result based on the client information Directory service system server program of causing a computer to function as the intellectual means.
【請求項2】 サーバに対して、検索要求を行なう検索
要求手段と、 参照先サーバからの検索結果を受領可能であることをサ
ーバに通知する受領可能通知手段と、 前記検索要求手段が受領した検索結果に参照先サーバ情
報があるかどうかを判定・解析するリフェラル解析手段
と、 前記リフェラル解析手段が解析した参照先サーバ情報の
解析結果に基づき、参照先サーバからの検索結果を受領
する検索結果受領手段としてコンピュータを機能させる
ディレクトリ・サービス・システムのクライアント・プ
ログラム。
2. A search request means for making a search request to a server, an acceptability notifying means for notifying the server that a search result from a referenced server can be accepted, and the search request means. Referral analysis means for determining / analyzing whether or not there is reference destination server information in the search result, and a search result for receiving the search result from the reference destination server based on the analysis result of the reference destination server information analyzed by the referral analysis means. A directory service system client program that causes a computer to function as a receiving means.
【請求項3】 検索要求に対し、検索処理を行なう検索
処理手段と、 前記検索処理手段で検索したデータに参照先サーバが設
定されていると、クライアントに参照先サーバ情報を通
知するリフェラル通知手段と、 前記参照先サーバに対し、検索要求元のクライアント情
報を通知するクライアント情報通知手段と、 前記参照先サーバに対し、クライアントからの検索要求
を代行する検索要求代行手段と、 前記クライアントが参照先サーバからの検索結果を受領
できるかどうかを判定する受領可能判定手段と、 前記検索要求元がクライアントである場合、又は前記受
領可能判定手段がクライアントにより前記参照先サーバ
からの検索結果を受領できると判定した場合、前記クラ
イアント情報に基づきクライアントに検索結果を通知す
る検索結果通知手段とを有することを特徴とするディレ
クトリ・サービス・システムのサーバ装置。
3. A search processing means for performing a search process in response to a search request, and a referral notification means for notifying a client of reference destination server information when a reference destination server is set in the data searched by the search processing means. A client information notifying unit for notifying the reference destination server of the client information of the search request source; a search request proxy unit for acting the search request from the client to the reference destination server; Acceptability determining means for determining whether or not the search result from the server can be received; and if the search request source is a client, or if the acceptability determining means can receive the search result from the reference destination server by the client. If judged, the search result that notifies the client of the search result based on the client information Server directory service system; and a knowledge unit.
【請求項4】 サーバに対して、検索要求を行なう検索
要求手段と、 参照先サーバからの検索結果を受領可能であることをサ
ーバに通知する受領可能通知手段と、 前記検索要求手段が受領した検索結果に参照先サーバ情
報があるかどうかを判定・解析するリフェラル解析手段
と、 前記リフェラル解析手段が解析した参照先サーバ情報の
解析結果に基づき、参照先サーバからの検索結果を受領
する検索結果受領手段とを有することを特徴とするディ
レクトリ・サービス・システムのクライアント装置。
4. A search request means for making a search request to a server, an acceptability notifying means for notifying the server that a search result from a referenced server can be received, and the search request means. Referral analysis means for determining / analyzing whether or not there is reference destination server information in the search result, and a search result for receiving the search result from the reference destination server based on the analysis result of the reference destination server information analyzed by the referral analysis means. A client device of a directory service system, comprising a receiving means.
【請求項5】 検索要求に対し、検索処理を行なう検索
処理手段と、 前記検索処理手段で検索したデータに参照先サーバが設
定されていると、クライアントに参照先サーバ情報を通
知するリフェラル通知手段と、 前記参照先サーバに対し、検索要求元のクライアント情
報を通知するクライアント情報通知手段と、 前記参照先サーバに対し、クライアントからの検索要求
を代行する検索要求代行手段と、 前記クライアントが参照先サーバからの検索結果を受領
できるかどうかを判定する受領可能判定手段と、 前記検索要求元がクライアントである場合、又は前記受
領可能判定手段がクライアントにより前記参照先サーバ
からの検索結果を受領できると判定した場合、前記クラ
イアント情報に基づきクライアントに検索結果を通知す
る検索結果通知手段してコンピュータを機能させるディ
レクトリ・サービス・システムのサーバ・プログラム記
録したコンピュータ読み取り可能な記録媒体。
5. A referral notification means for notifying a client of reference destination server information when a search processing means for performing a search processing in response to a search request and a reference destination server are set for the data searched by the search processing means. A client information notifying unit for notifying the reference destination server of the client information of the search request source; a search request proxy unit for acting the search request from the client to the reference destination server; Acceptability determining means for determining whether or not the search result from the server can be received; and if the search request source is a client, or if the acceptability determining means can receive the search result from the reference destination server by the client. If judged, the search result that notifies the client of the search result based on the client information Server program and computer readable recording medium directory service system that causes a computer to function by known means.
JP2001282823A 2001-09-18 2001-09-18 Distributed object retrieval program, record medium of the same and distributed object retrieval unit Withdrawn JP2003091555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001282823A JP2003091555A (en) 2001-09-18 2001-09-18 Distributed object retrieval program, record medium of the same and distributed object retrieval unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001282823A JP2003091555A (en) 2001-09-18 2001-09-18 Distributed object retrieval program, record medium of the same and distributed object retrieval unit

Publications (1)

Publication Number Publication Date
JP2003091555A true JP2003091555A (en) 2003-03-28

Family

ID=19106421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001282823A Withdrawn JP2003091555A (en) 2001-09-18 2001-09-18 Distributed object retrieval program, record medium of the same and distributed object retrieval unit

Country Status (1)

Country Link
JP (1) JP2003091555A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006190170A (en) * 2005-01-07 2006-07-20 Ricoh Co Ltd Communication device, communication method, program and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006190170A (en) * 2005-01-07 2006-07-20 Ricoh Co Ltd Communication device, communication method, program and recording medium
JP4658617B2 (en) * 2005-01-07 2011-03-23 株式会社リコー COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND RECORDING MEDIUM

Similar Documents

Publication Publication Date Title
US8665860B2 (en) Relay device and method for continuing service
JP3966598B2 (en) Server selection system
KR100275403B1 (en) Providing communications links in a computer network
JP3427933B2 (en) Processing long-term transactions in client-server systems
US6895425B1 (en) Using an expert proxy server as an agent for wireless devices
US20100030880A1 (en) Failover in proxy server networks
CN112738284B (en) Data transmission method, device, equipment and storage medium in service integration
US20030187871A1 (en) Session information inheriting method and apparatus
EP1202489A2 (en) Classified on-line chat
JP2008510232A (en) How to maintain process consistency across multiple remote access servers
JP2008181427A (en) Single sign-on system, information terminal device, single sign-on server, program
US20100241715A1 (en) Method of realizing uniqueness assurance and method of determining message destination
CN112769837B (en) Communication transmission method, device, equipment, system and storage medium based on WebSocket
US20030051042A1 (en) Load balancing method and system for allocation of service requests on a network
WO2015039306A1 (en) Video conference realization method, service management device and video conference system
CN111404921B (en) Webpage application access method, device, equipment, system and storage medium
JP4716767B2 (en) Login control system and login control method
WO2006057040A1 (en) Computer system and information processing method
US20050060399A1 (en) Method and system for managing programs for web service system
JP5029495B2 (en) Event control program, event control method, and event control apparatus
KR20020023050A (en) Apparatus and method of a wireless internet services
JP2002269059A (en) Client server system, repeating server, method for determining connection destination server of client terminal device
JP5093012B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2003091555A (en) Distributed object retrieval program, record medium of the same and distributed object retrieval unit
EP1575236A1 (en) Connectivity confirmation method for network storage device and host computer

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040610

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040610

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040824

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070126