JP2009021788A - Information storage system - Google Patents
Information storage system Download PDFInfo
- Publication number
- JP2009021788A JP2009021788A JP2007182349A JP2007182349A JP2009021788A JP 2009021788 A JP2009021788 A JP 2009021788A JP 2007182349 A JP2007182349 A JP 2007182349A JP 2007182349 A JP2007182349 A JP 2007182349A JP 2009021788 A JP2009021788 A JP 2009021788A
- Authority
- JP
- Japan
- Prior art keywords
- operation setting
- setting information
- information
- network device
- network
- 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 a network device that controls and monitors a device according to predetermined setting information and an information storage system that multiplexes and stores the setting information between requesters.
従来より、プラグアンドプレイやP2P(Peer-to-peer)通信を行う埋め込み型デバイスネットワークの進歩によって、クライアント−サーバシステムにおけるデータの耐性に関する問題を解消することが提案されている。この埋め込み型デバイスネットワークを実現する技術は、デバイスのデータ及びコンピュータ処理プログラムをネットワークに分散することを実現している。この埋め込み型デバイスネットワークにおいては、データの耐性を保持するために、システムの一部が故障した場合であっても、コンピュータ処理プログラムやデータの整合性を保護する必要がある。 2. Description of the Related Art Conventionally, it has been proposed to solve problems related to data durability in a client-server system by progress of an embedded device network that performs plug-and-play and P2P (Peer-to-peer) communication. The technology for realizing this embedded device network realizes that device data and computer processing programs are distributed over the network. In this embedded device network, in order to maintain data durability, it is necessary to protect the integrity of computer processing programs and data even when a part of the system fails.
コンピュータ処理プログラムやデータの耐性を保持する手法としては、一般的に、コンピュータ処理プログラムやデータをネットワーク内で重複させて記憶させることが行われている。データを重複させることにより、システムの一部が故障した場合であっても、システム修復後であれば、データを修復できる。 As a technique for maintaining the resistance of computer processing programs and data, generally, computer processing programs and data are stored in a duplicated manner in a network. By duplicating the data, even if a part of the system fails, the data can be restored after the system is restored.
このように、データの耐性を保持するために、従来では、ネットワークにおける情報を高い信頼性でバックアップし且つ機密性を高めたサービスを提供する情報バックアップサーバや、複数の端末間でデータ分散を行う分散型RAID(Redundant Array of Inexpensive Disks)システム等を使用することが考えられている。また、サーバにデータをバックアップしておく技術としては、下記の特許文献1等が挙げられる。
As described above, in order to maintain the durability of data, conventionally, an information backup server that provides a highly reliable backup of information on a network and provides a highly confidential service, and data distribution among a plurality of terminals are performed. It is considered to use a distributed RAID (Redundant Array of Inexpensive Disks) system or the like. Further, as a technology for backing up data to a server, the following
更に、従来より、ネットワークを構成するデバイスによってシステム全体での情報のコピーを重複させて記憶させる技術や、システム全体の情報を全デバイスにおいて平等に分散させる技術も提案されている。
しかしながら、上述の従来のネットワーク技術において、情報バックアップサーバを備えるシステムでは、当該情報バックアップサーバとデバイスとを接続すること自体が信頼性の問題となる場合がある。例えば、情報バックアップサーバに対する接続ができなくなった場合、情報バックアップサーバが応答できずにバックアップしたコンピュータ処理プログラムやデータを使用することができず、データロスの可能性が発生する。 However, in the above-described conventional network technology, in a system including an information backup server, connecting the information backup server and the device itself may be a problem of reliability. For example, when connection to the information backup server becomes impossible, the information backup server cannot respond and the backed up computer processing program and data cannot be used, and the possibility of data loss occurs.
また、上述の分散型RAIDを利用したシステムでは、複数の端末を使用するために、システムを構成するためのコスト、メンテナンスコスト、修復コストが高くなる。また、システムの容量が多くなって消費電力が高くなってしまう。 Further, in the system using the above-described distributed RAID, since a plurality of terminals are used, the cost for configuring the system, the maintenance cost, and the repair cost are increased. In addition, the capacity of the system increases and power consumption increases.
更に、システム全体の情報をデバイスに重複又は分散させて記憶させる技術は、ネットワークを構成する全てのデバイスで同容量のデータ記憶能力を有する必要があるので、メモリ容量が小さいデバイスは当該技術を採用したネットワークに参加できず、データロスに対する耐性が低くなってしまう。したがって、システム全体の情報をデバイスに重複又は分散させて記憶させる技術は、メモリ容量が高い高機能なデバイスのみに適用可能な技術であり、システム全体におけるコストが高くなってしまう。 Furthermore, since the technology for storing the entire system information in the device by duplicating or distributing it is necessary for all the devices that make up the network to have the same capacity for data storage, this technology is adopted for devices with small memory capacity. Cannot join the network, and the tolerance to data loss is low. Therefore, the technology for storing the information of the entire system in an overlapped or distributed manner in the device is a technology that can be applied only to a highly functional device having a high memory capacity, and the cost of the entire system is increased.
更にまた、システム全体の情報をデバイスに重複させて記憶させる技術は、膨大な量の重複データがあり、各デバイスがシステム全体の情報を記憶できるものである必要があるため、当該制約から、メモリ容量が少ないデバイスには不向きである。この技術を採用したネットワークにおいて、それぞれのデバイスのメモリ容量が一定である場合には、システム全体の情報は単純にデバイス数に比例し、デバイス数が各デバイスのメモリ容量よりも高い場合には信頼性がなくなってしまう。 Furthermore, the technology for storing the information of the entire system by duplicating the information in the device has a huge amount of duplicate data, and each device needs to be able to store the information of the entire system. Not suitable for devices with low capacity. In a network employing this technology, if the memory capacity of each device is constant, the information of the entire system is simply proportional to the number of devices, and reliable if the number of devices is higher than the memory capacity of each device. Sex disappears.
更にまた、メモリ容量が低いデバイスや、端末のようにメモリ容量が高いデバイス等が混在している埋め込み型デバイスネットワークは異質なものであるが、ほとんどのデバイスはメモリ容量が小さいものである。システム全体の情報を重複させる技術において、各デバイスが記憶できるデータ量は、最もメモリ容量が小さいデバイスに規制されて、メモリ容量が高いデバイスのメモリ容量の範囲の一部しか使用できない。したがって、埋め込み型デバイスネットワーク全体で利用できるメモリ容量を無駄にしてしまうという問題がある。 Furthermore, an embedded device network in which devices having a low memory capacity and devices having a high memory capacity such as terminals are mixed is different, but most devices have a small memory capacity. In the technology for duplicating information of the entire system, the amount of data that can be stored in each device is restricted to the device having the smallest memory capacity, and only a part of the range of the memory capacity of the device having the high memory capacity can be used. Therefore, there is a problem that the memory capacity that can be used in the entire embedded device network is wasted.
そこで、本発明は、上述した実情に鑑みて提案されたものであり、ネットワークにおけるデータロスに対する耐性を保持すると共に、システムを構成するネットワーク機器のメモリ容量が均一でない場合でもシステム全体のメモリ容量を有効に使用できる情報記憶システムを提供することを目的とする。 Therefore, the present invention has been proposed in view of the above-described circumstances, and maintains resistance to data loss in the network, and also reduces the memory capacity of the entire system even when the memory capacity of network devices constituting the system is not uniform. An object of the present invention is to provide an information storage system that can be used effectively.
本発明は、複数のネットワーク機器を有し、各ネットワーク機器が、自己が動作するために必要な動作設定情報を他のネットワーク機器に記憶させる情報記憶システムにおいて、複数のネットワーク機器のうちの一部又は全部のネットワーク機器は、他のネットワーク機器から送信された動作設定情報を記憶し、当該他のネットワーク機器の動作設定情報のバックアップメモリとして機能するバックアップ用記憶手段を有し、それぞれのネットワーク機器は、自己の動作設定情報を記憶する情報記憶手段と、他のネットワーク機器と通信回線を介して接続されて、当該他のネットワーク機器と通信を行う通信手段と、情報記憶手段に記憶された自己の動作設定情報を他のネットワーク機器のバックアップ用記憶手段に記憶させる記憶制御手段とを備える。 The present invention provides an information storage system that includes a plurality of network devices, and each network device stores operation setting information necessary for its operation in another network device. Alternatively, all network devices store operation setting information transmitted from other network devices, and have backup storage means that function as a backup memory for the operation setting information of the other network devices. An information storage means for storing its own operation setting information, a communication means connected to another network device via a communication line and communicating with the other network device, and an own storage device stored in the information storage means. Storage control means for storing operation setting information in backup storage means of other network devices Equipped with a.
このような情報記憶システムにおいて、上述の課題を解決するために、記憶制御手段は、自己の動作設定情報及び通信回線を介して接続された他のネットワーク機器の動作設定情報の重要度が予め設定され、複数のネットワーク機器の動作設定情報のうち重要度の低い動作設定情報の複製数よりも、重要度の高いネットワーク機器の動作設定情報の複製数を多くするように動作設定情報をバックアップ用記憶手段に記憶させ、記憶制御手段は、バックアップ用記憶手段を有するネットワーク機器からバックアップ用記憶手段のメモリ状態を取得して、自己の動作設定情報の重要度に基づく複製数分の自己の動作設定情報が記憶不能であると判定した場合には、重要度に基づく複製数よりも動作設定情報の複製数が最も多いネットワーク機器を判定して、当該ネットワーク機器の動作設定情報に代えて、自己の動作設定情報を記憶させる。 In such an information storage system, in order to solve the above-described problems, the storage control means sets in advance the importance of its own operation setting information and operation setting information of other network devices connected via a communication line. The operation setting information is stored for backup so that the number of copies of the operation setting information of the network device having the higher importance is larger than the number of copies of the operation setting information of the lower importance among the operation setting information of the plurality of network devices. The storage control means acquires the memory state of the backup storage means from the network device having the backup storage means, and own operation setting information for the number of copies based on the importance of the own operation setting information. If the network device has the largest number of copies of operation setting information than the number of copies based on importance, Constant to, instead of the operation setting information of the network devices, and stores the operation setting information for itself.
本発明に係る情報記憶システムによれば、他のネットワーク機器からの要求に従って、バックアップ用記憶手段に記憶させる動作設定情報を動的に変化させるので、動作設定情報に重要度が設定されていても、複数のネットワーク機器の動作設定情報の保持状態を最適化することができ、ネットワークにおけるデータロスに対する耐性を保持すると共に、システムを構成するネットワーク機器のメモリ容量が均一でない場合でもシステム全体のメモリ容量を有効に使用できる。 According to the information storage system of the present invention, the operation setting information to be stored in the backup storage means is dynamically changed according to a request from another network device. Therefore, even if the importance is set in the operation setting information In addition, it is possible to optimize the holding state of operation setting information of a plurality of network devices, maintain resistance against data loss in the network, and even if the memory capacity of the network devices constituting the system is not uniform, the memory capacity of the entire system Can be used effectively.
以下、本発明の実施の形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
本発明は、システム全体における分散型共有メモリ1を利用して、複数のネットワーク機器に必要な情報を重複して記憶する動作を動的に変化させることによって、ネットワーク機器に必要な情報のデータロスを回避する分散記憶システムに適用される。
The present invention uses the distributed shared
具体的には、分散記憶システムにおいては、各ネットワーク機器(後述のデバイスコントローラ)に、自己の動作設定情報(後述の構成記述ファイル)及び通信回線を介して接続された他のネットワーク機器の動作設定情報の重要度が予め設定されている。そして、各ネットワーク機器は、複数のネットワーク機器の動作設定情報のうち重要度の低い動作設定情報の複製数よりも、重要度の高いネットワーク機器の動作設定情報の複製数を多くするように動作設定情報をバックアップ用記憶手段に記憶させ、記憶制御手段は、バックアップ用記憶手段(後述の分散型共有メモリ)を有するネットワーク機器からバックアップ用記憶手段のメモリ状態を取得し、自己の動作設定情報の重要度に基づく複製数分の自己の動作設定情報が記憶不能であると判定した場合には、重要度に基づく複製数よりも動作設定情報の複製数が最も多いネットワーク機器を判定して、当該ネットワーク機器の動作設定情報に代えて、自己の動作設定情報を記憶させるものである。 Specifically, in the distributed storage system, each network device (device controller described later) has its own operation setting information (configuration description file described later) and operation settings of other network devices connected via a communication line. The importance of information is set in advance. Each network device is configured to increase the number of copies of the operation setting information of the network device having the higher importance than the number of copies of the operation setting information of the lower importance among the operation setting information of the plurality of network devices. The information is stored in the backup storage means, and the storage control means acquires the memory state of the backup storage means from the network device having the backup storage means (distributed shared memory to be described later), and determines the importance of its own operation setting information. If it is determined that the operation setting information corresponding to the number of replicas based on the degree cannot be stored, the network device having the largest number of replicas of the operation setting information than the number of replicas based on the importance is determined, and the network Instead of the device operation setting information, its own operation setting information is stored.
この分散記憶システムにおける重要度とは、例えば、人命に関わる防災等に関するデバイスと接続されているデバイスコントローラの動作設定情報は、重要度が高い。また、火災(熱検知)センサ、煙センサを接続しているデバイスコントローラの動作設定情報も同様に、分散記憶システムにおける重要度が高く設定される。更に、入出退カメラ、防犯センサといった防犯に関するデバイスと接続されているデバイスコントローラといったような財産を守るデバイスコントローラの動作設定情報は、重要度が高くなる。 With regard to the importance in this distributed storage system, for example, the operation setting information of a device controller connected to a device related to disaster prevention related to human life is highly important. Similarly, the operation setting information of the device controller connected to the fire (heat detection) sensor and the smoke sensor is also set to be highly important in the distributed storage system. Furthermore, the operation setting information of a device controller that protects assets such as a device controller connected to a device related to crime prevention such as an entrance / exit camera and a security sensor is highly important.
これに対し、人名、財産、防犯には直接的に関連しない空調機器や、照明機器のみを接続しているデバイスコントローラの動作設定情報は、重要度が低くなる。 On the other hand, the operation setting information of an air conditioner that is not directly related to a person's name, property, and crime prevention, or a device controller that is connected only to a lighting device is less important.
[分散記憶システムの基本的な構成例]
分散記憶システムは、例えば図1に示すように、汎用バスであるネットワークNWに複数のデバイスコントローラ(ネットワーク機器)D1〜D4(以下、総称する場合には、単に「デバイスコントローラDi」と呼ぶ。)が接続された分散記憶システムに適用される。汎用バスであるネットワークNWは、例えば、IP(Internet Protocol)を使用したインターネット等が挙げられる。複数のデバイスコントローラD1〜D4は、それぞれ、P2P(Peer-to-peer)通信が可能となっており、相互で情報の授受が可能となっている。
[Example of basic configuration of distributed storage system]
For example, as shown in FIG. 1, the distributed storage system includes a plurality of device controllers (network devices) D1 to D4 (hereinafter collectively referred to as “device controller Di”) in a network NW that is a general-purpose bus. Applies to connected distributed storage systems. Examples of the network NW that is a general-purpose bus include the Internet using IP (Internet Protocol). Each of the plurality of device controllers D1 to D4 can perform P2P (Peer-to-peer) communication, and can exchange information with each other.
各デバイスコントローラDiは、複数の末端デバイスがフィールドバスに接続されてなるサブネットワークが接続されている。デバイスコントローラD1〜D4は、フィールドバスに接続された複数の末端デバイスの制御、監視等をするための情報を格納した構成記述ファイルCFGi(C1〜C4)が記憶されている。また、デバイスコントローラD1〜D4は、他のデバイスコントローラDiの構成記述ファイルCFGiを、それぞれ自己の分散型共有メモリ1−D1,1−D2,1−D3,1−D4に記憶している。この分散型共有メモリ1は、自己の構成記述ファイルCFGiを記憶する記憶手段とは別に設けられて、他のデバイスコントローラDiの構成記述ファイルCFGiのバックアップ用記憶手段として機能する。
Each device controller Di is connected to a subnetwork in which a plurality of end devices are connected to a field bus. The device controllers D1 to D4 store configuration description files CFGi (C1 to C4) that store information for controlling and monitoring a plurality of terminal devices connected to the fieldbus. The device controllers D1 to D4 store the configuration description file CFGi of the other device controller Di in their own distributed shared memories 1-D1, 1-D2, 1-D3, 1-D4, respectively. This distributed shared
図1に示す例では、デバイスコントローラD1の分散型共有メモリ1−D1は、他のデバイスコントローラDiの構成記述ファイルCFGiが3個分格納可能なメモリ容量(3スロット)となっており、デバイスコントローラD2の分散型共有メモリ1−D2は、他のデバイスコントローラDiの構成記述ファイルCFGiが2個分格納可能なメモリ容量(2スロット)となっており、デバイスコントローラD3の分散型共有メモリ1−D3は、他のデバイスコントローラDiの構成記述ファイルCFGiが3個分格納可能なメモリ容量(3スロット)となっており、デバイスコントローラD4の分散型共有メモリ1−D4は、他のデバイスコントローラDiの構成記述ファイルCFGiが格納できないメモリ容量(分散型共有メモリ1がない)状態となっている。分散型共有メモリ1−D1には、構成記述ファイルCFG2,CFG3,CFG4が記憶され、分散型共有メモリ1−D2には、構成記述ファイルCFG1,CFG3が記憶され、分散型共有メモリ1−D3には、構成記述ファイルCFG1,CFG2,CFG4が記憶され、分散型共有メモリ1−D4には、構成記述ファイルCFGiが記憶されていない状態となっている。 In the example shown in FIG. 1, the distributed shared memory 1-D1 of the device controller D1 has a memory capacity (three slots) that can store three configuration description files CFGi of other device controllers Di. The distributed shared memory 1-D2 of D2 has a memory capacity (two slots) that can store two configuration description files CFGi of other device controllers Di, and the distributed shared memory 1-D3 of the device controller D3. Has a memory capacity (3 slots) capable of storing three configuration description files CFGi of other device controllers Di, and the distributed shared memory 1-D4 of the device controller D4 has a configuration of the other device controller Di. Memory capacity that cannot store description file CFGi (distributed shared memory 1 ) Has become a state. The distributed shared memory 1-D1 stores configuration description files CFG2, CFG3, CFG4, the distributed shared memory 1-D2 stores configuration description files CFG1, CFG3, and the distributed shared memory 1-D3. The configuration description files CFG1, CFG2, and CFG4 are stored, and the configuration description file CFGi is not stored in the distributed shared memory 1-D4.
したがって、この分散記憶システムは、それぞれのデバイスコントローラDiで異なる容量の分散型共有メモリ1を有していて、それぞれのデバイスコントローラDiは、他のデバイスコントローラDiや他のネットワーク機器からの要求に従って、自己の分散型共有メモリ1に記憶させる構成記述ファイルCFGiを動的に変化させる。すなわち、各デバイスコントローラDiは、複数のデバイスコントローラDiの構成記述ファイルCFGiのうち重要度の低い構成記述ファイルCFGiの複製数よりも、重要度の高いネットデバイスコントローラDiの構成記述ファイルCFGiの複製数を多くするように構成記述ファイルCFGiを分散型供給メモリ1に記憶させる。
Therefore, this distributed storage system has a distributed shared
[分散記憶システムの基本的な動作]
この分散記憶システムは、図2に示すように、他のデバイスコントローラDiの構成記述ファイルCFGiが更新されたことに応じて自己に記憶させている分散型共有メモリ1を更新すると共に、図3に示すように、他のデバイスコントローラDiに自己の分散型共有メモリ1に記憶している構成記述ファイルCFGiを提供する機能を有する。
[Basic operation of distributed storage system]
As shown in FIG. 2, this distributed storage system updates the distributed shared
分散記憶システムにおいて、例えば作業者によって構成記述ファイルCFG4が更新された構成記述ファイルCFG4+とされると、デバイスコントローラD4は、他のデバイスコントローラDiに記憶されている構成記述ファイルCFG4を構成記述ファイルCFG4+に更新するファイル更新リクエストをネットワークNWにブロードキャストする。そして、構成記述ファイルCFG4を記憶しているデバイスコントローラD1、デバイスコントローラD3は、ファイル更新リクエストを受信すると、自己の分散型共有メモリ1−D1,1−D3に記憶された構成記述ファイルCFG4を、当該ファイル更新リクエストに添付された構成記述ファイルCFG4+に更新する。また、デバイスコントローラD3は、構成記述ファイルCFG4を記憶していないので、ファイル更新リクエストを破棄する。 In the distributed storage system, for example, when the configuration description file CFG4 + is updated by the operator, the device controller D4 converts the configuration description file CFG4 stored in another device controller Di to the configuration description file CFG4 +. Broadcast a file update request to be updated to the network NW. When the device controller D1 and the device controller D3 storing the configuration description file CFG4 receive the file update request, the configuration description file CFG4 stored in their own distributed shared memories 1-D1 and 1-D3, Update to the configuration description file CFG4 + attached to the file update request. Further, since the device controller D3 does not store the configuration description file CFG4, it discards the file update request.
また、作業者によって、図3(a)に示すようにデバイスコントローラD4が新たなデバイスコントローラDiにハードウェア交換されて、図3(b)に示すようにデバイスコントローラD4となるためのデバイスコントローラIDが付加されると、デバイスコントローラD4は、自己の構成記述ファイルCFGiを要求するために、デバイスコントローラIDを含むファイル転送リクエストをネットワークNWにブロードキャストする。 Also, the device controller ID for the device controller D4 to be replaced with a new device controller Di as shown in FIG. 3A by the operator to become the device controller D4 as shown in FIG. 3B. Is added, the device controller D4 broadcasts a file transfer request including the device controller ID to the network NW in order to request its own configuration description file CFGi.
そして、図3(c)に示すように、構成記述ファイルCFG4を記憶しているデバイスコントローラD1は、ファイル転送リクエストを受信すると、自己の分散型共有メモリ1−D1に記憶された構成記述ファイルCFG4をデバイスコントローラD4に返信する。これによって、デバイスコントローラD4は、フィールドバスの末端デバイスと通信するための構成記述ファイルCFG4を取得できる。ここで、デバイスコントローラDi3は、現在記憶制御部12を含む処理負荷が高いために、デバイスコントローラD4からのファイル転送リクエストをキャンセルしている。また、デバイスコントローラD3は、構成記述ファイルCFG4を記憶していないので、ファイル転送リクエストを破棄する。
As shown in FIG. 3C, when the device controller D1 storing the configuration description file CFG4 receives the file transfer request, the configuration description file CFG4 stored in its own distributed shared memory 1-D1. Is returned to the device controller D4. As a result, the device controller D4 can obtain the configuration description file CFG4 for communicating with the end device of the fieldbus. Here, the device controller Di3 cancels the file transfer request from the device controller D4 because the processing load including the
このように分散記憶システムは、ネットワークNWに接続された他のデバイスコントローラDiの構成記述ファイルCFGiが更新された場合や、他のデバイスコントローラDiが交換されて構成記述ファイルCFGiを保持していない場合に、当該他のデバイスコントローラDiに自己が持っている構成記述ファイルCFGiが提供できるようになっている。したがって、この分散記憶システムは、以下に説明するように、それぞれのネットワーク機器のメモリ容量が異なり、且つ各ネットワーク機器の構成記述ファイルCFGiの重要度が異なる場合でも、互いに他のネットワーク機器の構成記述ファイルCFGiの記憶状態を動的に変化させて、各ネットワーク機器の構成記述ファイルCFGiのデータロスに対する耐性を保持することを特徴とするものである。 As described above, in the distributed storage system, when the configuration description file CFGi of another device controller Di connected to the network NW is updated, or when the other device controller Di is exchanged and does not hold the configuration description file CFGi. In addition, a configuration description file CFGi owned by itself can be provided to the other device controller Di. Therefore, in this distributed storage system, as described below, even when the memory capacity of each network device is different and the importance of the configuration description file CFGi of each network device is different, the configuration descriptions of other network devices are mutually The storage state of the file CFGi is dynamically changed to maintain the resistance against data loss of the configuration description file CFGi of each network device.
[分散記憶システムの構成要素]
このような分散記憶システムは、上述のように、フィールドバスに接続されて当該フィールドバスに接続された末端デバイスを制御するデバイスコントローラDi間で分散型共有メモリ1を使用する場合のみならず、ネットワークNWに接続されたその他のネットワーク機器間でも分散型共有メモリ1を利用することができる。
[Components of distributed storage system]
Such a distributed storage system is not limited to the case where the distributed shared
分散型共有メモリ1においては、それぞれのネットワーク機器の構成記述ファイルCFGiの複製数が異なるものとなる。例えば、分散記憶システムにおける第1のデバイスコントローラDiの重要度に基づく構成記述ファイルCFGiの複製数は「5」であり、第2のデバイスコントローラDiの重要度に基づく構成記述ファイルCFGiの複製数は「3」であり、第3のデバイスコントローラDiの重要度に基づく構成記述ファイルCFGiの複製数は「1」となる。
In the distributed shared
これに対し、分散記憶システムは、ネットワークNWに接続されたネットワーク機器間で動的に分散型共有メモリ1の使用状況を変化させて、各ネットワーク機器の構成記述ファイルCFGiが、重要度に基づく構成記述ファイルCFGiの複製数分だけ、他のネットワーク機器にバックアップされている状況を保持する。
On the other hand, the distributed storage system dynamically changes the usage status of the distributed shared
この分散記憶システムにおけるネットワーク機器のタイプとしては、図4に示すように、他の分散型共有メモリ1を利用して自己のファイルを記憶させるリクエスタRiと、自己の分散型共有メモリ1を他のネットワーク機器に提供するプロバイダPiとが存在する。そして、これらリクエスタRiとプロバイダPiとで分散型共有メモリ1を利用して構成記述ファイルCFGiのデータロスを回避する。図4に示す例では、分散型共有メモリ1を有しないネットワーク機器であるリクエスタRa,Rb,Rcと、分散型共有メモリ1を他のネットワーク機器に提供するプロバイダP1,P2,P3,P4,P5とが存在する場合を示している。上述のデバイスコントローラDiは、分散型共有メモリ1を有するのでプロバイダPiに相当し、且つ、自己の構成記述ファイルCFGiを他のデバイスコントローラDiに記憶させる意味でリクエスタRiにも相当することになる。
As shown in FIG. 4, the types of network devices in this distributed storage system include a requester Ri for storing its own file using another distributed shared
この分散記憶システムは、図5に示すように、各プロバイダPiの共有メモリ提供機能によって定期的又はランダムにメモリ状態レポートを出力し、当該メモリ状態レポートをリクエスタRiによって受信する。そして、リクエスタRiは、プロバイダPiの分散型共有メモリ1のスロットに空きがあり、自己の構成記述ファイルCFGiをプロバイダPiにバックアップさせたい場合には、空きスロット取得リクエストをプロバイダPiに送信し、プロバイダPiからのレスポンスを得ることができる。
As shown in FIG. 5, the distributed storage system outputs a memory status report periodically or randomly by the shared memory providing function of each provider Pi, and receives the memory status report by the requester Ri. Then, when the requester Ri has a slot in the distributed shared
[プロバイダPiの構成例]
つぎに、本発明を適用した分散記憶システムにおけるプロバイダPiの一構成例について説明する。なお、このプロバイダPiは、上述のデバイスコントローラDiのようにフィールドバスが接続されて、当該フィールドバスに接続された末端デバイスを制御・監視するためのものである。
[Configuration example of provider Pi]
Next, a configuration example of the provider Pi in the distributed storage system to which the present invention is applied will be described. The provider Pi is connected to a field bus like the device controller Di described above, and controls and monitors a terminal device connected to the field bus.
プロバイダPiは、図6及び図7に示すように構成される。図6に示すように、プロバイダPiには、機器埋め込み型ネットワーク技術(EMIT(Embedded Micro Internetworking Technology)、以下、EMIT技術と称する。)を利用して末端デバイスとプロバイダPiとが通信を行うフィールドバスAと、末端デバイスとプロバイダPiとがパルス幅を変調するベースバンド伝送を行うことによって信号の送受信を実現する所定の多重伝送方式(エヌマスト方式)で通信を行うフィールドバスBと、LON(Local Operating Network)と称される分散制御ネットワーク方式で通信を行うフィールドバスCとが接続されている。なお、プロバイダPiには、上記のEMIT技術、エヌマスト方式、LONを利用する場合のみならず、あらゆる方式でフィールドバスが接続されていても良い。 The provider Pi is configured as shown in FIGS. As shown in FIG. 6, the provider Pi uses a device embedded network technology (EMIT (Embedded Micro Internetworking Technology), hereinafter referred to as EMIT technology)) to communicate with the terminal device and the provider Pi. A, the terminal device and the provider Pi perform baseband transmission that modulates the pulse width to perform signal transmission / reception, a field bus B that performs communication in a predetermined multiplex transmission method (Nmast method), and a LON (Local Operating System). A field bus C that performs communication by a distributed control network method called “Network” is connected. Note that the field bus may be connected to the provider Pi not only in the case of using the EMIT technology, the enmast system, and the LON, but in any system.
なお、フィールドバスAには、末端デバイスA0〜A2、S3〜S7・・・といったように複数の末端デバイスが接続され、末端デバイスS3として人感センサを含んでいる。また、フィールドバスBには、末端デバイスS0,S1、A1,A3,A4・・・といったように複数の末端デバイスが接続され、末端デバイスA1として照明を含んでいる。更に、フィールドバスCには、末端デバイスA0〜A2、S3〜S5・・・といったように複数の末端デバイスが接続され、末端デバイスS2として温度センサを含んでいる。 A plurality of end devices such as end devices A0 to A2, S3 to S7,... Are connected to the field bus A, and a human sensor is included as the end device S3. A plurality of end devices such as end devices S0, S1, A1, A3, A4... Are connected to the field bus B, and the end device A1 includes illumination. Further, a plurality of end devices such as end devices A0 to A2, S3 to S5,... Are connected to the field bus C, and a temperature sensor is included as the end device S2.
プロバイダPiは、他のプロバイダPiやリクエスタRiとP2P通信をするネットワークNWと接続したP2P通信処理部11と、記憶制御部12と、上述の分散型共有メモリ1−D1,1−D2,1−D3,1−D4に相当する分散型共有メモリ13と、構成記述情報ドライバ14と、変数テーブル15と、アプリケーション処理部16と、フィールドバス監視・制御部17と、自己に接続された複数のフィールドバスA,B,Cに対応したフィールドバスインターフェース18A,18B,18Cとを備える。
The provider Pi includes a P2P communication processing unit 11 connected to a network NW that performs P2P communication with other providers Pi and requesters Ri, a
フィールドバスインターフェース18A,18B,18Cは、それぞれのフィールドバスA,B,Cに対応した方式で通信を行うように設定されている。例えば、EMIT技術を採用したフィールドバスインターフェース18A及び当該フィールドバスインターフェース18Aに接続された末端デバイスは、図8に示すように構成される。
The fieldbus interfaces 18A, 18B, and 18C are set so as to perform communication by a method corresponding to each fieldbus A, B, and C. For example, the
フィールドバスA,B,C上の末端デバイスには、EMITミドルウェア間で各種末端デバイスのコントロールデータや末端デバイスの状態信号等を送受するMOS(Micro Object Server)機能部21が実装され、フィールドバスインターフェース18Aには、EMITミドルウェア間におけるルーティング処理、末端デバイスの認識処理等を行うOAS(Object Access Server)機能部31が実装され、末端デバイスを管理するユーザの端末(図示せず)には、制御対象の末端デバイスへの制御・監視リクエストを出力すると共に末端デバイスの状態表示等を行うOAL(Object Access Library)機能部(図示せず)が実装されている。なお、図8では、フィールドバスインターフェース18A,18B,18CにOAS機能部31のみが実装されている場合について説明するが、OAL機能部が実装されていても良い。
The terminal devices on the field buses A, B, and C are equipped with a MOS (Micro Object Server)
末端デバイスは、MOS機能部21に、アプリケーション処理部22、インターフェースモジュール23が接続されている。
In the terminal device, an
アプリケーション処理部22は、例えばセンサとして機能する場合に、検出値(I/F値)を取得するアプリケーションコードが記憶されており、検出値を保持してMOS機能部21に受け渡す。
For example, when the
インターフェースモジュール23は、OSI(Open Systems Interconnection)参照モデルにおけるデータリンク層等の処理を行う。例えばデータリンク層においてイーサネット(登録商標)に従った処理を行う。このインターフェースモジュール23の通信プロトコルバージョン、通信速度といった能力は、能力テーブル24に格納されて、OAS機能部31によって取得可能となっている。
The
MOS機能部21は、アプリケーション処理部22によるアプリケーション層とインターフェースモジュール23によるトランスポート層との間のEMITミドルウェアとして機能する。このMOS機能部21には、フィールドバスインターフェース18AのOAS機能部31によって、末端デバイスがEMITにおけるオブジェクトであることを識別するために、オブジェクトID21dが与えられている。
The
MOS機能部21は、機能(function)21a、イベント(event)21b、変数(variable)21cで定義された動作を行う。このMOS機能部21の動作は、サービステーブル21eとして定義されており、フィールドバスインターフェース18AのOAS機能部31によって、インターフェースIDとして取得可能となっている。
The
末端デバイスがセンサである場合、機能21aは、検出値の出力機能となり、イベント21bは、例えば検出値が所定値となったら検出値を出力するイベントとなり、変数21cは、検出値そのものとなる。このような末端デバイスは、検出値が所定値となるとイベント21bでイベントを発生させ、機能21aによって変数21cの検出値を出力する。
When the terminal device is a sensor, the
フィールドバスインターフェース18AのOAS機能部31は、通信モジュール32が接続されている。
A
OAS機能部31は、後述のフィールドバス監視・制御部17と接続され、当該フィールドバス監視・制御部17の制御に従ってフィールドバスAの末端デバイスと通信を行う。フィールドバス監視・制御部17は、ユーザ及び管理者がある末端デバイスを制御・監視する通信をしたい場合には、その旨の制御・監視リクエストが供給され、当該制御・監視リクエストに対するレスポンスを返信する。
The
通信モジュール32は、末端デバイスのインターフェースモジュール23との間で通信を行うと共に、他のOAS機能部31が実装された装置の通信モジュール32と通信を行う。この通信モジュール32は、OSI参照モデルにおけるデータリンク層等の処理を行う。個々の末端デバイスが様々なインターフェースモジュール23で構成されている場合、通信モジュール32は、デバイスアクセスコントローラ31cの制御に従って、末端デバイスや他のOAS機能部31を備えた装置ごとの通信プロトコルバージョン、通信速度といった末端デバイスの能力に応じた通信処理を行う。
The
OAS機能部31は、フィールドバス監視・制御部17の処理と通信モジュール32による処理との間のEMITミドルウェアとして機能する。このOAS機能部31は、デバイスアクセスサーバ31a、所定のメモリに格納されたサービス情報31b、デバイスアクセスコントローラ31cを備えて構成されている。
The
デバイスアクセスサーバ31aは、クライアント(OAL)との間で通信を行うために、クライアントからのリクエストを通信モジュール32及びフィールドバス監視・制御部17、P2P通信処理部11を介して受信する。そしてデバイスアクセスサーバ31aは、当該制御・監視リクエストをデバイスアクセスコントローラ31c及び通信モジュール32を介して末端デバイスに送信する動作を制御する。これによって、デバイスアクセスコントローラ31cは、クライアントからの要求を末端デバイスに伝達して、末端デバイスを制御する。
The
デバイスアクセスコントローラ31cは、末端デバイスのインターフェース定義及びサービス情報を取得するために、通信モジュール32を介して末端デバイスのサービステーブル21e及び能力テーブル24を検索する。これによって、デバイスアクセスコントローラ31cは、各末端デバイスがどのようなサービス(機能21a、イベント21b、変数21c)を有するかを判断して、各末端デバイスのオブジェクトID21dとサービスリストとの対応関係を示すサービス情報31bを作成する。また、デバイスアクセスコントローラ31cは、各末端デバイスがどのような能力(通信プロトコルバーション、通信速度)を有するかを認識する。
The
デバイスアクセスコントローラ31cは、MOS機能部21でイベントのイベントパケットを通信モジュール32で受信すると、デバイスアクセスコントローラ31cによって当該イベントパケットを解析して、デバイスアクセスサーバ31aに通知する。また、クライアントからの制御・監視リクエストを末端デバイスに送信する場合には、当該制御・監視リクエストに応答できるMOS機能部21を、サービス情報31bを参照して認識する。そして、当該制御・監視リクエストに送信先のオブジェクトID21dを付加し、末端デバイスの能力に合わせて通信モジュール32から末端デバイスにパケットを送信させる。
When the
また、OAS機能部31には、他のEMITミドルウェア対応機器が当該OAS機能部31を識別するために、オブジェクトID31dが与えられている。このオブジェクトID31dは、末端デバイスのMOS機能部21や、他のOALが実装されたクライアント(パーソナルコンピュータ)等のEMITミドルウェア対応機器と通信するに際して、送信するパケットに格納される。
The
このようなOAS機能部31を備えたフィールドバスインターフェース18A,18B,18Cは、図7に示すように、フィールドバスドライバ18aと、フィールドバスインターフェース部18bとを備えて構成されている。
As shown in FIG. 7, the
フィールドバスドライバ18aは、フィールドバス監視・制御部17からのコントロールデータを受信すると、構成記述情報ドライバ14からの構成記述情報を参照して、どの末端デバイスをどのように動作させるかを判定して、末端デバイスに向けてコマンドを送出する。また、フィールドバスインターフェース部18bは、フィールドバスドライバ18aからコマンドを受け付けると、当該コマンドをフィールドバスA,B,Cに応じた信号に変換して、フィールドバスA,B,Cに送出する。
When receiving the control data from the fieldbus monitoring /
また、フィールドバスインターフェース部18bは、フィールドバス監視・制御部17に末端デバイスの状態変化、イベント発生を通知するモニタデータをフィールドバスA,B,Cから受信した場合には、当該モニタデータをフィールドバスドライバ18aに渡して、フィールドバス監視・制御部17に送る。
When the field
フィールドバス監視・制御部17は、変数テーブル15を参照して、フィールドバスA,B,Cの制御を行う。この変数テーブル15は、図9に示すように、フィールドバスA,B,Cごとに、末端デバイス名、末端デバイス状態、変数タイプ、フィールドバスID、フィールドバス内アドレスが対応付けられて構成されている。そして、フィールドバス監視・制御部17は、フィールドバスA,B,Cの末端デバイスを監視して、変数テーブル15の内容を更新し、変数テーブル15を参照してフィールドバスA,B,Cの末端デバイスにコントロールデータを送出する。
The fieldbus monitoring /
このフィールドバス監視・制御部17は、図7に示すように、フィールドバス監視部17Aとフィールドバス制御部17Bとに機能が分割して構成される。フィールドバス監視部17Aは、フィールドバスドライバ18aからモニタデータを受信すると、変数テーブル15の内容を更新する。このとき、フィールドバス監視部17Aは、モニタデータに含まれる末端デバイスのオブジェクトIDによって末端デバイス名を認識して、当該末端デバイスの状態を書き換える。フィールドバス制御部17Bは、アプリケーション処理部16からコントロールデータを受信した場合、変数テーブル15及び構成記述ファイルCFGiを参照してコントロールデータの送出先のフィールドバス及び末端デバイス等を判定して、フィールドバスドライバ18aに転送する。
As shown in FIG. 7, the fieldbus monitoring /
アプリケーション処理部16は、末端デバイスが実現するアプリケーション処理を制御する。このアプリケーション処理部16は、変数テーブルを参照して、フィールドバス監視・制御部17に制御・監視リクエストを与える。これによって、ネットワークNWを介してユーザから送信された監視リクエスト、制御リクエストに従って、末端デバイスを動作させる。
The
また、このアプリケーション処理部16は、図7に示すように、末端デバイスにコントロールデータを送出するアプリケーション処理部16Aと、後述の図11の連携テーブル16Bと、自己の構成記述情報に従って連携テーブル16Bを更新するアプリケーション更新部16Cとして構成されていても良い。
In addition, as shown in FIG. 7, the
構成記述情報ドライバ14には、自己に接続されたフィールドバスA,B,Cを制御するための構成記述ファイルCFGiが格納されている。構成記述情報ドライバ14は、図7に示すように、記憶制御部12と接続され、自己の構成記述ファイルCFGiを記憶する構成記述ファイル記憶部14aを備える。構成記述情報ドライバ14は、他のデバイスコントローラから複数の構成記述ファイルCFGiが送信された場合、構成記述ファイル記憶部14aの構成記述ファイルCFGiを、情報選択部12Eで選択された構成記述ファイルCFGiに書き換える。また、構成記述情報ドライバ14は、例えば、フィールドバスA,B,Cに新たな末端デバイスが接続された場合、フィールドバス監視部17Aによって新たな末端デバイスについての情報が変数テーブル15に追加されたことがプロバイダID記憶部19から通知されると、当該フィールドバスA,B,Cの変更を構成記述ファイルCFGiに反映させる。これによって、構成記述ファイルCFGiを常に最新のものに保持できる。
The configuration
この構成記述ファイルCFGiに含まれる情報(構成記述情報)には、図9に示ような自己に接続されているフィールドバスを定義するフィールドバステーブル、図10の変数テーブル15、図11に示すような末端デバイス間で行う連携動作を定義する連携テーブル、図12に示すようなその他のパラメータを格納したソフトウェアパラメータが含まれる。 The information (configuration description information) included in the configuration description file CFGi includes a field bus table that defines a field bus connected to itself as shown in FIG. 9, a variable table 15 in FIG. 10, and a configuration shown in FIG. 12 includes a cooperation table for defining a cooperation operation performed between various end devices, and software parameters storing other parameters as shown in FIG.
図9に示すフィールドバステーブルは、フィールドバスA,B,CそれぞれのフィールドバスID(fb0,fb1,fb2,・・・)と、フィールドバスA,B,Cで採用している方式(EMIT、エヌマスト、ロン)を定義するフィールドバス情報とが対応付けられている。このフィールドバステーブルは、フィールドバス監視・制御部17に読み込まれて、自己に接続されたフィールドバスA,B,Cを特定するために参照される。
The field bus table shown in FIG. 9 includes field bus IDs (fb0, fb1, fb2,...) Of the field buses A, B, and C, and the methods (EMIT, Fieldbus information defining Nmast and Ron). This field bus table is read by the field bus monitoring /
図10に示す変数テーブル15は、上述したように構成され、フィールドバス監視・制御部17及びアプリケーション処理部16によって、自己に接続された末端デバイスの状態等を特定するために参照される。この変数テーブル15は、図7に示す変数テーブル更新部15Aによって、構成記述情報を参照して更新される。
The variable table 15 shown in FIG. 10 is configured as described above, and is referred to by the fieldbus monitoring /
図11に示す連携テーブルは、連携動作を開始するトリガとなる末端デバイスのイベントを定義した連携発生イベント情報と、当該連携発生イベントが発生した場合に応答する末端デバイスを定義した連携応答デバイス情報と、当該連携応答デバイスが動作した結果を定義する連携結果情報とが対応付けられている。この連携テーブルは、イベント発生をフィールドバスインターフェース18A,18B,18Cを介してフィールドバス監視・制御部17で検知した時に、アプリケーション処理部16によって参照される。そして、アプリケーション処理部16は、連携テーブルに該当するイベントが発生したと判定した場合には、連携応答デバイスが連携結果を満たすように動作させる。なお、この連携テーブルは、図3に示すように、アプリケーション処理部16の一部の機能(連携テーブル16B)として構成されていても良い。
The linkage table shown in FIG. 11 includes linkage event information that defines an event of a terminal device that becomes a trigger for starting a linkage operation, and linkage response device information that defines a terminal device that responds when the linkage occurrence event occurs. , Associated result information defining a result of operating the associated response device is associated. This linkage table is referred to by the
図12に示すソフトウェアパラメータには、パラメータとして記憶しておく情報の種類と、パラメータ種類情報と、パラメータ値とが対応付けられて格納されている。本例では、分散型共有メモリ13のサイズ、自己の構成記述ファイルCFGiの容量、末端デバイスの制御回数をパラメータとして記憶している。また、このソフトウェアパラメータとしては、フィールドバスインターフェース18A,18B,18Cで使用するパラメータ、アプリケーション処理部16で使用するパラメータ、記憶制御部12で使用するパラメータ、P2P通信処理部11で使用するパラメータ等も含む。
The software parameters shown in FIG. 12 store information types stored as parameters, parameter type information, and parameter values in association with each other. In this example, the size of the distributed shared
例えば分散型共有メモリ13のサイズは、記憶制御部12によって参照されて、リクエスタRi、他のプロバイダPiの構成記述ファイルCFGiが格納できるか否かが判定され、自己の構成記述ファイルCFGiの容量は、リクエスタRi、他のプロバイダPiに自己の構成記述ファイルCFGiが格納できるか否かが判定される。なお、この分散型共有メモリ1のサイズは、バイト単位ではなく、構成記述ファイルCFGiの記憶可能個数を表すスロットで記述されていても良い。
For example, the size of the distributed shared
記憶制御部12は、ネットワークNWの全体における分散型共有メモリ1を利用して、他のプロバイダPiの分散型共有メモリ13に自己の構成記述ファイルCFGiをバックアップさせる処理と、リクエスタRi、他のプロバイダPiの構成記述ファイルCFGiを自己の分散型共有メモリ13にバックアップする処理とを行う。記憶制御部12は、自己の構成記述ファイルCFGiを他のプロバイダPiにバックアップさせる場合、構成記述情報ドライバ14に記憶された自己の構成記述ファイルCFGiを読み出して、P2P通信処理部11から他のプロバイダPiに送信させる。また、記憶制御部12は、リクエスタRi、他のプロバイダPiからバックアップリクエストをP2P通信処理部11を介して受け付けて、分散型共有メモリ13にリクエスタRi、他のプロバイダPiの構成記述ファイルCFGiを格納する。
The
また、図7に示すように、プロバイダPiは、作業者の操作パネルへの操作やディップスイッチへの動作などによって、デバイスコントローラIDが与えられる。このデバイスコントローラIDは、プロバイダID記憶部19に格納される。
Further, as shown in FIG. 7, the provider Pi is given a device controller ID by the operator's operation on the operation panel, the operation on the dip switch, or the like. This device controller ID is stored in the provider
このようなプロバイダPiは、図7に示すように、記憶制御部12として、情報受信部12A、情報更新部12B、情報要求部12C、構成記述情報メモリ12D、情報選択部12Eを備えている。
As shown in FIG. 7, such a provider Pi includes an
情報要求部12Cは、構成記述ファイル記憶部14a内のソフトウェアパラメータから自己の構成記述ファイルCFGiがないことを検知した場合には、デバイスコントローラIDを含むファイル転送リクエストをP2P通信処理部11から送信させる。このファイル転送リクエストを送信したことに応じて、他のプロバイダPiから一又は複数個の構成記述ファイルCFGiをP2P通信処理部11で受信すると、当該構成記述ファイルCFGiを情報受信部12Aで受信する。情報受信部12Aは、複数個の構成記述ファイルCFGiを構成記述情報メモリ12Dに蓄積すると、情報選択部12Eは、構成記述情報メモリ12Dに投票された形で格納された複数個の構成記述ファイルCFGiのうち、最新且つ改悪されていない構成記述ファイルCFGiを選択して、構成記述情報ドライバ14で使用可能とする。これによって、構成記述情報ドライバ14は、構成記述ファイル記憶部14aに格納された構成記述ファイルCFGiを最新のものとする。
When the
また、記憶制御部12は、例えばフィールドバスA,B,Cの構成が変化した場合や、古い構成記述ファイルCFGiを記憶しているプロバイダPiが検知された場合に、当該構成記述ファイルCFGiを更新する必要がある。このとき、記憶制御部12は、情報更新部12Bによって、構成記述ファイルCFGiの更新が必要であることを、構成記述ファイル記憶部14aのソフトウェアパラメータから検知する。そして、情報更新部12Bは、自己の構成記述ファイルCFGiを更新するファイル更新リクエストにデバイスIDを含めて、P2P通信処理部11からブロードキャストさせる。
Further, the
更に、記憶制御部12は、リクエスタRi、他のプロバイダPiから構成記述ファイルCFGiを情報受信部12Aで受信した場合、当該リクエスタRi、他のプロバイダPiの構成記述ファイルCFGiを分散型共有メモリ13に記憶させる。また、記憶制御部12は、リクエスタRi、他のプロバイダPiから当該プロバイダPiの空きスロット取得リクエストを受信した場合には、情報受信部12Aによって、当該空きスロット取得リクエストに含まれるデバイスIDに該当する構成記述ファイルCFGiを読み出して、送信する。
Further, when the
[分散記憶システムの機能]
上述したようなプロバイダPi及びリクエスタRiを備えた分散記憶システムは、図13に示すように、リクエスタRiに実装された分散型共有メモリ監視機能41及び記憶制御機能42と、プロバイダPiに実装された共有メモリ提供機能43とを有する。
[Distributed storage system functions]
As shown in FIG. 13, the distributed storage system including the provider Pi and the requester Ri as described above is installed in the provider Pi and the distributed shared
分散型共有メモリ監視機能41は、各リクエスタRiに備えられた機能であり、プロバイダPiのメモリ状態レポート出力機能部43cでブロードキャストされたメモリ状態レポートS1を受信して、分散型共有メモリ1の状態と自己のファイルバックアップ状態とを監視する能動型監視部41aを有する。
The distributed shared
図14に示すように、メモリ状態レポートS1には、プロバイダPiのデバイスID(以下、プロバイダIDと呼ぶ。)と、当該プロバイダPiの分散型共有メモリ13の全スロットのうちの保有スロット数(構成記述ファイルCFGiの記憶数)と、当該保有スロット数をどのリクエスタRiのために割り当てているかを示すスロット割当情報とを含み、能動型監視部41aで受信される。
As shown in FIG. 14, the memory status report S1 includes a device ID of the provider Pi (hereinafter referred to as a provider ID) and the number of slots (configuration) among all slots of the distributed shared
メモリ状態レポートS1を受信すると、能動型監視部41aは、分散型共有メモリ1の状態を表す情報と、自己のファイルバックアップ状態を表す情報を作成して、記憶制御機能42に渡す。
Upon receipt of the memory status report S1, the
分散型共有メモリ1の状態を表す情報は、各プロバイダPiがどのリクエスタRiの構成記述ファイルCFGiを格納しているかを示すアロケーションテーブル、自己が接続されているプロバイダPiのテーブル、プロバイダPiの総スロット数、リクエスタRiの総数、プロバイダPiの総数、構成記述ファイルCFGiの必要複製数、必要複製数に対して複製数が最も多い構成記述ファイルCFGiで動作するリクエスタRiのIDを含む。この必要複製数は、分散記憶システムにおいて予め設定された重要度に基づく構成記述ファイルCFGiの複製数である。また、必要複製数に対して複製数が最も多い構成記述ファイルCFGiで動作するリクエスタRiのIDは、各デバイスコントローラDiの現在の複製数と、予め設定されている分散記憶システムにおける重要度に基づく各デバイスコントローラDiの必要複製数との差分から求められる。
Information indicating the state of the distributed shared
また、自己のファイルバックアップ状態を表す情報は、自己の構成記述ファイルCFGiを記憶しているバックアッププロバイダPiのID、現在の分散記憶システム全体における自己の構成記述ファイルCFGiの複製数、望ましい要求複製数、分散型共有メモリ13に空きがあるメモリ利用可能なプロバイダPiの数、要求複製数をメモリ可能なプロバイダPiの数で除算したヒットレートとを含む。この望ましい要求複製数は、重要度に基づく構成記述ファイルCFGiの必要複製数から、現在の構成記述ファイルCFGiの複製数を減算した値である。
The information indicating the self file backup status includes the ID of the backup provider Pi that stores the self configuration description file CFGi, the number of copies of the self configuration description file CFGi in the entire current distributed storage system, and the desired number of requested copies. The number of providers Pi that have available memory in the distributed shared
記憶制御機能42は、構成記述ファイル記憶部14aに相当する構成記述情報記憶部42aと、共有メモリ状態ファイル42bと、バックアップ状態ファイル42cと、メモリ状態検知機能部42dと、空きスロット質問機能部42eと、空きスロット取得機能部42fと、複製数警告機能部42gと、スロット再割当機能部42hとを備える。
The
記憶制御機能42は、能動型監視部41aからの分散型共有メモリ監視機能41で作成された分散型共有メモリ1の状態を表す情報とバックアップ状態を表す情報とがメモリ状態検知機能部42dに渡されると、共有メモリ状態ファイル42b及びバックアップ状態ファイル42cを作成し、空きスロット質問機能部42e及び空きスロット取得機能部42fから参照可能とする。
The
空きスロット質問機能部42eは、自己の構成記述ファイルCFGiをプロバイダPiに記憶させたい場合に、ネットワークNWに空きスロット通知リクエストS2をブロードキャストし、当該空きスロット通知リクエストS2に対する空きスロット通知レスポンスS3を受信する。この空きスロット通知リクエストS2には、図14に示すように、自己のデバイスID(以下、リクエスタRiのデバイスIDをリクエスタIDと呼ぶ。)と、バックアップ状態ファイル42cに格納されているヒットレートとを含む。
When it is desired to store its own configuration description file CFGi in the provider Pi, the empty slot
この空きスロット通知リクエストS2は、プロバイダPiに実装された共有メモリ提供機能43で受信される。共有メモリ提供機能43は、受信した空きスロット通知リクエストS2に対して、要求管理機能43aによって自己の分散型共有メモリ13に相当する分散型共有メモリ43bを参照して、空きスロットを検索して空きスロットがある場合に、自己のプロバイダIDを含む空きスロット通知レスポンスS3をネットワークNWにブロードキャストする。
This empty slot notification request S2 is received by the shared
このスロット通知レスポンスS3を記憶制御機能42の空きスロット質問機能部42eで受信すると、空きスロット質問機能部42eは、当該スロット通知レスポンスS3に含まれるプロバイダIDを空きスロット取得機能部42fに通知する。空きスロット取得機能部42fは、図14に示すように、コマンド、空きスロットがあるプロバイダID、当該プロバイダIDを含むプロバイダリスト、自己の構成記述ファイルCFGiを含む空きスロット取得リクエストS4をネットワークNWにブロードキャストする。
When this slot notification response S3 is received by the empty slot
また、空きスロット質問機能部42eは、スロット通知レスポンスS3をスロット再割当機能部42hに通知して、空きスロット取得機能部42fによってスロット再割当リクエストS5をネットワークNWにブロードキャストさせる。このスロット再割当リクエストS5は、図14に示すように、コマンド、プロバイダリスト、当該プロバイダリストに含まれるプロバイダPiが使用スロットに格納していた構成記述ファイルCFGiのリクエスタID、当該使用スロットに格納する新規(自己)のリクエスタID、新規(自己)の構成記述ファイルCFGiを含む。
In addition, the empty slot
プロバイダPiの共有メモリ提供機能43は、空きスロット取得リクエストS4を要求管理機能43aで受信すると、当該空きスロット取得リクエストS4に含まれる構成記述ファイルCFGiを分散型共有メモリ43bに格納する。また、要求管理機能43aは、空きスロット取得リクエストS4又はスロット再割当リクエストS5を受信したことによって分散型共有メモリ43bのメモリ状態が変化すると、分散型共有メモリ43bに格納して変化したスロット割当状態を含むメモリ状態レポートS1を作成して、メモリ状態レポート出力機能部43cからブロードキャストする。これによって、スロット割当状態が変化したことを表すメモリ状態レポートS1を能動型監視部41aで受信すると、共有メモリ状態ファイル42b及びバックアップ状態ファイル42cが更新される。
When the shared
また、記憶制御機能42は、空きスロット質問機能部42eからスロット通知レスポンスS3が通知されて、自己の構成記述ファイルCFGiが分散記憶システム内に1個も複製されていないことを複製数警告機能部42gで検知する。このような構成記述ファイルCFGiが複製されていない場合は、その旨が能動型監視部41aに通知されて、バックアップ状態ファイル42cの現在の複製数が「0」に更新される。
In addition, the
[分散記憶システムの処理手順]
このような機能を有する分散記憶システムにおいて、分散型共有メモリ監視機能41及び記憶制御機能42の動作手順について、図15及び図16を参照して説明する。
[Processing procedure of distributed storage system]
In the distributed storage system having such a function, operation procedures of the distributed shared
リクエスタRiの分散型共有メモリ監視機能41は、先ず、図15に示すステップST1〜ステップST8の処理を行って、自己の構成記述ファイルCFGiが他のプロバイダPiにどの程度複製されているかを整理するために、共有メモリ状態ファイル42b及びバックアップ状態ファイル42cの更新を行い、次のステップST9における記憶制御処理によって、図16に示すステップST11〜ステップST24の処理を行う。
The distributed shared
図15のステップST1において、能動型監視部41aは、共有メモリ状態ファイル42b及びバックアップ状態ファイル42cをリセットし、ステップST2において、ネットワークNWから配信されるメモリ状態レポートS1を検出し、ステップST3において、当該メモリ状態レポートS1が検出できたか否かを判定する。メモリ状態レポートS1が検出できた場合、ステップST4に処理を進めて、共有メモリ状態ファイル42bのアロケーションテーブルを更新する。このステップST2は、確実に毎回送信されるメモリ状態レポートS1を受信するために、メモリ状態レポートS1を送信する所定期間の2倍の時間単位で行われる。
In step ST1 of FIG. 15, the
このアロケーションテーブルには、各プロバイダIDと、当該プロバイダIDのプロバイダPiに記憶されている構成記述ファイルCFGiがどのデバイス(プロバイダPi、リクエスタRi)の構成記述ファイルCFGiかを示すテーブルである。そして、能動型監視部41aは、ステップST8において、共有メモリ状態ファイル42bを更新して、ステップST9の記憶制御機能42における記憶制御処理に処理を進める。
This allocation table is a table indicating each provider ID and which device (provider Pi, requester Ri) the configuration description file CFGi stored in the provider Pi of the provider ID. In step ST8, the
一方、メモリ状態レポートS1を受信していない場合、能動型監視部41aは、ステップST5において所定時間の待ち状態となり、メモリ状態レポートS1を受信していない時間が所定時間を経過した場合にステップST6に処理を進める。この所定時間は、少なくとも分散記憶システムにおいてメモリ状態レポートS1を送信する所定間隔の2倍の時間が設けられる。
On the other hand, when the memory status report S1 has not been received, the
ステップST6において、能動型監視部41aは、共有メモリ状態ファイル42bに含まれるアロケーションテーブルを参照して、分散記憶システムを構成するプロバイダID及びリクエスタIDを含むデバイステーブル、分散記憶システムの総スロット数、総リクエスタ数、総プロバイダ数、必要複製数に対して最も多くの構成記述ファイルCFGiの複製を記憶させている最大複製数保有リクエスタ情報(リクエスタID、必要複製数に対する余分の複製数)、分散記憶システムにおける構成記述ファイルCFGiの重要度に基づく構成記述ファイルCFGiの必要複製数、バックアッププロバイダ数、現在の複製数、メモリ利用可能プロバイダ数を計算する。
In step ST6, the
次に、能動型監視部41aは、ステップST6で計算したパラメータに従って、バックアップ状態ファイル42cをステップST7で更新すると共に、共有メモリ状態ファイル42bをステップST8で更新して、ステップST9の記憶制御処理に移行する。
Next, the
記憶制御処理は、図17に示すように、先ず、ステップST11において、メモリ状態検知機能部42dにより、バックアップ状態ファイル42cに含まれる現在の自己の構成記述ファイルCFGiの複製数が、共有メモリ状態ファイル42bに含まれる重要度に基づく必要複製数以上か否かを判定する。そして、自己の構成記述ファイルCFGiの複製数が必要複製数以上である場合には、自己の構成記述ファイルCFGiの複製数が多くデータロスの恐れがないので、処理を図15のステップST1に戻す。
As shown in FIG. 17, in the storage control process, first, in step ST11, the memory state
一方、自己の構成記述ファイルCFGiの複製数が必要複製数以上ではないと判定した場合には、ステップST12において、メモリ状態検知機能部42dにより、バックアップ状態ファイル42cのメモリ利用可能プロバイダ数が0か否かを判定する。そして、メモリ利用可能プロバイダ数が0であると判定した場合にはステップST21に処理を進め、0ではないと判定した場合には、ステップST13に処理を進める。
On the other hand, if it is determined that the number of replicas of the configuration description file CFGi is not equal to or greater than the required number of replicas, in step ST12, the memory status
ステップST13において、メモリ状態検知機能部42dは、重要度に基づく必要複製数から現在の自己の構成記述ファイルCFGiの複製数を減算して、分散記憶システムにおいて自己の構成記述ファイルCFGiを追加する必要がある複製数である要求複製数を算出して、ステップST14に処理を進める。
In step ST13, the memory state
ステップST14において、空きスロット質問機能部42eは、空きスロット通知リクエストS2をネットワークNWに配信する。このとき、空きスロット質問機能部42eは、空きスロット通知リクエストS2に、自己のリクエスタRi、要求複製数をメモリ利用可能プロバイダ数で除算したヒットレートを含める。そして、空きスロット通知リクエストS2は、分散記憶システムの全プロバイダPiで受信されて、共有メモリ提供機能43の要求管理機能43aは、自己の分散型共有メモリ43bを参照して、空きスロットがある場合に自己のプロバイダIDを含む空きスロット通知レスポンスS3をネットワークNWにブロードキャストする。
In step ST14, the empty slot
次のステップST15において、空きスロット通知レスポンスS3をリクエスタRiの空きスロット質問機能部42eで受信したかを判定し、空きスロット質問機能部42eは、スロット通知レスポンスS3を受信できなかった場合には、ステップST16において分散記憶システムにおける空きスロットがないと判定する。また、空きスロット質問機能部42eは、スロット通知レスポンスS3を受信して、分散記憶システムの空きスロット数が0より多く且つ要求複製数よりも少ない場合にはステップST17に処理を進め、要求複製数よりも空きスロット数が多い場合にはステップST18に処理を進める。
In the next step ST15, it is determined whether the empty slot
空きスロット質問機能部42eによって空きスロット数が0より多く且つ要求複製数よりも少ないと判定された場合、その旨が空きスロット取得機能部42fに通知されて、ステップST19において、空きスロット取得機能部42fによって空きスロット取得リクエストS4をネットワークNWに配信して、ステップST11に処理を戻す。この空きスロット取得リクエストS4には、スロット通知レスポンスS3によって空きスロット数があるとブロードキャストしたプロバイダIDのリストと、自己のプロバイダIDと、構成記述ファイルCFGiとを含む。このプロバイダIDのリストは、空きスロットのリストを含む。
When the empty slot
これによって、空きスロット取得リクエストS4を、プロバイダPiの共有メモリ提供機能43の要求管理機能43aで受信すると、空きスロット取得リクエストS4に含まれる構成記述ファイルCFGiを分散型共有メモリ43bに格納する。また、プロバイダPiの共有メモリ提供機能43は、新たな構成記述ファイルCFGiを分散型共有メモリ43bに格納したことによって発生したメモリ状態の変化を、次にメモリ状態レポート出力機能部43cで送信するメモリ状態レポートS1に反映させる。
Thus, when the empty slot acquisition request S4 is received by the
また、ステップST18において空きスロット数が要求複製数よりも多いと判定した後のステップST20において、空きスロット取得機能部42fは、自己の要求複製数と空きスロットのリストと自己のプロバイダIDと構成記述ファイルCFGiとを含む空きスロット取得リクエストS4をネットワークNWにブロードキャストする。これによって、要求複製数を満たす数の構成記述ファイルCFGiが複製されて分散記憶システムに記憶されることになる。
In step ST20 after determining that the number of empty slots is larger than the requested number of replicas in step ST18, the empty slot
更に、ステップST16において空きスロット数が0であると判定した後のステップST21において、空きスロット質問機能部42eは、必要複製数に対して複製数が最も多い構成記述ファイルCFGiで動作するリクエスタRiのIDが識別できたか否かを判定する。このリクエスタRiのIDが識別できた場合には、ステップST22において、このリクエスタRiのIDをスロット再割当機能部42hに通知し、空きスロット取得機能部42fによって、スロット再割当リクエストS5をネットワークNWにブロードキャストする。このスロット再割当リクエストS5には、必要複製数に対して複製数が最も多い構成記述ファイルCFGiで動作するリクエスタRiの構成記述ファイルCFGiが複製されているプロバイダPiのスロットを指定するリストと、最大複製数保有リクエスタのIDと、最大複製数保有リクエスタに代えてスロットを新規に使用する自己のデバイスIDである新規のリクエスタIDと、自己の構成記述ファイルCFGiとを含む。なお、必要複製数に対して複製数が最も多いリクエスタRiが複数存在する場合には、何れかのリクエスタRiのIDを識別して、ステップST21から、ステップST22に処理を進めることになる。
Further, in step ST21 after determining that the number of empty slots is 0 in step ST16, the empty slot
一方、必要複製数に対して複製数が最も多い構成記述ファイルCFGiで動作するリクエスタRiのIDが識別できない場合には、ステップST23において、自己の構成記述ファイルCFGiの現在の複製数が0か否かを判定し、そうではないと判定した場合には処理をステップST11に戻し、自己の構成記述ファイルCFGiの複製数が0である場合には、ステップST24に処理を進める。 On the other hand, if the ID of the requester Ri operating with the configuration description file CFGi having the largest number of replicas relative to the required number of replicas cannot be identified, whether or not the current number of replicas of its own configuration description file CFGi is 0 in step ST23. If it is determined that this is not the case, the process returns to step ST11. If the number of copies of its own configuration description file CFGi is 0, the process proceeds to step ST24.
ステップST24において、空きスロット質問機能部42eは、自己の構成記述ファイルCFGiの複製数が0であることを複製数警告機能部42gに通知し、複製数警告機能部42gは、その旨を含む警告メッセージを能動型監視部41aに通知する。
In step ST24, the empty slot
このような分散記憶システムにおいて、第1のデバイスコントローラDiの重要度に基づく構成記述ファイルCFGiの必要複製数は「5」であり、第2のデバイスコントローラDiの重要度に基づく構成記述ファイルCFGiの必要複製数は「3」であり、第3のデバイスコントローラDiの重要度に基づく構成記述ファイルCFGiの必要複製数は「1」となっている場合を考える。 In such a distributed storage system, the required number of copies of the configuration description file CFGi based on the importance of the first device controller Di is “5”, and the configuration description file CFGi based on the importance of the second device controller Di is Consider the case where the required number of replicas is “3” and the required number of replicas of the configuration description file CFGi based on the importance of the third device controller Di is “1”.
この場合、第1のデバイスコントローラDiの現在の複製数が「5」、第2のデバイスコントローラDiの現在の複製数が「3」、第3のデバイスコントローラDiの現在の複製数が「1」である場合には、当該第1〜第3のデバイスコントローラDiにおけるステップST11の判定は「YES」となる。 In this case, the current number of replicas of the first device controller Di is “5”, the current number of replicas of the second device controller Di is “3”, and the current number of replicas of the third device controller Di is “1”. If YES, the determination in step ST11 in the first to third device controllers Di is “YES”.
また、第1のデバイスコントローラDiの現在の複製数が「3」、第2のデバイスコントローラDiの現在の複製数が「3」、第3のデバイスコントローラDiの現在の複製数が「3」である場合には、当該第1のデバイスコントローラDiのみ、ステップST11の判定が「NO」となる。そして、第1のデバイスコントローラDiは、ステップSTステップST12において、他のデバイスコントローラDiに空きのスロットがない場合には、ステップST21において、必要複製数に対して現在の複製数が最も多いリクエスタとして第3のデバイスコントローラDiを選択することができる。これによって、第1のデバイスコントローラDiの必要複製数は「5」であり、第3のデバイスコントローラDiの必要複製数が「1」であるので、第3のデバイスコントローラDiの構成記述ファイルCFGiに使用されている2つのスロットに、第1のデバイスコントローラDiの構成記述ファイルCFGiを複製して、第1のデバイスコントローラDiの必要複製数を満たすことができる。 Also, the current number of replicas of the first device controller Di is “3”, the current number of replicas of the second device controller Di is “3”, and the current number of replicas of the third device controller Di is “3”. In some cases, only in the first device controller Di, the determination in step ST11 is “NO”. In step ST12, when there is no empty slot in the other device controller Di, the first device controller Di is set as a requester having the largest number of replicas with respect to the required number of replicas in step ST21. The third device controller Di can be selected. As a result, the required number of replicas of the first device controller Di is “5” and the required number of replicas of the third device controller Di is “1”, so that the configuration description file CFGi of the third device controller Di is stored in the configuration description file CFGi. The configuration description file CFGi of the first device controller Di can be replicated in the two used slots to satisfy the required number of replicas of the first device controller Di.
[分散記憶システムにおけるプロバイダPi、リクエスタRi離脱時の動作]
つぎに、上述した分散記憶システムにおいて、ネットワークNWからプロバイダPi、リクエスタRiが離脱した時に、分散型共有メモリ43bを最適化する動作について説明する。
[Operation when Provider Pi and Requester Ri Leave in Distributed Storage System]
Next, an operation for optimizing the distributed shared
図17(a)に示すように、ネットワークNWに接続されているリクエスタRが、作業者によって取り外し作業がされて、分散記憶システムから離脱した場合、図17(a)及び図13に示すように、プロバイダP4の共有メモリ提供機能43に離脱トリガが発生する。この離脱トリガは、離脱するデバイスID(離脱ID)を含む。
As shown in FIG. 17A, when the requester R connected to the network NW is detached from the distributed storage system after being removed by the operator, as shown in FIG. 17A and FIG. A departure trigger occurs in the shared
プロバイダP4は、離脱トリガを検出すると、離脱するリクエスタRのデバイスID及び離脱コマンドを含む離脱リクエストをネットワークNWにブロードキャストする。ここで、リクエスタRの構成記述ファイルCFGiを記憶しているのは、プロバイダP1とプロバイダP4である。したがって、プロバイダP1及びプロバイダP4は、図17(b)に示すようにリクエスタRの構成記述ファイルCFGiを削除する。 When the provider P4 detects the withdrawal trigger, the provider P4 broadcasts a withdrawal request including the device ID of the requester R to leave and a withdrawal command to the network NW. Here, the provider P1 and the provider P4 store the configuration description file CFGi of the requester R. Therefore, the provider P1 and the provider P4 delete the configuration description file CFGi of the requester R as shown in FIG.
また、離脱するプロバイダPi、リクエスタRiは、作業者による取り外し作業時に、自己のデバイスIDを含む離脱リクエストをネットワークNWにブロードキャストして、自己が離脱することをプロバイダPiに通知して、プロバイダPiによって構成記述ファイルCFGiを削除させても良い。 Further, the provider Pi and the requester Ri that leave the network broadcast a withdrawal request including its own device ID to the network NW at the time of the removal work by the operator, and notify the provider Pi that it is leaving, and the provider Pi The configuration description file CFGi may be deleted.
このような分散記憶システムにおいて、プロバイダPiは、図18に示すように、先ず、ステップST31において離脱トリガのチェック動作を共有メモリ提供機能43によって行う。この離脱トリガのチェック動作は、予め設定された期間ごとに行う。
In such a distributed storage system, as shown in FIG. 18, the provider Pi first performs a leaving trigger check operation by the shared
ステップST32において、離脱トリガが検出されたか否かを判定する。離脱トリガが検出された場合、共有メモリ提供機能43は、離脱するデバイスIDを含む離脱リクエストをネットワークNWにブロードキャストする。一方、離脱トリガが検出されなかった場合、ステップST34において、ネットワークNWから受信した信号をチェックする動作を行い、ステップST35において離脱リクエストを受信したか否かを判定する。離脱リクエストを受信していない場合にはステップST31に処理を戻し、離脱リクエストを受信した場合にはステップST36に処理を進める。
In step ST32, it is determined whether a separation trigger has been detected. When a leaving trigger is detected, the shared
ステップST36において、プロバイダPiは、離脱リクエストに含まれるデバイスIDの構成記述ファイルCFGiが自己の分散型共有メモリ43bに記憶されているか否かを判定する。離脱するプロバイダPi、リクエスタRiのIDが記憶されていない場合には、処理をステップST31に戻し、離脱するプロバイダPi、リクエスタRiのIDが記憶されている場合には、ステップST37において、当該デバイスIDの構成記述ファイルCFGiを削除して、ステップST31に処理を戻す。
In step ST36, the provider Pi determines whether or not the device ID configuration description file CFGi included in the withdrawal request is stored in its own distributed shared
このように、ネットワークNWからプロバイダPi、リクエスタRiが離脱する場合、当該デバイスIDを含む離脱リクエストをネットワークNWにブロードキャストして、当該デバイスIDの構成記述ファイルCFGiをプロバイダPiから削除するので、当該削除された構成記述ファイルCFGiが記憶されていたスロットに他の構成記述ファイルCFGiを記憶させることができる。したがって、構成記述ファイルCFGiの複製数を増加させて、更にデータロスの耐性を向上できる。また、分散記憶システムにおける分散型共有メモリ43bを更に有効に利用できる。
In this way, when the provider Pi and requester Ri leave the network NW, the withdrawal request including the device ID is broadcast to the network NW and the configuration description file CFGi of the device ID is deleted from the provider Pi. Another configuration description file CFGi can be stored in the slot in which the configuration description file CFGi is stored. Therefore, the number of copies of the configuration description file CFGi can be increased to further improve data loss tolerance. In addition, the distributed shared
なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。 The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and various modifications can be made depending on the design and the like as long as the technical idea according to the present invention is not deviated from this embodiment. Of course, it is possible to change.
すなわち、上述の分散記憶システムは、プロバイダPi、リクエスタRiからなるシステムや、デバイスコントローラDiのみならなるシステムについて説明したが、センサ等のデバイスに記憶されているファイルやデータを分散型共有メモリ1に分散記憶させるようにしても良い。
That is, the above-described distributed storage system has been described with respect to a system including the provider Pi and the requester Ri, and a system including only the device controller Di. However, files and data stored in devices such as sensors are stored in the distributed shared
1 分散型共有メモリ
11 P2P通信処理部
12 記憶制御部
12A 情報受信部
12B 情報更新部
12C 情報要求部
12D 構成記述情報メモリ
12E 情報選択部
13 分散型共有メモリ
14 構成記述情報ドライバ
14a 構成記述ファイル記憶部
15 変数テーブル
15A 変数テーブル更新部
16 アプリケーション処理部
16A アプリケーション処理部
16B 連携テーブル
16C アプリケーション更新部
17 フィールドバス監視・制御部
17A フィールドバス監視部
17B フィールドバス制御部
18A,18B,18C フィールドバスインターフェース
18a フィールドバスドライバ
18b フィールドバスインターフェース部
19 プロバイダID記憶部
21 MOS機能部
21a 機能
21b イベント
21c 変数
21d オブジェクトID
21e サービステーブル
22 アプリケーション処理部
23 インターフェースモジュール
24 能力テーブル
31 OAS機能部
31a デバイスアクセスサーバ
31b サービス情報
31c デバイスアクセスコントローラ
31d オブジェクトID
32 通信モジュール
41 分散型共有メモリ監視機能
41a 能動型監視部
42 記憶制御機能
42a 構成記述情報記憶部
42b 共有メモリ状態ファイル
42c バックアップ状態ファイル
42d メモリ状態検知機能部
42e スロット質問機能部
42f スロット取得機能部
42g 複製数警告機能部
42h スロット再割当機能部
43 共有メモリ提供機能
43a 要求管理機能
43b 分散型共有メモリ
43c メモリ状態レポート出力機能部
DESCRIPTION OF
21e service table 22
32
Claims (5)
前記複数のネットワーク機器のうちの一部又は全部のネットワーク機器は、他のネットワーク機器から送信された動作設定情報を記憶し、当該他のネットワーク機器の動作設定情報のバックアップメモリとして機能するバックアップ用記憶手段を有し、
それぞれのネットワーク機器は、
自己の動作設定情報を記憶する情報記憶手段と、
前記他のネットワーク機器と通信回線を介して接続されて、当該他のネットワーク機器と通信を行う通信手段と、
前記情報記憶手段に記憶された自己の動作設定情報を他のネットワーク機器のバックアップ用記憶手段に記憶させる記憶制御手段とを備え、
前記記憶制御手段は、
自己の動作設定情報及び前記通信回線を介して接続された他のネットワーク機器の動作設定情報の重要度が予め設定され、前記複数のネットワーク機器の動作設定情報のうち重要度の低い動作設定情報の複製数よりも、重要度の高いネットワーク機器の動作設定情報の複製数を多くするように動作設定情報を前記バックアップ用記憶手段に記憶させ、
前記記憶制御手段は、前記バックアップ用記憶手段を有するネットワーク機器からバックアップ用記憶手段のメモリ状態を取得して、前記自己の動作設定情報の重要度に基づく複製数分の自己の動作設定情報が記憶不能であると判定した場合には、前記重要度に基づく複製数よりも動作設定情報の複製数が最も多いネットワーク機器を判定して、当該ネットワーク機器の動作設定情報に代えて、自己の動作設定情報を記憶させること
を特徴とする情報記憶システム。 In an information storage system that has a plurality of network devices, and each network device stores operation setting information necessary for its own operation in other network devices,
Some or all of the plurality of network devices store operation setting information transmitted from other network devices and function as backup memory for operation setting information of the other network devices. Having means,
Each network device
Information storage means for storing its own operation setting information;
A communication means connected to the other network device via a communication line to communicate with the other network device;
Storage control means for storing the own operation setting information stored in the information storage means in a backup storage means of another network device,
The storage control means
The importance of the operation setting information of the own network and the operation setting information of the other network devices connected via the communication line is set in advance, and the operation setting information of less importance among the operation setting information of the plurality of network devices Store the operation setting information in the backup storage means so as to increase the number of copies of the operation setting information of the network device having a higher importance than the number of copies,
The storage control means acquires the memory state of the backup storage means from the network device having the backup storage means, and stores its own operation setting information for the number of copies based on the importance of the own operation setting information. If it is determined that it is impossible, the network device having the largest number of copies of the operation setting information than the number of copies based on the importance is determined, and the operation setting information of the network device is used instead of the operation setting information of the network device. An information storage system characterized by storing information.
前記記憶制御手段は、前記メモリ状態レポート出力手段から通知されたバックアップ用記憶手段の状態を参照して、自己の動作設定情報を前記バックアップ用記憶手段を有するネットワーク機器に記憶させることを特徴とする請求項1に記載の情報記憶システム。 The network device having the backup storage means has a memory status report output means for notifying the status of its own backup storage means to other network devices,
The storage control means refers to the status of the backup storage means notified from the memory status report output means, and stores its own operation setting information in a network device having the backup storage means. The information storage system according to claim 1.
自己の動作設定情報が記憶可能か否かを前記バックアップ用記憶手段を有するネットワーク機器に問い合わせ、自己の動作設定情報が記憶可能であることを表す使用状況情報の応答があった他のネットワーク機器に自己の動作設定情報を送信して、当該他のネットワーク機器に自己の動作設定情報を記憶させ、
前記バックアップ用記憶手段を有するネットワーク機器は、他のネットワーク機器から、当該他のネットワーク機器の動作設定情報が記憶可能か否かが問い合わせられた場合に、自己のバックアップ用記憶手段のメモリ状態を返信すること
を特徴とする請求項1に記載の情報記憶システム。 The storage control means
Inquires of the network device having the backup storage means whether or not its own operation setting information can be stored, and other network devices that have received a response of usage status information indicating that its own operation setting information can be stored Sends its own operation setting information, stores the own operation setting information in the other network device,
The network device having the backup storage means returns the memory state of its own backup storage means when inquired from another network device whether or not the operation setting information of the other network device can be stored. The information storage system according to claim 1, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007182349A JP2009021788A (en) | 2007-07-11 | 2007-07-11 | Information storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007182349A JP2009021788A (en) | 2007-07-11 | 2007-07-11 | Information storage system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009021788A true JP2009021788A (en) | 2009-01-29 |
Family
ID=40361030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007182349A Pending JP2009021788A (en) | 2007-07-11 | 2007-07-11 | Information storage system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009021788A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011186852A (en) * | 2010-03-09 | 2011-09-22 | Nippon Telegr & Teleph Corp <Ntt> | File dividing device, method and program |
JP2012155552A (en) * | 2011-01-26 | 2012-08-16 | Seiko Instruments Inc | Shelf label management system, shelf label management method, shelf label management device and electronic shelf label terminal |
JP2012221419A (en) * | 2011-04-13 | 2012-11-12 | Hitachi Ltd | Information storage system and data duplication method thereof |
JP2013168770A (en) * | 2012-02-15 | 2013-08-29 | Kddi Corp | Distributed management system and program of network resource |
JP2014026544A (en) * | 2012-07-27 | 2014-02-06 | Kyocera Document Solutions Inc | Electronic apparatus and backup program of the same |
JP2016511476A (en) * | 2013-03-15 | 2016-04-14 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | System and method for automatic sharing, synchronization and collaboration of information among users of a group |
-
2007
- 2007-07-11 JP JP2007182349A patent/JP2009021788A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011186852A (en) * | 2010-03-09 | 2011-09-22 | Nippon Telegr & Teleph Corp <Ntt> | File dividing device, method and program |
JP2012155552A (en) * | 2011-01-26 | 2012-08-16 | Seiko Instruments Inc | Shelf label management system, shelf label management method, shelf label management device and electronic shelf label terminal |
JP2012221419A (en) * | 2011-04-13 | 2012-11-12 | Hitachi Ltd | Information storage system and data duplication method thereof |
JP2013168770A (en) * | 2012-02-15 | 2013-08-29 | Kddi Corp | Distributed management system and program of network resource |
JP2014026544A (en) * | 2012-07-27 | 2014-02-06 | Kyocera Document Solutions Inc | Electronic apparatus and backup program of the same |
US9367259B2 (en) | 2012-07-27 | 2016-06-14 | Kyocera Document Solutions Inc. | Electronic device mirroring device setting |
JP2016511476A (en) * | 2013-03-15 | 2016-04-14 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | System and method for automatic sharing, synchronization and collaboration of information among users of a group |
JP2017224351A (en) * | 2013-03-15 | 2017-12-21 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | System and method for automatic sharing, synchronization and cooperation of information among users of group |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10791181B1 (en) | Method and apparatus for web based storage on-demand distribution | |
CN101673283B (en) | Management terminal and computer system | |
JP2009021788A (en) | Information storage system | |
US20100235409A1 (en) | System and method for managing data stored in a data network | |
US20070079062A1 (en) | Method and system for storage access management in IP network | |
JP5002647B2 (en) | System and method for managing a network | |
JP2007135109A (en) | Virtual network management method, virtual network management program, virtual network management system, and virtual network management means | |
US9106677B2 (en) | Method and apparatus for web based storage on-demand | |
CN101546253A (en) | Communication apparatus, communication method, and image forming apparatus | |
JP2003186765A (en) | Network connecting device, network connecting device management system and network connecting device management method | |
CN112994935B (en) | prometheus management and control method, device, equipment and storage medium | |
CN113268351A (en) | Load balancing method and device for gateway service | |
JP4042783B2 (en) | Information storage system | |
WO2001057685A1 (en) | Server determining method and device | |
JP2009503725A (en) | Managing storage resource devices | |
US20050210152A1 (en) | Providing availability information using a distributed cache arrangement and updating the caches using peer-to-peer synchronization strategies | |
JP5200424B2 (en) | Information management method and information processing apparatus | |
WO2007077887A1 (en) | Automatic identifier generation device, information storage system, and information storage system information acquisition method | |
JP4645435B2 (en) | Information processing apparatus, communication load distribution method, and communication load distribution program | |
JP2000200245A (en) | System and method for information utilization | |
JP3641137B2 (en) | Distributed control system | |
JP4506612B2 (en) | Uninterruptible power supply management system | |
JP4039457B2 (en) | IDENTIFICATION INFORMATION AUTOMATIC GENERATION DEVICE, INFORMATION STORAGE SYSTEM, AND INFORMATION STORAGE SYSTEM INFORMATION ACQUISITION METHOD | |
US20070027885A1 (en) | Client server system and method of managing the system capable of quickly giving necessary information to client computer | |
JP2010021904A (en) | Facility apparatus management system, and facility apparatus management method |