JP2010271952A - Data management device for distributed control system - Google Patents

Data management device for distributed control system Download PDF

Info

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
Application number
JP2009123544A
Other languages
Japanese (ja)
Inventor
Tatsuo Sato
龍生 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2009123544A priority Critical patent/JP2010271952A/en
Publication of JP2010271952A publication Critical patent/JP2010271952A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To immediately refer to a data content updated by another computer by a self computer, and to flexibly change a computer which includes an update authority with respect to respective data items constituting a database. <P>SOLUTION: Respective computers in a data management device of a distributed control system connected via a network includes: a shared data processing means which updates shared data and transmits differential data of an update result to another computer when an access request to the shared data from a self computer is an update request and the means includes an update authority; and an update authority processing means which makes an acquisition request of the update authority of the respective computers for data that the self computer does not own the update authority, and updates a update authority data content of the self computer and transmits a response of a update authority transfer to the requesting computer when the acquisition request of a update authority transfer is received by another computer. <P>COPYRIGHT: (C)2011,JPO&INPIT

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). Patent Document 1 provides a collaborative work area for the own computer and other computers in the computer, the data update in the own computer is reflected in the collaborative work area for the own computer, and the change contents are transmitted to the other computer. . The update data received from other computers is reflected in the collaborative work area for other computers. After that, the data contents of a plurality of computers are kept the same by merging the data contents of the collaborative work area for other computers and the collaborative work area for the own computer.

また、分散システムのデータベース間の共通データの整合性をリアルタイムに維持し、かつシステム構成に合わせて分散管理するようにしたものがある(例えば、特許文献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 Patent Document 2, a computer having update authority is uniquely assigned to each data item in the database, and when performing data update, it is determined whether the own computer has update authority for the data item to be updated, Updating is performed only when the user has update authority, thereby preventing conflicts in updating the same data item and keeping the data contents the same during the calculation period.

特開2007−58769号公報JP 2007-58769 A 特開平5−225027号公報JP-A-5-225027

しかし、特許文献1のものでは、他計算機で更新された更新情報は他計算機用の協同作業領域へ反映し、その後に自計算機用の共同作業領域へマージするため、他計算機で更新された更新結果を、自計算機で参照するまでに時間を必要とする。また、計算機台数が増えた場合には各計算機において計算機台数分の協同作業領域を有する必要があり、大容量のデータ記憶領域が必要となる。さらに複数の計算機で同時に同一データについての更新作業を行った場合に、その変更データ内容を自計算機の共同作業領域へマージする順序は計算機毎に異なる場合がありマージ結果の同一性を保持することは困難である。   However, in Patent Document 1, the update information updated in another computer is reflected in the collaborative work area for the other computer and then merged into the collaborative work area for the own computer. It takes time to refer to the result with its own computer. When the number of computers increases, each computer needs to have a cooperative work area for the number of computers, and a large-capacity data storage area is required. In addition, when the same data is updated on multiple computers at the same time, the order of merging the contents of the changed data into the collaborative work area of the own computer may be different for each computer, and the same merge result must be maintained. It is difficult.

また、特許文献2のものは、データ項目ごとに更新権限を有する計算機を固定的に持つため、あるデータ項目について更新権限を有する計算機を動的に変更することはできない。   In addition, since the thing of patent document 2 has the computer which has update authority for every data item fixedly, the computer which has update authority about a certain data item cannot be changed dynamically.

本発明の目的は、データ更新の応答性が良く他計算機で更新されたデータ内容を直ちに自計算機で参照可能となり、データベースを構成する各データ項目について更新権限を持つ計算機を柔軟に変更することができる分散型制御システムのデータ管理装置を提供することである。   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.

本発明の実施の形態に係る分散型制御システムのデータ管理装置の一例を示す構成図。The block diagram which shows an example of the data management apparatus of the distributed control system which concerns on embodiment of this invention. 本発明の実施の形態における共有データを構成するテーブルファイルの一例を示す説明図。Explanatory drawing which shows an example of the table file which comprises the shared data in embodiment of this invention. 本発明の実施の形態におけるテーブルを単位項目とする更新権限管理データの一例を示す説明図。Explanatory drawing which shows an example of the update authority management data which uses the table in embodiment of this invention as a unit item. 本発明の実施の形態におけるテーブル及びカラム名を単位項目とする更新権限管理データの一例を示す説明図。Explanatory drawing which shows an example of the update authority management data which makes a table and a column name the unit item in embodiment of this invention. 本発明の実施の形態におけるテーブル、カラム名及び行番号を単位項目とする更新権限管理データの一例を示す説明図。Explanatory drawing which shows an example of the update authority management data which makes a table, a column name, and a row number a unit item in embodiment of this invention. 本発明の実施の形態におけるテーブル、カラム名及び行番号を単位項目とし、更新権限を有する計算機としてIPアドレスを格納した更新権限管理データの一例を示す説明図。Explanatory drawing which shows an example of the update authority management data which stored the IP address as a computer which has the table, the column name, and the row number in embodiment of this invention as a unit item, and has an update authority. 本発明の実施の形態における共有データ処理手段の処理内容の一例を示すフローチャート。The flowchart which shows an example of the processing content of the shared data processing means in embodiment of this invention. 本発明の実施の形態における更新権限処理手段の処理内容の一例を示すフローチャート。The flowchart which shows an example of the processing content of the update authority process means in embodiment of this invention. 本発明の実施の形態における共有データ処理手段の処理内容の他の一例を示すフローチャート。The flowchart which shows another example of the processing content of the shared data processing means in embodiment of this invention. 本発明の実施の形態における更新権限処理手段の処理内容の他の一例を示すフローチャート。The flowchart which shows another example of the processing content of the update authority process means in embodiment of this invention. 本発明の実施の形態に係る分散型制御システムのデータ管理装置の他の一例を示す構成図。The block diagram which shows another example of the data management apparatus of the distributed control system which concerns on embodiment of this invention. 本発明の実施の形態におけるIPアドレスデータのファイル構成の一例を示す説明図。Explanatory drawing which shows an example of the file structure of IP address data in embodiment of this invention. 本発明の実施の形態における計算機アドレス管理手段の処理内容を示すフローチャート。The flowchart which shows the processing content of the computer address management means in embodiment of this invention. 本発明の実施の形態における他計算機の障害発生時に自計算機が引き継ぐ他計算機のIPアドレスを定義した判断表の一例を示す説明図。Explanatory drawing which shows an example of the judgment table which defined the IP address of the other computer which the own computer takes over when the failure of the other computer occurs in the embodiment of the present invention. 本発明の実施の形態における更新権限管理データの他の一例を示す説明図。Explanatory drawing which shows another example of the update authority management data in embodiment of this invention. 本発明の実施の形態における更新権限処理手段の処理内容の別の他の一例を示すフローチャート。The flowchart which shows another example of the processing content of the update authority process means in embodiment of this invention.

以下、本発明に係る分散型制御システムのデータ管理装置の実施の形態を説明する。図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 communication network 12. Each of the computers 11A to 11Z includes shared data 13 for sharing among the computers 11A to 11Z, update authority management data 14 in which computer information having update authority is recorded for each data item of the shared data 13, and shared data 13. It has a shared data processing means 15 for processing, an update authority processing means 16 for processing the update authority management data 14, and an application 17 for executing the shared data processing means 15 and the update authority processing means 16.

共有データ13は計算機11A〜11Zで共有する共有データであり、複数のテーブルファイルを格納する。テーブルファイルは計算機11A〜11Zの図示省略の記憶装置(ハードディスクまたはメモリ)に記憶されている。テーブルファイルは図2に示すような行と列とからなる表形式のファイルであり、テーブル名により1つのテーブルファイルが特定される。テーブルファイルの更新および参照処理はテーブル名を指定し、テーブルのカラム名称及び行名称により1つのデータを特定することで行われる。カラム名称、及び行名称は数値または文字列によって指定される。   The shared data 13 is shared data shared by the computers 11A to 11Z, and stores a plurality of table files. The table file is stored in a storage device (hard disk or memory) (not shown) of the computers 11A to 11Z. The table file is a tabular file having rows and columns as shown in FIG. 2, and one table file is specified by the table name. The table file update and reference processing is performed by specifying a table name and specifying one data by the column name and row name of the table. The column name and the row name are designated by numerical values or character strings.

更新権限管理データ14は共有データ13のデータ更新を行う際に自計算機がデータ更新対象となるテーブルファイルまたはテーブルファイル内の行、列の更新権限を有しているかを記憶するデータであり、共有データ13のファイルと同様に計算機11A〜11Zの記憶装置に記憶される。更新権限管理データ14は、図3から図6に示すように表形式のファイルとして管理する。   The update authority management data 14 is data for storing whether or not the own computer has the authority to update a row or column in the table file or table file to be updated when the shared data 13 is updated. The data 13 is stored in the storage devices of the computers 11A to 11Z in the same manner as the data 13 file. The update authority management data 14 is managed as a tabular file as shown in FIGS.

図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 authority management data 14 when the computers 11A to 11Z having the update authority are given for each table, and FIG. 4 is an example having the computers 11A to 11Z having the update authority for each column of the table. FIG. 5 is an example having update authority for each data item specified by the column and row number of the table. Further, as shown in FIG. 6, the update authority management data 14 may be divided and managed for each table, and the IP address of the computer may be stored as computer information. 192.168.2.1 in FIG. 6 is the IP address of the computer 11A, for example, 192.168.2.2 is the computer 11B, 192.168.2.3 is the computer 11C, 192.168.8.2. 4 is the IP address of the computer 11D.

アプリケーション17は計算機11A〜11Z上で動作し、共通データ処理手段15を用いて共有データ13のデータ項目について参照・更新処理を実行する。また、アプリケーション17は更新権限処理手段16を用いて、共有データ13の任意のデータ項目について更新権限の取得を行う。   The application 17 operates on the computers 11 </ b> A to 11 </ b> Z, and executes reference / update processing for the data items of the shared data 13 using the common data processing means 15. Further, the application 17 uses the update authority processing means 16 to acquire update authority for any data item of the shared data 13.

次に、自計算機から共有データ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 data 13 from the own computer and reflecting update difference data from other computers will be described. FIG. 7 is a flowchart showing an example of the processing content of the shared data processing means for referring to and updating the shared data 13 from the application 17 and reflecting the updated differential data from other computers on the shared data 13. Assume that the own computer is the computer 11A. First, it is determined whether the request is from the application 17 of the own computer 11A or the update difference data reflection request from the other computers 11B to 11Z (S701). If the received request is a request from the application 17 of the own computer 11A, it is determined whether the request content is a reference request or an update request (S702). If it is a reference request, reference is made to the shared data 13 (S703), and the reference result is returned to the application 17 (S704).

ステップS701の判定で、自計算機11Aのアプリケーション17からの要求でない場合には、他計算機11B〜11Zでの更新結果の差分データを共有データ13へ反映する(S705)。   If it is determined in step S701 that the request is not from the application 17 of the own computer 11A, the difference data of the update results in the other computers 11B to 11Z is reflected in the shared data 13 (S705).

ステップ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 application 17 of the own computer 11A and the request content is an update request, the update authority processing means 16 determines whether the data item updated by the update request has an update authority. Using this, the update authority management data 14 is collated (S706), and it is determined whether or not the user has update authority (S707). If the user does not have update authority, an error is returned to the application 17 (S708). On the other hand, if it is determined in step S707 that the user has update authority, the shared data 13 is updated (S709), and the update difference data is transmitted to the other computers 11B to 11Z (S710).

次に、共有データ13の任意のデータ項目について更新権限の取得、照合を行う場合の手段について説明する。図8はアプリケーション17からの更新権限の取得、アプリケーション17からの共有データ更新時に実施される更新権限の照合、他計算機での更新権限取得結果の更新権限管理データ14への反映を行う更新権限処理手段16の処理内容の一例を示すフローチャートである。   Next, means for acquiring and verifying update authority for an arbitrary data item of the shared data 13 will be described. FIG. 8 shows an update authority process for acquiring update authority from the application 17, checking update authority performed when updating shared data from the application 17, and reflecting the update authority acquisition result on the update authority management data 14 in other computers. 10 is a flowchart showing an example of processing contents of means 16.

まず、自計算機11Aからの要求か他計算機11B〜11Zからの更新権限取得結果の反映要求であるかを判定する(S801)。なお、自計算機11Aからの要求とは、アプリケーション17からの更新要求と、共有データ処理手段15で記載の更新権限の照合である。   First, it is determined whether it is a request from the own computer 11A or a request for reflecting an update authority acquisition result from the other computers 11B to 11Z (S801). Note that the request from the own computer 11 </ b> A is an update request from the application 17 and an update authority collation described in the shared data processing means 15.

ステップ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 computer 11A, it is determined whether the received request is a request from the application 17 of the computer 11A (S802). If it is a request from the application 17 of the own computer 11A, the update authority management data 14 is referred to (S803). If it is determined in step S802 that the update authority acquisition request is from the own computer 11A, the update authority management data 14 is collated for the data item requested to be acquired (S804), and the own computer 11A has the update authority. It is determined whether or not it has (S805). If the user has update authority, a completion notice is returned to the application 17 (S806).

自計算機11Aが更新権限を有していない場合には、他計算機11B〜11Zへ更新権限の取得要求を送信する(S807)。要求した更新権限について更新権限を有していた他計算機11Kからの更新権限譲渡の通知を受信する(S808)。更新権限を有していた他計算機11Kからの更新権限譲渡の通知を受信すると、自計算機11Aの更新権限管理データ14の更新を行い(S809)、更新権限取得結果を他計算機11B〜11Zへ送信し(S810)、アプリケーション17へ完了通知を返却する(S811)。   If the own computer 11A does not have update authority, an update authority acquisition request is transmitted to the other computers 11B to 11Z (S807). A notification of transfer of update authority from the other computer 11K having update authority for the requested update authority is received (S808). When a notification of transfer of update authority from the other computer 11K having update authority is received, the update authority management data 14 of the own computer 11A is updated (S809), and the update authority acquisition result is transmitted to the other computers 11B to 11Z. (S810), a completion notice is returned to the application 17 (S811).

ここで、自計算機11Aでは、他計算機11B〜11Zから更新権限の取得要求として送信されてきた取得要求はステップS801で受信処理することになる。すなわち、更新権限の取得要求を受信した自計算機11Aは、ステップS801の判定により、自計算機11Aからの要求ではなく他計算機11B〜11Zから要求であると判定する(S801のNO)。   Here, in the own computer 11A, the acquisition request transmitted as the update authority acquisition request from the other computers 11B to 11Z is received and processed in step S801. That is, the own computer 11A that has received the update authority acquisition request determines that it is a request from the other computers 11B to 11Z, not a request from the own computer 11A, based on the determination in step S801 (NO in S801).

そして、その他計算機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 authority management data 14 is referred to the data item for which an acquisition request has been made, and further, it is determined whether or not the own computer 11A is a data item having an update authority (S814).

自計算機が更新権限11Aを有していないデータ項目である場合には処理を終了する。一方、自計算機11Aが更新権限を有しているデータ項目である場合には、自計算機11Aの更新権限管理データ14の対応するデータ項目の更新権限所有計算機を要求元の計算機に変更し(S816)、要求元計算機へ当該データ項目の更新権限譲渡通知を送信する(S817)。   If the own computer is a data item that does not have the update authority 11A, the process ends. On the other hand, if the own computer 11A is a data item having update authority, the update authority owning computer of the corresponding data item in the update authority management data 14 of the own computer 11A is changed to the requesting computer (S816). ), An update authority transfer notification of the data item is transmitted to the request source computer (S817).

ここで、自計算機11Aでは、他計算機11B〜11Zから送信されてきた更新権限の譲渡通知はステップS808で受信される。また、他計算機11B〜11Zから送信されてきた更新権限の取得結果は、ステップS801で受信処理することになる。   Here, in the own computer 11A, the update authority transfer notification transmitted from the other computers 11B to 11Z is received in step S808. Further, the acquisition result of the update authority transmitted from the other computers 11B to 11Z is subjected to reception processing in step S801.

すなわち、自計算機11AではステップS801により、更新権限の取得結果を受信した各計算機では自計算機からの要求か否かの判定(S801)により、自計算機からの要求ではないと判定される(S801のNO)。そして、ステップS812により、更新権限の取得結果であるか否かが判定され、更新権限の取得結果であるため(S812のYES)、更新権限管理データ14への更新処理(S818)を行う。   That is, in the own computer 11A, in step S801, in each computer that has received the update authority acquisition result, it is determined that the request is not from the own computer by determining whether or not the request is from the own computer (S801). NO). Then, in step S812, it is determined whether or not it is an update authority acquisition result, and since it is an update authority acquisition result (YES in S812), an update process to the update authority management data 14 (S818) is performed.

このように、自計算機11Aがデータ更新の更新権限を有するデータ項目の更新を行う際に他計算機11B〜11Zへの確認が不要であるため、データ更新の応答性が良く、さらに更新後のデータ変更内容は直ちに他計算機11B〜11Zに反映されるので、他計算機11B〜11Zでは変更されたデータ内容が直ちに参照可能となる。また、データベースを構成する各データ項目について更新権限を持つ計算機を変更することができるので柔軟な運用が可能となる。   In this way, when the own computer 11A updates the data item having the authority to update the data, confirmation to the other computers 11B to 11Z is unnecessary, so that the responsiveness of the data update is good, and the updated data Since the changed contents are immediately reflected in the other computers 11B to 11Z, the changed data contents can be referred to immediately in the other computers 11B to 11Z. Further, since the computer having update authority can be changed for each data item constituting the database, flexible operation is possible.

次に、本発明の実施の形態における共有データ処理手段の処理内容の他の一例について説明する。図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 application 17 of the own computer 11A or the update difference data reflection request from the other computers 11B to 11Z (S901). If the received request is a request from the application 17 of the own computer 11A, it is determined whether the request content is a reference request or an update request (S902). If the request is a reference request, the shared data 13 is referred to (S903), and the reference result is returned to the application 17 (S904).

ステップ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 application 17 of the own computer 11A, it is determined whether the difference data is an update result in the other computers 11B to 11Z or an update request from the other computers 11B to 11Z. (S905). If the difference data is an update result in the other computers 11B to 11Z, it is reflected in the shared data 13 (S906). On the other hand, when it is not the difference data of the update results in the other computers 11B to 11Z but the update request from the other computers 11B to 11Z, the update processing is performed on the shared data 13 of the own computer 11A (S907). Data is transmitted to the other computers 11B to 11Z (S908).

ステップS902の判定で、自計算機11Aのアプリケーション17からの要求であり要求内容が更新要求である場合には、更新要求により更新されるデータ項目について更新権限を有しているか更新権限処理手段16を用いて更新権限管理データ14の照合を行い(S909)、更新権限を有しているか否かを判定する(S910)。更新権限を有していない場合には当該データ項目について更新権限を有している計算機へ更新依頼を行う(S911)。   If it is determined in step S902 that the request is from the application 17 of the own computer 11A and the request content is an update request, the update authority processing unit 16 determines whether the data item updated by the update request has an update authority. The update authority management data 14 is collated using it (S909), and it is determined whether or not it has the update authority (S910). If the user does not have update authority, an update request is made to the computer having update authority for the data item (S911).

ステップS910の判定で、更新権限を有している場合には、共有データ13について更新処理を行い(S912)、更新差分データを他計算機11B〜11Zへ送信する(S913)。   If it is determined in step S910 that the user has update authority, the shared data 13 is updated (S912), and the update difference data is transmitted to the other computers 11B to 11Z (S913).

次に、本発明の実施の形態における更新権限処理手段の処理内容の他の一例を説明する。図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 own computer 11A does not have the update authority for the data item requested to acquire the update authority from the application 17 is added. If the computer 11A does not have update authority (NO in S1005), an update authority acquisition request is transmitted only to a computer that has update authority for the data item requested in the update authority management data 14 (S1007). Since the rest is the same, the description is omitted.

このように、自計算機11Aがデータ更新の更新権限を有していないデータ項目の場合にも更新権限を有する計算機へデータ更新の依頼を行うことにより、更新権限の変更作業を行うことなく、データ更新を行うことが可能となる。また、更新権限の変更を行う際に対象となるデータ項目について現在更新権限を有している計算機へのみ更新権限の取得要求を行うことにより、更新権限を有していない他計算機11B〜11Zでの判定処理が不要となるため、効率よく更新権限の取得を行うことが可能となる。   In this way, even in the case of a data item for which the own computer 11A does not have the update authority for data update, by requesting the data update to the computer having the update authority, the data can be updated without changing the update authority. Updates can be made. In addition, by making an update authority acquisition request only to a computer that currently has an update authority for a data item that is subject to change of the update authority, the other computers 11B to 11Z that do not have the update authority. Therefore, it is possible to efficiently acquire the update authority.

次に、本発明の実施の形態に係る分散型制御システムのデータ管理装置の他の一例を説明する。図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 computers 11A to 11Z has the IP address data 18 storing the IP address of the computer having update authority, and the computer having update authority has failed. In addition, when the IP address of the computer is taken over, a computer address management means 19 for updating the IP address data 18 is added to the IP address data 18. The same elements as those in FIG. 1 are denoted by the same reference numerals, and redundant description is omitted.

図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, IP address data 18 is a data file in which the computers 11 </ b> A to 11 </ b> Z are associated with IP addresses and computers used when communicating via the communication network 12, and are stored in a storage device (not shown) of the computers. It is remembered. The IP address data 18 is a tabular data file as shown in FIG. 12, and the IP addresses (192.168.2.1, 192.168.2.2...) Owned by each computer are described. ing. The computer address management means 19 determines whether or not each other's computers are operating via the communication network 12 and updates the IP address data 18.

次に、計算機アドレス管理手段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 IP address data 18 when a failure occurs in the other computers 11B to 11Z. FIG. 13 is a flowchart showing the processing contents of the computer address management means 19.

まず、他計算機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 IP address data 18 of the own computer 11A is updated (S1302). ).

一方、他計算機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 own computer 11A takes over the IP address. (S1305).

自計算機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 own computer 11A takes over the IP address. FIG. 14 is an example of a determination table that defines in advance which own computer will take over the IP address when a failure occurs in the other computers 11B to 11Z.

図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 takeover order 1 takes over the IP address, and when both the computer A and the computer B fail, the takeover order is 2. This shows a case where the computer C takes over the IP address. Hereinafter, similarly, when a failure occurs in the computer B, the computer A whose takeover order is 1 takes over the IP address, and when both the computer B and the computer A fail, the computer whose takeover order is 2 When C takes over the IP address and a failure occurs in the computer C, the computer A whose takeover order is 1 takes over the IP address, and when both the computer C and the computer A fail, the takeover order is 2. A computer B takes over the IP address.

自計算機11AでIPアドレスを引き継ぐか否かを判定し(S1305)、IPアドレスを引き継ぐ場合にはIPアドレスデータ18の更新処理を行い(S1306)、変更結果を他計算機11B〜11Zへ送信する(S1307)。   It is determined whether or not the own computer 11A takes over the IP address (S1305). When the IP address is taken over, the IP address data 18 is updated (S1306), and the change result is transmitted to the other computers 11B to 11Z ( S1307).

なお、あるデータ項目について自計算機11Aが更新権限を所有しているか否かの判定を行う場合には、更新権限管理データ14に記載されているIPアドレスを検索キーとしてIPアドレスデータ18に記載されている当該IPアドレスの計算機名を確認することで、更新権限の照合を行うこととする。   When it is determined whether or not the own computer 11A has update authority for a certain data item, the IP address described in the update authority management data 14 is described in the IP address data 18 as a search key. The update authority is verified by confirming the computer name of the IP address.

このように、計算機に障害が発生した場合には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 authority management data 14 by changing the computer having the IP address. Therefore, it is possible to immediately change the computer having update authority, and it is possible to shorten the operation switching time when a failure occurs.

次に、更新権限管理データ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 authority management data 14 and switching the pattern file according to the combination.

図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 authority management data 14 has two or more update authority patterns for one data item. The update authority management data 14 shown in FIG. 6 is used as the pattern 1 update authority management data 14, and the pattern 2 update authority management data 14 is a data item in which the IP address 192.168.2.1 has the update authority in the pattern 1. For data items for which 192.168.2.4 has update authority and the IP address 192.168.2.4 has update authority, 192.168.2.1 has update authority for data items Management data 14.

図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 application 17 and the request content is an update authority pattern change request (YES in S1619), an update is performed. The pattern of authority data 14 is switched (S1620).

パターン切替を図15を例に説明する。更新権限データ14の各パターンについてパターン番号を割り当て、アプリケーション17からはパターン番号と共に更新権限パターンの変更要求を行う。変更結果のパターン番号を記憶しておくことにより更新権限データ14の参照及び更新においてアクセスするべき更新権限データ14を定めることが可能となる。   Pattern switching will be described with reference to FIG. A pattern number is assigned to each pattern of the update authority data 14, and an update authority pattern change request is made from the application 17 together with the pattern number. By storing the pattern number of the change result, it becomes possible to determine the update authority data 14 to be accessed in referring to and updating the update authority data 14.

次に、他計算機11B〜11Zへ更新権限データ14のパターン切替の結果を送信する(S1621)。送信する情報としてはアプリケーション17からの要求と同様にパターン番号と共に通知する。他計算機11B〜11Zへの送信が完了した後にアプリケーション17へ完了の通知を行う(S1622)。   Next, the result of the pattern switching of the update authority data 14 is transmitted to the other computers 11B to 11Z (S1621). The information to be transmitted is notified together with the pattern number in the same manner as the request from the application 17. After the transmission to the other computers 11B to 11Z is completed, the application 17 is notified of completion (S1622).

他計算機11B〜11Zからの更新権限データ14のパターン切替を受信した場合(S1623のYES)には自計算機11Aの更新権限データ14についてパターン切替を行う(S1624)。   When the pattern switching of the update authority data 14 is received from the other computers 11B to 11Z (YES in S1623), the pattern is switched for the update authority data 14 of the own computer 11A (S1624).

このように、更新権限の切替処理は事前に用意された更新権限のパターンを切り替えれば良いため、予め更新権限のパターンを決定できる場合には更新権限の変更を直ちに行うことが可能となる。   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)

ネットワークを介して複数の計算機が接続された分散型制御システムのデータ管理装置において、各計算機は、計算機間で共有するための共有データと、前記共有データのデータ項目ごとに更新権限を持つ計算機情報を記録した更新権限管理データと、自計算機からの共有データへのアクセス要求が参照要求の場合には共有データに格納されたデータを返却し、更新要求の場合には更新されるデータ内容の更新権限を有するときは共有データの更新を行いその更新結果の差分データを他計算機へ送信し、他計算機からの更新差分データを受信したときは前記共有データの更新を行う共有データ処理手段と、自計算機から更新権限管理データへのアクセス要求が更新権限の所有有無確認要求である場合には更新権限管理データとの照合を行い、更新権限の取得要求であり自計算機が更新権限を有していないデータの場合には各計算機へ更新権限の取得要求を行い、更新権譲渡の応答を受信した後に自計算機の更新権限データ内容を更新し、その更新結果のデータを他計算機に送信し、他計算機からの更新権限譲渡の取得要求を受けたときは、自計算機が更新権限を有するデータについては自計算機の更新権限データ内容を更新し、要求先計算機へ更新権限譲渡の応答を送信し、さらに他計算機からの更新権限データ内容の更新結果のデータを受信したときは、自計算機の更新権限データ内容の更新を行う更新権限処理手段とを備えたことを特徴とする分散型制御システムのデータ管理装置。   In a data management apparatus of a distributed control system in which a plurality of computers are connected via a network, each computer has shared data for sharing between computers, and computer information having update authority for each data item of the shared data The update authority management data that records and the data stored in the shared data is returned when the access request to the shared data from the local computer is a reference request, and the updated data contents are updated when the update request is received Update the shared data when authorized, send the difference data of the update result to another computer, and receive the updated difference data from the other computer; If the access request to the update authority management data from the computer is an update authority ownership confirmation request, check with the update authority management data, If the data is a request to acquire a new authority and the computer does not have the update authority, the update authority acquisition request is sent to each computer, and after receiving a response to transfer the update authority, the update authority data contents of the computer are Update, send the update result data to another computer, and when it receives a request to transfer update authority from another computer, update the update authority data of the own computer for data for which the own computer has update authority When the update authority transfer response is transmitted to the request destination computer, and the update authority data content update result data is received from another computer, the update authority processing means for updating the update authority data content of the own computer A data management device for a distributed control system. 前記更新権限処理手段は、現在更新権限を有している計算機へのみ更新権限の取得要求を行うことを特徴とする請求項1に記載の分散型制御システムのデータ管理装置。   2. The data management apparatus for a distributed control system according to claim 1, wherein the update authority processing means makes an update authority acquisition request only to a computer that currently has an update authority. 前記共有データ処理手段は、自計算機からの共有データへのアクセス要求が更新要求の場合には自計算機が更新権限を有するとき共有データの更新を行いその更新結果の差分データを他計算機へ送信し、自計算機が更新権限を有していない場合には更新権限を有する他計算機へ共有データの更新依頼を送信し、他計算機からの共有データの更新依頼を受信したときは更新されるデータ内容を更新し、他計算機からの更新差分データを受信したときは共有データの更新を行うことを特徴とする請求項2に記載の分散型制御システムのデータ管理装置。   If the access request to the shared data from the local computer is an update request, the shared data processing means updates the shared data when the local computer has an update authority and transmits the difference data of the update result to the other computer. When the own computer does not have update authority, it sends a request for updating shared data to another computer with update authority, and when it receives an update request for shared data from another computer, 3. The data management apparatus for a distributed control system according to claim 2, wherein the shared data is updated when update difference data is received from another computer. 各計算機は、更新権限を有した計算機のIPアドレスを格納したIPアドレスデータを有し、前記更新権限処理手段は、IPアドレスデータを参照して更新権限を持つ計算機を特定することを特徴とする請求項1乃至3のいずれか1項に記載の分散型制御システムのデータ管理装置。   Each computer has IP address data storing an IP address of a computer having update authority, and the update authority processing means identifies a computer having update authority with reference to the IP address data. The data management apparatus of the distributed control system of any one of Claims 1 thru | or 3. 各計算機は、更新権限を有する計算機に障害が発生した場合に当該計算機のIPアドレスを引き継ぐときは前記IPアドレスデータにそのIPアドレスデータの更新を行う計算機アドレス管理手段を有し、前記更新権限処理手段は、自計算機が更新権限を有するデータである判断を行う際に前記IPアドレスデータを用いることを特徴とする請求項4に記載の分散型制御システムのデータ管理装置。   Each computer has computer address management means for updating the IP address data to the IP address data when taking over the IP address of the computer when a failure occurs in the computer having the update authority, and the update authority processing 5. The data management apparatus for a distributed control system according to claim 4, wherein the means uses the IP address data when the computer determines that the data has update authority. 前記更新権限管理データは、前記共有データのデータ項目ごとに更新権限を持つ複数の計算機のIPアドレスが予め記録されており、前記更新権限処理手段は、前記更新権限管理データへのアクセス要求を受けて、その内容が更新権限管理データの切り替え要求である場合には自計算機の更新権限管理データの切替を行い、各計算機へ更新権限管理データの切り替え要求を行い、他計算機から更新権限管理データの切り替え要求を受けた場合には自計算機の更新権限管理データの切替を行うことを特徴とする請求項1乃至5のいずれか1項に記載の分散型制御システムのデータ管理装置。   In the update authority management data, IP addresses of a plurality of computers having an update authority are recorded in advance for each data item of the shared data, and the update authority processing means receives an access request to the update authority management data. If the content is an update authority management data switch request, the update authority management data of the local computer is switched, an update authority management data switch request is sent to each computer, and the update authority management data is transferred from another computer. 6. The data management apparatus for a distributed control system according to claim 1, wherein when the switching request is received, the update authority management data of the own computer is switched.
JP2009123544A 2009-05-21 2009-05-21 Data management device for distributed control system Pending JP2010271952A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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