JP2005301430A - Distributed retrieval system, retrieval node device and distributed retrieval method - Google Patents
Distributed retrieval system, retrieval node device and distributed retrieval method Download PDFInfo
- Publication number
- JP2005301430A JP2005301430A JP2004113330A JP2004113330A JP2005301430A JP 2005301430 A JP2005301430 A JP 2005301430A JP 2004113330 A JP2004113330 A JP 2004113330A JP 2004113330 A JP2004113330 A JP 2004113330A JP 2005301430 A JP2005301430 A JP 2005301430A
- Authority
- JP
- Japan
- Prior art keywords
- search
- information
- result
- search request
- resource information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、通信ネットワーク上に分散して配置されると共に相互に接続された検索ノードによって、ユーザ要求によるコンテンツ等の情報の検索を行うための分散型検索システム、検索ノード装置及び分散型検索方法に関する。 The present invention relates to a distributed search system, a search node apparatus, and a distributed search method for searching information such as contents according to a user request by using search nodes distributed and connected to each other on a communication network. About.
従来、ネットワーク上に分散配置された複数の検索ノードが通信回線を介して相互に接続され、これら検索ノードが連携してコンテンツの検索を行うピアツーピア(P2P)型の検索システムが知られている(例えば、特許文献1と非特許文献1)。このP2P型検索システムを図7に示す。
このようなアーキテクチャでは、サーバを介さずに検索ノード同士が直接情報の遣り取りを行なうため、サーバを設置する必要がない。また、爆発的に増加するリソース情報(単に、リソースとも称す)を分散して処理するために、クライアントサーバ型の検索システムに比べてスケーラビリティがあるという利点がある。
2. Description of the Related Art Conventionally, a peer-to-peer (P2P) type search system in which a plurality of search nodes distributed on a network are connected to each other via a communication line and the search nodes cooperate to search for content is known ( For example,
In such an architecture, there is no need to install a server because the search nodes directly exchange information without using a server. In addition, since resource information (also simply referred to as resources) that increases explosively is distributed and processed, there is an advantage that there is scalability compared to a client-server type search system.
P2P型検索システムでは、検索要求が発生するとP2Pネットワークに接続された検索ノード間で、検索要求メッセージを順次転送し、検索要求メッセージを受信した各検索ノードにおいてノード内に保持されたリソース情報の中から、検索対象のリソースを検索することで、複数検索ノードを利用した検索を実現している。
このようなP2P型の検索方法として、該当する検索結果が得られるまで、或いは他の検索ノードが尽きるまで検索要求メッセージを順次検索ノード間で転送する方法や、検索要求メッセージをP2Pネットワーク上のある範囲まで転送し、その中で該当するリソースを保持する検索ノードから検索結果が検索要求元へ返送される方法などがある。
In the P2P type search system, when a search request occurs, the search request messages are sequentially transferred between search nodes connected to the P2P network, and the resource information held in the nodes in each search node that has received the search request message. Thus, a search using a plurality of search nodes is realized by searching for resources to be searched.
As such a P2P type search method, there is a method of sequentially transferring search request messages between search nodes until a corresponding search result is obtained or another search node is exhausted, or there is a search request message on the P2P network. There is a method in which a search result is returned to a search request source from a search node holding a corresponding resource in the range.
このようなP2P型検索システムにおける検索方法を、図7を参照して説明する。
図7に示すように、リソースの取得を要求するノード10Aは、隣接のノード10B,l0Cに対して検索要求メッセージを送信する。この検索要求メッセージを受信したノード10B,10Cは、要求されているリソースを自ノードで保持しているかどうかを調べる。この結果、該当するリソースが発見されない場合は、検索要求メッセージの送信元以外で隣接している検索ノード10D,10E,10F,10Gに対して検索要求メッセージを送信する。この検索要求メッセージを受信した検索ノード10D,10E,10F,10Gは、検索ノード10B,10Cと同様に自ノードの検索及び隣接ノードへの検索要求メッセージ転送の処理を行う。
A search method in such a P2P type search system will be described with reference to FIG.
As illustrated in FIG. 7, the
このように、検索要求メッセージを受信した各検索ノードにおいて検索を実施し、検索要求の条件に該当するリソースを保持する例えば検索ノード10Dは、検索結果を検索応答メッセージとして検索要求送信先の検索ノード10Bに返送する。この検索応答メッセージは検索要求メッセージの伝播してきた経路を逆に辿り、元々の検索要求を発信した検索ノード10Aに届けられる。
In this way, each search node that has received the search request message performs a search, and holds resources corresponding to the search request condition. For example, the search node 10D uses the search result as a search response message as a search request destination search node. Return to 10B. This search response message traces the path through which the search request message has propagated in the reverse direction and is delivered to the
この方式においては、該当する検索結果が得られるまで複数の経路に検索要求メッセージが転送されるため、検索要求元へ送信される検索要求応答メッセージの数は、最大で検索要求メッセージが伝播する経路(検索ノード)の数となる。
また、別の検索方法として、図8に示すように、検索結果が得られるかどうかによらず検索要求メッセージが一旦ホップ数やTTL(Time To Live)で指定する範囲内の全ての検索ノードへ送信され、検索要求メッセージを受信した各ノードは自ノード内で該当するリソースを発見した場合に、検索要求メッセージの送信元に検索応答メッセージを送信する方法がある。
In this method, the search request message is transferred to a plurality of routes until a corresponding search result is obtained. Therefore, the maximum number of search request response messages transmitted to the search request source is the route through which the search request message propagates. This is the number of (search nodes).
As another search method, as shown in FIG. 8, regardless of whether or not a search result is obtained, the search request message is temporarily sent to all search nodes within the range specified by the number of hops or TTL (Time To Live). There is a method of transmitting a search response message to the transmission source of the search request message when each node transmitted and receiving the search request message finds a corresponding resource in its own node.
即ち、図8に示すように、リソースの取得を要求するノード20Aは、隣接ノード20B,20Cに対して検索要求メッセージを送信し、検索要求メッセージを受信したノード20B,20Cが検索要求メッセージの送信元以外に接続している検索ノード20D,20E,20F,20Gに対して検索要求メッセージを転送し、最終的には検索要求メッセージの到達範囲として指定された転送ホップ数内の検索ノード全てに検索要求メッセージが到達する。
That is, as shown in FIG. 8, the
そして、検索要求メッセージの転送先から検索応答メッセージを受信し、その検索結果に自ノードの検索結果を追加して検索要求メッセージの送信元に検索応答メッセージを返送する。この検索応答メッセージを受信した検索要求元のノード20Aは、全ノードから集められた検索結果を検索システムのポリシーに基づいてレーティング(評価)を行い、上位のリソースを検索結果としてユーザに提示する。
Then, the search response message is received from the transfer destination of the search request message, the search result of the own node is added to the search result, and the search response message is returned to the transmission source of the search request message. Upon receiving this search response message, the search
上記の何れの場合においても、各検索ノードから得られる検索結果は検索要求元のノードに集められ、検索結果として得られた複数のリソースをレーティングした後、順位が高い順に検索結果をユーザに提示する。
この他、分散型検索システムとして特許文献2及び3がある。特許文献2の内容は次の通りである。検索の主体となるセンタと、このセンタと接続される複数のノードとからなるネットワーク上に分散している複数の情報を検索する場合に、センタから全ノードに対する情報要求と共に検索条件を伝達して、各々のノード毎に検索を実行した後、検索条件と一致した情報を有するノードのみをセンタに応答させる。
In any of the above cases, the search results obtained from each search node are collected at the search request source node, and after a plurality of resources obtained as search results are rated, the search results are presented to the user in descending order. To do.
In addition, there are
特許文献3の内容は次の通りである。ネットワークに接続された各ノード間で通信を行う分散システムにおいて、各々のノードで分散して実行される部分処理の結果を結合することを繰り返すことにより最終的な処理結果を得る分散処理方法であって、結合処理の手続き情報及び中間結果情報を転送情報単位として各ノード間を、ネットワークを介して巡回させながら部分処理を実行する。この結果を保持する各ノードが、ネットワークから転送情報単位を取得し、この転送情報単位の手続き情報に基づき、当該ノードが保持する部分処理結果と、その取得した転送情報単位の中間結果情報とを用いて結合処理の一部を行い、この結果に応じて、先に取得した中間結果情報を更新し、先に取得した手続き情報と共にネットワークへ送出する。
ところで、従来の分散型検索システムである上記特許文献1及び非特許文献1のP2P型検索システムにおいては、検索結果が元々検索要求を送信したノードに全て集まり、検索結果をレーティングするのは元々の検索要求を送信したノードであった。
しかし、検索要求の条件に該当するリソースの数が非常に多い場合には、全てを受信してレーティングを処理するのはノードに非常に大きな負荷がかかるという問題がある。また、ユーザがそれほど多数の検索結果を必要としない場合には、レーティングされた結果のうち上位の結果のみが利用され、下位の結果については利用されない場合が多いが、利用するしないにかかわらず、全ての検索結果はネットワーク上で転送されるためトラフィックが高くなるという問題がある。
By the way, in the P2P type search system of the above-mentioned
However, when the number of resources corresponding to the search request condition is very large, there is a problem that it takes a very large load on the node to receive all and process the rating. Also, if the user does n’t need a lot of search results, only the top results of the rated results will be used and the lower results will not be used in many cases. Since all search results are transferred over the network, there is a problem that the traffic becomes high.
また、上記特許文献2及び3のシステムでは、レーティングを行うことができず、また特許文献3においては各ノードで分散して実行される部分処理の結果をノード間で転送しながら結合することを繰り返すのでトラフィックが高くなるという問題がある。
本発明は、このような課題に鑑みてなされたものであり、各検索ノード間で転送される検索結果のトラフィックを削減することができ、また、最終的な検索結果受信ノードにおけるレーティング等による処理負荷を低減することができる分散型検索システム、検索ノード装置及び分散型検索方法を提供することを目的としている。
In the systems of
The present invention has been made in view of such a problem, and can reduce the traffic of search results transferred between the search nodes, and can also perform processing by ratings and the like in the final search result receiving node. An object of the present invention is to provide a distributed search system, a search node device, and a distributed search method that can reduce the load.
上記目的を達成するために、本発明の請求項1による分散型検索システムは、通信網に分散して接続された複数の検索ノード装置に蓄積されているリソース情報を検索する分散型検索システムにおいて、前記リソース情報の検索要求を行う検索要求情報に、リソース情報の検索条件と、当該検索要求情報の転送範囲と、前記検索条件に適合した検索結果の中から検索要求元に応答として返信するリソース情報の数とを設定し、この検索要求情報を受信した検索ノード装置は、前記検索要求情報の検索条件に適合するリソース情報を検索すると共に、その受信した検索要求情報を転送範囲に従って他検索ノード装置へ転送し、この転送後に、他検索ノード装置より受信した検索結果と自検索ノード装置内での検索結果とをレーティングすることによって評価の順位を付け、この順位の高い順に検索結果のリソース情報を前記数だけ選択し、この選択されたリソース情報を検索要求元へ検索結果として返信することを特徴としている。
To achieve the above object, a distributed search system according to
この構成によれば、検索を実施した各検索ノード装置において検索結果のレーティング処理を行い、上位の検索結果のみ検索要求元へ返信することで、必要な情報のみを通信網へ流すことができるので、通信網のトラフィックを低減させることができる。更に、検索結果のレーティング処理の負荷を各ノード装置に分散して処理させるので、最終的な検索結果受信ノード装置での処理負荷の集中を減らすことが可能となる。 According to this configuration, only the necessary information can be sent to the communication network by performing the rating processing of the search results in each search node device that has performed the search, and returning only the upper search results to the search request source. The traffic of the communication network can be reduced. Furthermore, since the load of the search processing rating processing is distributed to each node device, the concentration of processing load on the final search result receiving node device can be reduced.
また、本発明の請求項2による検索ノード装置は、通信網に分散して接続され、検索要求に応じて検索されるリソース情報を蓄積する検索ノード装置において、リソース情報の検索条件と、当該検索要求情報の転送範囲と、前記検索条件に適合した検索結果の中から検索要求元に応答として返信するリソース情報の数とが設定された検索要求情報を受信する第1の受信手段と、前記第1の受信手段で受信された検索要求情報を、当該検索要求情報に設定された転送範囲に従って他検索ノード装置へ転送する第1の送信手段と、前記第1の受信手段で受信された検索要求情報に設定された検索条件に適合するリソース情報を検索する検索手段と、前記第1の送信手段から送信された検索要求情報に基づき他検索ノード装置で検索された検索結果を受信する第2の受信手段と、前記第2の受信手段で受信された他検索ノード装置での検索結果と自検索ノード装置での検索結果とをレーティングする評価手段と、前記評価手段でのレーティングによる順位の高い順に検索結果のリソース情報を、前記検索要求情報に設定されたリソース情報の数だけ選択する検索結果処理手段と、前記検索結果処理手段で選択されたリソース情報を検索要求元へ検索結果として返信する第2の送信手段とを備えたことを特徴としている。 According to a second aspect of the present invention, there is provided a search node device that is distributedly connected to a communication network and stores resource information to be searched in response to a search request. First receiving means for receiving search request information in which a transfer range of request information and the number of resource information to be returned as a response to a search request source from search results that match the search condition are set; A first transmission means for transferring the search request information received by one receiving means to another search node device according to a transfer range set in the search request information; and a search request received by the first reception means Search means for searching for resource information that matches the search conditions set in the information, and search results searched by other search node devices based on the search request information sent from the first sending means A second receiving means for receiving, an evaluation means for rating a search result in another search node device received by the second receiving means and a search result in the own search node device, and a rating in the evaluation means The search result processing means for selecting the resource information of the search results in the descending order according to the number of resource information set in the search request information, and searching the resource information selected by the search result processing means to the search request source And a second transmission means for returning the result.
この構成によれば、検索を実施した各検索ノード装置において検索結果のレーティング処理を行い、上位の検索結果のみ検索要求元へ返信することで、必要な情報のみを通信網へ流すことができるので、通信網のトラフィックを低減させることができる。更に、検索結果のレーティング処理の負荷を各ノード装置に分散して処理させるので、最終的な検索結果受信ノード装置での処理負荷の集中を減らすことが可能となる。 According to this configuration, only the necessary information can be sent to the communication network by performing the rating processing of the search results in each search node device that has performed the search, and returning only the upper search results to the search request source. The traffic of the communication network can be reduced. Furthermore, since the load of the search processing rating processing is distributed to each node device, the concentration of processing load on the final search result receiving node device can be reduced.
また、本発明の請求項3による検索ノード装置は、請求項2において、前記検索結果処理手段によってレーティング処理された検索結果を記憶する記憶手段を更に備え、前記検索結果処理手段は、前記第1の受信手段で検索要求元より同一の検索条件にて検索結果の追加要求の情報が受信された際に、この受信された追加検索要求情報に設定された転送範囲内の他検索ノード装置の検索結果が前記記憶手段に記憶されている場合、この記憶された検索結果が前記第2の送信手段から検索要求元へ返信されるように処理し、前記他検索ノード装置の検索結果が記憶手段に記憶されていない場合、不足しているリソース情報の数の取得範囲を設定し、この設定が行われた検索要求情報を用いて他検索ノード装置へ再度検索要求を行うことを特徴としている。
The search node device according to
この構成によれば、一旦レーティング処理された検索結果を記憶しておき、検索要求元より同一の検索条件にて検索結果の追加要求があった場合には、その追加検索要求情報に設定された転送範囲内の他検索ノード装置の検索結果が記憶されていれば、この検索結果を検索要求元へ返信する。また、記憶されていない場合は、不足しているリソース情報の数の取得範囲を検索要求情報に設定し、この検索要求情報を用いて他検索ノード装置へ再度検索要求を行う。この要求によって得られた検索結果を用いてレーティング処理などを行った検索結果が検索要求元へ返信されるので、無駄な情報の送信を無くすことができる。 According to this configuration, the search result once rated is stored, and when there is a search result addition request under the same search condition from the search request source, it is set in the additional search request information. If the search result of another search node device within the transfer range is stored, this search result is returned to the search request source. If it is not stored, the acquisition range of the number of the missing resource information is set in the search request information, and a search request is made again to another search node device using this search request information. Since the search result obtained by performing the rating process using the search result obtained by this request is returned to the search request source, transmission of useless information can be eliminated.
また、本発明の請求項4による分散型検索方法は、通信網に分散して接続された複数の検索ノード装置に蓄積されているリソース情報を検索する分散型検索方法において、前記リソース情報の検索要求を行う検索要求情報に、リソース情報の検索条件と、当該検索要求情報の転送範囲と、前記検索条件に適合した検索結果の中から検索要求元に応答として返信するリソース情報の数とを設定する第1のステップと、前記第1のステップで設定された検索要求情報を受信する第2のステップと、前記第2のステップで受信された検索要求情報を、当該検索要求情報に設定された転送範囲に従って他検索ノード装置へ転送する第3のステップと、前記第2のステップで受信された検索要求情報に設定された検索条件に適合するリソース情報を検索する第4のステップと、前記第3のステップで転送された検索要求情報に基づき他検索ノード装置で検索された検索結果を受信する第5のステップと、前記第5のステップで受信された他検索ノード装置での検索結果と自検索ノード装置での検索結果とをレーティングする第6のステップと、前記第6のステップでのレーティングによる順位の高い順に検索結果のリソース情報を、前記検索要求情報に設定されたリソース情報の数だけ選択する第7のステップと、前記第7のステップで選択されたリソース情報を検索要求元へ検索結果として返信する第8のステップとを含むことを特徴としている。 According to a fourth aspect of the present invention, there is provided a distributed search method for searching for resource information stored in a plurality of search node devices distributed and connected to a communication network. Set the search conditions for resource information, the transfer range of the search request information, and the number of resource information to be returned as a response to the search request source from the search results that match the search conditions The first step of performing, the second step of receiving the search request information set in the first step, and the search request information received in the second step are set in the search request information A third step of transferring to another search node device according to the transfer range, and searching for resource information that matches the search conditions set in the search request information received in the second step A fourth step, a fifth step for receiving a search result searched by another search node device based on the search request information transferred in the third step, and another received in the fifth step. A sixth step for rating a search result in the search node device and a search result in the own search node device, and resource information of the search result in descending order according to the rating in the sixth step, the search request information And a seventh step of selecting the number of resource information set in (8) and an eighth step of returning the resource information selected in the seventh step as a search result to the search request source. .
この方法によれば、検索を実施した各検索ノード装置において検索結果のレーティング処理を行い、上位の検索結果のみ検索要求元へ返信することで、必要な情報のみを通信網へ流すことができるので、通信網のトラフィックを低減させることができる。更に、検索結果のレーティング処理の負荷を各ノード装置に分散して処理させるので、最終的な検索結果受信ノード装置での処理負荷の集中を減らすことが可能となる。 According to this method, only the necessary information can be sent to the communication network by performing the rating processing of the search results in each search node device that has performed the search, and returning only the upper search results to the search request source. The traffic of the communication network can be reduced. Furthermore, since the load of the search processing rating processing is distributed to each node device, the concentration of processing load on the final search result receiving node device can be reduced.
以上説明したように本発明によれば、各検索ノード間で転送される検索結果のトラフィックを削減することができ、また、最終的な検索結果受信ノードにおけるレーティング等による処理負荷を低減することができるという効果がある。 As described above, according to the present invention, it is possible to reduce the traffic of search results transferred between search nodes, and to reduce the processing load due to ratings and the like in the final search result receiving node. There is an effect that can be done.
以下、本発明の実施の形態を、図面を参照して説明する。
(実施の形態)
図1は、本発明の実施の形態に係る分散型検索システムの構成を示す図である。
図1に示す分散型検索システム1は、インターネット等の通信ネットワーク上で分散配置され、相互に接続された検索ノード(検索ノード装置)30(30A〜30G)によって検索を行うシステムである。なお、本明細書の各図において検索ノードを単にノードと記載し、本文中でもノードと表現する場合もある。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(Embodiment)
FIG. 1 is a diagram showing a configuration of a distributed search system according to an embodiment of the present invention.
A distributed
図2は、検索ノード30Bを代表とした検索ノードの構成を示すブロック図である。
この図2に示すように、検索ノード30Bは、検索要求メッセージ受信部(第1の受信手段)301と、検索要求メッセージ送信部(第1の送信手段)302と、検索処理部(検索手段)303と、検索結果評価部(評価手段)304と、リソースデータベース305と、検索結果処理部(検索結果処理手段)306と、検索結果キャッシュ部(記憶手段)307と、検索応答メッセージ送信部(第2の送信手段)308と、検索応答メッセージ受信部(第2の受信手段)309とを備えて構成されている。
FIG. 2 is a block diagram showing a configuration of a search node represented by the
As shown in FIG. 2, the
検索要求メッセージ受信部301は、通信インタフェースに接続されたモジュールであり、検索を要求する他の検索ノード(ここでは検索ノード30A)から、通信ネットワークを介して送信されてきた自ノード30B宛て検索要求メッセージを受信する。この受信した検索要求メッセージには、検索条件、検索要求メッセージを転送する範囲(転送ホップ数)、検索結果としてユーザが要求するリソース数の範囲が設定されている。
The search request
また、検索要求メッセージ受信部301は、受信した検索要求メッセージの転送範囲に、検索要求メッセージ送信元を起点として自ノード30Bより先の検索ノードが含まれる場合には、当該検索要求メッセージを検索要求メッセージ送信部302へ送る。
検索要求メッセージ送信部302は、検索要求メッセージの送信元検索ノード以外で自ノード30Bが接続されている検索ノード(ここでは検索ノード30D及び30E)に対して当該検索要求メッセージを転送する。
Also, the search request
The search request
検索処理部303は、検索要求メッセージ受信部301からの検索要求メッセージに記述された検索条件を基にリソースデータベース305を検索することによって得られた検索結果を、検索結果評価部304へ出力する。
検索結果評価部304は、検索処理部303で得られた検索結果のリソースに対して、分散型検索システム1のポリシーである検索条件への適合度やリソースの人気等に応じて評価(レーティング)を行い、このリソースの評価値を当該リソースの情報(例えばURL等)と共に検索結果処理部306へ出力する。
The
The search
検索応答メッセージ受信部309は、隣接ノードに転送した検索要求メッセージに対する検索結果を検索応答メッセージとして受信し、この検索応答メッセージによる検索結果を検索結果処理部306へ出力する。
検索結果処理部306は、検索応答メッセージ受信部309からの検索応答メッセージによる検索結果を自ノード内の検索結果とマージし、評価値を基に順番を付け、このうち、検索要求メッセージで要望された範囲内に入る上位の検索結果を検索応答メッセージ送信部308へ出力する。また、マージした検索結果は、検索結果キャッシュ部307に一定期間保存する。
検索応答メッセージ送信部308は、検索要求メッセージで要望された範囲内の検索結果を、検索応答メッセージとして検索要求元の検索ノードへ送信する。
The search response
The search
The search response
次に、このような構成の検索ノードによって、要求に応じた情報の検索処理を行う際の動作を、図3に示すフローチャートを参照して説明する。
ステップS1において、例えば検索ノード30Bが、検索要求メッセージ受信部301にて検索ノード30Aからの検索要求メッセージを受信すると、ステップS2において、その検索要求メッセージが当該検索ノード30Bにおいて同一条件で検索結果を追加で要求した際の検索要求メッセージであるか否かが判断される。この判断は、1回目の検索ではNoとなる。
Next, an operation when information search processing according to a request is performed by the search node having such a configuration will be described with reference to a flowchart shown in FIG.
In step S1, for example, when the
また、検索要求メッセージ受信部301は、受信された検索要求メッセージに設定された転送範囲を確認することによって、検索要求メッセージ送信元を起点として自ノード30Aより先の検索ノードが転送範囲に含まれている場合、ステップS3において、検索要求メッセージ送信元以外の隣接ノード30D,30Eに対して検索要求メッセージを転送する。
In addition, the search request
次に、ステップS4において、自ノード30A内で検索処理部303によって検索要求の条件に該当するリソースの検索をリソースデータベース305から行い、この検索結果のリソースを検索結果評価部304へ出力する。
ステップS5において、検索結果評価部304は、その検索結果のリソースに対して、分散型検索システム1のポリシーである検索条件への適合度やリソースの人気等に応じたレーティングを行い、この評価値を当該リソースの情報と共に検索結果処理部306へ出力する。
Next, in step S4, the
In step S5, the search
上記ステップS3にて検索要求メッセージを隣接ノード30D,30Eに対して転送しているので、ステップS6において、その隣接ノード30D,30Eからの検索応答メッセージを検索応答メッセージ受信部309で受信する。この受信された検索応答メッセージは検索結果処理部306へ出力される。そして、ステップS7において、検索結果処理部306が、その受信された検索応答メッセージによる検索結果と自ノード30Aの検索結果とをマージする。
Since the search request message is transferred to the
このマージした検索結果は評価値を基に順位づけされ、ステップS8において、検索結果キャッシュ部307に一定期間保存される。また、ステップS9において、その順位づけされた検索結果は、検索要求メッセージにて指定された範囲内で上位の検索結果から順に検索応答メッセージとして検索応答メッセージ送信部308によって検索要求元へ送信される。
The merged search results are ranked based on the evaluation values, and stored in the search
上記ステップS8にて検索結果キャッシュ部307にキャッシュされた検索結果の一例を図4に示す。この図4に示すように、検索結果には、各リソース名が順位付けされて配列され、更に評価値と取得先及びその取得先での順位が対応付けられている。
上記ステップS2において、検索ノード30Bにて同一条件で検索結果を追加で要求する検索要求メッセージを受信したと判断された場合、ステップS10において、検索結果処理部306は検索結果キャッシュ部307を検索することによって、キャッシュしていた検索結果を利用して検索応答メッセージを検索要求元へ返す。
An example of the search result cached in the search
If it is determined in step S2 that the
これを行う際、ステップS11にて、検索結果処理部306は、キャッシュしていた検索結果を参照して他ノード30D,30Eより取得した検索結果の最下位が、要求されたランクに含まれるか否かを判断する。更に説明すると、他ノード30D,30Eから評価の高いリソースの結果が得られる可能性があるので、他ノード30D,30Eより取得したリソースの最下位が、追加で要求された検索結果の範囲において最下位より上位にあるか否かを判断する。
When this is done, in step S11, the search
この判断結果がYesの場合、ステップS12において、隣接ノード30D,30Eが該当する結果を更に保持しているか否かを判断し、この結果がYesの場合は、ステップS13において、隣接ノード30D,30Eに検索要求メッセージを送信する。そして、ステップS14において、隣接ノード30D,30Eから検索要求メッセージに応じた検索応答メッセージを受信する。そしてステップS15にて検索結果のマージを行い、上記ステップS8へ進む。
If the determination result is Yes, it is determined in Step S12 whether or not the
つまり、検索結果を返したノード30D,30Eに対して再度リソース情報として含まれる可能性のある検索結果の要求範囲を設定して検索要求メッセージを送信し、追加で他ノードより検索結果を取得する。
図4に示す例の場合、検索応答として返す結果のうち順位が22位以降のリソースとしてノード30Dより更に評価のよい結果が得られる可能性があるため、検索結果として返すリソースの範囲を最大3に設定して検索要求を送信する。
That is, a search request message is transmitted by setting a request range of search results that may be included again as resource information for the
In the case of the example shown in FIG. 4, among the results returned as a search response, there is a possibility that a better evaluation result can be obtained than the
図5に、図1で示す分散型検索システム1の構成で複数の検索ノード30A〜30Eが分散されて配置されている状況において、検索ノード30A〜30E間で遣り取りされる検索手順の例を示す。
この図5では、ステップS21において、ユーザよりある条件のリソースのうち上位10件の検索結果を返すように、ノード30Aに指示する様子が示されている。
FIG. 5 shows an example of a search procedure exchanged between the
FIG. 5 shows a state in which the
ノード30Aは、ステップS22において、検索要求メッセージを隣接しているノード30B,30Cに送信する。ノード30B,30Cにおいても、ステップS23において、検索要求メッセージを受信するとそれぞれの隣接ノードであるノード30D,30Eに検索要求メッセージを転送する。
各ノード30A〜30Eでは、ステップS24〜S28において、自ノード内に蓄積されたリソース情報より検索要求に適合するリソースを検索し、更にステップS29〜S33において、その検索されたリソースを条件にどの程度適合しているかをノード毎に同じ基準でレーティングし、リソースの順序をつける。
In step S22, the
In each of the
この例では、ノード30A〜30Eにて保持していた該当リソースの数がそれぞれ、40件、5件、20件、30件、70件であるとする。
まず、ステップS34において、ノード30Cでは自ノードで検索した結果より上位10の検索結果を評価値と共に検索応答メッセージとしてノード30Aに返信する。同様にステップS35において、ノード30Eも自ノードで検索した結果より上位10の検索結果を評価値と共に検索応答メッセージとしてノード30Bに返信する。更に、ステップS35において、ノード30Dからも上位10件の検索結果を返信する。
In this example, it is assumed that the numbers of corresponding resources held in the
First, in step S34, the
ノード30Bでは、ステップS37において、自ノードにおいて検索した結果とノード30D,30Eより取得した検索結果をマージし、ステップS38において、評価の高い10件をノード30Aに検索応答として返す。ノード30AでもステップS39において、同様のマージ処理を行い、ステップS40において、最終的にノード30Aよりユーザに対して検索結果上位10件が提示される。
The
図6に、図5の一連の検索に引き続き、ユーザが再度同条件にて検索結果の追加取得を行なう手順の例を示す。
ステップS41において、ユーザから検索要求11〜20位を追加で要求があった場合、ステップS42において、ノード30Aではキャッシュしていた結果を確認し、要求された範囲内の検索結果の順位が全ノードの結果を反映されたものである場合には、ステップS43において、キャッシュされていた結果をユーザに提示する。
FIG. 6 shows an example of a procedure in which the user performs additional acquisition of search results under the same conditions again following the series of searches in FIG.
In step S41, if there is an additional request for
次に、ステップS44において、再度検索結果の追加の提示要求21〜30位の要求が発生した場合に、ステップS45におけるノード30Aのキャッシュ確認において、ノード30Bからの検索結果のリソースにさらに要求された範囲での結果が残っている可能性があれば、ステップS46において、ノード30Bに対して検索結果(11〜20位)の追加検索要求を行う。
Next, in step S44, when a request for additional presentation of
次に、ステップS47において、ノード30Bでは同様に自ノード内のキャッシュを確認し、ノード30Dにて更に要求された範囲で検索結果が残っている可能性があれば、ステップS48において、ノード30Dに対して検索結果(11〜20位)の追加検索要求を行う。ステップS49において、ノード30Dにてキャッシュを確認し、ノード30Dにて更に要求された範囲で検索結果11〜20位が残っている場合には、この検索結果(11〜20位)を、ステップS50においてノード30Bへ返信する。
Next, in step S47, the
ノード30Bでは、ステップS51において、自ノードにおいて検索した結果とノード30Dより取得した検索結果(11〜20位)とをマージし、ステップS52において、評価の高い10件(11〜20位)をノード30Aに検索応答として返す。ノード30AでもステップS53において、同様のマージ処理を行い、ステップS54において、最終的にノード30Aよりユーザに対して検索結果(21〜30位)が提示される。
このようにしてキャッシュを確認し、結果として全ノード30A〜30Eの結果が反映されていないと判断される場合には、再度隣接ノードに問い合わせを行う。
The
In this way, the cache is checked, and if it is determined that the results of all the
以上説明したように本実施の形態の分散型検索システム1によれば、分散環境において検索を行い、その結果を伝播して不要なトラフィックを最小限にすることが可能となる。また、検索結果を最後に取得した検索ノードで検索結果のレーティング処理を行なう場合に、ネットワーク上に流れるトラフィックを低減させると共に、検索結果のレーティング処理の負荷を各検索ノードに多分散して処理させることで、最終的な検索結果受信ノードでの処理負荷の集中をなくすことが可能となる。
As described above, according to the distributed
1 分散型検索システム
30A,30B,30C,30D,30E,30F,30G 検索ノード
301 検索要求メッセージ受信部
302 検索要求メッセージ送信部
303 検索処理部
304 検索結果評価部
305 リソースデータベース
306 検索結果処理部
307 検索結果キャッシュ部
308 検索応答メッセージ送信部
309 検索応答メッセージ受信部
DESCRIPTION OF
Claims (4)
前記リソース情報の検索要求を行う検索要求情報に、リソース情報の検索条件と、当該検索要求情報の転送範囲と、前記検索条件に適合した検索結果の中から検索要求元に応答として返信するリソース情報の数とを設定し、
この検索要求情報を受信した検索ノード装置は、前記検索要求情報の検索条件に適合するリソース情報を検索すると共に、その受信した検索要求情報を転送範囲に従って他検索ノード装置へ転送し、
この転送後に、他検索ノード装置より受信した検索結果と自検索ノード装置内での検索結果とをレーティングすることによって評価の順位を付け、この順位の高い順に検索結果のリソース情報を前記数だけ選択し、この選択されたリソース情報を検索要求元へ検索結果として返信する
ことを特徴とする分散型検索システム。 In a distributed search system for searching resource information stored in a plurality of search node devices distributed and connected to a communication network,
Resource information to be returned as a response to the search request source from the search conditions for the resource information, the transfer range of the search request information, and search results that match the search conditions, to the search request information for making a search request for the resource information And set the number of
The search node device that has received this search request information searches for resource information that matches the search conditions of the search request information, and forwards the received search request information to another search node device according to the transfer range,
After this transfer, the search results received from other search node devices and the search results in the self-search node device are rated to rank the evaluation, and the resource information of the search results is selected by the number in the descending order. A distributed search system characterized in that the selected resource information is returned as a search result to the search request source.
リソース情報の検索条件と、当該検索要求情報の転送範囲と、前記検索条件に適合した検索結果の中から検索要求元に応答として返信するリソース情報の数とが設定された検索要求情報を受信する第1の受信手段と、
前記第1の受信手段で受信された検索要求情報を、当該検索要求情報に設定された転送範囲に従って他検索ノード装置へ転送する第1の送信手段と、
前記第1の受信手段で受信された検索要求情報に設定された検索条件に適合するリソース情報を検索する検索手段と、
前記第1の送信手段から送信された検索要求情報に基づき他検索ノード装置で検索された検索結果を受信する第2の受信手段と、
前記第2の受信手段で受信された他検索ノード装置での検索結果と自検索ノード装置での検索結果とをレーティングする評価手段と、
前記評価手段でのレーティングによる順位の高い順に検索結果のリソース情報を、前記検索要求情報に設定されたリソース情報の数だけ選択する検索結果処理手段と、
前記検索結果処理手段で選択されたリソース情報を検索要求元へ検索結果として返信する第2の送信手段と
を備えたことを特徴とする分散型検索システム。 In a search node device that is distributedly connected to a communication network and stores resource information searched according to a search request,
Receiving search request information in which a search condition for resource information, a transfer range of the search request information, and the number of resource information returned as a response to the search request source from search results that match the search condition are received. First receiving means;
First transmission means for transferring the search request information received by the first reception means to another search node device according to a transfer range set in the search request information;
Search means for searching for resource information that matches a search condition set in the search request information received by the first receiving means;
Second receiving means for receiving a search result searched by another search node device based on the search request information transmitted from the first transmitting means;
Evaluation means for rating the search result in the other search node device received by the second reception means and the search result in the own search node device;
Search result processing means for selecting the resource information of the search results in descending order according to the rating in the evaluation means, as many as the number of resource information set in the search request information;
A distributed search system comprising: second transmission means for returning the resource information selected by the search result processing means as a search result to a search request source.
前記検索結果処理手段は、前記第1の受信手段で検索要求元より同一の検索条件にて検索結果の追加要求の情報が受信された際に、この受信された追加検索要求情報に設定された転送範囲内の他検索ノード装置の検索結果が前記記憶手段に記憶されている場合、この記憶された検索結果が前記第2の送信手段から検索要求元へ返信されるように処理し、前記他検索ノード装置の検索結果が記憶手段に記憶されていない場合、不足しているリソース情報の数の取得範囲を設定し、この設定が行われた検索要求情報を用いて他検索ノード装置へ再度検索要求を行う
ことを特徴とする請求項2に記載の検索ノード装置。 A storage means for storing the search results rated by the search result processing means;
The search result processing means is set in the received additional search request information when the first reception means receives information on a search result addition request from the search request source under the same search condition. When the search result of another search node device within the transfer range is stored in the storage unit, the stored search result is processed so as to be returned from the second transmission unit to the search request source. If the search result of the search node device is not stored in the storage means, set the acquisition range of the number of missing resource information, and search again to another search node device using the search request information for which this setting has been made The search node device according to claim 2, wherein a request is made.
前記リソース情報の検索要求を行う検索要求情報に、リソース情報の検索条件と、当該検索要求情報の転送範囲と、前記検索条件に適合した検索結果の中から検索要求元に応答として返信するリソース情報の数とを設定する第1のステップと、
前記第1のステップで設定された検索要求情報を受信する第2のステップと、
前記第2のステップで受信された検索要求情報を、当該検索要求情報に設定された転送範囲に従って他検索ノード装置へ転送する第3のステップと、
前記第2のステップで受信された検索要求情報に設定された検索条件に適合するリソース情報を検索する第4のステップと、
前記第3のステップで転送された検索要求情報に基づき他検索ノード装置で検索された検索結果を受信する第5のステップと、
前記第5のステップで受信された他検索ノード装置での検索結果と自検索ノード装置での検索結果とをレーティングする第6のステップと、
前記第6のステップでのレーティングによる順位の高い順に検索結果のリソース情報を、前記検索要求情報に設定されたリソース情報の数だけ選択する第7のステップと、
前記第7のステップで選択されたリソース情報を検索要求元へ検索結果として返信する第8のステップと
を含むことを特徴とする分散型検索方法。 In a distributed search method for searching resource information stored in a plurality of search node devices distributed and connected to a communication network,
Resource information to be returned as a response to the search request source from the search conditions for the resource information, the transfer range of the search request information, and search results that match the search conditions, to the search request information for making a search request for the resource information A first step of setting the number of
A second step of receiving the search request information set in the first step;
A third step of transferring the search request information received in the second step to another search node device according to a transfer range set in the search request information;
A fourth step of searching for resource information that matches a search condition set in the search request information received in the second step;
A fifth step of receiving a search result searched by another search node device based on the search request information transferred in the third step;
A sixth step of rating the search result in the other search node device received in the fifth step and the search result in the own search node device;
A seventh step of selecting resource information as a search result in the descending order according to the rating in the sixth step by the number of resource information set in the search request information;
And an eighth step of returning the resource information selected in the seventh step as a search result to the search request source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004113330A JP2005301430A (en) | 2004-04-07 | 2004-04-07 | Distributed retrieval system, retrieval node device and distributed retrieval method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004113330A JP2005301430A (en) | 2004-04-07 | 2004-04-07 | Distributed retrieval system, retrieval node device and distributed retrieval method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005301430A true JP2005301430A (en) | 2005-10-27 |
Family
ID=35332926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004113330A Pending JP2005301430A (en) | 2004-04-07 | 2004-04-07 | Distributed retrieval system, retrieval node device and distributed retrieval method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005301430A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007334508A (en) * | 2006-06-13 | 2007-12-27 | Toshiba Corp | Retrieval terminal and network retrieval system |
JP2015049894A (en) * | 2013-08-29 | 2015-03-16 | 富士通株式会社 | Method and system for ranking candidate curation item |
JP2015179510A (en) * | 2014-03-18 | 2015-10-08 | アクシス アーベー | Finding service in service-oriented architecture (soa) network |
-
2004
- 2004-04-07 JP JP2004113330A patent/JP2005301430A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007334508A (en) * | 2006-06-13 | 2007-12-27 | Toshiba Corp | Retrieval terminal and network retrieval system |
JP2015049894A (en) * | 2013-08-29 | 2015-03-16 | 富士通株式会社 | Method and system for ranking candidate curation item |
JP2015179510A (en) * | 2014-03-18 | 2015-10-08 | アクシス アーベー | Finding service in service-oriented architecture (soa) network |
US9984158B2 (en) | 2014-03-18 | 2018-05-29 | Axis Ab | Finding services in a service-oriented architecture (SOA) network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101485178B (en) | Method for obtaining information objects in a communication system | |
JP4755683B2 (en) | Method, apparatus, and program for efficiently extending a peer-to-peer (P2P) network | |
WO2006075424A1 (en) | Information distribution system, distribution demand program, transfer program, distribution program and so on | |
CN101938502A (en) | Server cluster system and load balancing method | |
JP2008052340A (en) | Computer program for implementing peer-to-peer file exchange on overlay network | |
US20040208119A1 (en) | Providing a node of a peer-to peer network with access to a resource | |
Zahedi et al. | Route maintenance approach for link breakage predicttion in mobile ad hoc networks | |
EP2001173A2 (en) | Information communication system, information communication method, node apparatus included in information communication system, and recording medium in which information processing program has been recorded | |
JP2000029813A (en) | Server selection system | |
CN102947821A (en) | Indexing server and method therefor | |
CN101599910B (en) | Method and device for sending messages | |
JP2005301430A (en) | Distributed retrieval system, retrieval node device and distributed retrieval method | |
US7764701B1 (en) | Methods, systems, and products for classifying peer systems | |
CN101741869A (en) | Method and system for providing contents | |
CN115883659B (en) | Method and device for supporting batch refreshing of CDN caches | |
US9397932B2 (en) | Systems and methods for routing network information | |
CN103036983A (en) | Method, network node, server and system of information acquisition | |
US7072907B2 (en) | Information providing system and mediating apparatus | |
JP6131710B2 (en) | COMMUNICATION SYSTEM, LOAD DISTRIBUTION DEVICE, AND LOAD DISTRIBUTION PROGRAM | |
JP2000194560A (en) | Mediating agent device and agent system equipped with same | |
CN102164115A (en) | Method and system for multisource mixing file transmission | |
JP2006106933A (en) | Load sharing network system and load sharing program | |
JP5061372B2 (en) | Web search system, web search method, and web search program | |
JP2003032291A (en) | Packet-allotting apparatus and packet-allotting program | |
JP7028811B2 (en) | Content delivery network transporter |