JP2005301824A - Method for distributing and storing data, terminal device therefor and program - Google Patents

Method for distributing and storing data, terminal device therefor and program Download PDF

Info

Publication number
JP2005301824A
JP2005301824A JP2004119294A JP2004119294A JP2005301824A JP 2005301824 A JP2005301824 A JP 2005301824A JP 2004119294 A JP2004119294 A JP 2004119294A JP 2004119294 A JP2004119294 A JP 2004119294A JP 2005301824 A JP2005301824 A JP 2005301824A
Authority
JP
Japan
Prior art keywords
terminal device
storage area
terminal
request message
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004119294A
Other languages
Japanese (ja)
Inventor
Makoto Saito
允 齊藤
Hitoshi Okikawa
仁 沖川
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.)
NTT Communications Corp
Original Assignee
NTT Communications 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 NTT Communications Corp filed Critical NTT Communications Corp
Priority to JP2004119294A priority Critical patent/JP2005301824A/en
Publication of JP2005301824A publication Critical patent/JP2005301824A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide technology allowing easy and low-cost realization of location distribution of important data. <P>SOLUTION: This terminal device capable of communicating with the other terminal device via a communication network has: a means transmitting a requirement message requiring use of a storage area of the other terminal device to the other terminal device; a means receiving a response message to the requirement message from the other terminal device, and transmitting data stored in the storage area to the other terminal device when the response message has contents of permitting the use of the storage area; and a means acquiring the data stored in the storage area from the other terminal device. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、データのディザスタリカバリ等のためにデータを分散して格納しておく技術に関する。   The present invention relates to a technique for distributing and storing data for disaster recovery of data.

重要なデータを保持するサーバが故障した場合等に、当該データを復旧することを可能とするディザスタリカバリのための技術が従来からある。   2. Description of the Related Art Conventionally, there is a technology for disaster recovery that makes it possible to recover data when a server holding important data fails.

例えば、通常使用するサーバとは別の場所にバックアップサーバを設け、そのバックアップサーバに、バッチもしくはリアルタイムで、通常使用するサーバにおける重要なデータを格納し、通常使用しているサーバのデータが損傷を受けた場合に、バックアップサーバからデータの供給を受けるといった技術がある。   For example, if a backup server is installed at a location different from the server that is normally used, and important data in the server that is normally used is stored in the backup server in batch or real time, the data of the server that is normally used is damaged. There is a technique of receiving data supply from a backup server when received.

なお、データのバックアップに関連する技術として、例えば特許文献1に記載された技術がある。
特開2002−55886号公報
As a technique related to data backup, for example, there is a technique described in Patent Document 1.
JP 2002-55886 A

しかしながら、上記従来のデータバックアップの技術では、通常使用する設備とは別に設備を構築する必要があるため、コストと手間がかかる。従って、従来のデータバックアップ技術によるデータのロケーション分散は、個人が簡易に利用できるものではなかった。   However, the conventional data backup technique requires cost and labor since it is necessary to construct equipment separately from the equipment that is normally used. Therefore, the data location distribution by the conventional data backup technology cannot be easily used by individuals.

本発明は上記の点に鑑みてなされたものであり、重要なデータのロケーション分散を簡易に低コストで実現することを可能とする技術を提供することを目的とする。   The present invention has been made in view of the above points, and an object of the present invention is to provide a technique that enables easy and low-cost location distribution of important data.

上記の課題は、通信ネットワークを介して他の端末装置と通信可能な端末装置であって、
前記他の端末装置に、当該他の端末装置の記憶領域の使用を要求する要求メッセージを送信する手段と、前記他の端末装置から前記要求メッセージに対する応答メッセージを受信し、その応答メッセージが前記記憶領域の使用を許可する内容である場合に、当該記憶領域に格納するデータを前記他の端末装置に送信する手段と、前記記憶領域に格納された前記データを前記他の端末装置から取得する手段とを有する端末装置により解決できる。
Said subject is a terminal device which can communicate with another terminal device via a communication network,
Means for transmitting a request message for requesting use of a storage area of the other terminal device to the other terminal device; and a response message to the request message is received from the other terminal device, and the response message is stored in the memory Means for transmitting the data stored in the storage area to the other terminal device, and means for acquiring the data stored in the storage area from the other terminal device when the content is permitted to be used in the area Can be solved by a terminal device having

本発明によれば、他の端末装置に簡易にデータを格納できることができ、重要なデータのロケーション分散を実現できる。   According to the present invention, data can be easily stored in another terminal device, and the location distribution of important data can be realized.

上記の端末装置において、複数の端末装置の識別情報とグループ名とを対応付けて保持する機能を有する仲介サーバと通信する手段と、前記仲介サーバに、前記端末装置の識別情報と、当該端末装置が属するグループ名を含む情報を送信する手段とを更に有するようにしてもよい。   In the above terminal device, means for communicating with an intermediary server having a function of associating and holding identification information and group names of a plurality of terminal devices, the intermediary server, the terminal device identification information, and the terminal device And a means for transmitting information including a group name to which the group belongs.

また、更に、前記仲介サーバに、特定のグループに属し、前記要求メッセージを送信する対象となる他の端末装置の情報を要求し、当該仲介サーバから、前記特定のグループに属する他の端末装置の情報を受信する手段を備えてもよい。このような構成とすることにより、特定のグループに属する端末装置間でデータのロケーション分散を行うことができる。   Further, the intermediary server is requested to request information of another terminal device belonging to a specific group and to which the request message is transmitted, and from the intermediary server, another terminal device belonging to the specific group is requested. Means for receiving information may be provided. With such a configuration, data location distribution can be performed among terminal devices belonging to a specific group.

また、本発明は、通信ネットワークを介して他の端末装置と通信可能な端末装置であって、前記他の端末装置から、前記端末装置の記憶領域の使用を要求する要求メッセージを受信する手段と、前記要求メッセージの受信に応じて前記記憶領域の使用を許可するか否かを判断し、記憶領域の使用を許可する場合に、当該記憶領域を確保し、記憶領域の使用を許可することを示す応答メッセージを前記他の端末装置に送信する手段と、前記他の端末装置からデータを受信し、前記記憶領域に格納する手段とを有する端末装置として構成することもできる。   The present invention also provides a terminal device capable of communicating with another terminal device via a communication network, and means for receiving a request message requesting use of a storage area of the terminal device from the other terminal device; Determining whether to permit use of the storage area in response to reception of the request message, and when permitting use of the storage area, securing the storage area and permitting use of the storage area; It can also be configured as a terminal device having means for transmitting the response message shown to the other terminal device and means for receiving data from the other terminal device and storing it in the storage area.

また、本発明は、通信ネットワークを介して他の端末装置と通信可能な端末装置であって、前記他の端末装置から、前記端末装置の記憶領域の使用を要求する第1の要求メッセージを受信する手段と、前記要求メッセージの受信に応じて前記記憶領域の使用を許可するか否かを判断し、記憶領域の使用を許可する場合に、前記他の端末装置に、当該他の端末装置の記憶領域の使用を要求する第2の要求メッセージを送信する手段と、前記第1の要求メッセージに対する記憶領域を確保し、記憶領域の使用を許可することを示す応答メッセージを前記他の端末装置に送信する手段と、前記他の端末装置からデータを受信し、前記記憶領域に格納する手段と前記他の端末装置から前記第2の要求メッセージに対する応答メッセージを受信し、その応答メッセージが記憶領域の使用を許可する内容である場合に、当該記憶領域に格納するデータを前記他の端末装置に送信する手段とを有する端末装置としてもよい。   Further, the present invention is a terminal device capable of communicating with another terminal device via a communication network, and receives a first request message requesting use of a storage area of the terminal device from the other terminal device. And determining whether to permit the use of the storage area in response to receiving the request message, and when permitting the use of the storage area, to the other terminal apparatus, A means for transmitting a second request message for requesting use of a storage area, and a response message indicating that a storage area for the first request message is secured and the use of the storage area is permitted to the other terminal device A means for transmitting, receiving data from the other terminal device, receiving a response message to the second request message from the means for storing in the storage area and the other terminal device; In the case where the answer message has contents permitting the use of the storage area, the terminal apparatus may include means for transmitting data stored in the storage area to the other terminal apparatus.

本発明によれば、記憶領域確保要求を受信した端末装置が、当該要求を送信した端末装置に対して記憶領域確保要求を送信するので、記憶領域の交換を簡易に実現できる。   According to the present invention, since the terminal device that has received the storage area securing request transmits the storage area securing request to the terminal device that has transmitted the request, the storage area can be easily exchanged.

上記のように本発明によれば、他の端末装置に簡易にデータを格納できることができるようになるので、重要なデータのロケーション分散を簡易に低コストで実現できる。   As described above, according to the present invention, data can be easily stored in another terminal device, so that the location distribution of important data can be easily realized at low cost.

以下、図面を参照して本発明の実施の形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(概要)
本発明の実施の形態では、インターネット等の通信ネットワークを介してピアツーピア通信を行う2つの端末間でデータの分散配置を行う。図1を参照してその処理の概要を説明する。
(Overview)
In the embodiment of the present invention, data is distributed and distributed between two terminals that perform peer-to-peer communication via a communication network such as the Internet. The outline of the processing will be described with reference to FIG.

図1に示すように、端末1と端末2の間に、端末1と端末2との間でのピアツーピア(P2P)通信のデータチャネルを確立するための仲介サーバ3を備える。仲介サーバ3は、データチャネルを確立するために、端末から送信される接続要求に含まれる接続先の端末の名前を、宛先のアドレスに変換する名前解決を行い、データチャネル確立のための情報交換を仲介するためのサーバであり、例えばSIP(Session Initiation Protocol)を用いてデータチャネルを確立する場合であれば、仲介サーバ3はSIPプロキシサーバである。また、確立されるデータチャネルは例えばIPsec等の暗号化チャネルとすることができるが、本実施の形態では暗号化を行わなくてもよい。データチャネルとして暗号化チャネルを用いる場合、仲介サーバ3は、暗号化通信のための鍵情報とアドレス情報等の交換を端末間で仲介する。   As shown in FIG. 1, a mediation server 3 for establishing a data channel for peer-to-peer (P2P) communication between the terminal 1 and the terminal 2 is provided between the terminal 1 and the terminal 2. In order to establish a data channel, the intermediary server 3 performs name resolution by converting the name of the connection destination terminal included in the connection request transmitted from the terminal into a destination address, and exchanges information for establishing the data channel. For example, if the data channel is established using SIP (Session Initiation Protocol), the mediation server 3 is a SIP proxy server. Further, the data channel to be established can be an encrypted channel such as IPsec, but the encryption may not be performed in the present embodiment. When an encrypted channel is used as the data channel, the mediation server 3 mediates exchange of key information and address information for encrypted communication between terminals.

図1において、まず、端末1、端末2の各々が仲介サーバ3に対して自身の名前、アドレス、及び端末が属するグループ(本明細書では“コミュニティ”と呼ぶ)の登録を行う(ステップS1)。   In FIG. 1, first, each of the terminal 1 and the terminal 2 registers their name, address, and a group to which the terminal belongs (referred to as “community” in this specification) to the mediation server 3 (step S1). .

その後、図1の例では端末1が端末2に対する接続要求メッセージを送信する(ステップS2)。なお、接続要求メッセージの送信前に、端末1が仲介サーバ3を利用して、接続先の端末の情報を取得し、接続先の端末を選択すことが可能である。ステップS2において送信された接続要求メッセージは、仲介サーバ3を介して端末2に送信され(ステップS3)、端末2は当該接続要求メッセージに対する応答メッセージを送信する(ステップS4、S5)。応答メッセージを端末1が受信することにより、端末1と端末2はピアツーピア通信に必要な互いのアドレス情報等を取得し、端末1と端末2間でのピアツーピア通信が可能となる。   Thereafter, in the example of FIG. 1, the terminal 1 transmits a connection request message to the terminal 2 (step S2). Before the connection request message is transmitted, the terminal 1 can use the mediation server 3 to acquire information on the connection destination terminal and select the connection destination terminal. The connection request message transmitted in step S2 is transmitted to the terminal 2 via the mediation server 3 (step S3), and the terminal 2 transmits a response message to the connection request message (steps S4 and S5). When terminal 1 receives the response message, terminal 1 and terminal 2 acquire each other's address information necessary for peer-to-peer communication, and peer-to-peer communication between terminal 1 and terminal 2 becomes possible.

上記のようにして確立された端末1と端末2との間のデータチャネルを用いることにより、端末1は端末2に対し、端末2の記憶領域の使用要求を送信する(ステップS6)。端末2は、自身の記憶領域の使用を端末1に対して許可するか否かの判断を行い、許可する場合には、その旨の応答を端末1に返す(ステップS7)。使用許可の旨の応答を受信した端末1は、端末2に確保した記憶領域に自身のデータを転送し(ステップS8)、端末2がそのデータを格納する。また、端末2に格納した端末1のデータは、端末1からのデータ要求によって端末1に送信される。また、端末2に格納した端末1のデータは、端末1からのデータ削除操作、記憶領域の使用期間満了等の契機によって削除され、当該記憶領域は開放される。   By using the data channel between the terminal 1 and the terminal 2 established as described above, the terminal 1 transmits a use request for the storage area of the terminal 2 to the terminal 2 (step S6). The terminal 2 determines whether or not to allow the terminal 1 to use its own storage area, and if so, returns a response to that effect to the terminal 1 (step S7). The terminal 1 that has received the response indicating that the use is permitted transfers its own data to the storage area secured in the terminal 2 (step S8), and the terminal 2 stores the data. Further, the data of the terminal 1 stored in the terminal 2 is transmitted to the terminal 1 in response to a data request from the terminal 1. Further, the data of the terminal 1 stored in the terminal 2 is deleted by a data deletion operation from the terminal 1, an expiration of the usage period of the storage area, and the storage area is released.

(装置構成)
上記の各端末及び仲介サーバの各々は、CPU、記憶装置、入出力装置、通信装置等を備えた一般的なコンピュータに、本明細書で説明する各処理を実行するプログラムを搭載することにより実現できる。そのようなプログラムにより実現される端末と仲介サーバの機能ブロックを含む構成を図2に示す。なお、仲介サーバ3としてSIPプロキシサーバを例として示している。なお、端末1と端末2は同じ構成なので、端末については端末1について説明する。
(Device configuration)
Each of the above-described terminals and mediation server is realized by mounting a program for executing each process described in this specification on a general computer including a CPU, a storage device, an input / output device, a communication device, and the like. it can. FIG. 2 shows a configuration including functional blocks of a terminal and an intermediary server realized by such a program. An SIP proxy server is shown as an example of the mediation server 3. In addition, since the terminal 1 and the terminal 2 are the same structures, the terminal 1 is demonstrated about a terminal.

図2に示すように、端末1は、リソース交換機能部11と、SIP機能部12を有している。リソース交換機能部11は、ユーザ検索機能部111、リソース交換処理部112、記憶領域確保テーブル113を有している。   As illustrated in FIG. 2, the terminal 1 includes a resource exchange function unit 11 and a SIP function unit 12. The resource exchange function unit 11 includes a user search function unit 111, a resource exchange processing unit 112, and a storage area reservation table 113.

ユーザ検索機能部111は、例えばSUBSCRIBEメッセージをSIPプロキシサーバ3に送信することにより、コミュニティに参加している端末の情報を受信し、その中から特定の端末を選択する機能を有している。SIPプロキシサーバ3に特定の条件で端末の検索を依頼し、その結果を受信するような構成としてもよい。リソース交換処理部112は、図1のステップS6以降のリソース交換(記憶領域の貸し借り)処理を行うための処理部であり、記憶領域確保テーブル113を参照して、現時点での記録領域貸し出し状況を確認するとともに、現時点での全体の記憶容量等を考慮して、要求のあった記憶容量を貸し出すか否かの判断を行う。また、後述する例におけるリソースの交換全般の処理を行う。記憶領域確保テーブル113には、記憶領域を貸し出した端末名に対応付けて、貸し出した記憶容量及び使用期限が記録されている。SIP機能部12は、SIPに係るセッションを実行するための機能部であり、セッションを管理するためのセッション管理部121を有している。   The user search function unit 111 has a function of receiving information on terminals participating in the community by, for example, transmitting a SUBSCRIBE message to the SIP proxy server 3 and selecting a specific terminal from the information. The SIP proxy server 3 may be requested to search for a terminal under specific conditions, and the result may be received. The resource exchange processing unit 112 is a processing unit for performing the resource exchange (storage area lending / borrowing) process after step S6 in FIG. 1, and refers to the storage area reservation table 113 to determine the current recording area lending status. In addition to the confirmation, it is determined whether or not the requested storage capacity is lent out in consideration of the entire storage capacity at the present time. Also, general resource exchange processing in an example described later is performed. In the storage area securing table 113, the lent storage capacity and the expiration date are recorded in association with the name of the terminal that lent the storage area. The SIP function unit 12 is a function unit for executing a session related to SIP, and includes a session management unit 121 for managing a session.

SIPプロキシサーバ3は、ユーザ状態管理テーブルを保持し、コミュニティに関する処理等を行うユーザ状態管理部33、本実施の形態に係るSIPのセッションに関する処理を行うセッション管理部31、後述する負荷分散処理を行う分散処理部32を有している。ユーザ状態管理テーブルについては以下の例で詳細に説明する。   The SIP proxy server 3 holds a user state management table and performs a user state management unit 33 that performs a process related to a community, a session management unit 31 that performs a process related to a SIP session according to the present embodiment, and a load distribution process described later. A distributed processing unit 32 is provided. The user status management table will be described in detail in the following example.

以下、上記構成を有する装置における各処理について詳細に説明する。   Hereinafter, each process in the apparatus having the above configuration will be described in detail.

(相手端末特定に関する処理)
まず、図3を参照して、端末が特定の端末に接続要求を送信するまでの処理について詳細に説明する。図3の例のSIPプロキシサーバ3は、図4に示すようなユーザ状態管理テーブルを有している。図4に示すように、このユーザ状態管理テーブルには、コミュニティ名と、そのコミュニティに属する端末の名前と、端末がコミュニティの他のメンバー(端末)に自身の存在を通知するか否かを示す情報(通知or非通知)を含む。以降、コミュニティの他のメンバーに自身の存在を通知することを許容している場合、その端末は当該コミュニティに“参加している”と表現する場合がある。
(Processing for identifying the partner terminal)
First, with reference to FIG. 3, a process until the terminal transmits a connection request to a specific terminal will be described in detail. The SIP proxy server 3 in the example of FIG. 3 has a user state management table as shown in FIG. As shown in FIG. 4, this user status management table indicates the community name, the name of the terminal belonging to the community, and whether or not the terminal notifies the other members (terminals) of its own presence. Contains information (notified or not notified). Thereafter, when it is allowed to notify other members of the community of its own existence, the terminal may be expressed as “participating” in the community.

図3において、まず、端末が属そうとしているコミュニティ名と、端末の名前、及びアドレスの情報がSIPのREGISTERメッセージにより各端末からSIPプロキシサーバ3に送信され、SIPプロキシサーバはその情報から、ユーザ状態管理テーブルにコミュニティ名と、それに対応する端末の名前を記録する(ステップS11)。なお、名前解決に使用するための、名前とアドレスとを対応付けた情報も記録しておく。   In FIG. 3, first, the community name to which the terminal belongs, the name of the terminal, and the information of the address are transmitted from each terminal to the SIP proxy server 3 by the SIP REGISTER message. The community name and the name of the terminal corresponding to the community name are recorded in the state management table (step S11). Information that associates names with addresses for use in name resolution is also recorded.

ここで、端末1のユーザが、コミュニティ内のいずれかの端末の記憶領域を借りたいと考えた場合に、ユーザが端末1に命令等することにより、ユーザ端末1は、コミュニティ名である“community−1234”を含むSUBSCRIBEメッセージをSIPプロキシサーバ3に送信する(ステップS12)。このメッセージは、SIPプロキシサーバ3に、コミュニティ“community−1234”に参加している端末の名前の送信を要求するメッセージである。図示を省略しているが、図3の場合、最初に“community−1234”に参加している端末は無いので、SIPプロキシサーバ3は、参加しているメンバーが無いことを示すNOTIFYメッセージを端末1に返す。   Here, when the user of the terminal 1 wants to rent a storage area of any terminal in the community, the user terminal 1 instructs the terminal 1 so that the user terminal 1 has the community name “community”. A SUBSCRIBE message including -1234 "is transmitted to the SIP proxy server 3 (step S12). This message is a message requesting the SIP proxy server 3 to transmit the names of terminals participating in the community “community-1234”. Although illustration is omitted, in the case of FIG. 3, since there is no terminal that first participates in “community-1234”, the SIP proxy server 3 sends a NOTIFY message indicating that there are no participating members to the terminal. Return to 1.

ステップS13にて、端末2がSIPプロキシサーバ3に“community−1234”を指定したPUBLISHメッセージを送信する。このメッセージは、コミュニティ“community−1234”のメンバーに、自身(この場合は端末2)の存在を通知することをSIPプロキシサーバ3に対して許容するためのメッセージである。このメッセージをSIPプロキシサーバ3が受信すると、SIPプロキシサーバ3はユーザ状態管理テーブルの端末2の通知or非通知のフィールドを“通知”にする。   In step S 13, the terminal 2 transmits a PUBLISH message specifying “community-1234” to the SIP proxy server 3. This message is a message for allowing the SIP proxy server 3 to notify a member of the community “community-1234” of the presence of itself (in this case, the terminal 2). When the SIP proxy server 3 receives this message, the SIP proxy server 3 sets the notification or non-notification field of the terminal 2 in the user status management table to “notification”.

なお、ステップS13において、端末2が、“community−1234”に対応付けてユーザ状態管理テーブルに登録されていない場合には、SIPプロキシサーバ3は例えばエラーメッセージを端末2に送信し、端末2の“community−1234”への参加を拒否することができる。これにより、特定のコミュニティ内での処理が可能となる。   In step S13, if the terminal 2 is not registered in the user status management table in association with “community-1234”, the SIP proxy server 3 transmits an error message to the terminal 2, for example, Participation in “Community-1234” can be refused. Thereby, processing within a specific community becomes possible.

端末2がコミュニティ“community−1234”に参加したことに応じて、SIPプロキシサーバ3は端末1に対して、“community−1234”に端末2がメンバーとして参加していることを通知するNOTIFYメッセージを送信する(ステップS14)。   In response to the participation of the terminal 2 in the community “community-1234”, the SIP proxy server 3 sends a NOTIFY message notifying the terminal 1 that the terminal 2 is participating as a member in “community-1234”. Transmit (step S14).

端末1は、通知された端末2の名前を宛先としてINVITEメッセージをSIPプロキシサーバに送信することにより、端末2に対する接続要求を行う(ステップS15)。(ステップS16〜S20)を経て端末1と端末2が接続され、ステップS21〜S23にて記憶領域の貸し借りの処理が行われる。   The terminal 1 makes a connection request to the terminal 2 by transmitting an INVITE message to the SIP proxy server with the notified name of the terminal 2 as a destination (step S15). The terminal 1 and the terminal 2 are connected through (steps S16 to S20), and the storage area lending / borrowing process is performed in steps S21 to S23.

なお、ステップS14において複数の端末が通知された場合には、そのうちの一つを選択して接続要求を送信する。ここで、ステップS14において、SIPプロキシサーバ3が各端末の名前とともに、各端末の場所、各端末が他の端末に貸し出せる記憶容量等を端末1に通知するようにすれば、端末1はその情報に基づき対象の端末を選択することができる。   When a plurality of terminals are notified in step S14, one of them is selected and a connection request is transmitted. Here, in step S14, if the SIP proxy server 3 notifies the terminal 1 of the name of each terminal, the location of each terminal, the storage capacity that each terminal can lend to other terminals, etc., the terminal 1 The target terminal can be selected based on the information.

(詳細動作:端末1(送信側))
次に、端末1、端末2における記憶領域の交換に関する処理を各々の動作を示すフローチャートを参照してより詳細に説明する。最初に、図5を参照して端末1(送信側)の動作を説明する。
(Detailed operation: Terminal 1 (transmission side))
Next, processing relating to storage area exchange in the terminal 1 and the terminal 2 will be described in more detail with reference to flowcharts showing respective operations. First, the operation of the terminal 1 (transmission side) will be described with reference to FIG.

まず、端末1は、記憶領域を借りる先の端末を選択する(ここでは端末2を選択するものとする)(ステップS31)。そして、端末1は、端末2に対して、記憶領域の確保を要求するための記憶領域確保要求メッセージを送信する(ステップS32)。記憶領域確保要求メッセージには、端末1の名前、端末2において端末1のために確保する要求記憶容量、端末2における当該記憶領域の使用期限等の条件を含む。記憶容量は、例えば端末1のユーザが希望する容量を端末1において入力して指定してもよいし、端末2に格納しようとしているファイル名を指定することにより、端末1が自動的に当該ファイルに適合する容量を記憶領域確保メッセージに含めるようにしてもよい。   First, the terminal 1 selects a terminal to borrow a storage area (here, the terminal 2 is selected) (step S31). Then, the terminal 1 transmits a storage area reservation request message for requesting storage area reservation to the terminal 2 (step S32). The storage area securing request message includes conditions such as the name of the terminal 1, the requested storage capacity secured for the terminal 1 in the terminal 2, and the expiration date of use of the storage area in the terminal 2. The storage capacity may be specified by, for example, inputting the capacity desired by the user of the terminal 1 at the terminal 1, or by specifying the name of the file to be stored in the terminal 2, the terminal 1 automatically May be included in the storage area allocation message.

その後、端末1は端末2からの応答メッセージを待ち、端末2からの応答メッセージを受信(ステップS33)したら、その応答メッセージが記憶領域確保要求メッセージに含まれる要求を許可するものであるかどうかをチェックする(ステップS34)。なお、応答メッセージは、記憶領域確保要求メッセージにおける記憶容量確保の可否、使用期限に対する可否等が含まれる。また、後述するように、要求した条件に満たない条件により記憶容量を端末2が確保した場合には、その条件が含まれる。   Thereafter, the terminal 1 waits for a response message from the terminal 2 and, when receiving the response message from the terminal 2 (step S33), determines whether the response message permits a request included in the storage area allocation request message. Check (step S34). Note that the response message includes whether or not storage capacity is secured in the storage area securing request message, whether or not the expiration date is valid, and the like. Further, as will be described later, when the terminal 2 secures the storage capacity under a condition that does not satisfy the requested condition, the condition is included.

応答メッセージが、記憶領域確保要求メッセージに含まれる要求を許可する内容である場合、端末2に対し、端末2に格納するデータを送信する(ステップS35)。応答メッセージが、記憶領域確保要求メッセージに含まれる要求を許可しない内容(拒否応答)であった場合は、ステップS31において別の端末を選択し、再度ステップS32からの処理を実行する。   If the response message is a content permitting the request included in the storage area reservation request message, the data stored in the terminal 2 is transmitted to the terminal 2 (step S35). If the response message is a content that does not permit the request included in the storage area reservation request message (rejection response), another terminal is selected in step S31, and the processing from step S32 is executed again.

端末1は、当該データの格納期限までの間、例えば定期的に端末2の記憶領域にアクセスをすることにより、データが正しく格納されているか否かのチェックを行う。また、端末1は、端末2に格納したデータが必要であると判断した場合には、そのデータを端末2から取得する(ステップS36)。この判断は、ユーザによる指示により、もしくは、端末1における当該データが損傷を受けた場合等に自動的に行われる。また、適宜データの保守を行う。   The terminal 1 checks whether or not the data is correctly stored by accessing the storage area of the terminal 2 periodically, for example, until the data is stored. If the terminal 1 determines that the data stored in the terminal 2 is necessary, the terminal 1 acquires the data from the terminal 2 (step S36). This determination is automatically made according to an instruction from the user or when the data in the terminal 1 is damaged. In addition, appropriate data maintenance is performed.

また、端末2におけるデータ格納の必要がなくなった場合等、記憶領域の使用を終了する場合には(ステップS37のYes)、端末1から端末2に当該データを削除する通知を送信する(ステップS38)。更に、格納期限が経過した場合には(ステップS39のYes)、端末1は端末2に格納したデータの管理を終了する。なお、期限が経過した場合に、再度記憶領域確保要求メッセージを端末2に送信するようにしてもよい。   Further, when the use of the storage area is terminated (Yes in step S37), such as when data storage in the terminal 2 is no longer necessary, a notification for deleting the data is transmitted from the terminal 1 to the terminal 2 (step S38). ). Furthermore, when the storage time limit has passed (Yes in step S39), the terminal 1 ends the management of the data stored in the terminal 2. Note that when the time limit has passed, the storage area securing request message may be transmitted to the terminal 2 again.

(詳細動作:端末2(受信側))
次に、図6を参照して受信側の端末2の動作を説明する。まず、端末2は、端末1から送信された記憶領域確保要求メッセージを受信する(ステップS41)。そして、記憶領域確保要求メッセージに含まれる記憶容量等の要求を許可するか否かを判定する。判定は、例えば、記憶領域確保要求メッセージに含まれる端末の名前が記憶領域の利用を許可する端末として予め登録した端末の名前か否か、要求された記録容量を要求された期限まで確保できるか否か等を記憶領域確保テーブルを参照すること等により行う。
(Detailed operation: Terminal 2 (receiving side))
Next, the operation of the receiving terminal 2 will be described with reference to FIG. First, the terminal 2 receives the storage area securing request message transmitted from the terminal 1 (step S41). Then, it is determined whether or not a request for a storage capacity or the like included in the storage area allocation request message is permitted. For example, the determination is whether the name of the terminal included in the storage area reservation request message is the name of a terminal registered in advance as a terminal that permits the use of the storage area, or whether the requested recording capacity can be secured until the requested time limit. Whether or not is determined by referring to the storage area securing table.

端末1から送信された要求を許可できない場合(ステップS42のNo)、端末2は拒否応答メッセージを端末1に送信する(ステップS43)。要求を許可できる場合、端末2は、要求された記憶容量の記録領域を確保する(ステップS44)。   When the request transmitted from the terminal 1 cannot be permitted (No in Step S42), the terminal 2 transmits a rejection response message to the terminal 1 (Step S43). If the request can be permitted, the terminal 2 secures a recording area having the requested storage capacity (step S44).

記録領域の確保の方法として、例えば、端末1のみがアクセスできるディレクトリを作成する方法がある。また、端末1から送信するデータを端末1の暗号鍵で暗号化することにより、一般的なディレクトリを作成することとしてもよい。これらの方法により、確保した記録領域に格納されたデータは、端末1によってのみ利用可能となる。   As a method for securing the recording area, for example, there is a method of creating a directory accessible only by the terminal 1. Alternatively, a general directory may be created by encrypting data transmitted from the terminal 1 with the encryption key of the terminal 1. By these methods, the data stored in the secured recording area can be used only by the terminal 1.

また、図7に示すように、端末2は記憶領域確保テーブルに、端末1に対して確保した記憶容量と使用期限とを端末1の名前に対応付けて記録する。   As shown in FIG. 7, the terminal 2 records the storage capacity reserved for the terminal 1 and the expiration date in the storage area reservation table in association with the name of the terminal 1.

続いて、端末2は、端末1に対して要求を許可した旨のメッセージを送信する(ステップS45)。なお、ステップS44にて、端末1から要求された条件を完全には満たせない場合でも、満たせる範囲で記憶領域の確保をし、どのような条件で記憶領域の確保をしたのかの情報を、ステップS45の応答メッセージに含めるようにしてもよい。例えば、端末1から記憶容量120M、期間4ヶ月の要求があったが、端末2では、記憶容量100M、期間3ヶ月までしか要求を満たせない場合、端末2は、記憶容量100M、期間3ヶ月の条件で記憶領域確保を行い、この条件で記憶領域確保を行った旨を応答メッセージに含めてステップS45において端末1に送信する。その後、端末2は、端末1からデータの送信の要求があれば当該データを適宜端末1に送信する。   Subsequently, the terminal 2 transmits a message indicating that the request is permitted to the terminal 1 (step S45). In step S44, even if the condition requested by the terminal 1 cannot be completely satisfied, the storage area is ensured within the range that can be satisfied, and the information on the condition under which the storage area is secured is It may be included in the response message of S45. For example, if there is a request from the terminal 1 for a storage capacity of 120 M and a period of 4 months, but the terminal 2 can only satisfy the request for a storage capacity of 100 M and a period of 3 months, the terminal 2 has a storage capacity of 100 M and a period of 3 months. The storage area is secured under the condition, and the fact that the storage area is secured under this condition is included in the response message and transmitted to the terminal 1 in step S45. Thereafter, if there is a request for data transmission from the terminal 1, the terminal 2 transmits the data to the terminal 1 as appropriate.

端末2は、端末1から領域確保終了の通知を受信した場合(ステップS46のYes)、もしくは当該データの格納期限として設定した期限が経過した場合に(ステップS47のYes)、当該記憶領域を解放する(ステップS48)。なお、最初に設定した領域確保期間内であっても、端末2において当該記憶領域を解放する必要がある場合には、その旨の通知を端末1に対して送信する。   The terminal 2 releases the storage area when it receives a notification of the end of area allocation from the terminal 1 (Yes in step S46) or when the period set as the storage period for the data has elapsed (Yes in step S47). (Step S48). Even if the storage area is required to be released in the terminal 2 even within the initially set area securing period, a notification to that effect is transmitted to the terminal 1.

(記憶領域スワップの例)
上記の例は一方の要求に対し、その要求に応じて他方が記憶領域を確保するものである。その他、次に説明するように、一方の要求に応じて他方も要求を行うことにより記憶領域のスワップを行うことが可能である。この例を図8と図9を参照して説明する。
(Example of storage area swap)
In the above example, for one request, the other secures a storage area in response to the request. In addition, as described below, the storage area can be swapped by making a request in response to one request. This example will be described with reference to FIGS.

図8は、送信側である端末1の動作を示すフローチャートである。図5に示した例と同様に、端末1は端末2に対して記憶領域確保要求メッセージを送信する(ステップS51、S52)。例えば、要求記憶容量100M、記憶領域確保期間3ヶ月とした記憶領域確保要求メッセージを送信する。当該記憶領域確保要求メッセージを受信した端末2は、同じ条件を含む記憶領域確保要求メッセージを端末1に対して送信する。端末2からの記憶領域確保要求メッセージを受信した端末1は、図6におけるステップS41〜ステップS45と同様の処理を行い、端末2に対して拒否応答メッセージ、もしくは端末2からの要求に係る記憶領域を確保した旨の応答メッセージを送信する(ステップS53)。   FIG. 8 is a flowchart showing the operation of the terminal 1 on the transmission side. Similarly to the example shown in FIG. 5, the terminal 1 transmits a storage area securing request message to the terminal 2 (steps S51 and S52). For example, a storage area securing request message with a requested storage capacity of 100M and a storage area securing period of 3 months is transmitted. The terminal 2 that has received the storage area reservation request message transmits a storage area reservation request message including the same conditions to the terminal 1. The terminal 1 that has received the storage area securing request message from the terminal 2 performs the same processing as in steps S41 to S45 in FIG. 6, and stores a rejection response message to the terminal 2 or a storage area related to the request from the terminal 2 A response message to the effect of securing is transmitted (step S53).

また、端末1は、端末2からの要求に対する記憶領域(貸す記憶領域)に係る処理として、図6のステップS46〜ステップS48と同様の処理を行う(ステップS54)。   Further, the terminal 1 performs the same processing as the steps S46 to S48 in FIG. 6 as processing related to the storage area (lent storage area) for the request from the terminal 2 (step S54).

また、端末1は、借りる記憶領域に係る処理として、端末2に対する記憶領域確保要求メッセージに対する応答を受信することを含む、図5のステップS33〜ステップ39と同様の処理を実行する(ステップS55)。   Further, the terminal 1 executes the same process as the step S33 to the step 39 in FIG. 5 including receiving a response to the storage area securing request message for the terminal 2 as the process related to the borrowed storage area (step S55). .

次に、端末2の動作を図9のフローチャートを参照して説明する。端末2は、端末1から記憶領域確保要求メッセージを受信すると(ステップS61)、当該要求に対して許可できるかどうかの判定を行い、許可できる場合には(ステップS62のYes)、同条件の要求を含む記憶領域確保要求メッセージを端末1に送信する(ステップS63)。端末1からの要求に応じた記憶領域を確保できない場合(ステップS62のNo)、端末1に対して拒否応答メッセージを送信する(ステップS64)。記憶領域確保要求メッセージを端末1に送信した後、記憶領域確保要求メッセージに対する端末1からの応答を待ち、応答を受信すると(ステップS65)、その応答が端末2からの要求を端末1が許可するものかどうかを判定する。許可するものであれば(ステップS66のYes)、最初に端末1から受信した要求に対応する記憶領域の確保等、貸すほうの記憶領域に係る処理として、図6のステップS44〜ステップS48と同様の処理を行う(ステップS68)。また、許可するものでなければ(ステップS66のNo)、端末1に対して拒否応答メッセージを送信する(ステップS69)。   Next, the operation of the terminal 2 will be described with reference to the flowchart of FIG. When the terminal 2 receives the storage area reservation request message from the terminal 1 (step S61), the terminal 2 determines whether or not the request can be permitted. If the request can be permitted (Yes in step S62), the terminal 2 requests for the same condition. Is transmitted to the terminal 1 (step S63). If the storage area corresponding to the request from the terminal 1 cannot be secured (No in step S62), a rejection response message is transmitted to the terminal 1 (step S64). After transmitting the storage area reservation request message to the terminal 1, the terminal 1 waits for a response from the terminal 1 to the storage area reservation request message and receives a response (step S65). When the response is received, the terminal 1 permits the request from the terminal 2. Determine if it is a thing. If permitted (Yes in step S66), the process related to the storage area to be lent, such as securing the storage area corresponding to the request received from the terminal 1 first, is the same as in steps S44 to S48 in FIG. Is performed (step S68). If not permitted (No in step S66), a rejection response message is transmitted to the terminal 1 (step S69).

また、端末2からの要求を端末1が許可する場合、借りるほうの記憶領域に係る処理として、図5のステップS35〜ステップS39と同様の処理を実行する(ステップS70)。   Further, when the terminal 1 permits the request from the terminal 2, the same processing as the steps S35 to S39 in FIG. 5 is executed as the processing related to the storage area to be borrowed (step S70).

(複数端末間でのスワップ)
SIPプロキシサーバ3が、コミュニティに属する端末における記憶領域交換の状態を管理することにより、複数端末間での記憶領域のスワップを行うことも可能である。端末A、B、C間でのスワップの例を次に説明する。
(Swap between multiple terminals)
It is also possible for the SIP proxy server 3 to swap storage areas among a plurality of terminals by managing the storage area exchange state in terminals belonging to the community. Next, an example of swap between terminals A, B, and C will be described.

この場合、SIPプロキシサーバ3におけるユーザ状態管理テーブルは、図10の構成を有している。すなわち、コミュニティXに属する端末A、B、Cの各々に対して、貸与可能な記憶容量、借用中の記憶容量、貸与中の記憶容量を含む構成を有している。コミュニティ名と端末名、及び貸与可能な記憶容量は、予めREGISTERメッセージで登録しておく。そして、この例では、端末間による記憶容量の要請、応答メッセージの送受信の処理に加えて、各端末は記憶容量の貸借の状況を、SIPプロキシサーバ3とのシグナリングチャネルを介してSIPプロキシサーバ3に報告するものとする。なお、図10は、以下で説明する処理が終了した状態を示すものである。   In this case, the user state management table in the SIP proxy server 3 has the configuration shown in FIG. In other words, each of the terminals A, B, and C belonging to the community X has a configuration including a lent storage capacity, a borrowed storage capacity, and a lent loan storage capacity. The community name, terminal name, and storage capacity that can be lent are registered in advance by a REGISTER message. In this example, in addition to processing for requesting storage capacity between terminals and transmission / reception of response messages, each terminal indicates the status of storage capacity borrowing via a signaling channel with the SIP proxy server 3. To report to. FIG. 10 shows a state in which the processing described below has been completed.

例えば、端末Aが、端末Bの記憶容量を100M借用した場合、その情報をSIPプロキシサーバ3に報告する。SIPプロキシサーバ3は、図10に示すように、端末Aが端末Bの記憶容量100Mを借用している旨を記録する。   For example, when the terminal A borrows 100 M of the storage capacity of the terminal B, the information is reported to the SIP proxy server 3. As shown in FIG. 10, the SIP proxy server 3 records that the terminal A has borrowed the storage capacity 100M of the terminal B.

端末Bは、端末Aへの記憶容量貸与に応じて他の端末から記憶領域の借用を希望するが、この複数端末間でのスワップの例では、端末Bは、要求する記憶容量をSIPプロキシサーバ3に通知する。SIPプロキシサーバ3は、端末Aから100M借用できないが、端末Cから借用可能であることを端末Bに通知する。端末Bは、この情報に基づき、端末Cに対する接続要求を送信し、端末Cとの接続を行い、端末Cの記憶容量を借用する処理を行う。図10は、端末Bが端末Cから100Mの記憶容量の借用を行った後の状態を示すものである。   The terminal B desires to borrow a storage area from another terminal in accordance with the storage capacity lending to the terminal A. In this example of swap between a plurality of terminals, the terminal B supplies the requested storage capacity to the SIP proxy server. 3 is notified. The SIP proxy server 3 notifies the terminal B that 100M cannot be borrowed from the terminal A but can be borrowed from the terminal C. Based on this information, terminal B transmits a connection request to terminal C, performs connection with terminal C, and performs a process of borrowing the storage capacity of terminal C. FIG. 10 shows a state after the terminal B has borrowed a storage capacity of 100M from the terminal C.

上記は3つの端末が登場する例であるが、多数の端末間でも同様に、空きのある端末に記憶容量を借用する処理を順次行うことが可能であり、コミュニティ全体として、効率よく記憶容量の使用をすることが可能となる。   The above is an example of the appearance of three terminals, but it is possible to carry out the process of borrowing the storage capacity to a free terminal even in the same manner among a large number of terminals. It becomes possible to use.

(負荷分散処理の説明)
これまでに説明した機構を用いてデータを複数の端末に分散配置することにより、データのディザスタリカバリを行うことができるとともに、データへのアクセスに係る負荷分散を行うことも可能である。SIPプロキシサーバ3の分散処理部32により負荷分散を行う例について、図11のシーケンスチャートを参照して説明する。
(Explanation of load balancing processing)
By distributing and distributing data to a plurality of terminals using the mechanism described so far, it is possible to perform disaster recovery of data and to perform load distribution related to access to data. An example in which load distribution is performed by the distribution processing unit 32 of the SIP proxy server 3 will be described with reference to the sequence chart of FIG.

この例では、端末Aと端末Bが、他の端末に公開するための同じデータを格納しているものとする。まず、端末Aと端末Bが、PUBLISHメッセージを用いた参加の通知をSIPプロキシサーバ3に送信する(ステップS81、S82)。この負荷分散処理の例では、この通知により、SIPプロキシサーバ3は、端末Aと端末Bが他の端末からのデータアクセスを許容するものであることを認識する。   In this example, it is assumed that terminal A and terminal B store the same data to be disclosed to other terminals. First, the terminal A and the terminal B transmit a notification of participation using the PUBLISH message to the SIP proxy server 3 (steps S81 and S82). In this example of load distribution processing, the SIP proxy server 3 recognizes that the terminal A and the terminal B allow data access from other terminals by this notification.

続いて、前記公開に係るデータを利用するために、端末Cからコミュニティ“community−1234”のいずれかの端末へのアクセスを要求するINVITEメッセージがSIPプロキシサーバ3に送信される(ステップS83)。SIPプロキシサーバ3は、端末A、Bのいずれかを任意に選択し、選択した端末(この場合、端末Aを選択)に対して接続を要求するINVITEメッセージを送信する(ステップS84)。そして、端末Cと端末Aとの間でデータチャネルが確立され、端末Cは端末Aのデータにアクセスする(ステップS85)。   Subsequently, in order to use the data related to the disclosure, an INVITE message requesting access from the terminal C to any one of the community “community-1234” is transmitted to the SIP proxy server 3 (step S83). The SIP proxy server 3 arbitrarily selects one of the terminals A and B, and transmits an INVITE message requesting connection to the selected terminal (in this case, the terminal A is selected) (step S84). Then, the data channel is established between the terminal C and the terminal A, and the terminal C accesses the data of the terminal A (step S85).

また、次に、端末Dがコミュニティ“community−1234”のいずれかの端末へのアクセスを要求するINVITEメッセージをSIPプロキシサーバ3に送信する(ステップS86)。SIPプロキシサーバ3は、端末Aと端末Bのうち、端末Aについてはすでに端末Cにアクセスさせているので、もう一方の端末Bに端末Dからの接続を要求するINVITEメッセージを送信する(ステップS87)。そして、端末Dは端末Bのデータにアクセスする(ステップS88)。これにより、端末Aと端末Bとの間での負荷分散が実現できる。   Next, the terminal D transmits to the SIP proxy server 3 an INVITE message requesting access to any terminal in the community “community-1234” (step S86). Since the SIP proxy server 3 has already accessed the terminal C among the terminals A and B, the SIP proxy server 3 transmits an INVITE message for requesting connection from the terminal D to the other terminal B (step S87). ). Then, the terminal D accesses the data of the terminal B (Step S88). Thereby, load distribution between the terminal A and the terminal B can be realized.

上記のように順番にアクセス先の端末を選択する他、端末の処理能力等に応じて予め端末間に優先順位をつけておき、その優先順位に従って端末を選択するようにしてもよい。このような負荷分散処理の技術は、データ容量は特に大きくはないが、アクセス頻度や入出力処理の負荷が大きい場合に特に大きな効果を奏する。   In addition to selecting the access destination terminals in order as described above, priorities may be given to the terminals in advance according to the processing capabilities of the terminals, and the terminals may be selected according to the priorities. Such a load distribution processing technique is not particularly large in data capacity, but is particularly effective when the access frequency and input / output processing load are large.

上記のように本発明に係る実施の形態によれば、記憶領域の交換が容易になることから、簡易なデータディザスタリカバリ技術を提供することが可能となる。また、コミュニティ内で記憶領域を効率的に分散することが可能となることから、記憶領域の有効活用が実現できる。更に、仲介サーバの機能を用いることにより、簡易な負荷分散技術を提供できる。   As described above, according to the embodiment of the present invention, storage areas can be easily exchanged, so that a simple data disaster recovery technique can be provided. In addition, since the storage area can be efficiently distributed in the community, the storage area can be effectively used. Furthermore, a simple load distribution technique can be provided by using the function of the mediation server.

なお、本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。   The present invention is not limited to the above-described embodiment, and various modifications and applications can be made within the scope of the claims.

本発明の実施の形態における処理の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the process in embodiment of this invention. 端末と仲介サーバの構成図である。It is a block diagram of a terminal and a mediation server. 端末が特定の端末に接続要求を送信するまでの処理について詳細に説明するための図である。It is a figure for demonstrating in detail the process until a terminal transmits a connection request to a specific terminal. ユーザ状態管理テーブルの一例を示す図である。It is a figure which shows an example of a user state management table. 端末1(送信側)の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the terminal 1 (transmission side). 端末2(受信側)の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the terminal 2 (reception side). 記憶領域確保テーブルの一例を示す図である。It is a figure which shows an example of a storage area reservation table. 記憶領域のスワップを行う場合における端末1(送信側)の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the terminal 1 (transmission side) in the case of swapping a storage area. 記憶領域のスワップを行う場合における端末2(受信側)の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the terminal 2 (reception side) in the case of swapping a storage area. ユーザ状態管理テーブルの他の例を示す図である。It is a figure which shows the other example of a user state management table. 負荷分散処理を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating a load distribution process.

符号の説明Explanation of symbols

1、2 端末
3 仲介サーバ、SIPプロキシサーバ
11 リソース交換機能部
12 SIP機能部
111 ユーザ検索機能部
112 リソース交換処理部
113 記憶領域確保テーブル
121、31 セッション管理部
32 分散処理部
33 ユーザ状態管理部
1, 2 Terminal 3 Mediation server, SIP proxy server 11 Resource exchange function unit 12 SIP function unit 111 User search function unit 112 Resource exchange processing unit 113 Storage area reservation table 121, 31 Session management unit 32 Distributed processing unit 33 User state management unit

Claims (11)

通信ネットワークを介して他の端末装置と通信可能な端末装置であって、
前記他の端末装置に、当該他の端末装置の記憶領域の使用を要求する要求メッセージを送信する手段と、
前記他の端末装置から前記要求メッセージに対する応答メッセージを受信し、その応答メッセージが前記記憶領域の使用を許可する内容である場合に、当該記憶領域に格納するデータを前記他の端末装置に送信する手段と、
前記記憶領域に格納された前記データを前記他の端末装置から取得する手段と
を有することを特徴とする端末装置。
A terminal device capable of communicating with other terminal devices via a communication network,
Means for transmitting a request message for requesting use of a storage area of the other terminal device to the other terminal device;
When a response message to the request message is received from the other terminal device, and the response message has a content permitting the use of the storage area, data stored in the storage area is transmitted to the other terminal device Means,
A terminal device comprising: means for obtaining the data stored in the storage area from the other terminal device.
複数の端末装置の識別情報とグループ名とを対応付けて保持する機能を有する仲介サーバと通信する手段と、
前記仲介サーバに、前記端末装置の識別情報と、当該端末装置が属するグループ名を含む情報を送信する手段とを更に有する請求項1に記載の端末装置。
Means for communicating with a mediation server having a function of associating and holding identification information and group names of a plurality of terminal devices;
The terminal device according to claim 1, further comprising means for transmitting identification information of the terminal device and information including a group name to which the terminal device belongs to the mediation server.
前記仲介サーバに、特定のグループに属し、前記要求メッセージを送信する対象となる他の端末装置の情報を要求し、当該仲介サーバから、前記特定のグループに属する他の端末装置の情報を受信する手段を更に有する請求項2に記載の端末装置。   Requests information of other terminal devices belonging to a specific group to which the request message is transmitted from the mediation server, and receives information of other terminal devices belonging to the specific group from the mediation server The terminal device according to claim 2, further comprising means. 通信ネットワークを介して他の端末装置と通信可能な端末装置であって、
前記他の端末装置から、前記端末装置の記憶領域の使用を要求する要求メッセージを受信する手段と、
前記要求メッセージの受信に応じて前記記憶領域の使用を許可するか否かを判断し、記憶領域の使用を許可する場合に、当該記憶領域を確保し、記憶領域の使用を許可することを示す応答メッセージを前記他の端末装置に送信する手段と、
前記他の端末装置からデータを受信し、前記記憶領域に格納する手段と
を有することを特徴とする端末装置。
A terminal device capable of communicating with other terminal devices via a communication network,
Means for receiving a request message for requesting use of a storage area of the terminal device from the other terminal device;
It is determined whether or not the use of the storage area is permitted in response to the reception of the request message. When the use of the storage area is permitted, the storage area is reserved and the use of the storage area is permitted. Means for transmitting a response message to the other terminal device;
Receiving the data from the other terminal device, and storing the data in the storage area.
通信ネットワークを介して他の端末装置と通信可能な端末装置であって、
前記他の端末装置から、前記端末装置の記憶領域の使用を要求する第1の要求メッセージを受信する手段と、
前記要求メッセージの受信に応じて前記記憶領域の使用を許可するか否かを判断し、記憶領域の使用を許可する場合に、前記他の端末装置に、当該他の端末装置の記憶領域の使用を要求する第2の要求メッセージを送信する手段と、
前記第1の要求メッセージに対する記憶領域を確保し、記憶領域の使用を許可することを示す応答メッセージを前記他の端末装置に送信する手段と、
前記他の端末装置からデータを受信し、前記記憶領域に格納する手段と
前記他の端末装置から前記第2の要求メッセージに対する応答メッセージを受信し、その応答メッセージが記憶領域の使用を許可する内容である場合に、当該記憶領域に格納するデータを前記他の端末装置に送信する手段と
を有することを特徴とする端末装置。
A terminal device capable of communicating with other terminal devices via a communication network,
Means for receiving a first request message for requesting use of a storage area of the terminal device from the other terminal device;
It is determined whether to permit the use of the storage area in response to reception of the request message, and when the use of the storage area is permitted, the use of the storage area of the other terminal apparatus is used for the other terminal apparatus. Means for sending a second request message requesting
Means for securing a storage area for the first request message and transmitting a response message indicating permission to use the storage area to the other terminal device;
Means for receiving data from the other terminal device and storing it in the storage area, and receiving a response message for the second request message from the other terminal device, and the response message permitting the use of the storage area And a means for transmitting data to be stored in the storage area to the other terminal device.
通信ネットワークを介して接続された第1の端末装置と第2の端末装置を含むシステムにおける処理の方法であって、
第1の端末装置が、第2の端末装置に当該第2の端末装置の記憶領域の使用を要求する要求メッセージを送信するステップと、
第2の端末装置が、前記要求メッセージを受信し、記憶領域の使用を許可するか否かを判断し、記憶領域の使用を許可する場合に、当該記憶領域を確保し、記憶領域の使用を許可することを示す応答メッセージを第1の端末装置に送信するステップと、
第1の端末装置が、第2の端末装置から前記応答メッセージを受信し、第2の端末装置の記憶領域に格納するデータを第2の端末装置に送信するステップと、
第2の端末装置が、第1の端末装置から前記データを受信し、前記要求メッセージに応じて確保した記憶領域に当該データを格納するステップと
を有することを特徴とする方法。
A method of processing in a system including a first terminal device and a second terminal device connected via a communication network,
The first terminal device transmitting a request message requesting the second terminal device to use the storage area of the second terminal device;
The second terminal device receives the request message, determines whether or not to permit the use of the storage area, and when permitting the use of the storage area, secures the storage area and uses the storage area. Transmitting a response message indicating permission to the first terminal device;
A first terminal device receiving the response message from a second terminal device and transmitting data to be stored in a storage area of the second terminal device to the second terminal device;
A second terminal device receiving the data from the first terminal device and storing the data in a storage area secured in response to the request message.
第2の端末装置が、前記要求メッセージの受信に応じて、他の端末装置の記憶領域の使用を要求するメッセージを前記通信ネットワークを介して接続された仲介サーバに送信するステップと、
前記仲介サーバが、記憶領域を第2の端末装置に使用させることが可能な第3の端末装置の情報を第2の端末装置に送信するステップと、
第2の端末装置が、第3の端末装置に接続し、第3の端末装置の記憶領域を使用するステップと
を更に有する請求項6に記載の方法。
A second terminal device, in response to receiving the request message, transmitting a message requesting use of a storage area of another terminal device to an intermediary server connected via the communication network;
The intermediary server transmits information of a third terminal device that can cause the second terminal device to use the storage area to the second terminal device;
The method according to claim 6, further comprising the step of connecting the second terminal device to the third terminal device and using the storage area of the third terminal device.
第1の端末装置と第2の端末装置は同一のグループに属し、当該グループに属する端末装置の情報を含むテーブル情報を有する仲介サーバが前記通信ネットワークに接続されており、前記方法は、
前記通信ネットワークに接続された第3の端末装置が、前記仲介サーバに、前記グループ内のいずれかの端末装置への接続を要求する接続要求メッセージを送信するステップと、
前記接続要求メッセージを受信した仲介サーバが、前記テーブル情報を参照することにより、第1の端末装置と第2の端末装置を含む前記グループに属する端末装置のうちのいずれか1つを選択し、選択した端末装置宛に前記接続要求メッセージを送信するステップと、
第3の端末装置が前記選択された端末装置に接続し、当該端末装置に格納されたデータにアクセスするステップと
を有する請求項6に記載の方法。
The first terminal device and the second terminal device belong to the same group, an intermediary server having table information including information on the terminal devices belonging to the group is connected to the communication network, and the method includes:
A third terminal device connected to the communication network transmits a connection request message for requesting connection to any terminal device in the group to the mediation server;
The mediation server that has received the connection request message selects any one of the terminal devices belonging to the group including the first terminal device and the second terminal device by referring to the table information, Transmitting the connection request message to the selected terminal device;
The method according to claim 6, further comprising: connecting a third terminal device to the selected terminal device and accessing data stored in the terminal device.
通信ネットワークを介して他の端末装置と通信可能な端末装置に処理を実行させるプログラムであって、
前記他の端末装置に、当該他の端末装置の記憶領域の使用を要求する要求メッセージを送信する手順と、
前記他の端末装置から前記要求メッセージに対する応答メッセージを受信し、その応答メッセージが前記記憶領域の使用を許可する内容である場合に、当該記憶領域に格納するデータを前記他の端末装置に送信する手順と、
前記記憶領域に格納された前記データを前記他の端末装置から取得する手順と
を前記端末装置に実行させるプログラム。
A program for causing a terminal device capable of communicating with another terminal device via a communication network to execute processing,
A procedure for transmitting a request message requesting use of a storage area of the other terminal device to the other terminal device;
When a response message to the request message is received from the other terminal device, and the response message has a content permitting the use of the storage area, data stored in the storage area is transmitted to the other terminal device Procedure and
A program for causing the terminal device to execute a procedure for acquiring the data stored in the storage area from the other terminal device.
通信ネットワークを介して他の端末装置と通信可能な端末装置に処理を実行させるプログラムであって、
前記他の端末装置から、前記端末装置の記憶領域の使用を要求する要求メッセージを受信する手順と、
前記要求メッセージの受信に応じて前記記憶領域の使用を許可するか否かを判断し、記憶領域の使用を許可する場合に、当該記憶領域を確保し、記憶領域の使用を許可することを示す応答メッセージを前記他の端末装置に送信する手順と、
前記他の端末装置からデータを受信し、前記記憶領域に格納する手順と
を前記端末装置に実行させるプログラム。
A program for causing a terminal device capable of communicating with another terminal device via a communication network to execute processing,
A procedure for receiving a request message for requesting use of a storage area of the terminal device from the other terminal device;
It is determined whether or not the use of the storage area is permitted in response to the reception of the request message. When the use of the storage area is permitted, the storage area is reserved and the use of the storage area is permitted. A procedure for transmitting a response message to the other terminal device;
A program for causing the terminal device to execute a procedure for receiving data from the other terminal device and storing the data in the storage area.
通信ネットワークを介して他の端末装置と通信可能な端末装置に処理を実行させるプログラムであって、
前記他の端末装置から、前記端末装置の記憶領域の使用を要求する第1の要求メッセージを受信する手順と、
前記要求メッセージの受信に応じて前記記憶領域の使用を許可するか否かを判断し、記憶領域の使用を許可する場合に、前記他の端末装置に、当該他の端末装置の記憶領域の使用を要求する第2の要求メッセージを送信する手順と、
前記第1の要求メッセージに対する記憶領域を確保し、記憶領域の使用を許可することを示す応答メッセージを前記他の端末装置に送信する手順と、
前記他の端末装置からデータを受信し、前記記憶領域に格納する手順と
前記他の端末装置から前記第2の要求メッセージに対する応答メッセージを受信し、その応答メッセージが記憶領域の使用を許可する内容である場合に、当該記憶領域に格納するデータを前記他の端末装置に送信する手順と
を前記端末装置に実行させるプログラム。
A program for causing a terminal device capable of communicating with another terminal device via a communication network to execute processing,
A procedure for receiving a first request message for requesting use of a storage area of the terminal device from the other terminal device;
It is determined whether to permit the use of the storage area in response to reception of the request message, and when the use of the storage area is permitted, the use of the storage area of the other terminal apparatus is used for the other terminal apparatus. Sending a second request message requesting;
A procedure for securing a storage area for the first request message and transmitting a response message indicating permission to use the storage area to the other terminal device;
Procedures for receiving data from the other terminal device and storing it in the storage area, and receiving a response message to the second request message from the other terminal device, and the response message permitting the use of the storage area A program for causing the terminal device to execute a procedure for transmitting data to be stored in the storage area to the other terminal device.
JP2004119294A 2004-04-14 2004-04-14 Method for distributing and storing data, terminal device therefor and program Pending JP2005301824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004119294A JP2005301824A (en) 2004-04-14 2004-04-14 Method for distributing and storing data, terminal device therefor and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004119294A JP2005301824A (en) 2004-04-14 2004-04-14 Method for distributing and storing data, terminal device therefor and program

Publications (1)

Publication Number Publication Date
JP2005301824A true JP2005301824A (en) 2005-10-27

Family

ID=35333252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004119294A Pending JP2005301824A (en) 2004-04-14 2004-04-14 Method for distributing and storing data, terminal device therefor and program

Country Status (1)

Country Link
JP (1) JP2005301824A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007069576A1 (en) * 2005-12-16 2007-06-21 International Business Machines Corporation Network file system
JP2009003657A (en) * 2007-06-20 2009-01-08 Sony Corp Content-providing service management system, content-providing service management device, and content-providing service information receiving device
WO2009013937A1 (en) * 2007-07-25 2009-01-29 Brother Kogyo Kabushiki Kaisha Information saving system, server, server program, client, and client program
JP2009516294A (en) * 2005-11-16 2009-04-16 マイクロソフト コーポレーション Automated state transitions during operating system deployment
WO2015194500A1 (en) * 2014-06-20 2015-12-23 株式会社ニコン Information storage device, information storage system, and information storage control program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009516294A (en) * 2005-11-16 2009-04-16 マイクロソフト コーポレーション Automated state transitions during operating system deployment
KR101265856B1 (en) 2005-11-16 2013-05-20 마이크로소프트 코포레이션 Automated state migration while deploying an operating system
US8448166B2 (en) 2005-11-16 2013-05-21 Microsoft Corporation Automated state migration while deploying an operating system
WO2007069576A1 (en) * 2005-12-16 2007-06-21 International Business Machines Corporation Network file system
JP2009003657A (en) * 2007-06-20 2009-01-08 Sony Corp Content-providing service management system, content-providing service management device, and content-providing service information receiving device
WO2009013937A1 (en) * 2007-07-25 2009-01-29 Brother Kogyo Kabushiki Kaisha Information saving system, server, server program, client, and client program
WO2015194500A1 (en) * 2014-06-20 2015-12-23 株式会社ニコン Information storage device, information storage system, and information storage control program
JPWO2015194500A1 (en) * 2014-06-20 2017-05-25 株式会社ニコン Information storage device, information storage system, and information storage control program
US10268406B2 (en) 2014-06-20 2019-04-23 Nikon Corporation Information storage device, information storage system, and information storage control program

Similar Documents

Publication Publication Date Title
US8825795B2 (en) Dynamically integrating disparate computer-aided dispatch systems
CN101156407B (en) Method for supplying content through communication network
US20070223398A1 (en) Method for Implementing Grouping Devices and Interacting Among Grouped Devices
JP2005275937A (en) P2p network system
JP5847185B2 (en) Content sharing method and apparatus using group change information in content-centric network environment
US8219614B2 (en) Edge peer device, pan gateway device, super peer device, and P2P network-based interconnection method
JP2007156569A (en) Cluster system, load balancer, method of transferring node, and node transfer program
EP3794801A1 (en) Method of and device for service discovery and selection
US9967412B2 (en) Information processing apparatus, system, and control method for information processing apparatus
JP2008181281A (en) Network system for peer-to-peer communication
JP2006127470A (en) Program, method and device for managing information shared among components, recording medium and communication apparatus
JP2005301824A (en) Method for distributing and storing data, terminal device therefor and program
JP4958611B2 (en) COMMUNICATION DEVICE, NETWORK SYSTEM, COMMUNICATION METHOD, AND PROGRAM
KR20170045786A (en) System for providing privacy protection service and method thereof
US20100153557A1 (en) Method and apparatus for building personal network and network federation
CN102473226B (en) Information management device and information management method
JPWO2009034994A1 (en) Load distribution system, service processing server, load distribution method, and load distribution program
JP2015111330A (en) Terminal device, communication system, and communication program
EP2891270B1 (en) Method and apparatus for updating personal information in communication system
US20150227534A1 (en) Method for processing data query using information-centric network
JP4653147B2 (en) Information function providing system, information function providing apparatus, information function providing method, and information function providing program
JP7469247B2 (en) Authorization system, authorization server, client, user terminal, authorization method, and computer program
JP2005277974A (en) Method and program for distributing/collecting address information and transmission/reception terminal
JP2004295652A (en) Distributed processing system, information processor, distributed processing support device, and control program
JP6935567B1 (en) Information transaction management system, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070316

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091228

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100216