JP2019040294A - Database management device and database management method - Google Patents

Database management device and database management method Download PDF

Info

Publication number
JP2019040294A
JP2019040294A JP2017160187A JP2017160187A JP2019040294A JP 2019040294 A JP2019040294 A JP 2019040294A JP 2017160187 A JP2017160187 A JP 2017160187A JP 2017160187 A JP2017160187 A JP 2017160187A JP 2019040294 A JP2019040294 A JP 2019040294A
Authority
JP
Japan
Prior art keywords
database
unit
definition file
editing
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017160187A
Other languages
Japanese (ja)
Other versions
JP6892192B2 (en
Inventor
英男 清田
Hideo Kiyota
英男 清田
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2017160187A priority Critical patent/JP6892192B2/en
Publication of JP2019040294A publication Critical patent/JP2019040294A/en
Application granted granted Critical
Publication of JP6892192B2 publication Critical patent/JP6892192B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

To provide a database management device which can associate editing contents of an edited developer-side database with conversion operation for a user-side database in an engineering device.SOLUTION: The database management device comprises: an accepting unit 11 which accepts an instruction to edit a first database; an editing unit 121 which generates a second database obtained by editing contents of the first database on the basis of the instruction accepted by the accepting unit 11; a difference extraction unit 122 which extracts difference between the first database and the second database generated by the editing unit 121; a definition file generation unit 123 wich generates a definition file for use in converting a database being used in engineering work, on the basis of the difference extracted by the difference extraction unit 122; and an output unit 16 which outputs the definition file generated by the definition file generation unit 123.SELECTED DRAWING: Figure 2

Description

この発明は、エンジニアリング装置において施設内に設置された機器の監視または制御を行う監視システムを構築する際に用いられるデータベースを管理するデータベースの管理装置、および、データベースの管理方法に関するものである。   The present invention relates to a database management apparatus and a database management method for managing a database used when constructing a monitoring system that monitors or controls equipment installed in a facility in an engineering apparatus.

従来、例えば、BACnet(Building Automation and Control Network)に対応した監視システムを構築するエンジニアリング装置であって、監視システムを構築する際に、各コントローラを動作させるための動作ファイルを作成して、BACnetを介して対応する上位コントローラにダウンロードするエンジニアリング装置が知られている(特許文献1参照)。   Conventionally, for example, an engineering apparatus for constructing a monitoring system corresponding to BACnet (Building Automation and Control Network), and when constructing a monitoring system, an operation file for operating each controller is created, and the BACnet is created. There is known an engineering device that downloads to a corresponding host controller (see Patent Document 1).

特開2014−153827号公報JP 2014-1553827 A

一般的に、エンジニアリング装置は監視システムのユーザ側に設置され、当該エンジニアリング装置においては、例えば、監視または制御を行う機器等の管理情報を記録したデータベース(ユーザ側データベース)に基づき、各コントローラを動作させるための動作ファイルを作成する。一方、開発者側では、管理装置において、ユーザ側データベースと同様のデータベース(開発者側データベース)を保有し、エンジニアリング装置におけるエンジニアリング作業で用いるユーザ側データベースを管理している。
したがって、データベースの構造に、追加、変更、または、削除がある場合には、ユーザ側データベースと開発者側データベースで同期をとって、当該追加、変更、または、削除に基づく、データベースのバージョンアップまたはバージョンダウンを行う必要がある。
従来は、当該バージョンアップ等の作業を、開発者側およびユーザ側で、それぞれ、切り離された別の作業として行っていた。具体的には、例えば、開発者側が、管理装置において、開発者側データベースに対する追加、変更、または、削除の作業を行い、当該作業を行った旨をユーザ側に知らせる。これを受けて、ユーザ側で、エンジニアリング装置において、開発者側で行われた開発者側データベースの追加、変更、または、削除の内容を、ユーザ側データベースに反映させるための情報を別途作成し、ユーザ側データベースのバージョンアップ等を行っていた。
そのため、開発者側データベースおよびユーザ側データベースの管理が煩雑になるという課題があった。
In general, an engineering device is installed on the user side of a monitoring system. In the engineering device, for example, each controller is operated based on a database (user-side database) that records management information such as equipment to be monitored or controlled. Create an action file for On the other hand, on the developer side, the management device has a database (developer side database) similar to the user side database, and manages the user side database used for engineering work in the engineering device.
Therefore, if there are additions, changes, or deletions in the database structure, the database on the version upgrade or deletion based on the additions, changes or deletions should be synchronized between the user side database and the developer side database. It is necessary to downgrade.
Conventionally, work such as version upgrade has been performed as separate work on the developer side and the user side. Specifically, for example, the developer side performs an addition, change, or deletion operation on the developer-side database in the management apparatus, and notifies the user side that the operation has been performed. In response to this, on the engineering equipment side, separately create information to reflect the contents of addition, change, or deletion of the developer side database performed on the developer side on the developer side to the user side database, The user side database was upgraded.
Therefore, there has been a problem that the management of the developer side database and the user side database becomes complicated.

この発明は、上記のような課題を解決するためになされたもので、施設内の機器を監視または制御するコントローラとネットワークを介して接続されるエンジニアリング装置によるエンジニアリング作業で用いられるデータベースを管理するデータベースの管理装置において、編集した開発側データベースの編集内容を、エンジニアリング装置におけるユーザ側データベースの変換作業に連携することができるデータベースの管理装置、および、データベースの管理方法を提供することを目的とする。   The present invention has been made to solve the above problems, and a database for managing a database used in engineering work by an engineering device connected via a network to a controller that monitors or controls equipment in a facility via a network. It is an object of the present invention to provide a database management apparatus and a database management method capable of linking the edited contents of the edited development-side database with the user-side database conversion work in the engineering apparatus.

この発明に係るデータベースの管理装置は、施設内の機器を監視または制御するコントローラとネットワークを介して接続されるエンジニアリング装置によるエンジニアリング作業で用いられるデータベースを管理するデータベースの管理装置において、第1のデータベースの編集指示を受け付ける受付部と、受付部が受け付けた編集指示に基づき、第1のデータベースの内容を編集した第2のデータベースを作成する編集部と、第1のデータベースと、編集部が作成した第2のデータベースとの差分を抽出する差分抽出部と、差分抽出部が抽出した差分に基づき、エンジニアリング作業で用いられるデータベースを変換する際に使用される定義ファイルを作成する定義ファイル作成部と、定義ファイル作成部が作成した定義ファイルを出力する出力部とを備えたものである。   The database management apparatus according to the present invention is a database management apparatus for managing a database used in an engineering work by an engineering apparatus connected via a network to a controller that monitors or controls equipment in a facility. The editing unit that receives the editing instruction, the editing unit that creates the second database obtained by editing the contents of the first database based on the editing instruction received by the receiving unit, the first database, and the editing unit A difference extraction unit that extracts a difference from the second database, a definition file creation unit that creates a definition file used when converting a database used in engineering work based on the difference extracted by the difference extraction unit; Outputs the definition file created by the definition file creation part It is obtained by a that output section.

この発明によれば、施設内の機器を監視または制御するコントローラとネットワークを介して接続されるエンジニアリング装置によるエンジニアリング作業で用いられるデータベースを管理するデータベースの管理装置において、編集した開発側データベースの編集内容を、エンジニアリング装置におけるユーザ側データベースの変換作業に連携することができる。   According to the present invention, in the database management device that manages the database used in the engineering work by the engineering device connected via the network to the controller that monitors or controls the equipment in the facility, the edited contents of the edited development side database Can be linked to the conversion work of the user side database in the engineering apparatus.

実施の形態1において、管理装置によって編集作業を行った開発者側データベースの編集内容を、エンジニアリング装置に連携するイメージを説明するための図である。In Embodiment 1, it is a figure for demonstrating the image which cooperates with the engineering apparatus the edit content of the developer side database which performed the edit operation | work by the management apparatus. 実施の形態1の管理装置の構成例を示す図である。2 is a diagram illustrating a configuration example of a management apparatus according to Embodiment 1. FIG. 実施の形態1の管理装置において、記憶部に記憶されている開発者側データベースを編集する動作を説明するためのフローチャートである。6 is a flowchart for explaining an operation of editing a developer-side database stored in a storage unit in the management apparatus according to the first embodiment. 実施の形態1において、表示制御部が表示部に表示させる、開発者側データベースの編集画面の一例を示す図である。In Embodiment 1, it is a figure which shows an example of the edit screen of a developer side database which a display control part displays on a display part. 実施の形態1において、表示制御部が表示部に表示させる、開発者側データベースの編集画面のその他の一例を示す図である。In Embodiment 1, it is a figure which shows another example of the edit screen of a developer side database which a display control part displays on a display part. 実施の形態1において、表示制御部が、差分の情報、第1のデータベースの情報、および、第2のデータベースの情報を表示部に表示させた画面の一例を示す図である。In Embodiment 1, it is a figure which shows an example of the screen on which the display control part displayed the difference information, the information of the 1st database, and the information of the 2nd database on the display part. 実施の形態1において、表示制御部が、差分の情報、第1のデータベースの情報、および、第2のデータベースの情報を表示部に表示させた画面のその他の一例を示す図である。In Embodiment 1, it is a figure which shows another example of the screen on which the display control part displayed the difference information, the information of the 1st database, and the information of the 2nd database on the display part. 実施の形態1のエンジニアリング装置の構成例を示す図である。1 is a diagram illustrating a configuration example of an engineering apparatus according to a first embodiment. 実施の形態1のエンジニアリング装置において、管理装置から出力された定義ファイルに基づき、記憶部に記憶されているユーザ側データベースに定義ファイルの内容を反映して新たなユーザ側データベースとする動作を説明するためのフローチャートである。In the engineering device according to the first embodiment, the operation of reflecting the contents of the definition file in the user-side database stored in the storage unit and creating a new user-side database based on the definition file output from the management device will be described. It is a flowchart for. 実施の形態1において、エンジニアリング装置の表示制御部が表示部に表示させる、定義ファイルの内容を示した画面の一例を説明するための図である。In Embodiment 1, it is a figure for demonstrating an example of the screen which showed the content of the definition file which the display control part of an engineering apparatus displays on a display part. 実施の形態1において、エンジニアリング装置の表示制御部が表示部に表示させる、定義ファイルの内容を示した画面のその他の一例を説明するための図である。In Embodiment 1, it is a figure for demonstrating another example of the screen which showed the content of the definition file which the display control part of an engineering apparatus displays on a display part. 実施の形態1において、エンジニアリング装置の表示制御部が表示部に表示させる、定義ファイルの内容を示した画面のその他の一例を説明するための図である。In Embodiment 1, it is a figure for demonstrating another example of the screen which showed the content of the definition file which the display control part of an engineering apparatus displays on a display part. 実施の形態1において、ユーザがユーザ側データベースの変換指示を入力するための画面の一例を説明するための図である。In Embodiment 1, it is a figure for demonstrating an example of the screen for a user to input the conversion instruction | indication of a user side database. 実施の形態1において、エンジニアリング装置の表示制御部が、変換の進捗状況を示す画面の一例を説明するための図である。In Embodiment 1, it is a figure for the display control part of an engineering apparatus to demonstrate an example of the screen which shows the progress of conversion.

以下、この発明の実施の形態について図面を参照しながら詳細に説明する。
実施の形態1.
実施の形態1に係るデータベースの管理装置(詳細な構成は後述する)は、施設内の機器を監視または制御する監視システムにおいて、当該機器等の管理情報が登録されたデータベース(開発者側データベース)を保有する装置を想定している。機器等の管理情報とは、例えば、機器の制御に用いるコントローラの演算処理機能に対応するファンクションブロックまたは入出力パーツ等の各種情報である。管理装置は、例えば、監視システムの開発者等が所属する管理会社に設置される。
一方、監視システムを管理するユーザが所属する現場には、エンジニアリング装置(詳細な構成は後述する)が設置される。エンジニアリング装置では、監視システムに応じて、管理装置で保有する開発者側データベースと同様のデータベース(ユーザ側データベースともいう)を保有している。
管理装置において、エンジニアリング装置が保有するユーザ側データベースの管理を行っており、開発者側データベースの内容に追加、変更、または、削除がある場合には、管理装置から当該追加、変更、または、削除の情報をエンジニアリング装置に連携し、エンジニアリング装置において、連携された情報に従い、ユーザ側データベースのバージョンアップまたはバージョンダウンを行わせる。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Embodiment 1 FIG.
The database management apparatus according to the first embodiment (detailed configuration will be described later) is a database (developer-side database) in which management information on the equipment is registered in a monitoring system that monitors or controls equipment in the facility Assuming a device with The management information of devices and the like is, for example, various information such as function blocks or input / output parts corresponding to the arithmetic processing function of the controller used for controlling the devices. For example, the management apparatus is installed in a management company to which a developer of the monitoring system belongs.
On the other hand, an engineering device (detailed configuration will be described later) is installed at a site to which a user who manages the monitoring system belongs. The engineering device has a database (also referred to as a user-side database) similar to the developer-side database held by the management device, depending on the monitoring system.
The management device manages the user-side database held by the engineering device, and if there is addition, change, or deletion in the contents of the developer-side database, the addition, change, or deletion from the management device Are linked to the engineering device, and the engineering device causes the user side database to be upgraded or down in accordance with the linked information.

具体的には、例えば、開発者が、管理装置が保有するデータベースXを変更してデータベースX’とした場合、データベースXからデータベースX’へと変更された差分の情報を、エンジニアリング装置に連携し、エンジニアリング装置において、監視システムのユーザが、連携された差分の情報に基づき、必要なユーザ側データベースのバージョンアップ作業を行わせる。
なお、これは一例に過ぎず、開発者は、開発者側データベースの内容の変更に限らず、開発者側データベースの内容の追加、または、削除を行うこともできる。実施の形態1においては、開発者が、管理装置1によって、開発者側データベースの内容を、変更、追加、または、削除することを、まとめて、開発者側データベースの内容を編集するというものとする。
また、ユーザは、ユーザ側データベースのバージョンアップに限らず、ユーザ側データベースのバージョンダウンを行うこともできる。実施の形態1においては、ユーザが、エンジニアリング装置2によって、ユーザ側データベースをバージョンアップ、または、バージョンダウンすることを、まとめて、ユーザ側データベースを変換するというものとする。
Specifically, for example, when the developer changes the database X held by the management device to be the database X ′, the difference information changed from the database X to the database X ′ is linked to the engineering device. In the engineering apparatus, the user of the monitoring system causes the required user-side database to be upgraded based on the linked difference information.
This is only an example, and the developer is not limited to changing the contents of the developer side database, but can also add or delete the contents of the developer side database. In the first embodiment, the developer edits the contents of the developer-side database collectively by changing, adding, or deleting the contents of the developer-side database by the management apparatus 1. To do.
In addition, the user is not limited to upgrading the user side database, but can also downgrade the user side database. In the first embodiment, it is assumed that the user upgrades or downgrades the user side database by the engineering device 2 and collectively converts the user side database.

図1は、実施の形態1において、管理装置によって編集作業を行った開発者側データベースの編集内容を、エンジニアリング装置に連携するイメージを説明するための図である。
例えば、開発者は、データベースXの内容に変更が発生した場合、管理装置より、当該データベースXの内容の変更作業を行い、変更後のデータベースX’を作成する。
管理装置では、変更前の元のデータベースXと編集後のデータベースX’の差分を抽出し、差分情報が定義された定義ファイルとして出力し、エンジニアリング装置に連携する。
定義ファイルは、例えば、XMLファイルで構成される。なお、これは一例に過ぎず、定義ファイルはその他の形式のファイルとしてもよい。
また、定義ファイルの連携方法は、例えば、開発者からネットワークを介してユーザに提供するインストーラに当該定義ファイルを含めるようにすればよい。ユーザ側では、エンジニアリング装置2において、開発者から提供されたインストーラを展開し、差分定義ファイルから新しいバージョンを選択して、当該新しいバージョンを適用させるユーザ側データベース(図1の変換対象DB)のバージョンアップを行い、新たなデータベースとする(図1の変換後DB)。
なお、これは一例に過ぎず、定義ファイルは、管理装置から出力され、適宜の方法でエンジニアリング装置に連携される。
FIG. 1 is a diagram for explaining an image in which editing contents of a developer-side database that has been edited by a management apparatus in the first embodiment are linked to an engineering apparatus.
For example, when a change occurs in the contents of the database X, the developer performs a change operation of the contents of the database X from the management apparatus, and creates a database X ′ after the change.
In the management device, the difference between the original database X before the change and the edited database X ′ is extracted, output as a definition file in which the difference information is defined, and linked to the engineering device.
The definition file is composed of, for example, an XML file. This is only an example, and the definition file may be a file of another format.
In addition, as a method for linking definition files, for example, the definition file may be included in an installer provided from a developer to a user via a network. On the user side, in the engineering device 2, the installer provided by the developer is expanded, a new version is selected from the difference definition file, and the version of the user side database (conversion target DB in FIG. 1) to which the new version is applied Up and make a new database (converted DB in FIG. 1).
This is only an example, and the definition file is output from the management apparatus and linked to the engineering apparatus by an appropriate method.

図1では記載を省略しているが、エンジニアリング装置は、ネットワークを介して、コントローラと接続される。また、コントローラは下位ネットワークを介して施設内に設置された機器と接続される。機器とは、センサ、照明、スイッチ、モータ等である。エンジニアリング装置は、ユーザ側データベースに基づき、各コントローラを動作させるための動作ファイルを作成し、各コントローラに当該動作ファイルをダウンロードする。各コントローラは、ダウンロードされた動作ファイルの設定に基づき、接続されている機器の制御を行う。実施の形態1において、エンジニアリング装置が、ユーザ側データベースの情報に基づき、各コントローラを動作させるための動作ファイルを作成して、各コントローラに当該動作ファイルをダウンロードする作業を、エンジニアリング作業という。
すなわち、管理装置は、監視システムにおいて、エンジニアリング装置によるエンジニアリング作業で用いられるデータベースを管理している。
Although not shown in FIG. 1, the engineering device is connected to the controller via a network. The controller is connected to equipment installed in the facility via a lower network. A device is a sensor, illumination, switch, motor, or the like. The engineering device creates an operation file for operating each controller based on the user-side database, and downloads the operation file to each controller. Each controller controls connected devices based on the settings of the downloaded operation file. In the first embodiment, an operation in which the engineering device creates an operation file for operating each controller based on information in the user-side database and downloads the operation file to each controller is referred to as an engineering operation.
That is, the management device manages a database used in engineering work by the engineering device in the monitoring system.

図2は、実施の形態1の管理装置1の構成例を示す図である。なお、管理装置1は、ソフトウェアに基づくCPUを用いたプログラム処理によって実行される。
管理装置1は、受付部11と、管理制御部12と、表示制御部13と、表示部14と、記憶部15と、出力部16とを備える。
受付部11は、開発者からの各種指示を受け付ける。受付部11は、受け付けた各種指示に関する情報を、管理制御部12および表示制御部13に出力する。例えば、開発者は、マウスまたはキーボード等の入力装置(図示省略)を操作して、記憶部15(後述する)で記憶している開発者側データベース151の編集指示を入力する。受付部11は、入力装置から入力された編集指示を受け付ける。
なお、記憶部15には、1つ以上の開発者側データベース151が記憶される。
FIG. 2 is a diagram illustrating a configuration example of the management apparatus 1 according to the first embodiment. The management device 1 is executed by program processing using a CPU based on software.
The management device 1 includes a reception unit 11, a management control unit 12, a display control unit 13, a display unit 14, a storage unit 15, and an output unit 16.
The reception unit 11 receives various instructions from the developer. The receiving unit 11 outputs information regarding the received various instructions to the management control unit 12 and the display control unit 13. For example, the developer operates an input device (not shown) such as a mouse or a keyboard, and inputs an editing instruction of the developer database 151 stored in the storage unit 15 (described later). The accepting unit 11 accepts an editing instruction input from the input device.
The storage unit 15 stores one or more developer-side databases 151.

管理制御部12は、記憶部15で記憶する開発者側データベース151の編集に関連する動作を制御する。
管理制御部12は、編集部121と、差分抽出部122と、定義ファイル作成部123とからなる。編集部121は、コピー部1211と反映部1212とを有する
編集部121は、受付部11が、開発者側データベース151を編集する編集指示を受け付けた場合、当該編集指示に基づき、記憶部15に記憶されている開発者側データベース151のうち、編集対象となる開発者側データベース(第1のデータベース)の編集を行う。
編集部121のコピー部1211は、受付部11が受け付けた編集指示に基づき、記憶部15に記憶されている開発者側データベース151のうち、編集対象となる第1のデータベースを抽出し、抽出した第1のデータベースをコピーしたデータベース(コピー後データベース)を作成する。
編集部121の反映部1212は、受付部11が受け付けた編集指示に基づき、コピー部1211が作成したコピー後データベースを編集して、編集指示が反映された開発者側データベース(第2のデータベース)とする。
The management control unit 12 controls operations related to editing of the developer-side database 151 stored in the storage unit 15.
The management control unit 12 includes an editing unit 121, a difference extraction unit 122, and a definition file creation unit 123. The editing unit 121 includes a copying unit 1211 and a reflecting unit 1212. When the receiving unit 11 receives an editing instruction to edit the developer-side database 151, the editing unit 121 stores the editing unit 121 in the storage unit 15 based on the editing instruction. Of the stored developer-side database 151, the developer-side database (first database) to be edited is edited.
The copy unit 1211 of the editing unit 121 extracts and extracts the first database to be edited from the developer-side database 151 stored in the storage unit 15 based on the editing instruction received by the receiving unit 11. A database (a database after copying) is created by copying the first database.
The reflecting unit 1212 of the editing unit 121 edits the post-copy database created by the copying unit 1211 based on the editing instruction received by the receiving unit 11, and the developer side database (second database) in which the editing instruction is reflected. And

差分抽出部122は、編集部121の反映部1212が作成した第2のデータベースと、編集部121のコピー部1211が抽出した第1のデータベースとの差分を抽出する。
差分抽出部122は、抽出した差分の情報を、定義ファイル作成部123に出力する。
The difference extraction unit 122 extracts a difference between the second database created by the reflection unit 1212 of the editing unit 121 and the first database extracted by the copy unit 1211 of the editing unit 121.
The difference extraction unit 122 outputs the extracted difference information to the definition file creation unit 123.

定義ファイル作成部123は、差分抽出部122が抽出した差分の情報に基づき、定義ファイルを作成する。実施の形態1において、定義ファイルとは、図1を用いて上述したとおり、エンジニアリング装置2において、エンジニアリング作業で用いられるデータベースを変換する際に使用されるデータである。
定義ファイル作成部123が作成した定義ファイルは、出力部16(詳細は後述する)により出力され、エンジニアリング装置2に連携される。定義ファイルのエンジニアリング装置2への連携方法は適宜の方法でよい。
The definition file creation unit 123 creates a definition file based on the difference information extracted by the difference extraction unit 122. In the first embodiment, the definition file is data used when the database used in the engineering work is converted in the engineering device 2 as described above with reference to FIG.
The definition file created by the definition file creation unit 123 is output by the output unit 16 (details will be described later) and linked to the engineering apparatus 2. The method for linking the definition file to the engineering device 2 may be any appropriate method.

表示制御部13は、記憶部15が記憶している開発者側データベース151を編集する際の各種操作画面、または、処理状態を示す情報等を、表示部14に表示させる。   The display control unit 13 causes the display unit 14 to display various operation screens when editing the developer-side database 151 stored in the storage unit 15 or information indicating a processing state.

表示部14は、例えば、ディスプレイであり、表示制御部13の制御に基づき、各種操作画面、または、処理状態を示す情報等を表示する。
なお、図1では、表示部14は、管理装置1に備えられるものとしたが、これに限らず、表示部14は、管理装置1の外部に備えられるものとしてもよい。
The display unit 14 is, for example, a display, and displays various operation screens, information indicating a processing state, or the like based on the control of the display control unit 13.
In FIG. 1, the display unit 14 is provided in the management device 1. However, the display unit 14 is not limited thereto, and the display unit 14 may be provided outside the management device 1.

記憶部15は、開発者側データベース151を記憶する。開発者側データベース151は、1つ以上の開発者側データベースであり、開発者側データベース151には、監視システムにおいて監視または制御する機器等の管理情報が収録される。
なお、図1では、記憶部15は、管理装置1に備えられるものとしたが、これに限らず、記憶部15は、管理装置1の外部に備えられるものとしてもよい。
出力部16は、出力インタフェース装置であり、定義ファイル作成部123が作成した定義ファイルを出力する。
The storage unit 15 stores a developer database 151. The developer-side database 151 is one or more developer-side databases, and the developer-side database 151 stores management information such as devices that are monitored or controlled by the monitoring system.
In FIG. 1, the storage unit 15 is provided in the management device 1. However, the storage unit 15 is not limited thereto, and the storage unit 15 may be provided outside the management device 1.
The output unit 16 is an output interface device, and outputs the definition file created by the definition file creation unit 123.

実施の形態1の管理装置1の動作について説明する。
図3は、実施の形態1の管理装置1において、記憶部15に記憶されている開発者側データベース151を編集する動作を説明するためのフローチャートである。
受付部11は、記憶部15で記憶する開発者側データベース151の編集指示を受け付けるまで待機し(ステップST301の“NO”の場合)、開発者側データベース151の編集指示を受け付けると(ステップST301の“YES”)、受付部11は、受け付けた編集指示に関する情報を、管理制御部12に出力する。
例えば、開発者は、入力装置を操作して、記憶部15で記憶する開発者側データベース151のうち、編集対象となる第1のデータベースの編集指示を入力する。
ここでは、一例として、第1のデータベースとして、データベースXに変更が発生し、開発者は、当該データベースXの変更を行うものとする。すなわち、受付部11は、データベースXの内容を変更する編集指示を受け付ける。
An operation of the management apparatus 1 according to the first embodiment will be described.
FIG. 3 is a flowchart for explaining the operation of editing the developer-side database 151 stored in the storage unit 15 in the management apparatus 1 according to the first embodiment.
Reception unit 11 waits until an editing instruction for developer-side database 151 stored in storage unit 15 is received (in the case of “NO” in step ST301), and receives an editing instruction for developer-side database 151 (in step ST301). “YES”), the reception unit 11 outputs information regarding the received editing instruction to the management control unit 12.
For example, the developer operates the input device to input an editing instruction for the first database to be edited out of the developer-side database 151 stored in the storage unit 15.
Here, as an example, it is assumed that a change occurs in the database X as the first database, and the developer changes the database X. That is, the accepting unit 11 accepts an editing instruction for changing the contents of the database X.

ここで、開発者がデータベースXの編集指示を入力し、受付部11が当該データベースXの編集指示を受け付けるまでの流れの一例について説明する。
開発者は、記憶部15で記憶されているデータベースXの変更作業を行いたい場合、例えば、まず、入力装置を操作して、表示部14に表示されている、DB編集受付画面を呼び出す。具体的には、例えば、開発者は、表示部14に表示されている、DB編集受付画面ボタンをクリックする等する。
受付部11は、DB編集受付画面の呼出を受け付け、呼出を受け付けた旨の情報を表示制御部13に出力する。表示制御部13は、受付部11から、DB編集受付画面の呼出を受け付けた旨の情報が出力されると、表示部14に、DB編集受付画面を表示させる。
DB編集受付画面では、例えば、DB入力部が表示される。開発者が、入力装置を操作して、DB入力部に、変更したい所望の開発者側データベース、すなわち、データベースXを入力すると、受付部11は、入力情報を受け付け、表示制御部13は、表示部14に、データベースXの編集画面を表示させる。
Here, an example of a flow from when the developer inputs an editing instruction for the database X to when the receiving unit 11 receives the editing instruction for the database X will be described.
When the developer wants to change the database X stored in the storage unit 15, for example, first, the developer operates the input device to call the DB editing acceptance screen displayed on the display unit 14. Specifically, for example, the developer clicks a DB editing acceptance screen button displayed on the display unit 14 or the like.
The reception unit 11 receives a call on the DB editing reception screen and outputs information indicating that the call has been received to the display control unit 13. The display control unit 13 causes the display unit 14 to display the DB edit acceptance screen when information indicating that the call to the DB edit acceptance screen has been accepted is output from the acceptance unit 11.
On the DB editing acceptance screen, for example, a DB input unit is displayed. When the developer operates the input device and inputs a desired developer side database to be changed, that is, database X, into the DB input unit, the receiving unit 11 receives input information, and the display control unit 13 displays The editing screen of the database X is displayed on the unit 14.

図4,図5は、実施の形態1において、表示制御部13が表示部14に表示させる、開発者側データベースの編集画面の一例を示す図である。
例えば、図4に示すように、表示制御部13は、編集の対象となる開発者側データベースの情報を表示させる(図4の401参照)。図4では、データベースXのDB名「1.0.0.0db」と、当該データベースXが有するテーブルが表示されるようになっている。なお、表示制御部13は、データベースXに関する情報は、記憶部15を参照して取得すればよい。
また、表示制御部13は、データベースXが有するテーブルの詳細情報を表示させる(図4の402参照)。
開発者は、データベースXが有するテーブルの情報を確認し、入力装置を操作して、編集するテーブルを選択する。
開発者によって、編集するテーブルが選択されると、受付部11が、選択されたテーブルの情報を受け付け、表示制御部13が、選択されたテーブルの編集画面を表示部14に表示させる。
4 and 5 are diagrams illustrating an example of a developer database editing screen displayed on the display unit 14 by the display control unit 13 in the first embodiment.
For example, as shown in FIG. 4, the display control unit 13 displays information on the developer-side database to be edited (see 401 in FIG. 4). In FIG. 4, the DB name “1.0.0.0 db” of the database X and the table of the database X are displayed. The display control unit 13 may acquire information regarding the database X with reference to the storage unit 15.
Further, the display control unit 13 displays detailed information of the table included in the database X (see 402 in FIG. 4).
The developer confirms the information of the table included in the database X, and operates the input device to select the table to be edited.
When the developer selects a table to be edited, the reception unit 11 receives information on the selected table, and the display control unit 13 causes the display unit 14 to display an editing screen for the selected table.

図5は、表示制御部13が表示部14に表示させた、テーブルの編集画面の一例を示す図である。図5は、例えば、図4に示すような、データベースXの情報を表示した表示画面から、テーブルDが編集対象として選択された場合の、テーブルDの編集画面の一例を示している。
例えば、図5に示すように、表示制御部13は、編集の対象となっているテーブルが分かるようにデータベースの情報を表示させる(図5の501参照)。また、表示制御部13は、編集の対象となっているテーブルの詳細情報を表示させる(図5の502参照)。また、表示制御部13は、編集対象となるテーブルに対して実施する編集内容を選択する画面を表示させる(図5の503参照)。
FIG. 5 is a diagram illustrating an example of a table editing screen displayed on the display unit 14 by the display control unit 13. FIG. 5 shows an example of the editing screen of the table D when the table D is selected as an editing target from the display screen displaying the information of the database X as shown in FIG.
For example, as shown in FIG. 5, the display control unit 13 displays database information so that the table to be edited can be seen (see 501 in FIG. 5). Further, the display control unit 13 displays detailed information of the table to be edited (see 502 in FIG. 5). In addition, the display control unit 13 displays a screen for selecting edit contents to be performed on the table to be edited (see 503 in FIG. 5).

開発者は、図5に示すような画面を確認し、編集を行うテーブルを選択して、当該テーブルに対して実施する編集内容を選択する。
該当の編集内容が選択されると、受付部11は、当該編集内容に関する情報を受け付け、表示制御部13は、情報入力画面を表示させる。
例えば、開発者が、テーブルDに対して変更を実施する編集内容を選択したとすると、表示制御部13は、テーブルDの情報を変更するための情報入力画面を表示させる。
開発者は、情報入力画面から、変更したい情報を入力する。ここで入力された情報が、編集指示となる。受付部11は、編集指示を受け付け、受け付けた編集指示に関する情報を、管理制御部12に出力する(上述のステップST301の“YES”の場合)。
The developer confirms the screen as shown in FIG. 5, selects a table to be edited, and selects editing contents to be performed on the table.
When the corresponding editing content is selected, the receiving unit 11 receives information related to the editing content, and the display control unit 13 displays an information input screen.
For example, if the developer selects edit contents to be changed on the table D, the display control unit 13 displays an information input screen for changing information on the table D.
The developer inputs information to be changed from the information input screen. The information input here becomes an editing instruction. The accepting unit 11 accepts an editing instruction, and outputs information regarding the accepted editing instruction to the management control unit 12 (in the case of “YES” in step ST301 described above).

なお、上述した例における、開発者側データベース151の編集時のDB編集受付画面、または、編集画面等は、一例に過ぎない。表示制御部13は、適宜、開発者が開発者側データベース151の編集内容を設定できるような画面を表示部14に表示させ、受付部11が、開発者からの編集指示を受け付けられるようになっていればよい。
また、上述の例では、開発者側データベース151は、テーブルを有するものとしたが、これは一例に過ぎない。開発者は、適宜、開発者側データベース151の内容の編集を行うことができ、表示制御部13は、開発者側データベース151の構成にあわせた各種画面を表示部14に表示させる。
Note that the DB editing acceptance screen or editing screen at the time of editing the developer-side database 151 in the above-described example is merely an example. The display control unit 13 causes the display unit 14 to display a screen on which the developer can set the editing content of the developer-side database 151, and the reception unit 11 can receive an editing instruction from the developer. It only has to be.
In the above example, the developer-side database 151 includes a table, but this is only an example. The developer can appropriately edit the contents of the developer-side database 151, and the display control unit 13 causes the display unit 14 to display various screens according to the configuration of the developer-side database 151.

図3のフローチャートに戻る。
編集部121のコピー部1211は、ステップST301にて受付部11が受け付けた編集指示に基づき、開発者側データベース151のうち、編集対象となる第1のデータベースを抽出し、抽出した第1のデータベースをコピーしたコピー後データベースを作成する(ステップST302)。コピー部1211は、抽出した第1のデータベースおよびコピー後データベースを、例えば、記憶部15の空き領域等、管理装置1が参照可能な場所に一時記憶させる。
ここでは、コピー部1211は、データベースXを抽出し、コピーしたコピー後データベースを作成し、記憶させる。
Returning to the flowchart of FIG.
The copy unit 1211 of the editing unit 121 extracts the first database to be edited from the developer database 151 based on the editing instruction received by the receiving unit 11 in step ST301, and extracts the extracted first database. After copying, a post-copy database is created (step ST302). The copy unit 1211 temporarily stores the extracted first database and post-copy database in a location that can be referred to by the management apparatus 1, such as an empty area of the storage unit 15, for example.
Here, the copy unit 1211 extracts the database X, creates a copied post-copy database, and stores it.

編集部121の反映部1212は、ステップST301にて受付部11が受け付けた編集指示に基づき、ステップST302にてコピー部1211が作成したコピー後データベースを編集して、編集指示が反映された第2のデータベースとする(ステップST303)。反映部1212は、作成した第2のデータベースを記憶部15に記憶させる。
ここでは、反映部1212は、コピー後データベースに、受付部11が受け付けた編集指示を反映してデータベースX’とし、記憶部15に記憶させる。
The reflecting unit 1212 of the editing unit 121 edits the post-copy database created by the copying unit 1211 in step ST302 based on the editing instruction received by the receiving unit 11 in step ST301, and the second editing instruction is reflected. (Step ST303). The reflection unit 1212 stores the created second database in the storage unit 15.
Here, the reflecting unit 1212 reflects the editing instruction received by the receiving unit 11 in the post-copy database as the database X ′ and stores it in the storage unit 15.

差分抽出部122は、ステップST303にて反映部1212が作成した第2のデータベースと、コピー部1211が抽出して一時記憶させている第1のデータベースとの差分を抽出する(ステップST304)。ここでは、差分抽出部122は、データベースXとデータベースX’との差分を抽出する。
差分抽出部122は、抽出した差分の情報を、定義ファイル作成部123に出力する。
このとき、差分抽出部122は、一時記憶させていた第1のデータベースを削除する。
The difference extraction unit 122 extracts a difference between the second database created by the reflection unit 1212 in step ST303 and the first database extracted and temporarily stored by the copy unit 1211 (step ST304). Here, the difference extraction unit 122 extracts the difference between the database X and the database X ′.
The difference extraction unit 122 outputs the extracted difference information to the definition file creation unit 123.
At this time, the difference extraction unit 122 deletes the first database that has been temporarily stored.

なお、差分抽出部122が差分を抽出する際、差分の情報、第1のデータベースの情報、および、第2のデータベースの情報を表示制御部13に出力し、表示制御部13が、これらの情報を表示部14に表示させるようにすることもできる。
図6,図7は、実施の形態1において、表示制御部13が、差分の情報、第1のデータベースの情報、および、第2のデータベースの情報を表示部14に表示させた画面の一例を示す図である。
表示制御部13は、差分の情報、第1のデータベースの情報、および、第2のデータベースの情報を差分抽出部122から取得すると、図6に示すように、比較された第1のデータベースおよび第2のデータベースの内容を、差分があった箇所がわかるような状態で示す画面を表示させる。すなわち、ここでは、表示制御部13は、データベースXおよびデータベースX’の内容を、差分があった箇所がわかるような状態で表示させる。
When the difference extraction unit 122 extracts the difference, the difference information, the first database information, and the second database information are output to the display control unit 13, and the display control unit 13 outputs the information. Can also be displayed on the display unit 14.
6 and 7 show examples of screens in which the display control unit 13 causes the display unit 14 to display the difference information, the first database information, and the second database information in the first embodiment. FIG.
When the display control unit 13 acquires the difference information, the first database information, and the second database information from the difference extraction unit 122, as shown in FIG. A screen showing the contents of the database 2 in a state in which the location where there is a difference is displayed. That is, here, the display control unit 13 displays the contents of the database X and the database X ′ in such a state that the location where the difference exists can be known.

図6では、例えば、表示制御部13は、データベースXの内容(図6の601参照)とデータベースX’の内容(図6の602参照)を表示し、さらに、差分があったテーブルDについては、差分があったことがわかるように網掛けをして表示させた(図6の603参照)ものとしている。さらに、表示制御部13は、差分の情報を表形式で表示させるようにしている(図6の604参照)。なお、これは一例に過ぎず、表示制御部13は、差分抽出部122から取得した差分の情報を、第1のデータベースおよび第2のデータベースの差分があった箇所がわかるように表示させるようになっていればよい。   In FIG. 6, for example, the display control unit 13 displays the contents of the database X (see 601 in FIG. 6) and the contents of the database X ′ (see 602 in FIG. 6). In order to understand that there is a difference, the information is shaded and displayed (see 603 in FIG. 6). Further, the display control unit 13 displays the difference information in a table format (see 604 in FIG. 6). Note that this is only an example, and the display control unit 13 displays the difference information acquired from the difference extraction unit 122 so that the location where there is a difference between the first database and the second database can be seen. It only has to be.

開発者は、図6に示すような画面を確認することで、編集指示を正しく反映した第2のデータベースが作成されていることを確認することができる。
さらに、開発者は、図6に示すような画面から、差分の情報をより詳細に示す図7のような画面へと切り換えることができる。
具体的には、開発者は、図6に示すような画面から、例えば、入力装置を操作して、差分があったテーブルDをクリックして、当該テーブルDを選択する。受付部11は、テーブルDが選択された旨の情報を受け付け、表示制御部13に出力する。表示制御部13は、差分抽出部122から出力された差分の情報、データベースXの情報、および、データベースX’の情報に基づき、図7に示すように、テーブルDの内容についての差分の情報を表示した画面を表示させる。具体的には、表示制御部13は、データベースXのテーブルDの内容(図7の701参照)と、データベースX’のテーブルDの内容(図7の702参照)を表示させ、さらに、差分の詳細を表形式で表示させる(図7の703参照)。
開発者は、図7に示すような画面を確認することで、実際に、編集指示が正しく反映されていることを確認することができる。
The developer can confirm that the second database that correctly reflects the editing instruction has been created by confirming the screen as shown in FIG.
Further, the developer can switch from the screen as shown in FIG. 6 to the screen as shown in FIG. 7 showing the difference information in more detail.
Specifically, the developer selects, for example, the table D by operating the input device and clicking the table D having a difference from the screen as shown in FIG. The receiving unit 11 receives information indicating that the table D has been selected, and outputs the information to the display control unit 13. Based on the difference information, the database X information, and the database X ′ information output from the difference extraction unit 122, the display control unit 13 displays the difference information about the contents of the table D as shown in FIG. Display the displayed screen. Specifically, the display control unit 13 displays the contents of the table D in the database X (see 701 in FIG. 7) and the contents of the table D in the database X ′ (see 702 in FIG. 7). Details are displayed in a table format (see 703 in FIG. 7).
The developer can confirm that the editing instruction is actually reflected correctly by confirming the screen as shown in FIG.

図3のフローチャートに戻る。
ステップST304において差分抽出部122から出力された差分の情報を取得すると、定義ファイル作成部123は、差分抽出部122が抽出した差分の情報に基づき、定義ファイルを作成する(ステップST305)。
ステップST305において定義ファイル作成部123が作成した定義ファイルは、出力部16によって出力され(ステップST306)、適宜の方法で、エンジニアリング装置2へ連携される。
Returning to the flowchart of FIG.
When the difference information output from the difference extraction unit 122 is acquired in step ST304, the definition file creation unit 123 creates a definition file based on the difference information extracted by the difference extraction unit 122 (step ST305).
The definition file created by the definition file creation unit 123 in step ST305 is output by the output unit 16 (step ST306) and linked to the engineering apparatus 2 by an appropriate method.

以下、エンジニアリング装置2における、定義ファイルを用いた、ユーザ側データベースの変換処理について説明する。
まず、エンジニアリング装置2の構成例について説明する。
図8は、実施の形態1のエンジニアリング装置2の構成例を示す図である。なお、エンジニアリング装置2は、ソフトウェアに基づくCPUを用いたプログラム処理によって実行される。
エンジニアリング装置2は、取得部21と、受付部22と、表示制御部23と、表示部24と、変換部25と、記憶部26とを備える。
Hereinafter, the conversion processing of the user side database using the definition file in the engineering apparatus 2 will be described.
First, a configuration example of the engineering device 2 will be described.
FIG. 8 is a diagram illustrating a configuration example of the engineering apparatus 2 according to the first embodiment. The engineering device 2 is executed by a program process using a CPU based on software.
The engineering device 2 includes an acquisition unit 21, a reception unit 22, a display control unit 23, a display unit 24, a conversion unit 25, and a storage unit 26.

取得部21は、管理装置1から出力された定義ファイルを取得する。取得部21は、取得した定義ファイルの情報を、変換部25および表示制御部23に出力する。   The acquisition unit 21 acquires the definition file output from the management device 1. The acquisition unit 21 outputs the acquired definition file information to the conversion unit 25 and the display control unit 23.

受付部22は、ユーザからの各種指示を受け付ける。受付部22は、表示指示受付部221と、変換指示受付部222とを有する。
表示指示受付部221は、各種表示指示を受け付ける。例えば、表示指示受付部221は、定義ファイルの情報の表示指示を受け付ける。ユーザは、例えば、入力装置を操作して、定義ファイルの表示指示を入力する。表示指示受付部221は、入力装置から入力された表示指示の情報を受け付ける。
表示指示受付部221は、受け付けた各種表示指示の情報を、表示制御部23に出力する。
The accepting unit 22 accepts various instructions from the user. The receiving unit 22 includes a display instruction receiving unit 221 and a conversion instruction receiving unit 222.
The display instruction receiving unit 221 receives various display instructions. For example, the display instruction receiving unit 221 receives an instruction to display information on the definition file. For example, the user operates the input device to input a definition file display instruction. The display instruction receiving unit 221 receives display instruction information input from the input device.
The display instruction receiving unit 221 outputs information on various received display instructions to the display control unit 23.

変換指示受付部222は、記憶部26に記憶されているユーザ側データベースの変換指示を受け付ける。ユーザは、例えば、入力装置を操作して、ユーザ側データベースの変換指示を入力する。変換指示受付部222は、入力装置から入力された変換指示の情報を受け付ける。
変換指示受付部222は、ユーザ側データベースの変換指示を受け付けた旨の情報を、変換部25に出力する。
The conversion instruction receiving unit 222 receives a user database conversion instruction stored in the storage unit 26. For example, the user operates the input device to input a user database conversion instruction. The conversion instruction receiving unit 222 receives information on a conversion instruction input from the input device.
The conversion instruction receiving unit 222 outputs information indicating that the conversion instruction of the user side database has been received to the conversion unit 25.

表示制御部23は、表示指示受付部221が受け付けた表示指示に基づく情報を表示部24に表示させる。   The display control unit 23 causes the display unit 24 to display information based on the display instruction received by the display instruction receiving unit 221.

表示部24は、例えば、ディスプレイであり、表示制御部23の制御に基づき、各種操作画面、または、処理状態を示す情報等を表示する。
なお、図8では、表示部24は、エンジニアリング装置2に備えられるものとしたが、これに限らず、表示部24は、エンジニアリング装置2の外部に備えられるものとしてもよい。
The display unit 24 is, for example, a display, and displays various operation screens or information indicating a processing state based on the control of the display control unit 23.
In FIG. 8, the display unit 24 is provided in the engineering device 2. However, the display unit 24 is not limited thereto, and the display unit 24 may be provided outside the engineering device 2.

変換部25は、変換指示受付部222から変換指示が出力されると、当該変換指示と、取得部21から出力された定義ファイルの情報とに基づき、記憶部26に記憶されているユーザ側データベース261のうち、該当のデータベース(変換対象データベース)に定義ファイルの内容を反映する。すなわち、変換部25は、定義ファイルに基づき、記憶部26に記憶されているユーザ側データベース261のうち、該当のデータベースのバージョンアップ、バージョンダウン等を行う。   When the conversion instruction is output from the conversion instruction receiving unit 222, the conversion unit 25 stores the user-side database stored in the storage unit 26 based on the conversion instruction and the definition file information output from the acquisition unit 21. Of the H.261, the contents of the definition file are reflected in the corresponding database (conversion target database). That is, the conversion unit 25 performs version upgrade, version down, or the like of a corresponding database among the user side databases 261 stored in the storage unit 26 based on the definition file.

記憶部26は、ユーザ側データベース261を記憶する。ユーザ側データベース261には、監視システムにおいて監視する機器等の管理情報が収録される。
なお、図8では、記憶部26は、エンジニアリング装置2に備えられるものとしたが、これに限らず、記憶部26は、エンジニアリング装置2の外部に備えられるものとしてもよい。
The storage unit 26 stores a user side database 261. In the user-side database 261, management information such as devices monitored by the monitoring system is recorded.
In FIG. 8, the storage unit 26 is provided in the engineering device 2. However, the storage unit 26 is not limited thereto, and the storage unit 26 may be provided outside the engineering device 2.

実施の形態1のエンジニアリング装置2の動作について説明する。
図9は、実施の形態1のエンジニアリング装置2において、管理装置1から出力された定義ファイルに基づき、記憶部26に記憶されているユーザ側データベース261に定義ファイルの内容を反映して新たなユーザ側データベースとする動作を説明するためのフローチャートである。
The operation of the engineering device 2 according to the first embodiment will be described.
FIG. 9 shows a new user who reflects the contents of the definition file in the user-side database 261 stored in the storage unit 26 based on the definition file output from the management apparatus 1 in the engineering device 2 of the first embodiment. It is a flowchart for demonstrating the operation | movement made into a side database.

取得部21は、管理装置1から出力された定義ファイルを取得する(ステップST901)。取得部21は、取得した定義ファイルの情報を変換部25に出力する。
変換指示受付部222は、ユーザ側データベースの変換指示を受け付けるまで待機し(ステップST902の“NO”の場合)、ユーザ側データベースの変換指示を受け付けると(ステップST902の“YES”の場合)、変換指示を受け付けた旨の情報を、変換部25に出力する。なお、ユーザは、ユーザ側データベースの変換を行う場合、変換指示とともに、変換対象データベースの情報等、変換に必要な情報の入力も行う。変換指示受付部222は、変換指示とともに当該変換に必要な情報を受け付け、変換部25に出力する。
The acquisition unit 21 acquires the definition file output from the management device 1 (step ST901). The acquisition unit 21 outputs the acquired definition file information to the conversion unit 25.
Conversion instruction accepting unit 222 waits until a user-side database conversion instruction is accepted (in the case of “NO” in step ST902), and receives a user-side database conversion instruction (in the case of “YES” in step ST902). Information indicating that the instruction has been received is output to the conversion unit 25. When the user side database is converted, the user also inputs information necessary for the conversion, such as information on the conversion target database, along with the conversion instruction. The conversion instruction receiving unit 222 receives information necessary for the conversion together with the conversion instruction, and outputs the information to the conversion unit 25.

ここで、ユーザがユーザ側データベースの変換指示を入力し、変換指示受付部222が当該変換指示を受け付けるまでの流れの一例について説明する。
管理装置1から出力された定義ファイルが連携されると、ユーザは、エンジニアリング装置2に当該定義ファイルを読み込ませ、連携された定義ファイルの内容を表示させる指示を入力する。
具体的には、エンジニアリング装置2において、制御部(図示省略)が定義ファイルを読み込み、表示指示受付部221が、定義ファイルの表示指示を受け付ける。
表示指示受付部221は、定義ファイルの表示指示を受け付けた旨の情報を、表示制御部23に出力する。
表示制御部23は、表示指示受付部221から、定義ファイルの表示指示を受け付けた旨の情報が出力されると、表示部24に、取得部21が取得した定義ファイルの内容を示した画面を表示させる。
Here, an example of a flow from when the user inputs a conversion instruction of the user side database until the conversion instruction receiving unit 222 receives the conversion instruction will be described.
When the definition file output from the management apparatus 1 is linked, the user inputs an instruction to cause the engineering apparatus 2 to read the definition file and display the contents of the linked definition file.
Specifically, in the engineering device 2, a control unit (not shown) reads a definition file, and a display instruction receiving unit 221 receives a definition file display instruction.
The display instruction receiving unit 221 outputs information indicating that the definition file display instruction has been received to the display control unit 23.
When the information indicating that the display instruction of the definition file has been received is output from the display instruction receiving unit 221, the display control unit 23 displays a screen showing the contents of the definition file acquired by the acquiring unit 21 on the display unit 24. Display.

図10〜図12は、実施の形態1において、エンジニアリング装置2の表示制御部23が表示部24に表示させる、定義ファイルの内容を示した画面の一例を説明するための図である。
表示制御部23は、図10に示すような、定義ファイルの内容を示した画面を表示させる。
定義ファイルには、管理装置1において開発者側データベース151の編集を行った際の差分の情報の履歴が、各バージョンとして格納されている。
なお、図10に示す画面は一例に過ぎず、表示制御部23は、その他の表示形態で、定義ファイルの内容を表示させるようにしてもよい。
ユーザは、図10に示すような画面を確認することで、管理装置1側で開発者側データベース151の編集が行われたことを把握することができる。
10 to 12 are diagrams for explaining an example of a screen showing the contents of the definition file displayed on the display unit 24 by the display control unit 23 of the engineering apparatus 2 in the first embodiment.
The display control unit 23 displays a screen showing the contents of the definition file as shown in FIG.
In the definition file, a history of difference information when the management apparatus 1 edits the developer-side database 151 is stored as each version.
Note that the screen shown in FIG. 10 is merely an example, and the display control unit 23 may display the contents of the definition file in another display form.
The user can recognize that the developer database 151 has been edited on the management apparatus 1 side by checking the screen as shown in FIG.

さらに、ユーザは、図10に示すような画面から、定義ファイルの各バージョンの詳細を表示させるようにすることもできる。具体的には、ユーザは、入力装置を操作して、表示させたいバージョンをクリック等する。これを受け、表示指示受付部221は、定義ファイルの詳細の表示指示を受け付け、表示制御部23に、定義ファイルの詳細の表示指示を受け付けた旨の情報を出力する。
表示制御部23は、取得部21が取得した定義ファイルに基づき、例えば、図11,図12に示すような、指示されたバージョンの詳細を表示させる画面を表示させる。
なお、このとき、ユーザは、定義ファイルで定義されている、管理装置1において開発者側データベース151にどのような編集が行われたのかにあわせて、詳細情報を並べ替えて表示させることもできる。定義ファイルには、管理装置1において、開発者側データベース151が追加されたのか、削除されたのか、変更されたのかの編集内容が、属性情報として定義されている。ユーザは、当該属性情報にあわせた詳細情報の並べ替えを行うことができる。
図11,図12は、表示制御部23が、定義ファイルの詳細情報を表示させた画面の一例を示しており、図11は、ユーザが、「追加」の属性を有する詳細情報を優先的に表示させるようにした場合の画面の一例を示し、図12は、ユーザが、「削除」の属性を有する詳細情報を優先的に表示させるようにした場合の画面の一例を示している。
ユーザは、入力装置を操作して、例えば、表示部24に表示された切替部(図11の1101,図12の1201参照)から、優先させたい属性を指定する。表示指示受付部221は、属性が指定された旨の情報を受け付け、表示制御部23に出力する。表示制御部23は、表示指示受付部221から出力された情報に基づき、表示させる詳細情報を並べ替えて表示させる。
ユーザは、図11,図12に示すような画面を確認することで、定義ファイルの詳細な内容を確認することができる。その結果、ユーザにとって、管理装置1側で行われた開発者側データベース151の編集内容の把握が容易となる。
Further, the user can display details of each version of the definition file from the screen as shown in FIG. Specifically, the user operates the input device and clicks a version to be displayed. In response to this, the display instruction receiving unit 221 receives a definition file detail display instruction, and outputs to the display control unit 23 information indicating that the definition file detail display instruction has been received.
Based on the definition file acquired by the acquisition unit 21, the display control unit 23 displays a screen for displaying details of the instructed version, for example, as illustrated in FIGS. 11 and 12.
At this time, the user can also arrange and display detailed information according to what kind of editing has been performed in the developer database 151 in the management apparatus 1 defined in the definition file. . In the definition file, in the management device 1, the edited content of whether the developer database 151 has been added, deleted, or changed is defined as attribute information. The user can rearrange the detailed information according to the attribute information.
11 and 12 show examples of screens on which the display control unit 23 displays the detailed information of the definition file. FIG. 11 shows that the user gives priority to the detailed information having the “add” attribute. FIG. 12 shows an example of a screen when the user preferentially displays detailed information having the “delete” attribute.
The user operates the input device and designates the attribute to be prioritized from, for example, the switching unit (1101 in FIG. 11 and 1201 in FIG. 12) displayed on the display unit 24. The display instruction receiving unit 221 receives information indicating that an attribute has been specified, and outputs the information to the display control unit 23. The display control unit 23 rearranges and displays the detailed information to be displayed based on the information output from the display instruction receiving unit 221.
The user can confirm the detailed contents of the definition file by confirming the screens as shown in FIGS. As a result, it becomes easy for the user to grasp the editing contents of the developer-side database 151 performed on the management apparatus 1 side.

ユーザは、定義ファイルの詳細な内容を確認すると、入力装置を操作して、変換対象データベースの情報と、変換対象データベースに反映させる定義ファイルのバージョン情報とを、ユーザ側データベースの変換指示として入力する。   When the user confirms the detailed contents of the definition file, the user operates the input device to input the conversion target database information and the definition file version information to be reflected in the conversion target database as conversion instructions for the user side database. .

図13は、実施の形態1において、ユーザがユーザ側データベースの変換指示を入力するための画面の一例を説明するための図である。
例えば、図10〜図12に示したような画面を確認して、ユーザは、変換対象データベースと、変換対象データベースに反映させる定義ファイルのバージョンとを決定すると、入力装置を操作して、ベース入力部(図13の1301)とバージョン指定部(図13の1302)の表示指示を行い、表示制御部23が、ベース入力部とバージョン指定部を表示させる。
ユーザは、入力装置を操作して、ベース入力部に、変換対象データベースの情報を入力し、バージョン指定部に、定義ファイルのバージョン情報を入力する。変換指示受付部222は、当該変換対象データベースの情報と、定義ファイルのバージョン情報とを、ユーザ側データベースの変換指示の情報として受け付ける。
なお、図13では、変換対象データベースは一つしか入力できないようになっているが、これは一例に過ぎず、ユーザは、複数の変換対象データベースを入力し、複数のデータベースに対して同時に変換指示を入力することができる。ユーザは、複数の変換対象データベースを入力する場合、それぞれに対応するバージョン情報も入力するようにする。
FIG. 13 is a diagram for explaining an example of a screen for a user to input a user-side database conversion instruction in the first embodiment.
For example, when the user determines the conversion target database and the version of the definition file to be reflected in the conversion target database by checking the screens shown in FIGS. 10 to 12, the user inputs the base input by operating the input device. 13 (1301 in FIG. 13) and the version designation unit (1302 in FIG. 13) are instructed to display, and the display control unit 23 displays the base input unit and the version designation unit.
The user operates the input device to input information on the conversion target database to the base input unit and input version information of the definition file to the version specifying unit. The conversion instruction receiving unit 222 receives the information on the conversion target database and the version information of the definition file as information on the conversion instruction of the user database.
In FIG. 13, only one conversion target database can be input, but this is only an example, and the user inputs a plurality of conversion target databases and simultaneously converts the plurality of databases. Can be entered. When the user inputs a plurality of conversion target databases, the user also inputs version information corresponding to each.

図9のフローチャートに戻る。
ステップST902において変換指示受付部222から出力された、ユーザ側データベースの変換指示の情報を取得すると、変換部25は、ユーザ側データベースの変換指示の情報と、ステップST901において取得部21から出力された定義ファイルの情報とに基づき、記憶部26に記憶されているユーザ側データベース261のうち、変換対象データベースに定義ファイルの内容を反映する(ステップST903)。なお、複数の変換対象データベースに対する反映指示を受け付けた場合は、変換部25は、複数の変換対象データベースに対する定義ファイルの内容の反映処理を行う。
このとき、表示制御部23は、変換部25から進捗状況に関する情報を受け取り、進捗状況を示す画面を表示部24に表示させるようにしてもよい(図14参照)。図14では、1つの変換対象データベースに対してのみ定義ファイルの反映を行った場合の、進捗状況を示す画面例を示しているが、複数の変換対象データベースに対して同時に変換を行う場合には、当該複数の変換対象データベースに対する進捗状況が表示される。
Returning to the flowchart of FIG.
When acquiring the conversion instruction information of the user side database output from the conversion instruction receiving unit 222 in step ST902, the conversion unit 25 outputs the information of the conversion instruction of the user side database and the acquisition unit 21 in step ST901. Based on the definition file information, the contents of the definition file are reflected in the conversion target database in the user side database 261 stored in the storage unit 26 (step ST903). In addition, when the reflection instruction | indication with respect to several conversion object database is received, the conversion part 25 performs the reflection process of the content of the definition file with respect to several conversion object database.
At this time, the display control unit 23 may receive information on the progress status from the conversion unit 25 and display a screen showing the progress status on the display unit 24 (see FIG. 14). FIG. 14 shows an example of a screen showing the progress status when the definition file is reflected only on one conversion target database. However, in the case where conversion is performed simultaneously on a plurality of conversion target databases. The progress status for the plurality of conversion target databases is displayed.

以上のように、実施の形態1によれば、施設内の機器を監視または制御するコントローラとネットワークを介して接続されるエンジニアリング装置2によるエンジニアリング作業で用いられるデータベースを管理するデータベースの管理装置1において、第1のデータベースの編集指示を受け付ける受付部11と、受付部11が受け付けた編集指示に基づき、第1のデータベースの内容を編集した第2のデータベースを作成する編集部121と、第1のデータベースと、編集部121が作成した第2のデータベースとの差分を抽出する差分抽出部122と、差分抽出部122が抽出した差分に基づき、エンジニアリング作業で用いられるデータベースを変換する際に使用される定義ファイルを作成する定義ファイル作成部123と、定義ファイル作成部123が作成した定義ファイルを出力する出力部16とを備えるように構成した。そのため、管理装置で変更した開発側データベースの変更内容を、エンジニアリング装置におけるユーザ側データベースの変更作業に連携することができる。その結果、開発側データベースとユーザ側データベースの管理を一元化することができる。   As described above, according to the first embodiment, in the database management apparatus 1 that manages the database used in the engineering work by the engineering apparatus 2 that is connected to the controller that monitors or controls the equipment in the facility via the network. A receiving unit 11 that receives an editing instruction for the first database, an editing unit 121 that creates a second database in which the contents of the first database are edited based on the editing instruction received by the receiving unit 11, and a first Used when converting the database used in the engineering work based on the difference extracted by the difference extracting unit 122 that extracts the difference between the database and the second database created by the editing unit 121 and the difference extracting unit 122 A definition file creation unit 123 for creating a definition file, and a definition file Le creation unit 123 is configured to include an output unit 16 for outputting a definition file created. Therefore, it is possible to link the changed contents of the development-side database changed by the management apparatus to the user-side database change work in the engineering apparatus. As a result, the management of the development side database and the user side database can be unified.

なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。   In the present invention, any constituent element of the embodiment can be modified or any constituent element of the embodiment can be omitted within the scope of the invention.

1 管理装置
2 エンジニアリング装置
11 受付部
12 管理制御部
13 表示制御部
14 表示部
15 記憶部
16 出力部
21 取得部
22 受付部
23 表示制御部
24 表示部
25 変換部
26 記憶部
121 編集部
122 差分抽出部
123 定義ファイル作成部
151 開発者側データベース
221 表示指示受付部
222 変換指示受付部
261 ユーザ側データベース
1211 コピー部
1212 反映部
DESCRIPTION OF SYMBOLS 1 Management apparatus 2 Engineering apparatus 11 Reception part 12 Management control part 13 Display control part 14 Display part 15 Storage part 16 Output part 21 Acquisition part 22 Reception part 23 Display control part 24 Display part 25 Conversion part 26 Storage part 121 Editing part 122 Difference Extraction unit 123 Definition file creation unit 151 Developer side database 221 Display instruction reception unit 222 Conversion instruction reception unit 261 User side database 1211 Copy unit 1212 Reflection unit

Claims (3)

施設内の機器を監視または制御するコントローラとネットワークを介して接続されるエンジニアリング装置によるエンジニアリング作業で用いられるデータベースを管理するデータベースの管理装置において、
第1のデータベースの編集指示を受け付ける受付部と、
前記受付部が受け付けた編集指示に基づき、前記第1のデータベースの内容を編集した第2のデータベースを作成する編集部と、
前記第1のデータベースと、前記編集部が作成した第2のデータベースとの差分を抽出する差分抽出部と、
前記差分抽出部が抽出した差分に基づき、前記エンジニアリング作業で用いられるデータベースを変換する際に使用される定義ファイルを作成する定義ファイル作成部と、
前記定義ファイル作成部が作成した定義ファイルを出力する出力部
とを備えたデータベースの管理装置。
In a database management device that manages a database used in engineering work by an engineering device connected via a network to a controller that monitors or controls equipment in a facility,
A reception unit for receiving an instruction to edit the first database;
An editing unit that creates a second database obtained by editing the contents of the first database based on the editing instruction received by the receiving unit;
A difference extraction unit for extracting a difference between the first database and the second database created by the editing unit;
Based on the difference extracted by the difference extraction unit, a definition file creation unit that creates a definition file used when converting a database used in the engineering work;
A database management apparatus comprising: an output unit that outputs a definition file created by the definition file creation unit.
前記編集部は、
前記第1のデータベースをコピーしたコピー後データベースを作成するコピー部と、
前記編集指示に基づき、前記コピー部が作成したコピー後データベースを編集して前記第2のデータベースとする反映部とを有する
ことを特徴とする請求項1記載のデータベースの管理装置。
The editing unit
A copy unit for creating a post-copy database obtained by copying the first database;
The database management apparatus according to claim 1, further comprising: a reflection unit that edits a post-copy database created by the copy unit based on the editing instruction and sets the second database as the second database.
施設内の機器を監視または制御するコントローラとネットワークを介して接続されるエンジニアリング装置によるエンジニアリング作業で用いられるデータベースを管理するデータベースの管理方法において、
受付部が、第1のデータベースの編集指示を受け付けるステップと、
編集部が、前記受付部が受け付けた編集指示に基づき、前記第1のデータベースの内容を編集した第2のデータベースを作成するステップと、
差分抽出部が、前記第1のデータベースと、前記編集部が作成した第2のデータベースとの差分を抽出するステップと、
定義ファイル作成部が、前記差分抽出部が抽出した差分に基づき、前記エンジニアリング作業で用いられるデータベースを変換する際に使用される定義ファイルを作成するステップと、
出力部が、前記定義ファイル作成部が作成した定義ファイルを出力するステップ
とを備えたデータベースの管理方法。
In a database management method for managing a database used in engineering work by an engineering device connected via a network to a controller that monitors or controls equipment in a facility,
A step of receiving an instruction to edit the first database;
An editing unit creating a second database obtained by editing the contents of the first database based on an editing instruction received by the receiving unit;
A step of extracting a difference between the first database and the second database created by the editing unit;
A definition file creating unit creating a definition file used when converting a database used in the engineering work based on the difference extracted by the difference extracting unit;
A database management method comprising: an output unit outputting the definition file created by the definition file creation unit;
JP2017160187A 2017-08-23 2017-08-23 Database management device and database management method Active JP6892192B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017160187A JP6892192B2 (en) 2017-08-23 2017-08-23 Database management device and database management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017160187A JP6892192B2 (en) 2017-08-23 2017-08-23 Database management device and database management method

Publications (2)

Publication Number Publication Date
JP2019040294A true JP2019040294A (en) 2019-03-14
JP6892192B2 JP6892192B2 (en) 2021-06-23

Family

ID=65726505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017160187A Active JP6892192B2 (en) 2017-08-23 2017-08-23 Database management device and database management method

Country Status (1)

Country Link
JP (1) JP6892192B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021149721A (en) * 2020-03-23 2021-09-27 三菱電機株式会社 Engineering data management apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07244581A (en) * 1994-03-03 1995-09-19 Nippon Telegr & Teleph Corp <Ntt> Method and device for maintaining definition of data base
US20050071359A1 (en) * 2003-09-25 2005-03-31 Elandassery Deepak S. Method for automated database schema evolution
US20090119319A1 (en) * 2005-06-27 2009-05-07 International Business Machines Corporation System for detecting migration differences of a customized database schema
JP2009134699A (en) * 2007-10-31 2009-06-18 Daikin Ind Ltd Data collection apparatus and data management system
JP2016115223A (en) * 2014-12-17 2016-06-23 キヤノンマーケティングジャパン株式会社 Database management system, database management method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07244581A (en) * 1994-03-03 1995-09-19 Nippon Telegr & Teleph Corp <Ntt> Method and device for maintaining definition of data base
US20050071359A1 (en) * 2003-09-25 2005-03-31 Elandassery Deepak S. Method for automated database schema evolution
US20090119319A1 (en) * 2005-06-27 2009-05-07 International Business Machines Corporation System for detecting migration differences of a customized database schema
JP2009134699A (en) * 2007-10-31 2009-06-18 Daikin Ind Ltd Data collection apparatus and data management system
JP2016115223A (en) * 2014-12-17 2016-06-23 キヤノンマーケティングジャパン株式会社 Database management system, database management method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021149721A (en) * 2020-03-23 2021-09-27 三菱電機株式会社 Engineering data management apparatus
JP7386740B2 (en) 2020-03-23 2023-11-27 三菱電機株式会社 Engineering data management device

Also Published As

Publication number Publication date
JP6892192B2 (en) 2021-06-23

Similar Documents

Publication Publication Date Title
JP4462449B2 (en) Control system setting device
JPH11259459A (en) Document management device
JP2005327263A (en) Control system setting device
JP5362736B2 (en) Logical structure design surface
JP2007048009A (en) Operation support system, its database server, preparation management device and program
JP5370376B2 (en) Device information display device, device information display program, and recording medium
JP5026925B2 (en) Control program creation device and control program creation method
JP6223628B1 (en) Information management apparatus, information management method, and information management system
JP5404969B1 (en) Electronic manual browsing device and system
JP6892192B2 (en) Database management device and database management method
JP5425317B2 (en) Motion SFC program parts creation device
JP6646222B2 (en) Information processing apparatus, information processing system, control method thereof, and program
JP2007156712A (en) Information processor and control method therefor, program
JP5084702B2 (en) Analysis data input device, CAE device, analysis data input method, and program
JP6652724B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2013142971A (en) Device and method for processing program
JP7125595B2 (en) Work support program, work support device and work support method
JP7447898B2 (en) Information processing device, information processing method and program
JP7183092B2 (en) SOURCE INFORMATION MANAGEMENT DEVICE AND SOURCE INFORMATION MANAGEMENT METHOD
JP6905111B2 (en) Systems including management devices and information processing devices, information processing devices, their control methods, and programs
JP7211675B2 (en) Information management device and information management method
JP4850618B2 (en) Document management apparatus, control method therefor, program, and storage medium
JP2006209516A (en) Electronic filing system
JP4471098B2 (en) Interface device, interface method, interface program, and recording medium
JP2003263324A (en) Information processing device and method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200311

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210331

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210427

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210525

R150 Certificate of patent or registration of utility model

Ref document number: 6892192

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250