JP5252555B2 - Context search method and apparatus - Google Patents
Context search method and apparatus Download PDFInfo
- Publication number
- JP5252555B2 JP5252555B2 JP2008323713A JP2008323713A JP5252555B2 JP 5252555 B2 JP5252555 B2 JP 5252555B2 JP 2008323713 A JP2008323713 A JP 2008323713A JP 2008323713 A JP2008323713 A JP 2008323713A JP 5252555 B2 JP5252555 B2 JP 5252555B2
- Authority
- JP
- Japan
- Prior art keywords
- search
- context
- peer node
- solution
- condition
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、コンテキスト検索方法および装置に係り、特に、ピアツーピアネットワークに参加するピアノードの数が少ない場合でも、コンテキスト検索条件を満足する十分な数のピアノードを発見できるコンテキスト検索方法および装置を提供することにある。 The present invention relates to a context search method and apparatus, and more particularly, to provide a context search method and apparatus capable of finding a sufficient number of peer nodes satisfying a context search condition even when the number of peer nodes participating in a peer-to-peer network is small. It is in.
ピアツーピアネットワーク上で所望のコンテキストを有するピアノードを検索する際に、検索元ピアノードがコンテキスト検索条件を記述した検索要求メッセージを、最大許容ホップ数等の制約を設けてブロードキャストで送信し、コンテキスト検索条件を満足する検索先ピアノードが前記検索要求メッセージに応答して、検索元ピアノードへ検索結果の記述された検索応答メッセージを返信する技術が非特許文献1に開示されている。
When searching for a peer node having a desired context on a peer-to-peer network, the search source peer node broadcasts a search request message describing the context search condition with restrictions such as the maximum allowable hop count, and the context search condition is set. Non-Patent
コンテキスト情報とは、コンテンツ受信者が配信を希望するコンテンツを絞り込んだり、コンテンツ送信者がコンテンツの配信先を絞り込んだりするために使用される検索パラメータの1つであり、コンテキスト項目およびそのコンテキスト値を含む。コンテキスト項目とは、例えばコンテンツ受信者が希望するコンテンツ種別、受信ノードの設置場所、コンテンツの受信希望時間、使用する通信手段、性別、年齢、趣味嗜好、職種、家族情報等である。コンテキスト値とは、コンテキスト項目の具体的な値であり、例えば、受信を希望するコンテンツ種別をコンテキスト項目として使用している場合には、“スポーツ”、“旅行”、“音楽”といった、コンテンツの種別を示す値や符号である。
上記した従来技術には、以下のような技術課題があった。
(1)携帯端末をピアノートとして構成されるピアツーピアネットワークでは、各ピアノードがネットワークに参加している頻度が少なく、その結果、各ピアノードの検索応答性が低くなるので、所望のコンテキストを有する十分な数のピアノードを発見することができない。
(2)複雑な検索条件を有するコンテキスト検索を行う場合のように、検索条件を満足するピアノードが希少なときには、十分な数のピアノードを検索するために検索要求メッセージの最大許容ホップ数を大きく設定する必要があり、コンテキスト検索のための通信量が増加してしまう。一方、通信量を抑えてしまうと所望のコンテキストを有する十分な数のピアノードを発見することができない。
The prior art described above has the following technical problems.
(1) In a peer-to-peer network configured with a mobile terminal as a peer note, each peer node participates in the network less frequently, and as a result, the search responsiveness of each peer node is low, so a sufficient number having a desired context Unable to find peer node.
(2) When there are few peer nodes that satisfy the search conditions, such as when performing a context search with complex search conditions, the maximum allowable number of hops in the search request message is set large in order to search for a sufficient number of peer nodes. This increases the amount of communication for context search. On the other hand, if the amount of communication is reduced, a sufficient number of peer nodes having a desired context cannot be found.
本発明の目的は、上記した従来技術の課題を解決し、ピアツーピアネットワークに参加するピアノードの数が少ない場合、あるいは複雑なコンテキスト検索条件で検索する場合でも、通信量を増加させることなく、コンテキスト検索条件を満足する十分な数のピアノードを発見できるコンテキスト検索方法および装置を提供することにある。 The object of the present invention is to solve the above-mentioned problems of the prior art, and even when the number of peer nodes participating in the peer-to-peer network is small or when searching with complicated context search conditions, the context search is performed without increasing the traffic. It is an object of the present invention to provide a context search method and apparatus capable of finding a sufficient number of peer nodes satisfying a condition.
上記の目的を達成するために、本発明は、検索元ピアノードが、コンテキスト検索条件を含む検索要求を検索先ピアノードへ送信し、各検索先ピアノードが、前記コンテキスト検索条件を満足する検索解の記録された検索応答を検索元ピアノードへ返信するコンテキスト検索装置において、以下のような手段を講じた点に特徴がある。 In order to achieve the above object, according to the present invention, a search source peer node transmits a search request including a context search condition to a search destination peer node, and each search destination peer node records a search solution that satisfies the context search condition. The context search device that returns the search response to the search source peer node is characterized in that the following measures are taken.
(1)検索元ピアノードが、自ノードに固有のコンテキスト情報が記憶されたコンテキストテーブルと、コンテキスト検索条件ごとに検索解の履歴が記憶された検索履歴テーブルと、コンテキスト検索条件の記述された検索要求を配信する手段と、検索先ピアノードから返信される検索応答を受信する手段と、検索応答から検索解および検索解候補を抽出する手段と、検索履歴テーブルに基づいて、検索解候補から検索解を特定する手段と、コンテキスト検索条件および検索解を検索履歴テーブルに対応付けて登録する手段とを具備したことを特徴とする。 (1) The search source peer node has a context table in which context information unique to the local node is stored, a search history table in which a history of search solutions is stored for each context search condition, and a search request in which the context search condition is described , A means for receiving a search response returned from the search destination peer node, a means for extracting a search solution and a search solution candidate from the search response, and a search solution from the search solution candidate based on the search history table It is characterized by comprising means for specifying and means for registering a context search condition and a search solution in association with a search history table.
(2)検索先ピアノードが、自ノードに固有のコンテキスト情報が記憶されたコンテキストテーブルと、コンテキスト検索条件ごとに検索解の履歴が記憶された検索履歴テーブルと、検索元ピアノードから検索要求を受信する手段と、前記検索要求からコンテキスト検索条件を抽出する手段と、コンテキスト検索条件を満足する検索解をコンテキストテーブルおよび検索履歴テーブルに基づいて抽出する手段と、コンテキスト検索条件の一部を満足する検索解候補を検索履歴テーブルに基づいて抽出する手段と、検索解および検索解候補の記述された検索応答を生成する手段と、検索応答を検索元のピアノードへ返信する手段とを具備したことを特徴とする。 (2) The search-destination peer node receives a search request from the search source peer node and the context table storing the context information unique to the node, the search history table storing the search solution history for each context search condition Means for extracting a context search condition from the search request, means for extracting a search solution satisfying the context search condition based on the context table and the search history table, and a search solution satisfying a part of the context search condition Characterized in that it comprises means for extracting candidates based on a search history table, means for generating a search solution in which the search solution and search solution candidates are described, and means for returning the search response to the search source peer node. To do.
本発明によれば、以下のような効果が達成される。
(1)携帯端末によって構成されるピアツーピアネットワークのように、各ピアノードがネットワークに参加している頻度が少ない場合でも、所望のコンテキストを有する十分な数のピアノードを発見ができる。
(2)複雑なコンテキスト検索条件で検索する場合のように、所望のコンテキストを有するピアノードが希少なときでも、少ない通信量で十分な数のピアノードを発見できる。
According to the present invention, the following effects are achieved.
(1) A sufficient number of peer nodes having a desired context can be found even when the frequency with which each peer node participates in the network is low, as in a peer-to-peer network composed of mobile terminals.
(2) A sufficient number of peer nodes can be found with a small amount of communication even when the number of peer nodes having a desired context is scarce as in the case of searching with complicated context search conditions.
以下、図面を参照して本発明の最良の実施形態について詳細に説明する。図1は、本発明のコンテキスト検索方法および装置が適用されるピアツーピアネットワークの構成を模式的に示した図であり、複数のピアノードXiがピアツーピアネットワークにより相互に接続されている。 Hereinafter, the best embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram schematically showing the configuration of a peer-to-peer network to which the context search method and apparatus of the present invention is applied. A plurality of peer nodes Xi are connected to each other by a peer-to-peer network.
ここでは、ピアノードX0が検索元ピアノードであり、ピアノードX1,X2,X3…が検索先ピアノードである場合を例にして説明する。検索元ピアノードX0は、当該ピアノードを管理するユーザに固有のコンテキスト情報(コンテキスト項目およびそのコンテキスト値)が記憶されたコンテキストテーブル1、検索履歴として検索済みのコンテキスト検索条件ごとに過去の検索解が記憶された検索履歴テーブル2、ピアノードが検索元ピアノードとして動作するための各種構成を含む検索元機能部3を含む。検索先ピアノードX1,X2,X3…は、前記コンテキストテーブル1および検索履歴テーブル2と共に、ピアノードが検索先ピアノードとして動作するための各種構成を含む検索先機能部4を含む。
Here, a case will be described as an example where peer node X0 is a search source peer node and peer nodes X1, X2, X3... Are search destination peer nodes. The search source peer node X0 stores a context table 1 in which context information (context items and context values thereof) unique to the user managing the peer node is stored, and a past search solution is stored for each searched context search condition as a search history. And a search
なお、ここでは説明を簡略化するために、各ピアノードが検索元ピアノードおよび検索先ピアノードのいずれか一方として振る舞うものとして説明するが、検索元ピアノードX0は検索先ピアノードとして振る舞うことができ、検索先ピアノードX1,X2,X3…は検索元ピアノードとして振る舞うことができる。したがって、図1では検索元ピアノードX0も検索先機能部4を含み、検索先ピアノードX1,X2,X3…も検索元機能部3を含んでいる。
In order to simplify the explanation here, each peer node is described as acting as either a search source peer node or a search destination peer node, but the search source peer node X0 can behave as a search destination peer node, and the search destination The peer nodes X1, X2, X3... Can act as search source peer nodes. Therefore, in FIG. 1, the search source peer node X0 also includes the search
図2は、前記検索元機能部3および検索先機能部4の主要部の構成を示した機能ブロック図であり、ここでは、本発明の説明に不要な構成は図示が省略されている。
FIG. 2 is a functional block diagram showing the configuration of the main parts of the search
検索元機能部3において、検索要求生成部301は、別途に入力されるコンテキストの検索条件式、および検索履歴テーブル2に記憶されている検索履歴のうち当該コンテキスト検索条件と関連性のある検索履歴の記述された検索要求メッセージを生成する。この検索要求メッセージは、検索要求配信部302からインターフェースIF5を介して周囲の検索先ピアノードX1,X2,X3…へブロードキャストにより配信される。
In the search
ここでは、コンテキスト検索条件として「コンテキスト値a0,b0を全て含むこと」、すなわち次式(1)の論理式がコンテキスト検索条件として与えられ、検索要求メッセージに記述されて配信されるものとして説明を続ける。
Here, it is assumed that “contains all context values a0 and b0” as the context search condition, that is, the logical expression of the following expression (1) is given as the context search condition and is described and distributed in the search request message. to continue.
a0 AND b0 … (1)
a0 AND b0… (1)
検索先機能部4において、検索要求受信部401は、検索元ピアノードX0から配信された検索要求メッセージを受信する。検索条件抽出部402は、前記検索要求メッセージから前記コンテキスト検索条件式[a0 AND b0]を抽出する。検索履歴抽出部403は、前記検索要求メッセージから検索履歴を抽出する。
In the search
解検索部404は、自ノードのコンテキストテーブル1に登録されているコンテキスト情報が前記コンテキスト検索条件に合致するか否かを判定し、合致する場合には自ノードのIDを検索解の一つと認定する。例えば、検索先ピアノードX1のコンテキストテーブル1に登録されているコンテキストが図3(a)の通りであれば、前記コンテキスト検索条件が成立するので、検索先ピアノードX1のピアノードIDが検索解と認定される。これに対して、コンテキストテーブル1に登録されているコンテキスト情報が図3(b)の通りであれば、前記コンテキスト検索条件が成立しないと認定される。
The
前記解検索部404はさらに、前記コンテキスト検索条件を論理的に満足する検索条件が自ノードの検索履歴テーブル2に既登録であるか否かを判定し、既登録であれば、その検索条件に対する過去の検索解として登録されているピアノードIDを検索解の一つと認定する。すなわち、自ノードの検索履歴テーブル2に登録されている検索履歴が図4の通りであれば、ピアノードX1,X2のピアノードIDが検索解と認定される。
The
解候補検索部405は、前記コンテキスト検索条件の一部を論理的に満足する検索条件が自ノードの検索履歴テーブル2に既登録であるか否かを判定し、既登録であれば、その検索条件に対する過去の検索解を検索解候補と認定する。すなわち、自ノードの検索履歴テーブル2に登録されている検索履歴が図4の通りであれば、コンテキスト値「a0」を含むピアノードX3、およびコンテキスト値「b0」を含むピアノードX4が検索解候補と認定され、コンテキスト値「a0」、「b0」が、その根拠条件とされる。そして、根拠条件a0および検索解候補X3のペア[a0,X3]、および根拠条件b0および検索解候補X4のペア[b0,X4]が、検索解候補の情報として出力される。
The solution
検索応答生成部406は、前記検索解については[ピアノードID]、前記検索解候補については[根拠条件,ピアノードID]の記述された検索応答メッセージを生成する。検索応答返信部407は、インターフェースIF5を介して前記検索応答メッセージを検索元ピアノードX0へ返信する。
The search
前記検索元機能部3へ戻り、検索応答受信部303は、検索先ピアノードから返信された検索応答メッセージを受信する。検索解抽出部304は、前記検索応答メッセージから検索解[ピアノードID]を抽出する。解候補抽出部305は、前記検索応答メッセージから検索解候補の情報[根拠条件,ピアノードID]を抽出する。検索解特定部306は、前記抽出された検索解候補の情報と検索履歴テーブル2に記憶されている検索履歴とを照合し、検索解候補の中から検索解を特定する。
Returning to the search
すなわち、検索元ピアノードX0の検索履歴テーブル2が図5(a)の通りであれば、前記検索解候補の情報[a0,X3]によりピアノードX3がコンテキスト値a0を有していることが判り、検索履歴テーブル2からはピアノードX3がコンテキスト値b0を有していることが判るので、ピアノードX3が新たに検索解と認定される。 That is, if the search history table 2 of the search source peer node X0 is as shown in FIG. 5A, it can be seen from the search solution candidate information [a0, X3] that the peer node X3 has the context value a0. Since it can be seen from the search history table 2 that the peer node X3 has the context value b0, the peer node X3 is newly recognized as a search solution.
同様に、前記検索解候補情報[b0,X4]によりピアノードX4がコンテキスト値b0を有していることが判り、検索履歴テーブル2からはピアノードX4がコンテキスト値a0を有していることが判るので、ピアノードX4が新たに検索解と認定される。 Similarly, the search solution candidate information [b0, X4] shows that the peer node X4 has the context value b0, and the search history table 2 shows that the peer node X4 has the context value a0. Peer node X4 is newly certified as a search solution.
これに対して、検索元ピアノードX0の検索履歴テーブル2が図5(b)の通りであれば、ピアノードX3がコンテキスト値b0を有していることが判明せず、またピアノードX4がコンテキスト値a0を有していることも判明しないので、検索解候補X3,X4はいずれも検索解とされない。 On the other hand, if the search history table 2 of the search source peer node X0 is as shown in FIG. 5B, it is not found that the peer node X3 has the context value b0, and the peer node X4 has the context value a0. Therefore, neither of the search solution candidates X3 and X4 is taken as a search solution.
次いで、フローチャートを参照して本発明の一実施形態の動作を更に詳細に説明する。図6は、検索元ピアノードX0の動作を示したフローチャートであり、図7は、検索先ピアノードX1,X2,X3…の動作を示したフローチャートである。ここでは、検索元ピアノードX0のコンテキストテーブル1および検索履歴テーブル2の登録内容が、それぞれ図8(a),(b)に示した通りであり、検索先ピアノードX1,X2,X3のコンテキストテーブル1および検索履歴テーブル2が、それぞれ図9(a),(b)、図10(a),(b)、図11(a),(b)に示した通りであるものとして説明する。 Next, the operation of the embodiment of the present invention will be described in more detail with reference to a flowchart. 6 is a flowchart showing the operation of the search source peer node X0, and FIG. 7 is a flowchart showing the operation of the search destination peer nodes X1, X2, X3. Here, the registered contents of the context table 1 and the search history table 2 of the search source peer node X0 are as shown in FIGS. 8A and 8B, respectively, and the context table 1 of the search destination peer nodes X1, X2, and X3. The search history table 2 is assumed to be as shown in FIGS. 9A, 9B, 10A, 10B, 11A, and 11B, respectively.
検索元ピアノードX0では、図6のステップS1においてコンテキスト検索条件の入力が検知されると、ステップS2では、コンテキスト検索条件の論理式が、複数の論路積項を論理和で連結した形式に変換される。ここでは、次式(1)のコンテキスト検索条件が次式(2)の論理式に変換されたものとして説明を続ける。
In the search source peer node X0, when the input of the context search condition is detected in step S1 of FIG. 6, in step S2, the logical expression of the context search condition is converted into a form in which a plurality of logical product terms are connected by logical sum. Is done. Here, the description will be continued on the assumption that the context search condition of the following expression (1) is converted into the logical expression of the following expression (2).
(a0 OR a1) AND (b0 OR b1) AND c0 … (1)
(a0 OR a1) AND (b0 OR b1) AND c0… (1)
(a0 AND b0 AND c0) OR (a0 AND b1 AND c0) OR (a1 AND b0 AND c0) OR (a1 AND b1 AND c0) … (2)
(a0 AND b0 AND c0) OR (a0 AND b1 AND c0) OR (a1 AND b0 AND c0) OR (a1 AND b1 AND c0)… (2)
ステップS3では、前記コンテキスト検索条件の論理式と関連性のある検索履歴が前記検索履歴テーブル2から抽出される。本実施形態では、コンテキスト検索条件の各要素a0,a1,b0,b1,c0を含むコンテキスト条件およびそのピアノードIDのペアが、関連性のある検索履歴として抽出される。ステップS4では、前記コンテキスト検索条件および検索履歴の記述された検索要求メッセージが前記検索要求生成部301により生成され、ステップS5において、前記検索要求配信部302から検索先ピアノードX1,X2,X3…へ配信される。
In step S <b> 3, a search history related to the logical expression of the context search condition is extracted from the search history table 2. In this embodiment, a context condition including each element a0, a1, b0, b1, c0 of the context search condition and its peer node ID pair are extracted as a related search history. In step S4, a search request message in which the context search condition and the search history are described is generated by the search
検索先ピアノードX1,X2,X3…はそれぞれ、図7のステップS41で前記検索要求メッセージが前記検索要求受信部401により受信されるとステップS42へ進む。ステップS42では、前記検索条件抽出部402により検索要求メッセージからコンテキスト検索条件が抽出され、さらに前記検索履歴抽出部403により検索要求メッセージから検索履歴が抽出される。ステップS43では、自ノードのコンテキストテーブル1に登録されているコンテキストが前記コンテキスト検索条件を満足するか否かが、前記解検索部404により検索される。
Each of the search destination peer nodes X1, X2, X3... Proceeds to step S42 when the search request message is received by the search
検索先ピアノードX1であれば、図9(a)に示したように、コンテキストが上式(2)の第2項を満足しているので、コンテキスト検索条件を満足すると判定されてステップS44へ進み、自ノードのピアノードID[X1]が検索解の一つとして検索解集合U1に記憶される。ステップS45では、前記ステップS42で検索要求メッセージから抽出した検索元ピアノードX0の検索履歴が自ノードの検索履歴テーブル2に追加される。 If it is the search destination peer node X1, as shown in FIG. 9A, since the context satisfies the second term of the above formula (2), it is determined that the context search condition is satisfied, and the process proceeds to step S44. The peer node ID [X1] of the own node is stored in the search solution set U1 as one of the search solutions. In step S45, the search history of the search source peer node X0 extracted from the search request message in step S42 is added to the search history table 2 of its own node.
これに対して、図10(a)に示した検索先ピアノードX2のコンテキスト、および図11(a)に示した検索先ピアノードX3のコンテキストは、いずれも上式(2)のコンテキスト検索条件を満足しないのでステップS46へ進む。 In contrast, the context of the search destination peer node X2 shown in FIG. 10 (a) and the context of the search destination peer node X3 shown in FIG. 11 (a) both satisfy the context search condition of the above formula (2). Since it does not carry out, it progresses to step S46.
ステップS46では、自ノードの検索履歴テーブル2に、前記コンテキスト検索条件を満足する検索履歴が登録されているか否かが、前記解検索部404により改めて判定される。本実施形態では、図9(b)に示した検索先ピアノードX1の検索履歴テーブル2、および図10(b)に示した検索先ピアノードX2の検索履歴テーブル2には、上式(2)のコンテキスト検索条件を満足する検索履歴が登録されていない。
In step S46, the
これに対して、図11(b)に示した検索先ピアノードX3の検索履歴テーブル2には、上式(2)の第3項[a1 AND b0 AND c0]を満足するコンテキスト検索条件およびその検索結果が検索履歴として登録されているのでステップS47へ進む。ステップS47では、当該検索履歴における検索解のピアノードID「X5」が検索解の一つとして検索解集合U1に記憶される。 On the other hand, in the search history table 2 of the search destination peer node X3 shown in FIG. 11 (b), a context search condition that satisfies the third term [a1 AND b0 AND c0] of the above formula (2) and its search Since the result is registered as a search history, the process proceeds to step S47. In step S47, the peer node ID “X5” of the search solution in the search history is stored in the search solution set U1 as one of the search solutions.
ステップS48では、上式(2)のコンテキスト検索条件の一部を満足する検索履歴が、前記解候補検索部405により検索履歴テーブル2から検索される。検索先ピアノードX1であれば、図9(b)に示したように、上式(2)のコンテキスト検索条件の第1,3項と一部が一致するコンテキスト検索条件[b0 AND c0]が検索履歴として登録されており、さらに上式(2)のコンテキスト検索条件の要素b1を含む検索履歴が登録されているのでステップS49へ進む。ステップS49では、根拠となるコンテキスト検索条件(根拠条件)[b0 AND c0]と検索解候補のノードID[X3]とのペア[b0 AND c0,X3]、および根拠となるコンテキスト検索条件[b1]と検索解候補のノードID[X2]とのペア[b1,X2]が検索解候補の情報として検索解候補集合U2に記憶される。
In step S48, a search history satisfying a part of the context search condition of the above equation (2) is searched from the search history table 2 by the solution
図10(b)に示した検索先ピアノードX2の検索履歴テーブル2には、上式(2)のコンテキスト検索条件の要素c0を含むコンテキスト検索条件が検索履歴として登録されているのでステップS49へ進み、根拠となるコンテキスト検索条件[c0]と検索解候補のノードID[X2]とのペア[c0,X2]が検索解候補の情報として検索解候補集合U2に記憶される。 In the search history table 2 of the search destination peer node X2 shown in FIG. 10B, the context search condition including the element c0 of the context search condition of the above equation (2) is registered as the search history, and the process proceeds to step S49. The pair [c0, X2] of the context search condition [c0] as the basis and the node ID [X2] of the search solution candidate is stored in the search solution candidate set U2 as search solution candidate information.
これに対して、図11(b)に示した検索先ピアノードX3の検索履歴テーブル2には、上式(2)のコンテキスト検索条件の要素を含む検索履歴が、先に検索解として抽出済みの検索履歴以外に登録されていないと判定される。 On the other hand, in the search history table 2 of the search destination peer node X3 shown in FIG. 11B, the search history including the element of the context search condition of the above formula (2) has already been extracted as the search solution. It is determined that it is not registered other than the search history.
ステップS50では、前記検索解集合U1に記憶された検索解および前記検索解候補集合U2に記憶された検索解候補の記述された検索応答メッセージが前記検索応答生成部406により生成され、ステップS51において、前記検索応答返信部407から検索元ピアノードX0へ返信される。
In step S50, the search response message in which the search solution stored in the search solution set U1 and the search solution candidates stored in the search solution candidate set U2 are described is generated by the search
図6へ戻り、検索元ピアノードX0は、ステップS6で前記検索応答メッセージが前記検索応答受信部303により受信されるとステップS7へ進む。ステップS7では、前記検索解抽出部304により検索応答メッセージから検索解が抽出され、さらに前記解候補抽出部305により検索応答メッセージから検索解候補の情報が抽出される。ステップS8では、前記検索解特定部306により、自ノードの検索履歴テーブル2に登録されている検索履歴、ならびに前記抽出された検索解候補およびその根拠条件に基づいて、検索解候補の中から検索解が特定される。
Returning to FIG. 6, when the search response message is received by the search
本実施形態では、図12に模式的に示したように、検索先ピアノードX1から取得した検索解候補の情報[b0 AND c0,X3]と、自ノードの検索履歴テーブル2においてコンテキスト検索条件[a0]の検索解としてピアノードX3が登録されていることとに基づいて、検索解候補のピアノードX3が上式(2)のコンテキスト検索条件の第1項を満足する検索解と認定される。 In this embodiment, as schematically shown in FIG. 12, the information [b0 AND c0, X3] of the search solution candidate acquired from the search destination peer node X1 and the context search condition [a0 in the search history table 2 of its own node ] Is registered as a search solution that satisfies the first term of the context search condition of the above equation (2).
さらに、検索先ピアノードX1から取得した検索解候補の情報[c0,X2]と、検索先ピアノードX2から取得した検索解候補の情報[b1,X2]と、自ノードの検索履歴テーブル2においてコンテキスト検索条件[a0]の検索解としてピアノードX2が登録されていることとに基づいて、検索解候補のピアノードX2が上式(2)のコンテキスト検索条件の第2項を満足する検索解と認定される。 Further, search solution candidate information [c0, X2] acquired from the search destination peer node X1, search solution candidate information [b1, X2] acquired from the search destination peer node X2, and context search in the search history table 2 of the own node Based on the fact that peer node X2 is registered as a search solution for condition [a0], peer node X2 that is a search solution candidate is recognized as a search solution that satisfies the second term of the context search condition of equation (2). .
1…コンテキストテーブル,2…検索履歴テーブル,3…検索元機能部,4…検索先機能部,301…検索要求生成部,302…検索要求配信部,303…検索応答受信部,304…検索解抽出部,305…解候補抽出部,306…検索解特定部,401…検索要求受信部,402…検索条件抽出部,403…検索履歴抽出部,404…解検索部,405…解候補検索部,406…検索応答生成部,407…検索応答返信部
DESCRIPTION OF
Claims (11)
前記検索元ピアノードが、
自ノードに固有のコンテキスト情報が記憶されたコンテキストテーブルと、
コンテキスト検索条件ごとに検索解の履歴が記憶された検索履歴テーブルと、
コンテキスト検索条件の記述された検索要求を配信する手段と、
検索先ピアノードから返信される検索応答を受信する手段と、
検索応答から検索解および検索解候補を抽出する手段と、
前記検索履歴テーブルに基づいて、前記検索解候補から検索解を特定する手段と、
前記コンテキスト検索条件および検索解を前記検索履歴テーブルに対応付けて登録する手段とを具備したことを特徴とするコンテキスト検索装置。 The search source peer node transmits a search request including a context search condition to the search destination peer node, and each search destination peer node returns a search response in which a search solution satisfying the context search condition is recorded to the search source peer node. In the device
The search source peer node is
A context table storing context information unique to the node;
A search history table storing a history of search solutions for each context search condition;
Means for delivering a search request in which a context search condition is described;
Means for receiving a search response returned from the search destination peer node;
Means for extracting search solutions and search solution candidates from the search response;
Means for identifying a search solution from the search solution candidates based on the search history table;
Means for registering the context search condition and the search solution in association with the search history table.
前記検索元ピアノードが、
自ノードに固有のコンテキスト情報が記憶されたコンテキストテーブルと、
コンテキスト検索条件ごとに検索解の履歴が記憶された検索履歴テーブルと、
検索元ピアノードとして機能するための検索元機能部と、
検索先ピアノードとして機能するための検索先機能部とを具備し、
前記検索元機能部が、
コンテキスト検索条件の記述された検索要求を配信する手段と、
検索先ピアノードから返信される検索応答を受信する手段と、
検索応答から検索解および検索解候補を抽出する手段と、
前記検索履歴テーブルに基づいて、前記検索解候補から検索解を特定する手段と、
前記コンテキスト検索条件および検索解を前記検索履歴テーブルに対応付けて登録する手段とを具備し、
前記検索先機能部が、
検索元ピアノードから検索要求を受信する手段と、
前記検索要求からコンテキスト検索条件を抽出する手段と、
前記コンテキスト検索条件を満足する検索解を前記コンテキストテーブルおよび検索履歴テーブルに基づいて抽出する手段と、
前記コンテキスト検索条件の一部を満足する検索解候補を前記検索履歴テーブルに基づいて抽出する手段と、
前記検索解および検索解候補の記述された検索応答を生成する手段と、
前記検索応答を検索元のピアノードへ返信する手段とを具備したことを特徴とするコンテキスト検索装置。 The search source peer node transmits a search request including a context search condition to the search destination peer node, and each search destination peer node returns a search response in which a search solution satisfying the context search condition is recorded to the search source peer node. In the device
The search source peer node is
A context table storing context information unique to the node;
A search history table storing a history of search solutions for each context search condition;
A search source function unit for functioning as a search source peer node;
A search destination function unit for functioning as a search destination peer node,
The search source function unit
Means for delivering a search request in which a context search condition is described;
Means for receiving a search response returned from the search destination peer node;
Means for extracting search solutions and search solution candidates from the search response;
Means for identifying a search solution from the search solution candidates based on the search history table;
Means for registering the context search condition and the search solution in association with the search history table;
The search destination function unit
Means for receiving a search request from a search source peer node;
Means for extracting a context search condition from the search request;
Means for extracting a search solution satisfying the context search condition based on the context table and the search history table;
Means for extracting search solution candidates that satisfy a part of the context search condition based on the search history table;
Means for generating a search response in which the search solution and search solution candidates are described;
Means for returning the search response to a search source peer node.
検索要求から検索元ピアノードの検索履歴を抽出する手段をさらに具備し、
自ノードのコンテキストがコンテキスト検索条件を満足していると、前記抽出した検索元ピアノードの検索履歴を自ノードの検索履歴テーブルに追加登録することを特徴とする請求項2に記載のコンテキスト検索装置。 The search destination function unit
A means for extracting a search history of the search source peer node from the search request;
3. The context search apparatus according to claim 2 , wherein when the context of the own node satisfies a context search condition, the search history of the extracted search source peer node is additionally registered in the search history table of the own node.
前記検索元ピアノードおよび検索先ピアノードが、
自ノードに固有のコンテキスト情報が記憶されたコンテキストテーブルと、
コンテキスト検索条件ごとに検索解の履歴が記憶された検索履歴テーブルとを具備し、
検索元ピアノードが、
コンテキスト検索条件の記述された検索要求を検索先ピアノードへ配信する手順を含み、
検索先ピアノードが、
前記検索要求を受信して、コンテキスト検索条件を抽出する手順と、
前記コンテキスト検索条件を満足する検索解を前記コンテキストテーブルおよび検索履歴テーブルに基づいて抽出する手順と、
前記コンテキスト検索条件の一部を満足する検索解候補を前記検索履歴テーブルに基づいて抽出する手順と、
前記検索解および検索解候補の記述された検索応答を検索元のピアノードへ返信する手順とを含み、
検索元ピアノードがさらに、
前記検索応答を受信して、検索解および検索解候補を抽出する手順と、
前記検索履歴テーブルに基づいて、前記検索解候補から検索解を特定する手順と、
前記コンテキスト検索条件および検索解を前記検索履歴テーブルに対応付けて登録する手順とを含むことを特徴とするコンテキスト検索方法。 The search source peer node transmits a search request including a context search condition to the search destination peer node, and each search destination peer node returns a search response in which a search solution satisfying the context search condition is recorded to the search source peer node. In the method
The search source peer node and the search destination peer node are:
A context table storing context information unique to the node;
A search history table storing a history of search solutions for each context search condition,
The source peer node is
Including a procedure for distributing a search request in which a context search condition is described to a search destination peer node;
The search destination peer node is
Receiving the search request and extracting a context search condition;
A procedure for extracting a search solution satisfying the context search condition based on the context table and the search history table;
A procedure for extracting search solution candidates that satisfy a part of the context search condition based on the search history table;
Returning a search response in which the search solution and the search solution candidate are described to the search source peer node,
The search source peer node
Receiving the search response and extracting a search solution and search solution candidates;
A procedure for identifying a search solution from the search solution candidates based on the search history table;
And a procedure for registering the context search condition and the search solution in association with the search history table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008323713A JP5252555B2 (en) | 2008-12-19 | 2008-12-19 | Context search method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008323713A JP5252555B2 (en) | 2008-12-19 | 2008-12-19 | Context search method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010146346A JP2010146346A (en) | 2010-07-01 |
| JP5252555B2 true JP5252555B2 (en) | 2013-07-31 |
Family
ID=42566716
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008323713A Expired - Fee Related JP5252555B2 (en) | 2008-12-19 | 2008-12-19 | Context search method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5252555B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111177098B (en) * | 2019-12-27 | 2023-09-22 | 中信百信银行股份有限公司 | Method and system for checking system log context |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8065286B2 (en) * | 2006-01-23 | 2011-11-22 | Chacha Search, Inc. | Scalable search system using human searchers |
| US8117196B2 (en) * | 2006-01-23 | 2012-02-14 | Chacha Search, Inc. | Search tool providing optional use of human search guides |
-
2008
- 2008-12-19 JP JP2008323713A patent/JP5252555B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010146346A (en) | 2010-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5329939B2 (en) | Context search method and apparatus | |
| US9237199B2 (en) | Contiguous location-based user networks | |
| CN102111192B (en) | Bluetooth connection method and system | |
| KR20110134938A (en) | Methods and apparatuses for combined peer to peer and wide area network based discovery | |
| Rehena et al. | A modified SPIN for wireless sensor networks | |
| US8959193B2 (en) | Group management device | |
| EP4020920A1 (en) | Mobility-as-a-service for user experience | |
| CN103780499A (en) | Routing table updating | |
| CN101772936B (en) | Data management method and system in communication network | |
| US20110292804A1 (en) | Event delivery system, rendezvous node, broker node, load distribution method for event delivery system, load distribution method for rendezvous node, delivery route construction method for broker node, storage medium storing load distribution program, and storage medium storing delivery route construction program | |
| CN102334313B (en) | Network location recognition system and terminal location recognition device | |
| JP2011170422A (en) | Policy management system for p2p type communication | |
| JP5252555B2 (en) | Context search method and apparatus | |
| US9009755B2 (en) | Match-rule based service message transfer method and system | |
| CN101409905A (en) | Routing method for mobile multi-hop grouping wireless network based on random broadcast mode | |
| Gambhir et al. | Ad-hoc social network: A comprehensive survey | |
| Michahelles et al. | Detecting context in distributed sensor networks by using smart context-aware packets | |
| CN105447188A (en) | Knowledge learning based peer-to-peer social network document retrieval method | |
| CN114422591B (en) | Point-to-point communication method, data communication system, computer equipment, storage medium | |
| JP5408697B2 (en) | Content delivery method and system | |
| Lee et al. | Cluster and location based overlay multicast in mobile ad hoc and sensor networks | |
| JP6195509B2 (en) | Terminal apparatus, server apparatus, distribution method, and distribution program | |
| KR100703730B1 (en) | Wireless network device and communication method using same | |
| CN104363625B (en) | Node selecting method in ubiquitous tip environment | |
| Jedari et al. | Using social network analysis (SNA) to design socially aware network solutions in delay-tolerant networks (DTNs) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110822 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121121 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130130 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130319 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130410 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130411 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160426 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |