JP2009176141A - Network distribution sharing system, network distribution sharing method, and network distribution sharing program - Google Patents

Network distribution sharing system, network distribution sharing method, and network distribution sharing program Download PDF

Info

Publication number
JP2009176141A
JP2009176141A JP2008015298A JP2008015298A JP2009176141A JP 2009176141 A JP2009176141 A JP 2009176141A JP 2008015298 A JP2008015298 A JP 2008015298A JP 2008015298 A JP2008015298 A JP 2008015298A JP 2009176141 A JP2009176141 A JP 2009176141A
Authority
JP
Japan
Prior art keywords
tuple
information
storage unit
identification information
search information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008015298A
Other languages
Japanese (ja)
Other versions
JP4902559B2 (en
Inventor
Masato Matsuo
真人 松尾
Atsushi Yamamoto
淳 山本
Hironari Minami
裕也 南
Yutaka Arakawa
豊 荒川
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2008015298A priority Critical patent/JP4902559B2/en
Publication of JP2009176141A publication Critical patent/JP2009176141A/en
Application granted granted Critical
Publication of JP4902559B2 publication Critical patent/JP4902559B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network distribution sharing system capable of reducing communication traffic volume in a communication using Tuple. <P>SOLUTION: In the network distribution sharing system obtained by connecting a plurality of communication devices through a network, the communication devices respectively have a Tuple storage part which stores Tuple information and is identified by Tuple storage part identification information, and a relay representative part which transmits Tuple information stored in the Tuple storage part or stores received Tuple information in the Tuple storage part, wherein the relay representative part includes a transfer information storage part for storing transfer destination Tuple storage part identification information, a transmitting side transferring part for reading Tuple information from a Tuple storage part belonging to its own communication device, and transmitting the read Tuple information to a Tuple storage part corresponding to the transfer destination Tuple storage part identification information read from the transfer information storage part through the network, and a receiving side transferring part for storing the Tuple information received through the network in the Tuple storage part belonging to the own communication device. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、分散配置されたアプリケーションで、ネットワークを介してデータを共有するためのデータ転送方式の技術に関する。   The present invention relates to a data transfer technique for sharing data via a network with distributed applications.

ユビキタスネットワークやユビキタスコンピューティングシステムなどのユビキタス環境におけるアプリケーション(以降、ユビキタスアプリケーションと記載する)では、遍在するセンサやアクチュエータなどの各種デバイス群と、センサデータサーバやアクチュエータ制御サーバなど計算機群が、ネットワークを通じて互いにデータをやり取りすることでサービスを提供する。このようなユビキタスアプリケーションは、各々のデバイスと計算機上に配置される各アプリケーションプログラムで構成される。   In applications in ubiquitous environments such as ubiquitous networks and ubiquitous computing systems (hereinafter referred to as ubiquitous applications), various device groups such as sensors and actuators, and computer groups such as sensor data servers and actuator control servers are connected to the network. Services are provided by exchanging data with each other. Such a ubiquitous application is composed of each device and each application program arranged on the computer.

ユビキタスアプリケーションは、各アプリケーションプログラムが並列的に処理を行なう分散プログラムとして開発・運用される。この際、デバイス群は多種大量に存在し、デバイス自体が随時追加・更改される。また移動体に設置されたデバイスは、その位置や収容されるネットワークが変更になったり、また必ずしも常時通信できるとは限らない。一方で、新たなサービスの開発とともに、デバイスと通信する計算機も随時追加・変更されうる。   A ubiquitous application is developed and operated as a distributed program in which each application program performs processing in parallel. At this time, a large number of device groups exist, and the devices themselves are added / renewed as needed. In addition, a device installed in a mobile body is not always able to communicate constantly or change its location or accommodated network. On the other hand, with the development of new services, computers that communicate with devices can be added or changed at any time.

このようなダイナミックに変化しうるユビキタス環境でのアプリケーション開発・運用においては、データをやりとりする相手の通信アドレスや状態(ネットワークへの接続状況や存在そのもの)を意識せずにプログラミング・実行できる環境が必要となる。この環境を実現する方法として、並列プログラミングの概念Lindaで提案されたタプル空間(Tuple Space)の利用が有効である(非特許文献1、非特許文献2参照)。   In application development and operation in such a dynamically changing ubiquitous environment, there is an environment in which programming and execution can be performed without being aware of the communication address and status of the partner with which data is exchanged (the network connection status and existence itself). Necessary. As a method for realizing this environment, the use of a tuple space proposed by the parallel programming concept Linda is effective (see Non-Patent Document 1 and Non-Patent Document 2).

このLindaにおけるデータ管理の実体はTuple Spaceと呼ばれており、分散システム開発に適した分散メモリに似た協調機構を提供する。アプリケーションは、送受信データをTupleとして記述し、Tuple Spaceへ書き込んだり、Tuple SpaceからTupleを読出したりすることで通信を行なう。   The entity of data management in Linda is called Tuple Space, which provides a cooperative mechanism similar to distributed memory suitable for distributed system development. An application describes transmission / reception data as a Tuple and communicates by writing to the Tuple Space or reading a Tuple from the Tuple Space.

D. Gelernter, “Generative Communication in Linda”, ACM Transactions on Programming Language and Systems, Vol.7, No.1, January 1985, Pages 80-112.D. Gelernter, “Generative Communication in Linda”, ACM Transactions on Programming Language and Systems, Vol.7, No.1, January 1985, Pages 80-112. 増井俊之, 塚田浩二. “全世界プログラミング” 情報処理学会 2006年夏のプログラミングシンポジウム, September 2006Toshiyuki Masui, Koji Tsukada. “World Programming” IPSJ Summer 2006 Programming Symposium, September 2006

しかしながら、非特許文献1または2に示す通信装置にあっては、複数Tuple Spaceで分散データ共有システムを構成しようとした場合、1つのTuple Spaceに書き込まれたTupleを、分散した他のアプリケーションが読み込むためにすべてのTuple Spaceに転送すると、Tuple Space間の通信量が多くなるという問題があった。   However, in the communication device shown in Non-Patent Document 1 or 2, when a distributed data sharing system is configured with a plurality of Tuple Spaces, other distributed applications read Tuples written in one Tuple Space. For this reason, there is a problem that if the data is transferred to all Tuple Spaces, the traffic between Tuple Spaces increases.

本発明は、このような事情に鑑みてなされたもので、その目的は、Tuple Spaceを用いた通信であって、通信量を減じることができるネットワーク分散共有システムを提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a network distributed sharing system that is communication using Tuple Space and that can reduce the amount of communication.

この発明は上述した課題を解決するためになされたもので、請求項1に記載の発明は、複数の通信装置がネットワークを介して接続されるネットワーク分散共有システムであって、前記複数の通信装置のそれぞれが、タプル情報を記憶し、タプル記憶部識別情報で識別されているタプル記憶部と、前記タプル記憶部に記憶されているタプル情報を送信する、または、受信したタプル情報を前記タプル記憶部に記憶する中継代理部と、を有し、前記中継代理部が、転送先となるタプル記憶部のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する転送情報記憶部と、前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読出したタプル情報を、前記転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する送信側転送部と、前記ネットワークを関して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送部と、を有することを特徴とするネットワーク分散共有システムである。   The present invention has been made to solve the above-described problems, and the invention according to claim 1 is a network distributed sharing system in which a plurality of communication devices are connected via a network, and the plurality of communication devices. Each of which stores tuple information and transmits the tuple storage unit identified by the tuple storage unit identification information and the tuple information stored in the tuple storage unit or stores the received tuple information in the tuple storage A transfer agent storage unit that stores the transfer destination storage unit identification information that is the tuple storage unit identification information of the tuple storage unit that is the transfer destination, Tuple information is read from the tuple storage unit included in the communication apparatus, and the read tuple information is added to the transfer destination tuple storage unit identification information read from the transfer information storage unit. A transmitting-side transfer unit that transmits to the tuple storage unit via the network, and a receiving-side transfer unit that stores the tuple information received regarding the network in the tuple storage unit included in the communication device. It is a featured network distributed sharing system.

請求項2に記載の発明は、前記タプル記憶部は、前記タプル情報を記憶するタプル情報記憶部と、前記タプル情報を検索するためのタプル検索情報を記憶するタプル検索情報記憶部と、前記タプル情報が前記タプル情報記憶部に記憶された場合に、該記憶されたタプル情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル情報を出力するタプル情報抽出部と、を有することを特徴とする請求項1に記載のネットワーク分散共有システムである。   In the invention according to claim 2, the tuple storage unit includes a tuple information storage unit that stores the tuple information, a tuple search information storage unit that stores tuple search information for searching the tuple information, and the tuple. When information is stored in the tuple information storage unit, it is determined whether or not the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit. 2. The network distributed sharing system according to claim 1, further comprising: a tuple information extraction unit that outputs the corresponding tuple information when applicable.

請求項3に記載の発明は、前記タプル情報抽出部は、前記タプル検索情報が前記タプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報が前記タプル情報記憶部に記憶されているタプル情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル情報を前記送信側転送部に出力することを特徴とする請求項2に記載のネットワーク分散共有システムである。   According to a third aspect of the present invention, the tuple information extracting unit stores the stored tuple search information in the tuple information storage unit when the tuple search information is stored in the tuple search information storage unit. 3. The method according to claim 2, further comprising: determining whether or not the corresponding tuple information is applicable, and outputting the corresponding tuple information to the transmission side transfer unit when the determined result is applicable. Network distributed shared system.

請求項4に記載の発明は、前記転送情報記憶部は、タプル検索情報を識別するタプル検索情報識別情報と前記転送先タプル記憶部識別情報とが関連付けて予め記憶されているタプル情報転送先情報記憶部と、前記タプル検索情報識別情報が前記送信側転送部から入力された場合に、該入力されたタプル検索情報識別情報に該当する転送先タプル記憶部識別情報を前記タプル情報転送先情報記憶部から抽出し、該抽出した転送先タプル記憶部識別情報を前記送信側転送部に出力するタプル情報転送先情報抽出部とを有し、前記タプル検索情報記憶部は、前記タプル検索情報と関連付けて該タプル検索情報を識別する前記タプル検索情報識別情報を記憶し、前記タプル情報抽出部が、前記タプル情報が前記タプル情報記憶部に記憶された場合に、該記憶されたタプル情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記記憶されたタプル検索情報と関連付けて記憶されているタプル検索情報識別情報を前記タプル検索情報記憶部から読み出し、前記該当したタプル情報と前記読み出したタプル検索情報識別情報とを関連付けて前記送信側転送部に出力し、前記送信側転送部が、前記タプル情報とタプル検索情報識別情報とを関連付けて前記タプル情報抽出部から入力されたことに応じて、該入力されたタプル検索情報識別情報に該当する転送先タプル記憶部識別情報を前記転送情報記憶部から読み出し、該読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して前記入力されたタプル情報を送信することを特徴とする請求項2または3に記載のネットワーク分散共有システムである。   According to a fourth aspect of the present invention, in the transfer information storage unit, the tuple information transfer destination information in which the tuple search information identification information for identifying the tuple search information and the transfer destination tuple storage unit identification information are stored in advance in association with each other. When the storage unit and the tuple search information identification information are input from the transmission side transfer unit, the transfer destination tuple storage unit identification information corresponding to the input tuple search information identification information is stored in the tuple information transfer destination information storage. A tuple information transfer destination information extraction unit that extracts the transfer destination tuple storage unit identification information to the transmission side transfer unit, and the tuple search information storage unit associates with the tuple search information. Storing the tuple search information identification information for identifying the tuple search information, and when the tuple information extraction unit stores the tuple information in the tuple information storage unit, It is determined whether or not the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit, and if the determined result is applicable, the stored tuple search information is associated with the stored tuple search information. The tuple search information identification information stored in the table is read from the tuple search information storage unit, the relevant tuple information and the read tuple search information identification information are associated with each other and output to the transmission side transfer unit, and the transmission side When the transfer unit associates the tuple information with the tuple search information identification information and is input from the tuple information extraction unit, the transfer destination tuple storage unit identification information corresponding to the input tuple search information identification information Is read out from the transfer information storage unit, and the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information is transferred to the front via the network. A network distributed sharing system according to claim 2 or 3, characterized in that transmitting the input tuple information.

請求項5に記載の発明は、前記タプル情報抽出部は、前記タプル検索情報が前記タプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報が前記タプル情報記憶部に記憶されているタプル情報に該当するか否かを判定し、該判定した結果が該当する場合に、前記記憶されたタプル検索情報に関連付けられているタプル検索情報識別情報と前記該当したタプル情報とを関連づけて前記送信側転送部に出力することを特徴とする請求項4に記載のネットワーク分散共有システムである。   According to a fifth aspect of the present invention, when the tuple search information is stored in the tuple search information storage unit, the tuple information extraction unit stores the stored tuple search information in the tuple information storage unit. It is determined whether or not the corresponding tuple information is satisfied, and when the determined result is applicable, the tuple search information identification information associated with the stored tuple search information is associated with the corresponding tuple information. 5. The network distributed sharing system according to claim 4, wherein the data is output to the transmission unit on the transmission side.

請求項6に記載の発明は、前記タプル情報は送信先タプル記憶部識別情報を設定可能な情報の領域を有しており、前記送信側転送部が、自通信装置が有する前記タプル記憶部からタプル情報を読み出し、前記読み出したタプル情報に送信先タプル記憶部識別情報が設定されているか否かを判定し、送信先タプル記憶部識別情報が設定されていなければ、前記読み出したタプル情報を前記読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信し、送信先タプル記憶部識別情報が設定されていれば、該設定されている送信先タプル記憶部識別情報が、前記転送情報記憶部に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、いずれかと一致する場合には、前記読み出したタプル情報を前記設定されている送信先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信することを特徴とする請求項2から5に記載のネットワーク分散共有システムである。   According to a sixth aspect of the present invention, the tuple information includes an information area in which transmission destination tuple storage unit identification information can be set, and the transmission side transfer unit includes the tuple storage unit included in the communication device. Read tuple information, determine whether destination tuple storage unit identification information is set in the read tuple information, and if destination tuple storage unit identification information is not set, read the tuple information If the destination tuple storage unit identification information is set and transmitted to the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information, the set transmission destination tuple storage unit identification information is set. Is determined to match with any of the transfer destination tuple storage unit identification information stored in the transfer information storage unit. A network distributed sharing system according to claims 2 to 5, characterized in that transmitting the tuple information via the network to the tuple storage unit corresponding to the destination tuple storage unit identification information that is the setting.

請求項7に記載の発明は、前記タプル記憶部は、前記タプル検索情報を検索するためのタプルメタ検索情報を記憶するタプルメタ検索情報記憶部と、前記タプル検索情報が前記タプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報が前記タプルメタ検索情報記憶部に記憶されているタプルメタ検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル検索情報を前記送信側転送部に出力するタプル検索情報抽出部と、を有し、前記送信側転送部が、前記タプル記憶部から読み出したタプル検索情報を、前記転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する、ことを特徴とする請求項2から6に記載のネットワーク分散共有システムである。   According to a seventh aspect of the present invention, the tuple storage unit stores a tuple meta search information storage unit that stores tuple meta search information for searching the tuple search information, and the tuple search information is stored in the tuple search information storage unit. The stored tuple search information corresponds to the tuple meta search information stored in the tuple meta search information storage unit, and if the determined result corresponds, the corresponding A tuple search information extracting unit that outputs the tuple search information to the transmission side transfer unit, and the transmission side transfer unit reads the tuple search information read from the tuple storage unit from the transfer information storage unit 7. The network according to claim 2, wherein the data is transmitted to the tuple storage unit corresponding to the transfer destination tuple storage unit identification information via the network. It is a distributed sharing system.

請求項8に記載の発明は、前記受信側転送部が、前記ネットワークを介して受信したタプル検索情報を、自通信装置が有する前記タプル検索情報記憶部に記憶し、受信時に前記ネットワークあるいは前記タプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として前記転送情報記憶部に記憶する、ことを特徴とする請求項7に記載のネットワーク分散共有システムである。   According to an eighth aspect of the present invention, the reception side transfer unit stores the tuple search information received via the network in the tuple search information storage unit included in the communication device, and the network or the tuple is received at the time of reception. 8. The network distributed sharing system according to claim 7, wherein transmission source tuple storage unit identification information obtained from search information is stored in the transfer information storage unit as transfer destination tuple storage unit identification information.

請求項9に記載の発明は、前記タプル検索情報抽出部は、前記タプルメタ検索情報が前記タプルメタ検索情報記憶部に記憶された場合に、該記憶されたタプルメタ検索情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル検索情報を前記送信側転送部に出力することを特徴とする請求項7または8に記載のネットワーク分散共有システムである。   In the invention according to claim 9, when the tuple meta search information is stored in the tuple meta search information storage unit, the stored tuple meta search information is stored in the tuple search information storage unit. It is determined whether or not the stored tuple search information is applicable, and when the determined result is applicable, the corresponding tuple search information is output to the transmission side transfer unit. The network distributed sharing system according to 7 or 8.

請求項10に記載の発明は、前記受信側転送部は、前記ネットワークを介してタプル検索情報を受信した場合に、自タプル記憶部のタプル検索情報記憶部に記憶されているタプル検索情報とタプル検索情報識別情報とに基づいて生成されたタプル検索情報識別情報と前記受信したタプル検索情報とを関連付けて自通信装置が有する前記タプル検索情報記憶部に記憶するとともに、前記タプル検索情報を受信する場合に前記ネットワークあるいは前記タプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として、前記タプル検索情報識別情報と関連付けて、自通信装置が有する前記転送情報記憶部のタプル情報転送先情報記憶部に記憶する、ことを特徴とする請求項7から9に記載のネットワーク分散共有システムである。   According to the tenth aspect of the present invention, when the receiving side transfer unit receives the tuple search information via the network, the tuple search information and the tuple stored in the tuple search information storage unit of the own tuple storage unit The tuple search information identification information generated based on the search information identification information and the received tuple search information are associated with each other and stored in the tuple search information storage unit of the communication apparatus, and the tuple search information is received. The transmission source tuple storage unit identification information obtained from the network or the tuple search information as the transfer destination tuple storage unit identification information in association with the tuple search information identification information, 10. The network distributed sharing system according to claim 7, wherein the tuple information transfer destination information storage unit stores the tuple information transfer destination information storage unit. Is Temu.

請求項11に記載の発明は、前記タプル検索情報は送信元タプル記憶部識別情報を設定可能な情報の領域を有しており、前記送信側転送部が、自通信装置が有する前記タプル記憶部からタプル検索情報を読み出し、前記読み出したタプル検索情報に送信元タプル記憶部識別情報が設定されているか否かを判定し、送信元タプル記憶部識別情報が設定されていなければ、前記読み出したタプル検索情報を前記読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信し、送信元タプル記憶部識別情報が設定されていれば、該設定されている送信元タプル記憶部識別情報が、前記転送情報記憶部に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、いずれかと一致する場合には、前記読み出したタプル検索情報を前記設定されている送信元タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信することを特徴とする請求項7から10に記載のネットワーク分散共有システムである。   According to an eleventh aspect of the present invention, the tuple search information includes an information area in which transmission source tuple storage unit identification information can be set, and the transmission side transfer unit includes the tuple storage unit included in the communication device. The tuple search information is read out from the table, it is determined whether or not the source tuple storage unit identification information is set in the read tuple search information. If the source tuple storage unit identification information is not set, the read tuple If the search information is transmitted to the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information via the network and the transmission source tuple storage unit identification information is set, the set transmission source tuple When the storage unit identification information matches with any one of the transfer destination tuple storage unit identification information stored in the transfer information storage unit The network distribution according to claim 7, wherein the read tuple search information is transmitted to the tuple storage unit corresponding to the set transmission source tuple storage unit identification information via the network. It is a shared system.

請求項12に記載の発明は、前記複数の通信装置のうち1つの通信装置がサーバ装置であり、前記サーバ装置の他の複数の通信装置が端末装置であり、前記端末装置の前記転送情報記憶部には、該当するタプル記憶部を前記サーバ装置のタプル記憶部とした前記転送先タプル記憶部識別情報が予め記憶されており、前記端末装置の前記タプル検索情報記憶部には、前記タプル検索情報が予め記憶されており、前記端末装置は、自端末装置の前記タプル情報記憶部にタプル情報が記憶されたことに応じて、前記自端末装置の前記タプル情報抽出部が、前記記憶されたタプル情報が前記タプル検索情報に該当する場合には、前記記憶されたタプル情報を出力し、前記自端末装置の前記送信側転送部が、該タプル情報を、前記転送先タプル記憶部識別情報に基づいて前記ネットワークを介して前記サーバ装置に送信し、前記サーバ装置の前記受信側転送部が、前記ネットワークを介して前記端末装置から受信したタプル情報を、自サーバ装置が有する前記タプル情報記憶部に記憶する、ことを特徴とする請求項2から11に記載のネットワーク分散共有システムである。   According to a twelfth aspect of the present invention, one of the plurality of communication devices is a server device, the other plurality of communication devices of the server device is a terminal device, and the transfer information storage of the terminal device The transfer destination tuple storage unit identification information in which the corresponding tuple storage unit is the tuple storage unit of the server device is stored in advance, and the tuple search information storage unit of the terminal device stores the tuple search Information is stored in advance, and the tuple information extraction unit of the terminal device stores the tuple information in response to the tuple information being stored in the tuple information storage unit of the terminal device. When the tuple information corresponds to the tuple search information, the stored tuple information is output, and the transmitting side transfer unit of the terminal device stores the tuple information as the transfer destination tuple storage unit identification. The tuple information that the server device has, based on the information, is transmitted to the server device via the network, and the reception side transfer unit of the server device receives the tuple information from the terminal device via the network. 12. The network distributed sharing system according to claim 2, wherein the network distributed sharing system is stored in a storage unit.

請求項13に記載の発明は、前記複数の通信装置のうち1つの通信装置がサーバ装置であり、前記サーバ装置の他の複数の通信装置が端末装置であり、前記端末装置の前記転送情報記憶部には、該当するタプル記憶部を前記サーバ装置のタプル記憶部とした前記転送先タプル記憶部識別情報が予め記憶されており、前記端末装置の前記タプル検索情報記憶部には、前記タプル検索情報が予め記憶されており、前記端末装置は、自端末装置の前記タプル情報記憶部にタプル情報が記憶されたことに応じて、前記自端末装置の前記タプル情報抽出部が、前記記憶されたタプル情報が前記タプル検索情報に該当する場合には、前記記憶されたタプル情報を出力し、前記自端末装置の前記送信側転送部が、該タプル情報を、前記転送先タプル記憶部識別情報に基づいて前記ネットワークを介して前記サーバ装置に送信し、前記サーバ装置の前記受信側転送部が、前記ネットワークを介して前記端末装置から受信したタプル情報を、自サーバ装置が有する前記タプル情報記憶部に記憶する、ことを特徴とする請求項10または11に記載のネットワーク分散共有システムである。   According to a thirteenth aspect of the present invention, one of the plurality of communication devices is a server device, the other plurality of communication devices of the server device is a terminal device, and the transfer information storage of the terminal device The transfer destination tuple storage unit identification information in which the corresponding tuple storage unit is the tuple storage unit of the server device is stored in advance, and the tuple search information storage unit of the terminal device stores the tuple search Information is stored in advance, and the tuple information extraction unit of the terminal device stores the tuple information in response to the tuple information being stored in the tuple information storage unit of the terminal device. When the tuple information corresponds to the tuple search information, the stored tuple information is output, and the transmitting side transfer unit of the terminal device stores the tuple information as the transfer destination tuple storage unit identification. The tuple information that the server device has, based on the information, is transmitted to the server device via the network, and the reception side transfer unit of the server device receives the tuple information from the terminal device via the network. It is memorize | stored in a memory | storage part, The network distributed sharing system of Claim 10 or 11 characterized by the above-mentioned.

請求項14に記載の発明は、前記端末装置の前記転送情報記憶部には、前記サーバ装置のタプル記憶部を識別するタプル記憶部識別情報が前記転送先タプル記憶部識別情報として予め記憶されており、前記端末装置の前記タプルメタ検索情報記憶部には、前記タプルメタ検索情報が予め記憶されており、前記端末装置は、自端末装置のタプル検索情報記憶部にタプル検索情報が記憶されたことに応じて、前記自端末装置のタプル検索情報抽出部が、前記記憶されたタプル検索情報が前記タプルメタ検索情報に該当する場合には、前記記憶されたタプル検索情報を自端末装置の前記送信側転送部に出力し、前記自端末装置の送信側転送部が、入力された前記タプル検索情報を前記転送情報記憶部に記憶されている前記転送先タプル記憶部識別情報に基づいて前記ネットワークを介して前記サーバ装置に送信し、前記サーバ装置の受信側転送部が、前記ネットワークを介してタプル検索情報を受信した場合に、
自タプル記憶部のタプル検索情報記憶部に記憶されているタプル検索情報とタプル検索情報識別情報とに基づいて生成されたタプル検索情報識別情報と前記受信したタプル検索情報とを関連付けて自通信装置が有する前記タプル検索情報記憶部に記憶するとともに、前記タプル検索情報を受信する場合に前記ネットワークあるいは前記タプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として、前記タプル検索情報識別情報と関連付けて、自通信装置が有する前記転送情報記憶部のタプル情報転送先情報記憶部に記憶する、ことを特徴とする請求項13に記載のネットワーク分散共有システムである。
In the invention described in claim 14, the transfer information storage unit of the terminal device stores in advance tuple storage unit identification information for identifying the tuple storage unit of the server device as the transfer destination tuple storage unit identification information. The tuple meta search information storage unit of the terminal device stores the tuple meta search information in advance, and the terminal device stores the tuple search information in the tuple search information storage unit of the terminal device. Accordingly, when the stored tuple search information corresponds to the tuple meta search information, the tuple search information extraction unit of the own terminal device transfers the stored tuple search information to the transmission side transfer of the own terminal device. The transmission side transfer unit of the terminal device outputs the input tuple search information to the transfer destination tuple storage unit identification information stored in the transfer information storage unit. If the network sends to the server device via a reception-side transfer unit of the server apparatus, which receives the tuple search information via the network based on,
A self-communication device that associates the tuple search information identification information generated based on the tuple search information and the tuple search information identification information stored in the tuple search information storage unit of the own tuple storage unit with the received tuple search information Is stored in the tuple search information storage unit, and when the tuple search information is received, the transmission source tuple storage unit identification information obtained from the network or the tuple search information is used as the transfer destination tuple storage unit identification information. The network distributed sharing system according to claim 13, wherein the network information is stored in a tuple information transfer destination information storage unit of the transfer information storage unit of the communication device in association with the tuple search information identification information.

請求項15に記載の発明は、前記サーバ装置は、自サーバ装置の前記タプル検索情報記憶部にタプル検索情報が記憶されたことに応じて、自サーバ装置の前記タプル情報抽出部が、前記記憶されたタプル検索情報に該当するタプル情報と該タプル検索情報識別情報とを関連付けて自サーバ装置の送信側転送部に出力し、自サーバ装置の前記送信側転送部が、入力された前記タプル検索情報識別情報に基づいて、前記転送情報記憶部から転送先タプル記憶部識別情報を読み出し、前記タプル情報を前記読み出した転送先タプル記憶部識別情報に基づいて前記端末装置に前記ネットワークを介して送信し、前記端末装置の前記受信側転送部が、前記ネットワークを介して受信したタプル情報を、自端末装置が有する前記タプル情報記憶部に記憶する、ことを特徴とする請求項13または14に記載のネットワーク分散共有システムである。   In the invention described in claim 15, the server device is configured such that the tuple information extraction unit of the server device stores the memory in response to the tuple search information stored in the tuple search information storage unit of the server device. The tuple information corresponding to the tuple search information that has been made and the tuple search information identification information are associated with each other and output to the transmission side transfer unit of the local server device, and the transmission side transfer unit of the local server device inputs the input tuple search Based on the information identification information, the transfer destination tuple storage unit identification information is read from the transfer information storage unit, and the tuple information is transmitted to the terminal device via the network based on the read transfer destination tuple storage unit identification information. Then, the receiving side transfer unit of the terminal device stores the tuple information received via the network in the tuple information storage unit included in the terminal device. A network distributed sharing system according to claim 13 or 14, characterized in that.

請求項16に記載の発明は、前記サーバ装置は、自サーバ装置の前記タプル情報記憶部にタプル情報が記憶されたことに応じて、自サーバ装置の前記タプル情報抽出部が、前記記憶されたタプル情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル検索情報と関連付けて記憶されているタプル検索情報識別情報を前記タプル検索情報記憶部から読み出し、前記記憶されたタプル情報と前記読み出したタプル検索情報識別情報とを関連付けて自サーバ装置の前記送信側転送部に出力し、自サーバ装置の前記送信側転送部が、入力された前記タプル情報識別情報に基づいて、前記転送情報記憶部から転送先タプル記憶部識別情報を読み出し、前記タプル情報を前記読み出した転送先タプル記憶部識別情報に基づいて前記端末装置に前記ネットワークを介して送信し、前記端末装置の前記受信側転送部が、前記ネットワークを介して受信したタプル情報を、自端末装置が有する前記タプル情報記憶部に記憶する、ことを特徴とする請求項13から15に記載のネットワーク分散共有システムである。   In the invention described in claim 16, the server device stores the tuple information extraction unit of the server device in response to the tuple information being stored in the tuple information storage unit of the server device. It is determined whether or not the tuple information corresponds to the tuple search information stored in the tuple search information storage unit. If the determined result is applicable, the tuple information is stored in association with the corresponding tuple search information. The tuple search information identification information is read from the tuple search information storage unit, and the stored tuple information and the read tuple search information identification information are associated with each other and output to the transmission side transfer unit of the own server device. The transmission side transfer unit of the device reads transfer destination tuple storage unit identification information from the transfer information storage unit based on the input tuple information identification information, Pull information is transmitted to the terminal device based on the read transfer destination tuple storage unit identification information via the network, and the receiving side transfer unit of the terminal device receives the tuple information received via the network. 16. The network distributed sharing system according to claim 13, wherein the tuple information storage unit included in the terminal device stores the tuple information.

請求項17に記載の発明は、前記タプル情報は送信先タプル記憶部識別情報を設定可能な情報の領域を有しており、前記サーバ装置の送信側転送部が、自通信装置が有する前記タプル記憶部からタプル情報を読み出し、前記読み出したタプル情報に送信先タプル記憶部識別情報が設定されているか否かを判定し、送信先タプル記憶部識別情報が設定されていなければ、前記読み出したタプル情報を前記読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信し、送信先タプル記憶部識別情報が設定されていれば、該設定されている送信先タプル記憶部識別情報が、前記転送情報記憶部に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、いずれかと一致する場合には、前記読み出したタプル情報を前記設定されている送信先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信することを特徴とする請求項15または請求項16に記載のネットワーク分散共有システムである。   According to a seventeenth aspect of the present invention, the tuple information includes an information area in which destination tuple storage unit identification information can be set, and the transmission side transfer unit of the server device includes the tuple included in the communication device. Read tuple information from the storage unit, determine whether destination tuple storage unit identification information is set in the read tuple information, and if the destination tuple storage unit identification information is not set, read the tuple If the information is transmitted to the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information via the network and the transmission destination tuple storage unit identification information is set, the set transmission destination tuple storage It is determined whether or not the part identification information matches any of the transfer destination tuple storage part identification information stored in the transfer information storage part. The network distributed sharing according to claim 15 or 16, wherein the read tuple information is transmitted to the tuple storage unit corresponding to the set destination tuple storage unit identification information via the network. System.

請求項18に記載の発明は、前記端末装置の一部または全ての端末装置において、前記タプル記憶部に記憶されているタプル情報には、少なくとも送信先タプル記憶部識別情報が含まれており、前記中継代理部の送信側転送部が、前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読み出したタプル情報を、該読み出したタプル情報に含まれている送信先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する、ことを特徴とする請求項17に記載のネットワーク分散共有システムである。   In the invention according to claim 18, in the terminal device part or all of the terminal devices, the tuple information stored in the tuple storage unit includes at least destination tuple storage unit identification information, The transmission side transfer unit of the relay proxy unit reads the tuple information from the tuple storage unit included in the own communication device, and the read tuple information is included in the read tuple information. The network distributed sharing system according to claim 17, wherein the data is transmitted to the tuple storage unit corresponding to (2) via the network.

請求項19に記載の発明は、複数の通信装置がネットワークを介して接続され、前記複数の通信装置のそれぞれが、タプル情報を記憶し、タプル記憶部識別情報で識別されているタプル記憶部と、前記タプル記憶部に記憶されているタプル情報を送信する、または、受信したタプル情報を前記タプル記憶部に記憶する中継代理部と、を有するネットワーク分散共有システムにおいて用いられるネットワーク分散共有方法であって、前記中継代理部が、前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読出したタプル情報を、転送先となるタプル記憶部のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する送信側転送手順と、前記ネットワークを関して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送手順と、を有することを特徴とするネットワーク分散共有方法である。   The invention according to claim 19 is a tuple storage unit in which a plurality of communication devices are connected via a network, and each of the plurality of communication devices stores tuple information and is identified by tuple storage unit identification information. A network distributed sharing method used in a network distributed sharing system having a relay proxy unit that transmits tuple information stored in the tuple storage unit or stores received tuple information in the tuple storage unit. Then, the relay proxy unit reads tuple information from the tuple storage unit included in the communication apparatus, and the read tuple information is the tuple storage unit identification information of the tuple storage unit that is the transfer destination. The network is stored in the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit that stores the identification information. Network-distributed sharing, comprising: a transmission-side transfer procedure for transmitting via a network; and a reception-side transfer procedure for storing tuple information received with respect to the network in a tuple storage unit of the communication device. Is the method.

請求項20に記載の発明は、複数の通信装置がネットワークを介して接続され、前記複数の通信装置のそれぞれが、タプル情報を記憶し、タプル記憶部識別情報で識別されているタプル記憶部と、前記タプル記憶部に記憶されているタプル情報を送信する、または、受信したタプル情報を前記タプル記憶部に記憶する中継代理部と、を有するネットワーク分散共有システムにおいて用いられる前記中継代理部としてのコンピュータに、前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読出したタプル情報を、転送先となるタプル記憶部のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する送信側転送手順と、前記ネットワークを関して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送手順と、を実行させるためのネットワーク分散共有プログラムである。   The invention according to claim 20 is a tuple storage unit in which a plurality of communication devices are connected via a network, each of the plurality of communication devices stores tuple information, and is identified by tuple storage unit identification information. The relay proxy unit used in a network distributed sharing system having a relay proxy unit that transmits the tuple information stored in the tuple storage unit or stores the received tuple information in the tuple storage unit. The computer reads tuple information from the tuple storage unit included in the communication apparatus, and stores the read tuple information as transfer destination tuple storage unit identification information that is tuple storage unit identification information of the tuple storage unit serving as a transfer destination. The data is sent to the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit via the network. And transmitting-side transfer procedure for the tuple information received regarding the network is a network distributed shared program for executing a receiving transfer procedure to be stored in the tuple memory unit the own communication apparatus.

この発明によれば、Tupleを用いた通信であって、通信量を減じることが出来るネットワーク分散共有システムを提供することが出来るという効果を奏する。   According to the present invention, there is an effect that it is possible to provide a network distributed sharing system that is a communication using Tuple and that can reduce the amount of communication.

<Tuple Spaceの概要>
まず、Tuple Spaceの概要について説明する。Tuple Spaceは、概念上の共有メモリであり、このTuple SpaceにTupleとしてのデータを書込み、また、このTuple SpaceからTupleとしてのデータ読出しすることで、アプリケーションプログラム同士で通信を行なう。たとえていうならば、このTuple Spaceとは、掲示板の役目を果たす。
例えば、送信側アプリケーションプログラムはデータを、この掲示板であるTuple Spaceに書込む。一方、受信側アプリケーションプログラムは、必要とするデータの条件を指定して掲示板であるTuple Space内を検索し、条件にマッチしたデータを読出す。この掲示板でるTuple Spaceを介した間接通信により、アプリケーションプログラムは、送受信するデータの掲示板であるTuple Spaceへの読書きだけで、通信相手を意識することなく通信できるようになる。このようにデータ送受信を単純化できるため、環境変化に関係なく、それぞれのアプリケーションプログラムを独立に開発・運用することが可能になる。
<Overview of Tuple Space>
First, an overview of Tuple Space will be described. Tuple Space is a conceptual shared memory, and application programs communicate with each other by writing data as Tuple into this Tuple Space and reading data as Tuple from this Tuple Space. For example, this Tuple Space serves as a bulletin board.
For example, the sending application program writes data to the Tuple Space, which is this bulletin board. On the other hand, the receiving-side application program searches the Tuple Space, which is a bulletin board, by designating necessary data conditions, and reads data that matches the conditions. Through indirect communication via the Tuple Space on the bulletin board, the application program can communicate without being aware of the communication partner by simply reading and writing data to and from the Tuple Space, which is the bulletin board. Since data transmission / reception can be simplified in this way, each application program can be independently developed and operated regardless of environmental changes.

<第1の実施形態>
以下、図面を参照して、本発明の第1の実施形態について説明する。図1は、この発明の一実施形態によるネットワーク分散共有システムの構成を示す概略ブロック図である。図1に示すように、通信端末1と通信端末2とが、接続NW(接続ネットワーク)3を介して接続されている。この通信端末1と通信端末2とは、それぞれ、自通信端末上で動作する複数のアプリケーション11と、Tuple SpaceであるuTupleSpace12と、それぞれの通信端末を接続NW3に接続するRelayAgent13と、を有する。
<First Embodiment>
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram showing the configuration of a network distributed sharing system according to an embodiment of the present invention. As shown in FIG. 1, a communication terminal 1 and a communication terminal 2 are connected via a connection NW (connection network) 3. Each of the communication terminal 1 and the communication terminal 2 includes a plurality of applications 11 that operate on the own communication terminal, a uTupleSpace 12 that is a Tuple Space, and a Relay Agent 13 that connects each communication terminal to the connection NW 3.

アプリケーション11は、通信端末上で動作し、自通信端末が有するuTupleSpace12に対してデータを書き込み、また、読み出すことにより、自通信端末上のアプリケーション11間同士で、また、他の通信端末との間で、通信を実行する。   The application 11 operates on the communication terminal, and writes data to and reads data from the uTupleSpace 12 included in the communication terminal, thereby allowing the applications 11 on the communication terminal to communicate with each other and between other communication terminals. The communication is executed.

uTupleSpace12は、本実施形態で用いるTuple Spaceであり、アプリケーション11に対してTupleによるデータ送受信機能(uTupleSpace-API)を提供する。ただしuTupleSpace12単独では、同一uTupleSpace12に接続したアプリケーション間でのデータ共有しか実現しない。例えば、通信端末1においては、通信端末1のuTupleSpace12を介しては、通信端末1のアプリケーション11同士の間でしか、データ共有できない。そのため、通信端末1のアプリケーション11同士の間でしか、通信をすることができない。そこで、後述するように、複数のuTupleSpace12間をRelayAgent13で接続NW3を介して接続することにより、個々の通信端末のアプリケーション11に対して、論理的に1つのuTupleSpace12を構成し、シームレスなデータ共有を実現する。なお、uTupleSpae-APIが分散オブジェクト技術をサポートしていれば、アプリケーション11はuTuleSpace12と必ずしも同じ端末上で動作しなくてもよい。一方、接続NW3は分散オブジェクト技術が実装困難なネットワークを対象としている。   The uTupleSpace 12 is a Tuple Space used in this embodiment, and provides a data transmission / reception function (uTupleSpace-API) by Tuple to the application 11. However, the uTupleSpace 12 alone can only share data between applications connected to the same uTupleSpace 12. For example, in the communication terminal 1, data can be shared only between the applications 11 of the communication terminal 1 via the uTupleSpace 12 of the communication terminal 1. Therefore, communication can be performed only between the applications 11 of the communication terminal 1. Therefore, as will be described later, by connecting a plurality of uTupleSpaces 12 with a RelayAgent 13 via a connection NW3, one uTupleSpace 12 is logically configured for the application 11 of each communication terminal, and seamless data sharing is performed. Realize. Note that if the uTupleSpae-API supports the distributed object technology, the application 11 may not necessarily operate on the same terminal as the uTuleSpace 12. On the other hand, the connection NW3 is intended for a network in which the distributed object technology is difficult to implement.

RelayAgent13は、uTupleSpace12間を接続して、通信端末間のデータを転送する機能を提供する。以下の理由から、このRelayAgent13を、uTupleSpace12上の1つのアプリケーション11として、実現する。   The RelayAgent 13 provides a function of connecting the uTupleSpaces 12 and transferring data between communication terminals. The RelayAgent 13 is realized as one application 11 on the uTupleSpace 12 for the following reason.

一般に、uTupleSpace12間を接続する接続NW3は、多種多様である。また接続形態も、フラットな構成や階層的な構成など様々なバリエーションが可能である。また、それらの構成に応じたデータ転送方式が必要となる。さらに、uTupleSpace12間の機能分担に応じてデータ転送方式を規定する必要がある。したがって、uTupleSpace12間の接続機能を、uTupleSpace12自体から切り離してアプリケーションとして実装することで次のメリットが得られる。   In general, the connection NW3 that connects the uTupleSpaces 12 is diverse. Also, the connection form can be variously varied such as a flat configuration and a hierarchical configuration. In addition, a data transfer method according to the configuration is required. Furthermore, it is necessary to define a data transfer method according to the function sharing between the uTupleSpaces 12. Therefore, the following merit can be obtained by mounting the connection function between uTupleSpaces 12 as an application separately from uTupleSpace 12 itself.

(ア)拡張性
uTupleSpace12間の接続NW3、接続形態を変更・追加する場合、あるいは機能分担を変更する場合には、適切なRelayAgent13を用意すればよい。
(イ) ポータビリティ
よって、接続NW3や接続形態、機能分担が異なっても、RelayAgent13がその違いを隠蔽するため、uTupleSpace12およびそのアプリケーション11のポータビリティが高い。
(A) Extensibility
When changing / adding the connection NW3 between uTupleSpaces 12, the connection form, or changing the function sharing, an appropriate RelayAgent 13 may be prepared.
(A) Portability Therefore, even if the connection NW3, connection form, and function sharing are different, the RelayAgent 13 hides the difference, so the portability of the uTupleSpace 12 and its application 11 is high.

RelayAgent13とuTupleSpace12間はuTupleSpace-APIを利用してデータを読み書きし、RelayAgent13間は接続NW3の通信インタフェースを利用して、データを転送する。   Data is read and written between RelayAgent 13 and uTupleSpace 12 using uTupleSpace-API, and data is transferred between RelayAgent 13 using the communication interface of connection NW3.

次に、具体的な処理手順について、その動作について説明する。なお、以下では、通信端末1と通信端末2との間で、uTupleSpace12間を接続する、即ち接続対象となるuTupleSpace12が互いに1つである状況を仮定する。   Next, the operation of a specific processing procedure will be described. In the following, it is assumed that the uTupleSpaces 12 are connected between the communication terminal 1 and the communication terminal 2, that is, there is one uTupleSpace 12 to be connected.

(1)まず、通信端末1において、アプリケーション11が自身の(第1の)uTupleSpace12にTupleを書込む。
(2)次に、通信端末1において、第1のuTupleSpace12上の(第1の)RelayAgent13が、転送すべきTupleを第1のuTupleSpace12から読出し、接続NW3を介して(第2の)RelayAgent13へ転送する。
(1) First, in the communication terminal 1, the application 11 writes Tuple in its (first) uTupleSpace 12.
(2) Next, in the communication terminal 1, the (first) RelayAgent 13 on the first uTupleSpace 12 reads the Tuple to be transferred from the first uTupleSpace 12, and transfers it to the (second) RelayAgent 13 via the connection NW3. To do.

(3)次に、通信端末2において、第2のRelayAgent13は受信したTupleを自身の(第2の)uTupleSpace12へ書込む。
(4)次に、通信端末2において、第2のuTupleSpace12上のアプリケーション11が、必要なTupleを読出す。
なお、上記の第1のとは、通信端末1のことであり、第2のとは、通信端末2のことである。
(3) Next, in the communication terminal 2, the second RelayAgent 13 writes the received Tuple into its (second) uTupleSpace 12.
(4) Next, in the communication terminal 2, the application 11 on the second uTupleSpace 12 reads the necessary Tuple.
In addition, said 1st is the communication terminal 1 and 2nd is the communication terminal 2. FIG.

<通信端末間の通信:データ転送方式>
次に、図2から図4を用いて、複数のuTupleSpace12間で共有するTupleを転送する場合の動作について説明する。複数のuTupleSpace12間で共有するTupleを転送する方式には、大きく次の2つの形態がある。方式1は完全共有型によるデータ転送方式であり、方式2は、部分共有型によるデータ転送方式である。この方式2は、共有するTupleの検索条件を送信側/受信側のどちらで指定するかの観点から、さらに2つの方式に分けられる。
<Communication between communication terminals: Data transfer method>
Next, the operation when transferring a Tuple shared between a plurality of uTupleSpaces 12 will be described with reference to FIGS. There are roughly the following two modes for transferring Tuple shared between a plurality of uTupleSpaces 12. Method 1 is a completely shared data transfer method, and method 2 is a partially shared data transfer method. This method 2 is further divided into two methods from the viewpoint of specifying a search condition for a shared Tuple on the transmission side or the reception side.

次に、各方式について説明する。まず、方式1は完全共有型によるデータ転送方式である。この方式1は、接続するuTupleSpace12間で、ミラーリングする(全てのTupleをコピーしあって、個々に保持するTupleの集合を一致させる)方式である。   Next, each method will be described. First, method 1 is a completely shared data transfer method. This method 1 is a method in which mirroring is performed between connected uTupleSpaces 12 (all Tuples are copied to match the set of Tuples held individually).

図2を用いて、方式1によるTupleの転送する場合の動作について説明する。なお、ここでは、後述するように、データとして書き込むTupleを、actualと呼ぶ。まず、RelayAgent13がローカルのuTupleSpace12に書込まれたactualを全て読出し(readして)、リモートのuTupleSpace12にも同じactualを書込む(図2中の(3)、(4)参照)。   The operation in the case of Tuple transfer according to method 1 will be described with reference to FIG. Here, as will be described later, a Tuple to be written as data is called actual. First, the RelayAgent 13 reads (reads) all the actual data written in the local uTupleSpace 12, and writes the same actual data in the remote uTupleSpace 12 (see (3) and (4) in FIG. 2).

その結果、送信側アプリケーションの書込み、受信側アプリケーションの読出し(actualの条件マッチング)ともにローカルで完了する。この場合、送信側のRelayAgent13がactualを読出す条件(図2中のformal-1)は、ローカルに書込まれる全てのactualとマッチする必要がある。また、一方のuTupleSpace12で、actualがアプリケーションに読出(take)されたり、有効期限に基づいて削除された場合は、他方でも削除するなどの同期処理が必要となる。なお、formalとはactualを検索するための検索条件である。このformalについては、後述する。   As a result, both writing of the transmitting application and reading of the receiving application (actual condition matching) are completed locally. In this case, the condition (formal-1 in FIG. 2) for the RelayAgent 13 on the transmission side to read the actual needs to match all the actual written locally. In addition, when the actual is read (taken) by the application in one uTupleSpace 12 or deleted based on the expiration date, a synchronization process such as deleting the other is necessary. Note that formal is a search condition for searching for actual. This formal will be described later.

次に、方式2は、部分共有型によるデータ転送方式である。この方式2は、接続するuTupleSpace12間で相互に必要なTupleのみを一方から他方へ転送することにより、データ転送する方式である。この方式2は、更に、方式2-1として、リモート書込みしてローカル読出しする場合と、方式2-2として、ローカル書込みしてリモート読出しする場合とがある。   Next, method 2 is a partially shared data transfer method. This method 2 is a method for transferring data by transferring only necessary Tuples between the connected uTupleSpaces 12 from one to the other. This method 2 further includes a case of remote writing and local reading as method 2-1 and a case of local writing and remote reading as method 2-2.

まず、方式2-1のリモート書込みしてローカル読出しする場合について説明する。この方式2-1では、共有すべきactualを、受信側アプリケーションが存在し得るリモートのuTupleSpace12に書込む(リモート書込み)。次に、受信側アプリケーションは、自身のuTupleSpace12から必要なactualを読出す(ローカル読出し)。   First, the case of remote writing and local reading by method 2-1 will be described. In this method 2-1, the actual to be shared is written to the remote uTupleSpace 12 where the receiving side application can exist (remote writing). Next, the receiving side application reads the necessary actual from its uTupleSpace 12 (local reading).

図3を用いて、この方式2-1によるTupleの転送する場合の動作について説明する。この場合の動作は、図2を用いて説明した方式1の動作とほぼ同じである。この図3の方式2-1の動作と図2の方式1の動作との相違点は、図3中(1)で書込んだactualのうち、共有すべきものだけが転送されることである。さらにこのとき、転送すべきactualの検索条件(formal-3)については、読出し側のアプリケーションに関わらず、転送元(送信側)で決めることに特徴がある。   With reference to FIG. 3, the operation in the case of Tuple transfer according to this method 2-1 will be described. The operation in this case is almost the same as the operation of method 1 described with reference to FIG. The difference between the operation of the method 2-1 in FIG. 3 and the operation of the method 1 in FIG. 2 is that only the ones to be shared among the actuals written in (1) in FIG. 3 are transferred. Further, at this time, the actual search condition (formal-3) to be transferred is characterized in that it is determined by the transfer source (transmission side) regardless of the application on the reading side.

次に、方式2-2のローカル書込みしてリモート読出しする場合について説明する。この方式2-2では、方式2-1と対比すると、共有すべきactualを送信側から勝手には転送しない。方式2-2では、受信側アプリケーションから間接的にリモートの送信側uTupleSpace12ヘアクセスし、必要なactualを読出す。つまり、リモート読出しする。   Next, the case of local writing and remote reading in method 2-2 will be described. In this method 2-2, in contrast to the method 2-1, the actual to be shared is not transferred arbitrarily from the transmission side. In Method 2-2, the remote transmitting side uTupleSpace 12 is indirectly accessed from the receiving side application, and the necessary actual is read out. That is, remote reading is performed.

図4を用いて、この方式2-2によるTupleの転送する場合の動作について説明する。まず、リモート読出しのためには、受信側アプリケーションのactual検索条件(formal-2)を送信側へ転送する必要がある。したがって、本方式では、送信側RelayAgent13がformal-2を事前に取得して、取得したformal-2の条件に基づいてローカルのactualを検索する。なお、formal-2の転送にあたり、受信側RelayAgent13のformal-2の読出しには、後述するmeta-formal-1を使用する。このように本方式では、転送すべきactualを転送先(受信側)で決める点に特徴がある。   The operation in the case of Tuple transfer according to this method 2-2 will be described with reference to FIG. First, for remote reading, it is necessary to transfer the actual search condition (formal-2) of the receiving side application to the transmitting side. Therefore, in this method, the transmission-side RelayAgent 13 acquires formal-2 in advance and searches for a local actual based on the acquired formal-2 condition. For the transfer of formal-2, meta-formal-1 described later is used to read the formal-2 of the receiving side RelayAgent 13. Thus, this method is characterized in that the actual to be transferred is determined by the transfer destination (reception side).

方式2の場合は、接続される2つのuTupleSpace12の各々に対して、また、送信と受信のそれぞれの場面でどちらの方式を採るかで場合分けされる。そのため、計4通りの組合せが可能である。4通りの組合せの中から、いずれの組合せが適切であるかの選択は、各通信端末がもつ計算リソースや、接続NW3が提供する通信リソースや通信コスト、さらに想定するアプリケーション内容に基づいて、選択することが可能である。   In the case of method 2, the case is divided for each of the two uTupleSpaces 12 to be connected, depending on which method is used in each scene of transmission and reception. Therefore, a total of four combinations are possible. The selection of which combination is appropriate from the four combinations is selected based on the calculation resources of each communication terminal, the communication resources and communication costs provided by the connection NW3, and the assumed application contents. Is possible.

次に、Tupleについて説明する。Tupleとは、アプリケーションプログラムとuTupleSpace12との間の送受信データ、ないし、受信データ形式のことである。このTupleは、フィールドの集合で記述する。このフィールドとは、1つのキーと値のペアのことであり、後述するように予め規定されている必須フィールドとユーザが自由に記述できるフィールドとを有する。また、uTupleSpace12に書き込まれたTupleは原則的に、永続化するようにする。そのため、装置が再起動した場合も復旧可能である。また、TupleをuTupleSpace12に保持できる有効期限を設定することが可能である。そのため、有効期限を過ぎたTupleは、uTupleSpace12から削除するようにすることも可能である。   Next, Tuple will be described. Tuple is a transmission / reception data or reception data format between the application program and the uTupleSpace 12. This Tuple is described by a set of fields. This field is a pair of key and value, and has a pre-defined essential field and a field that can be freely described by the user as will be described later. Also, in principle, the Tuple written in the uTupleSpace 12 is made permanent. Therefore, it can be recovered even when the device is restarted. Further, it is possible to set an expiration date that can hold the Tuple in the uTupleSpace 12. Therefore, Tuples whose expiration date has passed can be deleted from uTupleSpace 12.

また、Tupleは、actualと、formalと、meta-formalとの3種類のTupleを有する。Actualは、アプリケーションがデータとしてuTupleSpace12に書込むTupleである。Formalは、uTupleSpace12からactualを読出す場合に、actualの検索条件としてuTupleSpace12に登録するTupleである。Meta-formalは、formalを検索するためのformalであり、formalと同様に、uTupleSpace12からformalを読出す場合に、formalの検索条件としてuTupleSpace12に登録するTupleである。
ここで読出す方法にはreadとtakeの2通りある。「読出し(read)」とは、Tupleの実体のコピーを取り出す(実体を参照する)ことを意味し、Tupleの実体はuTupleSpace内に残存する。一方、「読出し(take)」とは、Tupleの実体そのものを取り出す(取得する)ことを意味し、該TupleはuTupleSpace内には残存しない。
Tuple has three types of Tuples: actual, formal, and meta-formal. Actual is Tuple that the application writes to the uTupleSpace 12 as data. Formal is a Tuple that is registered in the uTupleSpace 12 as an actual search condition when reading actual from the uTupleSpace 12. The Meta-formal is a formal for searching for a formal, and is a Tuple that is registered in the uTupleSpace 12 as a formal search condition when the formal is read from the uTupleSpace 12 as in the formal.
Here, there are two reading methods, read and take. “Read” means taking out a copy of the Tuple entity (referring to the entity), and the Tuple entity remains in the uTupleSpace. On the other hand, “reading” means taking out (acquiring) an actual Tuple, and the Tuple does not remain in the uTupleSpace.

次に、図5を用いて、上記に説明したactualと、formalと、meta-formalとの3種類のTupleを用いて、アプリケーション11がuTupleSpace12に対してTupleを書き込む場合と読み出す場合との動作について説明する。なお、ここでは、例えば図1で示した通信端末1において、通信端末1の複数のアプリケーション11が、通信端末1のuTupleSpace12に対してTupleを書き込み、また、通信端末1のuTupleSpace12からTupleを読み出す場合について説明する。   Next, with reference to FIG. 5, the operation when the application 11 writes and reads the Tuple in the uTupleSpace 12 using the three types of Tuples described above, actual, and meta-formal. explain. Here, for example, in the communication terminal 1 shown in FIG. 1, a plurality of applications 11 of the communication terminal 1 write Tuple to the uTupleSpace 12 of the communication terminal 1 and read Tuple from the uTupleSpace 12 of the communication terminal 1. Will be described.

※入れ替わらなくてもよいわけでないので,入れ替わるとしました
まず、符号B51で示されるアプリケーション11(AP11)が、actualをuTupleSpace12に書き込む(ステップS51)。次に、符号B52で示されるアプリケーション11が、formalをuTupleSpace12に書き込む(ステップS52)。次に、符号B52で示されるアプリケーション11が、uTupleSpace12に書き込んだformalの条件に一致するactualを、uTupleSpace12から読出す(ステップS53)。
また、符号B53で示されるアプリケーション11が、meta-formalをuTupleSpace12に書き込む(ステップS53)。次に、符号B53で示されるアプリケーション11が、uTupleSpace12に書き込んだmeta-formalの条件に一致するformalを、uTupleSpace12から読出す(ステップS54)。
なお、読出し(read/take)には検索型と通知型とがあり、上記は検索型を前提とした説明である。通知型の場合には、ステップS51とステップS52、およびステップS52とステップS53の順番が入れ替わる。
* Since it does not have to be replaced, it is assumed that it is replaced. First, the application 11 (AP11) indicated by reference numeral B51 writes actual to the uTupleSpace 12 (step S51). Next, the application 11 indicated by reference numeral B52 writes formal in the uTupleSpace 12 (step S52). Next, the application 11 indicated by reference numeral B52 reads the actual that matches the formal condition written in the uTupleSpace 12 from the uTupleSpace 12 (step S53).
In addition, the application 11 indicated by reference numeral B53 writes the meta-formal into the uTupleSpace 12 (step S53). Next, the application 11 indicated by reference numeral B53 reads a formal that matches the meta-formal condition written in the uTupleSpace 12 from the uTupleSpace 12 (step S54).
Note that reading (read / take) has a search type and a notification type, and the above description is based on the search type. In the case of the notification type, the order of step S51 and step S52, and step S52 and step S53 is switched.

次に、図6を用いて、Tupleが有する構成要素(タプル要素)であるフィールドについて説明する。Tupleは、フィールドとして、(1)送信元uTupleSpace識別情報、(2)送信先uTupleSpace識別情報を少なくとも有する。また、アプリケーション11間でのTupleの送受信を効率的に行うためのフィールドとして、(3)センサ/アクチュエータ種別、(4)コマンド/イベントタイプ、および(5)パラメータを有してもよい。また、その他の情報として、(6)タイムスタンプ情報や、(7)品質クラスを有してもよい。   Next, fields that are constituent elements (tuple elements) of Tuple will be described with reference to FIG. Tuple has at least (1) transmission source uTupleSpace identification information and (2) transmission destination uTupleSpace identification information as fields. Further, as a field for efficiently performing Tuple transmission / reception between the applications 11, (3) sensor / actuator type, (4) command / event type, and (5) parameter may be included. Other information may include (6) time stamp information and (7) quality class.

送信元uTuleSpace識別情報は、Tuple転送の送信側となるuTupleSpaceを識別するための識別子であり、キーとしてfromを有し、値として、たとえば、uTupleSpaceを識別する名前、アドレス、任意の文字列や数字、バイナリデータを有する。以降、これを、簡略のため「from要素」と称する。
送信先uTuleSpace識別情報は、Tuple転送の受信側となるuTupleSpaceを識別するための識別子であり、キーとしてtoを有し、値として、たとえば、uTupleSpaceを識別する名前、アドレス、任意の文字列や数字、バイナリデータを有する。例えば,端末にuTupleSpaceを1つだけ保持する場合は、その端末の識別情報をuTupleSpaceの識別子として使用しても良い。以降、これを、簡略のため「to要素」と称する。
The source uTuleSpace identification information is an identifier for identifying the uTupleSpace that is the sending side of the Tuple transfer, has “from” as a key, and, for example, a name, address, arbitrary character string or number that identifies uTupleSpace Have binary data. Hereinafter, this is referred to as a “from element” for simplicity.
The destination uTuleSpace identification information is an identifier for identifying the uTupleSpace that is the receiving side of the Tuple transfer, has “to” as a key, and as a value, for example, a name, an address, an arbitrary character string or a number that identifies the uTupleSpace Have binary data. For example, when only one uTupleSpace is held in a terminal, the terminal identification information may be used as an identifier of uTupleSpace. Hereinafter, this is referred to as a “to element” for the sake of brevity.

センサ/アクチュエータ種別は、サブアプリケーションやデバイスなどのアプリケーションを構成する要素を示すフィールドであり、キーとしてsubjectを有し、値として、たとえば、アプリケーションやセンサ/アクチュエータの種別を識別するための名前やアドレス、任意の文字列や数字を有する。この意味は、アプリケーション間で予め規定される。
コマンド/イベントタイプは、アプリケーションやアプリケーション構成要素に求める処理を示すフィールドであり、キーとしてtypeを有し、値は、たとえば、パラメータやデータの設定や取得、応答、イベントを表す文字列”SET”、”GET”、”RESPONSE”、”TRAP”を有する。この具体的な値と意味は、アプリケーション間で予め規定される。
パラメータは、センサ/アクチュエータ種別で示されるアプリケーションに対して、コマンド/イベントタイプで示される処理を行う場合に必要となるデータもしくはデータの組を示し、キーとしてbodyを有し、値は、任意のフィールドの集合である。キーや値はアプリケーション間で予め規定される。
また、タイムスタンプ情報は、キーとしてdateを有し、値として時刻を表す情報、たとえば年月日時分秒から構成される文字列”YYYYMMDDHHMMSS”形式で記述された値を有する。
さらに、接続NW3においてデータ転送の品質クラスが存在する場合は、品質クラスを指定するフィールドを追加してもよい。品質クラスはキーとして、priorityを有し、値として、たとえば、接続NW3に広域ユビキタスNWを適用する場合は、文字列”HIGH”または”LOW”を有する。この”HIGH”は即時通信を意味し、”LOW”は遅延許容通信を意味する。
なお、センサ/アクチュエータ種別、コマンド/イベントタイプ、あるいはタイムスタンプ情報などのフィールドは、上記説明のように個々のフィールドにわけてもよいし、パラメータの中に含めてしまってもよい。
The sensor / actuator type is a field indicating an element that constitutes an application such as a sub-application or a device, has a subject as a key, and a value, for example, a name or address for identifying the type of the application or sensor / actuator , Have any string or number. This meaning is defined in advance between applications.
The command / event type is a field indicating processing required for an application or an application component, has type as a key, and a value is, for example, a character string “SET” representing parameter or data setting / acquisition, response, or event , “GET”, “RESPONSE”, and “TRAP”. The specific value and meaning are defined in advance between applications.
The parameter indicates data or a set of data required for performing the process indicated by the command / event type for the application indicated by the sensor / actuator type, has a body as a key, and the value is an arbitrary value. A set of fields. Keys and values are defined in advance between applications.
The time stamp information has date as a key and information indicating time as a value, for example, a value described in a character string “YYYYMMDDHHMMSS” format composed of year / month / day / hour / minute / second.
Further, when a quality class for data transfer exists in the connection NW3, a field for designating the quality class may be added. The quality class has priority as a key, and has a character string “HIGH” or “LOW” as a value, for example, when a wide area ubiquitous NW is applied to the connection NW3. “HIGH” means immediate communication, and “LOW” means delay-tolerant communication.
It should be noted that fields such as sensor / actuator type, command / event type, or time stamp information may be divided into individual fields as described above, or may be included in parameters.

次に、上記で説明した送信元uTupleSpace識別情報であるfrom要素と、送信先uTupleSpace識別情報であるto要素とについて、説明する。
この送信元uTupleSpace識別情報と送信先uTupleSpace識別情報とは、RelayAgent間の転送に使用され、送信側、受信側となる(ローカル)uTupleSpaceを識別する。また、後述するように、本実施形態を広域ユビキタスNWに適応した場合、広域ユビキタスNWの特徴に基づきIP-TEが主、TEが従となることから、TE側のuTupleSpaceからみたIP-TE側のuTupleSpaceを“PARENT“、IP-TE側のuTupleSpaceからみたTE側のuTupleSpaceをTEの端末識別情報で表す。また、自端末のuTupleSpaceを”SELF”で表す。なお、以上は各端末装置にuTupleSpaceが1つだけ存在する場合を仮定しており、端末装置にuTupleSpaceが複数存在する場合は、uTupleSpaceをユニークに識別する識別子を用いる。RelayAgentは、Tupleの、送信元uTupleSpace識別情報と送信元uTupleSpace識別情報とのフィールドの値をチェックして、Tupleの転送を行なう。
Next, the from element that is the transmission source uTupleSpace identification information described above and the to element that is the transmission destination uTupleSpace identification information will be described.
The transmission source uTupleSpace identification information and the transmission destination uTupleSpace identification information are used for transfer between RelayAgents, and identify (local) uTupleSpaces on the transmission side and reception side. As will be described later, when this embodiment is applied to a wide area ubiquitous NW, the IP-TE side is the main and the TE is the subordinate based on the characteristics of the wide area ubiquitous NW, so the IP-TE side viewed from the uTupleSpace on the TE side The uTupleSpace of the TE side is represented by “PARENT”, and the uTupleSpace of the TE side viewed from the uTupleSpace of the IP-TE side is represented by TE terminal identification information. In addition, the uTupleSpace of the terminal is represented by “SELF”. Note that the above assumes that there is only one uTupleSpace in each terminal device. If there are a plurality of uTupleSpaces in the terminal device, an identifier that uniquely identifies uTupleSpace is used. The RelayAgent checks the values of the Tuple's transmission source uTupleSpace identification information and the transmission source uTupleSpace identification information, and transfers the Tuple.

次に、この送信元uTupleSpace識別情報と送信先uTupleSpace識別情報とを用いた転送ルールについて、説明する。
RelayAgent13は1対で1組となり、他方からTupleを受信した場合、そのTupleを用いて他方の代理人としてローカルなuTupleSpace12に書込み/読出しを行う。読出されたTupleは、他方へ転送される。TE RelayAgent13は、次のTupleを、TE uTupleSpace12から取得し、IP-TE RelayAgent13に転送する。例えば、to=“PARENT”と設定されているactualの場合、to=“PARENT”と設定したformalで取得し、後述するシーケンス図14(1-5)〜(2-3)の動作により転送する。また、from=“PARENT”と設定されているformalの場合、from=“PARENT”と設定したmeta-formalで取得し、後述するシーケンス図15(1-4)〜(3-3)の動作により転送する。なお、IP-TE RelayAgent13はTE RelayAgent13から転送されたformalにマッチしたactualを、該当TE RelayAgent13に転送する(シーケンス図15(3-4)〜(3-7))。
Next, a transfer rule using the transmission source uTupleSpace identification information and the transmission destination uTupleSpace identification information will be described.
The RelayAgent 13 is paired as a pair, and when a Tuple is received from the other, the Tuple is used to write / read the local uTupleSpace 12 as the other agent. The read Tuple is transferred to the other. The TE RelayAgent 13 acquires the next Tuple from the TE uTupleSpace 12 and transfers it to the IP-TE RelayAgent 13. For example, in the case of “actual” in which to = “PARENT” is set, it is acquired with the formal set in to = “PARENT”, and is transferred by the operations shown in sequence diagrams (1-5) to (2-3) described later. . Also, in the case of a formal where from = “PARENT” is set, the meta-formal that is set from = “PARENT” is acquired, and the operations shown in the sequence diagrams 15 (1-4) to (3-3) described later are performed. Forward. The IP-TE RelayAgent 13 transfers the actual matched with the formal transferred from the TE RelayAgent 13 to the corresponding TE RelayAgent 13 (sequence diagrams (3-4) to (3-7)).

ここで、上記で説明した方式2によりデータを転送する場合、actualの転送を決定する条件は、送信側で指定する場合と受信側で指定する場合とに分かれる。これを可能にするため、TupleにuTupleSpace12間転送用のフィールドとしての送信元uTupleSpace識別情報、および送信先uTupleSpace識別情報を設けている。   Here, when data is transferred by the method 2 described above, conditions for determining actual transfer are divided into a case of specifying on the transmitting side and a case of specifying on the receiving side. To enable this, Tuple is provided with transmission source uTupleSpace identification information and transmission destination uTupleSpace identification information as fields for transfer between uTupleSpaces 12.

転送条件を送信側で決める場合、条件として登録するformal(図3中のformal-3)の送信先uTupleSpace識別情報フィールドに転送先となる受信側のuTupleSpace12を設定する。逆に転送条件を受信側で決める場合はformalおよびmeta-formal(図4中のformal-2およびmeta-formal-1)の送信元uTupleSpace識別情報フィールドに送信側のuTupleSpace12を設定することでformalを送信側へ転送し、送信先uTupleSpace識別情報フィールドに受信側のuTupleSpace12を設定して送信側uTupleSpace12に記録する。さらに後者の場合において、受信側のアプリケーションに関する情報を、センサ/アクチュエータ種別、コマンド/イベントタイプ等のフィールドに記載することにより、転送するactualを受信側アプリケーションが真に必要としているものだけに制限することが可能となる。   When the transfer condition is determined on the transmission side, the receiving side uTupleSpace 12 serving as the transfer destination is set in the transmission destination uTupleSpace identification information field of the formal (formal-3 in FIG. 3) registered as the condition. Conversely, when the transfer conditions are determined by the receiving side, the formal is set by setting the sending side uTupleSpace 12 in the source uTupleSpace identification information field of formal and meta-formal (formal-2 and meta-formal-1 in FIG. 4). Transfer to the transmitting side, set the receiving side uTupleSpace 12 in the destination uTupleSpace identification information field, and record in the transmitting side uTupleSpace 12. Furthermore, in the latter case, information on the receiving side application is described in the sensor / actuator type, command / event type, etc. fields, so that the actual to be transferred is limited to only what the receiving side application really needs. It becomes possible.

次に、図7を用いて、本実施形態によるネットワーク分散共有システムを、広域ユビキタスNWに適用した場合の構成について説明する。同図において、図1の構成に相当する構成には、同一の符号を付し、その説明を省略する。なお、ここでは、通信端末1をIP-TE1(Internet Protocol-Terminal Equipment)とし、通信端末2をTE2(Terminal Equipment)として、説明する。広域ユビキタスNWにおいては、このIP-TE1とは、例えば、サーバであり、TE2は、例えば、通信機能を有する複数のセンサ装置である。ここでは、IP-TE1が1台の場合について説明する。また、接続NW3は、広域ユビキタスNW3に対応する。   Next, a configuration when the network distributed sharing system according to the present embodiment is applied to a wide area ubiquitous NW will be described with reference to FIG. In the figure, components corresponding to those in FIG. 1 are denoted by the same reference numerals and description thereof is omitted. Here, the communication terminal 1 is described as IP-TE1 (Internet Protocol-Terminal Equipment), and the communication terminal 2 is described as TE2 (Terminal Equipment). In the wide area ubiquitous NW, the IP-TE1 is, for example, a server, and the TE2 is, for example, a plurality of sensor devices having a communication function. Here, a case where there is one IP-TE 1 will be described. The connection NW3 corresponds to the wide area ubiquitous NW3.

この図7のIP-TE1およびTE2は、図1の通信端末1および通信端末2と同様に、アプリケーション11と、uTupleSpace12と、RelayAgent13とをそれぞれ有する。なお、IP-TE1においては、アプリケーション11として、IP-TEアプリケーションが動作し、TE2においては、アプリケーション11として、TEアプリケーションが動作する。なお、IP-TE1のRelayAgent13は、IP-GW(Internet Protocol-GateWay)4を介して広域ユビキタスNW3に接続され、また、TE2のRelayAgent13は、WTu(Wireless Terminal for Ubiquitous network service)5を介して広域ユビキタスNW3に接続される。   The IP-TE1 and TE2 in FIG. 7 have an application 11, a uTupleSpace 12, and a RelayAgent 13, respectively, like the communication terminal 1 and the communication terminal 2 in FIG. In IP-TE1, an IP-TE application operates as the application 11, and in TE2, a TE application operates as the application 11. The Relay Agent 13 of the IP-TE 1 is connected to the wide area ubiquitous NW 3 via the IP-GW (Internet Protocol-Gateway) 4, and the Relay Agent 13 of the TE 2 is connected to the wide area via the WTU (Wireless Terminal for Ubiquitous network service) 5. Connected to Ubiquitous NW3.

IP-TE1とTE2とは、それぞれ、uTupleSpace12とRelayAgent13とを有する。以降において、uTupleSpace12とRelayAgent13とを、IP-TE1とTE2との通信端末の装置種別ごとに区別して説明する場合には、uTupleSpace12とRelayAgent13とに、IP-TEもしくはTEを頭につけて表記する。例えば、IP-TE1が有するuTupleSpace12を、IP-TE uTupleSpace12と称し、TE2が有するuTupleSpace12を、TE uTupleSpace12と称する。   IP-TE1 and TE2 have uTupleSpace 12 and RelayAgent 13, respectively. In the following, when uTupleSpace 12 and RelayAgent 13 are described separately for each type of communication terminal of IP-TE1 and TE2, uTupleSpace12 and RelayAgent13 are described with IP-TE or TE in front. For example, uTupleSpace 12 included in IP-TE1 is referred to as IP-TE uTupleSpace12, and uTupleSpace12 included in TE2 is referred to as TE uTupleSpace12.

IP-TE/TE RelayAgent13はそれぞれの広域ユビキタスNW通信インタフェースを使用してデータ転送を行なうことで、広域ユビキタスNW3を接続NW3とする複数装置に跨るuTupleSpaceを構成する。このとき、IP-TE1とTE2とのRelayAgent13間で実現するデータ転送方式を規定する上で考慮すべき広域ユビキタスNW3の特徴を、以下に説明する。   The IP-TE / TE RelayAgent 13 performs data transfer using each wide area ubiquitous NW communication interface, thereby constructing a uTupleSpace spanning a plurality of apparatuses having the wide area ubiquitous NW3 as the connection NW3. At this time, the characteristics of the wide area ubiquitous NW3 to be considered in defining the data transfer method realized between the Relay Agents 13 of the IP-TE1 and the TE2 will be described below.

<接続形態>
広域ユビキタスNW3では、あるTE2を収容するIP-TE1は必ず1つに決まることから、あるTE RelayAgent13と組となるIP-TE RelayAgent13は、1つに限定される。一方、IP-TE1は複数のTE2を収容することから、IP-TE RelayAgent13は複数種類のTE RelayAgent13と接続し得る。このとき転送先となるTE RelayAgent13の区別には、広域ユビキタスNW3において通信の宛先に使用される端末識別情報(サービスID)を用いる。
<Connection type>
In the wide area ubiquitous NW3, since one IP-TE1 that accommodates a certain TE2 is always determined as one, the number of IP-TE RelayAgents 13 paired with a certain TE RelayAgent13 is limited to one. On the other hand, since IP-TE1 accommodates a plurality of TE2, the IP-TE RelayAgent 13 can be connected to a plurality of types of TE RelayAgent13. At this time, terminal identification information (service ID) used as a communication destination in the wide area ubiquitous NW 3 is used to distinguish the TE Relay Agent 13 serving as a transfer destination.

<想定アプリケーション>
広域ユビキタスNW3では、TE2側のアプリケーション(TEアプリケーション)11は、例えば、センサ/アクチュエータ駆動アプリケーションである。また、IP-TE1側のアプリケーション(IP-TEアプリケーション)11は、例えば、データ収集およびデータ加工アプリケーションや、デバイス制御アプリケーションである。
<Assumed application>
In the wide area ubiquitous NW3, the TE2 side application (TE application) 11 is, for example, a sensor / actuator drive application. The IP-TE 1 application (IP-TE application) 11 is, for example, a data collection and data processing application or a device control application.

したがって、TEアプリケーション11の通信相手となる通信端末は、ほとんどがIP-TEアプリケーション11であるため、TEアプリケーション11が生成するTupleについては、ほぼすべてIP-TE1側に転送する必要がある。一方IP-TEアプリケーション11の通信相手は、複数のTEアプリケーション11となり、さらに他のIP-TEアプリケーション11が通信相手となる場合もある。よってIP-TE1からTE2へのTupleの転送は、選択的に転送する必要がある。   Therefore, since most of the communication terminals that are the communication counterparts of the TE application 11 are the IP-TE application 11, it is necessary to transfer almost all Tuples generated by the TE application 11 to the IP-TE1 side. On the other hand, the communication partner of the IP-TE application 11 is a plurality of TE applications 11, and another IP-TE application 11 may be a communication partner. Therefore, it is necessary to selectively transfer the Tuple from IP-TE1 to TE2.

<接続NW3>
広域ユビキタスNW3は、莫大な数のTE2を収容することから、IP-TE1とTE2との間の通信帯域などの通信リソースは非常に限られる。したがってuTupleSpace12間のデータ転送においては、受信側アプリケーション11が必要としない無駄な転送は避けたほうが好ましい。また転送するにあたっては、データ圧縮などにより、データ量を削減することが好ましい。
<Connection NW3>
Since the wide area ubiquitous NW3 accommodates a huge number of TE2, communication resources such as a communication band between the IP-TE1 and the TE2 are very limited. Therefore, in data transfer between uTupleSpaces 12, it is preferable to avoid useless transfers that are not required by the receiving application 11. In transferring, it is preferable to reduce the amount of data by data compression or the like.

<TE>
広域ユビキタスNW3では、処理能力の高いPC相当の通信装置から、組込マイコンのような機能が低く演算能力やメモリ容量に限界がある通信装置、さらには使い捨て端末のような1ビット処理端末などの通信装置など、様々な通信装置であるTE2がある。したがって、上記で説明したIP-TE1とTE2との間のデータ転送方式のうち、どれを適用するかは、演算能力やメモリ容量ならびに消費電力を考慮して選択することが重要となる。
<TE>
In the wide area ubiquitous NW3, a communication device equivalent to a PC having a high processing capability, a communication device having a low function such as an embedded microcomputer and a limited calculation capability and memory capacity, and a 1-bit processing terminal such as a disposable terminal are used. There is TE2, which is various communication devices such as communication devices. Accordingly, it is important to select which of the data transfer methods between the IP-TE1 and TE2 described above is to be applied in consideration of computing capacity, memory capacity, and power consumption.

TE2が、たとえばマイコンのように機能が低く演算能力やメモリ容量に限界があるリソース条件が厳しい低処理能力装置の場合、Tupleの永続化や過去に記録されたTupleの検索を実現することは難しい。また、このような装置は容易にリセットすることができるため、TE2側のTupleはリセットなどにより削除されてしまう可能性がある。すなわち、広域ユビキタスNWのIP-TE1とTE2とでは、大きなリソース格差が存在する。   If TE2 is a low-performance device with severe resource conditions such as a microcomputer that has low functionality and limited computing power and memory capacity, it is difficult to make Tuple permanent or search Tuple recorded in the past. . In addition, since such a device can be easily reset, the Tuple on the TE2 side may be deleted by resetting or the like. That is, there is a large resource gap between IP-TE1 and TE2 of the wide area ubiquitous NW.

次に、上記に説明した広域ユビキタスNW3の特徴に基づいて、IP-TE1とTE2との間のデータ転送方式について説明する。IP-TE1とTE2との間のデータ転送方式においては、通信トラヒックならびにTE2側で必要となるリソースを極力低減できる組合せとして、次に示す方式を適用する。   Next, a data transfer method between the IP-TE 1 and the TE 2 will be described based on the characteristics of the wide area ubiquitous NW 3 described above. In the data transfer method between IP-TE1 and TE2, the following method is applied as a combination that can reduce communication traffic and resources required on the TE2 side as much as possible.

(a)TE2からIP-TE1へのデータ転送方式は、上記に説明した(方式2-1:TEリモート書込み⇒IP-TEローカル読出し)を選択する。つまり、TEアプリケーション11が書込んだIP-TEアプリケーション11向けactualは、全てIP-TE1側へ転送する。また、IP-TE1側で、actualを保持・永続化する。 (A) As a data transfer method from TE2 to IP-TE1, the above-described (method 2-1: TE remote write-> IP-TE local read) is selected. That is, all actuals for the IP-TE application 11 written by the TE application 11 are transferred to the IP-TE 1 side. In addition, on the IP-TE1 side, actual is maintained and made permanent.

(b)IP-TE1からTE2へのデータ転送方式は、上記に説明した(方式2-2:IP-TEローカル書込み⇒TEリモート読出し)を選択する。つまり、IP-TEアプリケーション11が書込んだactualについては、TEアプリケーション11の検索条件に適合するactualの検索をIP-TE1側で行い、TE2側へ転送する。 (B) As the data transfer method from IP-TE1 to TE2, the above-described method (method 2-2: IP-TE local write-> TE remote read) is selected. That is, for the actual written by the IP-TE application 11, the actual search that matches the search condition of the TE application 11 is performed on the IP-TE1 side and transferred to the TE2 side.

この組み合わせを採用することにより、次のようなメリットが得られる。まず、豊富なリソースと永続化機能を持つIP-TE1がactualを始めとした全ての共有すべきTupleを一括して保持することで、リソース条件の厳しいTE2を接続した場合にも、当該TE2が生成した過去のデータの検索や、故障時やリセット時の復旧が可能となる。すなわち、IP-TE1とTE2が同等の記憶容量や処理能力を持たなくても、TupleSpaceを用いたデータ分散共有システムの構築が可能となる。   By adopting this combination, the following advantages can be obtained. First, IP-TE1 with abundant resources and persistence function holds all Tuples that should be shared, including actual, all at once, so even if TE2 with severe resource conditions is connected, It is possible to search the generated past data and to recover at the time of failure or reset. That is, even if IP-TE1 and TE2 do not have the same storage capacity and processing capacity, it is possible to construct a data distribution sharing system using TupleSpace.

また、省トラヒックの観点からは、TE2側へ転送するactualを個々のアプリケーション11が必要なものだけに限定できる。一方、TEアプリケーション11の検索条件であるformalを、IP-TE1側へ転送するが、このformalを転送する回数は、起動時の1回のみであるため、formal転送によるトラヒック増大は殆どない。すなわち、TupleSpaceを用いたデータ分散共有システムにおいて、IP-TE1とTE2間の通信量を低減することが可能となる。   Further, from the viewpoint of traffic saving, the actual to be transferred to the TE 2 side can be limited to only those that require each application 11. On the other hand, the formal which is the search condition of the TE application 11 is transferred to the IP-TE1 side. However, since the number of times this formal is transferred is only once at the time of activation, there is almost no increase in traffic due to the formal transfer. That is, in the data distribution sharing system using TupleSpace, it is possible to reduce the communication amount between IP-TE1 and TE2.

次に、図8を用いて、IP-TE1またはTE2である通信端末の構成について詳細に説明する。なお、通信端末であるIP-TE1とTE2とは、構成としては同様の構成を有しているので、ここでは、1つの通信端末1の構成についてのみ説明する。   Next, the configuration of a communication terminal that is IP-TE1 or TE2 will be described in detail with reference to FIG. In addition, since IP-TE1 and TE2 which are communication terminals have the same structure as a structure, only the structure of one communication terminal 1 is demonstrated here.

なお、以降において、TE2からIP-TE1へのactualの転送を、アップロード処理と称し、IP-TE1からTE2へのactualの転送、または、TE2がIP-TE1へformalを送信することにより、該送信したformalに該等するactualを、TE2がIP-TE1から読み出すことを、ダウンロード処理と称して説明する。   In the following, the actual transfer from TE2 to IP-TE1 is referred to as an upload process, and the actual transfer from IP-TE1 to TE2 or the formal transmission from TE2 to IP-TE1 causes the transmission. The fact that TE2 reads the actual corresponding to the formal obtained from IP-TE1 will be referred to as download processing.

通信端末1は、アプリケーション11と、uTupleSpace12と、RelayAgent13とを有する。アプリケーション11は、アプリケーション部111と、uTupleSpace入出力処理部112とを有する。uTupleSpace12は、actual記憶部121と、formal記憶部122と、meta-formal記憶部123と、actual抽出部124と、formal抽出部125とを有する。RelayAgent13は、NW通信処理部131と、初期化機能部132と、メイン処理部133と、uTupleSpace入出力処理部134とを有する。また、このメイン処理部133は、リセット処理部1331と、アップロード処理部1332と、ダウンロード処理部1333とを有する。   The communication terminal 1 has an application 11, a uTupleSpace 12, and a RelayAgent 13. The application 11 includes an application unit 111 and a uTupleSpace input / output processing unit 112. The uTupleSpace 12 includes an actual storage unit 121, a formal storage unit 122, a meta-formal storage unit 123, an actual extraction unit 124, and a formal extraction unit 125. The RelayAgent 13 includes an NW communication processing unit 131, an initialization function unit 132, a main processing unit 133, and a uTupleSpace input / output processing unit 134. The main processing unit 133 includes a reset processing unit 1331, an upload processing unit 1332, and a download processing unit 1333.

RelayAgent13は、接続NW3を介して異なる通信端末であるノード上のアプリケーション11同士で、uTupleSpace12を介したデータの送受信を実現する為に、ノード間のTupleの転送処理を行なうモジュールであり、接続するノードの両方にそれぞれ存在する。   The RelayAgent 13 is a module that performs Tuple transfer processing between nodes in order to exchange data via the uTupleSpace 12 between the applications 11 on the nodes that are different communication terminals via the connection NW3. Exists in both.

RelayAgent13の機能としては、uTupleSpace12と接続NW3に対するインタフェース部であるNW通信処理部131を有し、自通信端末が有するアプリケーション11が、自通信端末が有するuTupleSpace12に書き込んだactualもしくはformalを取得して、接続NW3を介して他方の通信端末のRelayAgent13へと送信する。また、RelayAgent13は、接続NW3を介して他方の通信端末のRelayAgent13から受信したデータを、自通信端末が有するuTupleSpace12に、actualもしくはformalとして書込む。なお、RelayAgent13は、Tupleを送信または受信において転送する場合に、uTupleSpace12で使用するTupleフォーマットと、RelayAgent13間通信仕様に従ったフォーマットとの相互変換を行う。   As a function of the RelayAgent 13, it has an NW communication processing unit 131 that is an interface unit for the uTupleSpace 12 and the connection NW3, and the application 11 that the own communication terminal has acquired actual or formal written in the uTupleSpace 12 that the own communication terminal has, It transmits to RelayAgent13 of the other communication terminal via connection NW3. Also, the RelayAgent 13 writes the data received from the RelayAgent 13 of the other communication terminal via the connection NW3 as actual or formal in the uTupleSpace 12 of the own communication terminal. The RelayAgent 13 performs mutual conversion between a Tuple format used in the uTupleSpace 12 and a format according to the communication specifications between the RelayAgents 13 when transferring the Tuple in transmission or reception.

上記の中継機能を実現するため、RelayAgent13は、uTupleSpace12上のアプリケーションとして動作し、通信端末の起動時に、uTupleSpace12からデータを取得するための動作を行なう。   In order to implement the relay function, the RelayAgent 13 operates as an application on the uTupleSpace 12 and performs an operation for acquiring data from the uTupleSpace 12 when the communication terminal is activated.

次に、アプリケーション11の各構成について説明する。アプリケーション部111は、複数のアプリケーションが動作する。この複数のアプリケーションのそれぞれは、uTupleSpace入出力処理部112を介して、uTupleSpace12からTupleを書き込み、または、読み出す。   Next, each configuration of the application 11 will be described. In the application unit 111, a plurality of applications operate. Each of the plurality of applications writes or reads a Tuple from the uTupleSpace 12 via the uTupleSpace input / output processing unit 112.

次に、uTupleSpace12の各構成について説明する。Actual記憶部121には、actualが記憶される。Formal記憶部122には、formalが記憶される。Meta-formal記憶部123には、meta-formalが記憶される。   Next, each configuration of the uTupleSpace 12 will be described. The actual storage unit 121 stores actual. The formal storage unit 122 stores formal. The meta-formal storage unit 123 stores meta-formal.

actual抽出部124は、formal記憶部122にformalが書き込まれて記憶されることに応じて、この書き込まれたformalの検索条件に一致するactualをactual記憶部121から抽出し、該抽出したactualを、このactualまたはこのformalで識別される宛先へ送出する。また、actual抽出部124は、formal記憶部122に予めformalが記憶されており、actualがactual記憶部121に書き込まれて記憶されることに応じて、該書き込まれたactualが、予めformal記憶部122に記憶されていたformalと一致するか否かを判定し、一致する場合には、この書き込まれたactualを、このactualまたはこのformalで識別される宛先へ送出する。あるいは、actual抽出部124は、actualがactual記憶部121に書き込まれており、formal記憶部122にformalが記憶されることに応じて、該書き込まれたformalが、予めactual記憶部121に記憶されていたactualと一致するか否かを判定し、一致する場合には、この書き込まれたformalに一致するactualを、このactualまたはこのformalで識別される宛先へ送出する。   In response to the formal being written and stored in the formal storage unit 122, the actual extraction unit 124 extracts the actual that matches the written formal search condition from the actual storage unit 121, and extracts the extracted actual. , Send to the destination identified by this actual or this formal. Further, the actual extraction unit 124 stores the formal in advance in the formal storage unit 122, and in response to the actual being written and stored in the actual storage unit 121, the actual extraction unit 124 stores the formal in advance. It is determined whether or not it matches the formal stored in 122, and if it matches, the written actual is sent to this actual or a destination identified by this formal. Alternatively, in the actual extraction unit 124, the actual is written in the actual storage unit 121, and the written formal is stored in the actual storage unit 121 in advance when the formal is stored in the formal storage unit 122. It is determined whether or not it matches the actual, and if it matches, the actual that matches the written formal is sent to the actual or a destination identified by the formal.

formal抽出部125は、meta-formal記憶部123にmeta-formalが書き込まれて記憶されることに応じて、この書き込まれたmeta-formalの検索条件に一致するformalをformal記憶部122から抽出し、該抽出したformalを、formalまたはmeta-formalで識別される宛先へ送出する。また、formal抽出部125は、meta-formal記憶部123に予めmeta-formalが記憶されており、formalがformal記憶部122に書き込まれて記憶されることに応じて、該書き込まれたforamlが、予めmeta-formal記憶部123に記憶されていたmeta-formalと一致するか否かを判定し、一致する場合には、この書き込まれたformalを、formalまたはmeta-formalで識別される宛先へ送出する。あるいは、formal抽出部125は、formalがformal記憶部122に書き込まれており、meta-formal記憶部123にmeta-fomalが記憶されることに応じて、該書き込まれたmeta-formalが、予めformal記憶部122に記憶されていたformalと一致するか否かを判定し、一致する場合には、この書き込まれたmeta-formalに一致するformalを、このformalまたはこのmeta-formalで識別される宛先へ送出する。   The formal extraction unit 125 extracts the formal that matches the written meta-formal search condition from the formal storage unit 122 in response to the meta-formal being written and stored in the meta-formal storage unit 123. The extracted formal is sent to a destination identified by formal or meta-formal. Further, the formal extraction unit 125 stores meta-formal in the meta-formal storage unit 123 in advance, and the written foraml is stored in response to the formal being written and stored in the formal storage unit 122. It is determined whether or not it matches the meta-formal stored in the meta-formal storage unit 123 in advance, and if it matches, the written formal is sent to the destination identified by formal or meta-formal. To do. Alternatively, the formal extraction unit 125, when the formal is written in the formal storage unit 122, and the meta-formal is stored in the meta-formal storage unit 123, the written meta-formal is previously stored in the formal storage unit 122. It is determined whether or not it matches with the formal stored in the storage unit 122, and if it matches, the formal that matches the written meta-formal is identified as the destination identified by this formal or this meta-formal. To send.

次に、RelayAgent13の各構成について説明する。NW通信処理部131は、RelayAgent13を接続NW3に接続し、接続NW3を介して、自端末がTE2である場合には自端末のRelayAgent13とIP-TE1との間で、また自端末がIP-TE1である場合には自端末のRelayAgent13とTE2との間で、Tupleを受信または送信する。   Next, each configuration of the RelayAgent 13 will be described. The NW communication processing unit 131 connects the RelayAgent 13 to the connection NW3. When the own terminal is the TE2 via the connection NW3, the NW communication processing unit 131 is connected between the RelayAgent13 of the own terminal and the IP-TE1, and the own terminal is the IP-TE1. In this case, the Tuple is received or transmitted between the RelayAgent 13 of the terminal itself and the TE2.

初期化機能部132は、リセット要求もしくはリセット通知を受信したことに応じて、メイン処理部133などの初期化を実行する。特に、TE2の場合は、アップロード処理部1332とダウンロード処理部1333とに、それぞれの処理に必要となるformal/meta-formalを登録する。なお、これらのformalおよびmeta-formalは、初期化機能部132が有する初期設定記憶部に予め記憶してあり、初期化機能部132が初期設定記憶部から読み出して、uTupleSpace12に登録する。   The initialization function unit 132 executes initialization of the main processing unit 133 and the like in response to receiving a reset request or a reset notification. In particular, in the case of TE2, formal / meta-formal necessary for each processing is registered in the upload processing unit 1332 and the download processing unit 1333. Note that these formal and meta-formal are stored in advance in an initial setting storage unit included in the initialization function unit 132, and the initialization function unit 132 reads out from the initial setting storage unit and registers in the uTupleSpace 12.

メイン処理部133については、次に説明する起動処理、リセット処理、アップロード処理、ダウンロード処理の説明において、その構成について説明する。   The configuration of the main processing unit 133 will be described in the following description of the startup process, the reset process, the upload process, and the download process.

次に、起動処理、リセット処理、アップロード処理、ダウンロード処理の各処理における通信端末の動作、特に、RelayAgent13の動作について説明する。なお、ここでは、IP-TE1におけるRelayAgent13の動作と、TE2におけるRelayAgent13の動作とについて、説明する。なお、各処理の説明において、後述する図13から図15に対応する処理については、同一のステップ番号を付している。   Next, the operation of the communication terminal, particularly the operation of the RelayAgent 13 in each of the activation process, reset process, upload process, and download process will be described. Here, the operation of RelayAgent 13 in IP-TE1 and the operation of RelayAgent13 in TE2 will be described. In the description of each process, the processes corresponding to FIGS. 13 to 15 described later are denoted by the same step number.

<起動処理>
まず、図9を用いて、起動処理におけるRelayAgent13の動作について説明する。RelayAgent13を起動した場合に、NW通信処理部131の初期設定を行う。この初期設定とは、NW通信処理部131が受信したデータを、メイン処理部133内の適切な処理部に送信するための設定である。その後、対向ノードに対して、リセット要求もしくはリセット通知を送信する。
また、TE2の場合は、アップロード処理部1332とダウンロード処理部1333とを起動し、それぞれの処理に必要となるformal/meta-formalを登録する(図13の1-5、1-4)。
<Startup process>
First, the operation of the RelayAgent 13 in the startup process will be described with reference to FIG. When the RelayAgent 13 is activated, the NW communication processing unit 131 is initialized. This initial setting is a setting for transmitting data received by the NW communication processing unit 131 to an appropriate processing unit in the main processing unit 133. Thereafter, a reset request or reset notification is transmitted to the opposite node.
In the case of TE2, the upload processing unit 1332 and the download processing unit 1333 are activated, and formal / meta-formal necessary for each processing is registered (1-5 and 1-4 in FIG. 13).

<リセット処理>
次に、図10を用いて、リセット処理におけるRelayAgent13の動作について説明する。IP-TE1のRelayAgent13の場合は、NW通信処理部131がリセット通知を受信した場合、リセット処理部1331が起動される。リセット処理部1331はuTupleSpace12入出力処理部134を介して、uTupleSpace12に登録されている該当TE2からのformalを削除する。一方、TE RelayAgent13の場合は、NW通信処理部131がリセット要求を受信した場合、リセット処理部1331が起動される。リセット処理部1331は、TE2である自通信端末を再起動する。
<Reset processing>
Next, the operation of the RelayAgent 13 in the reset process will be described using FIG. In the case of the Relay Agent 13 of IP-TE1, when the NW communication processing unit 131 receives a reset notification, the reset processing unit 1331 is activated. The reset processing unit 1331 deletes the formal from the corresponding TE 2 registered in the uTupleSpace 12 via the uTupleSpace 12 input / output processing unit 134. On the other hand, in the case of the TE RelayAgent 13, when the NW communication processing unit 131 receives a reset request, the reset processing unit 1331 is activated. The reset processing unit 1331 restarts the communication terminal that is TE2.

<アップロード処理>
次に、図11を用いて、アップロード処理におけるRelayAgent13の動作について説明する。IP-TE RelayAgent13の場合は、NW通信処理部131が、例えばactualデータを受信した場合、アップロード処理部1332が起動される。なお、このアップロード処理部1332が起動においては、actualごとに、アップロード処理部1332がスレッドとして起動する。次に、アップロード処理部1332が、受信したactualデータをactualに変換し、uTupleSpace12に書き込む(図14の2-4)。なお、変換する際に、from要素を端末識別情報(サービスID)に変換する。
<Upload process>
Next, the operation of the RelayAgent 13 in the upload process will be described with reference to FIG. In the case of the IP-TE RelayAgent 13, when the NW communication processing unit 131 receives, for example, actual data, the upload processing unit 1332 is activated. When the upload processing unit 1332 is activated, the upload processing unit 1332 is activated as a thread for each actual. Next, the upload processing unit 1332 converts the received actual data into actual and writes it in the uTupleSpace 12 (2-4 in FIG. 14). At the time of conversion, the from element is converted into terminal identification information (service ID).

一方、TE RelayAgent13の場合は、アップロード処理部1332が、起動時に登録したformalにマッチしたactualを受信した場合(図14の2-2)、受信したactualをRelayAgent13間通信仕様の形式に変換し、NW通信処理部131を介してIP-TE RelayAgent13に送信する。   On the other hand, in the case of TE RelayAgent13, when the upload processing unit 1332 receives the actual that matches the formal registered at the time of activation (2-2 in FIG. 14), the received actual is converted into the format of the communication specification between RelayAgent13, It is transmitted to the IP-TE RelayAgent 13 via the NW communication processing unit 131.

<ダウンロード処理>
次に、図12を用いて、ダウンロード処理におけるRelayAgent13の動作について説明する。IP-TE RelayAgent13の場合は、NW通信処理部131が、例えばformalデータを受信した場合、ダウンロード処理部1333が起動される。なお、ダウンロード処理部1333が起動においては、formalごとに、ダウンロード処理部1333がスレッドとして起動する。次に、ダウンロード処理部1333が、受信したformalデータ(RelayAgent13間通信仕様形式)をuTupleSpace12で扱うformalの形式に変換し、uTupleSpace12に対してformalによるactualの取得を行う(図15の3-4、3-6)。なお、IP-TE RelayAgent13は、RelayAgent13間通信仕様形式をformalに、またはactualをRelayAgent13間通信仕様形式に変換する場合に、from要素とto要素との交換ならびに値の“PARENT”と端末識別情報(サービスID)との変換を実施する。
その後、IP-TE RelayAgent13は、uTupleSpace12から取得したactualをRelayAgent13間通信仕様形式に変換した結果を、ダウンロードデータとしてNW通信処理部131からTE RelayAgent13に送信する(3-7)。
<Download process>
Next, the operation of the RelayAgent 13 in the download process will be described using FIG. In the case of the IP-TE RelayAgent 13, when the NW communication processing unit 131 receives, for example, formal data, the download processing unit 1333 is activated. When the download processing unit 1333 is activated, the download processing unit 1333 is activated as a thread for each formal. Next, the download processing unit 1333 converts the received formal data (relay agent 13 communication specification format) into the formal format handled by the uTupleSpace 12, and acquires the actual by the formal for the uTupleSpace 12 (3-4 in FIG. 15). 3-6). The IP-TE RelayAgent 13 replaces the from element with the to element and converts the value “PARENT” and the terminal identification information (when the actual communication specification format between Relay Agents 13 is converted into formal or actual into the communication specification format between Relay Agents 13. Service ID) is converted.
Thereafter, the IP-TE RelayAgent 13 transmits the result obtained by converting the actual acquired from the uTupleSpace 12 to the communication specification format between RelayAgents 13 from the NW communication processing unit 131 to the TE RelayAgent 13 as download data (3-7).

一方、TE RelayAgent13の場合は、ダウンロード処理部1333が、起動時に登録したmeta-formalにマッチしたformalを受信した場合(3-2)、RelayAgent13間通信仕様の形式にformalを変換し、NW通信処理部131を介してIP-TE RelayAgent13に送信する。また、NW通信処理部131がIP-TEからactualデータを受信した場合、uTupleSpace12で扱うactualに変換して、uTupleSpace12に書き込む(3-8)。   On the other hand, in the case of TE RelayAgent13, when the download processing unit 1333 receives a formal that matches the meta-formal registered at the time of startup (3-2), the formal is converted into the format of the communication specification between RelayAgent13, and the NW communication processing It is transmitted to the IP-TE RelayAgent 13 via the unit 131. When the NW communication processing unit 131 receives actual data from the IP-TE, the NW communication processing unit 131 converts the actual data to the actual handled by the uTupleSpace 12 and writes it to the uTupleSpace 12 (3-8).

次に、図13から図15を用いて、起動処理、リセット処理、アップロード処理、ダウンロード処理の各処理におけるネットワーク分散共有システムの動作について説明する。なお、以降の図中では読出し(read)を参照と呼ぶ。また読出し(take)を取得と呼ぶ。また通知型(notify)か否かは参照/取得をコールバック(割り込み)で行うか否かを指す。   Next, the operation of the network distributed sharing system in each of the startup process, the reset process, the upload process, and the download process will be described with reference to FIGS. In the following drawings, “read” is referred to as “reference”. The reading (take) is called acquisition. Whether or not it is a notification type indicates whether or not reference / acquisition is performed by a callback (interrupt).

まず、図13を用いて、起動処理およびリセット処理におけるネットワーク分散共有システムの動作について説明する。まず、IP-TE1は、起動時もしくは再起動時は、接続する全てのTE2に向けてリセット要求を送信する(1-1)。これはIP-TE RelayAgent13の、起動時の処理である。リセット要求を受信したTE2は、それぞれのTE2において、再起動処理を行なう。これは、例えば、TE RelayAgent13からのトリガとして実現する。   First, the operation of the network distributed sharing system in the startup process and the reset process will be described with reference to FIG. First, IP-TE1 transmits a reset request to all the connected TE2 at the time of starting or restarting (1-1). This is a process when the IP-TE RelayAgent 13 is activated. The TE2 that has received the reset request performs a restart process in each TE2. This is realized as a trigger from the TE RelayAgent 13, for example.

次に、TE RelayAgent13が再起動すると、対向するIP-TE RelayAgent13にリセット通知を送信する(1-2)。次に、TE RelayAgent13は、予め指定された情報に基づき、データ転送に向けた次の2つの処理を行なう。第1の処理として、TE RelayAgent13は、TEアプリケーション11のリモート読出し(ダウンロード処理)のために転送すべきactual検索条件(formal)の検索要求を、TE uTupleSpace12に対して行なう(1-4)。具体的には、formal検索のための条件であるmeta-formalをTE uTupleSpace12に登録する。第2の処理として、TE RelayAgent13は、TEアプリケーション11のリモート書込み(アップロード処理)のために転送すべきactualの検索要求をTE uTupleSpace12に対して行なう(1-5)。具体的には、actual検索のための条件であるformalをTE uTupleSpace12に登録する。   Next, when the TE Relay Agent 13 is restarted, a reset notification is transmitted to the opposing IP-TE Relay Agent 13 (1-2). Next, the TE RelayAgent 13 performs the following two processes for data transfer based on information designated in advance. As a first process, the TE RelayAgent 13 sends a search request for an actual search condition (formal) to be transferred for remote reading (download process) of the TE application 11 to the TE uTupleSpace 12 (1-4). Specifically, meta-formal, which is a condition for formal search, is registered in TE uTupleSpace 12. As a second process, the TE RelayAgent 13 makes an actual search request to the TE uTupleSpace 12 to be transferred for remote writing (upload process) of the TE application 11 (1-5). Specifically, the formal which is a condition for the actual search is registered in the TE uTupleSpace 12.

一方、リセット通知を受けたIP-TE RelayAgent13は、それ以前に登録している、該当TEからのリモート読込み(ダウンロード処理)のためのformalを削除し(1-3)、リセット後の新規登録に備える。なお、TE2単独でリセットした場合は、上記(1-2)以降のシーケンスに従い、同様の動作をする。   On the other hand, the IP-TE RelayAgent 13 that has received the reset notification deletes the formal registered for remote reading (download processing) from the corresponding TE (1-3) and newly registers it after resetting. Prepare. Note that when the TE2 is reset alone, the same operation is performed according to the sequence after the above (1-2).

次に、図14を用いて、アップロード処理におけるネットワーク分散共有システムの動作について説明する。まず、TEアプリケーション11がactualを書込む(2-1)と、TE2起動時に登録(図13の(1-5)参照)したformalにマッチするactualが、TE RelayAgent13に通知される(2-2)。この条件マッチングは、図6を用いて説明したTupleフィールドのうち、例えば、送信先uTupleSpace識別情報フィールドで行なう。   Next, the operation of the network distributed sharing system in the upload process will be described with reference to FIG. First, when the TE application 11 writes actual (2-1), the actual that matches the formal registered (see (1-5) in FIG. 13) when TE2 is started is notified to the TE RelayAgent 13 (2-2). ). This condition matching is performed, for example, in the transmission destination uTupleSpace identification information field in the Tuple field described with reference to FIG.

次に、TE RelayAgent13は、該当actualを対向するIP-TE RelayAgent13に転送(Upload)する(2-3)。次に、actualの転送を受け取ったIP-TE RelayAgent13は、該当actualをIP-TE uTupleSpace12へ書込む(2-4)。次に、IP-TEアプリケーションは、必要なactualの参照/取得を要求して(2-5)、該当条件とマッチするactualを読出す(2-6)。なおactualの参照/取得が通知型で要求された場合には、(2-4)の書込みの前に(2-5)の参照/取得要求があってもよい。また、IP-TE uTupleSpace12へ書込まれたactualは永続化されるため、取得(take)されるか、その有効期限が切れるまでは、繰り返し参照可能である。なお、この永続化とは、IP-TE uTupleSpace12へ書込まれたactualが、IP-TE1の電源が切れた場合においても、消えないことである。例えば、IP-TE uTupleSpace12である記憶部をハードディスク装置とし、または、IP-TE2が電源バックアップ部を有し、この電源バックアップ部により、停電時においても、IP-TE uTupleSpace12が電源バックアップされるようにすることにより、永続化されるようにする。   Next, the TE RelayAgent 13 transfers (Upload) the actual to the facing IP-TE RelayAgent 13 (2-3). Next, the IP-TE RelayAgent 13 that has received the actual transfer writes the actual into the IP-TE uTupleSpace 12 (2-4). Next, the IP-TE application requests reference / acquisition of the necessary actual (2-5), and reads the actual that matches the corresponding condition (2-6). When actual reference / acquisition is requested in a notification type, there may be a reference / acquisition request (2-5) before writing (2-4). Moreover, since the actual written to the IP-TE uTupleSpace 12 is made permanent, it can be repeatedly referenced until it is acquired (taken) or its expiration date expires. This permanent means that the actual written to the IP-TE uTupleSpace 12 is not erased even when the power of the IP-TE 1 is turned off. For example, the storage unit that is the IP-TE uTupleSpace 12 is a hard disk device, or the IP-TE 2 has a power backup unit so that the power backup unit can back up the IP-TE uTupleSpace 12 even during a power failure. To make it persistent.

次に、図15を用いて、ダウンロード処理におけるネットワーク分散共有システムの動作について説明する。まず、TEアプリケーション11が、リモート読出しのためのactual検索条件(formal)を書込む(3-1)と、TE2起動時に登録(図13(1-4))したmeta-formalにマッチするformalが、TE RelayAgent13に通知される(3-2)。この条件マッチングは、図6を用いて説明したTupleフィールドのうち、例えば、送信元uTupleSpace識別情報フィールドで行なう。   Next, the operation of the network distributed sharing system in the download process will be described with reference to FIG. First, when the TE application 11 writes an actual search condition (formal) for remote reading (3-1), a formal that matches the meta-formal registered when TE2 is started (FIG. 13 (1-4)) is displayed. Is notified to the TE RelayAgent 13 (3-2). This condition matching is performed in, for example, the transmission source uTupleSpace identification information field in the Tuple field described with reference to FIG.

次に、TE RelayAgent13は、該当formalを対向するIP-TE RelayAgent13に転送する(3-3)。次に、formalの転送を受け取ったIP-TE RelayAgent13は、該当formalをIP-TE uTupleSpace12へ登録する。つまりactual検索要求を行なう(3-4)。   Next, the TE RelayAgent 13 transfers the corresponding formal to the opposing IP-TE RelayAgent 13 (3-3). Next, the IP-TE RelayAgent 13 that has received the formal transfer registers the formal in the IP-TE uTupleSpace 12. That is, an actual search request is made (3-4).

IP-TE RelayAgent13は、それまでにIP-TEアプリケーションが書込んだactual(3-5)のうち、該当条件とマッチするactualを読出す(3-6)。または、その後、IP-TEアプリケーションが書込んだactual(3-5)のうち、該当条件とマッチするactualを読出す(3-6)。この条件マッチングは、図6を用いて説明したTupleフィールドのうち、例えば、送信先uTupleSpace識別情報フィールドおよび、アプリケーション間で規定するセンサ/アクチュエータ種別、コマンド/イベントタイプなどのフィールドを使用する。   The IP-TE RelayAgent 13 reads the actual (3-5) that has been written by the IP-TE application so far and matches the corresponding condition (3-6). Alternatively, the actual (3-5) written by the IP-TE application is read out (3-6) which matches the corresponding condition. This condition matching uses, for example, a transmission destination uTupleSpace identification information field and a sensor / actuator type, command / event type field, etc., defined between applications, among the Tuple fields described with reference to FIG.

次に、IP-TE RelayAgent13は、actualの通知(3-6)を受けると、送信先uTupleSpace識別情報フィールドの内容に基づき、該当するTE RelayAgent13にactualを転送する(3-7)。次に、対向するIP-TE RelayAgent13からTE RelayAgent13がactualを受け取ると、TE RelayAgent13が、受け取ったactualをTE uTupleSpace12へ該当actualを書込む(3-8)。すると、TE uTupleSpace12内で、条件マッチングを行い、TEアプリケーションが登録したformal(3-l)に該当するactualが、TEアプリケーション11に通知される(3-9)。   Next, when receiving the actual notification (3-6), the IP-TE RelayAgent 13 transfers the actual to the corresponding TE RelayAgent 13 based on the content of the transmission destination uTupleSpace identification information field (3-7). Next, when the TE Relay Agent 13 receives the actual from the opposing IP-TE Relay Agent 13, the TE Relay Agent 13 writes the received actual into the TE uTupleSpace 12 (3-8). Then, condition matching is performed in the TE uTupleSpace 12, and the actual corresponding to formal (3-1) registered by the TE application is notified to the TE application 11 (3-9).

この一連のシーケンスにおいて、IP-TE uTupleSpace12へ書込まれたformalも永続化されるため、取得(take)されるか、その有効期限が切れるまでは、繰り返し条件マッチングが可能である。よって、formalも永続化されるため、以後は、(3-5)以降のシーケンスが繰り返される。   In this series of sequences, the formal written in the IP-TE uTupleSpace 12 is also made permanent, so that repeated condition matching is possible until it is taken or expired. Therefore, since formal is also made permanent, the sequence after (3-5) is repeated.

次に、図16から図18は、上記図9から図15を用いて説明したネットワーク分散共有システムの起動処理、リセット処理、アップロード処理、ダウンロード処理の各処理におけるactualなどの送信情報のフィールドの情報を詳細に説明する図である。図16は、起動処理およびリセット処理におけるTupleのフィールドの情報を詳細に説明する図である。図17は、アップロード処理におけるTupleのフィールドの情報を詳細に説明する図である。図18は、ダウンロード処理おけるTupleのフィールドの情報を詳細に説明する図である。なお、図16から図18において、図13から図15の処理ステップに対応する処理ステップには、同一のステップ番号を付している。   Next, FIG. 16 to FIG. 18 show field information of transmission information such as actual in each of the start processing, reset processing, upload processing, and download processing of the network distributed sharing system described with reference to FIG. 9 to FIG. FIG. FIG. 16 is a diagram for explaining in detail Tuple field information in the start-up process and the reset process. FIG. 17 is a diagram for explaining in detail the Tuple field information in the upload process. FIG. 18 is a diagram for explaining in detail the Tuple field information in the download process. In FIG. 16 to FIG. 18, processing steps corresponding to the processing steps of FIG. 13 to FIG.

また、図19は、広域ユビキタスNW3が有する広域ユビキタスNW装置31により、送信データが広域ユビキタスNW3を介して転送される場合に、この送信データに、複数のTE2またはIP-TE1を識別する端末識別情報がヘッダ情報として追加、または、削除されることを説明する図である。同図で示すように、広域ユビキタスNW装置31により、ヘッダ情報として端末識別情報が送信データに追加、または、削除される。これにより、IP-TE1は、ヘッダ情報に基づいて、actualなどのTE2からの送信データを受信した場合、いずれのTE2から送信されてきた送信データであるかを識別することが可能となる。なお、この端末識別情報とは、サービスIDのことである。
なお、上記においては、接続NW3として広域ユビキタスNWを適用した場合を説明したが、以上に述べたTupleデータ転送方式は、広域ユビキタスNW以外の無線もしくは有線のデータ通信NWでも適用可能であり、その場合の端末識別情報は、適用するNWで用いられる端末の識別子(例えば、アドレスやシリアル番号、その他の端末と対応付けられた管理情報)となる。
FIG. 19 shows a terminal identification for identifying a plurality of TE2s or IP-TE1 in the transmission data when the transmission data is transferred via the wide area ubiquitous NW3 by the wide area ubiquitous NW device 31 included in the wide area ubiquitous NW3. It is a figure explaining that information is added or deleted as header information. As shown in the figure, terminal identification information is added to or deleted from transmission data as header information by the wide area ubiquitous NW device 31. Thereby, when receiving transmission data from TE2, such as actual, based on the header information, IP-TE1 can identify which transmission data is transmitted from which TE2. This terminal identification information is a service ID.
In the above description, the case where the wide area ubiquitous NW is applied as the connection NW 3 has been described. However, the Tuple data transfer method described above can be applied to a wireless or wired data communication NW other than the wide area ubiquitous NW. In this case, the terminal identification information is a terminal identifier (for example, an address, a serial number, or management information associated with another terminal) used in the applied NW.

以上説明したように、複数の通信装置(通信端末1または2など)がネットワーク(接続NW3)を介して接続されるネットワーク分散共有システムであって、複数の通信装置のそれぞれが、少なくとも送信先タプル記憶部識別情報(送信先uTupleSpace識別情報)を含むタプル情報(actual)を記憶し、タプル記憶部識別情報で識別されているタプル記憶部(uTupleSpace12)と、タプル記憶部に記憶されているタプル情報を送信する、または、受信したタプル情報をタプル記憶部に記憶する中継代理部(RelayAgent13)と、を有し、中継代理部が、自通信装置が有するタプル記憶部からタプル情報を読み出し、該読み出したタプル情報を、該読み出したタプル情報に含まれる送信先タプル記憶部識別情報に該当するタプル記憶部にネットワークを介して送信する送信側転送部(アップロード処理部1332、または、ダウンロード処理部1333)と、ネットワークを介して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送部(アップロード処理部1332、または、ダウンロード処理部1333)と、を有する。   As described above, in a network distributed sharing system in which a plurality of communication devices (communication terminals 1 or 2 or the like) are connected via a network (connection NW3), each of the plurality of communication devices is at least a destination tuple. Tuple information (actual) including storage unit identification information (destination uTupleSpace identification information) is stored, and the tuple storage unit (uTupleSpace12) identified by the tuple storage unit identification information, and the tuple information stored in the tuple storage unit A relay proxy unit (RelayAgent 13) that stores the received tuple information in the tuple storage unit, and the relay proxy unit reads the tuple information from the tuple storage unit of the communication device and reads the tuple information The tuple information is sent to the tuple storage unit corresponding to the destination tuple storage unit identification information included in the read tuple information via the network. Transmission side transfer unit (upload processing unit 1332 or download processing unit 1333) to transmit, and reception side transfer unit (upload processing unit) that stores the tuple information received via the network in the tuple storage unit of the own communication device 1332 or download processing unit 1333).

また、タプル記憶部は、タプル情報を記憶するタプル情報記憶部(actual記憶部121)と、タプル情報を検索するためのタプル検索情報(formal)が予め記憶されているタプル検索情報記憶部(formal記憶部122)と、タプル情報がタプル情報記憶部に記憶された場合に、該記憶されたタプル情報がタプル検索情報記憶部に記憶されたタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル情報を送信側転送部に出力するタプル情報抽出部(actual抽出部124)と、を有する。   The tuple storage unit includes a tuple information storage unit (actual storage unit 121) that stores tuple information, and a tuple search information storage unit (formal) in which tuple search information (formal) for searching for tuple information is stored in advance. A storage unit 122), and when the tuple information is stored in the tuple information storage unit, it is determined whether the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit, When the determined result is applicable, the apparatus has a tuple information extraction unit (actual extraction unit 124) that outputs the corresponding tuple information to the transmission side transfer unit.

また、タプル情報抽出部は、タプル検索情報がタプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報がタプル情報記憶部に記憶されているタプル情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル情報を送信側転送部に出力する。   Further, the tuple information extraction unit determines whether the stored tuple search information corresponds to the tuple information stored in the tuple information storage unit when the tuple search information is stored in the tuple search information storage unit. If the result of the determination is appropriate, the corresponding tuple information is output to the transmission unit on the transmission side.

また、タプル検索情報は送信元タプル記憶部識別情報を含んでおり、タプル記憶部は、タプル検索情報を検索するためのタプルメタ検索情報(meta-formal)が予め記憶されているタプルメタ検索情報記憶部(meta-formal記憶部123)と、タプル検索情報がタプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報がタプルメタ検索情報記憶部に記憶されたタプルメタ検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル検索情報を送信側転送部に出力するタプル検索情報抽出部(formal抽出部125)と、を有し、送信側転送部が、該タプル検索情報を、該タプル検索情報に含まれる送信元タプル記憶部識別情報に該当するタプル記憶部にネットワークを介して送信し、受信側転送部が、ネットワークを介して受信したタプル検索情報を、自通信装置が有するタプル検索情報記憶部に記憶する。   The tuple search information includes transmission source tuple storage unit identification information, and the tuple storage unit stores tuple meta search information (meta-formal) for searching for tuple search information in advance. (Meta-formal storage unit 123) and, when tuple search information is stored in the tuple search information storage unit, whether the stored tuple search information corresponds to the tuple meta search information stored in the tuple meta search information storage unit A tuple search information extraction unit (formal extraction unit 125) for outputting the corresponding tuple search information to the transmission side transfer unit when the determined result is true, and transmitting side transfer Unit transmits the tuple search information to the tuple storage unit corresponding to the transmission source tuple storage unit identification information included in the tuple search information via the network. The tuple search information received via the work is stored in the tuple search information storage unit included in the communication apparatus.

また、複数の通信装置のうち1つの通信装置がサーバ装置(IP-TE1)であり、サーバ装置の他の複数の通信装置が端末装置(TE2)であり、端末装置のタプル検索情報記憶部には、送信先タプル記憶部識別情報に該当するタプル記憶部を、サーバ装置のタプル記憶部としたタプル検索情報が予め記憶されており、端末装置は、端末装置のタプル情報記憶部にタプル情報が記憶されたことに応じて、端末装置のタプル情報抽出部が、記憶されたタプル情報が、タプル検索情報に該当する場合には、記憶されたタプル情報を自端末装置の送信側転送部に出力し、自端末装置の送信側転送部が、該タプル情報を送信先タプル記憶部識別情報に基づいてネットワークを介してサーバ装置に送信し、サーバ装置の受信側転送部が、ネットワークを介して端末装置から受信したタプル情報を、自サーバ装置が有するタプル情報記憶部に記憶する。   In addition, one communication device among the plurality of communication devices is a server device (IP-TE1), and a plurality of other communication devices of the server device are terminal devices (TE2), which are stored in the tuple search information storage unit of the terminal device. Is stored in advance as tuple search information in which the tuple storage unit corresponding to the destination tuple storage unit identification information is the tuple storage unit of the server device, and the terminal device stores the tuple information in the tuple information storage unit of the terminal device. When the stored tuple information corresponds to the tuple search information, the tuple information extraction unit of the terminal device outputs the stored tuple information to the transmission side transfer unit of the terminal device in response to the storage. Then, the transmitting side transfer unit of the terminal device transmits the tuple information to the server device via the network based on the destination tuple storage unit identification information, and the receiving side transfer unit of the server device transmits the tuple information via the network. The tuple information received from the terminal device is stored in the tuple information storage unit of the server device itself.

また、端末装置のタプルメタ検索情報記憶部には、送信元タプル記憶部識別情報に該当するタプル記憶部を、サーバ装置のタプル記憶部としたタプルメタ検索情報が予め記憶されており、端末装置は、端末装置のタプル検索情報記憶部にタプル検索情報が記憶されたことに応じて、端末装置のタプル検索情報抽出部が、記憶されたタプル検索情報が、タプルメタ検索情報に該当する場合には、記憶されたタプル検索情報を自端末装置の送信側転送部に出力し、自端末装置の送信側転送部が、該タプル検索情報を送信元タプル記憶部識別情報に基づいてネットワークを介してサーバ装置に送信し、サーバ装置の受信側転送部が、ネットワークを介して端末装置から受信したタプル検索情報を、該タプル検索情報を送信してきた端末装置のタプル記憶部を識別するタプル記憶部識別情報を該受信したタプル検索情報の送信先タプル記憶部識別情報として、自サーバ装置が有するタプル記憶部のタプル検索情報記憶部に記憶する。   In addition, in the tuple meta search information storage unit of the terminal device, tuple meta search information in which the tuple storage unit corresponding to the transmission source tuple storage unit identification information is used as the tuple storage unit of the server device is stored in advance. In response to the tuple search information stored in the tuple search information storage unit of the terminal device, the tuple search information extraction unit of the terminal device stores the tuple search information when the stored tuple search information corresponds to the tuple meta search information. Output the tuple search information to the transmission side transfer unit of the own terminal device, and the transmission side transfer unit of the own terminal device sends the tuple search information to the server device via the network based on the source tuple storage unit identification information. The tuple of the terminal device that has transmitted the tuple search information transmitted from the terminal device via the network by the receiving side transfer unit of the server device. Tuple storage unit identification information identifying the 憶部 as destination tuple storage unit identification information of the tuple retrieval information received said, is stored in the tuple retrieval information storage unit of the tuple memory unit which the own server apparatus.

また、サーバ装置は、サーバ装置のタプル検索情報記憶部にタプル検索情報が記憶されたことに応じて、サーバ装置のタプル情報抽出部が、記憶されたタプル検索情報に該当するタプル検索情報を、自サーバ装置が有するタプル情報記憶部から読み出し、該読み出したタプル情報を、自サーバ装置が有する送信側転送部に出力し、サーバ装置の送信側転送部が、タプル情報を送信先タプル記憶部識別情報に基づいて端末装置にネットワークを介して送信し、端末装置の受信側転送部が、ネットワークを介して受信したタプル情報を、自端末装置が有するタプル情報記憶部に記憶する。   Further, in response to the tuple search information stored in the tuple search information storage unit of the server device, the tuple information extraction unit of the server device extracts the tuple search information corresponding to the stored tuple search information. Read from the tuple information storage unit of the local server device, output the read tuple information to the transmission side transfer unit of the local server device, and the transmission side transfer unit of the server device identifies the tuple information as the destination tuple storage unit Based on the information, the data is transmitted to the terminal device via the network, and the receiving side transfer unit of the terminal device stores the tuple information received via the network in the tuple information storage unit of the own terminal device.

また、サーバ装置(IP-TE1)のタプル情報記憶部が、ハードディスクであること、または、電源バックアップ部を有している。   The tuple information storage unit of the server apparatus (IP-TE1) is a hard disk or has a power backup unit.

上記説明した第1の実施形態においては、Tuple Spaceを用いた通信を実行するネットワーク分散共有システムにおいて、複数の通信装置のそれぞれが、タプル記憶部と中継代理部とを有し、この中継代理部が、自通信装置が有するタプル記憶部からタプル情報を読み出し、該読み出したタプル情報を、該読み出したタプル情報に含まれる送信先タプル記憶部識別情報に該当するタプル記憶部にネットワークを介して送信する送信側転送部と、ネットワークを介して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送部と、を有することにより、複数の通信装置で動作するアプリケーションにとっては、複数の通信装置上のタプル記憶部をネットワークにおいて1つのタプル記憶部として利用することが可能となるとともに、通信装置のタプル記憶部から中継代理部が読み出したタプル情報のみが、中継代理部により他の通信装置に転送されるため、通信装置間の通信量を減じることが出来るという効果を奏する。
さらに、通信装置間の相互の通信において、リモート書込み・ローカル読出し、ローカル書込み・リモート読出しのデータ転送方式を組み合わせることによって、通信装置間で同等の記憶容量や処理能力を前提とする必要がないという効果を奏する。
In the first embodiment described above, in the network distributed sharing system that performs communication using Tuple Space, each of the plurality of communication devices has a tuple storage unit and a relay proxy unit. Reads out the tuple information from the tuple storage unit of the communication device, and transmits the read tuple information to the tuple storage unit corresponding to the destination tuple storage unit identification information included in the read tuple information via the network. For an application that operates on a plurality of communication devices by including a transmission-side transfer unit that performs reception and a reception-side transfer unit that stores tuple information received via a network in a tuple storage unit included in the communication device. When tuple storage units on a plurality of communication devices can be used as one tuple storage unit in a network In addition, since only the tuple information read by the relay proxy unit from the tuple storage unit of the communication device is transferred to another communication device by the relay proxy unit, it is possible to reduce the amount of communication between the communication devices. .
Furthermore, in mutual communication between communication devices, it is not necessary to assume the same storage capacity and processing capacity between communication devices by combining the data transfer method of remote writing / local reading and local writing / remote reading. There is an effect.

<第2の実施形態>
次に、第2の実施形態について説明する。上記に説明した第1の実施形態においては、アプリケーションおよび中継代理部(RelayAgent)がTuple(actual)の受信側のタプル記憶部、送信側のタプル記憶部を意識する必要があった。つまり、actualやformalのfrom要素、to要素ヘの送信先/送信元タプル記憶部識別情報の設定や値の交換が必要であった。
<Second Embodiment>
Next, a second embodiment will be described. In the first embodiment described above, the application and the relay agent (RelayAgent) need to be aware of the Tuple (actual) reception side tuple storage unit and the transmission side tuple storage unit. In other words, it is necessary to set the destination / source tuple storage unit identification information and exchange values for the actual and formal from elements and to elements.

そのため、次のような処理をする必要があった。
(ア)サーバ装置側が、複数の端末装置に同じactualを送信する場合、それぞれについて送信先を指定してactualを送信する必要があった。そのため、サーバ装置側アプリケーションからみて、ユニキャストは実行できるが、マルチキャストやエニーキャストは実行できなかった。
Therefore, it was necessary to perform the following processing.
(A) When the server apparatus side transmits the same actual to a plurality of terminal apparatuses, it is necessary to specify the transmission destination for each and transmit the actual. Therefore, from the viewpoint of the server apparatus side application, unicast can be executed, but multicast and anycast cannot be executed.

(イ)また、同じアプリケーションを具備する端末装置が複数ある場合には、それぞれから登録されるformalを個別に記憶するため、送信先タプル記憶部識別情報だけが異なり、その他の要素が同じであるformalが個別に記憶されるため、メモリ使用量に無駄が生じていた。またactualとのマッチングも、それぞれのformalと行われるため、処理効率が悪かった。 (B) When there are a plurality of terminal devices having the same application, since the formal registered from each is stored separately, only the destination tuple storage unit identification information is different and the other elements are the same. Since formal is stored separately, there was a waste of memory usage. Moreover, the matching with actual was also performed with each formal, so the processing efficiency was poor.

そこで、第2の実施形態においては、送信先/送信元タプル記憶部識別情報(to要素/from要素)をマッチングの対象とせず、転送先のタプル記憶部識別情報を検索条件となるformalもしくはmeta-formalと対応付けて別途管理するようにする。   Therefore, in the second embodiment, the destination / source tuple storage unit identification information (to element / from element) is not subject to matching, and the transfer destination tuple storage unit identification information is a formal or meta as a search condition. Manage separately by associating with -formal.

<第2の実施形態よる生じる効果>
第2の実施形態では、第1の実施形態で得られる効果に加えて、さらに以下のような効果が得られる。まず、アプリケーションが受信側のタプル記憶部、送信側のタプル記憶部を意識しなくても良いという効果が得られる。
<Effects produced by the second embodiment>
In the second embodiment, in addition to the effects obtained in the first embodiment, the following effects are further obtained. First, there is an effect that the application does not need to be aware of the tuple storage unit on the reception side and the tuple storage unit on the transmission side.

特にサーバ側は、
(ア)受信側となる端末装置のタプル記憶部識別情報を指定しなくても、他の条件がマッチすれば送信できる。
たとえば、アプリケーションの名前(subject)を指定するだけで送信できるようになる。そのため、同じアプリケーションに対して、マルチキャストやエニーキャストが可能となる。また、タプル情報がfrom要素やto要素を有していなくてもよい。また、to要素を使用して送信先タプル記憶識別情報を指定すれば、特定の端末に送信もできる。
Especially on the server side,
(A) Even if the tuple storage unit identification information of the terminal device on the receiving side is not specified, transmission is possible if other conditions match.
For example, you can send by simply specifying the name of the application (subject). Therefore, multicasting and anycasting are possible for the same application. Further, the tuple information may not have the from element and the to element. In addition, if the destination tuple storage identification information is specified using the to element, transmission to a specific terminal is also possible.

(イ)端末間通信が可能となる。
to要素/from要素がマッチング対象でないため、端末からアップロードされたactualが、他の端末から登録されたformalとマッチングすることが可能となり、結果的にサーバアプリケーションを介することなく端末間通信が可能になる。
なお、第1の実施形態においては、端末からサーバヘアップロードされたactualのto要素には、サーバ側タプル記憶部識別情報が設定されており、端末から登録されたformalのto要素には端末側タプル記憶部識別情報が設定されていることから、to要素の不一致により、該actualと該formalのマッチングが不可能であった。そのため、該actualを他の端末へ転送するには、一旦サーバ側アプリケーションで該actualを読出し、from要素、to要素を設定し直して、書込む必要があった。
(B) Communication between terminals becomes possible.
Since the to element / from element is not a matching target, the actual uploaded from the terminal can be matched with the formal registered from other terminals, and as a result, communication between terminals can be performed without going through the server application. Become.
In the first embodiment, the server side tuple storage unit identification information is set in the actual to element uploaded from the terminal to the server, and the formal to element registered from the terminal is set in the terminal side. Since the tuple storage unit identification information is set, the actual and the formal cannot be matched due to the mismatch of the to element. Therefore, in order to transfer the actual to another terminal, it is necessary to read the actual with a server-side application, set the from element and the to element again, and write them.

(ウ)サーバ側で記憶するformal数が削減できるとともに、マッチング処理を効率化できる。
たとえば、異なる端末の同じアプリケーションが同じformalを登録した場合、第1の実施形態においては、個々のアプリケーションごとに全てのformalを登録して、個別にマッチングを行なう必要があった。
これに対して第2の実施形態においては、異なる端末からの同じformalの登録については、formal記憶部にマッチング対象部分が同一のformalが1つ記憶されていれば、2つ目のformalの登録からは、タプル情報転送先情報記憶部でformalと送信元タプル記憶部識別情報との対応関係を追加するだけでよい。よって、個別にformalを記憶する必要がなく、実際にformal記憶部への登録formal数が削減できることから、メモリ使用量を節約できる。さらに、actualとのマッチング対象となるformal数を削減できることから、actual抽出部でのマッチング回数が削減でき、処理を効率化できる。
(C) The number of formals stored on the server side can be reduced and the matching process can be made more efficient.
For example, when the same application of different terminals registers the same formal, in the first embodiment, it is necessary to register all the formals for each individual application and perform matching individually.
On the other hand, in the second embodiment, for the registration of the same formal from different terminals, if one formal having the same matching target part is stored in the formal storage unit, the registration of the second formal is performed. From this, it is only necessary to add the correspondence between formal and source tuple storage unit identification information in the tuple information transfer destination information storage unit. Therefore, it is not necessary to store the formal separately, and the number of formals registered in the formal storage unit can be actually reduced, so that the memory usage can be saved. Furthermore, since the number of formals to be matched with actual can be reduced, the number of matching in the actual extraction unit can be reduced, and the processing can be made efficient.

(エ)接続している端末装置の把握が可能になる。
タプル情報転送先情報記憶部に登録されている転送先タプル記憶部識別情報を取得すれば、現在接続されている端末装置を、サーバ側で把握することができる。
また、対応するformalからタプルの他の要素(例えばsubject)を読出せば、該当する端末装置で動作している端末側アプリケーションに関する情報を、サーバ側で把握することが可能になる。
(D) It is possible to grasp the connected terminal device.
If the transfer destination tuple storage unit identification information registered in the tuple information transfer destination information storage unit is obtained, the currently connected terminal device can be grasped on the server side.
Further, if other elements (for example, subject) of the tuple are read from the corresponding formal, it is possible to grasp information related to the terminal-side application running on the corresponding terminal device on the server side.

<第2の実施形態のポイント>
次に、第2の実施形態のポイントについて説明する。
(ア)送信先/送信元タプル記憶部識別情報をマッチングの対象とせず、検索条件となるformalもしくはmeta-formalと対応付けて、転送先のタプル記憶部識別情報を、別途管理する転送情報記憶部を設ける。
<Points of Second Embodiment>
Next, points of the second embodiment will be described.
(A) Transfer information storage that separately manages transfer destination tuple storage unit identification information in association with formal or meta-formal as a search condition without matching transmission destination / transmission source tuple storage unit identification information Provide a part.

(イ)actualおよびformalの転送時は、この転送情報記憶部の情報をもとに転送先を決定する。
(ウ)更に、上記(イ)の方法に加えて、第1の実施形態において説明したように、actualやformalに含まれている送信先タプル記憶識別情報または送信元タプル記憶識別情報をもとに転送する方法も可能とする(ハイブリッド構成にもできる)。
(A) At the time of actual and formal transfer, the transfer destination is determined based on the information in the transfer information storage unit.
(C) Further, in addition to the above method (a), as described in the first embodiment, based on the transmission destination tuple storage identification information or the transmission source tuple storage identification information included in the actual or formal. It is also possible to transfer to (also a hybrid configuration).

以降においては、IP-TE1をサーバ装置1とし、TE2を端末装置2とし、接続NW3をネットワーク3として説明する。また、サーバ装置1または端末装置2を、通信装置6として説明する。   In the following description, it is assumed that IP-TE 1 is the server device 1, TE 2 is the terminal device 2, and the connection NW 3 is the network 3. Further, the server device 1 or the terminal device 2 will be described as the communication device 6.

また、RelayAgent13を中継代理部13とし、アップロード処理部1332またはダウンロード処理部1333を送信側転送部22とし、アップロード処理部1332またはダウンロード処理部1333を受信側転送部23として説明する。また、actualをタプル情報とし、formalをタプル検索情報とし、meta-formalをタプルメタ検索情報として説明する。   The relay agent 13 will be described as the relay proxy unit 13, the upload processing unit 1332 or the download processing unit 1333 will be described as the transmission side transfer unit 22, and the upload processing unit 1332 or the download processing unit 1333 will be described as the reception side transfer unit 23. Further, actual is assumed to be tuple information, formal is assumed to be tuple search information, and meta-formal is assumed to be tuple meta search information.

また、uTupleSpace12をタプル記憶部12とし、actual記憶部121をタプル情報記憶部121とし、formal記憶部122をタプル検索情報記憶部122とし、meta-formal記憶部123をタプルメタ検索情報記憶部123とし、actual抽出部124をタプル情報抽出部124とし、formal抽出部125をタプル検索情報抽出部125として説明する。   Further, uTupleSpace 12 is a tuple storage unit 12, actual storage unit 121 is a tuple information storage unit 121, formal storage unit 122 is a tuple search information storage unit 122, and meta-formal storage unit 123 is a tuple meta search information storage unit 123. The actual extraction unit 124 will be described as a tuple information extraction unit 124, and the formal extraction unit 125 will be described as a tuple search information extraction unit 125.

なお、以降において説明する第2の実施形態における構成において、第1の実施形態における構成と同一の構成については、その説明を省略する。また、第2の実施形態に関する構成のみについて説明し、第1の実施形態と同様の構成については、その説明を省略する。   Note that in the configuration of the second embodiment described below, the description of the same configuration as that of the first embodiment is omitted. Also, only the configuration related to the second embodiment will be described, and the description of the configuration similar to the first embodiment will be omitted.

まず、図20を用いて、第2の実施形態における中継代理部13の構成を説明する。中継代理部13は、転送情報記憶部24と、送信側転送部22と、受信側転送部23とを有する。転送情報記憶部24は、転送先となるタプル記憶部12のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する。   First, the configuration of the relay proxy unit 13 in the second embodiment will be described with reference to FIG. The relay proxy unit 13 includes a transfer information storage unit 24, a transmission side transfer unit 22, and a reception side transfer unit 23. The transfer information storage unit 24 stores transfer destination tuple storage unit identification information that is tuple storage unit identification information of the tuple storage unit 12 serving as a transfer destination.

送信側転送部22は、自通信装置が有するタプル記憶部12からタプル情報を読み出し、該読出したタプル情報を、転送情報記憶部24から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する。受信側転送部23は、ネットワーク3を関して受信したタプル情報を、自通信装置が有するタプル記憶部12に記憶する。   The transmission side transfer unit 22 reads the tuple information from the tuple storage unit 12 of the communication apparatus, and the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit 24. 12 through the network 3. The receiving side transfer unit 23 stores the tuple information received with respect to the network 3 in the tuple storage unit 12 included in the communication apparatus.

次に、図21を用いて、タプル検索情報によるタプル情報を抽出するタプル記憶部12の第1の構成について説明する。タプル記憶部12は、タプル情報記憶部121と、タプル検索情報記憶部122と、タプル情報抽出部124とを有する。タプル情報記憶部121は、タプル情報を記憶する。タプル検索情報記憶部122は、タプル情報を検索するためのタプル検索情報を記憶する。   Next, a first configuration of the tuple storage unit 12 that extracts tuple information based on tuple search information will be described with reference to FIG. The tuple storage unit 12 includes a tuple information storage unit 121, a tuple search information storage unit 122, and a tuple information extraction unit 124. The tuple information storage unit 121 stores tuple information. The tuple search information storage unit 122 stores tuple search information for searching for tuple information.

タプル情報抽出部124は、タプル情報がタプル情報記憶部121に記憶された場合に、該記憶されたタプル情報がタプル検索情報記憶部122に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル情報を中継代理部13の送信側転送部22に出力する。   When the tuple information is stored in the tuple information storage unit 121, the tuple information extraction unit 124 determines whether the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit 122. When the determination result is true, the corresponding tuple information is output to the transmission side transfer unit 22 of the relay proxy unit 13.

次に、図20と図21とを用いて説明した送信装置としての通信装置6の動作について説明する。この通信装置6上の送信側アプリケーション11は、送信情報として、たとえば、タプル情報をタプル記憶部12のタプル情報記憶部121に書き込む。タプル記憶部12のタプル情報抽出部124は、タプル情報がタプル情報記憶部121に記憶されたことに応じて、該記憶されたタプル情報がタプル検索情報記憶部122に記憶されているタプル検索情報に該当するか否かを判定する(図21中の符号(1)と(2)とを参照)。   Next, the operation of the communication device 6 as the transmission device described with reference to FIGS. 20 and 21 will be described. The transmission-side application 11 on the communication device 6 writes, for example, tuple information in the tuple information storage unit 121 of the tuple storage unit 12 as transmission information. The tuple information extraction unit 124 of the tuple storage unit 12 stores the tuple information stored in the tuple search information storage unit 122 in response to the tuple information stored in the tuple information storage unit 121. (See reference numerals (1) and (2) in FIG. 21).

次に、タプル記憶部12のタプル情報抽出部124は、該判定した結果が該当する場合には、該当したタプル情報を中継代理部13の送信側転送部22に出力する(図21中の符号(3)を参照)。ここでは、タプル記憶部12のタプル情報抽出部124は、該当したタプル情報を中継代理部13の送信側転送部22に出力したものとして説明する。   Next, the tuple information extraction unit 124 of the tuple storage unit 12 outputs the corresponding tuple information to the transmission side transfer unit 22 of the relay proxy unit 13 when the determined result is applicable (reference numeral in FIG. 21). (See (3)). Here, it is assumed that the tuple information extraction unit 124 of the tuple storage unit 12 outputs the corresponding tuple information to the transmission side transfer unit 22 of the relay proxy unit 13.

次に、タプル記憶部12のタプル情報抽出部124からタプル情報を入力された中継代理部13の送信側転送部22は、つまり、自通信装置が有するタプル記憶部12からタプル情報を読み出した中継代理部13の送信側転送部22は(図20の符号(1)を参照)、該読出したタプル情報を、転送情報記憶部24から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する(図20の符号(2)と(3)とを参照)。   Next, the transmission side transfer unit 22 of the relay proxy unit 13 to which the tuple information is input from the tuple information extraction unit 124 of the tuple storage unit 12, that is, the relay that has read the tuple information from the tuple storage unit 12 included in the own communication device. The transmission side transfer unit 22 of the proxy unit 13 (see reference numeral (1) in FIG. 20), the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit 24 with the read tuple information. 12 is transmitted via the network 3 (see reference numerals (2) and (3) in FIG. 20).

その後、ネットワーク3を介してタプル情報を受信した受信装置としての通信装置6においては、受信側転送部23が、ネットワーク3を関して受信したタプル情報を、自通信装置が有するタプル記憶部12に記憶する(図20の符号(4)と(5)とを参照)。   Thereafter, in the communication device 6 as a receiving device that has received the tuple information via the network 3, the receiving side transfer unit 23 stores the tuple information received regarding the network 3 in the tuple storage unit 12 included in the own communication device. Store (see symbols (4) and (5) in FIG. 20).

以上説明したように、送信側転送部22が、自通信装置が有するタプル記憶部12からタプル情報を読み出し、該読出したタプル情報を、転送情報記憶部24から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信することにより、送信装置としての通信装置6上の送信側アプリケーション11は、宛先を何ら指定することなく、送信情報(たとえば、タプル情報)をタプル記憶部12に書き込むことだけで、送信情報を受信装置に送信することが可能となる。   As described above, the transmission side transfer unit 22 reads the tuple information from the tuple storage unit 12 included in the communication apparatus, and the read tuple information is read from the transfer information storage unit 24. By transmitting the data to the tuple storage unit 12 corresponding to, the transmission-side application 11 on the communication device 6 serving as the transmission device transmits transmission information (for example, tuple information) without specifying any destination. The transmission information can be transmitted to the receiving device simply by writing to the tuple storage unit 12.

次に、図22を用いて、タプル検索情報によるタプル情報を抽出するタプル記憶部12の第2の構成について説明する。なお、以降において、同一の構成については、同一の符号を付し、その説明を省略する。
タプル情報抽出部124は、タプル検索情報がタプル検索情報記憶部122に記憶された場合に、該記憶されたタプル検索情報がタプル情報記憶部121に記憶されているタプル情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル情報を中継代理部13の送信側転送部22に出力する。
Next, a second configuration of the tuple storage unit 12 that extracts tuple information based on tuple search information will be described with reference to FIG. In the following, the same components are denoted by the same reference numerals, and the description thereof is omitted.
The tuple information extraction unit 124 determines whether the stored tuple search information corresponds to the tuple information stored in the tuple information storage unit 121 when the tuple search information is stored in the tuple search information storage unit 122. If the determined result is applicable, the corresponding tuple information is output to the transmission side transfer unit 22 of the relay proxy unit 13.

これにより、上記で図20を用いて説明したことと同様に、たとえば、通信装置6上の送信側アプリケーション11は、宛先を何ら指定することなく、タプル情報をタプル情報記憶部121に書き込んで記憶させておけば、後述するように受信装置から中継代理部13を介してタプル検索情報が自通信装置の有するタプル検索情報記憶部122に記憶された場合に、このタプル検索情報に該当するタプル情報を受信装置に送信することが可能となる。   Accordingly, as described above with reference to FIG. 20, for example, the transmission-side application 11 on the communication device 6 writes and stores tuple information in the tuple information storage unit 121 without specifying any destination. If the tuple search information is stored in the tuple search information storage unit 122 of the communication apparatus from the receiving device via the relay proxy unit 13 as will be described later, the tuple information corresponding to this tuple search information is stored. Can be transmitted to the receiving device.

上記に図21と図22とを用いて説明したように、タプル情報抽出部124は、タプル情報がタプル情報記憶部121に記憶された場合に、または、タプル検索情報がタプル検索情報記憶部122に記憶された場合に、該記憶されたタプル情報またはタプル検索情報に基づいて、タプル情報を中継代理部13の送信側転送部22に出力する。   As described above with reference to FIG. 21 and FIG. 22, the tuple information extraction unit 124, when the tuple information is stored in the tuple information storage unit 121, or the tuple search information is stored in the tuple search information storage unit 122. Is stored in the transmission side transfer unit 22 of the relay proxy unit 13 based on the stored tuple information or tuple search information.

そのため、図21と図22とのうち、いずれかに示されるようにタプル情報抽出部124を構成した場合においても、上記図20と図21とを用いて説明したように、送信側転送部22が、自通信装置が有するタプル記憶部12からタプル情報を読み出し、該読出したタプル情報を、転送情報記憶部24から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信することにより、送信装置としての通信装置6上の送信側アプリケーション11は、宛先を何ら指定することなく、送信情報(たとえば、タプル情報)をタプル記憶部12に書き込むことだけで、送信情報を受信装置に送信することが可能となる。   Therefore, even when the tuple information extraction unit 124 is configured as shown in any of FIGS. 21 and 22, as described with reference to FIGS. 20 and 21, the transmission side transfer unit 22. However, it reads out the tuple information from the tuple storage unit 12 included in the communication device, and connects the read tuple information to the tuple storage unit 12 corresponding to the transfer destination tuple storage unit identification information read out from the transfer information storage unit 24. Thus, the transmission-side application 11 on the communication device 6 as the transmission device transmits the transmission information (for example, tuple information) in the tuple storage unit 12 without specifying any destination. Information can be transmitted to the receiving device.

上記に図21と図22とを用いて説明したタプル記憶部12と中継代理部13との構成においては、タプル記憶部12のタプル情報抽出部124が、中継代理部13の送信側転送部22に出力する情報は、タプル情報だけであった。
これに対して、次に図23と図24とを用いて説明するタプル記憶部12と中継代理部13との構成においては、タプル記憶部12のタプル情報抽出部124が、中継代理部13の送信側転送部22に出力する情報は、タプル情報に加えて、それに合致したタプル検索情報に関連付けられたタプル検索情報識別情報も出力する。
In the configuration of the tuple storage unit 12 and the relay proxy unit 13 described above with reference to FIGS. 21 and 22, the tuple information extraction unit 124 of the tuple storage unit 12 is the transmission side transfer unit 22 of the relay proxy unit 13. The only information that was output to was tuple information.
On the other hand, in the configuration of the tuple storage unit 12 and the relay proxy unit 13 described next with reference to FIGS. 23 and 24, the tuple information extraction unit 124 of the tuple storage unit 12 In addition to the tuple information, the information output to the transmission side transfer unit 22 also outputs the tuple search information identification information associated with the tuple search information that matches the tuple information.

次に、図23と図24とを用いて、後述するタプル検索情報識別情報を用いた転送を実行する中継代理部13とタプル記憶部12との構成について説明する。なお、この構成では、後述するように転送先をタプル検索情報との対応関係で決定する。   Next, configurations of the relay proxy unit 13 and the tuple storage unit 12 that perform transfer using tuple search information identification information, which will be described later, will be described with reference to FIGS. In this configuration, as described later, the transfer destination is determined based on the correspondence with the tuple search information.

まず、図24を用いて、図23の転送情報記憶部24の構成について説明する。転送情報記憶部24は、タプル情報転送先情報記憶部241と、タプル情報転送先情報抽出部242と、を有する。タプル情報転送先情報記憶部241には、タプル検索情報を識別するタプル検索情報識別情報と転送先タプル記憶部識別情報とが関連付けて予め記憶されている。タプル情報転送先情報抽出部242は、タプル検索情報識別情報が送信側転送部22から入力された場合に、該入力されたタプル検索情報識別情報に該当する転送先タプル記憶部識別情報をタプル情報転送先情報記憶部241から抽出し、該抽出した転送先タプル記憶部識別情報を送信側転送部22に出力する。   First, the configuration of the transfer information storage unit 24 in FIG. 23 will be described with reference to FIG. The transfer information storage unit 24 includes a tuple information transfer destination information storage unit 241 and a tuple information transfer destination information extraction unit 242. In the tuple information transfer destination information storage unit 241, tuple search information identification information for identifying tuple search information and transfer destination tuple storage unit identification information are stored in advance in association with each other. When the tuple search information identification information is input from the transmission side transfer unit 22, the tuple information transfer destination information extraction unit 242 sets the transfer destination tuple storage unit identification information corresponding to the input tuple search information identification information as the tuple information. Extracted from the transfer destination information storage unit 241, and outputs the extracted transfer destination tuple storage unit identification information to the transmission side transfer unit 22.

次に、図23を用いて、中継代理部13とタプル記憶部12との構成について説明する。タプル検索情報記憶部122は、タプル検索情報と関連付けて該タプル検索情報を識別するタプル検索情報識別情報を記憶する。   Next, the configuration of the relay proxy unit 13 and the tuple storage unit 12 will be described with reference to FIG. The tuple search information storage unit 122 stores tuple search information identification information for identifying the tuple search information in association with the tuple search information.

タプル情報抽出部124は、タプル情報がタプル情報記憶部121に記憶された場合に、該記憶されたタプル情報がタプル検索情報記憶部122に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル検索情報と関連付けて記憶されているタプル検索情報識別情報をタプル検索情報記憶部122から読み出し、記憶されたタプル情報と読み出したタプル検索情報識別情報とを関連付けて送信側転送部22に出力する。   When the tuple information is stored in the tuple information storage unit 121, the tuple information extraction unit 124 determines whether the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit 122. When the determination result is true, the tuple search information identification information stored in association with the relevant tuple search information is read from the tuple search information storage unit 122, the stored tuple information and the read tuple The search information identification information is associated and output to the transmission side transfer unit 22.

送信側転送部22は、タプル情報とタプル検索情報識別情報とを関連付けてタプル情報抽出部121から入力されたことに応じて、該入力されたタプル検索情報識別情報に該当する転送先タプル記憶部識別情報を転送情報記憶部24から読み出し、該読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して入力されたタプル情報を送信する。   The transmission side transfer unit 22 associates the tuple information with the tuple search information identification information and inputs the tuple information corresponding to the input tuple search information identification information in response to the input from the tuple information extraction unit 121. The identification information is read from the transfer information storage unit 24, and the tuple information input via the network 3 is transmitted to the tuple storage unit 12 corresponding to the read transfer destination tuple storage unit identification information.

なお、上記で説明したタプル情報転送先情報記憶部241に関連付けて予め記憶されているタプル検索情報識別情報と転送先タプル記憶部識別情報とは、1対1の関係であってもよいし、1対N(ここで、Nは1より大きい任意の自然数)の関係であってもよい。   The tuple search information identification information stored in advance in association with the tuple information transfer destination information storage unit 241 described above and the transfer destination tuple storage unit identification information may have a one-to-one relationship. The relationship may be 1 to N (where N is any natural number greater than 1).

なお、図24を用いて説明した転送情報記憶部24のタプル情報転送先情報記憶部241において、タプル記憶部12のタプル検索情報記憶部122に記憶されているタプル検索情報が有効期限に基づいて削除された場合は、転送情報記憶部24のタプル情報転送先情報記憶部241においても、削除されたタプル検索情報に該当するタプル検索情報識別情報と転送先タプル記憶部識別情報とを削除することで、タプル検索情報記憶部122で記憶される情報とタプル情報転送先記憶部241で記憶される情報との同期をとることができる。
具体的には、タプル検索情報記憶部122で記憶されているタプル検索情報が削除されたことに応じて、タプル情報抽出部124が削除されたタプル検索情報に該当するタプル検索情報識別情報をタプル検索情報記憶部122から読出し、このタプル検索情報識別情報の削除の旨を送信側転送部22に出力し、その入力を受けた送信側転送部22がタプル情報転送部先情報記憶部241に記憶されている該当タプル検索情報識別情報および関連づけられた転送先タプル記憶部識別情報を削除することで実現できる。
In the tuple information transfer destination information storage unit 241 of the transfer information storage unit 24 described with reference to FIG. 24, the tuple search information stored in the tuple search information storage unit 122 of the tuple storage unit 12 is based on the expiration date. When deleted, the tuple information transfer destination information storage unit 241 of the transfer information storage unit 24 also deletes the tuple search information identification information and the transfer destination tuple storage unit identification information corresponding to the deleted tuple search information. Thus, the information stored in the tuple search information storage unit 122 and the information stored in the tuple information transfer destination storage unit 241 can be synchronized.
Specifically, when the tuple search information stored in the tuple search information storage unit 122 is deleted, the tuple information extraction unit 124 tuples the tuple search information identification information corresponding to the deleted tuple search information. Reading from the search information storage unit 122, outputting the deletion of the tuple search information identification information to the transmission side transfer unit 22, and receiving the input, the transmission side transfer unit 22 stores it in the tuple information transfer unit destination information storage unit 241. This can be realized by deleting the corresponding tuple search information identification information and the associated transfer destination tuple storage unit identification information.

次に、図25を用いて、タプル検索情報識別情報とタプル情報とを関連づけて送信側転送部22に出力する場合のタプル情報抽出部124について説明する。タプル情報抽出部124は、タプル検索情報がタプル検索情報記憶部122に記憶された場合に、該記憶されたタプル検索情報がタプル情報記憶部121に記憶されているタプル情報に該当するか否かを判定し、該判定した結果が該当する場合に、記憶されたタプル検索情報に関連付けられているタプル検索情報識別情報と該当したタプル情報とを関連づけて送信側転送部22に出力する。
図25を用いて説明したタプル情報抽出部124によっても、図24を用いて説明したタプル情報抽出部124と同様に、タプル検索情報識別情報とタプル情報とを関連づけて送信側転送部22に出力することが可能である。
Next, the tuple information extraction unit 124 when the tuple search information identification information and the tuple information are associated with each other and output to the transmission side transfer unit 22 will be described with reference to FIG. The tuple information extraction unit 124 determines whether the stored tuple search information corresponds to the tuple information stored in the tuple information storage unit 121 when the tuple search information is stored in the tuple search information storage unit 122. When the determined result is true, the tuple search information identification information associated with the stored tuple search information is associated with the relevant tuple information and output to the transmission side transfer unit 22.
Similarly to the tuple information extraction unit 124 described with reference to FIG. 24, the tuple information extraction unit 124 described with reference to FIG. 25 associates the tuple search information identification information with the tuple information and outputs them to the transmission side transfer unit 22. Is possible.

次に、図26を用いて、上記で説明した第2の実施形態における、たとえば、検索条件となるタプル検索情報と対応付けて転送先のタプル記憶部識別情報を別途管理する転送情報記憶部を設け、この転送情報記憶部に記憶されているタプル記憶部識別情報に基づいて転送先を決定する転送方法と、第1の実施形態において説明したように、たとえば、タプル情報に含まれている送信先タプル記憶識別情報または送信元タプル記憶識別情報をもとに転送する方法との、両方の方法を併用できる転送方法の構成、つまり、ハイブリッド構成について説明する。   Next, referring to FIG. 26, for example, a transfer information storage unit that separately manages the tuple storage unit identification information of the transfer destination in association with the tuple search information serving as a search condition in the second embodiment described above. And a transfer method for determining a transfer destination based on the tuple storage unit identification information stored in the transfer information storage unit and, for example, transmission included in the tuple information as described in the first embodiment A configuration of a transfer method in which both methods, ie, a method of transferring based on the destination tuple storage identification information or the transmission source tuple storage identification information, that is, a hybrid configuration will be described.

まず、タプル情報が、送信先タプル記憶部識別情報を設定可能な情報の領域を有する(図26(a)参照)。ここでは、たとえば、ヘッダ情報またはタプル要素として有しているものとする。次に、送信側転送部22は、自通信装置6が有するタプル記憶部12からタプル情報を読み出し、読み出したタプル情報に送信先タプル記憶部識別情報が設定されているか否かを判定し、送信先タプル記憶部識別情報が設定されていなければ、読み出したタプル情報を読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する。   First, the tuple information has an information area in which destination tuple storage unit identification information can be set (see FIG. 26A). Here, for example, it is assumed that the header information or the tuple element is included. Next, the transmission side transfer unit 22 reads the tuple information from the tuple storage unit 12 included in the communication device 6, determines whether the destination tuple storage unit identification information is set in the read tuple information, and transmits the tuple information. If the destination tuple storage unit identification information is not set, the read tuple information is transmitted via the network 3 to the tuple storage unit 12 corresponding to the read destination tuple storage unit identification information.

一方、送信先タプル記憶部識別情報が設定されていれば、送信側転送部22は、該設定されている送信先タプル記憶部識別情報が、転送情報記憶部24に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、いずれかと一致する場合には、読み出したタプル情報を設定されている送信先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する(図26(b)参照)。   On the other hand, if the transmission destination tuple storage unit identification information is set, the transmission side transfer unit 22 transfers the transfer destination tuple in which the set transmission destination tuple storage unit identification information is stored in the transfer information storage unit 24. It is determined whether or not it matches any of the storage unit identification information, and if it matches any of the storage unit identification information, the read tuple information is transferred to the tuple storage unit 12 corresponding to the set destination tuple storage unit identification information. (See FIG. 26B).

上記に説明した送信側転送部22の一例としての動作を、図26(b)を用いて詳細に説明する。まず、自通信装置6が有するタプル記憶部12のタプル情報記憶部121からタプル情報を読み出し(ステップS261)、転送情報記憶部24から転送先タプル記憶部識別情報を読み出す(ステップS262)。次に、読み出したタプル情報に送信先タプル記憶部識別情報が設定されているか否かを判定する(ステップS263)。   The operation as an example of the transmission side transfer unit 22 described above will be described in detail with reference to FIG. First, tuple information is read from the tuple information storage unit 121 of the tuple storage unit 12 of the communication device 6 (step S261), and transfer destination tuple storage unit identification information is read from the transfer information storage unit 24 (step S262). Next, it is determined whether or not destination tuple storage unit identification information is set in the read tuple information (step S263).

ステップS263で判定した結果が、送信先タプル記憶部識別情報が設定されていなければ、読み出したタプル情報を読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信し(ステップS264)、処理を終了する。一方、ステップS263で判定した結果が、送信先タプル記憶部識別情報が設定されていれば、該設定されている送信先タプル記憶部識別情報が、読み出した転送先タプル記憶部識別情報のいずれかと一致するか否かを判定する(ステップS265)。   If the destination tuple storage unit identification information is not set as a result of the determination in step S263, the read tuple information is transmitted to the tuple storage unit 12 corresponding to the read transfer destination tuple storage unit identification information via the network 3. (Step S264), and the process ends. On the other hand, if the determination result in step S263 indicates that the transmission destination tuple storage unit identification information is set, the transmission destination tuple storage unit identification information is set to one of the read transfer destination tuple storage unit identification information. It is determined whether or not they match (step S265).

ステップS265で判定した結果が、いずれかと一致する場合には、読み出したタプル情報を設定されている送信先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信し(ステップS266)、処理を終了する。一方、ステップS265で判定した結果が、いずれとも一致しない場合には、たとえば、エラー処理をして(ステップS267)、処理を終了する。なお、このエラー処理は、たとえば、ワーニングを出力する処理であってもよいし、何もしない処理であってもよい。   If the result of determination in step S265 matches any one, the read tuple information is transmitted to the tuple storage unit 12 corresponding to the set destination tuple storage unit identification information via the network 3 (step S266). ), The process is terminated. On the other hand, if the result determined in step S265 does not match any, for example, error processing is performed (step S267), and the process is terminated. The error process may be, for example, a process for outputting a warning or a process for performing nothing.

次に、図27を用いて、タプルメタ検索情報によるタプル検索情報を抽出するタプル記憶部12の、第1の構成と第2の構成とについて説明する。つまり、送信側の構成について説明する。第1の構成および第2の構成におけるタプル記憶部12は、タプル検索情報記憶部122と、タプルメタ検索情報記憶部123と、タプル検索情報抽出部125と、を有する。タプルメタ検索情報記憶部123は、タプル検索情報を検索するためのタプルメタ検索情報を記憶する。   Next, the first configuration and the second configuration of the tuple storage unit 12 that extracts the tuple search information based on the tuple meta search information will be described with reference to FIG. That is, the configuration on the transmission side will be described. The tuple storage unit 12 in the first configuration and the second configuration includes a tuple search information storage unit 122, a tuple meta search information storage unit 123, and a tuple search information extraction unit 125. The tuple meta search information storage unit 123 stores tuple meta search information for searching for tuple search information.

第1の構成としてのタプル記憶部12において、タプル検索情報抽出部125は、タプル検索情報がタプル検索情報記憶部122に記憶された場合に、該記憶されたタプル検索情報がタプルメタ検索情報記憶部123に記憶されているタプルメタ検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル検索情報を送信側転送部22に出力する(図27中の符号(1)〜(3)を参照)。   In the tuple storage unit 12 as the first configuration, when the tuple search information is stored in the tuple search information storage unit 122, the tuple search information extraction unit 125 stores the tuple search information in the tuple meta search information storage unit. It is determined whether or not it corresponds to the tuple meta search information stored in 123, and if the determined result is applicable, the corresponding tuple search information is output to the transmission side transfer unit 22 (reference numeral in FIG. 27). (See (1) to (3)).

第2の構成としてのタプル記憶部12において、タプル検索情報抽出部125は、タプルメタ検索情報がタプルメタ検索情報記憶部123に記憶された場合に、該記憶されたタプルメタ検索情報がタプル検索情報記憶部122に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル検索情報を送信側転送部22に出力する(図27中の符号(1)〜(3)を参照)。   In the tuple storage unit 12 as the second configuration, when the tuple meta search information is stored in the tuple meta search information storage unit 123, the tuple search information extraction unit 125 stores the tuple meta search information in the tuple search information storage unit. It is determined whether it corresponds to the tuple search information stored in 122, and if the determined result is applicable, the corresponding tuple search information is output to the transmission side transfer unit 22 (reference numeral in FIG. 27). (See (1) to (3)).

上記の第1の構成および第2の構成のいずれの場合のタプル記憶部12においても、送信側転送部22は、タプル記憶部12から読み出したタプル検索情報を、転送情報記憶部24から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する(図27中の符号(3)〜(5)を参照)。   In the tuple storage unit 12 in both the first configuration and the second configuration, the transmission side transfer unit 22 reads the tuple search information read from the tuple storage unit 12 from the transfer information storage unit 24. The data is transmitted to the tuple storage unit 12 corresponding to the transfer destination tuple storage unit identification information via the network 3 (see symbols (3) to (5) in FIG. 27).

次に、図28を用いて、上記図27を用いて説明した送信側の構成に対応する受信側の構成について説明する。この場合の、受信側転送部23は、ネットワーク3を介して受信したタプル検索情報を(図28中の符号(1)を参照)、自通信装置6が有するタプル検索情報記憶部122に記憶するとともに(図28中の符号(3)を参照)、受信時にネットワーク3あるいはタプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として転送情報記憶部24に記憶する(図28中の符号(2)を参照)。   Next, the configuration on the reception side corresponding to the configuration on the transmission side described with reference to FIG. 27 will be described with reference to FIG. In this case, the receiving side transfer unit 23 stores the tuple search information received via the network 3 (see reference numeral (1) in FIG. 28) in the tuple search information storage unit 122 included in the own communication device 6. At the same time (see symbol (3) in FIG. 28), the transmission source tuple storage unit identification information obtained from the network 3 or the tuple search information at the time of reception is stored in the transfer information storage unit 24 as transfer destination tuple storage unit identification information ( (See symbol (2) in FIG. 28).

また、上記で、受信側転送部23は、受信時にネットワーク3あるいはタプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として転送情報記憶部24に記憶する(図28中の符号(2)を参照)が、この送信元タプル記憶部識別情報の取得は、たとえば、次の2つの方法がある。第1の方法として、転送データのヘッダから読出す方法であって、例えば、IPアドレスといったネットワーク通信アドレスを使う方法がある。また、第2の方法として、タプル検索情報から読出す方法であって、例えば、to要素の情報を使う方法がある。   In addition, the receiving side transfer unit 23 stores the transmission source tuple storage unit identification information obtained from the network 3 or the tuple search information at the time of reception in the transfer information storage unit 24 as the transfer destination tuple storage unit identification information (FIG. 28). For example, there are the following two methods for acquiring the transmission source tuple storage unit identification information. As a first method, there is a method of reading from a header of transfer data, for example, a method of using a network communication address such as an IP address. Further, as a second method, there is a method of reading out from tuple search information, for example, a method of using information of to element.

次に図29を用いて、タプル検索情報識別情報と転送先タプル記憶部識別情報とを関連付けて記憶する構成について説明する。図29に示すように、受信側転送部23は、ネットワーク3を介してタプル検索情報を受信した場合に(図29の符号(1)参照)、受信したタプル検索情報を自通信装置6が有するタプル記憶部12に記憶する(図29の符号(2)参照)。このとき、受信側転送部23は、自タプル記憶部12のタプル検索情報記憶部122に記憶されているタプル検索情報とタプル検索情報識別情報に基づいて生成されたタプル検索情報識別情報を得る(図29の符号(4)参照)。   Next, a configuration for storing the tuple search information identification information and the transfer destination tuple storage unit identification information in association with each other will be described with reference to FIG. As shown in FIG. 29, when receiving side tuple search information is received via the network 3 (see reference numeral (1) in FIG. 29), the receiving side transfer unit 23 has the received tuple search information in its own communication device 6. The data is stored in the tuple storage unit 12 (see reference numeral (2) in FIG. 29). At this time, the receiving side transfer unit 23 obtains the tuple search information identification information generated based on the tuple search information and the tuple search information identification information stored in the tuple search information storage unit 122 of the own tuple storage unit 12 ( Reference (4) in FIG. 29).

また、受信側転送部23は、上記の動作を実行するとともに、タプル検索情報を受信する場合にネットワーク3あるいはタプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として、タプル検索情報識別情報と関連付けて、自通信装置6が有する転送情報記憶部24のタプル情報転送先情報記憶部241に記憶する(図29の符号(5)参照)。   Further, the receiving side transfer unit 23 performs the above-described operation, and when receiving the tuple search information, the transmission source tuple storage unit identification information obtained from the network 3 or the tuple search information is used as the transfer destination tuple storage unit identification information. In association with the tuple search information identification information, it is stored in the tuple information transfer destination information storage unit 241 of the transfer information storage unit 24 of the communication apparatus 6 (see reference numeral (5) in FIG. 29).

次に、図30を用いて、図29で説明したタプル検索情報識別情報を生成する構成について説明する。たとえば、タプル記憶部12は、自タプル記憶部12のタプル検索情報記憶部122に記憶されているタプル検索情報とタプル検索情報識別情報に基づいて、タプル検索情報識別情報を生成するタプル検索情報識別情報生成部126を有する。   Next, a configuration for generating the tuple search information identification information described with reference to FIG. 29 will be described with reference to FIG. For example, the tuple storage unit 12 generates a tuple search information identification information based on the tuple search information and the tuple search information identification information stored in the tuple search information storage unit 122 of the own tuple storage unit 12. An information generation unit 126 is included.

次に図31を用いて、このタプル検索情報識別情報生成部126の処理の流れを説明する。タプル検索情報識別情報生成部126は、自装置の受信側転送部23からタプル検索情報を入力されると、自タプル検索情報記憶部122に入力されたタプル検索情報とマッチング対象となる要素とが一致しているタプル検索情報が、すでに記憶されているかを確認する(ステップS311、ステップS312)。
ステップS312で、該当するタプル検索情報があれば、該当タプル検索情報にすでに関連づけて記憶されているタプル検索情報識別情報を、入力されたタプル検索情報のタプル検索情報識別情報として、受信側転送部23に出力する(ステップS313)。
一方、ステップS312で、該当するタプル検索情報がなければ、すでに記録されているタプル検索情報識別情報とは異なるユニークなタプル検索情報識別情報を新たに生成し、該入力されたタプル検索情報のタプル検索情報識別情報として、受信側転送部23に出力する(ステップS314)とともに、該入力されたタプル検索情報と該生成したタプル検索情報識別情報を関連づけて,タプル検索情報記憶部122に記憶する(ステップS315)。
Next, the processing flow of the tuple search information identification information generation unit 126 will be described with reference to FIG. When the tuple search information identification information generation unit 126 receives the tuple search information from the receiving-side transfer unit 23 of its own device, the tuple search information input to the own tuple search information storage unit 122 and the elements to be matched are determined. It is checked whether the matching tuple search information is already stored (steps S311 and S312).
In step S312, if there is corresponding tuple search information, the tuple search information identification information already stored in association with the relevant tuple search information is used as the tuple search information identification information of the input tuple search information. 23 (step S313).
On the other hand, if there is no corresponding tuple search information in step S312, unique tuple search information identification information different from the already recorded tuple search information identification information is newly generated, and the tuple of the input tuple search information is input. The search information identification information is output to the receiving side transfer unit 23 (step S314), and the input tuple search information and the generated tuple search information identification information are associated with each other and stored in the tuple search information storage unit 122 ( Step S315).

ところで、同一のタプル検索情報を登録する端末側アプリケーションが搭載されている端末が多数の場合、タプル情報転送先情報記憶部241に関連付けて記憶されるタプル検索情報識別情報と転送先タプル記憶部識別情報とは1:Nになる。この場合、サーバ側のタプル記憶部に登録するタプル検索情報を共通化できるため、次のようなメリットがある。   By the way, when there are a large number of terminals equipped with terminal side applications for registering the same tuple search information, the tuple search information identification information and the transfer destination tuple storage section identification stored in association with the tuple information transfer destination information storage section 241 are stored. The information is 1: N. In this case, tuple search information to be registered in the server-side tuple storage unit can be shared, and the following advantages are obtained.

・転送先タプル記憶部識別情報を最初に登録すれば、2回目以降の登録(他の端末からの登録に相当)については、転送情報記憶部24への転送先タプル記憶部識別情報の登録だけで処理が済む。
・結果的にタプル記憶部12に登録されるタプル検索情報が最小限で済むため、タプル記憶部12で必要となる記憶容量を低減できる。
・また、タプル情報とのマッチング処理を効率化できる
If the transfer destination tuple storage unit identification information is registered first, only the transfer destination tuple storage unit identification information is registered in the transfer information storage unit 24 for the second and subsequent registrations (corresponding to registration from other terminals). The process is over.
As a result, the tuple search information registered in the tuple storage unit 12 can be minimized, so that the storage capacity required for the tuple storage unit 12 can be reduced.
・ In addition, the matching processing with tuple information can be made more efficient.

次に、図32と図33とを用いて、タプルメタ検索情報識別情報を用いたタプル検索情報の転送を実行する中継代理部13とタプル記憶部12との構成について説明する。この構成は、図23と図24とを用いて説明したタプル検索情報識別情報を用いたタプル情報の転送を実行する中継代理部13とタプル記憶部12との構成と同様であり、図23と図24とにおけるタプル情報に対しての構成を、図32と図33とにおいては、タプル検索情報に対する構成としている。なお、図23および図24の構成と、図32および図33の構成とは、互いに共存する構成である(たとえば、図8のタプル記憶部12内の構成を参照)。   Next, configurations of the relay proxy unit 13 and the tuple storage unit 12 that execute transfer of the tuple search information using the tuple meta search information identification information will be described with reference to FIGS. 32 and 33. This configuration is the same as the configuration of the relay proxy unit 13 and the tuple storage unit 12 that execute tuple information transfer using the tuple search information identification information described with reference to FIGS. 23 and 24. The configuration for the tuple information in FIG. 24 is the configuration for the tuple search information in FIGS. 32 and 33. 23 and FIG. 24 and FIG. 32 and FIG. 33 are coexisting with each other (for example, see the configuration in tuple storage unit 12 in FIG. 8).

まず、図33に示されるように、転送情報記憶部24は、タプル検索情報転送先情報記憶部244と、タプル検索情報転送先情報抽出部245とを有する。タプル検索情報転送先情報記憶部244には、タプルメタ検索情報を識別するタプルメタ検索情報識別情報と転送先タプル記憶部識別情報とが関連付けて予め記憶されている。   First, as illustrated in FIG. 33, the transfer information storage unit 24 includes a tuple search information transfer destination information storage unit 244 and a tuple search information transfer destination information extraction unit 245. In the tuple search information transfer destination information storage unit 244, tuple meta search information identification information for identifying tuple meta search information and transfer destination tuple storage unit identification information are stored in advance in association with each other.

また、タプル検索情報転送先情報抽出部245は、タプルメタ検索情報識別情報が送信側転送部22から転送情報記憶部24に入力された場合に、該入力されたタプルメタ検索情報と関連付けて記憶されている転送先タプル記憶部識別情報をタプル検索情報転送先情報記憶部244から抽出して送信側転送部22に出力する。   Further, when the tuple meta search information identification information is input from the transmission side transfer unit 22 to the transfer information storage unit 24, the tuple search information transfer destination information extraction unit 245 is stored in association with the input tuple meta search information. The transfer destination tuple storage unit identification information is extracted from the tuple search information transfer destination information storage unit 244 and output to the transmission side transfer unit 22.

次に、図32を用いて、タプルメタ検索情報識別情報を用いたタプル検索情報の転送を実行する場合の、中継代理部13とタプル記憶部12との構成について説明する。タプルメタ検索情報記憶部123は、タプルメタ検索情報と関連付けて該タプルメタ検索情報を識別するタプルメタ検索情報識別情報を記憶する。また、タプル検索情報抽出部125は、タプル検索情報がタプル検索情報記憶部121に記憶された場合に、該記憶されたタプル検索情報がタプルメタ検索情報記憶部123に記憶されているタプルメタ検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプルメタ検索情報と関連付けて記憶されているタプルメタ検索情報識別情報をタプルメタ検索情報記憶部123から読み出し、該当したタプル検索情報と読み出したタプルメタ検索情報識別情報とを関連付けて送信側転送部22に出力する。   Next, the configuration of the relay proxy unit 13 and the tuple storage unit 12 when executing transfer of tuple search information using the tuple meta search information identification information will be described with reference to FIG. The tuple meta search information storage unit 123 stores tuple meta search information identification information for identifying the tuple meta search information in association with the tuple meta search information. In addition, when the tuple search information is stored in the tuple search information storage unit 121, the tuple search information extraction unit 125 adds the stored tuple search information to the tuple meta search information stored in the tuple meta search information storage unit 123. If the result of the determination is applicable, the tuple meta search information identification information stored in association with the corresponding tuple meta search information is read from the tuple meta search information storage unit 123, and the corresponding tuple is read. The search information and the read tuple meta search information identification information are associated with each other and output to the transmission side transfer unit 22.

また、送信側転送部22は、タプル検索情報とタプルメタ検索情報識別情報とを関連付けてタプル検索情報抽出部125から入力されたことに応じて、該入力されたタプルメタ検索情報識別情報に該当する転送先タプル記憶部識別情報を転送情報記憶部24から読み出し、該読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して入力されたタプル検索情報を送信する。   Further, the transmission side transfer unit 22 associates the tuple search information with the tuple meta search information identification information and inputs the corresponding tuple meta search information identification information according to the input from the tuple search information extraction unit 125. The destination tuple storage unit identification information is read from the transfer information storage unit 24, and the tuple search information input via the network 3 is transmitted to the tuple storage unit 12 corresponding to the read transfer destination tuple storage unit identification information.

以上の図32と図33とを用いて説明した構成により、図23と図24とを用いて説明したタプル検索情報識別情報を用いたタプル情報の転送と同様に、タプルメタ検索情報識別情報を用いたタプル検索情報の転送が可能である。   32 and 33, the tuple meta search information identification information is used in the same manner as the tuple information transfer using the tuple search information identification information described with reference to FIGS. The tuple search information can be transferred.

なお、図33を用いて説明した転送情報記憶部24のタプル検索情報転送先情報記憶部244において、タプル記憶部12のタプルメタ検索情報記憶部123に記憶されているタプルメタ検索情報が有効期限に基づいて削除された場合は、転送情報記憶部24のタプル検索情報転送先情報記憶部244においても、削除されたタプルメタ検索情報に該当するタプルメタ検索情報識別情報と転送先タプル記憶部識別情報とを削除することで、タプルメタ検索情報記憶部123で記憶される情報とタプル検索情報転送先記憶部244で記憶される情報との同期をとることができる。   In the tuple search information transfer destination information storage unit 244 of the transfer information storage unit 24 described with reference to FIG. 33, the tuple meta search information stored in the tuple meta search information storage unit 123 of the tuple storage unit 12 is based on the expiration date. In the tuple search information transfer destination information storage unit 244 of the transfer information storage unit 24, the tuple meta search information identification information and the transfer destination tuple storage unit identification information corresponding to the deleted tuple meta search information are also deleted. Thus, the information stored in the tuple meta search information storage unit 123 and the information stored in the tuple search information transfer destination storage unit 244 can be synchronized.

なお、図32と図33とを用いて説明した構成を、後述する広域ユビキタスNWへ適用する場合においては、この図32と図33とを用いて説明した構成は端末装置が有し、端末装置側での処理となる。しかしながら、この場合、端末装置の送信先は、対応するサーバ装置に固定されるため、タプルメタ検索情報識別情報を払い出す構成は必ずしも必要なく、固定的な転送先タプル記憶部識別情報を1つ記録しておけばよい。たとえば、どのサーバへ転送するかは広域ユビキタスNWが有する情報で決まるため、転送先タプル記憶部識別情報がない場合にも、送信データの送受信が可能である。なお、一般的なネットワークへ適用する場合には、図32と図33とを用いて説明した構成が必要な場合もある。   When the configuration described using FIG. 32 and FIG. 33 is applied to a wide area ubiquitous NW described later, the configuration described using FIG. 32 and FIG. 33 is included in the terminal device. It becomes processing on the side. However, in this case, since the transmission destination of the terminal device is fixed to the corresponding server device, it is not always necessary to provide the tuple meta search information identification information, and one fixed transfer destination tuple storage unit identification information is recorded. You just have to. For example, which server is transferred is determined by information held by the wide area ubiquitous NW, so that transmission data can be transmitted and received even when there is no transfer destination tuple storage unit identification information. In addition, when applying to a general network, the structure demonstrated using FIG. 32 and FIG. 33 may be required.

次に、図34を用いて、第2の実施形態によるタプル検索情報の転送方法と、第1の実施形態によるタプル検索情報の転送方法との、両方の方法を併用できる転送方法の構成、つまり、ハイブリッド構成について説明する。なお、この図34のタプル検索情報の転送に対するハイブリッド構成は、図26を用いて説明したタプル情報の転送に対するハイブリッド構成と対応する。   Next, referring to FIG. 34, a configuration of a transfer method in which both the tuple search information transfer method according to the second embodiment and the tuple search information transfer method according to the first embodiment can be used together, that is, The hybrid configuration will be described. The hybrid configuration for the transfer of tuple search information in FIG. 34 corresponds to the hybrid configuration for the transfer of tuple information described with reference to FIG.

まず、タプル検索情報が、送信元タプル記憶部識別情報を設定可能な情報の領域を有する(図34(a)参照)。ここでは、たとえば、ヘッダ情報またはタプル要素として有しているものとする。次に、送信側転送部22は、自通信装置6が有するタプル記憶部12からタプル検索情報を読み出し、読み出したタプル検索情報に送信元タプル記憶部識別情報が設定されているか否かを判定し、送信元タプル記憶部識別情報が設定されていなければ、読み出したタプル検索情報を読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する。   First, the tuple search information has an information area in which transmission source tuple storage unit identification information can be set (see FIG. 34A). Here, for example, it is assumed that the header information or the tuple element is included. Next, the transmission side transfer unit 22 reads the tuple search information from the tuple storage unit 12 included in the communication device 6 and determines whether or not the transmission source tuple storage unit identification information is set in the read tuple search information. If the transmission source tuple storage unit identification information is not set, the read tuple search information is transmitted via the network 3 to the tuple storage unit 12 corresponding to the read transfer destination tuple storage unit identification information.

一方、送信元タプル記憶部識別情報が設定されていれば、送信側転送部22は、該設定されている送信元タプル記憶部識別情報が、転送情報記憶部24に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、いずれかと一致する場合には、読み出したタプル検索情報を設定されている送信元タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する(図34(b)参照)。   On the other hand, if the transmission source tuple storage unit identification information has been set, the transmission side transfer unit 22 transfers the transfer destination tuple in which the set transmission source tuple storage unit identification information is stored in the transfer information storage unit 24. It is determined whether or not it matches any of the storage unit identification information, and if it matches any of the storage unit identification information, the read tuple search information is networked to the tuple storage unit 12 corresponding to the set transmission source tuple storage unit identification information. 3 (see FIG. 34B).

上記に説明した送信側転送部22の一例としての動作を、図34(b)を用いて詳細に説明する。まず、自通信装置6が有するタプル記憶部12のタプル検索情報記憶部121からタプル検索情報を読み出し(ステップS351)、転送情報記憶部24から転送先タプル記憶部識別情報を読み出す(ステップS352)。次に、読み出したタプル検索情報に送信元タプル記憶部識別情報が設定されているか否かを判定する(ステップS353)。   The operation as an example of the transmission side transfer unit 22 described above will be described in detail with reference to FIG. First, tuple search information is read from the tuple search information storage unit 121 of the tuple storage unit 12 of the communication device 6 (step S351), and transfer destination tuple storage unit identification information is read from the transfer information storage unit 24 (step S352). Next, it is determined whether or not source tuple storage unit identification information is set in the read tuple search information (step S353).

ステップS353で判定した結果が、送信元タプル記憶部識別情報が設定されていなければ、読み出したタプル検索情報を読み出した転送先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信し(ステップS354)、処理を終了する。一方、ステップS353で判定した結果が、送信元タプル記憶部識別情報が設定されていれば、該設定されている送信元タプル記憶部識別情報が、読み出した転送先タプル記憶部識別情報のいずれかと一致するか否かを判定する(ステップS355)。   If the result of the determination in step S353 is that the transmission source tuple storage unit identification information is not set, the tuple storage unit 12 corresponding to the transfer destination tuple storage unit identification information from which the read tuple search information has been read is sent via the network 3. Transmit (step S354), and the process ends. On the other hand, if the result of the determination in step S353 is that the transmission source tuple storage unit identification information is set, the set transmission source tuple storage unit identification information is one of the read transfer destination tuple storage unit identification information. It is determined whether or not they match (step S355).

ステップS355で判定した結果が、いずれかと一致する場合には、読み出したタプル検索情報を設定されている送信元タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信し(ステップS356)、処理を終了する。一方、ステップS355で判定した結果が、いずれとも一致しない場合には、たとえば、エラー処理をして(ステップS357)、処理を終了する。なお、このエラー処理は、たとえば、ワーニングを出力する処理であってもよいし、何もしない処理であってもよい。   If the result determined in step S355 matches any one, the read tuple search information is transmitted to the tuple storage unit 12 corresponding to the set transmission source tuple storage unit identification information via the network 3 (step S356), the process ends. On the other hand, if the result determined in step S355 does not match any, for example, error processing is performed (step S357), and the process is terminated. The error process may be, for example, a process for outputting a warning or a process for performing nothing.

以降においては、複数の通信装置6のうち1つの通信装置6がサーバ装置1であり、サーバ装置1の他の複数の通信装置6が端末装置2であるものとして、第2の実施形態におけるアップロード処理とダウンロード処理とについて説明する。なお、第2の実施形態におけるアップロード処理とダウンロード処理とは、第1の実施形態の説明において、図14を用いて説明したアップロード処理、および、図15を用いて説明したダウンロード処理に対応している。   Hereinafter, it is assumed that one communication device 6 among the plurality of communication devices 6 is the server device 1 and the other plurality of communication devices 6 of the server device 1 are the terminal devices 2. Processing and download processing will be described. The upload process and the download process in the second embodiment correspond to the upload process described with reference to FIG. 14 and the download process described with reference to FIG. 15 in the description of the first embodiment. Yes.

<アップロード処理>
まず、端末装置2からサーバ装置1へ、転送先を固定して、アップロードする場合の構成について説明する。なお、ここでは、端末装置2の転送情報記憶部24には、該当するタプル記憶部12をサーバ装置1のタプル記憶部12とした転送先タプル記憶部識別情報が予め記憶されている。また、端末装置2のタプル検索情報記憶部122には、タプル検索情報が予め記憶されている(図14の符号(1−5)参照)。
<Upload process>
First, the configuration in the case of uploading with the transfer destination fixed from the terminal device 2 to the server device 1 will be described. Here, the transfer information storage unit 24 of the terminal device 2 stores in advance transfer destination tuple storage unit identification information in which the corresponding tuple storage unit 12 is the tuple storage unit 12 of the server device 1. Further, the tuple search information storage unit 122 of the terminal device 2 stores tuple search information in advance (see reference numeral (1-5) in FIG. 14).

まず、たとえば、端末装置2のアプリケーション11が自端末装置2のタプル情報記憶部121にタプル情報を書き込んで記憶する。つまり、端末装置2において、自端末装置2のタプル情報記憶部121にタプル情報が記憶される(図14の符号(2−1)参照)。   First, for example, the application 11 of the terminal device 2 writes and stores the tuple information in the tuple information storage unit 121 of the terminal device 2 itself. That is, in the terminal device 2, the tuple information is stored in the tuple information storage unit 121 of the terminal device 2 (see reference numeral (2-1) in FIG. 14).

次に、端末装置2において、自端末装置2のタプル情報記憶部121にタプル情報が記憶されたことに応じて、まず、自端末装置2のタプル情報抽出部124が、記憶されたタプル情報がタプル検索情報に該当する場合には、記憶されたタプル情報を出力する(図14の符号(2−2)参照)。次に、自端末装置2の送信側転送部22が、該タプル情報を、転送先タプル記憶部識別情報に基づいてネットワーク3を介してサーバ装置1に送信する(図14の符号(2−3)参照)。   Next, in the terminal device 2, in response to the tuple information being stored in the tuple information storage unit 121 of the terminal device 2, the tuple information extraction unit 124 of the terminal device 2 first stores the tuple information. If it corresponds to the tuple search information, the stored tuple information is output (see reference numeral (2-2) in FIG. 14). Next, the transmission side transfer unit 22 of the terminal device 2 transmits the tuple information to the server device 1 via the network 3 based on the transfer destination tuple storage unit identification information (reference numeral (2-3 in FIG. 14)). )reference).

次に、サーバ装置1の受信側転送部23は、ネットワーク3を介して端末装置2から受信したタプル情報を、自サーバ装置1が有するタプル情報記憶部121に記憶する(図14の符号(2−4)参照)。   Next, the receiving side transfer unit 23 of the server device 1 stores the tuple information received from the terminal device 2 via the network 3 in the tuple information storage unit 121 of the server device 1 (reference numeral (2 in FIG. 14). -4)).

以上により、第2の実施形態においても、第1の実施形態と同様に、端末装置2からサーバ装置1へ、転送先をサーバ装置1に固定して、タプル情報をアップロードすることができる。   As described above, also in the second embodiment, as in the first embodiment, the transfer destination can be fixed to the server apparatus 1 from the terminal apparatus 2 to the server apparatus 1 and the tuple information can be uploaded.

<ダウンロード処理>
次に、第2の実施形態での、ダウンロード処理におけるネットワーク分散共有システムの動作について説明する。ここで、端末装置2の転送情報記憶部24には、サーバ装置1のタプル記憶部12を識別するタプル記憶部識別情報が転送先タプル記憶部識別情報として予め記憶されている。また、端末装置2のタプルメタ検索情報記憶部123には、タプルメタ検索情報が予め記憶されている(図15の符号(1−4)参照)。
<Download process>
Next, the operation of the network distributed sharing system in the download process in the second embodiment will be described. Here, in the transfer information storage unit 24 of the terminal device 2, tuple storage unit identification information for identifying the tuple storage unit 12 of the server device 1 is stored in advance as transfer destination tuple storage unit identification information. Further, the tuple meta search information storage unit 123 of the terminal device 2 stores tuple meta search information in advance (see reference numeral (1-4) in FIG. 15).

まず、端末装置2は、自端末装置2のタプル検索情報記憶部122にタプル検索情報が記憶されたことに応じて(図15の符号(3−1)参照)、自端末装置2のタプル検索情報抽出部125が、記憶されたタプル検索情報がタプルメタ検索情報に該当する場合には、記憶されたタプル検索情報を自端末装置2の送信側転送部22に出力する(図15の符号(3−2)参照)。次に、自端末装置2の送信側転送部22が、入力されたタプル検索情報を転送情報記憶部24に記憶されている転送先タプル記憶部識別情報に基づいてネットワーク3を介してサーバ装置1に送信する(図15の符号(3−3)参照)。   First, in response to the tuple search information stored in the tuple search information storage unit 122 of the terminal device 2 (see reference numeral (3-1) in FIG. 15), the terminal device 2 searches for the tuple of the terminal device 2. When the stored tuple search information corresponds to the tuple meta search information, the information extraction unit 125 outputs the stored tuple search information to the transmission side transfer unit 22 of the terminal device 2 (reference numeral (3 in FIG. 15). -2)). Next, the transmission side transfer unit 22 of the terminal device 2 transmits the input tuple search information to the server device 1 via the network 3 based on the transfer destination tuple storage unit identification information stored in the transfer information storage unit 24. (See reference numeral (3-3) in FIG. 15).

次に、サーバ装置1の受信側転送部23が、ネットワーク3を介してタプル検索情報を受信した場合に、受信したタプル検索情報を自サーバ装置1が有するタプル記憶部12に記憶する(図15の符号(3−4)参照)。
このとき、自装置のタプル記憶部12は、自装置の受信側転送部23から入力されたタプル検索情報を、自タプル記憶部12のタプル検索情報記憶部122に記憶されているタプル検索情報とタプル検索情報識別情報に基づいて生成したタプル検索情報識別情報と関連付けて自装置のタプル検索情報記憶部122に記憶するとともに、生成したタプル検索情報識別情報を自装置の受信側転送部23へ出力する。
次に、サーバ装置1の受信側転送部23は、タプル検索情報を受信する場合にネットワーク3あるいはタプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として、自タプル記憶部12から入力されたタプル検索情報識別情報と関連付けて、自サーバ装置1が有する転送情報記憶部24のタプル情報転送先情報記憶部241に記憶する。
Next, when the receiving side transfer unit 23 of the server device 1 receives the tuple search information via the network 3, the received tuple search information is stored in the tuple storage unit 12 of the server device 1 (FIG. 15). (See 3-4).
At this time, the tuple storage unit 12 of the own device uses the tuple search information input from the reception-side transfer unit 23 of the own device as the tuple search information stored in the tuple search information storage unit 122 of the own tuple storage unit 12. In association with the tuple search information identification information generated based on the tuple search information identification information, the tuple search information storage unit 122 of the own device stores the tuple search information identification information, and outputs the generated tuple search information identification information to the receiving side transfer unit 23 of the own device. To do.
Next, when receiving the tuple search information, the receiving side transfer unit 23 of the server device 1 uses the transmission source tuple storage unit identification information obtained from the network 3 or the tuple search information as the transfer destination tuple storage unit identification information. In association with the tuple search information identification information input from the storage unit 12, it is stored in the tuple information transfer destination information storage unit 241 of the transfer information storage unit 24 of the server apparatus 1.

次に、サーバ装置1は、自サーバ装置1のタプル検索情報記憶部122にタプル検索情報が記憶されたことに応じて(図15の符号(3−4)参照)、自サーバ装置1のタプル情報抽出部124が、記憶されたタプル検索情報に該当するタプル情報と該タプル検索情報識別情報とを関連付けて自サーバ装置1の送信側転送部22に出力する(図15の符号(3−6)参照)。   Next, the server device 1 responds to the tuple search information stored in the tuple search information storage unit 122 of the server device 1 (see reference numeral (3-4) in FIG. 15). The information extraction unit 124 associates the tuple information corresponding to the stored tuple search information and the tuple search information identification information, and outputs them to the transmission side transfer unit 22 of the server device 1 (reference numeral (3-6 in FIG. 15). )reference).

あるいは、サーバ装置1は、自サーバ装置1のタプル情報記憶部121にタプル情報が記憶されたことに応じて(図15の符号(3−5)参照)、自サーバ装置1のタプル情報抽出部124が、記憶されたタプル情報がタプル検索情報記憶部122に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、該当したタプル検索情報と関連付けて記憶されているタプル検索情報識別情報をタプル検索情報記憶部122から読み出し、記憶されたタプル情報と読み出したタプル検索情報識別情報とを関連付けて自サーバ装置1の送信側転送部22に出力する(図15の符号(3−6)参照)。   Alternatively, the server device 1 responds to the tuple information being stored in the tuple information storage unit 121 of the server device 1 (see (3-5) in FIG. 15), and the tuple information extraction unit of the server device 1 124, it is determined whether the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit 122. The associated tuple search information identification information is read from the tuple search information storage unit 122, and the stored tuple information and the read tuple search information identification information are associated with each other and output to the transmission side transfer unit 22 of the own server device 1. (Refer to reference numeral (3-6) in FIG. 15).

次に、自サーバ装置1の送信側転送部22が、入力されたタプル検索情報識別情報に基づいて、転送情報記憶部24から転送先タプル記憶部識別情報を読み出し、タプル情報を読み出した転送先タプル記憶部識別情報に基づいて端末装置2にネットワーク3を介して送信する(図15の符号(3−7)参照)。
次に、端末装置2の受信側転送部23が、ネットワーク3を介して受信したタプル情報を、自端末装置2が有するタプル情報記憶部121に記憶する(図15の符号(3−8)参照)。
Next, the transmission side transfer unit 22 of the server device 1 reads the transfer destination tuple storage unit identification information from the transfer information storage unit 24 based on the input tuple search information identification information, and the transfer destination from which the tuple information has been read. Based on the tuple storage unit identification information, the data is transmitted to the terminal device 2 via the network 3 (see reference numeral 3-7 in FIG. 15).
Next, the receiving side transfer unit 23 of the terminal device 2 stores the tuple information received via the network 3 in the tuple information storage unit 121 of the terminal device 2 (see reference numeral (3-8) in FIG. 15). ).

なお、上記説明したアップロード処理において端末装置2のタプル検索情報記憶部122にタプル検索情報を予め記憶する処理(図14の符号(1−5)参照)、およびダウンロード処理において端末装置2のタプルメタ検索情報記憶部123にタプルメタ検索情報を予め記憶する処理(図15の符号(1−4)参照)については、第1の実施形態において、図13を用いて説明した処理と同じ手順で実現できる(図13の符号(1−4)、(1−5)参照)。ただし、第2の実施形態においては、たとえば、端末装置2の中継代理部の起動および再起動時に、自端末装置2の転送情報記憶部24に、サーバ装置1のタプル記憶部12を識別するタプル記憶部識別情報を転送先タプル記憶部識別情報として予め記憶する処理が加わる。   In the upload process described above, the tuple search information storage unit 122 of the terminal device 2 stores the tuple search information in advance (see reference numeral (1-5) in FIG. 14) and the tuple meta search of the terminal device 2 in the download process. The process of storing the tuple meta search information in the information storage unit 123 in advance (see reference numeral (1-4) in FIG. 15) can be realized by the same procedure as the process described with reference to FIG. Reference numerals (1-4) and (1-5) in FIG. 13). However, in the second embodiment, for example, a tuple that identifies the tuple storage unit 12 of the server device 1 in the transfer information storage unit 24 of the terminal device 2 when the relay proxy unit of the terminal device 2 is started and restarted. Processing for storing the storage unit identification information in advance as transfer destination tuple storage unit identification information is added.

また、サーバ装置1が端末装置2からリセット通知を受信した場合は(図13の符号(1−2)参照)、自サーバ装置1の転送先情報記憶部24に記憶されている転送先タプル記憶部識別情報から、該端末装置2のタプル記憶部12に該当する転送先タプル記憶部識別情報を削除する。なお、サーバ装置1は、転送先タプル記憶部識別情報を削除することに応じて、転送先情報記憶部24に記録されているタプル検索情報識別情報のうち、関連づけられた転送先タプル記憶部識別情報がひとつもないタプル検索情報識別情報があれば、該タプル検索情報識別情報を転送先情報記憶部24から削除するとともに、該タプル検索情報識別情報と該関連づけられたタプル検索情報をタプル記憶部12から削除する(図13の符号(1−3)参照)。   When the server device 1 receives a reset notification from the terminal device 2 (see reference numeral (1-2) in FIG. 13), the transfer destination tuple stored in the transfer destination information storage unit 24 of the server device 1 is stored. The transfer destination tuple storage unit identification information corresponding to the tuple storage unit 12 of the terminal device 2 is deleted from the unit identification information. Note that the server apparatus 1 deletes the transfer destination tuple storage unit identification information, and among the tuple search information identification information recorded in the transfer destination information storage unit 24, the associated transfer destination tuple storage unit identification. If there is any tuple search information identification information having no information, the tuple search information identification information is deleted from the transfer destination information storage unit 24, and the tuple search information associated with the tuple search information identification information is deleted from the tuple storage unit. 12 (see reference numeral (1-3) in FIG. 13).

上記説明した第2の実施形態においては、Tuple Spaceを用いた通信を実行するネットワーク分散共有システムにおいて、複数の通信装置のそれぞれが、タプル記憶部と中継代理部とを有し、この中継代理部が、転送先となるタプル記憶部のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する転送情報記憶部と、自通信装置が有するタプル記憶部からタプル情報を読み出し、該読み出したタプル情報を、転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部にネットワークを介して送信する送信側転送部と、ネットワークを介して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送部と、を有することにより、複数の通信装置で動作するアプリケーションにとっては、複数の通信装置上のタプル記憶部をネットワークにおいて1つのタプル記憶部として利用することが可能となるとともに、通信装置のタプル記憶部から中継代理部が読み出したタプル情報のみが、中継代理部により他の通信装置に転送されるため、上記説明した第1の実施形態と同様に、通信装置間の通信量を減じることが出来るという効果を奏する。   In the second embodiment described above, in the network distributed sharing system that performs communication using Tuple Space, each of the plurality of communication devices has a tuple storage unit and a relay proxy unit, and this relay proxy unit Read out the tuple information from the transfer information storage unit that stores the transfer destination tuple storage unit identification information that is the tuple storage unit identification information of the tuple storage unit that is the transfer destination, and the tuple storage unit that the communication device has. The transmission side transfer unit that transmits the tuple information to the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit, and the tuple information received through the network For the application that operates on a plurality of communication devices by having a receiving side transfer unit that stores in a tuple storage unit included in Tuple storage units on a number of communication devices can be used as one tuple storage unit in the network, and only the tuple information read by the relay proxy unit from the tuple storage unit of the communication device Therefore, as in the first embodiment described above, the amount of communication between the communication devices can be reduced.

なお、更に、第2の実施形態においては、中継代理部の送信側転送部が、タプル記憶部から読み出したタプル情報を、転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部にネットワークを介して送信するため、タプル情報に対して送信先または送信元を示す情報を追加する必要がないという効果を奏する。また、転送先タプル記憶部識別情報として、たとえば、複数のタプル記憶部識別情報を設定することにより、複数のタプル記憶部識別情報に該当するタプル記憶部へのマルチキャストやエニーキャストが簡易に構成可能となる効果を奏する。   Further, in the second embodiment, the tuple corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit by the transmission side transfer unit of the relay proxy unit reads the tuple information read from the tuple storage unit. Since it transmits to a memory | storage part via a network, there exists an effect that it is not necessary to add the information which shows a transmission destination or a transmission origin with respect to tuple information. In addition, for example, by setting a plurality of tuple storage unit identification information as the transfer destination tuple storage unit identification information, it is possible to easily configure multicast or anycast to the tuple storage unit corresponding to the plurality of tuple storage unit identification information. The effect which becomes.

また、タプル検索情報とタプル情報とのマッチングでは、転送先タプル記憶部識別情報を表すfrom要素およびto要素はマッチング対象外になるため、接続される無数の端末装置から、マッチング対象要素が同一であるタプル検索情報を受信しても、それらに対応するタプル検索情報を重複して記憶する必要がないため、タプル検索情報を記憶するタプル記憶部の容量が小さくなるという効果、および、タプル情報とのマッチングを行なう処理効率が向上するという効果を奏する。   Also, in matching between tuple search information and tuple information, the from element and to element representing the transfer destination tuple storage unit identification information are excluded from the matching target, so the matching target element is the same from an infinite number of connected terminal devices. Even when certain tuple search information is received, it is not necessary to store the tuple search information corresponding to the tuple search information, so that the capacity of the tuple storage unit for storing the tuple search information is reduced, and the tuple information The processing efficiency of performing the matching is improved.

また、図15を用いて説明した第2の実施形態でのダウンロード処理においては、図15を用いて説明した第1の実施形態でのダウンロード処理と異なり、図15の符号(3−4)〜(3−6)の処理において、from要素およびto要素はマッチング対象外となることから、図15の符号(3−1)〜(3−3)の処理を実行する第1の端末装置2から書込まれたタプル検索情報には、サーバ装置1のアプリケーション11が書込んだタプル情報だけでなく、図14の符号(2−1)〜(2−3)の処理を実行する第2の端末装置2から書込まれたタプル情報がマッチすることもある。これにより、サーバ装置1を介して、第2の端末装置2と第1の端末装置2との間の通信も可能となる効果を奏する。   In addition, in the download process in the second embodiment described with reference to FIG. 15, unlike the download process in the first embodiment described with reference to FIG. 15, reference numerals (3-4) to (3-4) to FIG. In the process of (3-6), since the from element and the to element are excluded from matching targets, the first terminal device 2 that executes the processes of symbols (3-1) to (3-3) in FIG. The written tuple search information includes not only the tuple information written by the application 11 of the server apparatus 1 but also the second terminal that executes the processes of the codes (2-1) to (2-3) in FIG. Tuple information written from the device 2 may be matched. Thereby, there is an effect that communication between the second terminal device 2 and the first terminal device 2 is also possible via the server device 1.

また、サーバ装置1は、自サーバ装置1のタプル検索情報記憶部122にタプル検索情報が記憶されたことに応じて(図15の符号(3−4)参照)、または自サーバ装置1のタプル情報記憶部121にタプル検索情報が記憶されたことに応じて(図14の符号(2−4)参照)、上記に説明した動作により第2の端末装置2への送信を開始するため(図15の符号(3−6)〜(3−7)参照)、サーバ装置1におけるアプリケーションを介することなく、第1の端末装置2と第2の端末装置2との間の通信も可能となる効果を奏する。   Further, the server device 1 responds to the tuple search information stored in the tuple search information storage unit 122 of the server device 1 (see (3-4) in FIG. 15) or the tuple of the server device 1 In response to the tuple search information stored in the information storage unit 121 (see reference numeral (2-4) in FIG. 14), transmission to the second terminal apparatus 2 is started by the operation described above (see FIG. 15 (see reference numerals (3-6) to (3-7)), the communication between the first terminal device 2 and the second terminal device 2 is also possible without using the application in the server device 1. Play.

更に、図15を用いて説明した第2の実施形態でのダウンロード処理において、サーバ装置1の送信側転送部22が、図26を用いて説明した第1の実施形態による転送方法と第2の実施形態による転送方法との、両方の転送方法を併用できる転送方法の構成、つまり、ハイブリッド構成を有するようにすることも可能である。   Further, in the download process in the second embodiment described with reference to FIG. 15, the transmission side transfer unit 22 of the server device 1 performs the transfer method and the second in accordance with the first embodiment described with reference to FIG. 26. It is also possible to have a transfer method configuration that can use both transfer methods in combination with the transfer method according to the embodiment, that is, a hybrid configuration.

なお、この場合、このサーバ装置1と通信する端末装置2の一部または全ての端末装置2は、第1の実施形態による端末装置2である。この第1の実施形態による端末装置2においては、タプル記憶部12に記憶されているタプル情報には、少なくとも送信先タプル記憶部識別情報が含まれている。また、中継代理部13の送信側転送部22は、自通信装置が有するタプル記憶部12からタプル情報を読み出し、該読み出したタプル情報を、該読み出したタプル情報に含まれている送信先タプル記憶部識別情報に該当するタプル記憶部12にネットワーク3を介して送信する。   In this case, a part or all of the terminal devices 2 that communicate with the server device 1 are the terminal devices 2 according to the first embodiment. In the terminal device 2 according to the first embodiment, the tuple information stored in the tuple storage unit 12 includes at least destination tuple storage unit identification information. Further, the transmission side transfer unit 22 of the relay proxy unit 13 reads the tuple information from the tuple storage unit 12 included in the communication apparatus, and stores the read tuple information in the destination tuple storage included in the read tuple information. The data is transmitted to the tuple storage unit 12 corresponding to the part identification information via the network 3.

上記により、このサーバ装置1は、自アプリケーション11に対して、第1の実施形態と第2の実施形態とによる両方の転送形態を提供することが可能となり、サーバ装置1が収容する端末装置2として、第1の実施形態と第2の実施形態との両方の端末装置2が収容可能である。また、このサーバ装置1の自アプリケーション11が、ユニキャストをする場合には第1の実施形態による送信先タプル記憶部識別情報を指定した通信方法を用い、マルチキャストやエニーキャストをする場合には第2の実施形態による送信先タプル記憶部識別情報を指定しない通信方法を用いることなども可能である。   As described above, the server device 1 can provide both the transfer modes according to the first embodiment and the second embodiment to the self-application 11, and the terminal device 2 accommodated in the server device 1. As described above, both the terminal devices 2 of the first embodiment and the second embodiment can be accommodated. In addition, when the application 11 of the server device 1 performs unicast, the communication method specifying the destination tuple storage unit identification information according to the first embodiment is used. When multicast or anycast is used, It is also possible to use a communication method that does not specify the destination tuple storage unit identification information according to the second embodiment.

また、これまで説明してきたように、サーバ装置1の転送情報記憶部24には、タプル検索情報を受信した端末装置2に対応する転送先タプル記憶部識別情報が記録されていることから、サーバ装置1で、たとえばサーバ装置1の保守管理用端末装置などから、該転送先タプル記憶部識別情報を参照することにより、ネットワーク3を介してサーバ装置1に接続された端末装置2の情報を取得することが可能になるなどの効果を奏する。また、これにより、新たに設置した端末装置2が正しく接続されているか否かを確認することが可能になる。さらに、転送先タプル記憶部識別情報に関連づけられたタプル検索情報識別情報に基づいて、該当するタプル検索情報を参照することにより、そのタプル要素から、たとえば該端末装置2で動作しているアプリケーション11に関する情報もサーバ装置1で確認することが可能になる。   As described above, the transfer information storage unit 24 of the server device 1 stores transfer destination tuple storage unit identification information corresponding to the terminal device 2 that has received the tuple search information. The device 1 obtains information on the terminal device 2 connected to the server device 1 via the network 3 by referring to the transfer destination tuple storage unit identification information from, for example, the maintenance management terminal device of the server device 1. There are effects such as being able to do. This also makes it possible to check whether or not the newly installed terminal device 2 is correctly connected. Further, by referring to the corresponding tuple search information based on the tuple search information identification information associated with the transfer destination tuple storage unit identification information, the application 11 operating on the terminal device 2 is detected from the tuple element, for example. The server device 1 can also confirm information regarding the above.

次に、上述した接続NW3に適用されうる広域ユビキタスNW(以下、広域ユビキタスネットワーク)について説明する。なお、広域ユビキタスネットワークについては、斎藤 洋、梅比良 正弘、守倉 正博、「広域ユビキタスネットワークインフラストラクチャに向けた考察」、電子情報通信学会論文誌 2005/11 Vol.J88-B No.11等に記載されている。   Next, a wide area ubiquitous NW (hereinafter, wide area ubiquitous network) that can be applied to the connection NW3 described above will be described. As for wide area ubiquitous network, Hiroshi Saito, Masahiro Umehira, Masahiro Morikura, “Discussion for Wide Area Ubiquitous Network Infrastructure”, IEICE Transactions 2005/11 Vol. J88-B No. 11 etc.

広域ユビキタスネットワークは、携帯電話などの端末を携帯することを前提とした端末携帯型サービス、及び、人や物にセンサなどがくっついている環境を前提とした環境埋込型サービスの2つに大別される。前者では、人口普及率という点で成熟期にある携帯電話がベースになっているが、携帯電話をゲートウェイとして超小型センサなどを収容することも想定され、実際にはこれらの境界は明確ではない。   Wide-area ubiquitous networks are broadly divided into two types: mobile terminal services that are assumed to carry mobile phones and other terminals, and embedded environment services that are based on an environment where sensors and other objects are attached to people and objects. Separated. The former is based on mobile phones that are mature in terms of population penetration, but it is also assumed that mobile phones will be used as gateways to accommodate ultra-small sensors, and in reality these boundaries are not clear. .

図35は、現在想定されているユビキタスネットワークの構成を示す図である。
広域なネットワークインフラから見て、端末収容形態は、直接収容(直収)とゲートウェイを介しての収容の二つに分かれ、さらに後者はゲートウェイから先のネットワーク(「ローカルネットワーク」と記載)の形態で、ゲートウェイの端末収容とゲートウェイのネットワーク収容に分かれる。ゲートウェイの端末収容は、ローカルネットワーク内端末がゲートウェイとのみ通信する形態であり、ゲートウェイのネットワーク収容はローカルネットワーク内端末がローカルネットワーク内の他端末とも通信する形態である。
FIG. 35 is a diagram illustrating a configuration of a currently assumed ubiquitous network.
From the viewpoint of wide-area network infrastructure, the terminal accommodation form is divided into two, direct accommodation (direct acquisition) and accommodation via a gateway, and the latter is the form of the network (described as “local network”) beyond the gateway. Thus, it is divided into gateway accommodation and gateway network accommodation. The terminal accommodation in the gateway is a form in which the terminal in the local network communicates only with the gateway, and the network accommodation in the gateway is a form in which the terminal in the local network communicates with other terminals in the local network.

直収の場合、端末はエンドツーエンドの通信機能やネットワーク上のユニークなアドレスが必要となる。ゲートウェイ収容の場合、端末はゲートウェイとのみ(ゲートウェイの端末収容)、あるいは、ゲートウェイとローカルネットワーク内の他端末(ゲートウェイの
ネットワーク収容)と通信できればよい。したがって、ローカルなアドレスやローカルネットワーク内で好適な特殊なプロトコルなどの適用が容易である。ネットワーク収容と端末収容の差は、ローカルネットワーク内で利用するプロトコルに依存する。ネットワーク収容のためには、Bluetooth,ZigBeeなどのマルチホップを利用するかルーチングプロトコルを導入する必要がある。端末収容の方が簡単であるが、無線リンクを用いる場合、ひとつのローカルネットワークで物理的に広域エリアをカバーするにはネットワーク収容が必要である。
直収の場合のネットワークインフラは、現状では、携帯電話網が最有力である。ゲートウェイ収容の場合のネットワークインフラは、インターネットアクセスネットワークとインターネット・IP網、あるいは、携帯電話網と想定される。
In the case of direct acquisition, the terminal needs an end-to-end communication function and a unique address on the network. In the case of gateway accommodation, the terminal only needs to be able to communicate with only the gateway (gateway terminal accommodation) or with the gateway and other terminals in the local network (gateway network accommodation). Therefore, it is easy to apply a local address or a special protocol suitable for the local network. The difference between network accommodation and terminal accommodation depends on the protocol used in the local network. In order to accommodate the network, it is necessary to use a multi-hop such as Bluetooth or ZigBee or introduce a routing protocol. Although it is easier to accommodate terminals, when a wireless link is used, network accommodation is necessary to physically cover a wide area with one local network.
At present, the mobile phone network is the most powerful network infrastructure for direct acquisition. The network infrastructure in the case of accommodating a gateway is assumed to be an Internet access network and an Internet / IP network or a mobile phone network.

広域ユビキタスネットワークでは、上述した現在想定されているユビキタスネットワークに対し、端末数に関する「スケール性」、物理的に広い範囲をカバーできる「広域性」、移動端末に対応できる「移動管理性」、端末数が多いことにより総端末コストの観点から機能が低く演算能力やメモリ容量に限界がある低能力端末が想定されるため、それらを収容可能とする「低能力端末のサポート」、多くの端末がネットワークに接続されるためネットワークコストを抑える「経済性」を備えることが必要となる。そのため、広域ユビキタスネットワークは、図36に示されるような複合的なネットワークの集合により実現される。   In the wide area ubiquitous network, compared to the currently assumed ubiquitous network described above, the “scalability” regarding the number of terminals, the “wide area” capable of covering a physically wide range, the “mobility management” corresponding to the mobile terminal, the terminal Because of the large number of terminals, low-capacity terminals with low functionality and limited computing capacity and memory capacity are assumed from the viewpoint of total terminal cost, so “low-capacity terminal support” that can accommodate them, many terminals Since it is connected to the network, it is necessary to provide "economics" that reduce network costs. Therefore, the wide area ubiquitous network is realized by a complex network set as shown in FIG.

次に、広域ユビキタスネットワークシステムの具体的な実現例を説明する。
図37は、広域ユビキタスネットワークシステムの構成例を示す。同図において、広域ユビキタスネットワークシステムは、無線端末101と、該無線端末101との無線通信が可能なゲートウェイノード(以下、GWノードと記す。)102〜105と、無線端末101の位置情報を保持する位置登録データベース109とを有する移動体通信ネットワークと、無線端末101からのメッセージ送信先としてのパーソナルコンピュータ(以下、PCと記す。)1111、1112が接続されるインターネット110とがインターネットゲートウェイ(以下、インターネットGWと記す。)113を介して接続されてなるネットワークシステムである。
Next, a specific implementation example of the wide area ubiquitous network system will be described.
FIG. 37 shows a configuration example of a wide area ubiquitous network system. In the figure, the wide area ubiquitous network system holds a wireless terminal 101, gateway nodes (hereinafter referred to as GW nodes) 102 to 105 capable of wireless communication with the wireless terminal 101, and position information of the wireless terminal 101. A mobile communication network having a location registration database 109 and a personal computer (hereinafter referred to as a PC) 1111 and 1112 as message destinations from the wireless terminal 101 are connected to an Internet gateway (hereinafter referred to as a PC). This is a network system connected via the Internet GW.

また、該ネットワークシステムは、中継ノード106、107と、無線端末101ごとにあらかじめ定めた送信先である端末としてのPC101のアドレスを保持する登録管理システム108を有している。
無線端末101と、PC1111またはPC1112との間では、概略、次のように通信が行われる。
無線端末101からPC1111、またはPC1112へメッセージを送信する際には、GWノード102〜105のいずれかは、無線端末101より無線フレームを受信すると、登録管理システム108にアクセスして、無線端末ごとにメッセージの送信先の端末アドレスを特定し、該特定した送信先の端末であるPC1111、またはPC1112宛にインターネットGW113を介してメッセージを送信する。
In addition, the network system includes relay nodes 106 and 107 and a registration management system 108 that holds the address of the PC 101 as a terminal that is a transmission destination determined in advance for each wireless terminal 101.
Communication between the wireless terminal 101 and the PC 1111 or the PC 1112 is roughly performed as follows.
When transmitting a message from the wireless terminal 101 to the PC 1111 or the PC 1112, when any of the GW nodes 102 to 105 receives the wireless frame from the wireless terminal 101, the GW nodes 102 to 105 access the registration management system 108 for each wireless terminal. The terminal address of the message transmission destination is specified, and the message is transmitted to the PC 1111 or PC 1112 which is the specified transmission destination terminal via the Internet GW 113.

また、PC1111、またはPC1112より無線端末101へメッセージを送信する際には、インターネットGW113は、位置登録データベース109にアクセスし、無線端末101のIDから位置情報を取得し、該取得した位置情報から該当するGWノード102〜105へメッセージを転送し、該ゲートウェイノードは、前記無線端末へ前記メッセージを転送する。   Further, when a message is transmitted from the PC 1111 or the PC 1112 to the wireless terminal 101, the Internet GW 113 accesses the location registration database 109, acquires location information from the ID of the wireless terminal 101, and applies the corresponding location information from the acquired location information. The gateway node transfers the message to the wireless terminal.

無線端末101は、GWノード102〜105との間で無線通信が可能である。GWノード102〜105、登録管理システム108及び位置登録データベース109は、中継ノード106、107を介して相互に接続しており、通信が可能である。無線端末101、GWノード102〜105、登録管理システム108、位置登録データベース109及び中継ノード106、107は移動体通信ネットワークを構成している。   The wireless terminal 101 can perform wireless communication with the GW nodes 102 to 105. The GW nodes 102 to 105, the registration management system 108, and the location registration database 109 are connected to each other via the relay nodes 106 and 107, and can communicate with each other. The wireless terminal 101, the GW nodes 102 to 105, the registration management system 108, the location registration database 109, and the relay nodes 106 and 107 constitute a mobile communication network.

また、移動体通信ネットワークは、インターネットGW113を介してインターネット110とも接続しており、インターネット110に接続するパーソナルコンピュータ(PC)1111、1112との通信も可能である。
ここでは、GWノード102〜105、中継ノード106、107、インターネットGW113は、すべてIPアドレスをもち、インターネット110を介してPC1111,1112と通信可能としている。
The mobile communication network is also connected to the Internet 110 via the Internet GW 113 and can communicate with personal computers (PCs) 1111 and 1112 connected to the Internet 110.
Here, the GW nodes 102 to 105, the relay nodes 106 and 107, and the Internet GW 113 all have IP addresses and can communicate with the PCs 1111 and 1112 via the Internet 110.

無線端末101は、そのメッセージ送信先をあらかじめ定め、登録管理システム108に登録しておく。登録管理システム108は、図38に示す{無線端末ID、相手先アドレス}の組を記憶する。ここでは、一例として無線端末101の送信先をPC1111とする。また、無線端末101は、移動時に位置登録が必要となる。   The wireless terminal 101 determines the message transmission destination in advance and registers it in the registration management system 108. The registration management system 108 stores a set of {wireless terminal ID, partner address} shown in FIG. Here, the transmission destination of the wireless terminal 101 is assumed to be the PC 1111 as an example. Also, the wireless terminal 101 needs to register its location when moving.

各GWノード102〜105は、ページングエリア番号を無線報知し、無線端末101は、自分の保持するページングエリア番号と異なる番号を受信し、在圏エリアの変更を認識する。在圏エリアが変わると、無線端末101は、(1)自分の保持するページングエリア番号を更新し、(2)GWノード・中継ノードを介して、自分の在圏するページングエリア番号(在圏エリア番号)を、位置登録データベース109に通知する。位置登録データベース109は、位置情報として図39に示す{無線端末ID、在圏エリア番号}の組を記憶する。   Each of the GW nodes 102 to 105 wirelessly broadcasts the paging area number, and the wireless terminal 101 receives a number different from the paging area number held by itself and recognizes the change of the area in which it is located. When the service area changes, the wireless terminal 101 (1) updates the paging area number held by itself, and (2) the paging area number (service area) that the user has visited via the GW node / relay node. Number) is notified to the location registration database 109. The location registration database 109 stores a set of {wireless terminal ID, area number} shown in FIG. 39 as location information.

次に、無線端末101からの情報送信の処理について説明する。無線端末101は、所定の起動条件(例えば、一定時間ごと、センシングしていたセンサ値がー定値を超えた場合など)を満たすと、あらかじめ定められた通信相手(例えば、PC1111)に対して、自IDとセンシング情報をメッセージとして無線フレームに入れ、送信する。   Next, information transmission processing from the wireless terminal 101 will be described. When the wireless terminal 101 satisfies a predetermined activation condition (for example, when the sensor value sensed at a certain time exceeds a fixed value), a predetermined communication partner (for example, the PC 1111) It puts its own ID and sensing information in a radio frame as a message and transmits it.

GWノード102〜105は、自エリア内に在圏すると推定される無線端末のIDとその相手先アドレス、参照時刻の組(在圏端末リスト、と呼ぶ)を保持する(図40)。GWノード102〜105は、上記無線フレームを受信し、受信メッセージ中の無線端末IDが在圏端末リストにあるか、チェックする。なければ、登録管理システム108にアクセスし、当該無線端末IDに対する相手先アドレスを照会する。(照会しても該当端末がない場合、不正端末であるので、受信したメッセージを廃棄する。)   The GW nodes 102 to 105 hold a set (referred to as a visited terminal list) of an ID of a wireless terminal estimated to be located in the area, its destination address, and a reference time (FIG. 40). The GW nodes 102 to 105 receive the wireless frame, and check whether the wireless terminal ID in the received message is in the visited terminal list. If not, the registration management system 108 is accessed, and the destination address for the wireless terminal ID is inquired. (If there is no corresponding terminal even if the inquiry is made, it is an unauthorized terminal and the received message is discarded.)

そして、現在時刻を参照時刻とし、無線端末IDと照会して得た相手先アドレスの組を在圏端末リストに加える。(これにより、在圏エリア変更なしの場合、登録管理システム108ヘの照会なしに、相手先アドレスを把握できる。)
在圏端末リストに、もともとあった場合は、参照時刻を現在時刻に更新して保持する。
Then, the current time is set as a reference time, and a pair of destination addresses obtained by referring to the wireless terminal ID is added to the in-zone terminal list. (Thus, when there is no area change, the destination address can be grasped without referring to the registration management system 108.)
If the terminal list originally exists, the reference time is updated to the current time and held.

こうして得た相手先アドレスを着アドレスにし、発アドレスをGWノードアドレスとし、メッセージをペイロードに入れたTCP/IPパケットにより、相手先に送る。このとき、メッセージは保持する。
上記TCP/IPパケットを受信したPCは、メッセージを取り出し、GWノードにACKを返送する。上記ACKを受信したGWノードは、IPアドレスから、対応する保持しているメッセージを特定し、それを消去する。
The destination address thus obtained is set as the destination address, the source address is set as the GW node address, and the message is sent to the destination by the TCP / IP packet in the payload. At this time, the message is retained.
The PC that has received the TCP / IP packet extracts the message and returns an ACK to the GW node. The GW node that has received the ACK specifies the corresponding retained message from the IP address and deletes it.

また、在圏端末リストの参照時刻が、現在時刻からあらかじめ定められたタイムアウトとなる時点より、古くなった場合、当該{無線端末のIDとその相手先アドレス、参照時刻の組}を削除する。   Further, when the reference time of the in-zone terminal list becomes older than the time point that is predetermined time-out from the current time, the {set of the wireless terminal ID and its destination address, reference time} is deleted.

なお、図37のネットワークの無線端末101を本実施形態のWTu5およびTE2として、PC1111、1112をIP-TE1として、中継ノード107、106を広域ユビキタスNW3として、インターネットGW113をIP-GW4として、考えることができる。   Note that the wireless terminal 101 in the network of FIG. 37 is considered as WTU5 and TE2 of this embodiment, the PCs 1111 and 1112 are IP-TE1, the relay nodes 107 and 106 are wide area ubiquitous NW3, and the Internet GW113 is IP-GW4. Can do.

なお、図1のuTupleSpace12、特に図7のIP-TE uTupleSpace12における記憶部は、ハードディスク装置や光磁気ディスク装置、フラッシュメモリ等の不揮発性のメモリや、CD-ROM等の読み出しのみが可能な記憶媒体、RAM(Random Access Memory)のような揮発性のメモリ、あるいはこれらの組み合わせにより構成されるものとする   The storage unit in the uTupleSpace 12 in FIG. 1, particularly the IP-TE uTupleSpace 12 in FIG. 7, is a non-volatile memory such as a hard disk device, a magneto-optical disk device, or a flash memory, or a storage medium that can only be read from a CD-ROM or the like. , Volatile memory such as RAM (Random Access Memory), or a combination thereof

また、図1におけるRelayAgent13は、は専用のハードウェアにより実現されるものであってもよく、また、メモリおよびマイクロプロセッサにより実現させるものであってもよい。   The RelayAgent 13 in FIG. 1 may be realized by dedicated hardware, or may be realized by a memory and a microprocessor.

なお、この図1におけるRelayAgent13は、専用のハードウェアにより実現されるものであってもよく、また、このRelayAgent13はメモリおよびCPU(中央演算装置)により構成され、RelayAgent13の機能を実現するためのプログラムをメモリにロードして実行することによりその機能を実現させるものであってもよい。   The RelayAgent 13 in FIG. 1 may be realized by dedicated hardware, and the RelayAgent 13 is configured by a memory and a CPU (central processing unit), and a program for realizing the functions of the RelayAgent 13 The function may be realized by loading the program into a memory and executing it.

また、図1におけるRelayAgent13の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりRelayAgent13の機能を実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。   Further, the program for realizing the function of RelayAgent 13 in FIG. 1 is recorded on a computer-readable recording medium, and the program recorded on this recording medium is read into the computer system and executed to execute the function of RelayAgent 13. You may make it do. Here, the “computer system” includes an OS and hardware such as peripheral devices.

また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a storage device such as a hard disk built in the computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design and the like within a scope not departing from the gist of the present invention.

この発明の一実施形態によるネットワーク分散共有システムの構成を示すブロック図である。It is a block diagram which shows the structure of the network distributed sharing system by one Embodiment of this invention. 図1のネットワーク分散共有システムの方式1によるデータ転送方式を説明する動作図である。It is an operation | movement figure explaining the data transfer system by the system 1 of the network distributed sharing system of FIG. 図1のネットワーク分散共有システムの方式2-1によるデータ転送方式を説明する動作図である。It is an operation | movement diagram explaining the data transfer system by the system 2-1 of the network distributed sharing system of FIG. 図1のネットワーク分散共有システムの方式2-2によるデータ転送方式を説明する動作図である。It is an operation | movement figure explaining the data transfer system by the system 2-2 of the network distributed sharing system of FIG. Tupleの分類を説明する説明図である。It is explanatory drawing explaining the classification | category of Tuple. Tupleの構成要素を説明する説明図である。It is explanatory drawing explaining the component of Tuple. 広域ユビキタスネットワークに適応した場合のネットワーク分散共有システムの構成を示すブロック図である。It is a block diagram which shows the structure of the network distributed sharing system at the time of adapting to a wide area ubiquitous network. 通信端末の構成を示すブロック図である。It is a block diagram which shows the structure of a communication terminal. 図8の通信端末の起動時における動作を説明する動作図である。It is an operation | movement diagram explaining the operation | movement at the time of starting of the communication terminal of FIG. 図8の通信端末のリセット時における動作を説明する動作図である。It is an operation | movement diagram explaining the operation | movement at the time of reset of the communication terminal of FIG. 図8の通信端末のアップロード時における動作を説明する動作図である。It is an operation | movement diagram explaining the operation | movement at the time of upload of the communication terminal of FIG. 図8の通信端末のダウンロード時における動作を説明する動作図である。It is an operation | movement diagram explaining the operation | movement at the time of download of the communication terminal of FIG. 図7のネットワーク分散共有システムの起動時またはリセット時における動作を説明する動作図である。It is an operation | movement diagram explaining the operation | movement at the time of starting or reset of the network distributed sharing system of FIG. 図7のネットワーク分散共有システムのアップロード時における動作を説明する動作図である。It is an operation | movement figure explaining the operation | movement at the time of upload of the network distributed sharing system of FIG. 図7のネットワーク分散共有システムのダウンロード時における動作を説明する動作図である。It is an operation | movement figure explaining the operation | movement at the time of download of the network distributed sharing system of FIG. 図13におけるTupleのフィールドの情報を詳細に説明する説明図である。It is explanatory drawing explaining the information of the field of Tuple in FIG. 13 in detail. 図14におけるTupleのフィールドの情報を詳細に説明する説明図であるIt is explanatory drawing explaining the information of the field of Tuple in FIG. 14 in detail. 図15におけるTupleのフィールドの情報を詳細に説明する説明図であるIt is explanatory drawing explaining the information of the field of Tuple in FIG. 15 in detail. 広域ユビキタスNW3におけるヘッダ情報を説明する説明図である。It is explanatory drawing explaining the header information in wide area ubiquitous NW3. 第2の実施形態における中継代理部の構成を示すブロック図である。It is a block diagram which shows the structure of the relay proxy part in 2nd Embodiment. タプル記憶部の第1の構成を示すブロック図である。It is a block diagram which shows the 1st structure of a tuple memory | storage part. タプル記憶部の第2の構成を示すブロック図である。It is a block diagram which shows the 2nd structure of a tuple memory | storage part. タプル検索情報識別情報を用いた転送を実行する中継代理部とタプル記憶部との構成を示すブロック図その1である。FIG. 3 is a first block diagram illustrating a configuration of a relay proxy unit and a tuple storage unit that perform transfer using tuple search information identification information. タプル検索情報識別情報を用いた転送を実行する中継代理部とタプル記憶部との構成を示すブロック図その2である。FIG. 3 is a second block diagram illustrating configurations of a relay proxy unit and a tuple storage unit that perform transfer using tuple search information identification information. タプル検索情報識別情報とタプル情報とを関連づけて送信側転送部に出力する場合のタプル情報抽出部の構成を示すブロック図である。It is a block diagram which shows the structure of the tuple information extraction part in the case of associating tuple search information identification information and tuple information, and outputting to a transmission side transfer part. 第1の実施形態と第2の実施形態との両方の方法を併用できる転送方法を説明する説明図である。It is explanatory drawing explaining the transfer method which can use both the method of 1st Embodiment and 2nd Embodiment together. タプルメタ検索情報によるタプル検索情報を抽出するタプル記憶部の構成を示すブロック図である。It is a block diagram which shows the structure of the tuple memory | storage part which extracts the tuple search information by a tuple meta search information. 図27に対応する受信側の構成を示すブロック図である。It is a block diagram which shows the structure of the receiving side corresponding to FIG. タプル検索情報識別情報と転送先タプル記憶部識別情報とを関連付けて記憶する構成を示すブロック図である。It is a block diagram which shows the structure which links | relates and memorize | stores tuple search information identification information and transfer destination tuple storage part identification information. 図29のタプル検索情報識別情報を生成する構成を示すブロック図である。It is a block diagram which shows the structure which produces | generates the tuple search information identification information of FIG. 図30のタプル検索情報識別情報生成部の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement of the tuple search information identification information generation part of FIG. タプルメタ検索情報識別情報を用いたタプル検索情報の転送を実行する中継代理部とタプル記憶部との構成を示すブロック図その1である。FIG. 3 is a first block diagram illustrating configurations of a relay proxy unit and a tuple storage unit that execute transfer of tuple search information using tuple meta search information identification information. タプルメタ検索情報識別情報を用いたタプル検索情報の転送を実行する中継代理部とタプル記憶部との構成を示すブロック図その2である。FIG. 3 is a second block diagram illustrating configurations of a relay proxy unit and a tuple storage unit that execute transfer of tuple search information using tuple meta search information identification information. 第1の実施形態と第2の実施形態との両方の方法を併用できる転送方法を説明する説明図である。It is explanatory drawing explaining the transfer method which can use both the method of 1st Embodiment and 2nd Embodiment together. 現在想定されているユビキタスネットワークを示す図である。It is a figure which shows the ubiquitous network currently assumed. 広域ユビキタスネットワークインフラストラクチャを示す図である。It is a figure which shows wide area ubiquitous network infrastructure. 広域ユビキタスネットワークの構成例を示す図である。It is a figure which shows the structural example of a wide area ubiquitous network. 図37に示したネットワークシステムにおける登録管理システムの記憶内容を示す説明図である。It is explanatory drawing which shows the memory content of the registration management system in the network system shown in FIG. 図37に示したネットワークシステムにおける位置登録データベースの記憶内容を示す説明図。Explanatory drawing which shows the memory content of the location registration database in the network system shown in FIG. 図37に示したネットワークシステムにおけるGWノードの記憶内容を示す説明図。Explanatory drawing which shows the memory content of the GW node in the network system shown in FIG.

符号の説明Explanation of symbols

1 通信端末、IP-TE
2 通信端末、TE
3 接続NW、ネットワーク
6 通信装置
11 アプリケーション、TEアプリケーション、IP-TEアプリケーション
12 uTupleSpace、TE uTupleSpace、IP-TE uTupleSpace、タプル記憶部
13 RelayAgent、TE RelayAgent、IP-TE RelayAgent、中継代理部
22 送信側転送部
23 受信側転送部
24 転送情報記憶部
101 無線端末
102〜105 GWノード
106、107 中継ノード
108 登録管理システム
109 位置登録データベース
110 インターネット
113 インターネットGW
121 タプル情報記憶部
122 タプル検索情報記憶部
123 タプルメタ検索情報記憶部
124 タプル情報抽出部
125 タプル検索情報抽出部
241 タプル情報転送先情報記憶部
242 タプル情報転送先情報抽出部
243 タプル検索情報識別情報生成部
1111、1112 PC
1 Communication terminal, IP-TE
2 Communication terminal, TE
3 Connection NW, Network 6 Communication device 11 Application, TE application, IP-TE application 12 uTupleSpace, TE uTupleSpace, IP-TE uTupleSpace, Tuple storage unit 13 RelayAgent, TE RelayAgent, IP-TE RelayAgent, Relay proxy unit 22 Sending side transfer Unit 23 receiving side transfer unit 24 transfer information storage unit 101 wireless terminal 102 to 105 GW node 106, 107 relay node 108 registration management system 109 location registration database 110 internet 113 internet GW
121 Tuple Information Storage Unit 122 Tuple Search Information Storage Unit 123 Tuple Meta Search Information Storage Unit 124 Tuple Information Extraction Unit 125 Tuple Search Information Extraction Unit 241 Tuple Information Transfer Destination Information Storage Unit 242 Tuple Information Transfer Destination Information Extraction Unit 243 Tuple Search Information Identification Information Generator 1111 and 1112 PC

Claims (20)

複数の通信装置がネットワークを介して接続されるネットワーク分散共有システムであって、
前記複数の通信装置のそれぞれが、
タプル情報を記憶し、タプル記憶部識別情報で識別されているタプル記憶部と、
前記タプル記憶部に記憶されているタプル情報を送信する、または、受信したタプル情報を前記タプル記憶部に記憶する中継代理部と、
を有し、
前記中継代理部が、
転送先となるタプル記憶部のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する転送情報記憶部と、
前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読出したタプル情報を、前記転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する送信側転送部と、
前記ネットワークを関して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送部と、
を有することを特徴とするネットワーク分散共有システム。
A network distributed sharing system in which a plurality of communication devices are connected via a network,
Each of the plurality of communication devices
A tuple storage unit that stores the tuple information and is identified by the tuple storage unit identification information;
A relay proxy unit that transmits the tuple information stored in the tuple storage unit, or stores the received tuple information in the tuple storage unit;
Have
The relay agent is
A transfer information storage unit that stores transfer destination tuple storage unit identification information that is tuple storage unit identification information of a tuple storage unit that is a transfer destination;
Reads tuple information from the tuple storage unit included in the communication apparatus, and transmits the read tuple information to the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit via the network. Sending side forwarding unit to
A receiving side transfer unit that stores tuple information received with respect to the network in a tuple storage unit included in the communication device;
A network distributed sharing system characterized by comprising:
前記タプル記憶部は、
前記タプル情報を記憶するタプル情報記憶部と、
前記タプル情報を検索するためのタプル検索情報を記憶するタプル検索情報記憶部と、
前記タプル情報が前記タプル情報記憶部に記憶された場合に、該記憶されたタプル情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル情報を出力するタプル情報抽出部と、
を有することを特徴とする請求項1に記載のネットワーク分散共有システム。
The tuple storage unit
A tuple information storage unit for storing the tuple information;
A tuple search information storage unit for storing tuple search information for searching the tuple information;
When the tuple information is stored in the tuple information storage unit, it is determined whether or not the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit. If the result is true, a tuple information extraction unit that outputs the relevant tuple information;
The network distributed sharing system according to claim 1, comprising:
前記タプル情報抽出部は、
前記タプル検索情報が前記タプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報が前記タプル情報記憶部に記憶されているタプル情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル情報を前記送信側転送部に出力する
ことを特徴とする請求項2に記載のネットワーク分散共有システム。
The tuple information extraction unit includes:
When the tuple search information is stored in the tuple search information storage unit, it is determined whether the stored tuple search information corresponds to the tuple information stored in the tuple information storage unit, and the determination The network distributed sharing system according to claim 2, wherein, when the result is true, the relevant tuple information is output to the transmission side transfer unit.
前記転送情報記憶部は、
タプル検索情報を識別するタプル検索情報識別情報と前記転送先タプル記憶部識別情報とが関連付けて予め記憶されているタプル情報転送先情報記憶部と、
前記タプル検索情報識別情報が前記送信側転送部から入力された場合に、該入力されたタプル検索情報識別情報に該当する転送先タプル記憶部識別情報を前記タプル情報転送先情報記憶部から抽出し、該抽出した転送先タプル記憶部識別情報を前記送信側転送部に出力するタプル情報転送先情報抽出部と
を有し、
前記タプル検索情報記憶部は、
前記タプル検索情報と関連付けて該タプル検索情報を識別する前記タプル検索情報識別情報を記憶し、
前記タプル情報抽出部が、
前記タプル情報が前記タプル情報記憶部に記憶された場合に、該記憶されたタプル情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル検索情報と関連付けて記憶されているタプル検索情報識別情報を前記タプル検索情報記憶部から読み出し、前記記憶されたタプル情報と前記読み出したタプル検索情報識別情報とを関連付けて前記送信側転送部
に出力し、
前記送信側転送部が、
前記タプル情報とタプル検索情報識別情報とを関連付けて前記タプル情報抽出部から入力されたことに応じて、該入力されたタプル検索情報識別情報に該当する転送先タプル記憶部識別情報を前記転送情報記憶部から読み出し、該読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して前記入力されたタプル情報を送信する
ことを特徴とする請求項2または3に記載のネットワーク分散共有システム。
The transfer information storage unit
A tuple information transfer destination information storage unit in which the tuple search information identification information for identifying the tuple search information and the transfer destination tuple storage unit identification information are stored in advance in association with each other;
When the tuple search information identification information is input from the transmission side transfer unit, the transfer destination tuple storage unit identification information corresponding to the input tuple search information identification information is extracted from the tuple information transfer destination information storage unit. A tuple information transfer destination information extraction unit that outputs the extracted transfer destination tuple storage unit identification information to the transmission side transfer unit,
The tuple search information storage unit
Storing the tuple search information identification information for identifying the tuple search information in association with the tuple search information;
The tuple information extraction unit includes:
When the tuple information is stored in the tuple information storage unit, it is determined whether or not the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit. When the result is applicable, the tuple search information identification information stored in association with the corresponding tuple search information is read from the tuple search information storage unit, and the stored tuple information and the read tuple search information identification are read out. Output the information to the sender transfer unit in association with the information,
The transmission side transfer unit
When the tuple information and the tuple search information identification information are input from the tuple information extraction unit in association with each other, the transfer destination tuple storage unit identification information corresponding to the input tuple search information identification information is transferred to the transfer information. The network according to claim 2 or 3, wherein the input tuple information is transmitted from the storage unit to the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information via the network. Distributed sharing system.
前記タプル情報抽出部は、
前記タプル検索情報が前記タプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報が前記タプル情報記憶部に記憶されているタプル情報に該当するか否かを判定し、該判定した結果が該当する場合に、前記記憶されたタプル検索情報に関連付けられているタプル検索情報識別情報と前記該当したタプル情報とを関連づけて前記送信側転送部に出力する
ことを特徴とする請求項4に記載のネットワーク分散共有システム。
The tuple information extraction unit includes:
When the tuple search information is stored in the tuple search information storage unit, it is determined whether the stored tuple search information corresponds to the tuple information stored in the tuple information storage unit, and the determination When the result obtained corresponds, the tuple search information identification information associated with the stored tuple search information and the corresponding tuple information are associated with each other and output to the transmitting side transfer unit. 5. The network distributed sharing system according to 4.
前記タプル情報は送信先タプル記憶部識別情報を設定可能な情報の領域を有しており、
前記送信側転送部が、
自通信装置が有する前記タプル記憶部からタプル情報を読み出し、
前記読み出したタプル情報に送信先タプル記憶部識別情報が設定されているか否かを判定し、
送信先タプル記憶部識別情報が設定されていなければ、前記読み出したタプル情報を前記読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信し、
送信先タプル記憶部識別情報が設定されていれば、該設定されている送信先タプル記憶部識別情報が、前記転送情報記憶部に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、
いずれかと一致する場合には、前記読み出したタプル情報を前記設定されている送信先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する
ことを特徴とする請求項2から5に記載のネットワーク分散共有システム。
The tuple information has an information area in which destination tuple storage unit identification information can be set.
The transmission side transfer unit
Read tuple information from the tuple storage unit of the communication device,
It is determined whether destination tuple storage unit identification information is set in the read tuple information,
If the destination tuple storage unit identification information is not set, the read tuple information is transmitted to the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information via the network,
If the destination tuple storage unit identification information is set, the set transmission destination tuple storage unit identification information matches any of the transfer destination tuple storage unit identification information stored in the transfer information storage unit. Whether or not
6. If it matches any one, the read tuple information is transmitted to the tuple storage unit corresponding to the set destination tuple storage unit identification information via the network. Distributed network sharing system described in 1.
前記タプル記憶部は、
前記タプル検索情報を検索するためのタプルメタ検索情報を記憶するタプルメタ検索情報記憶部と、
前記タプル検索情報が前記タプル検索情報記憶部に記憶された場合に、該記憶されたタプル検索情報が前記タプルメタ検索情報記憶部に記憶されているタプルメタ検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル検索情報を前記送信側転送部に出力するタプル検索情報抽出部と、
を有し、
前記送信側転送部が、
前記タプル記憶部から読み出したタプル検索情報を、前記転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する、
ことを特徴とする請求項2から6に記載のネットワーク分散共有システム。
The tuple storage unit
A tuple meta search information storage unit for storing tuple meta search information for searching the tuple search information;
When the tuple search information is stored in the tuple search information storage unit, it is determined whether the stored tuple search information corresponds to the tuple meta search information stored in the tuple meta search information storage unit, If the determined result is applicable, a tuple search information extraction unit that outputs the corresponding tuple search information to the transmission side transfer unit;
Have
The transmission side transfer unit
The tuple search information read from the tuple storage unit is transmitted to the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the transfer information storage unit via the network.
The network distributed sharing system according to claim 2, wherein:
前記受信側転送部が、
前記ネットワークを介して受信したタプル検索情報を、自通信装置が有する前記タプル検索情報記憶部に記憶し、
受信時に前記ネットワークあるいは前記タプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として前記転送情報記憶部に記憶する、
ことを特徴とする請求項7に記載のネットワーク分散共有システム。
The receiving side transfer unit
The tuple search information received via the network is stored in the tuple search information storage unit included in the communication device,
The transmission source tuple storage unit identification information obtained from the network or the tuple search information at the time of reception is stored in the transfer information storage unit as transfer destination tuple storage unit identification information.
The network distributed sharing system according to claim 7.
前記タプル検索情報抽出部は、
前記タプルメタ検索情報が前記タプルメタ検索情報記憶部に記憶された場合に、該記憶されたタプルメタ検索情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル検索情報を前記送信側転送部に出力する
ことを特徴とする請求項7または8に記載のネットワーク分散共有システム。
The tuple search information extraction unit includes:
When the tuple meta search information is stored in the tuple meta search information storage unit, it is determined whether the stored tuple meta search information corresponds to the tuple search information stored in the tuple search information storage unit; The network distributed sharing system according to claim 7 or 8, wherein when the determined result is applicable, the applicable tuple search information is output to the transmission side transfer unit.
前記受信側転送部は、
前記ネットワークを介してタプル検索情報を受信した場合に、
自タプル記憶部のタプル検索情報記憶部に記憶されているタプル検索情報とタプル検索情報識別情報とに基づいて生成されたタプル検索情報識別情報と前記受信したタプル検索情報とを関連付けて自通信装置が有する前記タプル検索情報記憶部に記憶するとともに、
前記タプル検索情報を受信する場合に前記ネットワークあるいは前記タプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として、前記タプル検索情報識別情報と関連付けて、自通信装置が有する前記転送情報記憶部のタプル情報転送先情報記憶部に記憶する、
ことを特徴とする請求項7から9に記載のネットワーク分散共有システム。
The receiving side transfer unit
When tuple search information is received via the network,
A self-communication device that associates the tuple search information identification information generated based on the tuple search information and the tuple search information identification information stored in the tuple search information storage unit of the own tuple storage unit with the received tuple search information And storing it in the tuple search information storage unit,
When receiving the tuple search information, the source communication device associates the source tuple storage unit identification information obtained from the network or the tuple search information as transfer destination tuple storage unit identification information with the tuple search information identification information. Storing the tuple information transfer destination information storage unit of the transfer information storage unit
The network distributed sharing system according to claim 7, wherein:
前記タプル検索情報は送信元タプル記憶部識別情報を設定可能な情報の領域を有しており、
前記送信側転送部が、
自通信装置が有する前記タプル記憶部からタプル検索情報を読み出し、
前記読み出したタプル検索情報に送信元タプル記憶部識別情報が設定されているか否かを判定し、
送信元タプル記憶部識別情報が設定されていなければ、前記読み出したタプル検索情報を前記読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信し、
送信元タプル記憶部識別情報が設定されていれば、該設定されている送信元タプル記憶部識別情報が、前記転送情報記憶部に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、
いずれかと一致する場合には、前記読み出したタプル検索情報を前記設定されている送信元タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する
ことを特徴とする請求項7から10に記載のネットワーク分散共有システム。
The tuple search information has an information area in which transmission source tuple storage unit identification information can be set.
The transmission side transfer unit
Read the tuple search information from the tuple storage unit of the communication device,
It is determined whether or not source tuple storage unit identification information is set in the read tuple search information,
If the source tuple storage unit identification information is not set, the read tuple search information is transmitted to the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information via the network,
If the transmission source tuple storage unit identification information is set, the set transmission source tuple storage unit identification information matches any of the transfer destination tuple storage unit identification information stored in the transfer information storage unit. Whether or not
If it matches any of the above, the read tuple search information is transmitted to the tuple storage unit corresponding to the set transmission source tuple storage unit identification information via the network. 10. The network distributed sharing system according to 10.
前記複数の通信装置のうち1つの通信装置がサーバ装置であり、
前記サーバ装置の他の複数の通信装置が端末装置であり、
前記端末装置の前記転送情報記憶部には、
該当するタプル記憶部を前記サーバ装置のタプル記憶部とした前記転送先タプル記憶部識別情報が予め記憶されており、
前記端末装置の前記タプル検索情報記憶部には、
前記タプル検索情報が予め記憶されており、
前記端末装置は、
自端末装置の前記タプル情報記憶部にタプル情報が記憶されたことに応じて、
前記自端末装置の前記タプル情報抽出部が、
前記記憶されたタプル情報が前記タプル検索情報に該当する場合には、前記記憶されたタプル情報を出力し、
前記自端末装置の前記送信側転送部が、
該タプル情報を、前記転送先タプル記憶部識別情報に基づいて前記ネットワークを介して前記サーバ装置に送信し、
前記サーバ装置の前記受信側転送部が、
前記ネットワークを介して前記端末装置から受信したタプル情報を、自サーバ装置が有する前記タプル情報記憶部に記憶する、
ことを特徴とする請求項2から11に記載のネットワーク分散共有システム。
One of the plurality of communication devices is a server device,
A plurality of other communication devices of the server device are terminal devices,
In the transfer information storage unit of the terminal device,
The transfer destination tuple storage unit identification information that the corresponding tuple storage unit is the tuple storage unit of the server device is stored in advance.
In the tuple search information storage unit of the terminal device,
The tuple search information is stored in advance,
The terminal device
In response to the tuple information being stored in the tuple information storage unit of the terminal device itself,
The tuple information extraction unit of the terminal device
If the stored tuple information corresponds to the tuple search information, the stored tuple information is output,
The transmission side transfer unit of the terminal device itself is
The tuple information is transmitted to the server device via the network based on the transfer destination tuple storage unit identification information,
The receiving side transfer unit of the server device,
Storing the tuple information received from the terminal device via the network in the tuple information storage unit of the server device;
12. The network distributed sharing system according to claim 2, wherein the network is distributed.
前記複数の通信装置のうち1つの通信装置がサーバ装置であり、
前記サーバ装置の他の複数の通信装置が端末装置であり、
前記端末装置の前記転送情報記憶部には、
該当するタプル記憶部を前記サーバ装置のタプル記憶部とした前記転送先タプル記憶部識別情報が予め記憶されており、
前記端末装置の前記タプル検索情報記憶部には、
前記タプル検索情報が予め記憶されており、
前記端末装置は、
自端末装置の前記タプル情報記憶部にタプル情報が記憶されたことに応じて、
前記自端末装置の前記タプル情報抽出部が、
前記記憶されたタプル情報が前記タプル検索情報に該当する場合には、前記記憶されたタプル情報を出力し、
前記自端末装置の前記送信側転送部が、
該タプル情報を、前記転送先タプル記憶部識別情報に基づいて前記ネットワークを介して前記サーバ装置に送信し、
前記サーバ装置の前記受信側転送部が、
前記ネットワークを介して前記端末装置から受信したタプル情報を、自サーバ装置が有する前記タプル情報記憶部に記憶する、
ことを特徴とする請求項10または11に記載のネットワーク分散共有システム。
One of the plurality of communication devices is a server device,
A plurality of other communication devices of the server device are terminal devices,
In the transfer information storage unit of the terminal device,
The transfer destination tuple storage unit identification information that the corresponding tuple storage unit is the tuple storage unit of the server device is stored in advance.
In the tuple search information storage unit of the terminal device,
The tuple search information is stored in advance,
The terminal device
In response to the tuple information being stored in the tuple information storage unit of the terminal device itself,
The tuple information extraction unit of the terminal device
If the stored tuple information corresponds to the tuple search information, the stored tuple information is output,
The transmission side transfer unit of the terminal device itself is
The tuple information is transmitted to the server device via the network based on the transfer destination tuple storage unit identification information,
The receiving side transfer unit of the server device,
Storing the tuple information received from the terminal device via the network in the tuple information storage unit of the server device;
12. The network distributed sharing system according to claim 10, wherein the network is distributed.
前記端末装置の前記転送情報記憶部には、
前記サーバ装置のタプル記憶部を識別するタプル記憶部識別情報が前記転送先タプル記憶部識別情報として予め記憶されており、
前記端末装置の前記タプルメタ検索情報記憶部には、
前記タプルメタ検索情報が予め記憶されており、
前記端末装置は、
自端末装置のタプル検索情報記憶部にタプル検索情報が記憶されたことに応じて、
前記自端末装置のタプル検索情報抽出部が、
前記記憶されたタプル検索情報が前記タプルメタ検索情報に該当する場合には、前記記憶されたタプル検索情報を自端末装置の前記送信側転送部に出力し、
前記自端末装置の送信側転送部が、
入力された前記タプル検索情報を前記転送情報記憶部に記憶されている前記転送先タプル記憶部識別情報に基づいて前記ネットワークを介して前記サーバ装置に送信し、
前記サーバ装置の受信側転送部が、
前記ネットワークを介してタプル検索情報を受信した場合に、
自タプル記憶部のタプル検索情報記憶部に記憶されているタプル検索情報とタプル検索情報識別情報とに基づいて生成されたタプル検索情報識別情報と前記受信したタプル検索情報とを関連付けて自通信装置が有する前記タプル検索情報記憶部に記憶するとともに、
前記タプル検索情報を受信する場合に前記ネットワークあるいは前記タプル検索情報から得られる送信元タプル記憶部識別情報を転送先タプル記憶部識別情報として、前記タプル検索情報識別情報と関連付けて、自通信装置が有する前記転送情報記憶部のタプル情報転送先情報記憶部に記憶する、
ことを特徴とする請求項13に記載のネットワーク分散共有システム。
In the transfer information storage unit of the terminal device,
Tuple storage unit identification information for identifying a tuple storage unit of the server device is stored in advance as the transfer destination tuple storage unit identification information,
In the tuple meta search information storage unit of the terminal device,
The tuple meta search information is stored in advance,
The terminal device
In response to the tuple search information being stored in the tuple search information storage unit of the terminal device itself,
The tuple search information extraction unit of the terminal device
When the stored tuple search information corresponds to the tuple meta search information, the stored tuple search information is output to the transmission side transfer unit of the terminal device,
The transmission side transfer unit of the terminal device
The input tuple search information is transmitted to the server device via the network based on the transfer destination tuple storage unit identification information stored in the transfer information storage unit,
The receiving side transfer unit of the server device,
When tuple search information is received via the network,
A self-communication device that associates the tuple search information identification information generated based on the tuple search information and the tuple search information identification information stored in the tuple search information storage unit of the own tuple storage unit with the received tuple search information And storing it in the tuple search information storage unit,
When receiving the tuple search information, the source communication device associates the source tuple storage unit identification information obtained from the network or the tuple search information as transfer destination tuple storage unit identification information with the tuple search information identification information. Storing the tuple information transfer destination information storage unit of the transfer information storage unit
The network distributed sharing system according to claim 13.
前記サーバ装置は、
自サーバ装置の前記タプル検索情報記憶部にタプル検索情報が記憶されたことに応じて、
自サーバ装置の前記タプル情報抽出部が、
前記記憶されたタプル検索情報に該当するタプル情報と該タプル検索情報識別情報とを関連付けて自サーバ装置の送信側転送部に出力し、
自サーバ装置の前記送信側転送部が、
入力された前記タプル検索情報識別情報に基づいて、前記転送情報記憶部から転送先タプル記憶部識別情報を読み出し、
前記タプル情報を前記読み出した転送先タプル記憶部識別情報に基づいて前記端末装置に前記ネットワークを介して送信し、
前記端末装置の前記受信側転送部が、
前記ネットワークを介して受信したタプル情報を、自端末装置が有する前記タプル情報記憶部に記憶する、
ことを特徴とする請求項13または14に記載のネットワーク分散共有システム。
The server device
In response to the tuple search information being stored in the tuple search information storage unit of the own server device,
The tuple information extraction unit of the server device itself
The tuple information corresponding to the stored tuple search information and the tuple search information identification information are associated with each other and output to the transmission side transfer unit of the own server device,
The transmission side transfer unit of the own server device is
Based on the input tuple search information identification information, the transfer destination tuple storage unit identification information is read from the transfer information storage unit,
The tuple information is transmitted to the terminal device based on the read transfer destination tuple storage unit identification information via the network,
The receiving side transfer unit of the terminal device,
Storing the tuple information received via the network in the tuple information storage unit of the terminal device;
The network distributed sharing system according to claim 13 or 14,
前記サーバ装置は、
自サーバ装置の前記タプル情報記憶部にタプル情報が記憶されたことに応じて、
自サーバ装置の前記タプル情報抽出部が、
前記記憶されたタプル情報が前記タプル検索情報記憶部に記憶されているタプル検索情報に該当するか否かを判定し、該判定した結果が該当する場合には、前記該当したタプル検索情報と関連付けて記憶されているタプル検索情報識別情報を前記タプル検索情報記憶部から読み出し、前記記憶されたタプル情報と前記読み出したタプル検索情報識別情報とを関連付けて自サーバ装置の前記送信側転送部に出力し、
自サーバ装置の前記送信側転送部が、
入力された前記タプル情報識別情報に基づいて、前記転送情報記憶部から転送先タプル記憶部識別情報を読み出し、
前記タプル情報を前記読み出した転送先タプル記憶部識別情報に基づいて前記端末装置に前記ネットワークを介して送信し、
前記端末装置の前記受信側転送部が、
前記ネットワークを介して受信したタプル情報を、自端末装置が有する前記タプル情報記憶部に記憶する、
ことを特徴とする請求項13から15に記載のネットワーク分散共有システム。
The server device
In response to the tuple information being stored in the tuple information storage unit of the own server device,
The tuple information extraction unit of the server device itself
It is determined whether or not the stored tuple information corresponds to the tuple search information stored in the tuple search information storage unit. If the determined result corresponds, the stored tuple information is associated with the corresponding tuple search information. The stored tuple search information identification information is read from the tuple search information storage unit, and the stored tuple information and the read tuple search information identification information are associated with each other and output to the transmission side transfer unit of the local server device. And
The transmission side transfer unit of the own server device is
Based on the input tuple information identification information, read transfer destination tuple storage unit identification information from the transfer information storage unit,
The tuple information is transmitted to the terminal device based on the read transfer destination tuple storage unit identification information via the network,
The receiving side transfer unit of the terminal device,
Storing the tuple information received via the network in the tuple information storage unit of the terminal device;
The network distributed sharing system according to any one of claims 13 to 15, wherein
前記タプル情報は送信先タプル記憶部識別情報を設定可能な情報の領域を有しており、
前記サーバ装置の送信側転送部が、
自通信装置が有する前記タプル記憶部からタプル情報を読み出し、
前記読み出したタプル情報に送信先タプル記憶部識別情報が設定されているか否かを判定し、
送信先タプル記憶部識別情報が設定されていなければ、前記読み出したタプル情報を前記読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信し、
送信先タプル記憶部識別情報が設定されていれば、該設定されている送信先タプル記憶部識別情報が、前記転送情報記憶部に記憶されている転送先タプル記憶部識別情報のいずれかと一致するか否かを判定し、
いずれかと一致する場合には、前記読み出したタプル情報を前記設定されている送信先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する
ことを特徴とする請求項15または請求項16に記載のネットワーク分散共有システム。
The tuple information has an information area in which destination tuple storage unit identification information can be set.
The transmission side transfer unit of the server device,
Read tuple information from the tuple storage unit of the communication device,
It is determined whether destination tuple storage unit identification information is set in the read tuple information,
If the destination tuple storage unit identification information is not set, the read tuple information is transmitted to the tuple storage unit corresponding to the read transfer destination tuple storage unit identification information via the network,
If the destination tuple storage unit identification information is set, the set transmission destination tuple storage unit identification information matches any of the transfer destination tuple storage unit identification information stored in the transfer information storage unit. Whether or not
16. If it matches any of the above, the read tuple information is transmitted to the tuple storage unit corresponding to the set destination tuple storage unit identification information via the network. Item 17. The network distributed sharing system according to Item 16.
前記端末装置の一部または全ての端末装置において、
前記タプル記憶部に記憶されているタプル情報には、少なくとも送信先タプル記憶部識別情報が含まれており、
前記中継代理部の送信側転送部が、
前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読み出したタプル情報を、該読み出したタプル情報に含まれている送信先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する、
ことを特徴とする請求項17に記載のネットワーク分散共有システム。
In some or all of the terminal devices,
The tuple information stored in the tuple storage unit includes at least destination tuple storage unit identification information,
The transmission side transfer unit of the relay proxy unit is
Tuple information is read from the tuple storage unit included in the communication apparatus, and the read tuple information is sent to the tuple storage unit corresponding to the destination tuple storage unit identification information included in the read tuple information via the network. Send
The network distributed sharing system according to claim 17.
複数の通信装置がネットワークを介して接続され、前記複数の通信装置のそれぞれが、タプル情報を記憶し、タプル記憶部識別情報で識別されているタプル記憶部と、前記タプル記憶部に記憶されているタプル情報を送信する、または、受信したタプル情報を前記タプル記憶部に記憶する中継代理部と、を有するネットワーク分散共有システムにおいて用いられるネットワーク分散共有方法であって、
前記中継代理部が、
前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読出したタプル情報を、転送先となるタプル記憶部のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する送信側転送手順と、
前記ネットワークを関して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送手順と、
を有することを特徴とするネットワーク分散共有方法。
A plurality of communication devices are connected via a network, and each of the plurality of communication devices stores tuple information and is stored in the tuple storage unit identified by the tuple storage unit identification information and the tuple storage unit. A network distributed sharing method used in a network distributed sharing system having a relay proxy unit that transmits existing tuple information or stores received tuple information in the tuple storage unit,
The relay agent is
Transfer information storage that reads tuple information from the tuple storage unit of the communication device and stores the read tuple information as transfer destination tuple storage unit identification information that is tuple storage unit identification information of a tuple storage unit that is a transfer destination A transmission-side transfer procedure for transmitting via the network to the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the unit;
Receiving-side transfer procedure for storing tuple information received with respect to the network in a tuple storage unit included in the communication device;
A network distributed sharing method characterized by comprising:
複数の通信装置がネットワークを介して接続され、前記複数の通信装置のそれぞれが、タプル情報を記憶し、タプル記憶部識別情報で識別されているタプル記憶部と、前記タプル記憶部に記憶されているタプル情報を送信する、または、受信したタプル情報を前記タプル記憶部に記憶する中継代理部と、を有するネットワーク分散共有システムにおいて用いられる前記中継代理部としてのコンピュータに、
前記自通信装置が有するタプル記憶部からタプル情報を読み出し、該読出したタプル情報を、転送先となるタプル記憶部のタプル記憶部識別情報である転送先タプル記憶部識別情報を記憶する転送情報記憶部から読み出した転送先タプル記憶部識別情報に該当するタプル記憶部に前記ネットワークを介して送信する送信側転送手順と、
前記ネットワークを関して受信したタプル情報を、自通信装置が有するタプル記憶部に記憶する受信側転送手順と、
を実行させるためのネットワーク分散共有プログラム。
A plurality of communication devices are connected via a network, and each of the plurality of communication devices stores tuple information and is stored in the tuple storage unit identified by the tuple storage unit identification information and the tuple storage unit. To the computer as the relay proxy unit used in the network distributed sharing system, and the relay proxy unit that stores the received tuple information in the tuple storage unit,
Transfer information storage that reads tuple information from the tuple storage unit of the communication device and stores the read tuple information as transfer destination tuple storage unit identification information that is tuple storage unit identification information of a tuple storage unit that is a transfer destination A transmission-side transfer procedure for transmitting via the network to the tuple storage unit corresponding to the transfer destination tuple storage unit identification information read from the unit;
Receiving-side transfer procedure for storing tuple information received with respect to the network in a tuple storage unit included in the communication device;
Network distributed shared program to execute.
JP2008015298A 2008-01-25 2008-01-25 Network distributed sharing system, network distributed sharing method, and network distributed sharing program Expired - Fee Related JP4902559B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008015298A JP4902559B2 (en) 2008-01-25 2008-01-25 Network distributed sharing system, network distributed sharing method, and network distributed sharing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008015298A JP4902559B2 (en) 2008-01-25 2008-01-25 Network distributed sharing system, network distributed sharing method, and network distributed sharing program

Publications (2)

Publication Number Publication Date
JP2009176141A true JP2009176141A (en) 2009-08-06
JP4902559B2 JP4902559B2 (en) 2012-03-21

Family

ID=41031138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008015298A Expired - Fee Related JP4902559B2 (en) 2008-01-25 2008-01-25 Network distributed sharing system, network distributed sharing method, and network distributed sharing program

Country Status (1)

Country Link
JP (1) JP4902559B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010072718A (en) * 2008-09-16 2010-04-02 Nippon Telegr & Teleph Corp <Ntt> Indirect communication system, indirect communication method, and program
JP2010198323A (en) * 2009-02-25 2010-09-09 Nippon Telegr & Teleph Corp <Ntt> Tuple accumulation/retrieval system, tuple accumulation/retrieval method, tuple device, and tuple distribution device
JP2012003490A (en) * 2010-06-16 2012-01-05 Nippon Telegr & Teleph Corp <Ntt> Indirect communication device, communication system, communication method and communication program
JP2013502629A (en) * 2009-08-18 2013-01-24 エヌイーシー ヨーロッパ リミテッド Method and system for controlling a physical actuator in a pervasive computing environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0728732A (en) * 1993-07-14 1995-01-31 Mitsubishi Electric Corp Inter-process communication system
JPH09325895A (en) * 1996-06-06 1997-12-16 Mitsubishi Electric Corp Tuple space communication monitoring device and its monitoring method
JP2009093213A (en) * 2007-10-03 2009-04-30 Nippon Telegr & Teleph Corp <Ntt> Network distributed sharing system, network distributed sharing method, and network distributed sharing program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0728732A (en) * 1993-07-14 1995-01-31 Mitsubishi Electric Corp Inter-process communication system
JPH09325895A (en) * 1996-06-06 1997-12-16 Mitsubishi Electric Corp Tuple space communication monitoring device and its monitoring method
JP2009093213A (en) * 2007-10-03 2009-04-30 Nippon Telegr & Teleph Corp <Ntt> Network distributed sharing system, network distributed sharing method, and network distributed sharing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010072718A (en) * 2008-09-16 2010-04-02 Nippon Telegr & Teleph Corp <Ntt> Indirect communication system, indirect communication method, and program
JP2010198323A (en) * 2009-02-25 2010-09-09 Nippon Telegr & Teleph Corp <Ntt> Tuple accumulation/retrieval system, tuple accumulation/retrieval method, tuple device, and tuple distribution device
JP2013502629A (en) * 2009-08-18 2013-01-24 エヌイーシー ヨーロッパ リミテッド Method and system for controlling a physical actuator in a pervasive computing environment
KR101457278B1 (en) * 2009-08-18 2014-10-31 엔이씨 유럽 리미티드 Method and system for controlling physical actuators in pervasive computing environments
US9342361B2 (en) 2009-08-18 2016-05-17 Nec Europe Ltd. Method and system for controlling physical actuators in pervasive computing environments
JP2012003490A (en) * 2010-06-16 2012-01-05 Nippon Telegr & Teleph Corp <Ntt> Indirect communication device, communication system, communication method and communication program

Also Published As

Publication number Publication date
JP4902559B2 (en) 2012-03-21

Similar Documents

Publication Publication Date Title
US11032739B2 (en) Dynamic header compression for constrained networks
JP6852148B2 (en) How to update software update system, firmware over the air update system, and client devices
KR20060133079A (en) A method, a device, and a system for enabling data synchronization between multiple devices
Saadallah et al. CCNx for Contiki: implementation details
CN107357571B (en) Maintenance method and system for equipment component program
TW200907719A (en) Server-assisted and peer-to-peer synchronization
JP2017531857A (en) Distributed active hybrid storage system
CN110708352B (en) Data backup method for Internet of things equipment and Internet of things equipment
Zhou et al. Toward the Internet of Things application and management: A practical approach
CN101123750A (en) Apparatus and associated method for facilitating background processing of push content
JP4902559B2 (en) Network distributed sharing system, network distributed sharing method, and network distributed sharing program
JP2013542681A (en) Content sharing method and apparatus using group change information in content-centric network environment
CN101325611A (en) Point-to-point download method and apparatus
KR102025631B1 (en) Gateway server for relaying between iot device on non-tcp/ip network and iot server based on onem2m and method thereof
JP5851374B2 (en) Data management system
Hou et al. SeaHTTP: A resource-oriented protocol to extend rest style for Web of Things
JP6338257B2 (en) Network element data access method and apparatus, and network management system
JP2013074330A (en) Information processing device, server device, data communication system, data communication method, and data communication program
JP4890412B2 (en) Network distributed sharing system, network distributed sharing method, and network distributed sharing program
WO2018132557A1 (en) Dynamic protocol switching
Lei et al. Connecting heterogeneous sensor networks with ip based wire/wireless networks
Collins et al. Programming in mobile ad hoc networks
JP5943476B2 (en) Sensor network system and data acquisition method in sensor network system
Huynh-Van et al. An empirical study on approaches of internet of things reconfiguration
Morgenroth Event-driven Software-architecture for Delay-and Disruption-tolerant Networking

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20111004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111128

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: 20111220

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111228

R151 Written notification of patent or utility model registration

Ref document number: 4902559

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150113

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees