JP2008141478A - Broadcast search system and program - Google Patents

Broadcast search system and program Download PDF

Info

Publication number
JP2008141478A
JP2008141478A JP2006325641A JP2006325641A JP2008141478A JP 2008141478 A JP2008141478 A JP 2008141478A JP 2006325641 A JP2006325641 A JP 2006325641A JP 2006325641 A JP2006325641 A JP 2006325641A JP 2008141478 A JP2008141478 A JP 2008141478A
Authority
JP
Japan
Prior art keywords
node
search
data
nodes
request packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006325641A
Other languages
Japanese (ja)
Inventor
Shinji Hizuka
真二 肥塚
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2006325641A priority Critical patent/JP2008141478A/en
Publication of JP2008141478A publication Critical patent/JP2008141478A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a broadcast search system and program capable of performing data search to nodes belonging to the respective segments in a network divided into a plurality of segments. <P>SOLUTION: Since a virtual hub H1 for performing unicast communication with the respective nodes N1-N10 for search is provided, data is retrieved to the nodes belonging to any of the plurality of segments S1-S6 by transmitting a search request packet of the data as a unicast packet. Thus, the data stored by being divided into the plurality of nodes is easily searched only by adding the virtual hub H1 without replacing a plurality of routers R1, R2 with the ones corresponding to multicast. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数のセグメントに分割されたネットワークにおいて、各セグメントに属する複数のノードに対して同報検索を行う同報検索システム、及び同報検索プログラムに関する。   The present invention relates to a broadcast search system and a broadcast search program for performing a broadcast search for a plurality of nodes belonging to each segment in a network divided into a plurality of segments.

従来、複数のノードが接続されたネットワークにおいて、データ検索を行う場合、複数の記憶装置に分散してデータを記憶させておく発明があった(例えば、特許文献1参照。)。   Conventionally, when performing a data search in a network in which a plurality of nodes are connected, there has been an invention in which data is distributed and stored in a plurality of storage devices (see, for example, Patent Document 1).

特許文献1に記載の発明では、複数の記憶装置に分散してデータを記憶させることで、各記憶装置の負荷を軽減できる。また、1つの記憶装置に全てのデータを記憶させた場合、その記憶装置が故障すると、全くデータを読み出すことができない。これに対して、複数の記憶装置にデータを分散して記憶させると、いずれかの記憶装置が故障したとしても、読み出すことができないデータは一部なので、被害を抑制できるとともに、他のデータについては引き続き検索が可能である。   In the invention described in Patent Literature 1, the load on each storage device can be reduced by storing data in a plurality of storage devices in a distributed manner. Further, when all the data is stored in one storage device, the data cannot be read at all if the storage device fails. On the other hand, if data is distributed and stored in multiple storage devices, even if one of the storage devices fails, some data cannot be read, so damage can be suppressed and other data Can still be searched.

また、従来、ネットワークにおけるデータの検索方式としては、ピアトゥピア検索(ユニキャスト検索)・ブロードキャスト検索・マルチキャスト検索3つの方式が一般的であった。
特開平7−141575号公報
Conventionally, as a data search method in a network, three methods are generally used: peer-to-peer search (unicast search), broadcast search, and multicast search.
Japanese Patent Laid-Open No. 7-141575

しかしながら、複数のセグメントに分割したネットワークにおいて、各セグメントに属するノードに分散して記憶させたデータを検索する場合、以下のような問題があった。すなわち、上記のように複数のセグメントに分割したネットワークでは、通常、セグメント間をルータにより接続している。そのため、ブロードキャスト検索を行う場合、データの検索可能範囲は同一セグメント内のみであり、他のセグメントに属するノードに対して検索を行うことができないという問題があった。   However, in a network divided into a plurality of segments, there are the following problems when searching for data stored in a distributed manner among nodes belonging to each segment. That is, in the network divided into a plurality of segments as described above, the segments are usually connected by a router. Therefore, when performing a broadcast search, there is a problem that the searchable range of data is only within the same segment, and the search cannot be performed for nodes belonging to other segments.

また、マルチキャスト検索を行う場合、セグメント間を接続するルータが全てマルチキャストに対応していなければ、他のセグメントに属するノードに対して検索を行うことができないという問題があった。   Further, when performing a multicast search, there is a problem that a search cannot be performed for nodes belonging to other segments unless all the routers connecting the segments support multicast.

また、ピアトゥピア検索(ユニキャスト検索)を行う場合、検索対象ノード全てに対して、順に検索依頼コマンドを発行せねばならず、ノード数が増えるほど処理が遅くなるという問題があった。また、どのノードからでもピアトゥピア検索(ユニキャスト検索)を行うためには、各ノードが他の全ノードのIPアドレス情報を知っておく必要がある。しかし、ノードの増減(ログイン・ログオフ)が頻繁であると、各ノードのIPアドレス情報の更新が手間であるという問題があった。   In addition, when performing peer-to-peer search (unicast search), search request commands must be issued in order to all search target nodes, and there is a problem that processing increases as the number of nodes increases. Further, in order to perform peer-to-peer search (unicast search) from any node, each node needs to know the IP address information of all other nodes. However, if the number of nodes is increased or decreased (login / logoff) frequently, there is a problem that it is troublesome to update the IP address information of each node.

また、各ノードが記憶するデータ情報をまとめて、全体のデータ情報リストを作成してデータを一括管理することも考えるが、データの追加・削除が頻繁に行われる場合には、全体のデータ情報リストの更新が手間であるという問題があった。   In addition, it is considered that the data information stored in each node is collected and the entire data information list is created to manage the data collectively. However, if data is frequently added or deleted, the entire data information is stored. There was a problem that it was troublesome to update the list.

そこで、本発明は、複数のセグメントに分割されたネットワークにおいて、各セグメントに属するノードに対してデータ検索が可能な同報検索システム及び同報検索プログラムを提供することを目的とする。   Therefore, an object of the present invention is to provide a broadcast search system and a broadcast search program that can perform data search for nodes belonging to each segment in a network divided into a plurality of segments.

この発明は、上記の課題を解決するための手段として、以下の構成を備えている。   The present invention has the following configuration as means for solving the above problems.

(1)複数のセグメントに分割されたネットワークにおける同報検索システムであって、
複数のデータを記憶するデータ記憶手段、データの検索操作を受け付ける操作手段、及びパケットを送受信するノード通信手段を備え、前記複数のセグメントのいずれかに属し、ユニークなIPアドレスが各々付与された複数のノードと、
セグメント間においてユニキャストパケットのみを転送するルータと、
前記複数のノードの各IPアドレスを記憶するリスト記憶手段、及び前記複数のノードとユニキャストパケットを送受信するハブ通信手段を備え、ユニークなIPアドレスが付与された仮想ハブと、
を備え、
前記各ノードは、さらに前記仮想ハブのIPアドレスを記憶するIP記憶手段を備え、データの検索操作を前記操作手段で受け付けると、前記仮想ハブに対して、このデータの検索を依頼する情報と、送信元情報である自身のIPアドレス情報と、を含む検索依頼パケットを前記ノード通信手段で送信し、
前記仮想ハブは、前記検索依頼パケットを前記ハブ通信手段で受信すると、その検索依頼パケットを各ノードに対して前記ハブ通信手段で送信し、
前記各ノードは、前記ノード通信手段で前記検索依頼パケットを受信して、検索を依頼されたデータを前記データ記憶手段が記憶していると、前記送信元ノードに対して、そのデータを記憶している旨の情報と、自身のIPアドレス情報と、を含む返信パケットを前記ノード通信手段で送信することを特徴とする。
(1) A broadcast search system in a network divided into a plurality of segments,
A plurality of data storage means for storing a plurality of data, an operation means for accepting a data search operation, and a node communication means for transmitting and receiving packets, each of which belongs to one of the plurality of segments and has a unique IP address Nodes
A router that forwards only unicast packets between segments;
A virtual hub provided with a unique IP address, comprising list storage means for storing each IP address of the plurality of nodes, and hub communication means for transmitting and receiving unicast packets to and from the plurality of nodes;
With
Each of the nodes further includes an IP storage unit that stores an IP address of the virtual hub. When a data search operation is received by the operation unit, information for requesting the virtual hub to search for the data; The node communication means transmits a search request packet including its own IP address information which is transmission source information,
When the virtual hub receives the search request packet by the hub communication means, the search request packet is transmitted to each node by the hub communication means,
Each node receives the search request packet by the node communication means, and when the data storage means stores the data requested to be searched, the node stores the data to the transmission source node. The node communication means transmits a reply packet including information indicating that the IP address is present and its own IP address information.

この構成においては、同報検索システムでは、仮想ハブがネットワークの各ノードのIPアドレスを記憶しており、各ノードは、データの検索依頼を受け付けると、仮想ハブに対して検索依頼パケットを送信し、仮想ハブは、各ノードに対して検索依頼パケットを送信する。そして、検索依頼パケットを受信したノードは、検索依頼されたデータを記憶していると、その旨を伝える返信パケットを、検索を依頼してきたノードに送信する。したがって、本発明の同報検索システムによれば、検索対象の各ノードにユニキャストパケットを送受信する仮想ハブを設けたので、複数のセグメントのいずれに属するかに関わらず、どのノードからも、各ノードに対してデータを検索できる。これにより、複数のルータを取り替えることなく、仮想ハブを追加するだけで、容易にデータを検索できる。また、仮想ハブが全ノードのIPアドレスを記憶しているので、各ノードは全ノードのIPアドレスを記憶することなく、全ノードに対してデータを検索することができ、ノードの増減(ログイン・ログオフ)が頻繁であっても、各ノードのIPアドレス情報の更新は仮想ハブのみで良く、更新の手間を簡略化できる。   In this configuration, in the broadcast search system, the virtual hub stores the IP address of each node of the network, and each node transmits a search request packet to the virtual hub when receiving a data search request. The virtual hub transmits a search request packet to each node. When the node that has received the search request packet stores the data requested for search, the node transmits a reply packet to that effect to the node that has requested the search. Therefore, according to the broadcast search system of the present invention, since each node to be searched is provided with a virtual hub that transmits and receives unicast packets, regardless of which of the plurality of segments it belongs to, Data can be searched for nodes. As a result, data can be easily retrieved by simply adding a virtual hub without replacing a plurality of routers. In addition, since the virtual hub stores the IP addresses of all nodes, each node can search data for all nodes without storing the IP addresses of all nodes, and increase / decrease of nodes (login / Even if logoff is frequent, the IP address information of each node can be updated only by the virtual hub, and the updating effort can be simplified.

(2)複数のセグメントに分割されたネットワークにおける同報検索システムであって、
複数のデータを記憶するデータ記憶手段、データの検索操作を受け付ける操作手段、及びパケットを送受信するノード通信手段を備え、前記複数のセグメントのいずれかに属し、ユニークなIPアドレスが各々付与された複数のノードと、
複数のデータを記憶するデータ記憶手段、データの検索操作を受け付ける操作手段、及びパケットを送受信する基点ノード通信手段を備え、前記セグメント毎に1つずつ設置され、ユニークなIPアドレスが各々付与された基点ノードと、
セグメント間において、ユニキャストパケットのみを転送するルータと、
前記基点ノードの各IPアドレスを記憶するリスト記憶手段、及び前記基点ノードとユニキャストパケットを送受信するハブ通信手段を備え、ユニークなIPアドレスが付与された仮想ハブと、
を備え、
さらに、前記基点ノードは、それぞれ仮想ハブのIPアドレスを記憶するIP記憶手段を備え、
前記操作手段でデータの検索操作を受け付けたノードは、このデータの検索を依頼する情報と、送信元情報である自身のIPアドレス情報を含むブロードキャストパケットである検索依頼パケットを前記ノード通信手段で送信し、
前記送信元ノードと同じセグメントに属する基点ノードは、前記検索依頼パケットを前記基点ノード通信手段で受信すると、前記仮想ハブに対して、ユニキャストパケットに変換した前記検索依頼パケットを、前記基点ノード通信手段で送信し、
前記仮想ハブは、前記検索依頼パケットを前記ハブ通信手段で受信すると、各基点ノードに対して前記検索依頼パケットを前記ハブ通信手段で送信し、
各基点ノードは、前記仮想ハブから送信された検索依頼パケットを前記基点ノード通信手段で受信すると、前記検索依頼パケットをブロードキャストパケットに変換して、他のノードに対して前記基点ノード通信手段で送信し、
前記各ノード及び前記各基点ノードは、前記検索依頼パケットを受信し、検索を依頼されたデータを前記データ記憶手段が記憶していると、前記送信元ノードに対して、そのデータを記憶している旨の情報と、自身のIPアドレス情報と、を含む返信パケットを前記ノード通信手段で送信することを特徴とする。
(2) A broadcast search system in a network divided into a plurality of segments,
A plurality of data storage means for storing a plurality of data, an operation means for accepting a data search operation, and a node communication means for transmitting and receiving packets, each of which belongs to one of the plurality of segments and has a unique IP address Nodes
A data storage means for storing a plurality of data, an operation means for accepting a data search operation, and a base node communication means for transmitting and receiving packets are installed one by one for each segment, and each is assigned a unique IP address. A base node,
A router that forwards only unicast packets between segments;
A virtual hub provided with a unique IP address, comprising list storage means for storing each IP address of the base node, and hub communication means for transmitting and receiving unicast packets to and from the base node;
With
Further, each of the base nodes includes IP storage means for storing the IP address of the virtual hub,
The node that has received the data search operation by the operation means transmits the search request packet, which is a broadcast packet including information requesting the data search and its own IP address information as the transmission source information, by the node communication means. And
When the base node belonging to the same segment as the source node receives the search request packet by the base node communication means, the base node communication transmits the search request packet converted into a unicast packet to the virtual hub. Send by means,
When the virtual hub receives the search request packet by the hub communication unit, the hub communication unit transmits the search request packet to each base node,
When each base node receives the search request packet transmitted from the virtual hub by the base node communication means, it converts the search request packet into a broadcast packet and transmits it to another node by the base node communication means. And
Each of the nodes and the base node receives the search request packet, and when the data storage means stores the requested data, stores the data to the transmission source node. The node communication means transmits a reply packet including the information indicating that it is present and its own IP address information.

この構成においては、同報検索システムでは、仮想ハブがネットワークの各基点ノードのIPアドレスを記憶しており、各ノードは、データの検索依頼を受け付けると、そのノードが属するセグメントの他のノードや基点ノードに対して検索を依頼するブロードキャストパケットを送信する。基点ノードは、この検索を依頼するブロードキャストパケットを受信すると、ユニキャストパケットに変換した検索依頼パケットを仮想ハブに対して送信する。仮想ハブは、この検索依頼パケットを受信すると、各ノードに対して検索依頼パケットを送信する。検索依頼パケットを受信した基点ノードは、検索依頼パケットを受信すると、ブロードキャストパケットに変換して各セグメントに対して検索依頼パケットを送信する。各ノードは、受信した検索依頼パケットにより検索依頼されたデータを記憶していると、その旨を伝える返信パケットを、検索を依頼してきたノードに送信する。したがって、本発明の同報検索システムによれば、仮想ハブと基点ノードを設けたので、複数のセグメントのいずれに属するかに関わらず、どのノードからも、各ノード及び各基点ノードに対してデータを検索できる。また、仮想ハブは検索依頼パケットを基点ノードに送信すれば良く、各基点ノードが、ブロードキャストにより他のノードに検索依頼パケットを送信するので、仮想ハブと基点ノードで負荷を分担してデータを検索できる。また、仮想ハブが全基点ノードのIPアドレスを記憶しているので、各ノードや各基点ノードが全ノードや全基点ノードのIPアドレスを記憶することなく、データを検索でき、ノードの増減(ログイン・ログオフ)が頻繁であっても、各基点ノードのIPアドレス情報の更新は仮想ハブのみで良く、更新の手間を簡略化できる。   In this configuration, in the broadcast search system, the virtual hub stores the IP address of each base node of the network, and when each node accepts a search request for data, A broadcast packet requesting a search to the base node is transmitted. When the base node receives the broadcast packet requesting the search, the base node transmits the search request packet converted into the unicast packet to the virtual hub. When receiving the search request packet, the virtual hub transmits the search request packet to each node. When receiving the search request packet, the base node that has received the search request packet converts it into a broadcast packet and transmits the search request packet to each segment. When each node stores the data requested for search by the received search request packet, each node transmits a reply packet to that effect to the node that requested the search. Therefore, according to the broadcast search system of the present invention, since the virtual hub and the base node are provided, regardless of which of the plurality of segments it belongs to, any node can send data to each node and each base node. Can be searched. In addition, the virtual hub only needs to transmit the search request packet to the base node, and each base node transmits the search request packet to other nodes by broadcasting, so the virtual hub and the base node share the load to search for data. it can. In addition, since the virtual hub stores the IP addresses of all base nodes, each node and each base node can search data without storing the IP addresses of all nodes and all base nodes, and increase / decrease the number of nodes (login Even if logoff is frequent, the IP address information of each base node need only be updated by the virtual hub, and the updating effort can be simplified.

(3)複数のセグメントに分割されたネットワークにおいて、各セグメントのいずれかに属し、データを分散して記憶する複数のノードの各IPアドレスを記憶するIP記憶手段、
及び前記複数のノードとユニキャストパケットを送受信し、いずれかのノードが送信した、データの検索を依頼する情報と送信元のIPアドレス情報を含む検索依頼パケットを受信すると、前記IP記憶手段が記憶する各ノードのIPアドレスを読み出して、前記各ノードに対して、前記検索依頼パケットを送信するハブ通信手段、
としてコンピュータを機能させることを特徴とする。
(3) In a network divided into a plurality of segments, IP storage means for storing each IP address of a plurality of nodes belonging to any of the segments and storing data in a distributed manner;
And receiving a search request packet including information for requesting data search and IP address information of the transmission source transmitted and received by one of the nodes and transmitting / receiving unicast packets to / from the plurality of nodes. A hub communication means for reading out the IP address of each node and transmitting the search request packet to each node;
It is characterized by functioning a computer.

この構成においては、コンピュータを上記のようなIP記憶手段及びハブ通信手段として機能させることができるので、複数のノードに分散して記憶させたデータを検索する際に、どのセグメントに属するかに関わらず、各ノードに対して確実に検索依頼パケットを送信して、各ノードにデータを検索させることができる。   In this configuration, the computer can function as the IP storage means and the hub communication means as described above. Therefore, when searching for data stored in a distributed manner in a plurality of nodes, it is related to which segment it belongs to. Instead, it is possible to reliably transmit a search request packet to each node and cause each node to search for data.

本発明の同報検索システムによれば、検索対象の各ノードとユニキャスト通信を行う仮想ハブを設けたので、複数のセグメントのいずれに属するノードに対しても、データの検索依頼パケットをユニキャストパケットとして送信することで、データを検索できる。これにより、複数のルータをマルチキャストに対応したものに取り替えることなく仮想ハブを追加するだけで、複数のノードに分散して記憶させたデータを容易に検索できる。   According to the broadcast search system of the present invention, since a virtual hub that performs unicast communication with each node to be searched is provided, a data search request packet is unicast to any node belonging to any of a plurality of segments. Data can be retrieved by sending it as a packet. As a result, data stored in a distributed manner and stored in a plurality of nodes can be easily retrieved by simply adding a virtual hub without replacing a plurality of routers with ones compatible with multicast.

また、本発明の同報検索システムによれば、ネットワークを分割した各セグメントに1つずつ基点ノードを設けるとともに、各基点ノードとユニキャスト通信を行う仮想ハブを設けてデータ検索を行うので、データの検索時の負荷を仮想ハブと基点ノードに分担させることができ、データ検索を効率良く行うことができる。   In addition, according to the broadcast search system of the present invention, a base node is provided for each segment obtained by dividing the network, and a virtual hub that performs unicast communication with each base node is provided to perform data search. The load at the time of the search can be shared between the virtual hub and the base node, and the data search can be performed efficiently.

図1は、同報検索システムの概略構成を示すブロック図である。図2は、同報検索システムのノード及び仮想ハブの概略構成を示すブロック図である。以下では、ネットワークNW1において構築した同報検索システムSS1を例に挙げて説明する。   FIG. 1 is a block diagram showing a schematic configuration of a broadcast search system. FIG. 2 is a block diagram showing a schematic configuration of nodes and virtual hubs in the broadcast search system. Hereinafter, the broadcast search system SS1 constructed in the network NW1 will be described as an example.

図1に示すように、ネットワークNW1は、6つのセグメントS1〜S6に分割され、各セグメントはルータR1,R2により接続されている。すなわち、ルータR1は、セグメントS1,S2,S4,S5,S6の間をそれぞれ接続する。また、ルータR2は、セグメントS2,S3の間を接続する。   As shown in FIG. 1, the network NW1 is divided into six segments S1 to S6, and each segment is connected by routers R1 and R2. That is, the router R1 connects the segments S1, S2, S4, S5, and S6. Router R2 connects between segments S2 and S3.

セグメントS1には、ノードN1,N2が接続されている(属している)。セグメントS2には、ノードN3が接続されている。セグメントS3には、ノードN4,N5が接続されている。セグメントS4には、ノードN6,仮想ハブH1が接続されている。セグメントS5には、ノードN7,N8,N9が接続されている。セグメントS6には、ノードN10が接続されている。   Nodes N1 and N2 are connected to (belong to) the segment S1. A node N3 is connected to the segment S2. Nodes N4 and N5 are connected to the segment S3. A node N6 and a virtual hub H1 are connected to the segment S4. Nodes N7, N8, and N9 are connected to the segment S5. Node N10 is connected to segment S6.

各ノードN1〜N10、及び仮想ハブH1には、それぞれユニークなIPアドレスが付与されている。すなわち、ノードN1のIPアドレスは[192.160.10.1]、ノードN2のIPアドレスは[192.160.10.2、ノードN3のIPアドレスは[192.160.20.1]、ノードN4のIPアドレスは[192.160.30.1]、ノードN5のIPアドレスは[192.160.30.2]、仮想ハブH1のIPアドレスは[192.160.40.1]、ノードN6のIPアドレスは[192.160.40.2]、ノードN7のIPアドレスは[192.160.50.1]、ノードN8のIPアドレスは[192.160.50.2]、ノードN9のIPアドレスは[192.160.50.3]、ノードN10のIPアドレスは[192.160.60.1]である。   A unique IP address is assigned to each of the nodes N1 to N10 and the virtual hub H1. That is, the IP address of the node N1 is [192.160.10.1], the IP address of the node N2 is [192.160.10.2, the IP address of the node N3 is [192.160.20.1], the node The IP address of N4 is [192.160.30.1], the IP address of the node N5 is [192.160.30.2], the IP address of the virtual hub H1 is [192.160.40.1], and the node N6 [192.160.40.2], the IP address of the node N7 is [192.160.50.1], the IP address of the node N8 is [192.160.50.2], and the IP address of the node N9 The address is [192.160.50.3], and the IP address of the node N10 is [192.160.60.1].

仮想ハブH1は、図1(B)に示すような各ノードN1〜N10のIPアドレスをまとめたIPアドレスリストを記憶している。   The virtual hub H1 stores an IP address list that summarizes the IP addresses of the nodes N1 to N10 as shown in FIG.

図2(A)に示すように、各ノードN1〜N10は、それぞれ同じ構成であり、操作部21、表示部23、LANインタフェース(通信部)25、記憶部27、及び制御部29を備えている。   As shown in FIG. 2A, each of the nodes N1 to N10 has the same configuration, and includes an operation unit 21, a display unit 23, a LAN interface (communication unit) 25, a storage unit 27, and a control unit 29. Yes.

操作部21は、ユーザによるデータの検索操作(入力)を受け付ける。   The operation unit 21 receives a data search operation (input) by a user.

表示部23は、操作部21で受け付けた検索を行うファイル名等を表示する。また、表示部23は、ユーザに伝達する事項等を表示する。   The display unit 23 displays the name of a file to be searched for received by the operation unit 21. The display unit 23 displays items to be transmitted to the user.

LANインタフェース(通信部)25は、データ(パケット)の送信及び受信を行う。   The LAN interface (communication unit) 25 transmits and receives data (packets).

記憶部27は、ハードディスクドライブ(HDD)271、ROM273、及びRAM275を備えている。ハードディスクドライブ(HDD)271は、複数のファイル単位のデータを記憶するデータベースである。また、各ノードN1〜N10のハードディスクドライブ271には、それぞれ異なるファイルを記憶している。なお、ファイルのバックアップを考慮して、少なくとも2つのノードが同じファイルを記憶するように設定することも可能である。   The storage unit 27 includes a hard disk drive (HDD) 271, a ROM 273, and a RAM 275. A hard disk drive (HDD) 271 is a database that stores data in units of files. In addition, different files are stored in the hard disk drives 271 of the nodes N1 to N10. In consideration of file backup, it is also possible to set at least two nodes to store the same file.

ROM273は、制御部29が実行するデータ検索プログラム等を記憶する。   The ROM 273 stores a data search program executed by the control unit 29 and the like.

RAM275は、不図示のDHCPサーバにより割り当てられた自身のIPアドレスや仮想ハブH1のIPアドレスを記憶している。   The RAM 275 stores its own IP address assigned by a DHCP server (not shown) and the IP address of the virtual hub H1.

制御部29は、CPUまたはMPUから成り、上記各部を制御する。また、制御部29は、ROM273からデータ検索プログラムを読み出して実行する。すなわち、制御部29は、操作部21でファイル検索の操作を受け付けると、ハードディスクドライブ271のファイルを検索する。また、制御部29は、検索操作を受け付けたファイルがハードディスクドライブ271に無い場合には、検索操作を受け付けたファイル情報と自身のIPアドレス情報を含むユニキャストパケット(検索依頼パケット)をLANインタフェース25から仮想ハブH1に送信させる。   The control unit 29 is composed of a CPU or MPU and controls each of the above units. Further, the control unit 29 reads out and executes a data search program from the ROM 273. That is, when the operation unit 21 receives a file search operation, the control unit 29 searches for a file on the hard disk drive 271. When the hard disk drive 271 does not have a file for which the search operation has been accepted, the control unit 29 sends a unicast packet (search request packet) including the file information for which the search operation has been accepted and its own IP address information to the LAN interface 25. To the virtual hub H1.

図2(B)に示すように、仮想ハブH1は、ノードN1〜N10と同様の構成であり、操作部31、表示部33、LANインタフェース(通信部)35、記憶部37、及び制御部39を備えている。   As shown in FIG. 2B, the virtual hub H1 has the same configuration as the nodes N1 to N10, and includes an operation unit 31, a display unit 33, a LAN interface (communication unit) 35, a storage unit 37, and a control unit 39. It has.

操作部31は、メンテナンスの時などにオペレータの操作(入力)を受け付ける。   The operation unit 31 receives an operator's operation (input) during maintenance or the like.

表示部33は、操作部31で受け付けた操作に応じた内容を表示する。   The display unit 33 displays content corresponding to the operation received by the operation unit 31.

LANインタフェース(通信部)35は、データ(パケット)の送信及び受信を行う。   The LAN interface (communication unit) 35 transmits and receives data (packets).

記憶部37は、ハードディスクドライブ(HDD)371、ROM373、及びRAM375を備えている。ハードディスクドライブ(HDD)371は、複数のデータやプログラムを記憶する。   The storage unit 37 includes a hard disk drive (HDD) 371, a ROM 373, and a RAM 375. A hard disk drive (HDD) 371 stores a plurality of data and programs.

ROM373は、制御部39が実行する同報検索プログラム等を記憶する。   The ROM 373 stores a broadcast search program executed by the control unit 39.

RAM375は、自身のIPアドレスを記憶している。また、RAM375は、図1(B)に示したIPアドレスリストを記憶している。   The RAM 375 stores its own IP address. The RAM 375 stores the IP address list shown in FIG.

制御部39は、CPUまたはMPUから成り、上記各部を制御する。また、制御部39は、LANインタフェース35を介して検索依頼パケットを受信すると、同報検索プログラムを実行する。すなわち、制御部39は、この検索依頼パケットに含まれるIPアドレス情報を確認するとともに、RAM375で記憶するIPアドレスリストを読み出す。そして、制御部39は、検索依頼パケットを送信してきたノード以外のIPアドレスリストにリストアップされた全ノードに対して、LANインタフェース35からこの検索依頼パケットを送信させる。   The control unit 39 is composed of a CPU or MPU and controls each of the above units. In addition, when receiving a search request packet via the LAN interface 35, the control unit 39 executes a broadcast search program. That is, the control unit 39 confirms the IP address information included in the search request packet and reads the IP address list stored in the RAM 375. Then, the control unit 39 causes the LAN interface 35 to transmit this search request packet to all the nodes listed in the IP address list other than the node that has transmitted the search request packet.

ルータR1,R2は、一般的なルータと同様の構成であるため、詳細な説明を省略する。ルータR1,R2は、マルチキャストには対応していないルータであり、セグメント間においてユニキャストパケットのみを転送する。また、ルータR1,R2は、ブロードキャストパケットを他のセグメントには転送しない。   Since the routers R1 and R2 have the same configuration as a general router, detailed description thereof is omitted. Routers R1 and R2 are routers that do not support multicast, and transfer only unicast packets between segments. Routers R1 and R2 do not transfer broadcast packets to other segments.

次に、ネットワークNW1における同報検索システムSS1の概要、及び各装置の動作について説明する。   Next, an overview of the broadcast search system SS1 in the network NW1 and the operation of each device will be described.

同報検索システムSS1では、各ノードN1〜N10に複数のファイルを分散して記憶させている。また、各ノードN1〜N10は、いずれも、他のノードが記憶するファイルを検索する検索端末(検索依頼ノード)として使用できる。さらに、ネットワークNW1では、マルチキャストには対応していない一般的なルータR1,R2を使用して複数のセグメント間を接続している。そのため、ネットワークNW1の各ノードN1〜N10は、そのノードが属するセグメントを超えて、他の全ノードに対してブロードキャスト検索やマルチキャスト検索を行うことができない。   In the broadcast search system SS1, a plurality of files are distributed and stored in each of the nodes N1 to N10. Each of the nodes N1 to N10 can be used as a search terminal (search request node) for searching for a file stored in another node. Furthermore, in the network NW1, a plurality of segments are connected using general routers R1 and R2 that do not support multicast. Therefore, each node N1 to N10 of the network NW1 cannot perform broadcast search or multicast search for all other nodes beyond the segment to which the node belongs.

そこで、本発明の同報検索システムSS1では、ネットワークNW1を分割した複数のセグメントS1〜S6のいずれかに属する全ノードN1〜N10に対してファイルを検索できるように、全ノードN1〜N10とユニキャストパケットを送受信する仮想ハブH1を設けて、この仮想ハブH1を介してファイルを検索できるように構成している。   Therefore, in the broadcast search system SS1 of the present invention, a file can be searched for all the nodes N1 to N10 so as to search all the nodes N1 to N10 belonging to any of the plurality of segments S1 to S6 divided from the network NW1. A virtual hub H1 that transmits and receives cast packets is provided, and a file can be searched through the virtual hub H1.

ここで、仮想ハブH1のIPアドレスは固定されており、各ノードN1〜N10は、仮想ハブH1のIPアドレス情報をハードディスクドライブ271またはROM273で予め記憶している。各ノードN1〜N10は、起動時に仮想ハブH1に対して接続確認を行う。そして、仮想ハブH1は、稼働中の各ノードのIPアドレス情報を取得して、図1(B)に示した各ノードのIPアドレスリストを作成し、RAM375に記憶させる。また、仮想ハブH1は、IPアドレスリストにリストアップされたノードに対して、一定時間毎に接続確認を行う。そして、仮想ハブH1は、各ノードの稼働状況を把握して、IPアドレスリストの更新を行う。このように仮想ハブH1は、各ノードの最新の接続状況を示すIPアドレスリストを用いて同報検索を行う。   Here, the IP address of the virtual hub H1 is fixed, and each of the nodes N1 to N10 stores the IP address information of the virtual hub H1 in the hard disk drive 271 or the ROM 273 in advance. Each of the nodes N1 to N10 confirms connection to the virtual hub H1 at the time of activation. Then, the virtual hub H1 acquires the IP address information of each operating node, creates the IP address list of each node shown in FIG. 1B, and stores it in the RAM 375. Further, the virtual hub H1 confirms connection to the nodes listed in the IP address list at regular intervals. Then, the virtual hub H1 grasps the operation status of each node and updates the IP address list. In this way, the virtual hub H1 performs a broadcast search using the IP address list indicating the latest connection status of each node.

図1に示したネットワークNW1における同報検索システムSS1では、ファイル検索時に以下のように処理を行う。図3は、同報検索システムの動作を説明するためのフローチャートである。   The broadcast search system SS1 in the network NW1 shown in FIG. 1 performs the following process when searching for a file. FIG. 3 is a flowchart for explaining the operation of the broadcast search system.

ネットワークNW1のノードN1〜N10のいずれか(例えば、ノードN7)の制御部29は、操作部21からファイルの検索操作を受け付けるまで待機し(s1:N)、操作部21からファイルの検索操作を受け付けると(s1:Y)、自身のハードディスクドライブ271を検索して、検索操作を受け付けたファイルの有無を確認する(s2)。制御部29は、ハードディスクドライブ271に検索操作のあったファイルが保存されている場合には(s3:Y)、検索を完了したこと、及び検索対象のファイルをハードディスクドライブ271で記憶していることを表示部23に表示させる(s8)。   The control unit 29 of any one of the nodes N1 to N10 (for example, the node N7) of the network NW1 waits until receiving a file search operation from the operation unit 21 (s1: N), and performs a file search operation from the operation unit 21. When it is received (s1: Y), it searches its own hard disk drive 271 and checks whether there is a file for which the search operation has been received (s2). When the file subjected to the search operation is stored in the hard disk drive 271 (s3: Y), the control unit 29 has completed the search and stores the search target file in the hard disk drive 271. Is displayed on the display unit 23 (s8).

一方、ノードN7の制御部29は、検索操作のあったファイルがハードディスクドライブ271に保存されていない場合には(s3:N)、操作部21から検索操作のあったファイルの情報(例えば、ファイル名、ファイルサイズ、ファイル作成日・更新日等の情報)と、このファイルの検索を依頼する情報と、送信元である自身のIPアドレス情報と、送信先である仮想ハブH1のIPアドレス情報と、を含むユニキャストパケットである検索依頼パケットを送信する(s4)。   On the other hand, if the file for which the search operation has been performed is not stored in the hard disk drive 271 (s3: N), the control unit 29 of the node N7 has information on the file for which the search operation has been performed from the operation unit 21 (for example, file Information such as name, file size, file creation date / update date), information for requesting retrieval of this file, own IP address information as the transmission source, and IP address information of the virtual hub H1 as the transmission destination The search request packet, which is a unicast packet including, is transmitted (s4).

ノードN7から送信された検索依頼パケットは、ルータR1によりセグメントS5からセグメントS4に転送されて仮想ハブH1に送られる。   The search request packet transmitted from the node N7 is transferred from the segment S5 to the segment S4 by the router R1 and sent to the virtual hub H1.

仮想ハブH1は、ノードN7からの検索依頼パケットを受信するまで待機しており(s11:N)、ノードN7からの検索依頼パケットを受信すると(s11:Y)、このパケットの送信元であるノードN7以外の全ノードN1〜N6,N8〜N10に対して、ユニキャストパケットである検索依頼パケットを一斉にまたは順に送信する(s12)。そして、ステップs11の処理を行う。   The virtual hub H1 waits until receiving the search request packet from the node N7 (s11: N), and when receiving the search request packet from the node N7 (s11: Y), the node that is the transmission source of this packet A search request packet, which is a unicast packet, is transmitted simultaneously or sequentially to all the nodes N1 to N6 and N8 to N10 other than N7 (s12). Then, the process of step s11 is performed.

具体的には、仮想ハブH1の制御部39は、ノードN7が送信元である検索依頼パケットをLANインタフェース35で受信すると、RAM375からIPアドレスリストを読み出す。そして、制御部39は、検索依頼パケットの送信先IPアドレス情報を、ノードN1〜N6,N8〜N10のいずれかに置き換えた検索依頼パケットを生成する。これにより、検索依頼パケットは、検索操作のあったファイルの情報と、このファイルの検索を依頼する情報と、送信元であるノードN7のIPアドレス情報と、送信先であるノードN1〜N6,N8〜N10のいずれかのIPアドレス情報と、を含むユニキャストパケットとなる。制御部39は、これらの検索依頼パケット(ユニキャストパケット)をLANインタフェース35に各ノードN1〜N6,N8〜N10へ送信させる。   Specifically, the control unit 39 of the virtual hub H <b> 1 reads the IP address list from the RAM 375 when the LAN interface 35 receives a search request packet whose source is the node N <b> 7. Then, the control unit 39 generates a search request packet in which the destination IP address information of the search request packet is replaced with any of the nodes N1 to N6 and N8 to N10. As a result, the search request packet includes information on the file for which the search operation has been performed, information for requesting the search for the file, IP address information of the node N7 that is the transmission source, and nodes N1 to N6 and N8 that are the transmission destinations. A unicast packet including any IP address information of N10. The control unit 39 causes the LAN interface 35 to transmit these search request packets (unicast packets) to the nodes N1 to N6 and N8 to N10.

各ノードN1〜N6,N8〜N10の制御部29は、この検索依頼パケットをLANインタフェース25で受信するまで待機しており(s21:N)、この検索依頼パケットをLANインタフェース25で受信すると(s21:Y)、パケットに含まれるファイル情報を読み出して、このファイルをハードディスクドライブ271に記憶しているか否かを確認する(s22)。   The control unit 29 of each of the nodes N1 to N6 and N8 to N10 waits until the search request packet is received by the LAN interface 25 (s21: N), and when the search request packet is received by the LAN interface 25 (s21 : Y), the file information included in the packet is read, and it is confirmed whether or not this file is stored in the hard disk drive 271 (s22).

各ノードの制御部29は、検索を依頼されたファイルをハードディスクドライブ271が記憶していない場合には、検索依頼に対する応答は行わずに(s23:N)、続いてステップs21の処理を行う。一方、各ノードの制御部29は、検索を依頼されたファイルをハードディスクドライブ271が記憶している場合には(s23:Y)、ファイルを記憶している旨の情報と、自身のIPアドレス情報と、を含む返信パケット(ユニキャストパケット)を作成する。そして、制御部29は、検索を依頼してきたノードN7に対して、この返信パケットを送信する(s24)。   If the hard disk drive 271 does not store the requested file for search, the control unit 29 of each node does not respond to the search request (s23: N), and then performs the process of step s21. On the other hand, when the hard disk drive 271 stores the file requested to be searched (s23: Y), the control unit 29 of each node stores information indicating that the file is stored and its own IP address information. And a reply packet (unicast packet) is created. Then, the control unit 29 transmits this reply packet to the node N7 that has requested the search (s24).

例えば、ノードN4が検索依頼されたファイルを記憶している場合、ノードN4の制御部29は、検索依頼パケットに含まれる送信元(ノードN7)のIPアドレス情報を読み出して、検索依頼されたファイルデータを記憶している旨の情報と、送信元である自身(ノードN4)のIPアドレス情報と、送信先であるノードN7のIPアドレス情報と、を含む返信パケット(ユニキャストパケット)を作成する。そして、ノードN4の制御部29は、LANインタフェース25にこの返信パケットを送信させる。   For example, when the node N4 stores the file requested to be searched, the control unit 29 of the node N4 reads the IP address information of the transmission source (node N7) included in the search request packet, and the file requested to be searched. A reply packet (unicast packet) including information indicating that the data is stored, the IP address information of the transmission source node (node N4) and the IP address information of the transmission destination node N7 is created. . Then, the control unit 29 of the node N4 causes the LAN interface 25 to transmit this reply packet.

ノードN4から送信された返信パケットは、ルータR2によりセグメントS3からセグメントS2に転送され、さらに、ルータR1によりセグメントS2からセグメントS5に転送されてノードN7に送られる。   The reply packet transmitted from the node N4 is transferred from the segment S3 to the segment S2 by the router R2, and further transferred from the segment S2 to the segment S5 by the router R1 and sent to the node N7.

検索を依頼したノードN7は、返信パケットを受信するまで待機しており(s5:N)、返信パケットを受信すると(s5:Y)、ファイルを記憶するノードN4に対してファイルの送信を依頼するパケットを送信する(s6)。すなわち、ノードN7の制御部29は、この返信パケットをLANインタフェース25で受信すると、パケットに含まれる情報を確認して、ファイルの送信を依頼する情報と、送信元(ノードN7)のIPアドレス情報と、送信先(ノードN4)のIPアドレス情報と、を含む送信依頼パケット(ユニキャストパケット)を作成する。続いて、ノードN7の制御部29は、LANインタフェース25にこの送信依頼パケットを送信させる。   The node N7 that requested the search waits until a reply packet is received (s5: N). When the reply packet is received (s5: Y), the node N4 that stores the file requests the file transmission. A packet is transmitted (s6). That is, when the control unit 29 of the node N7 receives this reply packet through the LAN interface 25, the control unit 29 confirms the information included in the packet, requests the transmission of the file, and the IP address information of the transmission source (node N7) And a transmission request packet (unicast packet) including the destination (node N4) IP address information. Subsequently, the control unit 29 of the node N7 causes the LAN interface 25 to transmit this transmission request packet.

ファイルを記憶しているノードN4は、ファイルの送信依頼パケットを受信するまで待機しており(s25:N)、ファイルの送信依頼パケットを受信すると(s25:Y)、ハードディスクドライブ271からファイルのデータを読み出して、検索を依頼してきたノードN7に検索対象のファイルを送信する(s26)。ノードN7は、ファイルの受信が完了すると(s7)、検索を完了したこと、及び検索対象のファイルを取得してハードディスクドライブ271に記憶させたことを表示部23に表示させる(s8)。   The node N4 storing the file stands by until a file transmission request packet is received (s25: N). When a file transmission request packet is received (s25: Y), the file data from the hard disk drive 271 is received. And the search target file is transmitted to the node N7 that requested the search (s26). When the reception of the file is completed (s7), the node N7 displays on the display unit 23 that the search has been completed and that the search target file has been acquired and stored in the hard disk drive 271 (s8).

そして、ノードN7とノードN4は、ファイルの送受信が完了すると、やりとりを終了して、ステップs1,s21からの処理を行う。   Then, when the transmission and reception of the file are completed, the node N7 and the node N4 end the exchange and perform the processing from steps s1 and s21.

このように、図1に示した同報検索システムSS1では、仮想ハブH1が、いずれかのノードから送信された検索依頼パケットを受信すると、各ノードに対してそれぞれユニキャスト通信により検索依頼パケットを送信する。これにより、複数のセグメントに分割されたネットワークにおいても、仮想ハブを設けるのみで、現行のネットワーク構成を変更することなく、ブロードキャスト検索のように、各ノードに分散して記憶させたファイルを検索できる。   As described above, in the broadcast search system SS1 shown in FIG. 1, when the virtual hub H1 receives a search request packet transmitted from any node, the search request packet is transmitted to each node by unicast communication. Send. As a result, even in a network divided into a plurality of segments, it is possible to search for a file that is distributed and stored in each node like a broadcast search without changing the current network configuration by simply providing a virtual hub. .

ここで、仮想ハブH1は、ネットワークNW1のいずれのセグメントに設けても良く、また、新たにネットワークNW1に設けるようにしても良い。また、例えばネットワークNW1に既設の管理用コンピュータに同報検索プログラムをインストールすることで、この管理用コンピュータを仮想ハブとして機能させることができる。   Here, the virtual hub H1 may be provided in any segment of the network NW1, or may be newly provided in the network NW1. Further, for example, by installing a broadcast search program on an existing management computer in the network NW1, this management computer can function as a virtual hub.

ここで、上記の説明では、ファイルの検索操作を受け付けたノードは、まず自身のハードディスクドライブを検索し、検索するファイルが無いと、仮想ハブに対して検索依頼パケットを送信する場合について説明したが、本発明はこれに限るものではなく、以下に述べる構成であっても良い。すなわち、ファイルの検索操作を例えばノードN7が受け付けると、まず、検索依頼パケットを生成して、仮想ハブH1に送信する。そして、仮想ハブH1は、この検索依頼パケットを受信すると、全ノードN1〜N10に対して、ユニキャストパケットである検索依頼パケットを一斉にまたは順に送信し、各ノードN1〜N10は検索依頼パケットを受信すると、自身のハードディスクを検索するように構成することも可能である。このように構成することで、検索操作を受け付けると直ちに全ノードにおいてファイルを検索するので、特にノード数が多い場合には、検索操作を受け付けたノードにファイルが存在する確率が低いので、自身のハードディスクを検索後に他のノードを検索するよりもファイルの検索時間を短縮できる。   Here, in the above description, the node that has received the file search operation first searches its own hard disk drive, and if there is no file to be searched, the search request packet is transmitted to the virtual hub. However, the present invention is not limited to this, and may be configured as follows. That is, when the file search operation is received by, for example, the node N7, first, a search request packet is generated and transmitted to the virtual hub H1. When the virtual hub H1 receives the search request packet, the virtual hub H1 transmits the search request packet, which is a unicast packet, to all the nodes N1 to N10 all at once or in sequence, and each of the nodes N1 to N10 transmits the search request packet. It can also be configured to search for its own hard disk upon receipt. With this configuration, when a search operation is accepted, files are searched in all the nodes immediately. Therefore, particularly when there are many nodes, the probability that a file exists in the node that accepted the search operation is low. The file search time can be shortened compared to searching for another node after searching the hard disk.

次に、別の同報検索システムの構成を説明する。図4は、図1とは異なる同報検索システムの概略構成を示すブロック図である。以下では、ネットワークNW2において構築した同報検索システムSS2を例に挙げて説明する。   Next, the configuration of another broadcast search system will be described. FIG. 4 is a block diagram showing a schematic configuration of a broadcast search system different from FIG. Hereinafter, the broadcast search system SS2 constructed in the network NW2 will be described as an example.

図4に示すように、ネットワークNW2は、6つのセグメントS11〜S16に分割され、各セグメントはルータR11,R12により接続されている。すなわち、ルータR11は、セグメントS11,S12,S14,S15,S16の間をそれぞれ接続する。また、ルータR2は、セグメントS12,S13の間を接続する。   As shown in FIG. 4, the network NW2 is divided into six segments S11 to S16, and each segment is connected by routers R11 and R12. That is, the router R11 connects the segments S11, S12, S14, S15, and S16, respectively. The router R2 connects the segments S12 and S13.

セグメントS11には、基点ノードK11及びノードN11が接続されている(属している)。セグメントS12には、基点ノードK12が接続されている。セグメントS13には、基点ノードK13及びノードN12が接続されている。セグメントS14には、基点ノードK14及び仮想ハブH11が接続されている。セグメントS15には、基点ノードK15及びノードN13,N14が接続されている。セグメントS16には、基点ノードK16が接続されている。   The base node K11 and the node N11 are connected (belongs) to the segment S11. A base node K12 is connected to the segment S12. A base node K13 and a node N12 are connected to the segment S13. A base node K14 and a virtual hub H11 are connected to the segment S14. A base node K15 and nodes N13 and N14 are connected to the segment S15. A base node K16 is connected to the segment S16.

各基点ノードK11〜K16、各ノードN11〜N14、及び仮想ハブH11には、それぞれユニークなIPアドレスが付与されている。すなわち、ノードN11のIPアドレスは[192.165.10.1]、基点ノードK11のIPアドレスは[192.165.10.2]、基点ノードK12のIPアドレスは[192.165.20.1]、基点ノードK13のIPアドレスは[192.165.30.1]、ノードN12のIPアドレスは[192.165.30.2]、仮想ハブH1のIPアドレスは[192.165.40.1]、基点ノードK14のIPアドレスは[192.165.40.2]、ノードN13のIPアドレスは[192.165.50.1]、基点ノードK15のIPアドレスは[192.165.50.2]、ノードN14のIPアドレスは[192.165.50.3]、基点ノードK16のIPアドレスは[192.165.60.1]である。   A unique IP address is assigned to each of the base nodes K11 to K16, each of the nodes N11 to N14, and the virtual hub H11. That is, the IP address of the node N11 is [192.168.10.1], the IP address of the base node K11 is [192.168.10.2], and the IP address of the base node K12 is [192.168.20.1]. ], The IP address of the base node K13 is [192.168.30.1], the IP address of the node N12 is [192.168.30.2], and the IP address of the virtual hub H1 is [192.168.5.40.1]. ], The IP address of the base node K14 is [192.168.5.40.2], the IP address of the node N13 is [192.168.50.1], and the IP address of the base node K15 is [192.168.5.50.2]. ], The IP address of the node N14 is [192.168.5.50.3], and the IP address of the base node K16 is [192.168.165. It is a.

仮想ハブH11は、図4(B)に示すような各基点ノードK11〜K16及び自身のIPアドレスリストを記憶している。   The virtual hub H11 stores the base nodes K11 to K16 and its own IP address list as shown in FIG.

図4に示すノードN11〜N14、及び基点ノードK11〜K16は、図2(A)に示したノードN1〜N10の構成と同じである。また、図4に示す仮想ハブH11は、図2(B)に示した仮想ハブH1の構成と同じである。そのため、図示及び説明を省略する。   Nodes N11 to N14 and base nodes K11 to K16 illustrated in FIG. 4 have the same configurations as the nodes N1 to N10 illustrated in FIG. Also, the virtual hub H11 shown in FIG. 4 has the same configuration as the virtual hub H1 shown in FIG. Therefore, illustration and description are omitted.

ルータR11,R12は、一般的なルータと同様の構成であるため、詳細な説明を省略する。ルータR11,R12は、マルチキャストには対応していないルータであり、セグメント間においてユニキャストパケットのみを転送する。また、ルータR11,R12は、ブロードキャストパケットを他のセグメントには転送しない。   Since the routers R11 and R12 have the same configuration as a general router, detailed description thereof is omitted. Routers R11 and R12 are routers that do not support multicast, and transfer only unicast packets between segments. Also, the routers R11 and R12 do not transfer the broadcast packet to other segments.

次に、ネットワークNW2における同報検索システムSS2の概要、及び各装置の動作について説明する。   Next, an overview of the broadcast search system SS2 in the network NW2 and the operation of each device will be described.

同報検索システムSS2では、ノードN11〜N14、及び基点ノードK11〜K16に複数のファイルを分割して記憶させている。また、ノードN11〜N14、及び基点ノードK11〜K16は、いずれも他のノードや基点ノードに対する検索端末(検索依頼ノード)となる。さらに、ネットワークNW2では、マルチキャストには対応していない一般的なルータR11,R12を使用して複数のセグメント間を接続している。そのため、ネットワークNW2の各ノードN11〜N14、基点ノードK11〜K16は、そのノードが属するセグメントを超えて、他の全ノードに対してブロードキャスト検索やマルチキャスト検索を行うことができない。   In the broadcast search system SS2, a plurality of files are divided and stored in the nodes N11 to N14 and the base point nodes K11 to K16. Also, the nodes N11 to N14 and the base point nodes K11 to K16 are all search terminals (search request nodes) for other nodes and base points. Furthermore, in the network NW2, a plurality of segments are connected using general routers R11 and R12 that do not support multicast. Therefore, each of the nodes N11 to N14 and the base nodes K11 to K16 of the network NW2 cannot perform broadcast search or multicast search for all other nodes beyond the segment to which the node belongs.

そこで、本発明の同報検索システムSS2では、ネットワークNW2を分割した複数のセグメントS11〜S16のいずれかに属する全ノードN11〜N14及び全基点ノードK11〜K16に対してファイルを検索できるように、ノードN11〜N14とブロードキャストパケットを送受信する基点ノードK11〜K16と、各基点ノードK11〜K16とユニキャストパケットを送受信する仮想ハブH11と、を設けて、各基点ノードK11〜K16及び仮想ハブH11を介してファイルを検索できるように構成している。   Therefore, in the broadcast search system SS2 of the present invention, files can be searched for all the nodes N11 to N14 and all the base nodes K11 to K16 belonging to any of the plurality of segments S11 to S16 obtained by dividing the network NW2. The base nodes K11 to K16 that transmit and receive broadcast packets to and from the nodes N11 to N14 and the virtual hubs H11 that transmit and receive unicast packets to and from the base nodes K11 to K16 are provided, and the base nodes K11 to K16 and the virtual hub H11 It is configured to be able to search for files via

ここで、仮想ハブH11のIPアドレスは、固定されており、各基点ノードK11〜K16は、仮想ハブH11のIPアドレス情報を予め記憶している。各基点ノードK11〜K16は、起動時に仮想ハブH11に対して接続確認を行う。そして、仮想ハブH11は、稼働中の各基点ノードのIPアドレス情報を取得して、図4(B)に示すような各基点ノードのIPアドレスリストを作成し、RAM375に記憶させる。また、仮想ハブH11は、IPアドレスリストにリストアップされた基点ノードに対して、一定時間毎に接続確認を行う。そして、仮想ハブH11は、各基点ノードの稼働状況を把握して、IPアドレスリストの更新を行う。仮想ハブH11は、各ノードの最新の接続状況を示すIPアドレスリストを用いて同報検索を行う。   Here, the IP address of the virtual hub H11 is fixed, and each of the base nodes K11 to K16 stores the IP address information of the virtual hub H11 in advance. Each of the base nodes K11 to K16 performs connection confirmation with the virtual hub H11 at the time of activation. Then, the virtual hub H11 acquires the IP address information of each active base node, creates an IP address list of each base node as shown in FIG. 4B, and stores it in the RAM 375. In addition, the virtual hub H11 confirms connection to the base node listed in the IP address list at regular intervals. The virtual hub H11 then grasps the operating status of each base node and updates the IP address list. The virtual hub H11 performs a broadcast search using an IP address list indicating the latest connection status of each node.

ノードN11〜N14には、図1に示したノードN1〜N10とは異なるデータ検索プログラムがインストールされている。すなわち、ノードN11〜N14の制御部29は、操作部21でファイル検索の操作を受け付けると、ハードディスクドライブ271のファイルを検索する。制御部29は、検索操作を受け付けたファイルがハードディスクドライブ271に無い場合には、検索操作を受け付けたファイル情報と自身のIPアドレス情報を含むブロードキャストパケット(検索依頼パケット)をLANインタフェース25から、そのノードが属するセグメント全体に対して送信させる。また、ノードN11〜N14の制御部29は、検索依頼パケット(ブロードキャストパケット)を受信すると、ハードディスクドライブ271のファイルを検索し、ファイルを記憶していれば、ファイルを検索依頼元のノードに送信する。   A data search program different from the nodes N1 to N10 shown in FIG. 1 is installed in the nodes N11 to N14. That is, the control unit 29 of the nodes N11 to N14 searches for a file on the hard disk drive 271 when the operation unit 21 receives a file search operation. If the hard disk drive 271 does not have a file for which the search operation has been accepted, the control unit 29 sends a broadcast packet (search request packet) including the file information for which the search operation has been accepted and its own IP address information from the LAN interface 25. Send to the entire segment to which the node belongs. Further, when receiving the search request packet (broadcast packet), the control unit 29 of the nodes N11 to N14 searches for a file in the hard disk drive 271 and, if the file is stored, transmits the file to the search request source node. .

基点ノードK11〜16には、中継・検索プログラムがインストールされている。すなわち、基点ノードK11〜16の制御部29は、検索依頼パケット(ブロードキャストパケット)を受信すると、仮想ハブH11を送信先とするユニキャストパケットに変換して、この検索依頼パケットを仮想ハブH11に送信する。また、基点ノードK11〜16の制御部29は、検索依頼パケット(ユニキャストパケット)を受信すると、基点ノードが属するセグメント全体を送信先とするブロードキャストパケットに変換して、この検索依頼パケットを送信する。   A relay / search program is installed in the base node K11-16. That is, when receiving the search request packet (broadcast packet), the control unit 29 of the base node K11 to 16 converts the search request packet (broadcast packet) into a unicast packet having the virtual hub H11 as a transmission destination, and transmits the search request packet to the virtual hub H11. To do. When receiving the search request packet (unicast packet), the control unit 29 of the base node K11-16 converts the entire segment to which the base node belongs to a broadcast packet, and transmits this search request packet. .

基点ノードK11〜16の制御部29は、操作部21でファイル検索の操作を受け付けると、ハードディスクドライブ271のファイルを検索する。そして、ファイルを記憶していれば、このファイルを検索依頼元ノードに送信する。   When the operation unit 21 receives a file search operation, the control unit 29 of the base node K11 to 16 searches for a file on the hard disk drive 271. If the file is stored, the file is transmitted to the search request source node.

また、仮想ハブH11には、図1に示した仮想ハブH1とは異なる同報検索プログラムがインストールされている。すなわち、制御部39は、検索依頼パケットを受信すると、この検索依頼パケットに含まれるIPアドレス情報を確認するとともに、RAM375に記憶されたIPアドレスリストを読み出す。そして、制御部39は、検索依頼パケットを送信してきた基点ノード以外の、IPアドレスリストにリストアップされた全基点ノードに対して、LANインタフェース35からこの検索依頼パケットを送信させる。   In addition, a broadcast search program different from the virtual hub H1 shown in FIG. 1 is installed in the virtual hub H11. That is, when receiving the search request packet, the control unit 39 checks the IP address information included in the search request packet and reads the IP address list stored in the RAM 375. Then, the control unit 39 causes the LAN interface 35 to transmit the search request packet to all the base nodes listed in the IP address list other than the base node that has transmitted the search request packet.

次に、同報検索システムSS2の動作を説明する。図5は、図4に示す同報検索システムの動作を説明するためのフローチャートである。   Next, the operation of the broadcast search system SS2 will be described. FIG. 5 is a flowchart for explaining the operation of the broadcast search system shown in FIG.

図4に示すネットワークNW2における同報検索システムSS2では、ファイル検索時に以下のような処理を行う。   The broadcast search system SS2 in the network NW2 shown in FIG. 4 performs the following processing when searching for a file.

ネットワークNW2のノードN11〜N14のいずれか(例えばノードN13)の制御部29は、操作部21からファイルの検索操作を受け付けるまで待機しており(s41:N)、操作部21からファイルの検索操作を受け付けると(s41:Y)、自身のハードディスクドライブ271を検索して、検索操作を受け付けたファイルの有無を確認する(s42)。制御部29は、ハードディスクドライブ271に検索操作のあったファイルが保存されている場合には(s43:Y)、検索を完了したこと、及び検索対象のファイルをハードディスクドライブ271で記憶していることを表示部23に表示させる(s48)。   The control unit 29 of any one of the nodes N11 to N14 (for example, the node N13) of the network NW2 waits until receiving a file search operation from the operation unit 21 (s41: N). Is received (s41: Y), the hard disk drive 271 is searched for, and the presence or absence of a file for which the search operation has been received is confirmed (s42). When the file subjected to the search operation is stored in the hard disk drive 271 (s43: Y), the control unit 29 indicates that the search is completed and the search target file is stored in the hard disk drive 271. Is displayed on the display unit 23 (s48).

一方、ノードN13の制御部29は、検索操作のあったファイルがハードディスクドライブ271に保存されていない場合(s43:N)には、操作部21から検索操作のあったファイルの情報(例えば、ファイル名、ファイルサイズ、ファイル作成日・更新日等の情報)と、このファイルの検索を依頼する情報と、送信元である自身のIPアドレス情報と、送信先としてセグメントS15全体を指定するブロードキャストIPアドレス情報と、を含むブロードキャストパケットである検索依頼パケットを送信する(s44)。   On the other hand, when the file for which the search operation has been performed is not stored in the hard disk drive 271 (s43: N), the control unit 29 of the node N13 information on the file for which the search operation has been performed from the operation unit 21 (for example, file Information such as name, file size, file creation date / update date), information for requesting retrieval of this file, own IP address information as a transmission source, and broadcast IP address designating the entire segment S15 as a transmission destination A search request packet that is a broadcast packet including information is transmitted (s44).

ノードN13から送信された検索依頼パケットは、同じセグメントS15内の他のノードN14や基点ノードK15に送られる。   The search request packet transmitted from the node N13 is sent to other nodes N14 and the base node K15 in the same segment S15.

基点ノードK15は、同じセグメントのノードからの検索依頼パケットを受信するか(s51:N)、操作部21からファイルの検索操作を受け付けるまでは(s53:N)、待機している。基点ノードK15は、ノードN13からの検索依頼パケットを受信すると(s51:Y)、この検索依頼パケットを、ユニキャストパケットに変換して仮想ハブH11に送信する(s52)。   The base node K15 waits until a search request packet is received from a node in the same segment (s51: N) or until a file search operation is received from the operation unit 21 (s53: N). When receiving the search request packet from the node N13 (s51: Y), the base node K15 converts the search request packet into a unicast packet and transmits it to the virtual hub H11 (s52).

具体的には、基点ノードK15の制御部29は、ノードN13が送信元である検索依頼パケットをLANインタフェース25で受信すると、RAM275から仮想ハブH11のIPアドレスを読み出す。そして、制御部29は、検索依頼パケットの送信先IPアドレス情報を仮想ハブH11に置き換えた検索依頼パケットを生成する。これにより、検索依頼パケットは、検索操作のあったファイルの情報と、このファイルの検索を依頼する情報と、送信元であるノードN13のIPアドレス情報と、送信先である仮想ハブH11のIPアドレス情報と、を含むユニキャストパケットとなる。制御部29は、この検索依頼パケット(ユニキャストパケット)をLANインタフェース25に仮想ハブH11へ送信させる。そして、ステップs54の処理を行う。   Specifically, the control unit 29 of the base node K15 reads the IP address of the virtual hub H11 from the RAM 275 when the LAN interface 25 receives a search request packet whose source is the node N13. Then, the control unit 29 generates a search request packet in which the transmission destination IP address information of the search request packet is replaced with the virtual hub H11. As a result, the search request packet includes information on the file for which the search operation has been performed, information for requesting search for this file, IP address information of the node N13 that is the transmission source, and IP address of the virtual hub H11 that is the transmission destination. And a unicast packet including information. The control unit 29 causes the LAN interface 25 to transmit this search request packet (unicast packet) to the virtual hub H11. Then, the process of step s54 is performed.

また、基点ノードK11〜16の制御部29は、検索依頼パケットを受信していないときに(s51:N)、操作部21からファイルの検索操作を受け付けると(s53:Y)、自身のハードディスクドライブ271を検索して、検索操作を受け付けたファイルの有無を確認する(s54)。   In addition, when the control unit 29 of the base node K11-16 has not received the search request packet (s51: N) and receives a file search operation from the operation unit 21 (s53: Y), its own hard disk drive. 271 is searched to check whether there is a file for which the search operation has been accepted (s54).

制御部29は、検索を依頼されたファイルをハードディスクドライブ271が記憶していない場合(s55:N)には、検索依頼に対する応答は行わずに、続いてステップs51の処理を行う。   If the hard disk drive 271 does not store the requested file for search (s55: N), the control unit 29 does not respond to the search request and then performs the process of step s51.

一方、基点ノードがファイルを記憶していた場合には、基点ノードとファイルの検索依頼元のノード(ノードN13)は、ファイルの送受信処理を行う。すなわち、基点ノードK15の制御部29は、検索依頼されたファイルをハードディスクドライブ271が記憶している場合には(s55:Y)、その旨の情報と、自身のIPアドレス情報と、を含む返信パケットを作成して、検索を依頼してきたノードに対して、この返信パケットを送信する(s56)。   On the other hand, if the base node has stored the file, the base node and the file search request source node (node N13) perform file transmission / reception processing. That is, when the hard disk drive 271 stores the requested file (s55: Y), the control unit 29 of the base node K15 returns a reply including information to that effect and its own IP address information. This reply packet is transmitted to the node that has created the packet and requested the search (s56).

ノードN13の制御部29は、返信パケットをLANインタフェース25で受信するまで待機しており(s45:N)、返信パケットをLANインタフェース25で受信すると(s45:Y)、ファイルの送信依頼パケットを送信する(s46)。基点ノードK15の制御部29は、ファイルの送信依頼パケットを受信するまで待機しており(s57:N)、ファイルの送信依頼パケットを受信すると(s57:Y)、検索依頼のあったファイルを送信する(s58)。   The control unit 29 of the node N13 waits until a reply packet is received by the LAN interface 25 (s45: N), and when a reply packet is received by the LAN interface 25 (s45: Y), a file transmission request packet is transmitted. (S46). The control unit 29 of the base node K15 waits until the file transmission request packet is received (s57: N), and when the file transmission request packet is received (s57: Y), the file requested for search is transmitted. (S58).

ノードN13の制御部29は、検索を依頼したファイルの受信が完了すると(s47)、検索を完了したこと、及び検索対象のファイルを取得してハードディスクドライブ271に記憶させたことを表示部23に表示させる(s48)。   When the reception of the requested file is completed (s47), the control unit 29 of the node N13 displays on the display unit 23 that the search has been completed and that the search target file has been acquired and stored in the hard disk drive 271. It is displayed (s48).

そして、ノードN13と基点ノードK15は、ファイルの送受信が完了すると、やりとりを終了して、ステップs41,s51からの処理を行う。   Then, when the transmission / reception of the file is completed, the node N13 and the base node K15 end the exchange and perform the processing from steps s41 and s51.

一方、仮想ハブH11は、いずれかの基点ノードからの検索依頼パケット(ユニキャストパケット)を受信するまで待機しており(s61:N)、例えば基点ノードK15からの検索依頼パケット(ユニキャストパケット)を受信すると(s61:Y)、この検索依頼パケットを、基点ノードK15以外の全基点ノードK11〜K14,K16に対して、ユニキャストパケットである検索依頼パケットを一斉にまたは順に送信する(s62)。   On the other hand, the virtual hub H11 waits until receiving a search request packet (unicast packet) from any base node (s61: N), for example, a search request packet (unicast packet) from the base node K15. Is received (s61: Y), this search request packet is transmitted to all the base point nodes K11 to K14, K16 other than the base point node K15 all at once or in sequence (s62). .

具体的には、仮想ハブH11の制御部39は、基点ノードK15から送信された検索依頼パケットをLANインタフェース35で受信すると、RAM375からIPアドレスリストを読み出す。そして、制御部39は、検索依頼パケットの送信先IPアドレス情報を、基点ノードK11〜K14,K16のいずれかに置き換えた検索依頼パケットを生成する。これにより、検索依頼パケットは、ノードN13において検索操作のあったファイルの情報と、このファイルの検索を依頼する情報と、送信元であるノードN13のIPアドレス情報と、送信先である基点ノードK11〜K14,K16のいずれかのIPアドレス情報と、を含むユニキャストパケットとなる。制御部39は、これらの検索依頼パケット(ユニキャストパケット)をLANインタフェース35に各基点ノードK11〜K14,K16へ送信させる。   Specifically, when receiving the search request packet transmitted from the base node K15 by the LAN interface 35, the control unit 39 of the virtual hub H11 reads the IP address list from the RAM 375. Then, the control unit 39 generates a search request packet in which the transmission destination IP address information of the search request packet is replaced with any of the base nodes K11 to K14 and K16. As a result, the search request packet includes information on the file for which the search operation has been performed in the node N13, information for requesting the search for the file, IP address information of the node N13 that is the transmission source, and a base node K11 that is the transmission destination. To unicast packets including any of the IP address information of K14 and K16. The control unit 39 causes the LAN interface 35 to transmit these search request packets (unicast packets) to the base nodes K11 to K14 and K16.

各基点ノードK11〜K14,K16の制御部29は、仮想ハブH11からの検索依頼パケットをLANインタフェース25で受信するまで待機しており(s71:N)、この検索依頼パケットをLANインタフェース25で受信すると(s71:Y)、この検索依頼パケットを、ブロードキャストパケットに変換して、各基点ノードが属するセグメントの他のノードに対して、ブロードキャストパケットである検索依頼パケットを送信する(s72)。   The control unit 29 of each of the base nodes K11 to K14 and K16 waits until the search request packet from the virtual hub H11 is received by the LAN interface 25 (s71: N), and the search request packet is received by the LAN interface 25. Then, the search request packet is converted into a broadcast packet (s71: Y), and a search request packet that is a broadcast packet is transmitted to other nodes in the segment to which each base node belongs (s72).

具体的には、各基点ノードK11〜K14,K16の制御部29は、仮想ハブH11から送信された検索依頼パケットをLANインタフェース35で受信すると、検索依頼パケットの送信先IPアドレス情報を、各基点ノードが属するセグメント全体を指定するブロードキャストIPアドレス情報に置き換えて、ブロードキャストパケットである検索依頼パケットを送信する。   Specifically, when the control unit 29 of each of the base nodes K11 to K14 and K16 receives the search request packet transmitted from the virtual hub H11 by the LAN interface 35, the destination IP address information of the search request packet is set to each base point. A search request packet, which is a broadcast packet, is transmitted in place of broadcast IP address information that designates the entire segment to which the node belongs.

続いて、各基点ノードK11〜K14,K16の制御部29は、検索依頼パケットに含まれるファイル情報を読み出して、このファイルをハードディスクドライブ271に記憶しているか否かを確認する(s73)。   Subsequently, the control unit 29 of each of the base nodes K11 to K14, K16 reads out the file information included in the search request packet and checks whether or not this file is stored in the hard disk drive 271 (s73).

各基点ノードK11〜K14,K16の制御部29は、検索を依頼されたファイルをハードディスクドライブ271が記憶していない場合(s74:N)には、検索依頼に対する応答は行わない。一方、制御部29は、検索を依頼されたファイルをハードディスクドライブ271が記憶していた場合には(s74:Y)、基点ノードとファイルの検索依頼元のノード(ノードN13)は、基点ノードK15と検索依頼ノードN13のやりとりの処理(s56〜s58、s45〜s48)で説明したように、ファイルの送受信処理を行う(s74〜s77、s45〜s48)。   When the hard disk drive 271 does not store the file requested to be searched (s74: N), the control unit 29 of each of the base nodes K11 to K14 and K16 does not respond to the search request. On the other hand, when the hard disk drive 271 stores the file requested to be searched (s74: Y), the control unit 29 determines that the base node and the file search request source node (node N13) are the base node K15. As described in the exchange process (s56 to s58, s45 to s48) of the search request node N13, the file transmission / reception process is performed (s74 to s77, s45 to s48).

検索依頼元のノードを除く全ノード(ノードN11,N12,N14)の制御部29は、同じセグメントの基点ノードやノードからの検索依頼パケットをLANインタフェース25で受信するまで待機しており(s81:N)、検索依頼パケットをLANインタフェース25で受信すると(s81:Y)、検索依頼パケットに含まれるファイル情報を読み出して、このファイルをハードディスクドライブ271に記憶しているか否かを確認する(s82)。   The control units 29 of all the nodes (nodes N11, N12, and N14) excluding the search request source node stand by until the LAN interface 25 receives a search request packet from the base node or the node of the same segment (s81: N) When the search request packet is received by the LAN interface 25 (s81: Y), the file information included in the search request packet is read, and it is confirmed whether or not this file is stored in the hard disk drive 271 (s82). .

各ノードN11,N12,N14の制御部29は、検索を依頼されたファイルをハードディスクドライブ271が記憶していない場合(s83:N)には、検索依頼に対する応答は行わない。一方、制御部29は、検索を依頼されたファイルをハードディスクドライブ271が記憶していた場合には(s83:Y)、基点ノードとファイルの検索依頼元のノード(ノードN13)は、基点ノードK15と検索依頼ノードN13のやりとりの処理(s56〜s58、s45〜s48)で説明したように、ファイルの送受信処理を行う(s84〜s86、s45〜s48)。   The control unit 29 of each of the nodes N11, N12, and N14 does not respond to the search request when the hard disk drive 271 does not store the requested file (s83: N). On the other hand, when the hard disk drive 271 stores the file requested to be searched (s83: Y), the control unit 29 determines that the base node and the file search request source node (node N13) are the base node K15. As described in the processing of the search request node N13 (s56 to s58, s45 to s48), the file transmission / reception processing is performed (s84 to s86, s45 to s48).

このように、図4に示した同報検索システムSS2では、検索時の負荷を仮想ハブH11と、各セグメントの基点ノードK11〜K16に分担させることができ、ファイルを効率的に検索できる。また、同報検索システムSS2では、検索依頼パケットを受信した基点ノードは、先に他のノードや仮想ハブに対して検索依頼パケットを送信してからファイル有無を確認するので、ネットワークNW2全体に対して短時間でファイルの検索情報を送信できる。   As described above, in the broadcast search system SS2 shown in FIG. 4, the load at the time of search can be shared by the virtual hub H11 and the base nodes K11 to K16 of each segment, and files can be searched efficiently. In the broadcast search system SS2, the base node that has received the search request packet first transmits the search request packet to other nodes and virtual hubs, and confirms the existence of the file. File search information in a short time.

なお、同報検索システムSS2では、基点ノードが検索依頼パケットを受信すると、先にファイルの有無を確認して、ファイルを記憶していない場合に他のノードや仮想ハブに対して検索依頼パケットを送信するように構成することも可能である。   In the broadcast search system SS2, when the base node receives the search request packet, the existence of the file is confirmed first, and if the file is not stored, the search request packet is sent to another node or virtual hub. It can also be configured to transmit.

なお、上記の説明では、検索依頼元のノードも、ファイル(データ)を記憶している場合について説明したが、これに限るものではなく、検索依頼元のノードは、検索専用のノードであってももちろん良い。   In the above description, the case where the search request source node also stores a file (data) has been described. However, the search request source node is not limited to this, and the search request source node is a dedicated search node. Is of course good.

また、上記の説明では、ファイルの検索操作を受け付けたノードは、まず自身のハードディスクドライブを検索し、検索するファイルが無いと、同じセグメントの基点ノードやノードに対して検索依頼パケット(ブロードキャストパケット)を送信し、基点ノードは検索依頼パケットを受信すると、仮想ハブに対して検索依頼パケット(ユニキャストパケット)を送信する場合について説明した。しかしながら、本発明はこれに限るものではなく、以下に述べる構成であっても良い。すなわち、ファイルの検索操作を例えばノードN13が受け付けると、まず、検索依頼パケット(ブロードキャストパケット)を生成して、同じセグメントの基点ノードK15及びノードN14に送信する。続いて、基点ノードK15は、この検索依頼パケットを受信すると、検索依頼パケット(ユニキャストパケット)を仮想ハブH1に送信する。そして、仮想ハブH1は、この検索依頼パケットを受信すると、全基点ノードK11〜K16に対して、検索依頼パケット(ユニキャストパケット)を一斉にまたは順に送信する。また、この検索依頼パケットを受信した各基点ノードK11〜K16は、各基点ノードが属するセグメントノード対して、ブロードキャストパケットとして検索依頼パケットを送信し、送信後に自身のハードディスクを検索する。そして、各ノードは、検索依頼パケットを受信すると、自身のハードディスクを検索するように構成することも可能である。このように構成することで、検索操作を受け付けると直ちに全基点ノード及び全ノードにおいてファイルを検索するので、特にノード数が多い場合には、検索操作を受け付けたノードにファイルが存在する確率が低いので、検索操作を受け付けたノードが自身のハードディスクを検索後に、他の基点ノードやノードを検索するよりもファイルの検索時間を短縮できる。   In the above description, a node that has received a file search operation first searches its own hard disk drive. If there is no file to be searched, a search request packet (broadcast packet) is sent to the base node or node of the same segment. When the base node receives the search request packet, the search request packet (unicast packet) is transmitted to the virtual hub. However, the present invention is not limited to this, and may be configured as described below. In other words, when the node N13 accepts a file search operation, for example, a search request packet (broadcast packet) is first generated and transmitted to the base node K15 and the node N14 in the same segment. Subsequently, when receiving the search request packet, the base node K15 transmits a search request packet (unicast packet) to the virtual hub H1. When the virtual hub H1 receives this search request packet, the virtual hub H1 transmits search request packets (unicast packets) all at once to all the base nodes K11 to K16. Each base node K11 to K16 that has received this search request packet transmits the search request packet as a broadcast packet to the segment node to which each base node belongs, and searches its own hard disk after transmission. Each node can also be configured to search its own hard disk upon receiving a search request packet. With this configuration, when a search operation is accepted, files are searched for at all base nodes and all nodes. Therefore, particularly when the number of nodes is large, the probability that a file exists at the node that has accepted the search operation is low. As a result, the search time for the file can be shortened compared to searching for another base node or node after the node receiving the search operation searches its own hard disk.

次に、同報検索システムSS1,SS2は、一般的なファイル検索システムだけでなく、例えばカラオケ曲を再生するカラオケシステムに適用可能である。近時、カラオケ店舗において、各部屋に設置したカラオケ装置に、カラオケ曲を分散して記憶させるカラオケシステムがある。このようなカラオケシステムは、ビルの複数のフロアや複数のビルに部屋が設けられたカラオケ店舗に設けられることが多く、ネットワークがフロアやビル毎にセグメントに分割される。したがって、本願発明は、このような形態のカラオケシステムにおいて、検索対象としてカラオケ曲のファイル(データ)を検索するのに好適である。   Next, the broadcast search systems SS1 and SS2 are applicable not only to a general file search system but also to a karaoke system that reproduces karaoke songs, for example. Recently, in karaoke stores, there is a karaoke system in which karaoke songs are distributed and stored in karaoke devices installed in each room. Such a karaoke system is often provided in a karaoke store where rooms are provided in a plurality of floors or buildings, and the network is divided into segments for each floor or building. Therefore, the present invention is suitable for searching a file (data) of a karaoke song as a search target in such a karaoke system.

また、同報検索システムSS1,SS2は、カラオケ店舗等において、各部屋から外部の出前店に対して食べ物や飲み物等を発注するオーダシステムに適用可能である。上記のように、カラオケ店舗ではネットワークを複数のセグメントに分割することが多い。また、外部の出前店は、ルータを介してネットワークに接続されることが多い。このようなオーダシステムでは、客が特定の食べ物を発注する場合、どの出前店が対応可能か在庫(メニュー)を検索する必要がある。そこで、本願発明をこのオーダシステムに適用して、食べ物や飲み物を検索対象とすることで、メニューの検索が容易となり、食べ物や飲み物をスムーズに発注できる。   The broadcast search systems SS1 and SS2 can be applied to an order system that orders food, drinks and the like from each room to an outside delivery store in a karaoke store or the like. As described above, a karaoke store often divides a network into a plurality of segments. In addition, outside branch stores are often connected to a network via a router. In such an order system, when a customer places an order for a specific food, it is necessary to search an inventory (menu) as to which delivery store is available. Therefore, by applying the present invention to this order system and using food and drink as search targets, the menu can be easily searched and food and drink can be ordered smoothly.

なお、同報検索システムSS1,SS2では、ユニキャストパケットのみを転送するルータに限るものではなく、ユニキャストパケット及びマルチキャストパケットを転送するマルチキャスト対応ルータを用いても、もちろん本発明は実施可能である。   The broadcast search systems SS1 and SS2 are not limited to routers that transfer only unicast packets. Of course, the present invention can be implemented using a multicast-compatible router that transfers unicast packets and multicast packets. .

同報検索システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a broadcast search system. 同報検索システムのノード及び仮想ハブの概略構成を示すブロック図であるIt is a block diagram which shows schematic structure of the node and virtual hub of a broadcast search system 同報検索システムの動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the broadcast search system. 図1とは異なる同報検索システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the broadcast search system different from FIG. 図4に示す同報検索システムの動作を説明するためのフローチャートである。5 is a flowchart for explaining the operation of the broadcast search system shown in FIG.

符号の説明Explanation of symbols

NW1,NW2−ネットワーク SS1,SS2−同報検索システム S1〜S6,S11〜S16−セグメント N1〜N10,N11〜N14−ノード H1,H11−仮想ハブ K11〜K16−基点ノード R1,R2,R11,R12−ルータ 21,31−操作部 23,33−表示部 25,35−LANインタフェース 27,37−記憶部 29,39−制御部 271,371−ハードディスクドライブ 273,373−ROM 275,375−RAM   NW1, NW2-network SS1, SS2-broadcast search system S1-S6, S11-S16-segment N1-N10, N11-N14-node H1, H11-virtual hub K11-K16-base node R1, R2, R11, R12 -Router 21, 31-Operation unit 23, 33-Display unit 25, 35-LAN interface 27, 37-Storage unit 29, 39-Control unit 271, 371-Hard disk drive 273, 373-ROM 275, 375-RAM

Claims (3)

複数のセグメントに分割されたネットワークにおける同報検索システムであって、
複数のデータを記憶するデータ記憶手段、データの検索操作を受け付ける操作手段、及びパケットを送受信するノード通信手段を備え、前記複数のセグメントのいずれかに属し、ユニークなIPアドレスが各々付与された複数のノードと、
セグメント間においてユニキャストパケットのみを転送するルータと、
前記複数のノードの各IPアドレスを記憶するリスト記憶手段、及び前記複数のノードとユニキャストパケットを送受信するハブ通信手段を備え、ユニークなIPアドレスが付与された仮想ハブと、
を備え、
前記各ノードは、さらに前記仮想ハブのIPアドレスを記憶するIP記憶手段を備え、データの検索操作を前記操作手段で受け付けると、前記仮想ハブに対して、このデータの検索を依頼する情報と、送信元情報である自身のIPアドレス情報と、を含む検索依頼パケットを前記ノード通信手段で送信し、
前記仮想ハブは、前記検索依頼パケットを前記ハブ通信手段で受信すると、その検索依頼パケットを各ノードに対して前記ハブ通信手段で送信し、
前記各ノードは、前記ノード通信手段で前記検索依頼パケットを受信して、検索を依頼されたデータを前記データ記憶手段が記憶していると、前記送信元ノードに対して、そのデータを記憶している旨の情報と、自身のIPアドレス情報と、を含む返信パケットを前記ノード通信手段で送信することを特徴とする同報検索システム。
A broadcast search system in a network divided into a plurality of segments,
A plurality of data storage means for storing a plurality of data, an operation means for accepting a data search operation, and a node communication means for transmitting and receiving packets, each of which belongs to one of the plurality of segments and has a unique IP address Nodes
A router that forwards only unicast packets between segments;
A virtual hub provided with a unique IP address, comprising list storage means for storing each IP address of the plurality of nodes, and hub communication means for transmitting and receiving unicast packets to and from the plurality of nodes;
With
Each of the nodes further includes an IP storage unit that stores an IP address of the virtual hub. When a data search operation is received by the operation unit, information for requesting the virtual hub to search for the data; The node communication means transmits a search request packet including its own IP address information which is transmission source information,
When the virtual hub receives the search request packet by the hub communication means, the search request packet is transmitted to each node by the hub communication means,
Each node receives the search request packet by the node communication means, and when the data storage means stores the data requested to be searched, the node stores the data to the transmission source node. A broadcast search system characterized in that the node communication means transmits a reply packet including information indicating that the message is received and its own IP address information.
複数のセグメントに分割されたネットワークにおける同報検索システムであって、
複数のデータを記憶するデータ記憶手段、データの検索操作を受け付ける操作手段、及びパケットを送受信するノード通信手段を備え、前記複数のセグメントのいずれかに属し、ユニークなIPアドレスが各々付与された複数のノードと、
複数のデータを記憶するデータ記憶手段、データの検索操作を受け付ける操作手段、及びパケットを送受信する基点ノード通信手段を備え、前記セグメント毎に1つずつ設置され、ユニークなIPアドレスが各々付与された基点ノードと、
セグメント間において、ユニキャストパケットのみを転送するルータと、
前記基点ノードの各IPアドレスを記憶するリスト記憶手段、及び前記基点ノードとユニキャストパケットを送受信するハブ通信手段を備え、ユニークなIPアドレスが付与された仮想ハブと、
を備え、
さらに、前記基点ノードは、それぞれ仮想ハブのIPアドレスを記憶するIP記憶手段を備え、
前記操作手段でデータの検索操作を受け付けたノードは、このデータの検索を依頼する情報と、送信元情報である自身のIPアドレス情報を含むブロードキャストパケットである検索依頼パケットを前記ノード通信手段で送信し、
前記送信元ノードと同じセグメントに属する基点ノードは、前記検索依頼パケットを前記基点ノード通信手段で受信すると、前記仮想ハブに対して、ユニキャストパケットに変換した前記検索依頼パケットを、前記基点ノード通信手段で送信し、
前記仮想ハブは、前記検索依頼パケットを前記ハブ通信手段で受信すると、各基点ノードに対して前記検索依頼パケットを前記ハブ通信手段で送信し、
各基点ノードは、前記仮想ハブから送信された検索依頼パケットを前記基点ノード通信手段で受信すると、前記検索依頼パケットをブロードキャストパケットに変換して、他のノードに対して前記基点ノード通信手段で送信し、
前記各ノード及び前記各基点ノードは、前記検索依頼パケットを受信し、検索を依頼されたデータを前記データ記憶手段が記憶していると、前記送信元ノードに対して、そのデータを記憶している旨の情報と、自身のIPアドレス情報と、を含む返信パケットを前記ノード通信手段で送信することを特徴とする同報検索システム。
A broadcast search system in a network divided into a plurality of segments,
A plurality of data storage means for storing a plurality of data, an operation means for accepting a data search operation, and a node communication means for transmitting and receiving packets, each of which belongs to one of the plurality of segments and has a unique IP address Nodes
A data storage means for storing a plurality of data, an operation means for accepting a data search operation, and a base node communication means for transmitting and receiving packets are installed one by one for each segment, and each is assigned a unique IP address. A base node,
A router that forwards only unicast packets between segments;
A virtual hub provided with a unique IP address, comprising list storage means for storing each IP address of the base node, and hub communication means for transmitting and receiving unicast packets to and from the base node;
With
Further, each of the base nodes includes IP storage means for storing the IP address of the virtual hub,
The node that has received the data search operation by the operation means transmits the search request packet, which is a broadcast packet including information requesting the data search and its own IP address information as the transmission source information, by the node communication means. And
When the base node belonging to the same segment as the source node receives the search request packet by the base node communication means, the base node communication transmits the search request packet converted into a unicast packet to the virtual hub. Send by means,
When the virtual hub receives the search request packet by the hub communication unit, the hub communication unit transmits the search request packet to each base node,
When each base node receives the search request packet transmitted from the virtual hub by the base node communication means, it converts the search request packet into a broadcast packet and transmits it to another node by the base node communication means. And
Each of the nodes and the base node receives the search request packet, and when the data storage means stores the requested data, stores the data to the transmission source node. A broadcast search system characterized in that the node communication means transmits a reply packet including information indicating that there is information and its own IP address information.
複数のセグメントに分割されたネットワークにおいて、各セグメントのいずれかに属し、データを分散して記憶する複数のノードの各IPアドレスを記憶するIP記憶手段、
及び前記複数のノードとユニキャストパケットを送受信し、いずれかのノードが送信した、データの検索を依頼する情報と送信元のIPアドレス情報を含む検索依頼パケットを受信すると、前記IP記憶手段が記憶する各ノードのIPアドレスを読み出して、前記各ノードに対して、前記検索依頼パケットを送信するハブ通信手段、
としてコンピュータを機能させるための同報検索プログラム。
IP storage means for storing each IP address of a plurality of nodes belonging to any of the segments and distributing and storing data in a network divided into a plurality of segments;
And receiving a search request packet including information for requesting data search and IP address information of the transmission source transmitted and received by one of the nodes and transmitting / receiving unicast packets to / from the plurality of nodes. A hub communication means for reading out the IP address of each node and transmitting the search request packet to each node;
Broadcast search program to make a computer function as a computer.
JP2006325641A 2006-12-01 2006-12-01 Broadcast search system and program Pending JP2008141478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006325641A JP2008141478A (en) 2006-12-01 2006-12-01 Broadcast search system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006325641A JP2008141478A (en) 2006-12-01 2006-12-01 Broadcast search system and program

Publications (1)

Publication Number Publication Date
JP2008141478A true JP2008141478A (en) 2008-06-19

Family

ID=39602490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006325641A Pending JP2008141478A (en) 2006-12-01 2006-12-01 Broadcast search system and program

Country Status (1)

Country Link
JP (1) JP2008141478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103757A (en) * 2008-10-23 2010-05-06 Fujitsu Fip Corp Broadcasting system and broadcasting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103757A (en) * 2008-10-23 2010-05-06 Fujitsu Fip Corp Broadcasting system and broadcasting method

Similar Documents

Publication Publication Date Title
WO2006075424A1 (en) Information distribution system, distribution demand program, transfer program, distribution program and so on
KR101531532B1 (en) Method and apparatus for using service of home network device based on remote access
JP6279938B2 (en) Connection management apparatus, communication system, connection management method and program
CN101147380A (en) Method and apparatus for efficiently expanding a P2P network
US9390156B2 (en) Distributed directory environment using clustered LDAP servers
JP5255035B2 (en) Failover system, storage processing apparatus, and failover control method
KR20050040166A (en) Proxy for controlling device of home-network and method thereof
JP2013542681A (en) Content sharing method and apparatus using group change information in content-centric network environment
JP2017011487A (en) Information processing system, control program of information processing system and method for controlling information processing system
US10270607B2 (en) Method and system for roamed client device handling
JP2016111703A (en) Content arrangement in information centric network
US10536368B2 (en) Network-aware routing in information centric networking
JP3563584B2 (en) Network connection device
US20140317271A1 (en) Method and node apparatus for collecting information in content network based on information-centric networking
US10051053B2 (en) System and method for transferring and synchronizing content between electronic devices
JP5370269B2 (en) Distributed storage system, connection information notification method and program for distributed storage system
JP5218323B2 (en) Information processing method and program related to relay device and transfer rule
JP2008141478A (en) Broadcast search system and program
JP2007074490A (en) Information communication system, node device included therein, information communication method, and information processing program
EP2375692A2 (en) Apparatus and method for registering node and searching for floating internet protocol address using distributed network
US8111635B2 (en) Server, terminal, and method for supporting mobility
JPWO2011117959A1 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP4432626B2 (en) Multicast tree construction system and method, network node device, and server device
JP6665697B2 (en) Past information providing program, past information providing method, and past information providing device
JP2006338624A (en) Server access control system, server access control method and server access control program