JP2010271952A - Data management device for distributed control system - Google Patents
Data management device for distributed control system Download PDFInfo
- Publication number
- JP2010271952A JP2010271952A JP2009123544A JP2009123544A JP2010271952A JP 2010271952 A JP2010271952 A JP 2010271952A JP 2009123544 A JP2009123544 A JP 2009123544A JP 2009123544 A JP2009123544 A JP 2009123544A JP 2010271952 A JP2010271952 A JP 2010271952A
- Authority
- JP
- Japan
- Prior art keywords
- data
- computer
- update
- update authority
- authority
- 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 data management apparatus for a distributed control system that manages data of a distributed control system in which a plurality of computers are connected via a network.
昨今の都市の基幹をなすライフラインと言われる産業システム(電力、ガス、水道、公共交通機関等)においては、産業システムを監視制御するために用いられるデータベースは巨大になり、かつ高速にアクセスできることが求められている。そして、産業システムの状態が変わればデータベースを更新し、各所の計算機のデータ内容が等しく保たれることが求められている。各所の計算機のデータ内容が等しく保たれることで、各所ではネットワークを介してデータを取得することがなくなり高速なアクセスが可能となる。 In an industrial system (power, gas, water, public transportation, etc.) that is said to be the lifeline that forms the backbone of modern cities, the database used to monitor and control the industrial system must be huge and accessible at high speed Is required. When the state of the industrial system changes, the database is updated, and the data contents of the computers at various places are required to be kept equal. By keeping the data contents of the computers in each place equal, data is not obtained via the network at each place, and high-speed access is possible.
また、最も重要な計算機をサーバーとして運用するとき、このサーバーが停止しても産業システムの機能が失われないようにサーバー機能を他計算機がバックアップする二重系(または多重系)の産業システムを構成するのが常である。多重系構成にすることによって、サーバーが停止しても、他計算機に直ちにサーバー機能を移して、産業システムの機能を損なわないようにする。この場合、サーバー機能を移しても、以前と変わらずデータを引き継いでアクセスできて、他の残りの計算機も同様に等しくデータが保たれた状態であることが必要である。 In addition, when operating the most important computer as a server, a dual (or multiple) industrial system that backs up the server function so that the function of the industrial system is not lost even if this server is stopped. It is usual to compose. By adopting a multi-system configuration, even if the server is stopped, the server function is immediately transferred to another computer so that the function of the industrial system is not impaired. In this case, even if the server function is moved, it is necessary that the data can be accessed and accessed as before, and the other remaining computers are also kept in the same state.
複数の計算機間でデータ内容を同一に保つための分散型制御システムを対象としたデータ管理システムでは、ネットワークに接続された複数の計算機に共通のデータを保有し、データの更新を各計算機で行う一方、更新されたデータ変更内容を他計算機へ送信し、変更内容を受信した計算機では自計算機が保有するデータへ変更内容を反映することで各計算機のデータ内容を同一に保つようにしている。 In a data management system for a distributed control system for maintaining the same data contents among multiple computers, common data is stored in multiple computers connected to the network, and data is updated by each computer. On the other hand, the updated data change content is transmitted to other computers, and the computer that has received the change content keeps the data content of each computer the same by reflecting the change content in the data held by the own computer.
同一のデータ項目について複数の計算機で同時に更新処理が行われるとデータ更新結果の競合が発生し各計算機のデータ内容を同一に保つことができなくなるため、一般的には、このような競合を発生させないためにデータベースの更新権限を持つ計算機を1台の計算機に限定し、データ更新は権限を持った計算機でのみ行っている。 If the same data item is updated at the same time by multiple computers, a conflict of data update results will occur and the data contents of each computer cannot be kept the same. In order to prevent this, the computer having the database update authority is limited to one computer, and the data update is performed only by the computer having the authority.
産業システムの高度化により地理的に分散された制御システムをネットワークにより結合し、ある制御システムで監視制御を行う対象物について、他の制御システムでも監視を行うことや、ある制御システムにおいて事故の発生等により業務負荷が高くなった場合に、一部の監視制御対象について監視制御権限を他の制御システムに与え、業務負荷を軽減するといった、より柔軟な分散型制御システムが求められており、データ管理方法についても同様に、より柔軟なデータ管理方法が求められている。 A control system that is geographically distributed due to the advancement of industrial systems is connected by a network, and an object that is monitored and controlled by a certain control system can be monitored by another control system, or an accident can occur in a certain control system. There is a need for a more flexible distributed control system, such as granting monitoring control authority to other control systems to reduce the work load when the work load becomes high due to, etc. Similarly, a more flexible data management method is required for the management method.
同一の設計データを有する分散データベースシステムにおいて、任意のタイミングで共同作業領域を更新可能な分散データベース同期方法がある(例えば、特許文献1参照)。特許文献1のものは、計算機内に自計算機及び他計算機用の協同作業領域を設け、自計算機でのデータ更新は自計算機用の協同作業領域へ反映し、その変更内容を他計算機に送信する。また、他計算機から受信した更新データについては他計算機用の協同作業領域に反映する。その後に他計算機用の共同作業領域と自計算機用の共同作業領域のデータ内容をマージすることで複数の計算機間のデータ内容を同一に保っている。
In a distributed database system having the same design data, there is a distributed database synchronization method capable of updating a collaborative work area at an arbitrary timing (see, for example, Patent Document 1).
また、分散システムのデータベース間の共通データの整合性をリアルタイムに維持し、かつシステム構成に合わせて分散管理するようにしたものがある(例えば、特許文献2参照)。特許文献2ものは、データベースの各データ項目について更新権限を有する計算機を一意に割り当て、データ更新を行う際には、更新対象のデータ項目について自計算機が更新権限を有するか否かを判定し、更新権限を有する時にのみ、更新を行うことで同一データ項目の更新の競合を防ぎ、計算期間でデータ内容を同一に保っている。
In addition, there is one that maintains the consistency of common data between databases in a distributed system in real time and is managed in a distributed manner according to the system configuration (for example, see Patent Document 2). In
しかし、特許文献1のものでは、他計算機で更新された更新情報は他計算機用の協同作業領域へ反映し、その後に自計算機用の共同作業領域へマージするため、他計算機で更新された更新結果を、自計算機で参照するまでに時間を必要とする。また、計算機台数が増えた場合には各計算機において計算機台数分の協同作業領域を有する必要があり、大容量のデータ記憶領域が必要となる。さらに複数の計算機で同時に同一データについての更新作業を行った場合に、その変更データ内容を自計算機の共同作業領域へマージする順序は計算機毎に異なる場合がありマージ結果の同一性を保持することは困難である。
However, in
また、特許文献2のものは、データ項目ごとに更新権限を有する計算機を固定的に持つため、あるデータ項目について更新権限を有する計算機を動的に変更することはできない。
In addition, since the thing of
本発明の目的は、データ更新の応答性が良く他計算機で更新されたデータ内容を直ちに自計算機で参照可能となり、データベースを構成する各データ項目について更新権限を持つ計算機を柔軟に変更することができる分散型制御システムのデータ管理装置を提供することである。 An object of the present invention is to provide a data update responsiveness that allows data contents updated by other computers to be immediately referred to by the own computer, and to flexibly change a computer having update authority for each data item constituting the database. The present invention is to provide a data management apparatus for a distributed control system.
本発明に係る分散型制御システムのデータ管理装置は、ネットワークを介して複数の計算機が接続された分散型制御システムのデータ管理装置において、各計算機は、計算機間で共有するための共有データと、前記共有データのデータ項目ごとに更新権限を持つ計算機情報を記録した更新権限管理データと、自計算機からの共有データへのアクセス要求が参照要求の場合には共有データに格納されたデータを返却し、更新要求の場合には更新されるデータ内容の更新権限を有するときは共有データの更新を行いその更新結果の差分データを他計算機へ送信し、他計算機からの更新差分データを受信したときは前記共有データの更新を行う共有データ処理手段と、自計算機から更新権限管理データへのアクセス要求が更新権限の所有有無確認要求である場合には更新権限管理データとの照合を行い、更新権限の取得要求であり自計算機が更新権限を有していないデータの場合には各計算機へ更新権限の取得要求を行い、更新権譲渡の応答を受信した後に自計算機の更新権限データ内容を更新し、その更新結果のデータを他計算機に送信し、他計算機からの更新権限譲渡の取得要求を受けたときは、自計算機が更新権限を有するデータについては自計算機の更新権限データ内容を更新し、要求先計算機へ更新権限譲渡の応答を送信し、さらに他計算機からの更新権限データ内容の更新結果のデータを受信したときは、自計算機の更新権限データ内容の更新を行う更新権限処理手段とを備えたことを特徴とする。 A data management apparatus of a distributed control system according to the present invention is a data management apparatus of a distributed control system in which a plurality of computers are connected via a network, and each computer has shared data to be shared between computers, Update authority management data that records computer information with update authority for each data item of the shared data, and if the access request to the shared data from the local computer is a reference request, return the data stored in the shared data In the case of an update request, if you have update authority for the data contents to be updated, update the shared data and send the difference data of the update result to the other computer, when you receive the update difference data from the other computer The shared data processing means for updating the shared data and an access request from the own computer to the update authority management data are required to check whether the update authority is possessed. If the data is a request to obtain update authority and the data for which the local computer does not have update authority, the update authority acquisition request is sent to each computer. After receiving the transfer response, update the update authority data of the local computer, send the update result data to the other computer, and receive the update authority transfer acquisition request from the other computer, the local computer will update For the authorized data, update the update authority data contents of the own computer, send the update authority transfer response to the request destination computer, and receive the update result data update data contents from other computers, Update authority processing means for updating the contents of update authority data of the own computer is provided.
本発明によれば、データ更新の応答性が良く他計算機で更新されたデータ内容を直ちに自計算機で参照可能となり、データベースを構成する各データ項目について更新権限を持つ計算機を柔軟に変更することができる。 According to the present invention, data update responsiveness is good, and data contents updated by other computers can be immediately referred to by the own computer, and a computer having update authority can be flexibly changed for each data item constituting the database. it can.
以下、本発明に係る分散型制御システムのデータ管理装置の実施の形態を説明する。図1は本発明の実施の形態に係る分散型制御システムのデータ管理装置の一例を示す構成図である。 Hereinafter, embodiments of a data management device of a distributed control system according to the present invention will be described. FIG. 1 is a configuration diagram showing an example of a data management apparatus of a distributed control system according to an embodiment of the present invention.
複数の計算機11A〜11Zは通信ネットワーク12を介して相互に接続されている。各計算機11A〜11Zは、計算機11A〜11Z間で共有するための共有データ13と、共有データ13のデータ項目ごとに更新権限を持つ計算機情報を記録した更新権限管理データ14と、共有データ13を処理する共有データ処理手段15と、更新権限管理データ14を処理する更新権限処理手段16と、共有データ処理手段15及び更新権限処理手段16を実行処理するアプリケーション17を有している。
The plurality of computers 11 </ b> A to 11 </ b> Z are connected to each other via the
共有データ13は計算機11A〜11Zで共有する共有データであり、複数のテーブルファイルを格納する。テーブルファイルは計算機11A〜11Zの図示省略の記憶装置(ハードディスクまたはメモリ)に記憶されている。テーブルファイルは図2に示すような行と列とからなる表形式のファイルであり、テーブル名により1つのテーブルファイルが特定される。テーブルファイルの更新および参照処理はテーブル名を指定し、テーブルのカラム名称及び行名称により1つのデータを特定することで行われる。カラム名称、及び行名称は数値または文字列によって指定される。
The shared
更新権限管理データ14は共有データ13のデータ更新を行う際に自計算機がデータ更新対象となるテーブルファイルまたはテーブルファイル内の行、列の更新権限を有しているかを記憶するデータであり、共有データ13のファイルと同様に計算機11A〜11Zの記憶装置に記憶される。更新権限管理データ14は、図3から図6に示すように表形式のファイルとして管理する。
The update
図3は、テーブル毎に更新権限を持つ計算機11A〜11Zを与える場合の更新権限管理データ14の一例であり、図4はテーブルのカラム毎に更新権限を持つ計算機11A〜11Zを持つ一例であり、図5はテーブルのカラム及び行番号により特定されるデータ項目毎に更新権限を持つ一例である。また、図6に示すように更新権限管理データ14をテーブル毎に分割して管理することでも良く、計算機情報として計算機のIPアドレスを格納しても良い。図6中の192.168.2.1は、例えば計算機11AのIPアドレスであり、192.168.2.2は計算機11B、192.168.2.3は計算機11C、192.168.2.4は計算機11DのIPアドレスである。
FIG. 3 is an example of the update
アプリケーション17は計算機11A〜11Z上で動作し、共通データ処理手段15を用いて共有データ13のデータ項目について参照・更新処理を実行する。また、アプリケーション17は更新権限処理手段16を用いて、共有データ13の任意のデータ項目について更新権限の取得を行う。
The
次に、自計算機から共有データ13の参照、更新及び他計算機からの更新差分データの反映を行う場合の手段について説明する。図7はアプリケーション17からの共有データ13への参照、更新及び他計算機からの更新差分データの共有データ13への反映を行う、共有データ処理手段の処理内容の一例を示すフローチャートである。いま、自計算機は計算機11Aであるとする。まず、自計算機11Aのアプリケーション17からの要求か他計算機11B〜11Zからの更新差分データの反映要求であるかを判定する(S701)。受け付けた要求が自計算機11Aのアプリケーション17からの要求である場合には、要求内容が参照要求であるか更新要求であるかの判定を行う(S702)。参照要求である場合には共有データ13についての参照を行い(S703)、参照結果をアプリケーション17へ返却する(S704)。
Next, means for referring to and updating the shared
ステップS701の判定で、自計算機11Aのアプリケーション17からの要求でない場合には、他計算機11B〜11Zでの更新結果の差分データを共有データ13へ反映する(S705)。
If it is determined in step S701 that the request is not from the
ステップS702の判定で、自計算機11Aのアプリケーション17からの要求であり要求内容が更新要求である場合には、更新要求により更新されるデータ項目について更新権限を有しているか更新権限処理手段16を用いて更新権限管理データ14の照合を行い(S706)、更新権限を有しているか否かを判定する(S707)。更新権限を有していない場合にはアプリケーション17へエラーを返却する(S708)。一方、ステップS707の判定で、更新権限を有している場合には、共有データ13について更新処理を行い(S709)、更新差分データを他計算機11B〜11Zへ送信する(S710)。
If it is determined in step S702 that the request is from the
次に、共有データ13の任意のデータ項目について更新権限の取得、照合を行う場合の手段について説明する。図8はアプリケーション17からの更新権限の取得、アプリケーション17からの共有データ更新時に実施される更新権限の照合、他計算機での更新権限取得結果の更新権限管理データ14への反映を行う更新権限処理手段16の処理内容の一例を示すフローチャートである。
Next, means for acquiring and verifying update authority for an arbitrary data item of the shared
まず、自計算機11Aからの要求か他計算機11B〜11Zからの更新権限取得結果の反映要求であるかを判定する(S801)。なお、自計算機11Aからの要求とは、アプリケーション17からの更新要求と、共有データ処理手段15で記載の更新権限の照合である。
First, it is determined whether it is a request from the
ステップS801での判定で、自計算機11Aからの要求である場合には、受け付けた要求が自計算機11Aのアプリケーション17からの要求であるか否かを判定する(S802)。自計算機11Aのアプリケーション17からの要求である場合には更新権限管理データ14の参照を行う(S803)。ステップS802の判定で、自計算機11Aからの更新権限の取得要求である場合には、取得を要求されたデータ項目について更新権限管理データ14の照合を行い(S804)、自計算機11Aが更新権限を有しているか否かを判定する(S805)。更新権限を有している場合には、アプリケーション17へ完了通知を返却する(S806)。
If it is determined in step S801 that the request is from the
自計算機11Aが更新権限を有していない場合には、他計算機11B〜11Zへ更新権限の取得要求を送信する(S807)。要求した更新権限について更新権限を有していた他計算機11Kからの更新権限譲渡の通知を受信する(S808)。更新権限を有していた他計算機11Kからの更新権限譲渡の通知を受信すると、自計算機11Aの更新権限管理データ14の更新を行い(S809)、更新権限取得結果を他計算機11B〜11Zへ送信し(S810)、アプリケーション17へ完了通知を返却する(S811)。
If the
ここで、自計算機11Aでは、他計算機11B〜11Zから更新権限の取得要求として送信されてきた取得要求はステップS801で受信処理することになる。すなわち、更新権限の取得要求を受信した自計算機11Aは、ステップS801の判定により、自計算機11Aからの要求ではなく他計算機11B〜11Zから要求であると判定する(S801のNO)。
Here, in the
そして、その他計算機11B〜11Zから要求は、更新権限の取得結果であるか否かが判定され(S812)、いま、その要求は更新権限の取得要求であるため、ステップS813に進む。ステップS813では、取得要求が行われたデータ項目について更新権限管理データ14の参照処理を行い、さらに、自計算機11Aが更新権限を有するデータ項目か否かの判定を行う(S814)。
Then, it is determined whether or not the request from the other computers 11B to 11Z is an update authority acquisition result (S812). Since the request is an update authority acquisition request, the process advances to step S813. In step S813, the update
自計算機が更新権限11Aを有していないデータ項目である場合には処理を終了する。一方、自計算機11Aが更新権限を有しているデータ項目である場合には、自計算機11Aの更新権限管理データ14の対応するデータ項目の更新権限所有計算機を要求元の計算機に変更し(S816)、要求元計算機へ当該データ項目の更新権限譲渡通知を送信する(S817)。
If the own computer is a data item that does not have the
ここで、自計算機11Aでは、他計算機11B〜11Zから送信されてきた更新権限の譲渡通知はステップS808で受信される。また、他計算機11B〜11Zから送信されてきた更新権限の取得結果は、ステップS801で受信処理することになる。
Here, in the
すなわち、自計算機11AではステップS801により、更新権限の取得結果を受信した各計算機では自計算機からの要求か否かの判定(S801)により、自計算機からの要求ではないと判定される(S801のNO)。そして、ステップS812により、更新権限の取得結果であるか否かが判定され、更新権限の取得結果であるため(S812のYES)、更新権限管理データ14への更新処理(S818)を行う。
That is, in the
このように、自計算機11Aがデータ更新の更新権限を有するデータ項目の更新を行う際に他計算機11B〜11Zへの確認が不要であるため、データ更新の応答性が良く、さらに更新後のデータ変更内容は直ちに他計算機11B〜11Zに反映されるので、他計算機11B〜11Zでは変更されたデータ内容が直ちに参照可能となる。また、データベースを構成する各データ項目について更新権限を持つ計算機を変更することができるので柔軟な運用が可能となる。
In this way, when the
次に、本発明の実施の形態における共有データ処理手段の処理内容の他の一例について説明する。図9は、本発明の実施の形態における共有データ処理手段の処理内容の他の一例を示すフローチャートである。図7に示した一例に対し、
更新権限を有していないデータ項目の更新については権限を有する計算機へデータ更新依頼を行うようにしたものである。
Next, another example of the processing content of the shared data processing means in the embodiment of the present invention will be described. FIG. 9 is a flowchart showing another example of the processing content of the shared data processing means in the embodiment of the present invention. For the example shown in FIG.
For updating data items that do not have update authority, a data update request is made to an authorized computer.
図9において、図7の一例と同様に、まず、自計算機11Aのアプリケーション17からの要求か他計算機11B〜11Zからの更新差分データの反映要求であるかを判定する(S901)。受け付けた要求が自計算機11Aのアプリケーション17からの要求である場合には、要求内容が参照要求であるか更新要求であるかの判定を行う(S902)。参照要求である場合には共有データ13についての参照を行い(S903)、参照結果をアプリケーション17へ返却する(S904)。
In FIG. 9, as in the example of FIG. 7, it is first determined whether the request is from the
ステップS901の判定で、自計算機11Aのアプリケーション17からの要求でない場合には、他計算機11B〜11Zでの更新結果の差分データであるか、他計算機11B〜11Zからの更新依頼であるかの判定を行う(S905)。他計算機11B〜11Zでの更新結果の差分データである場合には共有データ13へ反映する(S906)。一方、他計算機11B〜11Zでの更新結果の差分データではなく、他計算機11B〜11Zからの更新依頼である場合には、自計算機11Aの共有データ13について更新処理を行い(S907)、更新差分データを他計算機11B〜11Zへ送信する(S908)。
If it is determined in step S901 that the request is not from the
ステップS902の判定で、自計算機11Aのアプリケーション17からの要求であり要求内容が更新要求である場合には、更新要求により更新されるデータ項目について更新権限を有しているか更新権限処理手段16を用いて更新権限管理データ14の照合を行い(S909)、更新権限を有しているか否かを判定する(S910)。更新権限を有していない場合には当該データ項目について更新権限を有している計算機へ更新依頼を行う(S911)。
If it is determined in step S902 that the request is from the
ステップS910の判定で、更新権限を有している場合には、共有データ13について更新処理を行い(S912)、更新差分データを他計算機11B〜11Zへ送信する(S913)。
If it is determined in step S910 that the user has update authority, the shared
次に、本発明の実施の形態における更新権限処理手段の処理内容の他の一例を説明する。図10は、本発明の実施の形態における更新権限処理手段16の処理内容の他の一例を示すフローチャートである。図8に示した一例との差異は、アプリケーション17から更新権限の取得を要求されたデータ項目について自計算機11Aが更新権限を有していない場合の処理(S1007)を追加したものであり、自計算機11Aが更新権限を有していない場合(S1005のNO)には、更新権限管理データ14において要求されたデータ項目の更新権限を有する計算機へのみ更新権限の取得要求を送信する(S1007)。その他については同様であるため説明を省略する。
Next, another example of the processing contents of the update authority processing means in the embodiment of the present invention will be described. FIG. 10 is a flowchart showing another example of the processing contents of the update authority processing means 16 in the embodiment of the present invention. The difference from the example shown in FIG. 8 is that the processing (S1007) in the case where the
このように、自計算機11Aがデータ更新の更新権限を有していないデータ項目の場合にも更新権限を有する計算機へデータ更新の依頼を行うことにより、更新権限の変更作業を行うことなく、データ更新を行うことが可能となる。また、更新権限の変更を行う際に対象となるデータ項目について現在更新権限を有している計算機へのみ更新権限の取得要求を行うことにより、更新権限を有していない他計算機11B〜11Zでの判定処理が不要となるため、効率よく更新権限の取得を行うことが可能となる。
In this way, even in the case of a data item for which the
次に、本発明の実施の形態に係る分散型制御システムのデータ管理装置の他の一例を説明する。図11は、本発明の実施の形態に係る分散型制御システムのデータ管理装置の他の一例を示す構成図である。この他の一例は、図1に示した一例に対し、各計算機11A〜11Zは、更新権限を有した計算機のIPアドレスを格納したIPアドレスデータ18、更新権限を有する計算機に障害が発生した場合に当該計算機のIPアドレスを引き継ぐときはIPアドレスデータ18にそのIPアドレスデータ18の更新を行う計算機アドレス管理手段19を追加して設けたものである。図1と同一要素には同一符号を付し重複する説明は省略する。
Next, another example of the data management apparatus of the distributed control system according to the embodiment of the present invention will be described. FIG. 11 is a configuration diagram illustrating another example of the data management device of the distributed control system according to the embodiment of the present invention. In another example, in contrast to the example shown in FIG. 1, each of the
図11において、IPアドレスデータ18は計算機11A〜11Zが通信ネットワーク12を介して通信する際に利用するIPアドレスと計算機との対応付けを記載したデータファイルであり、計算機の図示省略の記憶装置に記憶されている。IPアドレスデータ18は、図12に示すような表形式のデータファイルであり、各計算機が所有しているIPアドレス(192.168.2.1、192.168.2.2…)が記載されている。計算機アドレス管理手段19は通信ネットワーク12を介して互いの計算機が動作中であるか否かの判断を行い、IPアドレスデータ18の更新操作を行う。
In FIG. 11,
次に、計算機アドレス管理手段19について説明する。計算機アドレス管理手段19は、他計算機11B〜11Zが動作中であるかの確認、及び他計算機11B〜11Zに障害が発生した場合にIPアドレスデータ18の更新を行うものである。図13は計算機アドレス管理手段19の処理内容を示すフローチャートである。
Next, the computer address management means 19 will be described. The computer address management means 19 confirms whether the other computers 11B to 11Z are operating, and updates the
まず、他計算機11B〜11ZからIPアドレスの変更結果を受信したか否かを判定し(S1301)、変更結果を受信した場合には、自計算機11AのIPアドレスデータ18の更新処理を行う(S1302)。
First, it is determined whether or not the IP address change result has been received from the other computers 11B to 11Z (S1301). If the change result has been received, the
一方、他計算機11B〜11ZからIPアドレスの変更結果を受信しなかった場合には、他計算機11B〜11Zの動作状態の確認を行う(S1303)。動作状態の確認手段としては、例えば、ping(packet internet groper)に代表されるインターネット上で相手先計算機へのパケット到達性を確認する手段を用いることとする。動作状況の確認を行った結果、応答の無い計算機があるか否かを判定し(S1304)、応答の無い計算機がある場合には、自計算機11AでIPアドレスを引き継ぐか否かの判定を行う(S1305)。
On the other hand, when the IP address change result has not been received from the other computers 11B to 11Z, the operation states of the other computers 11B to 11Z are confirmed (S1303). As an operation state confirmation means, for example, a means for confirming packet reachability to a partner computer on the Internet represented by ping (packet internet groper) is used. As a result of checking the operation status, it is determined whether there is a computer that does not respond (S1304). If there is a computer that does not respond, it is determined whether the
自計算機11AでIPアドレスを引き継ぐか否かの判定方法として事前に引継ぎシナリオを与える方法がある。図14は、他計算機11B〜11Zで障害が発生した場合に、どの自計算機がIPアドレスを引き継ぐかを事前に定義した判断表の一例である。
There is a method of giving a takeover scenario in advance as a method of determining whether or not the
図14の例では、例えば、計算機Aに障害が発生した場合には、引継順位が1である計算機BがIPアドレスを引き継ぎ、計算機A及び計算機B共に障害が発生した場合には引継ぎ順位が2である計算機CがIPアドレスを引き継ぐ場合を示している。以下、同様に、計算機Bに障害が発生した場合には、引継順位が1である計算機AがIPアドレスを引き継ぎ、計算機B及び計算機A共に障害が発生した場合には引継ぎ順位が2である計算機CがIPアドレスを引き継ぎ、計算機Cに障害が発生した場合には、引継順位が1である計算機AがIPアドレスを引き継ぎ、計算機C及び計算機A共に障害が発生した場合には引継ぎ順位が2である計算機BがIPアドレスを引き継ぐ。
In the example of FIG. 14, for example, when a failure occurs in the computer A, the computer B with the
自計算機11AでIPアドレスを引き継ぐか否かを判定し(S1305)、IPアドレスを引き継ぐ場合にはIPアドレスデータ18の更新処理を行い(S1306)、変更結果を他計算機11B〜11Zへ送信する(S1307)。
It is determined whether or not the
なお、あるデータ項目について自計算機11Aが更新権限を所有しているか否かの判定を行う場合には、更新権限管理データ14に記載されているIPアドレスを検索キーとしてIPアドレスデータ18に記載されている当該IPアドレスの計算機名を確認することで、更新権限の照合を行うこととする。
When it is determined whether or not the
このように、計算機に障害が発生した場合にはIPアドレスの所有計算機を変更することにより、更新権限管理データ14において障害が発生した計算機が更新権限を所有しているデータ項目を逐一変更する必要がなく、即座に更新権限を持つ計算機を変更することができ、障害発生時の運用切り替え時間を短縮することが可能となる。
As described above, when a failure occurs in the computer, it is necessary to change the data item owned by the computer in which the failure has occurred in the update
次に、更新権限管理データ14として複数のファイルを組合せに応じて持ちパターンファイルを切り替えて使用し、計算機間で更新権限データのやりとりを行う場合について説明する。
Next, a case will be described in which update authority data is exchanged between computers by using a plurality of files as the update
図15は、本発明の実施の形態における更新権限管理データの他の一例を示す説明図である。更新権限管理データ14は、図15に示すように、1データ項目について2式以上の更新権限パターンを持つ。図6に示した更新権限管理データ14をパターン1の更新権限管理データ14としており、パターン2の更新権限管理データ14はパターン1においてIPアドレス192.168.2.1が更新権限を有するデータ項目については、192.168.2.4が更新権限を有し、IPアドレス192.168.2.4が更新権限を有するデータ項目については、192.168.2.1が更新権限を有する更新権限管理データ14である。
FIG. 15 is an explanatory diagram showing another example of update authority management data according to the embodiment of the present invention. As shown in FIG. 15, the update
図16は、本発明の実施の形態における更新権限処理手段の処理内容の別の他の一例を示すフローチャートである。ステップS1601〜ステップS1618については、図10のステップS1001〜ステップS1018と同様であるため説明は省略する。 FIG. 16 is a flowchart showing another example of the processing content of the update authority processing means in the embodiment of the present invention. Steps S1601 to S1618 are the same as steps S1001 to S1018 in FIG.
ステップ(S1619)では、更新権限データのパターン切替要求か否かを判定し、アプリケーション17からの要求であり、要求内容が更新権限パターンの変更要求であった場合(S1619のYES)には、更新権限データ14のパターン切替を行う(S1620)。
In step (S1619), it is determined whether or not it is an update authority data pattern switching request, and if it is a request from the
パターン切替を図15を例に説明する。更新権限データ14の各パターンについてパターン番号を割り当て、アプリケーション17からはパターン番号と共に更新権限パターンの変更要求を行う。変更結果のパターン番号を記憶しておくことにより更新権限データ14の参照及び更新においてアクセスするべき更新権限データ14を定めることが可能となる。
Pattern switching will be described with reference to FIG. A pattern number is assigned to each pattern of the
次に、他計算機11B〜11Zへ更新権限データ14のパターン切替の結果を送信する(S1621)。送信する情報としてはアプリケーション17からの要求と同様にパターン番号と共に通知する。他計算機11B〜11Zへの送信が完了した後にアプリケーション17へ完了の通知を行う(S1622)。
Next, the result of the pattern switching of the
他計算機11B〜11Zからの更新権限データ14のパターン切替を受信した場合(S1623のYES)には自計算機11Aの更新権限データ14についてパターン切替を行う(S1624)。
When the pattern switching of the
このように、更新権限の切替処理は事前に用意された更新権限のパターンを切り替えれば良いため、予め更新権限のパターンを決定できる場合には更新権限の変更を直ちに行うことが可能となる。 As described above, the update authority switching process may be performed by switching the update authority pattern prepared in advance. Therefore, when the update authority pattern can be determined in advance, the update authority can be immediately changed.
11…計算機、12…通信ネットワーク、13…共有データ、14…更新権限管理データ、15…共有データ処理手段、16…更新権限処理手段、17…アプリケーション、18…IPアドレスデータ、19…計算機アドレス管理手段 DESCRIPTION OF SYMBOLS 11 ... Computer, 12 ... Communication network, 13 ... Shared data, 14 ... Update authority management data, 15 ... Shared data processing means, 16 ... Update authority processing means, 17 ... Application, 18 ... IP address data, 19 ... Computer address management means
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009123544A JP2010271952A (en) | 2009-05-21 | 2009-05-21 | Data management device for distributed control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009123544A JP2010271952A (en) | 2009-05-21 | 2009-05-21 | Data management device for distributed control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010271952A true JP2010271952A (en) | 2010-12-02 |
Family
ID=43419918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009123544A Pending JP2010271952A (en) | 2009-05-21 | 2009-05-21 | Data management device for distributed control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010271952A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012137860A (en) * | 2010-12-24 | 2012-07-19 | Toshiba Corp | Database system and client thereof |
WO2013031286A1 (en) * | 2011-09-02 | 2013-03-07 | 株式会社日立製作所 | Data sharing device and data sharing method |
JP5562454B1 (en) * | 2013-02-13 | 2014-07-30 | 三菱電機株式会社 | Redundant system server |
JPWO2016075865A1 (en) * | 2014-11-12 | 2017-10-19 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Update management method, update management system, and control program |
JP2020048203A (en) * | 2014-11-12 | 2020-03-26 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Update management method, update management device, and control program |
JP2020530615A (en) * | 2017-08-07 | 2020-10-22 | 成都牽牛草信息技術有限公司Chengdu Qianniucao Information Technology Co., Ltd. | How to approve the operation authority of the statistical column table |
JP2020177562A (en) * | 2019-04-22 | 2020-10-29 | 富士通株式会社 | Information processing system, information processing apparatus, and database management program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001236254A (en) * | 2000-02-22 | 2001-08-31 | Ntt Comware Corp | Device and method for sharing data and computer readable recording medium with data sharing program recorded |
JP2002297593A (en) * | 2001-03-30 | 2002-10-11 | Toshiba Corp | Management system for base-host switchable database |
JP2005215797A (en) * | 2004-01-27 | 2005-08-11 | Nec Soft Okinawa Ltd | Terminal device, server, groupware system, groupware method, and groupware program |
JP2007304898A (en) * | 2006-05-12 | 2007-11-22 | Nippon Telegr & Teleph Corp <Ntt> | Distributed database system and method, and program of this method, and recording medium recording this program |
-
2009
- 2009-05-21 JP JP2009123544A patent/JP2010271952A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001236254A (en) * | 2000-02-22 | 2001-08-31 | Ntt Comware Corp | Device and method for sharing data and computer readable recording medium with data sharing program recorded |
JP2002297593A (en) * | 2001-03-30 | 2002-10-11 | Toshiba Corp | Management system for base-host switchable database |
JP2005215797A (en) * | 2004-01-27 | 2005-08-11 | Nec Soft Okinawa Ltd | Terminal device, server, groupware system, groupware method, and groupware program |
JP2007304898A (en) * | 2006-05-12 | 2007-11-22 | Nippon Telegr & Teleph Corp <Ntt> | Distributed database system and method, and program of this method, and recording medium recording this program |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012137860A (en) * | 2010-12-24 | 2012-07-19 | Toshiba Corp | Database system and client thereof |
WO2013031286A1 (en) * | 2011-09-02 | 2013-03-07 | 株式会社日立製作所 | Data sharing device and data sharing method |
JP5562454B1 (en) * | 2013-02-13 | 2014-07-30 | 三菱電機株式会社 | Redundant system server |
JPWO2016075865A1 (en) * | 2014-11-12 | 2017-10-19 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Update management method, update management system, and control program |
CN110377310A (en) * | 2014-11-12 | 2019-10-25 | 松下电器(美国)知识产权公司 | It updates management method, update managing device and computer-readable recording medium |
JP2020048203A (en) * | 2014-11-12 | 2020-03-26 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Update management method, update management device, and control program |
JP2020530615A (en) * | 2017-08-07 | 2020-10-22 | 成都牽牛草信息技術有限公司Chengdu Qianniucao Information Technology Co., Ltd. | How to approve the operation authority of the statistical column table |
JP2020177562A (en) * | 2019-04-22 | 2020-10-29 | 富士通株式会社 | Information processing system, information processing apparatus, and database management program |
JP7227485B2 (en) | 2019-04-22 | 2023-02-22 | 富士通株式会社 | Information processing system, information processing device and database management program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11120044B2 (en) | System and method for maintaining a master replica for reads and writes in a data store | |
US20200228393A1 (en) | System and method for data replication using a single master failover protocol | |
US9563673B2 (en) | Query method for a distributed database system and query apparatus | |
JP6334643B2 (en) | SMB2 scale out | |
JP2010271952A (en) | Data management device for distributed control system | |
US9411873B2 (en) | System and method for splitting a replicated data partition | |
JP6607783B2 (en) | Distributed cache cluster management | |
US10248704B2 (en) | System and method for log conflict detection and resolution in a data store | |
US9489434B1 (en) | System and method for replication log branching avoidance using post-failover rejoin | |
JP3707728B2 (en) | Method, system, and program product for automatically configuring a cluster in a computing environment | |
US7937482B1 (en) | Scalable consensus protocol | |
CN102934101B (en) | For the transparent access mechanism of local and remote data | |
CA2467404A1 (en) | System and methods for asychronous synchronization | |
CN106605217B (en) | For the method and system for being moved to another website from a website will to be applied | |
JP2011138225A (en) | Cluster system, information processing apparatus, control method, and program | |
CN115086312A (en) | Method and system for realizing kubernets service cross-cluster communication | |
JP5936865B2 (en) | Cache system using cache cloud structure and method for providing caching service | |
CN112015595B (en) | Master-slave database switching method, computing device and storage medium | |
CN105049463A (en) | Distributed database, method of sharing data, and apparatus for a distributed database | |
EP3884648B1 (en) | Geo-replicated iot hub | |
JP5609272B2 (en) | Server apparatus, server system, and server apparatus control method | |
CN114168602A (en) | Database access method, device, system, equipment and medium | |
JP2013218635A (en) | Replication execution device | |
JP2012043358A (en) | Distributed database system | |
Karpman et al. | Metadata management for EIS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120201 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130619 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130625 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131022 |