Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6762841B2 - Program update method - Google Patents
[go: Go Back, main page]

JP6762841B2 - Program update method - Google Patents

Program update method Download PDF

Info

Publication number
JP6762841B2
JP6762841B2 JP2016205933A JP2016205933A JP6762841B2 JP 6762841 B2 JP6762841 B2 JP 6762841B2 JP 2016205933 A JP2016205933 A JP 2016205933A JP 2016205933 A JP2016205933 A JP 2016205933A JP 6762841 B2 JP6762841 B2 JP 6762841B2
Authority
JP
Japan
Prior art keywords
management device
data
controlled
control
management
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.)
Active
Application number
JP2016205933A
Other languages
Japanese (ja)
Other versions
JP2018067178A (en
Inventor
俊也 丸地
俊也 丸地
中谷 博司
博司 中谷
秀享 三宅
秀享 三宅
直哉 大西
直哉 大西
遵 金井
遵 金井
裕二 梅田
裕二 梅田
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
Toshiba Infrastructure Systems and Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Infrastructure Systems and Solutions 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, Toshiba Infrastructure Systems and Solutions Corp filed Critical Toshiba Corp
Priority to JP2016205933A priority Critical patent/JP6762841B2/en
Publication of JP2018067178A publication Critical patent/JP2018067178A/en
Application granted granted Critical
Publication of JP6762841B2 publication Critical patent/JP6762841B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Description

本発明の実施形態は、プログラム更新方法に関する。 Embodiments of the present invention relate to a program update method.

従来から、被制御装置(例えば産業プラントにおける各種機器等)を監視・制御する制御システムは、例えば、被制御装置を制御する制御装置と、制御装置の上位装置である管理装置と、を備えている。そして、制御システムにおける制御装置や管理装置は、生産性やアベイラビリティの観点から、連続運転を求められている場合が多い。 Conventionally, a control system that monitors and controls a controlled device (for example, various devices in an industrial plant) includes, for example, a control device that controls the controlled device and a management device that is a higher-level device of the control device. There is. Further, the control device and the management device in the control system are often required to be continuously operated from the viewpoint of productivity and availability.

一方、制御システムの制御装置や管理装置について、プログラム(動作プログラム)を更新する必要が発生する場合がある。管理装置については、例えば、次の二通りの場合がある。1つは、管理装置のプログラムに欠陥や脆弱性が発見された場合である。もう1つは、制御システムがクローズドネットワークで構成されていた際に、汎用OS(Operating System)の採用や外部ネットワーク・外部メディアの接続といった運用環境のオープン化に伴い、セキュリティ(情報セキュリティ)対策として、管理装置に定期的にセキュリティパッチ(修正プログラム)を適用する場合である。 On the other hand, it may be necessary to update a program (operation program) for a control device or a management device of a control system. Regarding the management device, for example, there are the following two cases. One is when a defect or vulnerability is found in the program of the management device. The other is as a security (information security) measure due to the adoption of a general-purpose OS (Operating System) and the opening of the operating environment such as the connection of external networks and external media when the control system is configured with a closed network. , When applying security patches (patches) to the management device on a regular basis.

国際公開第2015/114791号International Publication No. 2015/11471

しかしながら、従来技術では、管理装置のプログラムを更新する間は、制御システムを停止する必要がある。そこで、本発明は、このような状況に鑑みてなされたものであり、制御システムを停止させることなく管理装置のプログラムを更新することを課題とする。 However, in the prior art, it is necessary to stop the control system while updating the program of the management device. Therefore, the present invention has been made in view of such a situation, and an object of the present invention is to update the program of the management device without stopping the control system.

実施形態のプログラム更新方法は、被制御装置から、当該被制御装置に関するデータが示された被制御装置データを受信する制御装置と、当該制御装置から、当該被制御装置データを受信し、当該被制御装置データを記憶する第1管理装置と、を少なくとも備える制御システムで実行される。このプログラム更新方法は、前記第1管理装置が、第2管理装置と前記制御装置とに、前記制御装置からの前記被制御装置データの送信先を前記第1管理装置から前記第2管理装置に切り替えるように要求する第1の通知を送信する第1送信ステップと、前記第1管理装置が、前記第2管理装置に、自身が記憶している、過去の前記被制御装置データであるログデータを送信する第2送信ステップと、前記第1管理装置が自身のプログラムを更新する更新ステップと、前記第1管理装置が、前記プログラムの更新が完了した後に、前記第2管理装置と前記制御装置とに、前記制御装置からの前記被制御装置データの送信先を前記第2管理装置から前記第1管理装置に切り替えるように要求する第2の通知を送信する第3送信ステップと、を含む。 The program update method of the embodiment is a control device that receives the controlled device data indicating the data related to the controlled device from the controlled device, and receives the controlled device data from the controlled device and the controlled device data. It is executed in a control system including at least a first management device that stores control device data. In this program update method, the first management device transfers the transmission destination of the controlled device data from the control device to the second management device and the control device from the first management device to the second management device. A first transmission step of transmitting a first notification requesting switching, and log data which is the past controlled device data stored by the first management device in the second management device. The second transmission step, the update step in which the first management device updates its own program, and the second management device and the control device after the first management device completes the update of the program. Including a third transmission step of transmitting a second notification requesting that the transmission destination of the controlled device data from the control device be switched from the second management device to the first management device.

図1は、第1実施形態の制御システムの構成例を示す図である。FIG. 1 is a diagram showing a configuration example of the control system of the first embodiment. 図2は、第1実施形態の制御システムの処理を示すフローチャートである。FIG. 2 is a flowchart showing the processing of the control system of the first embodiment. 図3は、第1実施形態の構成情報の例を示す図である。FIG. 3 is a diagram showing an example of configuration information of the first embodiment. 図4は、第1実施形態において、第2管理装置で表示することができる被制御装置データの説明図である。FIG. 4 is an explanatory diagram of controlled device data that can be displayed by the second management device in the first embodiment. 図5は、第2実施形態の制御システムの構成例を示す図である。FIG. 5 is a diagram showing a configuration example of the control system of the second embodiment. 図6は、第2実施形態の構成情報の例を示す図である。FIG. 6 is a diagram showing an example of configuration information of the second embodiment. 図7は、第2実施形態の制御装置の処理を示すフローチャートである。FIG. 7 is a flowchart showing the processing of the control device of the second embodiment. 図8は、第2実施形態の制御装置の他の処理を示すフローチャートである。FIG. 8 is a flowchart showing another process of the control device of the second embodiment. 図9は、第3実施形態の制御システムの構成例を示す図である。FIG. 9 is a diagram showing a configuration example of the control system of the third embodiment. 図10は、第3実施形態の制御システムの処理を示すフローチャートである。FIG. 10 is a flowchart showing the processing of the control system of the third embodiment. 図11は、第3実施形態の構成情報の例を示す図である。FIG. 11 is a diagram showing an example of configuration information of the third embodiment. 図12は、第4実施形態の制御システムの構成例を示す図である。FIG. 12 is a diagram showing a configuration example of the control system of the fourth embodiment.

以下、実施形態のプログラム更新方法等について、図面を参照して説明する。なお、同一の構成要素には、同一の符号を付し、重複説明を適宜省略する。 Hereinafter, the program update method and the like of the embodiment will be described with reference to the drawings. The same components are designated by the same reference numerals, and duplicate description will be omitted as appropriate.

(第1実施形態)
図1は、第1実施形態の制御システムSの構成例を示す図である。制御システムSは、ネットワーク5を介して互いに接続される第1管理装置1、第2管理装置2、および、制御装置3を備える。制御装置3は、被制御装置4を監視・制御する。被制御装置4は、例えば、産業プラントにおける各種機器であり、制御装置3からの制御信号により動作するとともに、被制御装置データを制御装置3に送信する。
(First Embodiment)
FIG. 1 is a diagram showing a configuration example of the control system S of the first embodiment. The control system S includes a first management device 1, a second management device 2, and a control device 3 that are connected to each other via the network 5. The control device 3 monitors and controls the controlled device 4. The controlled device 4 is, for example, various devices in an industrial plant, operates by a control signal from the control device 3, and transmits the controlled device data to the control device 3.

被制御装置データとは、被制御装置4に関するデータであり、例えば、被制御装置4に接続された電圧センサによる電圧値等の検出データである。 The controlled device data is data related to the controlled device 4, and is, for example, detection data such as a voltage value by a voltage sensor connected to the controlled device 4.

この第1実施形態では、次の場合を例にとって説明する。なお、第1管理装置1、第2管理装置2、および、制御装置3は、自身の記憶部に記憶されたプログラム(動作プログラム)を、CPUが実行することで、各種制御を行う。 In this first embodiment, the following cases will be described as an example. The first management device 1, the second management device 2, and the control device 3 perform various controls by executing a program (operation program) stored in their own storage unit by the CPU.

まず、第1管理装置1が制御装置3から被制御装置データを受信しているものとする。次に、第1管理装置1のプログラム(動作プログラム)を更新するために、制御装置3からの被制御装置データの送信先を、第1管理装置1から第2管理装置2に切り替える。そして、第2管理装置2が制御装置3から被制御装置データを受信している間に、第1管理装置1が自身のプログラムを更新する。その後、制御装置3からの被制御装置データの送信先を、第2管理装置2から第1管理装置1に戻す。 First, it is assumed that the first management device 1 receives the controlled device data from the control device 3. Next, in order to update the program (operation program) of the first management device 1, the transmission destination of the controlled device data from the control device 3 is switched from the first management device 1 to the second management device 2. Then, while the second management device 2 receives the controlled device data from the control device 3, the first management device 1 updates its own program. After that, the transmission destination of the controlled device data from the control device 3 is returned from the second management device 2 to the first management device 1.

次に、制御装置3、第1管理装置1、および、第2管理装置2の各構成について説明する。制御装置3は、例えば、PLC(Programmable Logic Controller)等の制御用コントローラであり、処理部31、記憶部32、入力部33、表示部34、および、データ入出力部35を備える。なお、制御装置3は、ネットワーク5を介して外部装置との通信を行うための通信インタフェースも備えるが、図示と詳細な説明を省略する(第1管理装置1、第2管理装置2、および、図9の監視装置7についても同様)。 Next, each configuration of the control device 3, the first management device 1, and the second management device 2 will be described. The control device 3 is, for example, a control controller such as a PLC (Programmable Logic Controller), and includes a processing unit 31, a storage unit 32, an input unit 33, a display unit 34, and a data input / output unit 35. The control device 3 also includes a communication interface for communicating with an external device via the network 5, but illustration and detailed description thereof will be omitted (first management device 1, second management device 2, and The same applies to the monitoring device 7 of FIG. 9).

処理部31は、モード切替部311、モード変更通知受信部312、被制御装置データ受信部313、被制御装置データ送信部314、および、制御部315を備える。 The processing unit 31 includes a mode switching unit 311, a mode change notification receiving unit 312, a controlled device data receiving unit 313, a controlled device data transmitting unit 314, and a control unit 315.

モード切替部311は、第1管理装置1からのモード変更通知の受信に応じて、第1管理装置1の現在の動作モードが運転モードと更新モードのいずれであるのかの認識を切り替える。第1管理装置1について、運転モードとは、制御装置3から被制御装置データを受信するモードである。また、更新モードとは、プログラムを更新するモードである。 The mode switching unit 311 switches the recognition of whether the current operation mode of the first management device 1 is the operation mode or the update mode in response to the reception of the mode change notification from the first management device 1. Regarding the first management device 1, the operation mode is a mode for receiving controlled device data from the control device 3. The update mode is a mode for updating the program.

モード変更通知受信部312は、第1管理装置1、第2管理装置2からモード変更通知を受信する。 The mode change notification receiving unit 312 receives the mode change notification from the first management device 1 and the second management device 2.

モード変更通知とは、制御装置3からの被制御装置データの送信先の切り替えを要求する通知である。例えば、第1管理装置1が、運転モードから更新モードに切り替える場合には、制御装置3からの被制御装置データの送信先を第1管理装置1から第2管理装置2に切り替えるように要求する通知となる。他の例としては、第1管理装置1が、更新モードから運転モードに切り替える場合には、制御装置3からの被制御装置データの送信先を第2管理装置2から第1管理装置1に切り替えるように要求する通知となる。 The mode change notification is a notification requesting switching of the transmission destination of the controlled device data from the control device 3. For example, when the first management device 1 switches from the operation mode to the update mode, it requests that the transmission destination of the controlled device data from the control device 3 be switched from the first management device 1 to the second management device 2. It will be a notification. As another example, when the first management device 1 switches from the update mode to the operation mode, the transmission destination of the controlled device data from the control device 3 is switched from the second management device 2 to the first management device 1. It will be a notification requesting.

被制御装置データ受信部313は、被制御装置4から被制御装置データを、データ入出力部35を介して受信する。 The controlled device data receiving unit 313 receives the controlled device data from the controlled device 4 via the data input / output unit 35.

被制御装置データ送信部314は、被制御装置データ受信部313が受信した被制御装置データを、第1管理装置1が運転モードの場合、第1管理装置1に送信する。被制御装置データ送信部314は、被制御装置データ受信部313が受信した被制御装置データを、第1管理装置1が更新モードの場合、第2管理装置2に送信する。 The controlled device data transmitting unit 314 transmits the controlled device data received by the controlled device data receiving unit 313 to the first management device 1 when the first management device 1 is in the operation mode. The controlled device data transmitting unit 314 transmits the controlled device data received by the controlled device data receiving unit 313 to the second management device 2 when the first management device 1 is in the update mode.

制御部315は、記憶部32に記憶されたプログラムや、被制御装置データ受信部313が受信した被制御装置データ等に基づいて被制御装置4に対する制御信号を演算する等の各種制御を実行する。 The control unit 315 executes various controls such as calculating a control signal for the controlled device 4 based on the program stored in the storage unit 32, the controlled device data received by the controlled device data receiving unit 313, and the like. ..

記憶部32は、構成情報、プログラム等の各種情報を記憶する。構成情報は、制御システムS内の第1管理装置1、第2管理装置2、制御装置3等の構成に関する情報であり、例えば、図3に示す通りである。図3は、第1実施形態の構成情報の例を示す図である。 The storage unit 32 stores various information such as configuration information and programs. The configuration information is information related to the configuration of the first management device 1, the second management device 2, the control device 3, and the like in the control system S, and is, for example, as shown in FIG. FIG. 3 is a diagram showing an example of configuration information of the first embodiment.

図3に示す例では、構成情報は、装置の種別とIP(Internet Protocol)アドレス(アドレス情報)から構成されている。例えば、被制御装置データ送信部314は、被制御装置データを第1管理装置1や第2管理装置2に送信するときに、この構成情報を参照することで、送信先のIPアドレスを特定することができる。 In the example shown in FIG. 3, the configuration information is composed of a device type and an IP (Internet Protocol) address (address information). For example, the controlled device data transmission unit 314 specifies the IP address of the transmission destination by referring to this configuration information when transmitting the controlled device data to the first management device 1 and the second management device 2. be able to.

図1に戻って、入力部33は、ユーザが情報を入力する手段であり、例えば、キーボードやマウスである。表示部34は、情報を表示する手段であって、例えば、LCD(Liquid Crystal Display)等である。データ入出力部35は、被制御装置4との間で、データの入出力を行う。 Returning to FIG. 1, the input unit 33 is a means for the user to input information, for example, a keyboard or a mouse. The display unit 34 is a means for displaying information, such as an LCD (Liquid Crystal Display). The data input / output unit 35 inputs / outputs data to / from the controlled device 4.

第1管理装置1は、制御装置3の上位装置であり、例えば、制御システムSのエンジニアリングを行うツールや、被制御装置4の運転状況をリアルタイムで表示する表示装置としての役割を果たす。第1管理装置1は、処理部11、記憶部12、入力部13、および、表示部14を備える。 The first management device 1 is a higher-level device of the control device 3, and serves, for example, as a tool for engineering the control system S and a display device for displaying the operating status of the controlled device 4 in real time. The first management device 1 includes a processing unit 11, a storage unit 12, an input unit 13, and a display unit 14.

処理部11は、モード切替部111、モード変更通知送信部112、モード変更通知受信部113、ログデータ送信部114、ログデータ受信部115、被制御装置データ受信部116、および、制御部117を備える。 The processing unit 11 includes a mode switching unit 111, a mode change notification transmitting unit 112, a mode change notification receiving unit 113, a log data transmitting unit 114, a log data receiving unit 115, a controlled device data receiving unit 116, and a control unit 117. Be prepared.

モード切替部111は、例えば、入力部13やDIP(Dual In-line Package)スイッチ(不図示)等を用いたユーザ操作に基づいて、第1管理装置1の動作モードを、運転モードと更新モードの間で切り替える。なお、モード切替部111は、ソフトウェアで予め定められたタイミングで当該切替を行ってもよい。 The mode switching unit 111 sets the operation mode of the first management device 1 to an operation mode and an update mode based on a user operation using, for example, an input unit 13 or a DIP (Dual In-line Package) switch (not shown). Switch between. The mode switching unit 111 may perform the switching at a timing predetermined by software.

モード変更通知送信部112は、第1管理装置1の動作モードが運転モードから更新モードに変更された旨とともに、制御装置3からの被制御装置データの送信先を第1管理装置1から第2管理装置2に切り替えるように要求するモード変更通知を、第2管理装置2や制御装置3に送信する。または、モード変更通知送信部112は、第1管理装置1の動作モードが更新モードから運転モードに変更された旨とともに、制御装置3からの被制御装置データの送信先を第2管理装置2から第1管理装置1に戻すように要求するモード変更通知を、第2管理装置2や制御装置3に送信する。モード変更通知受信部113は、第2管理装置2からモード変更通知を受信する(本実施形態では不使用)。 The mode change notification transmission unit 112 indicates that the operation mode of the first management device 1 has been changed from the operation mode to the update mode, and sets the transmission destination of the controlled device data from the control device 3 from the first management device 1 to the second. A mode change notification requesting switching to the management device 2 is transmitted to the second management device 2 and the control device 3. Alternatively, the mode change notification transmission unit 112 indicates that the operation mode of the first management device 1 has been changed from the update mode to the operation mode, and transmits the controlled device data from the control device 3 from the second management device 2. A mode change notification requesting the return to the first management device 1 is transmitted to the second management device 2 and the control device 3. The mode change notification receiving unit 113 receives the mode change notification from the second management device 2 (not used in this embodiment).

ログデータ送信部114は、記憶部12に蓄積されているログデータを第2管理装置2に送信する。なお、本実施形態では、ログデータとは、過去の被制御装置データを指す。ログデータ受信部115は、第2管理装置2からログデータを受信する。 The log data transmission unit 114 transmits the log data stored in the storage unit 12 to the second management device 2. In the present embodiment, the log data refers to the past controlled device data. The log data receiving unit 115 receives the log data from the second management device 2.

被制御装置データ受信部116は、制御装置3から被制御装置データを、ネットワーク5を介して受信し、記憶部12にログデータとして蓄積する。 The controlled device data receiving unit 116 receives the controlled device data from the control device 3 via the network 5 and stores it in the storage unit 12 as log data.

制御部117は、記憶部12に記憶されたプログラムに基づいて各種演算処理を実行する。例えば、制御部117は、制御装置3に対して、被制御装置データを送信するように要求する制御信号を送信する。 The control unit 117 executes various arithmetic processes based on the program stored in the storage unit 12. For example, the control unit 117 transmits a control signal requesting the control device 3 to transmit the controlled device data.

記憶部12は、構成情報(図3)、ログデータ、プログラム等の各種情報を記憶する。 The storage unit 12 stores various information such as configuration information (FIG. 3), log data, and programs.

入力部13は、ユーザが情報を入力する手段であり、例えば、キーボードやマウスである。表示部14は、情報を表示する手段であって、例えば、LCD等である。表示部14は、例えば、被制御装置データをグラフ等で表示する。 The input unit 13 is a means for the user to input information, for example, a keyboard or a mouse. The display unit 14 is a means for displaying information, such as an LCD. The display unit 14 displays, for example, the controlled device data in a graph or the like.

第2管理装置2の構成は、第1管理装置1の構成と同じであるので、詳細な説明を省略する。なお、第1管理装置1の各構成の最左端の符号を「1」から「2」に変えたものが、第2管理装置2の各構成である。 Since the configuration of the second management device 2 is the same as the configuration of the first management device 1, detailed description thereof will be omitted. The leftmost code of each configuration of the first management device 1 is changed from "1" to "2" in each configuration of the second management device 2.

ネットワーク5は、例えば、Ethernet(登録商標)等のIPベースのネットワークである。また、ネットワーク5は、第1管理装置1、第2管理装置2、および、制御装置3の間で専用のプロトコルで通信するフィールドバスネットワークでもよい。 The network 5 is an IP-based network such as Ethernet (registered trademark). Further, the network 5 may be a fieldbus network that communicates between the first management device 1, the second management device 2, and the control device 3 using a dedicated protocol.

次に、制御システムSの処理について説明する。図2は、第1実施形態の制御システムSの処理を示すフローチャートである。第1管理装置1のプログラムを更新する場合、まず、第1管理装置1において、例えばユーザが入力部13を用いて所定の操作を行うと、モード切替部111は、第1管理装置1の動作モードを運転モードから更新モードに切り替える(ステップS1)。 Next, the processing of the control system S will be described. FIG. 2 is a flowchart showing the processing of the control system S of the first embodiment. When updating the program of the first management device 1, first, when a user performs a predetermined operation in the first management device 1, for example, using the input unit 13, the mode switching unit 111 operates the first management device 1. The mode is switched from the operation mode to the update mode (step S1).

次に、第1管理装置1の制御部117は、代替装置を設定する(ステップS2)。具体的には、制御部117は、構成情報(図3)を参照して、第1管理装置1の代替装置として第2管理装置2を選択する。なお、代替装置は予め決定しておいてもよいし、また、その都度ユーザが選択してもよい。 Next, the control unit 117 of the first management device 1 sets an alternative device (step S2). Specifically, the control unit 117 selects the second management device 2 as an alternative device to the first management device 1 with reference to the configuration information (FIG. 3). The alternative device may be determined in advance, or may be selected by the user each time.

次に、第1管理装置1のモード変更通知送信部112は、第1管理装置1の動作モードが運転モードから更新モードに変更され、代替装置として第2管理装置2を設定し、制御装置3からの被制御装置データの送信先を第1管理装置1から第2管理装置2に切り替えるように要求する旨のモード変更通知(第1の通知)を第2管理装置2と制御装置3とに送信する(ステップS3、第1送信ステップ)。 Next, the mode change notification transmission unit 112 of the first management device 1 changes the operation mode of the first management device 1 from the operation mode to the update mode, sets the second management device 2 as an alternative device, and sets the control device 3 as an alternative device. A mode change notification (first notification) to request that the transmission destination of the controlled device data from the first management device 1 be switched to the second management device 2 is sent to the second management device 2 and the control device 3. Transmission (step S3, first transmission step).

第2管理装置2において、モード変更通知受信部213はこのモード変更通知を受信し(ステップS4)、受信待機状態となる(ステップS5)。 In the second management device 2, the mode change notification receiving unit 213 receives the mode change notification (step S4) and enters the reception standby state (step S5).

また、制御装置3において、モード変更通知受信部312はこのモード変更通知を受信し(ステップS6)、制御部315は被制御装置データの送信先を第1管理装置1から第2管理装置2に変更する(ステップS7)。 Further, in the control device 3, the mode change notification receiving unit 312 receives the mode change notification (step S6), and the control unit 315 shifts the transmission destination of the controlled device data from the first management device 1 to the second management device 2. Change (step S7).

その後、第1管理装置1において、ログデータ送信部114は記憶部12に記憶されているログデータを第2管理装置2に送信する(ステップS8、第2送信ステップ)。そして、第2管理装置2において、ログデータ受信部215はこのログデータを受信し(ステップS9)、記憶部22に記憶する。 After that, in the first management device 1, the log data transmission unit 114 transmits the log data stored in the storage unit 12 to the second management device 2 (step S8, second transmission step). Then, in the second management device 2, the log data receiving unit 215 receives the log data (step S9) and stores it in the storage unit 22.

ステップS7の後、制御装置3の被制御装置データ送信部314は被制御装置データを第2管理装置2に送信し、第2管理装置2の被制御装置データ受信部216はこの被制御装置データを受信して記憶部22にログデータとして蓄積する(ステップS10〜S15)。 After step S7, the controlled device data transmission unit 314 of the control device 3 transmits the controlled device data to the second management device 2, and the controlled device data receiving unit 216 of the second management device 2 transmits the controlled device data. Is received and stored as log data in the storage unit 22 (steps S10 to S15).

ここまでの処理により、第2管理装置2では、自身が制御装置3から受信した被制御装置データだけでなく、それ以前のログデータも第1管理装置1から受信していることで、それらを併せて表示部24に表示することができる。これについて、図4を用いて説明する。図4は、第1実施形態において、第2管理装置2で表示することができる被制御装置データの説明図である。図4(a)は第1管理装置1が記憶しているログデータである。このログデータを第1管理装置1から第2管理装置2に送信すると、第2管理装置2でもそのログデータを表示することができる(図4(b))。そして、第2管理装置2では、そのログデータ(時刻t1以前のデータ)と、その後に受信した被制御装置データ(時刻t1以降のデータ)を併せて表示することができる(図4(c))。 By the processing up to this point, the second management device 2 receives not only the controlled device data itself received from the control device 3 but also the log data before that from the first management device 1, and thus receives them. At the same time, it can be displayed on the display unit 24. This will be described with reference to FIG. FIG. 4 is an explanatory diagram of controlled device data that can be displayed by the second management device 2 in the first embodiment. FIG. 4A is log data stored in the first management device 1. When this log data is transmitted from the first management device 1 to the second management device 2, the log data can also be displayed on the second management device 2 (FIG. 4B). Then, the second management device 2 can display the log data (data before the time t1) and the controlled device data (data after the time t1) received thereafter together (FIG. 4C). ).

なお、ステップS8で第1管理装置1から第2管理装置2に送信するのは、ログデータに限定されず、制御装置3の動作履歴や警告情報等を含んでいてもよい。また、制御装置3から被制御装置データを受信する装置が第1管理装置1から第2管理装置2に切り替わるときに、被制御装置データが欠落することをより確実に防止するため、制御装置3は、第1管理装置1からモード変更通知を受信した後の所定時間、被制御装置データを第1管理装置1と第2管理装置2の両方に送信するようにしてもよい。その所定時間は、予めベンダーやユーザ等によって設定されていてもよいし、また、制御装置3が第2管理装置2から被制御装置データを受信した旨の信号を受信するときまでのタイミングとしてもよい。これにより、例えば、第1管理装置1から第2管理装置2へログデータを送信する時間が長期化した場合等であっても、被制御装置データの欠落を抑制することが可能になる。 Note that the transmission from the first management device 1 to the second management device 2 in step S8 is not limited to the log data, and may include the operation history of the control device 3, warning information, and the like. Further, in order to more reliably prevent the controlled device data from being lost when the device that receives the controlled device data from the control device 3 is switched from the first managed device 1 to the second managed device 2, the control device 3 is used. May transmit the controlled device data to both the first management device 1 and the second management device 2 for a predetermined time after receiving the mode change notification from the first management device 1. The predetermined time may be set in advance by a vendor, a user, or the like, or may be a timing until the control device 3 receives a signal indicating that the controlled device data has been received from the second management device 2. Good. As a result, for example, even when the time for transmitting log data from the first management device 1 to the second management device 2 is prolonged, it is possible to suppress the loss of the controlled device data.

ステップS8の後、第1管理装置1において、制御部117は、自身のプログラムを更新する(ステップS16、更新ステップ)。このプログラムの更新が完了すると(ステップS17)、第1管理装置1において、モード切替部111は、第1管理装置1の動作モードを更新モードから運転モードに切り替える(ステップS18)。 After step S8, in the first management device 1, the control unit 117 updates its own program (step S16, update step). When the update of this program is completed (step S17), in the first management device 1, the mode switching unit 111 switches the operation mode of the first management device 1 from the update mode to the operation mode (step S18).

次に、第1管理装置1のモード変更通知送信部112は、第1管理装置1の動作モードが更新モードから運転モードに変更され、制御装置3からの被制御装置データの送信先を第2管理装置2から第1管理装置1に切り替える(戻す)ように要求する旨のモード変更通知(第2の通知)を第2管理装置2と制御装置3とに送信する(ステップS19、第3送信ステップ)。 Next, the mode change notification transmission unit 112 of the first management device 1 changes the operation mode of the first management device 1 from the update mode to the operation mode, and sets the transmission destination of the controlled device data from the control device 3 to the second. A mode change notification (second notification) requesting to switch (return) from the management device 2 to the first management device 1 is transmitted to the second management device 2 and the control device 3 (step S19, third transmission). Step).

第2管理装置2において、モード変更通知受信部213はこのモード変更通知を受信し(ステップS20)、ログデータ送信部214は記憶部22に記憶されているログデータを第1管理装置1に送信する(ステップS21、第4送信ステップ)。 In the second management device 2, the mode change notification receiving unit 213 receives this mode change notification (step S20), and the log data transmitting unit 214 transmits the log data stored in the storage unit 22 to the first management device 1. (Step S21, 4th transmission step).

また、制御装置3において、モード変更通知受信部312はこのモード変更通知を受信し(ステップS22)、制御部315は被制御装置データの送信先を第2管理装置2から第1管理装置1に変更する(ステップS23)。その後、制御装置3の被制御装置データ送信部314は被制御装置データを第1管理装置1に送信する(ステップS24)。 Further, in the control device 3, the mode change notification receiving unit 312 receives the mode change notification (step S22), and the control unit 315 shifts the transmission destination of the controlled device data from the second management device 2 to the first management device 1. Change (step S23). After that, the controlled device data transmission unit 314 of the control device 3 transmits the controlled device data to the first management device 1 (step S24).

ステップS19の後、第1管理装置1において、ログデータ受信部115は第2管理装置2からのログデータを受信し(ステップS25)、記憶部12に記憶する。その後、第1管理装置1の被制御装置データ受信部116は、制御装置3から被制御装置データを受信し(ステップS26)、記憶部22にログデータとして蓄積する。 After step S19, in the first management device 1, the log data receiving unit 115 receives the log data from the second management device 2 (step S25) and stores it in the storage unit 12. After that, the controlled device data receiving unit 116 of the first management device 1 receives the controlled device data from the control device 3 (step S26) and stores it in the storage unit 22 as log data.

このようにして、第1実施形態によれば、制御システムSを停止させることなく第1管理装置1のプログラムを更新することができる。また、第1管理装置1では、ステップS25で第2管理装置2からログデータを受信していることで、被制御装置データの全体を表示部14に表示することができる。したがって、第1管理装置1でプログラムを更新している間は第2管理装置2で被制御装置データの全体を表示でき、また、第1管理装置1でプログラムを更新した後は第1管理装置1で被制御装置データの全体を表示することができるので、制御システムSとしてのアベイラビリティを担保することが可能となる。 In this way, according to the first embodiment, the program of the first management device 1 can be updated without stopping the control system S. Further, in the first management device 1, since the log data is received from the second management device 2 in step S25, the entire controlled device data can be displayed on the display unit 14. Therefore, the entire controlled device data can be displayed by the second management device 2 while the program is updated by the first management device 1, and after the program is updated by the first management device 1, the first management device 1 can be displayed. Since the entire controlled device data can be displayed in 1, the availability as the control system S can be ensured.

なお、制御装置3からの被制御装置データの送信先が第1管理装置1から第2管理装置2に切り替わるときと同様に、制御装置3からの被制御装置データの送信先が第2管理装置2から第1管理装置1に切り替わるときも、被制御装置データが欠落することをより確実に防止するため、制御装置3は、第1管理装置1からモード変更通知を受信した後の所定時間、被制御装置データを第1管理装置1と第2管理装置2の両方に送信するようにしてもよい。 As in the case where the transmission destination of the controlled device data from the control device 3 is switched from the first management device 1 to the second management device 2, the transmission destination of the controlled device data from the control device 3 is the second management device. In order to more reliably prevent the controlled device data from being lost even when switching from the second to the first management device 1, the control device 3 receives the mode change notification from the first management device 1 for a predetermined time. The controlled device data may be transmitted to both the first management device 1 and the second management device 2.

(第2実施形態)
次に、第2実施形態の制御システムSについて、図5〜図8を参照して説明する。図5は、第2実施形態の制御システムSの構成例を示す図である。この第2実施形態は、第1実施形態と比べて、第2管理装置2が、第1管理装置1と制御装置3が属する内部ネットワーク(以下、単に「内部ネットワーク」という場合がある。)の外部に配置されている点で異なっている。第2管理装置2は、GW(GateWay)6を介して、ネットワーク5に接続されている。第2管理装置2は、例えば、いわゆるクラウドサーバにより実現できる。なお、第2管理装置2は常に動作しているものではなく、制御装置3と同一ネットワーク上に配置されている第1管理装置1を更新する場合のみ稼動してもよい。
(Second Embodiment)
Next, the control system S of the second embodiment will be described with reference to FIGS. 5 to 8. FIG. 5 is a diagram showing a configuration example of the control system S of the second embodiment. In this second embodiment, as compared with the first embodiment, the second management device 2 is an internal network to which the first management device 1 and the control device 3 belong (hereinafter, may be simply referred to as an “internal network”). It differs in that it is located outside. The second management device 2 is connected to the network 5 via the GW (GateWay) 6. The second management device 2 can be realized by, for example, a so-called cloud server. The second management device 2 is not always operating, and may be operated only when the first management device 1 arranged on the same network as the control device 3 is updated.

また、この第2実施形態において、第1管理装置1の記憶部12、第2管理装置2の記憶部22、および、制御装置3の記憶部32で保持される構成情報は、図6に示す通りである。図6は、第2実施形態の構成情報の例を示す図である。 Further, in the second embodiment, the configuration information held by the storage unit 12 of the first management device 1, the storage unit 22 of the second management device 2, and the storage unit 32 of the control device 3 is shown in FIG. It's a street. FIG. 6 is a diagram showing an example of configuration information of the second embodiment.

図6に示す例では、構成情報は、装置の種別とIPアドレスに加えて、設置エリアを含んでいる。この構成情報では、第1管理装置1と制御装置3の設置エリアはローカル、第2管理装置2の設置エリアは外部と設定されている。 In the example shown in FIG. 6, the configuration information includes the installation area in addition to the device type and IP address. In this configuration information, the installation area of the first management device 1 and the control device 3 is set to be local, and the installation area of the second management device 2 is set to be external.

第2実施形態の制御システムSの処理の全体は、図2に示すフローチャートと同様であるので、説明を省略する。ここで、制御装置3が、内部ネットワークの外部に存在する第2管理装置2に被制御装置データを送信するのは、セキュリティ上、特に問題はない。しかし、図2に示す処理のほかに、例えば、制御装置3が、内部ネットワークの外部に存在する第2管理装置2からのアクセスを無制限に許容すると、セキュリティ上、好ましくない。そこで、制御装置3が図7に示す処理を実行することで、制御装置3が保持する構成情報やプログラムを変更するため等の第2管理装置2からのアクセスを制限(拒否)する。 Since the entire process of the control system S of the second embodiment is the same as the flowchart shown in FIG. 2, the description thereof will be omitted. Here, there is no particular problem in terms of security that the control device 3 transmits the controlled device data to the second management device 2 existing outside the internal network. However, in addition to the processing shown in FIG. 2, for example, if the control device 3 allows unlimited access from the second management device 2 existing outside the internal network, it is not preferable in terms of security. Therefore, by executing the process shown in FIG. 7, the control device 3 restricts (denies) access from the second management device 2 for changing the configuration information and the program held by the control device 3.

図7は、第2実施形態の制御装置3の処理を示すフローチャートである。まず、制御装置3は、第1管理装置1または第2管理装置2からデータを受信する(ステップS31)。次に、制御部315は、記憶部32の構成情報(図6)を参照して(ステップS32)、受信IPアドレスを判定し(ステップS33)、送信元がローカルであれば(ステップS34でYes。送信元が第1管理装置1の場合)はステップS35に進み、送信元がローカルでなく外部であれば(ステップS34でNo。送信元が第2管理装置2の場合)はステップS36に進む。 FIG. 7 is a flowchart showing the processing of the control device 3 of the second embodiment. First, the control device 3 receives data from the first management device 1 or the second management device 2 (step S31). Next, the control unit 315 refers to the configuration information (FIG. 6) of the storage unit 32 (step S32), determines the receiving IP address (step S33), and if the source is local (yes in step S34). If the source is the first management device 1), the process proceeds to step S35, and if the source is not local but external (No in step S34. If the source is the second management device 2), the process proceeds to step S36. ..

ステップS35において、制御部315は、データを許容する。また、ステップS36において、制御部315は、データを破棄する。 In step S35, the control unit 315 allows the data. Further, in step S36, the control unit 315 discards the data.

このようにして、第2管理装置2が内部ネットワークの外部に配置されている場合でも、制御装置3は第2管理装置2から任意のタイミングで受信したデータを破棄するので、制御システムSとしてセキュアな制御を継続することが可能になる。なお、制御装置3は、第2管理装置2から被制御装置データの送信要求信号のようなデータを受けた場合は、図7の処理を実行する必要はなく、そのデータを許容してよい。 In this way, even when the second management device 2 is arranged outside the internal network, the control device 3 discards the data received from the second management device 2 at an arbitrary timing, so that the control system S is secure. It becomes possible to continue the control. When the control device 3 receives data such as a transmission request signal of the controlled device data from the second management device 2, it is not necessary to execute the process of FIG. 7, and the data may be allowed.

また、制御装置3が、内部ネットワークの外部の悪意ある第三者の使用する装置(以下、「第三者装置」と称する。)からIPアドレスを偽装したデータを受信する場合も考えられる。その場合の対策について説明する。図8は、第2実施形態の制御装置3の他の処理を示すフローチャートである。以下では、第1管理装置1、および、第2管理装置2は、データを予め規定された暗号化アルゴリズムによって暗号化し、その暗号化データを制御装置3に送信するものとする。 It is also conceivable that the control device 3 receives data disguised as an IP address from a device used by a malicious third party outside the internal network (hereinafter, referred to as a "third party device"). The measures to be taken in that case will be described. FIG. 8 is a flowchart showing another process of the control device 3 of the second embodiment. In the following, it is assumed that the first management device 1 and the second management device 2 encrypt the data by a predetermined encryption algorithm and transmit the encrypted data to the control device 3.

まず、制御装置3は、第1管理装置1、第2管理装置2、または、第三者装置からデータを受信する(ステップS31)。次に、制御部315は、そのデータが暗号化データであって復号を行って成功したか否かを判定する(ステップS37)。 First, the control device 3 receives data from the first management device 1, the second management device 2, or a third-party device (step S31). Next, the control unit 315 determines whether or not the data is encrypted data and is decrypted and succeeded (step S37).

ステップS37でYesの場合(第1管理装置1または第2管理装置2からのデータの場合)、制御部315は、記憶部32の構成情報(図6)を参照して(ステップS32)、受信IPアドレスを判定する(ステップS33)。 In the case of Yes in step S37 (in the case of data from the first management device 1 or the second management device 2), the control unit 315 refers to the configuration information (FIG. 6) of the storage unit 32 (step S32) and receives the data. The IP address is determined (step S33).

送信元がローカルであれば(ステップS34でYes。送信元が第1管理装置1の場合)、制御部315は、データを許容する(ステップS35)。また、送信元がローカルでなく外部であれば(ステップS34でNo。送信元が第2管理装置2の場合)、制御部315は、データを破棄する(ステップS36)。 If the source is local (Yes in step S34; if the source is the first management device 1), the control unit 315 allows the data (step S35). Further, if the source is not local but external (No in step S34. When the source is the second management device 2), the control unit 315 discards the data (step S36).

また、ステップS37でNoの場合(第三者装置からのデータの場合)、制御部315は、データを破棄する(ステップS36)。 If No in step S37 (data from a third-party device), the control unit 315 discards the data (step S36).

このようにして、第2管理装置2が内部ネットワークの外部に配置されている場合に、制御装置3は任意のタイミングで第2管理装置2および第三者装置から受信したデータを破棄するので、制御システムSとしてセキュアな制御を継続することが可能になる。また、制御装置3と同一ネットワーク上に第1管理装置1の代替装置としての第2管理装置2を常設しておく必要がなくなるので、アセットライトにつながる。 In this way, when the second management device 2 is arranged outside the internal network, the control device 3 discards the data received from the second management device 2 and the third-party device at an arbitrary timing. It becomes possible to continue secure control as the control system S. Further, since it is not necessary to permanently install the second management device 2 as a substitute device for the first management device 1 on the same network as the control device 3, it leads to asset writing.

(第3実施形態)
次に、第3実施形態の制御システムSについて、図9〜図11を参照して説明する。図9は、第3実施形態の制御システムSの構成例を示す図である。この第3実施形態は、第1実施形態と比べて、制御システムSに監視装置7が追加されるとともに、第1管理装置1の記憶部12、第2管理装置2の記憶部22、および、制御装置3の記憶部32に、構成情報が記憶されない点で異なっている。また、この第3実施形態では、第1実施形態と同様、制御装置3からの被制御装置データの送信先を、第1管理装置1から第2管理装置2に切り替え、その後、第1管理装置1のプログラムを更新してから第1管理装置1に戻す場合について説明する。
(Third Embodiment)
Next, the control system S of the third embodiment will be described with reference to FIGS. 9 to 11. FIG. 9 is a diagram showing a configuration example of the control system S of the third embodiment. In this third embodiment, as compared with the first embodiment, the monitoring device 7 is added to the control system S, the storage unit 12 of the first management device 1, the storage unit 22 of the second management device 2, and the storage unit 22. The difference is that the configuration information is not stored in the storage unit 32 of the control device 3. Further, in the third embodiment, as in the first embodiment, the transmission destination of the controlled device data from the control device 3 is switched from the first management device 1 to the second management device 2, and then the first management device. A case where the program of No. 1 is updated and then returned to the first management device 1 will be described.

監視装置7は、第1管理装置1と制御装置3とそれらの通信相手の装置(第2管理装置2など)のアドレス情報を管理するコンピュータ装置であって、処理部71、記憶部72、入力部73、および、表示部74を備える。処理部71は、モード切替部711、モード変更通知送信部712、および、制御部713を備える。 The monitoring device 7 is a computer device that manages the address information of the first management device 1, the control device 3, and their communication partner devices (second management device 2, etc.), and is a processing unit 71, a storage unit 72, and an input. A unit 73 and a display unit 74 are provided. The processing unit 71 includes a mode switching unit 711, a mode change notification transmission unit 712, and a control unit 713.

モード切替部711は、第1管理装置1の動作モードを、運転モードと更新モードの間で切り替える旨の設定をする。モード変更通知送信部712は、第1管理装置1の動作モードを運転モードから更新モードに変更する旨、または、第1管理装置1の動作モードを更新モードから運転モードに変更する旨のモード変更通知(第1の通知)を、第1管理装置1、第2管理装置2、および、制御装置3に送信する。それらのモード変更通知は、当該モード変更によって必要となるアドレス情報(第1管理装置1、第2管理装置2、制御装置3のIPアドレスのうちの1つ以上)を含む。制御部713は、記憶部72に記憶されたプログラム(不図示)に基づいて各種演算処理を実行する。 The mode switching unit 711 is set to switch the operation mode of the first management device 1 between the operation mode and the update mode. The mode change notification transmission unit 712 changes the mode to change the operation mode of the first management device 1 from the operation mode to the update mode, or to change the operation mode of the first management device 1 from the update mode to the operation mode. The notification (first notification) is transmitted to the first management device 1, the second management device 2, and the control device 3. The mode change notification includes the address information (one or more of the IP addresses of the first management device 1, the second management device 2, and the control device 3) required by the mode change. The control unit 713 executes various arithmetic processes based on a program (not shown) stored in the storage unit 72.

記憶部72は、構成情報、プログラム(不図示)等の各種情報を記憶する。構成情報は、例えば、図11に示す通りである。図11は、第3実施形態の構成情報の例を示す図である。図11に示す例では、構成情報は、装置の種別とIPアドレスと代替先とから構成されている。例えば、構成情報の一段目には、種別が第1管理装置1の場合、そのIPアドレスと、代替先が第2管理装置2である旨と、が定義されている。 The storage unit 72 stores various information such as configuration information and programs (not shown). The configuration information is, for example, as shown in FIG. FIG. 11 is a diagram showing an example of configuration information of the third embodiment. In the example shown in FIG. 11, the configuration information is composed of a device type, an IP address, and an alternative destination. For example, in the first stage of the configuration information, when the type is the first management device 1, the IP address thereof and the alternative destination is the second management device 2.

入力部73は、ユーザが情報を入力する手段であり、例えば、キーボードやマウスである。表示部74は、情報を表示する手段であって、例えば、LCD等である。 The input unit 73 is a means for the user to input information, for example, a keyboard or a mouse. The display unit 74 is a means for displaying information, such as an LCD.

次に、制御システムSの処理について説明する。図10は、第3実施形態の制御システムSの処理を示すフローチャートである。第1管理装置1のプログラムを更新する場合、まず、監視装置7において、第1管理装置1のプログラムの更新要求が認識される(ステップS101)。この更新要求認識は、監視装置7においてユーザが入力部73を操作することで実現してもよいし、また、第1管理装置1から監視装置7に更新要求信号を送信することにより実現してもよい。 Next, the processing of the control system S will be described. FIG. 10 is a flowchart showing the processing of the control system S of the third embodiment. When updating the program of the first management device 1, first, the monitoring device 7 recognizes the update request of the program of the first management device 1 (step S101). This update request recognition may be realized by the user operating the input unit 73 in the monitoring device 7, or by transmitting an update request signal from the first management device 1 to the monitoring device 7. May be good.

次に、監視装置7の制御部713は、例えば構成情報(図11)を参照して、第1管理装置1の代替装置として第2管理装置2を設定する(ステップS102)。なお、代替装置は予め決定しておいてもよいし、また、その都度ユーザが選択してもよい。 Next, the control unit 713 of the monitoring device 7 sets the second management device 2 as an alternative device to the first management device 1 with reference to, for example, the configuration information (FIG. 11) (step S102). The alternative device may be determined in advance, or may be selected by the user each time.

次に、監視装置7において、モード切替部711は、第1管理装置1の動作モードを運転モードから更新モードに切り替える旨の設定をする。そして、モード変更通知送信部712は、当該切替、および、第1管理装置1の代替装置として第2管理装置2を設定する旨のモード変更通知(構成情報におけるIPアドレスの情報も含む。)(第1の通知)を、第1管理装置1と第2管理装置2と制御装置3とに送信する(ステップS103、第1送信ステップ)。 Next, in the monitoring device 7, the mode switching unit 711 sets that the operation mode of the first management device 1 is switched from the operation mode to the update mode. Then, the mode change notification transmission unit 712 sets the switching and the mode change notification (including the IP address information in the configuration information) to the effect that the second management device 2 is set as a substitute device for the first management device 1. The first notification) is transmitted to the first management device 1, the second management device 2, and the control device 3 (step S103, first transmission step).

第1管理装置1において、モード変更通知受信部113はこのモード変更通知を受信し(ステップS104)、モード切替部111は第1管理装置1の動作モードを運転モードから更新モードに変更する。ステップS4〜S17については、図2と同様である。 In the first management device 1, the mode change notification receiving unit 113 receives this mode change notification (step S104), and the mode switching unit 111 changes the operation mode of the first management device 1 from the operation mode to the update mode. Steps S4 to S17 are the same as in FIG.

ステップS17の後、第1管理装置1において、制御部117は、更新完了通知を監視装置7に送信する(ステップS111)。 After step S17, in the first management device 1, the control unit 117 transmits an update completion notification to the monitoring device 7 (step S111).

監視装置7において、制御部713が第1管理装置1から更新完了通知を受信すると(ステップS112)、モード切替部711は、第1管理装置1の動作モードを更新モードから運転モードに切り替える旨の設定をする(ステップS113)。 In the monitoring device 7, when the control unit 713 receives the update completion notification from the first management device 1 (step S112), the mode switching unit 711 switches the operation mode of the first management device 1 from the update mode to the operation mode. Make settings (step S113).

次に、監視装置7のモード変更通知送信部712は、制御装置3からの被制御装置データの送信先を第2管理装置2から第1管理装置1に戻す旨のモード変更通知(第2の通知)を、第1管理装置1と第2管理装置2と制御装置3とに送信する(ステップS114、第3送信ステップ)。 Next, the mode change notification transmission unit 712 of the monitoring device 7 returns the mode change notification (second) to return the transmission destination of the controlled device data from the control device 3 from the second management device 2 to the first management device 1. The notification) is transmitted to the first management device 1, the second management device 2, and the control device 3 (step S114, third transmission step).

第1管理装置1において、モード変更通知受信部113はこのモード変更通知を受信し(ステップS115)、モード切替部111は第1管理装置1の動作モードを更新モードから運転モードに変更する。ステップS20〜S26については、図2と同様である。 In the first management device 1, the mode change notification receiving unit 113 receives this mode change notification (step S115), and the mode switching unit 111 changes the operation mode of the first management device 1 from the update mode to the operation mode. Steps S20 to S26 are the same as in FIG.

このようにして、第3実施形態によれば、第1実施形態の効果に加えて、監視装置7だけが構成情報を保持すればよく、第1管理装置1、第2管理装置2、制御装置3は、構成情報を保持する必要がないので、各構成がシンプルになるという効果を奏する。この効果は、管理装置や制御装置の数が多いほど、大きい。 In this way, according to the third embodiment, in addition to the effect of the first embodiment, only the monitoring device 7 needs to hold the configuration information, and the first management device 1, the second management device 2, and the control device need to be held. Since it is not necessary to hold the configuration information, the third has the effect of simplifying each configuration. This effect is greater as the number of management devices and control devices increases.

(第4実施形態)
次に、第4実施形態の制御システムSについて、図12を参照して説明する。図12は、第4実施形態の制御システムSの構成例を示す図である。第1実施形態と比べたときの第2実施形態と同様、この第4実施形態は、第3実施形態と比べて、第2管理装置2が、第1管理装置1と制御装置3が属する内部ネットワークの外部に配置されている点で異なっている。つまり、第2管理装置2は、GW6を介して、ネットワーク5に接続されている。その他の点は第3実施形態と同様なので、説明を省略する。
(Fourth Embodiment)
Next, the control system S of the fourth embodiment will be described with reference to FIG. FIG. 12 is a diagram showing a configuration example of the control system S of the fourth embodiment. Similar to the second embodiment when compared with the first embodiment, in this fourth embodiment, as compared with the third embodiment, the second management device 2 has the inside to which the first management device 1 and the control device 3 belong. It differs in that it is located outside the network. That is, the second management device 2 is connected to the network 5 via the GW 6. Since other points are the same as those in the third embodiment, the description thereof will be omitted.

第4実施形態によれば、第2管理装置2が内部ネットワークの外部に配置されていることで、制御装置3と同一ネットワーク上に第1管理装置1の代替装置としての第2管理装置2を常設しておく必要がなくなり、アセットライトにつながる。また、その場合でも、第2実施形態と同様、制御装置3が第2管理装置2や第三者装置から受信したデータを破棄するようにすることで、制御システムSとしてセキュアな制御を継続することが可能になる。 According to the fourth embodiment, since the second management device 2 is arranged outside the internal network, the second management device 2 as a substitute device for the first management device 1 is placed on the same network as the control device 3. There is no need to keep it permanently installed, which leads to asset light. Further, even in that case, as in the second embodiment, the control device 3 continues the secure control as the control system S by discarding the data received from the second management device 2 and the third party device. Will be possible.

以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although some embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.

例えば、管理装置は、第1管理装置1と第2管理装置2の2台でなく、3台以上であってもよい。また、制御装置は、制御装置3の1台でなく、2台以上であってもよい。 For example, the number of management devices may be three or more, instead of two, the first management device 1 and the second management device 2. Further, the control device may be two or more, not one of the control devices 3.

1 第1管理装置
11 処理部
111 モード切替部
112 モード変更通知送信部
113 モード変更通知受信部
114 ログデータ送信部
115 ログデータ受信部
116 被制御装置データ受信部
117 制御部
12 記憶部
13 入力部
14 表示部
2 第2管理装置
21 処理部
211 モード切替部
212 モード変更通知送信部
213 モード変更通知受信部
214 ログデータ送信部
215 ログデータ受信部
216 被制御装置データ受信部
217 制御部
22 記憶部
23 入力部
24 表示部
3 制御装置
31 処理部
311 モード切替部
312 モード変更通知受信部
313 被制御装置データ受信部
314 被制御装置データ送信部
315 制御部
32 記憶部
33 入力部
34 表示部
35 データ入出力部
4 被制御装置
5 ネットワーク
6 GW
7 監視装置
71 処理部
711 モード切替部
712 モード変更通知送信部
713 制御部
72 記憶部
73 入力部
74 表示部
S 制御システム
1 1st management device 11 Processing unit 111 Mode switching unit 112 Mode change notification transmission unit 113 Mode change notification reception unit 114 Log data transmission unit 115 Log data reception unit 116 Controlled device data reception unit 117 Control unit 12 Storage unit 13 Input unit 14 Display unit 2 Second management device 21 Processing unit 211 Mode switching unit 212 Mode change notification transmission unit 213 Mode change notification reception unit 214 Log data transmission unit 215 Log data reception unit 216 Controlled device data reception unit 217 Control unit 22 Storage unit 23 Input unit 24 Display unit 3 Control device 31 Processing unit 311 Mode switching unit 312 Mode change notification receiving unit 313 Controlled device data receiving unit 314 Controlled device data transmitting unit 315 Control unit 32 Storage unit 33 Input unit 34 Display unit 35 Data Input / output unit 4 Controlled device 5 Network 6 GW
7 Monitoring device 71 Processing unit 711 Mode switching unit 712 Mode change notification transmission unit 713 Control unit 72 Storage unit 73 Input unit 74 Display unit S Control system

Claims (6)

被制御装置から、当該被制御装置に関するデータが示された被制御装置データを受信する制御装置と、当該制御装置から、当該被制御装置データを受信し、当該被制御装置データを記憶する第1管理装置と、を少なくとも備える制御システムで実行されるプログラム更新方法において、
前記第1管理装置が、第2管理装置と前記制御装置とに、前記制御装置からの前記被制御装置データの送信先を前記第1管理装置から前記第2管理装置に切り替えるように要求する第1の通知を送信する第1送信ステップと、
前記第1管理装置が、前記第2管理装置に、自身が記憶している、過去の前記被制御装置データであるログデータを送信する第2送信ステップと、
前記第1管理装置が自身のプログラムを更新する更新ステップと、
前記第1管理装置が、前記プログラムの更新が完了した後に、前記第2管理装置と前記制御装置とに、前記制御装置からの前記被制御装置データの送信先を前記第2管理装置から前記第1管理装置に切り替えるように要求する第2の通知を送信する第3送信ステップと、
を含むプログラム更新方法。
A control device that receives controlled device data indicating data related to the controlled device from the controlled device, and a first unit that receives the controlled device data from the controlled device and stores the controlled device data. In the program update method executed by the control system including at least the management device.
The first management device requests the second management device and the control device to switch the transmission destination of the controlled device data from the control device from the first management device to the second management device. The first transmission step of transmitting the notification of 1 and
A second transmission step in which the first management device transmits log data, which is the past controlled device data stored in the second management device, to the second management device.
An update step in which the first management device updates its own program, and
After the update of the program is completed by the first management device, the second management device and the control device are notified of the transmission destination of the controlled device data from the control device from the second management device. 1 A third transmission step of transmitting a second notification requesting to switch to the control device, and
How to update the program including.
被制御装置から、当該被制御装置に関するデータが示された被制御装置データを受信する制御装置と、当該制御装置から、当該被制御装置データを受信し、当該被制御装置データを記憶する第1管理装置と、前記第1管理装置と前記制御装置とそれらの通信相手の装置のアドレス情報を管理する監視装置と、を少なくとも備える制御システムで実行されるプログラム更新方法において、
前記監視装置が、前記第1管理装置と第2管理装置と前記制御装置とに、前記制御装置からの前記被制御装置データの送信先を前記第1管理装置から前記第2管理装置に切り替えるように要求するとともに当該切り替えに必要なアドレス情報を含む第1の通知を送信する第1送信ステップと、
前記第1管理装置が、前記第2管理装置に、自身が記憶している、過去の前記被制御装置データであるログデータを送信する第2送信ステップと、
前記第1管理装置が自身のプログラムを更新する更新ステップと、
前記監視装置が、前記第1管理装置の前記プログラムの更新が完了した後に、前記第1管理装置と前記第2管理装置と前記制御装置とに、前記制御装置からの前記被制御装置データの送信先を前記第2管理装置から前記第1管理装置に切り替えるように要求する第2の通知を送信する第3送信ステップと、
を含むプログラム更新方法。
A control device that receives controlled device data indicating data related to the controlled device from the controlled device, and a first unit that receives the controlled device data from the controlled device and stores the controlled device data. In a program update method executed by a control system including at least a management device, the first management device, the control device, and a monitoring device for managing the address information of the devices of the communication partners thereof.
The monitoring device switches the transmission destination of the controlled device data from the control device to the first management device, the second management device, and the control device from the first management device to the second management device. And the first transmission step of transmitting the first notification including the address information necessary for the switching.
A second transmission step in which the first management device transmits log data, which is the past controlled device data stored in the second management device, to the second management device.
An update step in which the first management device updates its own program, and
After the monitoring device completes the update of the program of the first management device, the controlled device data from the control device is transmitted to the first management device, the second management device, and the control device. A third transmission step of transmitting a second notification requesting that the destination be switched from the second management device to the first management device, and
How to update the program including.
前記第2管理装置は、前記制御装置と前記第1管理装置が属する内部ネットワークの外部に配置されている、請求項1または請求項2に記載のプログラム更新方法。 The program update method according to claim 1 or 2, wherein the second management device is arranged outside the internal network to which the control device and the first management device belong. 前記制御装置は、前記第2管理装置からデータを受信した場合に、前記第2管理装置が前記内部ネットワークの外部に配置されていると判定し、当該データを破棄する、請求項3に記載のプログラム更新方法。 The third aspect of claim 3, wherein when the control device receives data from the second management device, the control device determines that the second management device is located outside the internal network and discards the data. How to update the program. 前記制御装置は、前記第1送信ステップで前記第1の通知を受信した後の所定時間、前記被制御装置データを前記第1管理装置と前記第2管理装置の両方に送信する、請求項1から請求項4のいずれか一項に記載のプログラム更新方法。 The control device transmits the controlled device data to both the first management device and the second management device for a predetermined time after receiving the first notification in the first transmission step. The program update method according to any one of claims 4. 前記第2管理装置が、前記第3送信ステップで前記第2の通知を受信した後に、前記第1管理装置に、前記制御装置から受信した過去の前記被制御装置データであるログデータを送信する第4送信ステップをさらに含む、請求項1から請求項5のいずれか一項に記載のプログラム更新方法。 After the second management device receives the second notification in the third transmission step, the second management device transmits log data, which is the past controlled device data received from the control device, to the first management device. The program update method according to any one of claims 1 to 5, further comprising a fourth transmission step.
JP2016205933A 2016-10-20 2016-10-20 Program update method Active JP6762841B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016205933A JP6762841B2 (en) 2016-10-20 2016-10-20 Program update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016205933A JP6762841B2 (en) 2016-10-20 2016-10-20 Program update method

Publications (2)

Publication Number Publication Date
JP2018067178A JP2018067178A (en) 2018-04-26
JP6762841B2 true JP6762841B2 (en) 2020-09-30

Family

ID=62087067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016205933A Active JP6762841B2 (en) 2016-10-20 2016-10-20 Program update method

Country Status (1)

Country Link
JP (1) JP6762841B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006191426A (en) * 2005-01-07 2006-07-20 Nec Commun Syst Ltd Duplex network management system file update method and network management server apparatus
JP2007018243A (en) * 2005-07-07 2007-01-25 Toshiba Corp Monitoring system
JP2009265939A (en) * 2008-04-24 2009-11-12 Panasonic Electric Works Co Ltd Equipment management system
JP5421894B2 (en) * 2010-12-22 2014-02-19 株式会社日立製作所 Duplex process control apparatus and control data matching method

Also Published As

Publication number Publication date
JP2018067178A (en) 2018-04-26

Similar Documents

Publication Publication Date Title
US11652665B2 (en) Intelligent multi-channel VPN orchestration
JP6700688B2 (en) Device safety for process control systems
US11706244B2 (en) Apparatus, method, and computer program product for automatic network architecture configuration maintenance
US10244000B2 (en) Apparatus and method for establishing seamless secure communications between components in an industrial control and automation system
JP6766895B2 (en) How to communicate securely and industrial computing equipment
US12192176B2 (en) Cloud based platform to efficiently manage firewall rules and data traffic
WO2017044510A1 (en) Trust status of a communication session
US9456046B2 (en) Dynamic generation of proxy connections
US12375529B2 (en) Systems and methods for scheduled policy deployment in operational technology networks
CN107787579A (en) System and method for being exchanged with laser or machine tool data
JP6762841B2 (en) Program update method
EP4617803A1 (en) Systems and methods for large language model (llm) generated security configuration based on system characteristics
JP2019205125A (en) Abnormal factor determination device, control system, and abnormal factor determination method
US10884840B2 (en) Controlled monitoring based on root cause analysis recommendations
CN111526108B (en) Method and device for preventing network attacks
KR102423755B1 (en) Server and method for controlling packet transmission
US12265815B2 (en) Conditional update recommendations based on local system state
JP6904453B2 (en) Programmable device application authentication system and authentication method
US20260089182A1 (en) Systems and methods for assessing criticality and risk in an operational technology network
US20180316545A1 (en) Dynamic review cadence for intellectual capital
JP6096700B2 (en) API providing system
EP3113440A1 (en) Self-managed network security measures
KAULWAR et al. Building Blocks of a Transparent IoT Ecosystem
CN107979657A (en) Dns address processing method and system for the network equipment
Walker Comparative Analysis of Cloud-Based and EdgeBased IoT Solutions: Architectures, Security, and Scalability Considerations

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170911

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170912

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200716

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: 20200811

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200909

R150 Certificate of patent or registration of utility model

Ref document number: 6762841

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350