JP2007334418A - Information arrangement control method and terminal equipment - Google Patents
Information arrangement control method and terminal equipment Download PDFInfo
- Publication number
- JP2007334418A JP2007334418A JP2006162290A JP2006162290A JP2007334418A JP 2007334418 A JP2007334418 A JP 2007334418A JP 2006162290 A JP2006162290 A JP 2006162290A JP 2006162290 A JP2006162290 A JP 2006162290A JP 2007334418 A JP2007334418 A JP 2007334418A
- Authority
- JP
- Japan
- Prior art keywords
- terminal device
- terminal
- distributed data
- priority
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、 共有情報を分割した分散データを複数の端末装置に分散して格納する、情報共有システムにおける情報配置制御方法および端末装置に関するものである。 The present invention relates to an information arrangement control method and a terminal device in an information sharing system, in which distributed data obtained by dividing shared information is distributed and stored in a plurality of terminal devices.
情報を、ネットワークを介して複数の利用者間で共有する場合、中央管理装置(サーバ)に共有する情報を配置し、該情報に対し端末装置(クライアント)からアクセスを行うサーバ−クライアント(S/C)方式が一般的である。これに対し、共有情報を端末装置に分散配置することにより、中央管理装置のディスク容量を必要最小限に押さえ、また、端末装置等のディスクの空き容量を利用することで、システム全体の資源を有効利用する方法がある(例えば、特許文献1)。 When information is shared among a plurality of users via a network, information to be shared is arranged in a central management device (server), and a server-client (S / S) that accesses the information from a terminal device (client) C) The method is common. On the other hand, by distributing the shared information to the terminal devices, the disk capacity of the central management device is kept to the minimum necessary, and the free capacity of the disks of the terminal devices and the like is used to reduce the resources of the entire system. There is a method of effective use (for example, Patent Document 1).
特許文献1によれば、共有する情報を複数の端末装置が分散データとして保持する。共有情報の分散データを保持している端末装置の識別子を中央管理装置で管理し、共有情報を取得する際には、中央管理装置が複数の端末装置から中央管理装置に対し要求された共有情報の分散データを、複数の端末装置から収集し、該分散データを結合した上で要求元に返却する。このように、共有情報を複数の端末装置に分散して格納することにより、システム全体の資源を有効利用する。
前述の従来技術では、分散データの冗長情報を含む冗長情報データ(ファイル)を1つ作成する。これにより、何らかの原因で端末装置から必要な分散データのうちの1つが取得できない場合でも、所望の情報を再構築することを可能としている。 In the prior art described above, one piece of redundant information data (file) including redundant information of distributed data is created. This makes it possible to reconstruct desired information even when one of the necessary shared data cannot be acquired from the terminal device for some reason.
しかし、オフィス環境で扱われるような端末装置は、各端末装置の所有者、もしくは利用者のオフィスでの生活パターンに従い、端末装置の起動・停止が行われるのが通例である。このような環境では、分散データを保持している端末装置が2台以上停止しているために、共有情報の完全体を得るために必要な分散データが端末装置から取得できない状況が頻繁に起こると考えられる。冗長度を高く設定することにより、この問題を回避することも考えられるが、冗長度を高めることは、その分だけ情報格納に必要なディスク容量が増加することとなり、情報の格納効率が悪くなってしまう。 However, a terminal device that is handled in an office environment is usually started and stopped according to the life pattern of each terminal device owner or user in the office. In such an environment, since two or more terminal devices holding the distributed data are stopped, a situation frequently occurs in which the distributed data necessary for obtaining the complete shared information cannot be acquired from the terminal device. it is conceivable that. It is possible to avoid this problem by setting a high redundancy level. However, increasing the redundancy level increases the disk capacity required to store information, and the storage efficiency of information deteriorates. End up.
そこで本発明の目的は、情報を分割した分散データを複数の端末装置に分散格納する情報共有システムにおいて、一部の端末装置が停止していることにより、必要な分散データを取得することが困難となる問題を、格納情報の冗長性のみに頼ることなく、回避することが可能な情報配置制御方法および端末装置を提供することにある。 Therefore, an object of the present invention is to acquire necessary shared data because some terminal devices are stopped in an information sharing system in which distributed data obtained by dividing information is distributed and stored in a plurality of terminal devices. It is an object of the present invention to provide an information arrangement control method and a terminal device that can avoid the above problem without relying only on the redundancy of stored information.
本発明の情報配置制御方法は、
端末装置がその起動、停止時に、周囲の他端末装置に対し、それぞれ起動メッセージ、停止メッセージを通知するステップと、
各端末装置が、周囲の端末装置からの起動メッセージおよび停止メッセージを受信し、自端末装置の起動中における他端末装置の起動状態をパターン情報として蓄積するステップと、
情報がシステムに登録される際に、登録元となる端末装置が、該情報を分割した分散データを複数の端末装置に分散して格納する際に、利用者により指定された特定の端末装置である優先端末が、登録される情報の再構築に必要な分散データを不足なく収集できるように、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、分散データの配置先となる端末装置を選定するステップと、
情報の登録元となる端末装置が、前記優先端末の識別情報である優先端末識別情報を、分散データのメタ情報として該分散データに付与し、該分散データを複数の端末装置に分散して格納するステップと、
分散データを受け取った端末装置が、該分散データに付与されている優先端末識別情報を参照し、さらに、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、該分散データを自端末装置で保持するか、他端末装置に転送するかを判断するステップと、
受け取った分散データを他端末装置に転送しようとする端末装置が、転送先となる端末装置がその時点で起動しているか否かを判断するステップと、
前記判断するステップにおいて、転送先となる端末装置が起動している場合に、分散データを該転送先端末装置に転送するステップと、
前記判断するステップにおいて、転送先となる端末装置が起動していない場合に、該転送先端末装置が起動するまで、分散データを保留状態として一時的に自端末装置で保持するステップと、
を有する。
The information arrangement control method of the present invention includes:
A step of notifying each other terminal device of a start message and a stop message when the terminal device starts and stops; and
Each terminal device receives a startup message and a stop message from surrounding terminal devices, and stores the startup status of other terminal devices during startup of its own terminal device as pattern information;
When information is registered in the system, when the terminal device as the registration source distributes and stores the distributed data obtained by dividing the information in a plurality of terminal devices, the specific terminal device specified by the user Distributing distributed data using startup pattern information stored in the local terminal device so that a priority terminal can collect the distributed data necessary to reconstruct the registered information without a shortage A step of selecting a terminal device, and
The terminal device that is the registration source of information assigns the priority terminal identification information, which is the identification information of the priority terminal, to the distributed data as meta information of the distributed data, and distributes and stores the distributed data in a plurality of terminal devices And steps to
The terminal device that received the distributed data refers to the priority terminal identification information given to the distributed data, and further uses the startup pattern information of the own terminal device / other terminal device stored in the own terminal device. Determining whether the data is held in the terminal device or transferred to another terminal device;
A step of determining whether or not the terminal device to which the received distributed data is to be transferred to another terminal device is activated at that time.
Transferring the distributed data to the transfer destination terminal device when the transfer destination terminal device is activated in the determining step;
In the step of determining, when the terminal device that is the transfer destination is not activated, until the transfer destination terminal device is activated, the step of temporarily holding the distributed data in the hold state in the own terminal device;
Have
登録される情報の分散データを複数の端末装置に分散して格納する際に、自・他端末装置の起動パターン情報を用いて、配置先の選定を行い、さらに、自・他端末装置の起動パターン情報を用いて、分散データを受け取った端末装置が該分散データを自らが保持すべきか、もしくは他端末装置に転送すべきかを各々判断し、必要に応じて分散データの再配置を行う。 When distributed data of registered information is distributed and stored in multiple terminal devices, the placement pattern is selected using the activation pattern information of the own / other terminal devices, and the own / other terminal devices are activated. Using the pattern information, the terminal device that has received the distributed data determines whether the distributed data should be held by itself or transferred to another terminal device, and rearranges the distributed data as necessary.
本発明の実施態様によれば、各端末装置が、自端末装置の停止時に、自らの起動から停止までの間に、周囲の端末装置から通知された起動メッセージおよび停止メッセージをもとに、自端末装置の起動中における他端末装置の起動状態を表わすパターン情報を一旦作成し、それまでに使用していた他端末装置の起動状態を表わすパターン情報との平均をとり、この結果を、他端末装置の起動状態を表わす最新のパターン情報として更新するステップをさらに有する。 According to the embodiment of the present invention, each terminal device can automatically determine whether or not each terminal device is based on the start message and the stop message notified from the surrounding terminal devices during the period from its start to stop. Once the pattern information representing the activation state of the other terminal device during the activation of the terminal device is created, the pattern information representing the activation state of the other terminal device used so far is averaged. The method further includes a step of updating the latest pattern information representing the activation state of the apparatus.
本発明の実施態様によれば、情報の登録元となる端末装置が、該情報を分割した分散データを複数の端末装置に分散して格納する際に、前記優先端末が、登録される情報の再構築に必要な分散データを不足なく収集できるように、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、分散データの配置先となる端末装置を選定する前記ステップは、優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、前記優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、この結果の上位から順に分散データの配置先とする端末装置を選出することを含む。 According to the embodiment of the present invention, when the terminal device that is a registration source of information stores the distributed data obtained by dividing the information in a plurality of terminal devices, the priority terminal stores the information to be registered. The step of selecting a terminal device to which the distributed data is to be arranged using the activation pattern information of the own / other terminal device stored in the own terminal device so that the distributed data necessary for the reconstruction can be collected without a shortage The terminal device designated as the priority terminal is regarded as the highest level, and the following may be already started before the priority terminal is started based on the startup pattern information of the own / other terminal devices. In order from the highest, all the terminal devices including the own terminal device are ranked. Further, if the same order exists in the ranking, the ranking is performed in the order of the longest time that the activation overlaps with the priority terminal, From the top of this result It comprises selecting the terminal device to placement destination of the distributed data.
本発明の実施態様によれば、
分散データを受け取った端末装置が、該分散データに付与されている優先端末識別情報を参照し、さらに、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、該分散データを自端末装置で保持するか、他端末装置に転送するかを判断する前記ステップは、
自端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを保持していない場合は、該分散データを自端末装置で保持すると判断し、
自端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを既に保持している場合は、前記優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、前記優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、該順位において、自端末装置の順位よりも1つ下の順位の端末装置に該分散データを転送すると判断し、
自端末装置以外の端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを保持していない場合は、前記優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、前記優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも低い場合は、該分散データを自端末装置で保持すると判断し、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも高い場合は、順位付けで最上位の端末装置に該分散データを転送すると判断し、
自端末装置以外の端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを既に保持している場合は、前記優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、前記優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも低い場合は、該順位において、自端末装置の順位よりも1つ下の順位の端末装置に該分散データを転送すると判断し、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも高い場合は、順位付けで最上位の端末装置に該分散データを転送すると判断する、
ことを含む。
According to an embodiment of the invention,
The terminal device that received the distributed data refers to the priority terminal identification information given to the distributed data, and further uses the startup pattern information of the own terminal device / other terminal device stored in the own terminal device. The step of determining whether the data is held in the own terminal device or transferred to another terminal device,
When the own terminal device is designated by the priority terminal identification information of the distributed data and does not hold the same kind of the distributed data, it is determined that the distributed data is held by the own terminal device;
When the own terminal device is specified by the priority terminal identification information of the distributed data and already holds the same type of the distributed data, the terminal device specified as the priority terminal is regarded as the highest level, and thereafter Based on the activation pattern information of the own / other terminal devices, ranking is performed on all terminal devices including the own terminal devices in order of the possibility that they are already activated from before the priority terminal is activated, If the same order exists in the ranking, ranking is performed in the order in which the priority terminal and the activation overlap with each other in the longest time, and in the ranking, the terminal that is one rank lower than the rank of the own terminal apparatus Determine to transfer the distributed data to the device;
If a terminal device other than its own terminal device is specified by the priority terminal identification information of the shared data and does not hold the same type of the distributed data, the terminal device specified as the priority terminal is regarded as the highest level. , After that, based on the activation pattern information of the own and other terminal devices, rank all terminal devices including the own terminal device in the order of high possibility that they have already been activated before the priority terminal is activated. In addition, if the same order exists in the ranking, the ranking is performed in order from the longest time the activation overlaps with the priority terminal,
If the rank of the own terminal device is lower than the rank of the terminal device that is the source of the shared data, it is determined that the shared data is held in the own terminal device,
If the rank of the own terminal device is higher than the rank of the terminal device that is the source of the shared data, it is determined that the shared data is transferred to the highest-ranked terminal device in the ranking,
If a terminal device other than its own terminal device is specified by the priority terminal identification information of the shared data and already holds the same type of the distributed data, the terminal device specified as the priority terminal After that, based on the activation pattern information of its own and other terminal devices, all terminal devices including the own terminal device are ranked in descending order of the possibility that they have already been activated before the priority terminal is activated. In addition, if the same order exists in the ranking, the ranking is performed in the order in which the priority terminal and the activation overlap,
When the rank of the own terminal apparatus is lower than the rank of the terminal apparatus that is the source of the shared data, the distributed data is transferred to a terminal apparatus that is one rank lower than the rank of the own terminal apparatus. Judgment
When the rank of the terminal device is higher than the rank of the terminal device that is the source of the shared data, it is determined that the shared data is transferred to the highest-ranked terminal device by ranking.
Including that.
本発明の他の情報配置制御方法は、
分散データを保持している端末装置が、自らが停止する際に、保持している各分散データに付与されている優先端末識別情報を参照し、ここで指定されている優先端末が、自端末装置以外であって、さらにその時点で起動している場合には、該分散データの複製を作成し、複製であることを示す情報である複製フラグを付与して前記優先端末に送信するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、該分散データを自端末装置で保持するか、他端末装置に転送するかを判断し、他端末装置に転送する場合には、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、その時点で起動している他端末装置の中から、転送先となる端末装置を選定するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、分散データの複製の転送先として選定した端末装置が、該分散データと同種の分散データを保持しているか否かを確認するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、前記確認ステップにおいて、分散データの複製の転送先として選定した端末装置が、該分散データと同種の分散データを保持していないことが確認できた場合に、該分散データの複製を転送するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、前記確認ステップにおいて、分散データの複製の転送先として選定した端末装置が、該分散データと同種の分散データを保持していることが確認された場合に、転送先となる次候補の端末装置が、該分散データと同種の分散データを保持しているか否かを確認するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、該分散データの複製の転送先として適当な端末装置が存在しない場合に、該分散データの複製を削除するステップと、
を有する。
Other information arrangement control method of the present invention,
When the terminal device holding the distributed data stops itself, it refers to the priority terminal identification information given to each of the stored distributed data, and the priority terminal specified here is the own terminal If it is other than the device and is activated at that time, a step of creating a copy of the distributed data, giving a copy flag which is information indicating the copy, and transmitting to the priority terminal; ,
The terminal device that has received a copy of the distributed data for which the local terminal device is specified by the priority terminal identification information determines whether the distributed data is held by the local terminal device or transferred to another terminal device, and the other terminal When transferring to a device, use the start pattern information of the own and other terminal devices stored in the own terminal device, and select the terminal device as the transfer destination from the other terminal devices activated at that time. A selection step;
The terminal device selected as the transfer destination of the distributed data by the terminal device that has received the copy of the distributed data whose own terminal device is designated by the priority terminal identification information holds the same kind of distributed data as the distributed data. A step to check whether or not
The terminal device that has received the copy of the distributed data whose own terminal device is specified by the priority terminal identification information, and the terminal device selected as the transfer destination of the copy of the distributed data in the confirmation step is the same type as the distributed data. A step of transferring a copy of the distributed data when it is confirmed that the distributed data is not held;
The terminal device that has received the copy of the distributed data whose own terminal device is specified by the priority terminal identification information, and the terminal device selected as the transfer destination of the copy of the distributed data in the confirmation step is the same type as the distributed data. When it is confirmed that the distributed data is held, the step of confirming whether or not the next candidate terminal device as the transfer destination holds the same kind of distributed data as the distributed data;
When a terminal device that has received a copy of the distributed data whose own terminal device is specified by the priority terminal identification information does not have a suitable terminal device as a transfer destination of the distributed data copy, A step to delete,
Have
分散データを保持している端末装置が停止する際にも、優先端末識別情報と、自・他端末装置の起動パターン情報を用いて、必要に応じて分散データの複製を他端末装置に配置する。 Even when the terminal device holding the distributed data is stopped, a copy of the distributed data is arranged on the other terminal device as necessary using the priority terminal identification information and the activation pattern information of the own / other terminal device. .
本発明の実施態様によれば、前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、該分散データを自端末装置で保持するか、他端末装置に転送するかを判断し、他端末装置に転送する場合には、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、その時点で起動している他端末装置の中から、転送先となる端末装置を選定する前記ステップは、前記優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、自端末装置の停止後も起動している可能性が高い順に、自端末装置を除く全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、該順位の上位から、その時点で起動している端末装置を該分散データの複製の転送先として選定する。 According to an embodiment of the present invention, a terminal device that has received a copy of distributed data for which the local terminal device is specified by the priority terminal identification information holds the distributed data in the local terminal device or sends it to another terminal device. When determining whether to transfer the data to another terminal device, use the activation pattern information stored in the local terminal device for the local terminal device. From the above, the step of selecting a terminal device to be a transfer destination has the terminal device designated as the priority terminal as the highest level, and the subsequent steps are performed based on the activation pattern information of the own / other terminal devices. Prioritize all terminal devices except the own terminal device in the order of high possibility of being activated even after the stop, and if the same order exists in the ranking, the priority terminal and the activation overlap. Ranking in descending order of time , From the upper position that order, selects a terminal device running at this time as the transfer destination of the replication of the distributed data.
本発明の実施態様によれば、
前記優先端末識別情報で他端末装置が指定されている分散データの複製を受け取った端末装置が、停止する際に、保持している各分散データの複製に付与されている優先端末識別情報を参照し、ここで指定されている優先端末がその時点で起動している場合には、該分散データの複製を該優先端末に送信し、自らが保持していた該分散データの複製を削除するステップと、
前記優先端末識別情報で他端末装置が指定されている分散データの複製を受け取った端末装置が、停止する際に、保持している各分散データの複製に付与されている優先端末識別情報を参照し、ここで指定されている優先端末装置がその時点で起動していない場合には、該分散データの複製を削除するステップと、
をさらに有する。
According to an embodiment of the invention,
When a terminal device that has received a copy of the distributed data specified by the other terminal device in the priority terminal identification information stops, refer to the priority terminal identification information given to each copy of the distributed data that is held If the priority terminal designated here is activated at that time, a step of transmitting a copy of the distributed data to the priority terminal and deleting the copy of the distributed data held by itself When,
When a terminal device that has received a copy of the distributed data specified by the other terminal device in the priority terminal identification information stops, refer to the priority terminal identification information given to each copy of the distributed data that is held And if the priority terminal device specified here is not activated at that time, deleting the copy of the distributed data; and
It has further.
本発明の実施態様によれば、
分散データを保持している端末装置が、自らが起動した際に、保持している各分散データに付与されている優先端末識別情報を参照し、さらに、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、該分散データを自端末装置で保持するか、他端末装置に転送するかを判断するステップと、
自らが保持している分散データを他端末装置に転送すべきと判断した端末装置が、転送先となる端末装置がその時点で起動しているか否かを判断するステップと、
前記起動しているか否かを判断するステップにおいて、転送先となる端末装置が起動している場合に、前記分散データを該転送先端末装置に転送するステップと、
前記起動しているか否かを判断するステップにおいて、転送先となる端末装置が起動していない場合に、該転送先端末装置が起動するまで、前記分散データを保留状態として一時的に自端末装置で保持するステップと、
をさらに有する。
According to an embodiment of the invention,
When the terminal device holding the distributed data is started up, the terminal device refers to the priority terminal identification information given to each of the held distributed data, and further stores the own data stored in the own terminal device. Determining whether to use the startup pattern information of the other terminal device to hold the shared data in its own terminal device or transfer it to the other terminal device;
A step of determining whether or not the terminal device serving as the transfer destination is activated at that time when the terminal device that has determined that the distributed data held by itself should be transferred to another terminal device;
In the step of determining whether or not it is activated, when the terminal device that is the transfer destination is activated, the step of transferring the distributed data to the transfer destination terminal device;
In the step of determining whether or not it is activated, if the terminal device that is the transfer destination is not activated, the terminal device is temporarily placed in the suspended data until the transfer destination terminal device is activated until the transfer destination terminal device is activated. Step to hold in,
It has further.
本発明の端末装置は、
自端末装置の起動、および停止メッセージの周囲の端末装置への送信、周囲の端末装置からの起動・停止メッセージの受信、および、その他データの送受信を行う通信手段と、
周囲の端末装置から送られてくる起動・停止メッセージをもとに、自端末装置の起動中における他端末の起動状態を表わすパターン情報を作成、および該情報の更新を行う、周辺端末起動パターン情報生成手段と、
情報の登録時に該情報を分割した分散データの配置先とする端末装置の選定、他端末装置から受け取った分散データを再度他の端末装置に転送する際の転送先とする端末装置の選定を行う配置先選定手段と、
他端末装置から受け取った分散データの取り扱いを判断する分散データ取扱判断手段と
を備える。
The terminal device of the present invention
Communication means for starting the own terminal device, transmitting a stop message to surrounding terminal devices, receiving a start / stop message from surrounding terminal devices, and transmitting / receiving other data;
Peripheral terminal activation pattern information for creating and updating pattern information representing the activation status of other terminals during activation of the own terminal apparatus based on activation / deactivation messages sent from surrounding terminal apparatuses Generating means;
Selection of a terminal device as a distribution destination of distributed data obtained by dividing the information at the time of registration of information, and selection of a terminal device as a transfer destination when transferring distributed data received from another terminal device to another terminal device again Placement destination selection means,
Distributed data handling determining means for determining handling of distributed data received from another terminal device.
本発明によれば、情報を分割した分散データを複数の端末装置に分散して格納する情報共有システムにおいて、登録される情報の分散データを複数の端末装置に分散して格納する際に、配置先の選定を行い、さらに、分散データを受け取った端末装置が該分散データを自らが保持すべきか、もしくは他端末装置に転送すべきかを各々判断し、必要に応じて分散データの再配置を行う。また、分散データを保持している端末装置が停止する際にも、必要に応じて分散データの複製を他端末装置に配置する。これにより、登録時に指定された端末装置が、分散データを確実に収集できるような分散データの配置状態を確保・維持することが可能となる。また、上述の分散データの配置は、端末装置が各々の判断、および処理することにより、中央管理装置に頼ることなく実現することが可能である。 According to the present invention, in an information sharing system in which distributed data obtained by dividing information is distributed and stored in a plurality of terminal devices, the distributed data of registered information is stored when distributed and stored in a plurality of terminal devices. Select the destination, and determine whether the terminal device that has received the distributed data should hold the distributed data or transfer it to another terminal device, and rearrange the distributed data as necessary. . Also, when the terminal device holding the distributed data is stopped, a copy of the distributed data is arranged in another terminal device as necessary. As a result, it becomes possible to secure and maintain the distributed data arrangement state such that the terminal device specified at the time of registration can reliably collect the distributed data. In addition, the above-described arrangement of the distributed data can be realized without depending on the central management device by each determination and processing by the terminal device.
以下、本発明の実施の形態について図面を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は本発明の一実施形態の情報共有システムの構成を示す図である。端末装置11a〜11dは、利用者が共有情報の登録や参照を行う端末装置である。また、端末装置11a〜11dには、共有情報を分割した分散データが格納される。端末装置11a〜11dは、ネットワーク12を介して互いに接続されている。なお、中央管理装置(サーバ)が存在していても構わない。また、端末装置の数は4台に限られず、2台以上任意である。
FIG. 1 is a diagram showing a configuration of an information sharing system according to an embodiment of the present invention. The
図2は、図1の端末装置11a〜11dのブロック図である。端末装置11a〜11dは、通信部101、データ管理部102、データ分割部103、データ結合部104、周辺端末装置起動パターン情報生成部105、分散データ取扱判断部106、データ配置先選定部107、メモリ108、ハードディスク109により構成される。
FIG. 2 is a block diagram of the
次に、各端末装置11a〜11dが、周囲の端末装置から送られてくる起動メッセージおよび停止メッセージをもとに作成する、自端末装置の起動中における他端末の起動状態のパターン情報(周辺端末起動パターン情報200)の作成手順について説明する。
Next, each
図3は、4つの端末装置11a〜11dのある日における起動パターンの例を示す図である。図3の横軸は、実際には時刻を表わすが、本発明では分かりやすくするために単純な数値として表わしている。図3では、端末装置11aが、時刻1で起動し、時刻6で停止することを表わしている。同様に、端末装置11bは、時刻2で起動し、時刻7で停止。端末装置11cは、時刻3で起動し、時刻8で停止。端末装置11dは、時刻4で起動し、時刻9で停止するものとする。
FIG. 3 is a diagram illustrating an example of activation patterns on a certain day of the four
端末装置11a〜11dは、起動時に自身が起動したことを周囲の端末装置に知らせるために、起動メッセージを通知する。また、その際に、既に起動状態にある周囲の端末装置は、起動メッセージを受け、起動メッセージの送り元に対し応答メッセージを返す。新たに起動した端末装置は、応答メッセージを受け取ることにより、既に起動状態にある周囲の端末装置の存在を知ることができる。また、端末装置は、停止時に自身が停止することを周囲の端末装置に知らせるために、停止メッセージを通知する。
The
図3に示す起動パターンに従い、各端末装置11a〜11dが起動、停止を行う場合の周辺端末装置起動パターン情報200の作成手順について端末装置11bを例にとり説明する。
A procedure for creating the peripheral terminal device
端末装置11bは、自らの起動から停止までの間に以下の情報を得る。
・自身(端末装置11b)が、時刻2に起動し、時刻7に停止
・端末装置11aが、自身よりも前から起動しており、時刻6に停止
・端末装置11cが、時刻3に起動し、自身の停止後も起動し続ける
・端末装置11dが、時刻4に起動し、自身の停止後も起動し続ける
これらの情報をもとに、自身の起動時刻、停止時刻が、それぞれ、0、1となるように起動パターン情報を変換し、他端末装置の起動・停止時刻については、自信の起動・停止時刻の相対値となるように変換する。また、このとき、自身よりも前から起動している端末装置の起動時刻については、−0.1とし、自身の停止後も起動し続けている端末の停止時刻については、1.1とする。以下に変換後の情報を示す。
・自身(端末装置11b):起動時刻0、停止時刻1
・端末装置11a:起動時刻−0.1、停止時刻0.8
・端末装置11c:起動時刻0.2、停止時刻1.1
・端末装置11d:起動時刻0.4、停止時刻1.1
該情報は、新規に作成された周辺端末装置起動パターン情報であり、前回停止時に作成した周辺端末装置起動パターン情報がある場合には、新旧の情報の平均を算出し、得られた結果を最終的な周辺端末装置起動パターン情報200として更新する。その際、起動時刻、停止時刻だけでなく、各端末装置の起動時間を算出しておいてもよい。更新された情報は、次回起動時に利用される。
The
The
Self (
The information is newly created peripheral terminal device activation pattern information. If there is peripheral terminal device activation pattern information created at the previous stop, the average of the old and new information is calculated and the obtained result is finalized. Updated as typical peripheral terminal device
周辺端末装置起動パターン情報200は、分散データの配置先の選定や、他端末装置から受け取った分散データの扱いについての判断を行う際に利用する情報であり、上記で説明したように、他端末装置の起動状態を把握し、該周辺端末装置起動パターン情報200を日々蓄積・更新することにより、適切な配置先の選定や判断を中央管理装置等に頼ることなく行う。
The peripheral terminal device
以下では、共有情報を分割した分散データを複数の端末装置に分散して格納する情報共有システムにおける本発明の実施例について説明する。ただし、本発明の情報配置制御方法は、情報を分散データに分割する分割方法、分散データから元の情報の完全体を復元する結合方法、および分散格納された分散データを集める収集方法を限定するものではないことから、分割方法、結合方法、収集方法については特に規定しない。例えば分割方法としては、単純にデータを分割するものであってもよく、また、秘密分散法を用いた分割方法等であってもよい。 Hereinafter, an embodiment of the present invention in an information sharing system in which distributed data obtained by dividing shared information is distributed and stored in a plurality of terminal devices will be described. However, the information arrangement control method of the present invention limits a dividing method for dividing information into distributed data, a combining method for restoring the complete original information from the distributed data, and a collecting method for collecting distributed stored data. Since it is not a thing, a division | segmentation method, a combination method, and a collection method are not prescribed | regulated in particular. For example, as a division method, data may be simply divided, or a division method using a secret sharing method may be used.
本実施形態では、4台の端末装置11a〜11dが、図3に示す起動パターンに従い起動、停止を行い、各端末装置11a〜11dはそれぞれ図4(a)〜(d)に示す周辺端末装置起動パターン情報200a〜200dを蓄積しているものとする。
In the present embodiment, the four
まず、ファイルが登録される際の処理について、端末装置11a〜11dが全て起動している状態(例えば、図3の時刻5)で、端末装置11aからファイル501を登録する場合を例に説明する。
First, processing when a file is registered will be described by taking as an example a case where the file 501 is registered from the
登録の際には、登録を行う端末装置の利用者により、登録するファイル毎に優先端末が指定されるものとする。優先端末とは、登録されるファイルへのアクセス可能性、つまり、登録されるファイルの完全体を取得するために必要な分散データの収集可能性を優先的に確保したい端末のことである。例えば、会社のオフィス内の複数の端末装置にファイルを分散して格納する場合に、任意の端末装置が停止することにより、共有しているファイルの分散データが収集できなくなる可能性があるが、部長が該ファイルの取得要求を行う際に、必要な分散データが不足している状態になっていないようにしたい場合に、部長の端末を優先端末として指定し、ファイル登録を行う。ここでは、端末装置11aの利用者により、端末装置11cが優先端末として指定されるとする。
At the time of registration, it is assumed that a priority terminal is designated for each file to be registered by a user of a terminal device that performs registration. A priority terminal is a terminal that wants to preferentially ensure the accessibility to a registered file, that is, the possibility of collecting distributed data necessary to acquire the complete registered file. For example, when files are distributed and stored in a plurality of terminal devices in the office of a company, there is a possibility that the distributed data of shared files may not be collected because any terminal device stops, When the general manager makes a request to acquire the file, if the desired distributed data is not insufficient, the general manager's terminal is designated as the priority terminal and file registration is performed. Here, it is assumed that the
まず、端末装置11aのローカルファイルであるファイル501が、データ管理部102を介してデータ分割部103に渡され分散データに分割される。ここでは仮に、ファイル401は、データ分割部103で分散データ402と分散データ403の2つに分割されるとする。
First, a file 501 that is a local file of the
次に、データ管理部102は、分散データ402、分散データ403の2つの配置先の選定をデータ配置先選定部107に依頼する。このとき優先端末として端末装置11cを指定し依頼する。
Next, the
データ配置先選定部107は、周辺端末装置起動パターン情報生成部105が保持している周辺端末装置起動パターン情報200aを用いて、2つの分散データ402、403の配置先を選定する。
The data placement
まず、優先端末として指定されている端末装置を最上位とし、以降を、優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行う。このとき、優先端末として指定されている端末装置は無条件で最上位とし、優先端末の起動よりも前から起動していると思われる端末群を上位、優先端末の起動中に起動すると思われる端末群を中位、優先端末の停止後に起動すると思われる端末群を下位と考える。例の場合、図4(a)に示す周辺端末装置起動パターン情報200aから、最上位[端末装置11c]、上位[端末装置11a、端末装置11b]、中位[端末装置11d]、下位[該当なし]となる。次に、該順位付けで同順が存在する場合には、優先端末と起動が重なっている時間が長い順に順位付けを行う。例の場合、端末装置11aと端末装置11bが同順と考える。優先端末である端末装置11cとの起動の重なりを見た場合、端末装置11aは0.6、端末装置11bは0.7となる。以上から、順位付けとしては、最上位[端末装置11c]、2位「端末装置11b」、3位[端末装置11a]、4位[端末装置11d]となる。
First, the terminal device designated as the priority terminal is ranked highest, and the subsequent devices are ranked in order of the high probability that they have already been activated before the priority terminal is activated. I do. At this time, the terminal device designated as the priority terminal is unconditionally set to the highest level, and the terminal group that seems to have been activated before the activation of the priority terminal is considered to be activated while the priority terminal is activated. A terminal group is considered as a middle level, and a terminal group that is expected to start after the priority terminal is stopped is considered as a lower level. In the case of the example, from the peripheral terminal device
例において今、全ての端末装置11a〜11dが起動している状態にあることから、2つの分散データ402、403の配置先として、端末装置11cと端末装置11bが選定される。データ配置先選定部107から配置先の選定結果を受けたデータ管理部102は、分散データ402、分散データ403のそれぞれに優先端末が端末装置11cであることを示す優先端末識別情報をメタ情報として付与した後、分散データ402、分散データ403をそれぞれ端末装置11cと端末装置11bに通信部101を介して送信する。
In the example, since all the
次に、端末装置11aから分散データ402、分散データ403をそれぞれ受け取った端末装置11cおよび端末装置11bでの処理について説明する。
Next, processing in the
通信部101を介して分散データ402を受け取った端末装置11cのデータ管理部102は、分散データ取扱判断部106に判断を依頼する。分散データ取扱判断部106は、受け取った分散データを自端末装置で保持するか、もしくは他端末装置に転送するかを判断する。図5に、分散データ取扱判断部106が、受け取った分散データの処理を判断する際のフローチャートを示す。
The
端末装置11cの分散データ取扱判断部106は、受け取った分散データ402のメタ情報として付与されている優先端末識別情報を参照し、自身が優先端末か否かを確認する。分散データ402には優先端末識別情報として端末装置11cが指定されていることから、自身が優先端末であると判断する(ステップ301)。次に、同種の分散データを既に保持しているか否かを確認する。同種の分散データとは、この例の場合、ファイル401のいずれかの分散データを指す。ここでは、端末装置11cは該当する分散データを保持していないと判断し(ステップ302)、該分散データ402を「保持」すると判断する(ステップ308)。分散データ取扱判断部106は、この結果をデータ管理部102に返却する。これを受けて、データ管理部102は、分散データ402を自端末装置11cのハードディスク109に格納する。
The distributed data handling
次に、端末装置11bでの処理について説明する。端末装置11bでも端末装置11cの場合と同様に、分散データ取扱判断部106において、受け取った分散データ403のメタ情報として付与されている優先端末識別情報を参照し、自身が優先端末か否かを確認する。ここでは、分散データ403には優先端末識別情報として端末装置11cが指定されていることから、自身が優先端末ではないと判断し(ステップ301)、さらに、端末装置11bは該当する分散データを保持していないと判断する(ステップ310)。次に、前述で端末装置11aが分散データの配置先を選定する際に行った端末装置に対する順位付けと同じ要領で、端末装置11bの周辺端末装置起動パターン情報生成部105が保持している周辺端末装置起動パターン情報200bを用いて、順位付けを行う(ステップ316)。ここでは、最上位[端末装置11c]、2位[端末装置11b]、3位[端末装置11a]、4位[端末装置11d]となる。該順位をもとに、分散データ403の送信元である端末装置11aの順位が、自端末装置11bの順位よりも上位か否かを確認する(ステップ317)。ここでは、送信元の端末装置11aの順位は、自端末装置11bの順位よりも低いことから、該分散データを「転送」すると判断し(ステップ319)、転送先として最上位の端末装置11cを選定する(ステップ320)。この時点で、配置先として選定した端末装置11cは起動中であることから(ステップ306)、該端末装置11bへの分散データ403の送信をデータ管理装置102に通知する(ステップ309)。この結果を受け、データ管理部102は、通信部101を介して、該分散データ403を端末装置11cに転送する。ここで仮に、配置先として選定した端末装置が起動していなかった場合は、該端末装置が起動するまで分散データを自端末装置で一時的に保持し(ステップ307)、その後、配置先として選定した端末装置が起動し、該端末装置から起動メッセージを受け取った時点で、転送処理を行う。
Next, processing in the
次に、端末装置11bから分散データ403を受け取った端末装置11cでの処理について説明する。端末装置11cの分散データ取扱判断部106は、受け取った分散データ403のメタ情報として付与されている優先端末識別情報を参照し、自身が優先端末か否かを確認する。分散データ403には優先端末識別情報として端末装置11cが指定されていることから、自身が優先端末であると判断する(ステップ301)。次に、同種の分散データを既に保持しているか否かを確認する。端末装置11bは分散データ402を既に保持していることを確認し(ステップ302)、該分散データ403は、他端末装置に「転送」すると判断する(ステップ303)。次に、前述と同様に、順位付けを行い(ステップ304)、自端末装置11cの順位よりも1つ下位の端末装置である端末装置11bを転送先として選定する(ステップ305)。この時点で、配置先として選定した端末装置11bは起動中であることから(ステップ306)、該端末装置11bへの分散データ403の送信をデータ管理装置102に通知する(ステップ309)。
Next, processing in the
次に、端末装置11cから分散データ403を受け取った端末装置11bでの処理について説明する。端末装置11bの分散データ取扱判断部106は、該分散データ403に指定されている優先端末が自端末装置11bではないと判断し(ステップ301)、また、同種の分散データを保持していないことから(ステップ310)、これまでの説明と同様の要領で順位付けを行い(ステップ316)、送信元である端末装置11cの順位は、自端末装置11bの順位よりも上位であると判断し(ステップ317)、分散データ403を「保持」すると判断する(ステップ318)。分散データ取扱判断部106は、この結果をデータ管理部102に返却し、これを受けたデータ管理部102は、分散データ403を自端末装置11bのハードディスク109に格納する。
Next, processing in the
以上、例において、端末装置11aが、端末装置11cを優先端末として指定して登録したファイル401の分散データ402および分散データ403は、それぞれ端末装置11c、端末装置11bで保持される。この分散データの配置状態は、図3に示した起動パターンに従って各端末装置が起動・停止する傾向がある場合に、優先端末として指定された端末装置11cが、自らが起動した時点で、ファイル401の完全体を取得するのに必要な2つの分散データを収集することが可能であり、かつ2つの分散データを収集することが可能な時間が長い、最良の状態といえる。
As described above, in the example, the distributed data 402 and the distributed data 403 of the file 401 registered by the
次に、端末装置が停止する際に行う処理について、前述のファイル401の登録に続き、端末装置11bが停止する場合を例に説明する。
Next, processing performed when the terminal device stops will be described by taking as an example a case where the
端末装置11bのデータ管理部102は、停止時の処理として、自端末装置11bが保持している全ての分散データについて、各分散データの優先端末識別情報を参照し、該優先端末識別情報で指定されている端末装置が、その時点で起動しているか否かを確認する。例では、端末装置11bは分散データ403を保持しており、分散データ403の優先端末識別情報で指定されている端末装置11cは起動状態にある。この場合、端末装置11bのデータ管理部102は、該分散データ403の複製データ403’を作成し、複製データ403’を分散データ403の優先端末である端末装置11cに送信する。このとき、複製データ403のメタ情報には優先端末識別情報の他に、該データが複製であることを示す複製フラグが含まれる。
The
また、自端末装置11bが保持している全ての分散データについて、各分散データの優先端末識別情報を参照し、該優先端末識別情報で指定されている端末装置が、その時点で起動しているか否かを確認した際に、優先端末識別情報で指定されている端末装置が、その時点で起動していなかった場合は、該当する分散データの複製データの送信処理を行わない。
Also, with respect to all the distributed data held by the own
また、仮に、自端末装置11bが保持している分散データの中に、複製データがあった場合は、該複製データの優先端末識別情報を参照し、指定されている端末装置がその時点で起動している場合には、該端末装置に複製データを送信し、自端末装置で保持している該複製データは削除する。また、指定されている端末装置がその時点で起動していない場合には、自端末装置で保持している該複製データは削除する。
If there is duplicate data in the distributed data held by the
次に、端末装置11bから複製403’を受け取った端末装置11cでの処理について説明する。まず、通信部101を介して複製データ403’を受け取った端末装置11cのデータ管理部102は、分散データ取扱判断部106に判断を依頼する。分散データ取扱判断部106は、同種の分散データを既に保持しているかを確認する。同種の分散データとは、この場合、ファイル401のいずれかの分散データおよび該分散データの複製データを指す。
Next, processing in the
同種の分散データを保持していない場合は、該複製データ403’を「保持」すると判断し、判断結果をデータ管理部102に返却する。これを受けて、データ管理部102は、複製データ403’を自端末装置11cのハードディスク109に格納する。
If the same kind of distributed data is not held, it is determined that the duplicated data 403 ′ is “held”, and the determination result is returned to the
同種の分散データを既に保持している場合には、他端末装置に「転送」すると判断する。次に、データ配置先選定部107は、周辺端末装置起動パターン情報生成部105が保持している周辺端末装置起動パターン情報200cを用いて、複製データ403’の配置先を選定する。ここでは、複製データ403’の優先端末として指定されている自端末装置11cの停止後も起動し続けている可能性の高い順に、自端末装置を除く全端末装置に順位付けを行う。今の例では、周辺端末装置起動パターン情報200cより、1位[端末装置11d]、2位[端末装置11b]、3位[端末装置11a]となる。データ管理部102は該順位の上位の端末装置から順に、複製データと同種の分散データを保持しているか否かの問い合わせを行い、同種の分散データを保持していない端末装置に複製データを通信部101を介して送信する。このとき、適切な配置先が存在しない場合は、複製データの転送は行わず削除してしまう。例えば、順位付けで1位の端末装置11dは複製データ403’と同種の分散データを保持していないことから、端末装置11dに複製を送信することとなる。
If the same kind of distributed data is already held, it is determined to “transfer” to another terminal device. Next, the data placement
複製データを受け取った端末装置は、自端末装置に同種の分散データが保持されていない限り、該複製データを自端末装置が停止するまで保持する。 The terminal device that receives the duplicated data holds the duplicated data until the terminal device stops unless the same type of distributed data is held in the own terminal device.
以上、説明したように、例において、端末装置11bの停止後は、端末装置11cに分散データ402が保持され、端末装置11dに分散データ403の複製データ403’が保持される。この分散データの配置状態は、端末装置11b以外の端末装置11a、端末装置11c、端末装置11dが、図3に示した起動パターンに従って起動・停止を行う場合、優先端末として指定された端末装置11cが、自らが停止するまでの間、ファイル401の完全体を取得するのに必要な2つの分散データを収集することが可能な状態である。
As described above, in the example, after the
次に、端末装置が起動した際に行う処理について説明する。 Next, processing performed when the terminal device is activated will be described.
端末装置のデータ管理部102は、起動時の処理として、自端末装置が保持している全ての分散データについて、各分散データの優先端末識別情報を参照し、優先端末識別情報で自端末装置が優先端末として指定されている分散データについては、そのまま保持し、自端末装置以外の端末装置が優先端末として指定されている分散データについては、周辺端末装置起動パターン情報を参照し、自端末装置が優先端末として指定されている端末装置よりも前から起動している可能性が高く、かつ、優先端末として指定されている端末装置との起動時間の重なりが0よりも大きいか否かを確認し、これに該当する場合は、該分散データはそのまま保持することとし、該当しない場合には、該分散データを優先端末として指定されている端末装置に転送する。
The
このような起動時の処理を行うことにより、各端末装置が日々起動・停止を繰り返すうちに、起動・停止パターンが変化していった場合でも、それに応じた分散データの再配置が行われ、適切な分散データの配置状態が作られる。 By performing such startup processing, even if each terminal device repeats startup / stop every day, even if the startup / stop pattern changes, relocation of distributed data is performed accordingly, Appropriate distributed data placement is created.
なお、端末装置は、その機能を実現するためのプログラムを、コンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータに読み込ませ、実行するものであってもよい。コンピュータ読み取り可能な記録媒体とは、フレキシブルディスク、光磁気ディスク、CD−ROM等の記録媒体、コンピュータシステムに内蔵されるハードディスク装置等の記憶装置を指す。さらに、コンピュータ読み取り可能な記録媒体は、インターネットを介してプログラムを送信する場合のように、短時間、動的にプログラムを保持するもの(伝送媒体もしくは伝送波)、その場合のサーバとなるコンピュータ内の揮発性メモリのように、一定時間プログラムを保持しているものを含む。 The terminal device may record a program for realizing the function on a computer-readable recording medium, read the program recorded on the recording medium, and execute the program. The computer-readable recording medium refers to a recording medium such as a flexible disk, a magneto-optical disk, and a CD-ROM, and a storage device such as a hard disk device built in a computer system. Further, the computer-readable recording medium is a medium that dynamically holds the program for a short time (transmission medium or transmission wave) as in the case of transmitting the program via the Internet, and in the computer serving as a server in that case Such as a volatile memory that holds a program for a certain period of time.
11a〜11d 端末装置
12 ネットワーク
101 通信部
102 データ管理部
103 データ分割部
104 データ結合部
105 周辺端末装置起動パターン情報生成部
106 分散データ取扱判断部
107 データ配置先選定部
108 メモリ
109 ハードディスク
200 周辺端末装置起動パターン情報
200a 端末装置11aの周辺端末装置起動パターン情報
200b 端末装置11bの周辺端末装置起動パターン情報
200c 端末装置11cの周辺端末装置起動パターン情報
200d 端末装置11dの周辺端末装置起動パターン情報
301〜320 ステップ
11a to 11d Terminal device 12
Claims (10)
端末装置がその起動、停止時に、周囲の他端末装置に対し、それぞれ起動メッセージ、停止メッセージを通知するステップと、
各端末装置が、周囲の端末装置からの起動メッセージおよび停止メッセージを受信し、自端末装置の起動中における他端末装置の起動状態をパターン情報として蓄積するステップと、
情報がシステムに登録される際に、登録元となる端末装置が、該情報を分割した分散データを複数の端末装置に分散して格納する際に、利用者により指定された特定の端末装置である優先端末が、登録される情報の再構築に必要な分散データを不足なく収集できるように、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、分散データの配置先となる端末装置を選定するステップと、
情報の登録元となる端末装置が、前記優先端末の識別情報である優先端末識別情報を、分散データのメタ情報として該分散データに付与し、該分散データを複数の端末装置に分散して格納するステップと、
分散データを受け取った端末装置が、該分散データに付与されている優先端末識別情報を参照し、さらに、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、該分散データを自端末装置で保持するか、他端末装置に転送するかを判断するステップと、
受け取った分散データを他端末装置に転送しようとする端末装置が、転送先となる端末装置がその時点で起動しているか否かを判断するステップと、
前記判断するステップにおいて、転送先となる端末装置が起動している場合に、分散データを該転送先端末装置に転送するステップと、
前記判断するステップにおいて、転送先となる端末装置が起動していない場合に、該転送先端末装置が起動するまで、分散データを保留状態として一時的に自端末装置で保持するステップと、
を有する情報配置制御方法。 An information arrangement control method in an information sharing system, wherein distributed data obtained by dividing shared information is distributed and stored in a plurality of terminal devices.
A step of notifying each other terminal device of a start message and a stop message when the terminal device starts and stops; and
Each terminal device receives a startup message and a stop message from surrounding terminal devices, and stores the startup status of other terminal devices during startup of its own terminal device as pattern information;
When information is registered in the system, when the terminal device as the registration source distributes and stores the distributed data obtained by dividing the information in a plurality of terminal devices, the specific terminal device specified by the user Distributing distributed data using startup pattern information stored in the local terminal device so that a priority terminal can collect the distributed data necessary to reconstruct the registered information without a shortage A step of selecting a terminal device, and
The terminal device that is the registration source of information assigns the priority terminal identification information, which is the identification information of the priority terminal, to the distributed data as meta information of the distributed data, and distributes and stores the distributed data in a plurality of terminal devices And steps to
The terminal device that received the distributed data refers to the priority terminal identification information given to the distributed data, and further uses the startup pattern information of the own terminal device / other terminal device stored in the own terminal device. Determining whether the data is held in the terminal device or transferred to another terminal device;
A step of determining whether or not the terminal device to which the received distributed data is to be transferred to another terminal device is activated at that time.
Transferring the distributed data to the transfer destination terminal device when the transfer destination terminal device is activated in the determining step;
In the step of determining, when the terminal device that is the transfer destination is not activated, until the transfer destination terminal device is activated, the step of temporarily holding the distributed data in the hold state in the own terminal device;
An information arrangement control method comprising:
自端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを保持していない場合は、該分散データを自端末装置で保持すると判断し、
自端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを既に保持している場合は、前記優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、前記優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、該順位において、自端末装置の順位よりも1つ下の順位の端末装置に該分散データを転送すると判断し、
自端末装置以外の端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを保持していない場合は、前記優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、前記優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも低い場合は、該分散データを自端末装置で保持すると判断し、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも高い場合は、順位付けで最上位の端末装置に該分散データを転送すると判断し、
自端末装置以外の端末装置が、該分散データの優先端末識別情報で指定されており、同種の該分散データを既に保持している場合は、前記優先端末として指定されている端末装置を最上位とし、以降を、自・他端末装置の起動パターン情報を元に、前記優先端末が起動するよりも前から既に起動している可能性の高い順に、自端末装置を含め全端末装置に順位付けを行い、さらに、該順位付けで同順が存在する場合には、前記優先端末と起動が重なっている時間が長い順に順位付けを行い、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも低い場合は、該順位において、自端末装置の順位よりも1つ下の順位の端末装置に該分散データを転送すると判断し、
自端末装置の順位が、該分散データの送り元の端末装置の順位よりも高い場合は、順位付けで最上位の端末装置に該分散データを転送すると判断する、
ことを含む、請求項1記載の情報配置制御方法。 The terminal device that received the distributed data refers to the priority terminal identification information given to the distributed data, and further uses the startup pattern information of the own terminal device / other terminal device stored in the own terminal device. The step of determining whether the data is held in the own terminal device or transferred to another terminal device,
When the own terminal device is designated by the priority terminal identification information of the distributed data and does not hold the same kind of the distributed data, it is determined that the distributed data is held by the own terminal device;
When the own terminal device is specified by the priority terminal identification information of the distributed data and already holds the same type of the distributed data, the terminal device specified as the priority terminal is regarded as the highest level, and thereafter Based on the activation pattern information of the own / other terminal devices, ranking is performed on all terminal devices including the own terminal devices in order of the possibility that they are already activated from before the priority terminal is activated, If the same order exists in the ranking, ranking is performed in the order in which the priority terminal and the activation overlap with each other in the longest time, and in the ranking, the terminal that is one rank lower than the rank of the own terminal apparatus Determine to transfer the distributed data to the device;
If a terminal device other than its own terminal device is specified by the priority terminal identification information of the shared data and does not hold the same type of the distributed data, the terminal device specified as the priority terminal is regarded as the highest level. , After that, based on the activation pattern information of the own and other terminal devices, rank all terminal devices including the own terminal device in the order of high possibility that they have already been activated before the priority terminal is activated. In addition, if the same order exists in the ranking, the ranking is performed in order from the longest time the activation overlaps with the priority terminal,
If the rank of the own terminal device is lower than the rank of the terminal device that is the source of the shared data, it is determined that the shared data is held in the own terminal device,
If the rank of the own terminal device is higher than the rank of the terminal device that is the source of the shared data, it is determined that the shared data is transferred to the highest-ranked terminal device in the ranking,
If a terminal device other than its own terminal device is specified by the priority terminal identification information of the shared data and already holds the same type of the distributed data, the terminal device specified as the priority terminal After that, based on the activation pattern information of its own and other terminal devices, all terminal devices including the own terminal device are ranked in descending order of the possibility that they have already been activated before the priority terminal is activated. In addition, if the same order exists in the ranking, the ranking is performed in the order in which the priority terminal and the activation overlap,
When the rank of the own terminal apparatus is lower than the rank of the terminal apparatus that is the source of the shared data, the distributed data is transferred to a terminal apparatus that is one rank lower than the rank of the own terminal apparatus. Judgment
When the rank of the terminal device is higher than the rank of the terminal device that is the source of the shared data, it is determined that the shared data is transferred to the highest-ranked terminal device by ranking.
The information arrangement control method according to claim 1, further comprising:
分散データを保持している端末装置が、自らが停止する際に、保持している各分散データに付与されている優先端末識別情報を参照し、ここで指定されている優先端末が、自端末装置以外であって、さらにその時点で起動している場合には、該分散データの複製を作成し、複製であることを示す情報である複製フラグを付与して前記優先端末に送信するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、該分散データを自端末装置で保持するか、他端末装置に転送するかを判断し、他端末装置に転送する場合には、自端末装置で蓄積している自・他端末装置の起動パターン情報を用いて、その時点で起動している他端末装置の中から、転送先となる端末装置を選定するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、分散データの複製の転送先として選定した端末装置が、該分散データと同種の分散データを保持しているか否かを確認するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、前記確認ステップにおいて、分散データの複製の転送先として選定した端末装置が、該分散データと同種の分散データを保持していないことが確認できた場合に、該分散データの複製を転送するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、前記確認ステップにおいて、分散データの複製の転送先として選定した端末装置が、該分散データと同種の分散データを保持していることが確認された場合に、転送先となる次候補の端末装置が、該分散データと同種の分散データを保持しているか否かを確認するステップと、
前記優先端末識別情報で自端末装置が指定されている分散データの複製を受け取った端末装置が、該分散データの複製の転送先として適当な端末装置が存在しない場合に、該分散データの複製を削除するステップと、
を有する情報配置制御方法。 An information arrangement control method in an information sharing system, wherein distributed data obtained by dividing shared information is distributed and stored in a plurality of terminal devices.
When the terminal device holding the distributed data stops itself, it refers to the priority terminal identification information given to each of the stored distributed data, and the priority terminal specified here is the own terminal If it is other than the device and is activated at that time, a step of creating a copy of the distributed data, giving a copy flag which is information indicating the copy, and transmitting to the priority terminal; ,
The terminal device that has received a copy of the distributed data for which the local terminal device is specified by the priority terminal identification information determines whether the distributed data is held by the local terminal device or transferred to another terminal device, and the other terminal When transferring to a device, use the start pattern information of the own and other terminal devices stored in the own terminal device, and select the terminal device as the transfer destination from the other terminal devices activated at that time. A selection step;
The terminal device selected as the transfer destination of the distributed data by the terminal device that has received the copy of the distributed data whose own terminal device is designated by the priority terminal identification information holds the same kind of distributed data as the distributed data. A step to check whether or not
The terminal device that has received the copy of the distributed data whose own terminal device is specified by the priority terminal identification information, and the terminal device selected as the transfer destination of the copy of the distributed data in the confirmation step is the same type as the distributed data. A step of transferring a copy of the distributed data when it is confirmed that the distributed data is not held;
The terminal device that has received a copy of the distributed data whose own terminal device is specified by the priority terminal identification information, and the terminal device selected as the transfer destination of the distributed data copy in the confirmation step is the same type as the distributed data. When it is confirmed that the distributed data is held, the step of confirming whether or not the next candidate terminal device as the transfer destination holds the same kind of distributed data as the distributed data;
When a terminal device that has received a copy of the distributed data whose own terminal device is specified by the priority terminal identification information does not have a suitable terminal device as a transfer destination of the distributed data copy, A step to delete,
An information arrangement control method comprising:
前記優先端末識別情報で他端末装置が指定されている分散データの複製を受け取った端末装置が、停止する際に、保持している各分散データの複製に付与されている優先端末識別情報を参照し、ここで指定されている優先端末装置がその時点で起動していない場合には、該分散データの複製を削除するステップと、
をさらに有する、請求項5記載の情報配置制御方法。 When a terminal device that has received a copy of the distributed data specified by the other terminal device in the priority terminal identification information stops, refer to the priority terminal identification information given to each copy of the distributed data that is held If the priority terminal designated here is activated at that time, a step of transmitting a copy of the distributed data to the priority terminal and deleting the copy of the distributed data held by itself When,
When a terminal device that has received a copy of the distributed data specified by the other terminal device in the priority terminal identification information stops, refer to the priority terminal identification information given to each copy of the distributed data that is held And if the priority terminal device specified here is not activated at that time, deleting the copy of the distributed data; and
The information arrangement control method according to claim 5, further comprising:
自らが保持している分散データを他端末装置に転送すべきと判断した端末装置が、転送先となる端末装置がその時点で起動しているか否かを判断するステップと、
前記起動しているか否かを判断するステップにおいて、転送先となる端末装置が起動している場合に、前記分散データを該転送先端末装置に転送するステップと、
前記起動しているか否かを判断するステップにおいて、転送先となる端末装置が起動していない場合に、該転送先端末装置が起動するまで、前記分散データを保留状態として一時的に自端末装置で保持するステップと、
をさらに有する、請求項1または5記載の情報配置制御方法。 When the terminal device holding the distributed data is started up, the terminal device refers to the priority terminal identification information given to each of the held distributed data, and further stores the own data stored in the own terminal device. Determining whether to use the startup pattern information of the other terminal device to hold the shared data in its own terminal device or transfer it to the other terminal device;
A step of determining whether or not the terminal device serving as the transfer destination is activated at that time when the terminal device that has determined that the distributed data held by itself should be transferred to another terminal device;
In the step of determining whether or not it is activated, when the terminal device that is the transfer destination is activated, the step of transferring the distributed data to the transfer destination terminal device;
In the step of determining whether or not it is activated, if the terminal device that is the transfer destination is not activated, the terminal device is temporarily placed in the suspended data until the transfer destination terminal device is activated until the transfer destination terminal device is activated. Step to hold in,
The information arrangement control method according to claim 1, further comprising:
自端末装置の起動、および停止メッセージの周囲の端末装置への送信、周囲の端末装置からの起動・停止メッセージの受信、および、その他データの送受信を行う通信手段と、
周囲の端末装置から送られてくる起動・停止メッセージをもとに、自端末装置の起動中における他端末の起動状態を表わすパターン情報を作成、および該情報の更新を行う、周辺端末起動パターン情報生成手段と、
情報の登録時に該情報を分割した分散データの配置先とする端末装置の選定、他端末装置から受け取った分散データを再度他の端末装置に転送する際の転送先とする端末装置の選定を行う配置先選定手段と、
他端末装置から受け取った分散データの取り扱いを判断する分散データ取扱判断手段と
を備える端末装置。 A terminal device in an information sharing system for distributing and storing distributed data obtained by dividing shared information in a plurality of terminal devices,
Communication means for starting the own terminal device, transmitting a stop message to surrounding terminal devices, receiving a start / stop message from surrounding terminal devices, and transmitting / receiving other data;
Peripheral terminal activation pattern information for creating and updating pattern information representing the activation status of other terminals during activation of the own terminal apparatus based on activation / deactivation messages sent from surrounding terminal apparatuses Generating means;
Selection of a terminal device as a distribution destination of distributed data obtained by dividing the information at the time of registration of information, and selection of a terminal device as a transfer destination when transferring distributed data received from another terminal device to another terminal device again Placement destination selection means,
A terminal apparatus comprising: distributed data handling determination means for determining handling of distributed data received from another terminal apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006162290A JP2007334418A (en) | 2006-06-12 | 2006-06-12 | Information arrangement control method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006162290A JP2007334418A (en) | 2006-06-12 | 2006-06-12 | Information arrangement control method and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007334418A true JP2007334418A (en) | 2007-12-27 |
Family
ID=38933872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006162290A Pending JP2007334418A (en) | 2006-06-12 | 2006-06-12 | Information arrangement control method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007334418A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015015037A (en) * | 2011-03-14 | 2015-01-22 | 株式会社ニコン | Electronic device, and method and program for controlling electronic device |
-
2006
- 2006-06-12 JP JP2006162290A patent/JP2007334418A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015015037A (en) * | 2011-03-14 | 2015-01-22 | 株式会社ニコン | Electronic device, and method and program for controlling electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4265245B2 (en) | Computer system | |
JP6963168B2 (en) | Information processing device, memory control method and memory control program | |
US7634566B2 (en) | Arrangement in a network for passing control of distributed data between network nodes for optimized client access based on locality | |
US7844775B2 (en) | Distribution of data in a distributed shared storage system | |
US20100138540A1 (en) | Method of managing organization of a computer system, computer system, and program for managing organization | |
CN110474940B (en) | Request scheduling method, device, electronic equipment and medium | |
JP2003248611A (en) | Storage management integration system and its storage management control method | |
CN101668046A (en) | Resource caching method, resource obtaining method, device and system thereof | |
JP2008250767A (en) | Distributed storage system | |
JP2004302937A (en) | Program-mapping method and implementation system thereof, as well as processing program thereof | |
CN105824810A (en) | Hadoop cluster system and data processing method | |
CN102413156A (en) | Distributed data storage system and method | |
JP2000207370A (en) | Distributed file management device and distributed file management system | |
CN1602480A (en) | Managing storage resources attached to a data network | |
KR100977159B1 (en) | Method And System Of File Metadata Management Transparent About Address Changing Of Data Servers And Their Disk Movements | |
Rajalakshmi et al. | An improved dynamic data replica selection and placement in cloud | |
US20100161585A1 (en) | Asymmetric cluster filesystem | |
JP5758449B2 (en) | Data rearrangement apparatus, method and program | |
CN111737052A (en) | Distributed object storage system and method | |
JP2007334418A (en) | Information arrangement control method and terminal equipment | |
JP3522820B2 (en) | Distributed processing system | |
CN111382132A (en) | Medical image data cloud storage system | |
CN107145303B (en) | Method and equipment for executing file writing in distributed storage system | |
JP2004139200A (en) | File management program and file management system | |
JP2021077374A (en) | Synchronous object placement for information lifecycle management |