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
JP7668758B2 - Surveillance system and method - Google Patents
[go: Go Back, main page]

JP7668758B2 - Surveillance system and method - Google Patents

Surveillance system and method Download PDF

Info

Publication number
JP7668758B2
JP7668758B2 JP2022037399A JP2022037399A JP7668758B2 JP 7668758 B2 JP7668758 B2 JP 7668758B2 JP 2022037399 A JP2022037399 A JP 2022037399A JP 2022037399 A JP2022037399 A JP 2022037399A JP 7668758 B2 JP7668758 B2 JP 7668758B2
Authority
JP
Japan
Prior art keywords
data
monitoring
monitoring data
processing unit
storage unit
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
JP2022037399A
Other languages
Japanese (ja)
Other versions
JP2023132210A (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.)
Hitachi Industrial Equipment Systems Co Ltd
Original Assignee
Hitachi Industrial Equipment Systems Co Ltd
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 Hitachi Industrial Equipment Systems Co Ltd filed Critical Hitachi Industrial Equipment Systems Co Ltd
Priority to JP2022037399A priority Critical patent/JP7668758B2/en
Publication of JP2023132210A publication Critical patent/JP2023132210A/en
Application granted granted Critical
Publication of JP7668758B2 publication Critical patent/JP7668758B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

本発明は、監視システム及び監視方法に関する。 The present invention relates to a monitoring system and a monitoring method.

プラントの監視システムは、プラントで使用される機器(例えば、ポンプなど)の運転や停止といった稼働状況や、水位、流量などの検出信号を、監視用データとして、監視システムを運用する操作者に提供する。監視システムを運用する操作者は、この監視用データを基に機器の制御や管理を行うため、監視システムは、監視用データのトレンドデータを途切れることなく操作者に提供することが要請される。 A plant monitoring system provides the operator of the monitoring system with monitoring data, including the operating status (such as the operation or shutdown) of equipment used in the plant (e.g., pumps), as well as detection signals for water levels, flow rates, etc. The operator of the monitoring system controls and manages the equipment based on this monitoring data, so the monitoring system is required to provide the operator with trend data for the monitoring data without interruption.

このような要請の下、昨今の監視システムは、トレンドデータに一時的な収集エラーが生じても、一時蓄積しているデータを基にトレンドデータを修復する従来技術が開示されている(例えば特許文献1参照)。 In response to such demands, recent monitoring systems have been developed that use technology that allows trend data to be restored based on temporarily stored data even if a temporary collection error occurs in the trend data (see, for example, Patent Document 1).

特開2005-18152号公報JP 2005-18152 A

しかしながら、上述の従来技術では、サーバの稼働率を高めるために複数台のサーバを用いて切替を行う監視システムにおいて、スタンバイ動作中のサーバ装置をオンライン稼働に切替える場合に監視用データのトレンドデータに欠損が生じると、欠損データの補完処理が完了するまで、操作者は、欠損データを参照することができない。このため、操作者は、監視用データのトレンドデータに欠損が存在すると、プラントの機器制御等を適切に行うことができない場合がある。 However, in the above-mentioned conventional technology, in a monitoring system that uses multiple servers for switching to increase server utilization, if a loss occurs in trend data for monitoring data when a server device in standby operation is switched to online operation, the operator cannot refer to the missing data until the process of compensating for the missing data is complete. For this reason, if there is a loss in trend data for monitoring data, the operator may not be able to properly control the plant equipment, etc.

本発明は、上記を考慮してなされたものであり、操作者が監視用データのトレンドデータを欠損なく常に参照できるようにすることを目的とする。 The present invention was made in consideration of the above, and aims to enable operators to always refer to trend data for monitoring data without any loss.

上記課題を解決するために、本発明の一態様では、対象を監視する監視システムであって、主系と従系を構成する2つのサーバと、表示処理部と、を備え、前記サーバのそれぞれは、前記対象から取得されたデータに基づいて前記対象の監視用データを演算するデータ処理部と、前記データ又は前記監視用データを一時データとして格納する一時データ記憶部と、前記監視用データを格納する監視用データ記憶部と、他方の前記サーバとの間でそれぞれの前記監視用データ記憶部に格納されている前記監視用データの同期処理を行う同期処理部と、を有し、前記表示処理部は、前記監視用データ記憶部又は前記一時データ記憶部から読み出した読出データに基づいて表示装置へ情報を表示し、前記2つのサーバの主系と従系の切り替え前に前記同期処理によって前記監視用データが最後に同期された同期時刻と、前記2つのサーバの主系と従系の切り替え後に初めて前記監視用データ記憶部へ前記監視用データが格納された格納時刻と、の差分時間を前記監視用データ記憶部に前記監視用データが格納される格納周期と比較した結果に基づいて、前記読出データの読み出し先を切り替えることを特徴とする。 In order to solve the above problem, in one aspect of the present invention, a monitoring system for monitoring an object includes two servers constituting a primary system and a secondary system, and a display processing unit. Each of the servers includes a data processing unit that calculates monitoring data for the object based on data acquired from the object, a temporary data storage unit that stores the data or the monitoring data as temporary data, a monitoring data storage unit that stores the monitoring data, and a synchronization processing unit that performs a synchronization process for the monitoring data stored in each of the monitoring data storage units with the other server. The display processing unit displays information on a display device based on read data read from the monitoring data storage unit or the temporary data storage unit, and switches the read destination of the read data based on the result of comparing the difference time between the synchronization time when the monitoring data was last synchronized by the synchronization process before the primary system and secondary system of the two servers were switched, and the storage time when the monitoring data was first stored in the monitoring data storage unit after the primary system and secondary system of the two servers were switched, with the storage period in which the monitoring data is stored in the monitoring data storage unit.

本発明によれば、例えば、操作者が監視用データのトレンドデータを欠損なく常に参照できる。 According to the present invention, for example, an operator can always refer to trend data for monitoring data without any loss.

本発明の実施例1における監視システムの構成例を示す図である。1 is a diagram illustrating an example of the configuration of a monitoring system according to a first embodiment of the present invention. 本発明の実施例1における監視用データの構成例である示す図である。FIG. 2 is a diagram showing an example of a configuration of monitoring data according to the first embodiment of the present invention. 本発明の実施例1における監視システム起動後のサーバ間の同期処理フロー図である。FIG. 11 is a flowchart of a synchronization process between servers after the monitoring system is started up in the first embodiment of the present invention. 本発明の実施例1における一時データによる補完処理フロー図である。FIG. 11 is a flowchart showing a complementation process using temporary data according to the first embodiment of the present invention. 本発明の実施例2における監視用データの表示処理フロー図である。FIG. 11 is a flowchart showing a display process of monitoring data according to the second embodiment of the present invention. 本発明の実施例2におけるデータの欠損がある監視用データに基づくディスプレイ装置の表示画面の例を示す図である。FIG. 11 is a diagram showing an example of a display screen of a display device based on monitoring data with missing data in the second embodiment of the present invention. 本発明の実施例2における監視用データの欠損を表示上で補完したディスプレイ装置の表示画面の例を示す図である。FIG. 11 is a diagram showing an example of a display screen of a display device in which missing monitoring data is complemented on the display in the second embodiment of the present invention. 本発明の実施例3における監視システムの構成例を示す図である。FIG. 11 is a diagram illustrating an example of the configuration of a monitoring system according to a third embodiment of the present invention. サーバ、クライアント端末を実現するコンピュータの構成例を示すハードウェア図である。FIG. 2 is a hardware diagram showing an example of the configuration of a computer that realizes a server and a client terminal.

以下、本発明を具体的な実施例により詳細に説明する。なお、以下の説明に使用する各図面において、共通する各機器及び処理動作には、同一の符号(番号)を用いており、すでに説明した各機器及び動作(処理)についての説明を省略する場合がある。 The present invention will now be described in detail with reference to specific examples. In the drawings used in the following description, the same symbols (numbers) are used for the common devices and processing operations, and descriptions of devices and operations (processing) that have already been described may be omitted.

また、以下の説明において、プラント側の各種センサで検出された検出データなどの生データと、監視のためにディスプレイ装置に表示するための加工後のデータとを区別するために、原則として生データを「データ」と称し、監視制御のために、データベース又はファイルに格納(保存)されたデータのことを「監視用データ」と称する。 In addition, in the following explanation, in order to distinguish between raw data, such as detection data detected by various sensors on the plant side, and processed data to be displayed on a display device for monitoring, raw data will generally be referred to as "data," and data stored (saved) in a database or file for monitoring and control will be referred to as "monitoring data."

監視用データは、プラント側に設けた各種センサの検出データなどを加工処理して得られるが、プラント側から取得されるデータ(生データ)を監視用に適したデータに演算・加工したものである。例えば、監視用データは、データベースに保存されている警報履歴や帳票などの履歴データ、ファイル内に保存されている水位や流量などの検出データのトレンドを表示するためのビットデータなどである。 Monitoring data is obtained by processing detection data from various sensors installed in the plant, and is obtained by calculating and processing the data (raw data) obtained from the plant into data suitable for monitoring. For example, monitoring data can be historical data such as alarm history and reports stored in a database, or bit data for displaying trends in detection data such as water levels and flow rates stored in files.

また、以下の説明では、プラント監視を行うための監視用データの演算処理及びその演算処理された監視用データをデータベースとしてあるいはファイルとして格納したり、監視のための表示を行なったり、プラントを制御するなどのオンライン動作を実行するサーバ装置を「主機」(あるいは「主系」)と称し、主機の故障等によるシステム中断を無くすためのスタンバイ動作を実行するサーバ装置を「従機」(あるいは「従系」)と称する。 In the following explanation, the server device that performs online operations such as processing monitoring data for plant monitoring, storing the processed monitoring data as a database or file, displaying the data for monitoring, and controlling the plant is referred to as the "master" (or "master system"), and the server device that performs standby operations to eliminate system interruptions due to failures of the master device, etc. is referred to as the "slave" (or "slave system").

(全体システムの説明)
まず、図1を用いて本発明の実施例1における全体システムSについて説明する。全体システムSは、サーバ装置1,2を含んで構成される。このサーバ装置1,2は、一方のサーバ装置がオンライン動作中(主機として動作中)の場合には、他方のサーバ装置はスタンバイ動作(従機としての動作)を実行するように、運用系と待機系の関係である。そして、オンライン動作実行中の一方のサーバ装置が正常でない状況に至った場合には、スタンバイ動作中の他方のサーバ装置は、正常でないとされた一方のサーバ装置から、主機としての動作を引き継いで監視や制御動作などのオンライン動作を実行する処理に移行する。つまり、他方のサーバ装置は、従機から主機への切替えを実施する。このサーバ装置1,2には、汎用的なコンピュータを用いることができる。
(Overall system description)
First, the overall system S in the first embodiment of the present invention will be described with reference to FIG. 1. The overall system S includes server devices 1 and 2. The server devices 1 and 2 are in a relationship of an active system and a standby system, so that when one server device is in online operation (operating as a master), the other server device performs standby operation (operating as a slave). When one server device performing online operation reaches an abnormal state, the other server device in standby operation takes over the operation as a master from the server device that is determined to be abnormal and transitions to a process of performing online operations such as monitoring and control operations. In other words, the other server device switches from a slave to a master. A general-purpose computer can be used for the server devices 1 and 2.

(サーバ装置の内部構成と機能説明)
次に、サーバ装置1,2の内部構成と、各構成機器の機能について説明する。サーバ装置1とサーバ装置2とは、同様の構成である。そのため、ここではサーバ装置1の構成を説明する。
(Internal configuration and function of the server device)
Next, a description will be given of the internal configuration of the servers 1 and 2 and the functions of each of the components. The servers 1 and 2 have the same configuration. Therefore, the configuration of the server 1 will be described here.

図1において、サーバ装置1のデータ処理部12は、通信部11によって、監視・制御対象のシステムの一例であるプラント40からインターフェース部30を介して入力されるデータを取り込む。データ処理部12は、取り込んだデータを基に、プラント40を監視及び制御するための監視用データを演算処理し、データベース13及びファイル14に格納する。例えば、データベース13には、監視用データとして、警報履歴や帳票などの履歴データなどが格納される。また、ファイル14には、監視用データとして、水位や流量などの検出データのトレンドを表示するためのビットデータなどが格納される。データベース13及びファイル14は、「記憶部」に格納されている。 In FIG. 1, the data processing unit 12 of the server device 1 imports data input via the interface unit 30 from a plant 40, which is an example of a system to be monitored and controlled, by the communication unit 11. The data processing unit 12 performs calculations on monitoring data for monitoring and controlling the plant 40 based on the imported data, and stores the data in the database 13 and file 14. For example, the database 13 stores historical data such as alarm history and reports as monitoring data. The file 14 stores bit data for displaying trends of detection data such as water level and flow rate as monitoring data. The database 13 and file 14 are stored in the "storage unit".

また、データ処理部12は、取り込まれたデータあるいはそのデータに基づいて演算処理された監視用データを「一時データ」として、一時データ記憶部16に記憶(格納)する。この一時データは、従機として動作するサーバ装置において、主機の動作に切り替わるまで(移行完了まで)の期間の一時データを保持しており、切り替えの際のデータ補完のために用いられる。 The data processing unit 12 also stores (stores) the imported data or the monitoring data that has been calculated based on that data as "temporary data" in the temporary data storage unit 16. This temporary data is held in the server device operating as a slave for the period until it switches to the operation of the master (until the transition is complete), and is used to supplement the data when the switchover occurs.

入力・表示処理部15は、データベース13及びファイル14に格納されている監視用データの中から、表示用ソフトウェアを用いて必要な監視用データを取出し、ディスプレイ装置20にその監視用データを表示する機能を有する。操作者は、このディスプレイ装置20に表示された内容を参照し、プラント40の監視を行うことができる。 The input and display processing unit 15 has the function of extracting the necessary monitoring data from the monitoring data stored in the database 13 and the file 14 using display software, and displaying the monitoring data on the display device 20. The operator can refer to the contents displayed on the display device 20 and monitor the plant 40.

どのような内容の監視用データをディスプレイ装置20に表示させるかは、操作者が入力装置21を操作して選択する。入力装置21は、例えば、キーボードが使用できる。ディスプレイ装置20及び入力装置21は、ディスプレイ装置20の表示機能と入力装置21の動作内容入力機能を一体化したタッチパネル式の表示装置でもよい。なお、図1では、サーバ装置1とサーバ装置2に、それぞれディスプレイ装置20と入力装置21を設けた例を示しているが、1組のディスプレイ装置20と入力装置21を設け、それらを各サーバ装置1,2と接続する構成でもよい。 The operator operates the input device 21 to select the type of monitoring data to be displayed on the display device 20. For example, a keyboard can be used as the input device 21. The display device 20 and the input device 21 may be a touch panel display device that integrates the display function of the display device 20 with the operation content input function of the input device 21. Note that while FIG. 1 shows an example in which the display device 20 and the input device 21 are provided in each of the server devices 1 and 2, a configuration in which a single set of the display device 20 and the input device 21 are provided and connected to each of the server devices 1 and 2 may also be used.

通信部17は、この通信部17を備えるサーバ装置1が、他のサーバ装置2との間で情報やデータ等の授受を行うために設けられている。後述する主機と従機との間のデータや情報(各種の指令も含む)のやりとりは、それぞれのサーバ装置が有する通信部17を介して行われる。 The communication unit 17 is provided so that the server device 1 equipped with this communication unit 17 can send and receive information, data, etc. to and from other server devices 2. The exchange of data and information (including various commands) between the master and slave machines, which will be described later, is performed via the communication unit 17 possessed by each server device.

制御部18は、監視対象であるプラント40の自動制御を行うものである。例えば、上水道のプラント40において管路を流れる水量をポンプ等で制御する場合、入力装置21を介して目標の水量設定値が制御部18に与えられると、制御部18は、この水量設定値と入力するデータ(センサの水量検出信号)との差を無くすように、プラント40内のポンプ等を制御する。 The control unit 18 performs automatic control of the plant 40 that is the object of monitoring. For example, when the amount of water flowing through the pipelines in a water supply plant 40 is controlled by a pump or the like, when a target water volume setting value is given to the control unit 18 via the input device 21, the control unit 18 controls the pump or the like in the plant 40 so as to eliminate the difference between this water volume setting value and the input data (water volume detection signal from the sensor).

同期処理部19は、他方のサーバ装置(サーバ装置1に対するサーバ装置2、またはサーバ装置2に対するサーバ装置1)の同期処理部19と連携し、主系のサーバ装置と従系のサーバ装置のそれぞれのデータベース13及びファイル14に格納されている監視用データの同期処理を所定の同期周期で行う。主系と従系のサーバ装置間の監視用データの送受信は、通信部17を介して行われる。 The synchronization processing unit 19 cooperates with the synchronization processing unit 19 of the other server device (server device 2 for server device 1, or server device 1 for server device 2) to perform synchronization processing of the monitoring data stored in the databases 13 and files 14 of the master server device and slave server device at a predetermined synchronization period. The transmission and reception of monitoring data between the master and slave server devices is performed via the communication unit 17.

2台のサーバ装置1,2の内、いずれを主機として稼働させるかは、操作者が入力装置21を操作して決定することができる。サーバ装置1,2において主機と従機が設定された後においては、本実施例では、スタンバイ状態のサーバ装置が、主機(オンライン稼働中のサーバ装置)の状態を診断する。そして、主機が正常でないと診断された場合、言い換えると異常であると診断された場合には、それまで主機として稼働していたサーバ装置は、その動作を終了する、あるいは従機となり、それまで従機として動作中のサーバ装置が主機として切り替わり稼働する。 The operator can use the input device 21 to determine which of the two server devices 1, 2 will operate as the master. After the master and slave devices are set in the server devices 1, 2, in this embodiment, the server device in standby state diagnoses the state of the master (the server device operating online). If the master is diagnosed as not normal, in other words, if it is diagnosed as abnormal, the server device that had been operating as the master will end its operation or become a slave, and the server device that had been operating as a slave will switch over to operate as the master.

図2は、監視用データの構成例である。図2の例では、監視用データは、秒単位の時系列データである。主機の記憶部に格納されている監視用データは、周期的に一定数でまとめて従機に転送される。従機は、自機の記憶部に、主機から受信した監視用データの書き込みを行うことで、主機と従機で監視用データが同期される。同期が完了した場合には、従機より主機へ同期が完了した時刻t1を転送し、主機は自機の監視用データに時刻t1を記録する。時刻t1は、2つのサーバ装置1,2の主系と従系の切り替え前に同期処理によって監視用データが最後に同期された時刻である。 Figure 2 shows an example of the configuration of monitoring data. In the example of Figure 2, the monitoring data is time-series data in units of seconds. The monitoring data stored in the memory unit of the master unit is periodically transferred in batches of a fixed number to the slave unit. The slave unit writes the monitoring data received from the master unit to its own memory unit, thereby synchronizing the monitoring data between the master unit and the slave unit. When synchronization is complete, the slave unit transfers the time t1 at which synchronization was completed to the master unit, and the master unit records time t1 in its own monitoring data. Time t1 is the time at which the monitoring data was last synchronized by synchronization processing before the two server devices 1 and 2 switched between the master and slave systems.

また、主機と従機が切り替わった後には、それまで従機として動作していた新主機が自機の監視用データ記憶部に監視用データを格納し、監視用データの格納を開始した時刻t2が監視用データに記録される。時刻t2は、2つのサーバの主系と従系の切り替え後に新たに主系となったサーバ装置の監視用データ記憶部へ監視用データが初めて格納された時刻である。監視用データの格納周期と時刻t2と時刻t1の差分時間(t2-t1)とを比較し、この比較結果に基づいて、データ同期時刻(時刻t1)から新主機の起動時刻(時刻t2)までの間に、監視用データ記憶部への監視用データの格納周期を迎えていないかを判定し、判定結果に応じて監視用データの補完処理の必要の有無を示すフラグXを記録する。 Furthermore, after the master and slave machines are switched, the new master, which had been operating as the slave until then, stores monitoring data in its own monitoring data storage unit, and the time t2 when the storage of the monitoring data begins is recorded in the monitoring data. Time t2 is the time when monitoring data is first stored in the monitoring data storage unit of the server device that has become the new master after the master and slave switchover of the two servers. The storage period of the monitoring data is compared with the difference time (t2-t1) between times t2 and t1, and based on the comparison result, it is determined whether the storage period of the monitoring data in the monitoring data storage unit has arrived between the data synchronization time (time t1) and the start-up time of the new master (time t2), and a flag X indicating whether or not the monitoring data needs to be supplemented is recorded depending on the determination result.

フラグXは、補完処理が必要な場合は「1」、補完処理が必要ない場合は「0」とする。差分時間(t2-t1)が監視用データの格納周期よりも大きい場合には監視用データの補完処理の必要があり、差分時間(t2-t1)が監視用データの格納周期以下である場合については新主機にて次の格納周期のデータの格納を行うため、監視用データの補完処理の必要はない。 Flag X is set to "1" if supplementary processing is required, and set to "0" if supplementary processing is not required. If the difference time (t2 - t1) is greater than the storage period of the monitoring data, supplementary processing of the monitoring data is required. If the difference time (t2 - t1) is less than or equal to the storage period of the monitoring data, data for the next storage period will be stored in the new master, so supplementary processing of the monitoring data is not required.

(主機と従機のサーバ装置間の同期処理)
図3は、サーバ装置1,2間の同期処理フローである。図3のフローチャートで示す主機と従機のサーバ装置間の監視用データの同期処理は、監視システムSによって定期的に実行される。主機と従機のサーバ装置間の監視用データの同期処理は、サーバ装置1,2の一方が主機、他方が従機として実行が開始され、以降、監視システムSが停止するまで継続される。
(Synchronization process between the master and slave server devices)
Fig. 3 is a flow chart showing a synchronization process between the server devices 1 and 2. The synchronization process of the monitoring data between the master and slave server devices shown in the flowchart of Fig. 3 is periodically executed by the monitoring system S. The synchronization process of the monitoring data between the master and slave server devices is started with one of the server devices 1 and 2 acting as the master and the other as the slave, and continues thereafter until the monitoring system S is stopped.

監視システムSが起動されると、ステップS101では、プラント40から取得されたデータ及びこのデータに基づく監視用データが主機の記憶部へ格納される。次にステップS102では、主機は、記憶部へ格納した監視用データの同期周期における転送タイミングが到来したか否かを判定する。主機は、転送タイミングである場合(ステップS102YES)にステップS103へ処理を移し、転送タイミングでない場合(ステップS102NO)にステップS101へ処理を戻す。 When the monitoring system S is started, in step S101, data acquired from the plant 40 and monitoring data based on this data are stored in the memory unit of the main machine. Next, in step S102, the main machine determines whether the transfer timing in the synchronization period of the monitoring data stored in the memory unit has arrived. If it is the transfer timing (step S102 YES), the main machine proceeds to step S103, and if it is not the transfer timing (step S102 NO), the main machine returns to step S101.

ステップS103では、主機は、監視用データを主機から従機へ転送する。従機は、主機から受信した監視用データを従機の記憶部へ格納する。このように、主機と従機の間で監視用データの同期が行われる。 In step S103, the master unit transfers the monitoring data from the master unit to the slave unit. The slave unit stores the monitoring data received from the master unit in the memory unit of the slave unit. In this way, the monitoring data is synchronized between the master unit and the slave unit.

次にステップS104では、従機は、主機と同期した監視用データが従機の記憶部へ格納されたこと(主機との監視用データの同期が完了したこと)を、ファイルを開いて内容を解析して確認する。次にステップS105では、従機は、監視用データの同期が完了した時刻t1を主機へ送信する。次にステップS106では、主機は、従機から受信した時刻t1を、主機の記憶部に格納されている監視用データに記録する。 Next, in step S104, the slave unit opens the file and analyzes the contents to confirm that the monitoring data synchronized with the master unit has been stored in the slave unit's memory (synchronization of the monitoring data with the master unit has been completed). Next, in step S105, the slave unit transmits the time t1 at which synchronization of the monitoring data was completed to the master unit. Next, in step S106, the master unit records the time t1 received from the slave unit in the monitoring data stored in the master unit's memory.

(サーバ切り替え時における一時データを用いた監視用データの補完処理)
図4は、サーバ切り替え時に欠損データが発生した場合における、一時データを用いた監視用データの補完処理を示すフローチャートである。図4のフローチャートで示す一時データを用いた監視用データの補完処理は、監視システムSによって、サーバ切り替えを実行すると判定された際に実行される。サーバ切り替えは、主機に異常が発生し、主機としての動作継続が不可能となった際に、主機と従機が入れ替って監視システムSが動作を継続するために実行される。以下では、入れ替った後の主機及び従機をそれぞれ「新主機」及び「新従機」と呼ぶ。
(Complementary processing of monitoring data using temporary data when switching servers)
Fig. 4 is a flowchart showing the process of complementing monitoring data using temporary data when missing data occurs during server switching. The process of complementing monitoring data using temporary data shown in the flowchart of Fig. 4 is executed when the monitoring system S determines to execute server switching. Server switching is executed when an abnormality occurs in the master machine and it becomes impossible to continue operating as the master machine, so that the master machine and the slave machine are swapped and the monitoring system S can continue operating. Hereinafter, the master machine and the slave machine after the swap are referred to as the "new master machine" and the "new slave machine", respectively.

先ずステップS201では、監視システムSの主機及び従機は、主機及び従機を入れ替えるサーバ切り替え指令に応じてサーバ切り替え処理を実行する。次にステップS202では、サーバ切り替え処理の完了後、スタンバイ動作中の従機がオンライン動作に移行した新主機は、新主機の監視用データに切り替えが完了した時刻t2を記録する。 First, in step S201, the master and slave machines of the monitoring system S execute a server switching process in response to a server switching command to swap the master and slave machines. Next, in step S202, after the server switching process is completed, the new master machine, in which the slave machine in standby operation has transitioned to online operation, records the time t2 at which the switching was completed in the monitoring data of the new master machine.

次にステップS203では、新主機は、時刻t2と時刻t1の差分時間(t2-t1)を求め、主機の監視用データの格納周期と比較する。新主機は、時刻t2と時刻t1の差分時間(t2-t1)が監視用データの格納周期よりも大きい場合(ステップS203YES)にステップS204へ処理を移し、差分時間(t2-t1)が監視用データの格納周期以下である場合(ステップS203NO)には、新主機にて次の格納周期のデータの格納を行うため、一時データを用いた監視用データの補完処理を終了する。 Next, in step S203, the new master determines the difference in time (t2-t1) between time t2 and time t1, and compares it with the storage period of the master's monitoring data. If the difference in time (t2-t1) between time t2 and time t1 is greater than the storage period of the monitoring data (step S203 YES), the new master proceeds to step S204, and if the difference in time (t2-t1) is less than or equal to the storage period of the monitoring data (step S203 NO), the new master ends the process of complementing the monitoring data using temporary data so that the new master can store data for the next storage period.

ステップS204では、新主機は、ステップS203で監視用データの同期に欠損データがあり補完処理が必要と判定されたので、新主機の記憶部に格納されている監視用データのデータフラグXに1をセットする。次にステップS205では、新主機は、ステップS204でフラグXに1がセットされている監視用データについて、時刻t1から時刻t2の範囲に該当するデータを新主機の一時データ記憶部16から抽出して書き込むことでデータ補完処理を行う。次にステップS206では、新主機は、ステップS205でデータ補完処理を行った監視用データのフラグX=1を初期化(X=0とする)する。ステップS206が終了すると、監視システムSは、一時データを用いた監視用データの補完処理を終了する。 In step S204, since it was determined in step S203 that there was missing data in the synchronization of the monitoring data and that supplementary processing was required, the new master sets the data flag X of the monitoring data stored in the memory unit of the new master to 1. Next, in step S205, the new master performs data supplementary processing for the monitoring data for which flag X was set to 1 in step S204 by extracting data that falls within the range from time t1 to time t2 from the temporary data memory unit 16 of the new master and writing it. Next, in step S206, the new master initializes flag X=1 (sets X=0) for the monitoring data for which data supplementary processing was performed in step S205. When step S206 ends, the monitoring system S ends the supplementary processing of the monitoring data using temporary data.

実施例1によれは、図3及び図4で示した処理により、サーバ切り替え時に監視用データのデータ欠損が発生した場合に、欠損データの補完の要否とデータ欠損区間をフラグ及び時刻で管理するので、データ欠損箇所の特定及びデータ補完処理を迅速に行うことができる。 According to the first embodiment, when data loss occurs in the monitoring data when switching servers, the process shown in Figs. 3 and 4 manages the need to repair the lost data and the data loss section using a flag and time, so that the location of the data loss can be quickly identified and the data repair process can be performed.

実施例1では、切り替え後の監視用データにデータ欠損がある際、一時データを用いて監視用データの補完処理を行う例を説明した。これに対し、実施例2では、実施例1に加え、切り替え後の監視用データにデータ欠損があり、その補完処理が完了していない場合に、データ欠損の範囲については、一時データ記憶部16に記録されているデータを監視用データと表示上で合成してディスプレイ装置20に表示させることで、表示上のデータ欠損を生じさせないようにするものである。 In the first embodiment, an example was described in which temporary data is used to complement the monitoring data when there is data loss in the monitoring data after switching. In contrast, in the second embodiment, in addition to the first embodiment, when there is data loss in the monitoring data after switching and the complementation process is not complete, the data recorded in the temporary data storage unit 16 is combined with the monitoring data on the display device 20 to display the range of data loss, thereby preventing data loss on the display.

(実施例2における監視用データの表示処理)
図5は、実施例2における監視用データの表示処理を示すフローチャートである。図5のフローチャートで示す監視用データの表示処理は、監視システムSのサーバ装置1,2の入力・表示処理部15で動作する表示用ソフトウェアによって、監視用データをディスプレイ装置20に表示するとされた際に実行される。表示用ソフトウェアは、サーバ装置1,2のプロセッサによって実行されることで実現される、ディスプレイ装置20への監視用データの表示機能である。なお、監視用データの表示処理で言及する「主機」及び「従機」は、監視用データの表示処理の実行時の主機及び従機である。また、監視用データの表示処理で言及する「自機」は、監視用データの表示処理を実行するサーバ装置1,2である。
(Display process of monitoring data in the second embodiment)
Fig. 5 is a flowchart showing the display process of monitoring data in the second embodiment. The display process of monitoring data shown in the flowchart of Fig. 5 is executed when the display software operating in the input/display processing unit 15 of the server devices 1 and 2 of the monitoring system S displays the monitoring data on the display device 20. The display software is a display function of the monitoring data on the display device 20 that is realized by being executed by the processors of the server devices 1 and 2. Note that the "master" and "slave" referred to in the display process of monitoring data are the master and slave at the time of executing the display process of monitoring data. Also, the "own device" referred to in the display process of monitoring data is the server device 1 or 2 that executes the display process of monitoring data.

先ずステップS301では、表示用ソフトウェアは、主機の監視用データを開く。次にステップS302では、表示用ソフトウェアは、ステップS301で開いた監視用データのフラグXを参照し、監視用データの補完処理が必要かどうかを確認する。表示用ソフトウェアは、監視用データの補完処理が必要(X=1)の場合(ステップS302YES)にステップS303へ処理を移し、監視用データの補完処理が不要(X=0)の場合(ステップS302NO)にステップS304へ処理を移す。 First, in step S301, the display software opens the monitoring data of the main unit. Next, in step S302, the display software references flag X of the monitoring data opened in step S301 to check whether supplementary processing of the monitoring data is necessary. If supplementary processing of the monitoring data is necessary (X=1) (step S302 YES), the display software proceeds to step S303, and if supplementary processing of the monitoring data is not necessary (X=0) (step S302 NO), the display software proceeds to step S304.

ステップS303では、表示用ソフトウェアは、ステップS301で開いた監視用データに記録されている時刻t1から時刻t2に該当するデータ以外と、時刻t1から時刻t2に該当する主機の一時データ記憶部16に格納されている一時データとを合成してディスプレイ装置20へ出力する。同期処理部19は、表示用ソフトウェアによってステップS303で合成されたデータが表示されている間に、監視用データのデータ補完処理(図4のステップS205)を実行し、データ補完処理を完了させる。これにより、データ補完処理の完了前にはデータ欠損なく表示を行うことを優先し、その表示の裏でデータ補完処理を実行することで、操作者にデータ欠損を意識させることなく利便性を高めることができる。 In step S303, the display software combines the data other than the data corresponding to the period from t1 to t2 recorded in the monitoring data opened in step S301 with the temporary data stored in the temporary data storage unit 16 of the master corresponding to the period from t1 to t2, and outputs the combined data to the display device 20. While the display software is displaying the data combined in step S303, the synchronization processing unit 19 executes a data complement process for the monitoring data (step S205 in FIG. 4) and completes the data complement process. This gives priority to displaying data without data loss before the data complement process is completed, and by executing the data complement process behind the display, it is possible to improve convenience without making the operator aware of data loss.

一方、ステップS304では、表示用ソフトウェアは、ステップS301で開いた監視用データの全てをそのままディスプレイ装置20へ出力する。このように、表示用ソフトウェアは、補完処理の必要性の有無に応じて、ディスプレイ装置20へ出力するデータの読み出し先を切り替える。 On the other hand, in step S304, the display software outputs all of the monitoring data opened in step S301 as is to the display device 20. In this way, the display software switches the read destination of the data to be output to the display device 20 depending on whether or not completion processing is necessary.

図5に示した監視データの補完表示処理により、サーバ切り替え後の監視用データに欠損があるが、欠損データの補完処理が完了していない場合には、主機の監視用データと欠損部分に該当する主機の一時記憶データとを合成してディスプレイ表示する。一方、サーバ切り替え後の監視用データに欠損の補完処理が完了している場合には、主機の監視用データをディスプレイ表示に表示する。これにより、常にディスプレイ装置20への表示上のデータ欠損を生じさせないようにできる。また、一時記憶データは、監視用データの補完処理に用いられる自装置内のデータであるので、同じデータを表示上のデータ欠損の補完に用いることで、データの一貫性を保つことができる。 When the monitoring data after the server switch has a missing part but the missing data has not been complemented, the monitoring data of the master and the temporary storage data of the master corresponding to the missing part are combined and displayed on the screen by the complementary display process of the monitoring data shown in FIG. 5. On the other hand, when the missing part of the monitoring data after the server switch has been complemented, the monitoring data of the master is displayed on the screen. This makes it possible to always prevent missing data from being displayed on the display device 20. In addition, since the temporary storage data is data within the device itself that is used for complementing the monitoring data, data consistency can be maintained by using the same data to complement missing data on the display.

なお、図5に示した監視データの補完表示処理は、一定時間毎に繰り返し実行されてもよい。監視用データのデータ欠損は、一定時間経過すると記憶部のデータ上での補完処理が完了している場合があるので、補完処理が完了後は表示上のデータ補完ではなく補完処理後の監視用データを表示することで、正常時のデータ表示となる。 The monitoring data complement display process shown in FIG. 5 may be executed repeatedly at regular intervals. After a certain period of time has passed, the complement process for missing monitoring data may be completed on the data in the storage unit. Once the complement process is complete, the monitoring data after the complement process is displayed instead of the data complement on the display, resulting in a normal data display.

(監視用データに基づくディスプレイ装置20の表示画面20Dの例)
図6は、本発明の実施例2におけるデータの欠損がある監視用データに基づくディスプレイ装置20の表示画面20Dの例を示す図である。また、図7は、本発明の実施例2における監視用データの欠損を表示上で補完したディスプレイ装置20の表示画面20Dの例を示す図である。
(Example of display screen 20D of display device 20 based on monitoring data)
Fig. 6 is a diagram showing an example of a display screen 20D of the display device 20 based on monitoring data having data loss in the second embodiment of the present invention. Also, Fig. 7 is a diagram showing an example of a display screen 20D of the display device 20 in which the loss of monitoring data is complemented on the display in the second embodiment of the present invention.

図6及び図7に示すように、表示画面20Dは、横軸に時刻を表し、縦軸に監視用データの値を表す。表示画面20Dは、表示する監視用データについて、データの出力元のプラント、監視用データの種別、日付、監視用データの表示単位、表監視用データの表示時間等の入力を受け付ける画面操作部20D1を備える。監視用データの表示単位とは、例えば、監視用データの表示領域20D2に一度に表示する監視用データの時間単位であり、例えば1時間単位、1日単位、1週間単位等である。 As shown in Figures 6 and 7, the display screen 20D represents time on the horizontal axis and the value of the monitoring data on the vertical axis. The display screen 20D has a screen operation unit 20D1 that accepts input of the plant from which the data is output, the type of monitoring data, the date, the display unit of the monitoring data, the display time of the table monitoring data, etc., for the monitoring data to be displayed. The display unit of the monitoring data is, for example, the time unit of the monitoring data displayed at one time in the display area 20D2 of the monitoring data, such as one hour, one day, one week, etc.

図6に示す例では、サーバ装置1,2の主機及び従機の切り替え時に発生した欠損データ20D3があるため、表示領域20D2に表示する監視用データのグラフでは、欠損データ20D3において連続性が失われている。このため、監視システムSを運用する操作者は、欠損データ20D3の部分の監視用データの挙動を補完処理が完了するまで知ることができない。 In the example shown in FIG. 6, there is missing data 20D3 that occurs when switching between the master and slave servers 1 and 2, so in the graph of the monitoring data displayed in the display area 20D2, continuity is lost in the missing data 20D3. For this reason, the operator who operates the monitoring system S cannot know the behavior of the monitoring data in the portion of the missing data 20D3 until the completion process is completed.

しかし、本実施例では、図7に示すように、欠損データの補完処理の完了前では、監視用データと一時データとを合成し、一時データを用いて欠損データ20D3をディスプレイ装置20の表示上で補完してグラフ表示を行う。これによって、監視システムSを運用する操作者は、欠損データ20D3の部分の監視用データの挙動を即時に知ることができ、監視対象のプラントの機器制御等を適切に行うことができる。 However, in this embodiment, as shown in FIG. 7, before the missing data complementation process is completed, the monitoring data and temporary data are combined, and the temporary data is used to complement the missing data 20D3 on the display device 20 and display it as a graph. This allows the operator operating the monitoring system S to instantly know the behavior of the monitoring data for the missing data 20D3, and to appropriately control the equipment of the monitored plant.

なお、表示領域20D2における監視用データのグラフ表示が一定時間毎に更新される際、監視用データの欠損データがありその補完処理が終了していない場合には、監視用データと一時データとを合成し、一時データを用いて欠損データ20D3をディスプレイ装置20の表示上で補完して、迅速にグラフ表示を行う。一方、表示領域20D2における監視用データのグラフ表示が一定時間毎に更新される際、監視用データの欠損データの補完処理が完了している場合には、補完済みの監視用データを用いてグラフ表示される。 When the graphical display of the monitoring data in the display area 20D2 is updated at regular intervals, if there is missing data in the monitoring data and the complementation process has not been completed, the monitoring data and temporary data are combined, and the missing data 20D3 is complemented on the display of the display device 20 using the temporary data, and a graph is displayed quickly. On the other hand, when the graphical display of the monitoring data in the display area 20D2 is updated at regular intervals, if the complementation process for the missing data in the monitoring data has been completed, the graph is displayed using the complemented monitoring data.

実施例2では、対象を監視する監視システムにおいて、2つのサーバの主系と従系の切り替え前に同期処理によって監視用データが最後に同期された同期時刻と、2つのサーバの主系と従系の切り替え後に初めて監視用データ記憶部へ監視用データが格納された格納時刻と、の差分時間を監視用データ記憶部に監視用データが格納される格納周期と比較した結果(すなわちフラグXの内容)に基づいて、読出データの読み出し先を切り替える。これにより、主従のサーバの切り替え時に、サーバ切り替え後の監視用データに欠損があるが、欠損データの補完処理が完了していない場合に、ディスプレイ装置20への表示上のデータ欠損を生じさせないようにできる。 In Example 2, in a monitoring system that monitors a target, the read destination of read data is switched based on the result of comparing the difference time between the synchronization time when the monitoring data was last synchronized by the synchronization process before switching between the master and slave servers of two servers and the storage time when the monitoring data was first stored in the monitoring data storage unit after switching between the master and slave servers with the storage period in which the monitoring data is stored in the monitoring data storage unit (i.e., the contents of flag X). This makes it possible to prevent data loss on the display device 20 when there is loss in the monitoring data after switching between the master and slave servers but the process of compensating for the loss data has not been completed.

なお、監視データの表示上のデータ欠損を回避する方法としては、一時データ記憶部16に記録されているデータ欠損の範囲のデータと監視用データとを表示上で合成してディスプレイ装置20に表示するものに限られない。例えば、一時データ記憶部16に記録されているデータに基づいて表示対象の全範囲のグラフを作成してディスプレイ装置20に表示し、欠損データの補完処理の完了後は補完された監視データに基づいてグラフを表示するようにしてもよい。 Methods for avoiding data loss on the display of monitoring data are not limited to combining the data in the range of data loss recorded in the temporary data storage unit 16 with the monitoring data on the display device 20. For example, a graph of the entire range of the display target may be created based on the data recorded in the temporary data storage unit 16 and displayed on the display device 20, and after the process of complementing the missing data is completed, the graph may be displayed based on the complemented monitoring data.

実施例2では、監視用データと一時データ記憶部16から読み込んだ一時データとを表示用ソフトウェアで合成し、ディスプレイ装置20へ出力する処理が、サーバ装置1,2の入力・表示処理部15で動作する表示用ソフトウェアによって実行されるとした。しかしこれに限らず、図8に示すように、監視用データと一時データ記憶部16から読込んだ一時データとを表示用ソフトウェアで合成し、ディスプレイ装置20へ出力する処理を、主機及び従機以外のクライアント端末3の入力・表示処理部15で動作する表示用ソフトウェアによって実行されるとしてもよい。クライアント端末3の入力・表示処理部15で動作する表示用ソフトウェアは、主機のデータベース13及びファイル14と従機の一時データ記憶部16とへアクセスすることで、監視用データの欠損がある場合には、監視用データと一時データ記憶部16から読み出した一時データとを表示用ソフトで合成してクライアント端末3に接続されているディスプレイ装置20へ出力することができる。 In the second embodiment, the process of synthesizing the monitoring data and the temporary data read from the temporary data storage unit 16 with the display software and outputting the data to the display device 20 is executed by the display software operating in the input/display processing unit 15 of the server devices 1 and 2. However, this is not limited to the above, and as shown in FIG. 8, the process of synthesizing the monitoring data and the temporary data read from the temporary data storage unit 16 with the display software and outputting the data to the display device 20 may be executed by the display software operating in the input/display processing unit 15 of the client terminal 3 other than the master and slave. The display software operating in the input/display processing unit 15 of the client terminal 3 can access the database 13 and file 14 of the master and the temporary data storage unit 16 of the slave, and when there is a missing monitoring data, the display software can synthesize the monitoring data and the temporary data read from the temporary data storage unit 16 and output the data to the display device 20 connected to the client terminal 3.

実施例3によれば、クライアント端末から監視用データを参照する場合にも、実施例2と同様に、欠損データを画面上で補完して表示することができる。 According to the third embodiment, when the monitoring data is referenced from a client terminal, the missing data can be complemented and displayed on the screen, similar to the second embodiment.

(コンピュータ1000のハードウェア)
図9は、サーバ装置1,2及びクライアント端末3を実現するコンピュータ1000の構成例を示すハードウェア図である。
(Hardware of Computer 1000)
FIG. 9 is a hardware diagram showing an example of the configuration of a computer 1000 that realizes the server devices 1 and 2 and the client terminal 3.

コンピュータ1000は、バス等の内部通信線1009を介して相互に接続されたCPUをはじめとするプロセッサ1001、主記憶装置1002、補助記憶装置1003、ネットワークインターフェース1004、入力装置1005、及び出力装置1006を備えるコンピュータである。 The computer 1000 is a computer equipped with a processor 1001 including a CPU, a main memory device 1002, an auxiliary memory device 1003, a network interface 1004, an input device 1005, and an output device 1006, all of which are interconnected via an internal communication line 1009 such as a bus.

プロセッサ1001は、コンピュータ1000全体の動作制御を司る。また主記憶装置1002は、例えば揮発性の半導体メモリから構成され、プロセッサ1001のワークメモリとして利用される。補助記憶装置1003は、ハードディスク装置、SSD(Solid State Drive)、又はフラッシュメモリ等の大容量の不揮発性の記憶装置から構成され、各種プログラムやデータを長期間保持するために利用される。 The processor 1001 controls the operation of the entire computer 1000. The main memory device 1002 is composed of, for example, a volatile semiconductor memory, and is used as a work memory for the processor 1001. The auxiliary memory device 1003 is composed of a large-capacity non-volatile memory device such as a hard disk device, SSD (Solid State Drive), or flash memory, and is used to store various programs and data for long periods of time.

補助記憶装置1003に格納された実行可能プログラム1100がコンピュータ1000の起動時や必要時に主記憶装置1002にロードされ、プロセッサ1001によって実行される。このようにして各種処理を実行するサーバ装置1,2及びクライアント端末3の各機能部が実現される。 The executable program 1100 stored in the auxiliary storage device 1003 is loaded into the main storage device 1002 when the computer 1000 is started up or when necessary, and is executed by the processor 1001. In this way, the various functional parts of the server devices 1 and 2 and the client terminal 3 that execute various processes are realized.

なお、実行可能プログラム1100は、非一時的記録媒体に記録され、媒体読み取り装置によって非一時的記録媒体から読み出されて、主記憶装置1002にロードされてもよい。または、実行可能プログラム1100は、ネットワークを介して外部のコンピュータから取得されて、主記憶装置1002にロードされてもよい。 The executable program 1100 may be recorded on a non-transitory recording medium, read from the non-transitory recording medium by a media reading device, and loaded into the main memory device 1002. Alternatively, the executable program 1100 may be obtained from an external computer via a network and loaded into the main memory device 1002.

ネットワークインターフェース1004は、コンピュータ1000をシステム内の各ネットワークに接続する、あるいは他のコンピュータと通信するためのインターフェース装置である。ネットワークインターフェース1004は、例えば、有線LAN(Local Area Network)や無線LAN等のNIC(Network Interface Card)から構成される。 The network interface 1004 is an interface device for connecting the computer 1000 to each network within the system or for communicating with other computers. The network interface 1004 is composed of, for example, a NIC (Network Interface Card) for a wired LAN (Local Area Network) or a wireless LAN.

入力装置1005は、キーボードや、マウス、タッチセンサ等のポインティングデバイス等から構成され、操作者がコンピュータ1000に各種指示や情報を入力するために利用される。出力装置1006は、例えば、液晶ディスプレイ又は有機EL(Electro Luminescence)ディスプレイ等の表示装置や、スピーカ等の音声出力装置から構成され、必要時に必要な情報を操作者に提示するために利用される。 The input device 1005 is composed of a keyboard, a mouse, a pointing device such as a touch sensor, and the like, and is used by the operator to input various instructions and information to the computer 1000. The output device 1006 is composed of a display device such as a liquid crystal display or an organic EL (Electro Luminescence) display, and an audio output device such as a speaker, and is used to present necessary information to the operator when necessary.

なお、本発明は上述の実施例に限定されるものではなく、様々な変形例を含む。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えたり組み合わせたりすることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加・削除・置換・統合・分散をすることが可能である。また実施例で示した各処理は、処理効率又は実装効率に基づいて適宜分散又は統合してもよい。 The present invention is not limited to the above-mentioned embodiments, but includes various modifications. For example, the above-mentioned embodiments have been described in detail to clearly explain the present invention, and are not necessarily limited to those having all of the configurations described. It is also possible to replace or combine part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. It is also possible to add, delete, replace, integrate, or distribute other configurations with respect to part of the configuration of each embodiment. Furthermore, each process shown in the embodiments may be appropriately distributed or integrated based on processing efficiency or implementation efficiency.

1,2…サーバ装置、3…クライアント端末、11,17…通信部、12…データ処理部、13…データベース、14…ファイル、15…入力・表示処理部、16…一時データ記憶部、18…制御部、19…同期処理部、20…ディスプレイ装置、21…入力装置、30…インターフェース部、40…プラント 1, 2... server device, 3... client terminal, 11, 17... communication unit, 12... data processing unit, 13... database, 14... file, 15... input/display processing unit, 16... temporary data storage unit, 18... control unit, 19... synchronization processing unit, 20... display device, 21... input device, 30... interface unit, 40... plant

Claims (10)

対象を監視する監視システムであって、
主系と従系を構成する2つのサーバと、
表示処理部と、を備え、
前記サーバのそれぞれは、
前記対象から取得されたデータに基づいて前記対象の監視用データを演算するデータ処理部と、
前記データ又は前記監視用データを一時データとして格納する一時データ記憶部と、
前記監視用データを格納する監視用データ記憶部と、
他方の前記サーバとの間でそれぞれの前記監視用データ記憶部に格納されている前記監視用データの同期処理を行う同期処理部と、を有し、
前記表示処理部は、
前記監視用データ記憶部又は前記一時データ記憶部から読み出した読出データに基づいて表示装置へ情報を表示し、
前記2つのサーバの主系と従系の切り替え前に前記同期処理によって前記監視用データが最後に同期された同期時刻と、前記2つのサーバの主系と従系の切り替え後に初めて前記監視用データ記憶部へ前記監視用データが格納された格納時刻と、の差分時間を前記監視用データ記憶部に前記監視用データが格納される格納周期と比較した結果、前記差分時間が前記格納周期よりも長い場合に、前記監視用データ記憶部から読み出した前記監視用データと、前記一時データ記憶部から読み出した前記一時データと、に基づいて前記表示装置へ前記情報を表示する
ことを特徴とする監視システム。
A surveillance system for monitoring an object, comprising:
Two servers constituting a primary and secondary system;
A display processing unit,
Each of the servers
a data processing unit that calculates monitoring data for the object based on data acquired from the object;
a temporary data storage unit for storing the data or the monitoring data as temporary data;
a monitoring data storage unit for storing the monitoring data;
a synchronization processing unit that performs a synchronization process of the monitoring data stored in each of the monitoring data storage units with the other server,
The display processing unit is
displaying information on a display device based on the read data read from the monitoring data storage unit or the temporary data storage unit;
The information is displayed on the display device based on the monitoring data read from the monitoring data storage unit and the temporary data read from the temporary data storage unit when the difference between the synchronization time when the monitoring data was last synchronized by the synchronization process before the switching between the primary and secondary systems of the two servers and the storage time when the monitoring data was first stored in the monitoring data storage unit after the switching between the primary and secondary systems of the two servers is compared with a storage period during which the monitoring data is stored in the monitoring data storage unit.
A monitoring system comprising:
請求項1に記載の監視システムであって、
前記表示処理部は、
一定時間毎に、前記差分時間前記格納周期と比較
ことを特徴とする監視システム。
2. The monitoring system of claim 1,
The display processing unit is
A monitoring system comprising: a monitoring unit for monitoring the difference time and the storage period at regular intervals.
請求項に記載の監視システムであって、
前記同期処理部は、
前記一時データを用いて前記差分時間における前記監視用データの欠損データの補完処理を実行する
ことを特徴とする監視システム。
2. The monitoring system of claim 1 ,
The synchronization processing unit
A monitoring system comprising: a monitoring unit that performs a process of compensating for missing data in the monitoring data during the differential time by using the temporary data.
請求項に記載の監視システムであって、
前記表示処理部は、
前記2つのサーバの主系と従系が切り替えられてから前記補完処理の完了前までは、前記監視用データと前記一時データとを合成して前記欠損データを前記表示装置の表示上で補完して前記表示装置へ前記情報を表示し、
前記補完処理の完了後では、補完処理完了後の前記監視用データに基づいて前記表示装置へ前記情報を表示する
ことを特徴とする監視システム。
4. The monitoring system according to claim 3 ,
The display processing unit is
from when the two servers are switched between the primary and secondary systems until the completion of the complementation process, the monitoring data and the temporary data are combined to complement the missing data on the display device, and the information is displayed on the display device;
after the completion of the complementation process, the information is displayed on the display device based on the monitoring data after the completion of the complementation process.
請求項に記載の監視システムであって、
前記同期処理部は、
前記表示処理部によって前記監視用データと前記一時データとが合成されて前記欠損データが前記表示装置の表示上で補完された前記情報が前記表示装置へ表示されている間に、前記補完処理を完了させる
ことを特徴とする監視システム。
5. The monitoring system according to claim 4 ,
The synchronization processing unit
and completing the complementation process while the display processing unit combines the monitoring data and the temporary data to complement the missing data on the display device and displays the information on the display device.
請求項に記載の監視システムであって、
前記表示処理部は、
前記同期時刻と前記格納時刻とに基づいて前記監視用データにおける前記欠損データの期間を特定し、該期間外に該当する前記監視用データと該期間に該当する前記一時データとを合成して前記欠損データを前記表示装置の表示上で補完する
ことを特徴とする監視システム。
5. The monitoring system according to claim 4 ,
The display processing unit is
A monitoring system characterized by identifying a period of missing data in the monitoring data based on the synchronization time and the storage time, and synthesizing the monitoring data outside of that period with the temporary data corresponding to that period to complement the missing data on the display device.
請求項に記載の監視システムであって、
前記同期処理部は、
前記同期時刻と前記格納時刻とに基づいて前記監視用データにおける前記欠損データの補完処理の要否を判定し、前記補完処理の要否のフラグを前記監視用データに記録し、
前記フラグが前記補完処理の必要性を示す場合に前記補完処理を実行し、
前記補完処理が完了すると、前記補完処理の不要を示すように前記フラグを更新する
ことを特徴とする監視システム。
4. The monitoring system according to claim 3 ,
The synchronization processing unit
determining whether or not a compensation process for the missing data in the monitoring data is required based on the synchronization time and the storage time, and recording a flag indicating whether or not the compensation process is required in the monitoring data;
performing the complementation process if the flag indicates the necessity of the complementation process;
and updating the flag to indicate that the complementation process is unnecessary when the complementation process is completed.
請求項1に記載の監視システムであって、
前記サーバのそれぞれは、前記表示処理部を有する
ことを特徴とする監視システム。
2. The monitoring system of claim 1,
The monitoring system, wherein each of the servers includes the display processing unit.
請求項1に記載の監視システムであって、
前記表示処理部を有する端末を含んで構成される
ことを特徴とする監視システム。
2. The monitoring system of claim 1,
A monitoring system comprising a terminal having the display processing unit.
対象を監視する監視システムが行う監視方法であって、
前記監視システムは、
主系と従系を構成する2つのサーバと、
表示処理部と、備え、
前記サーバのそれぞれは、
前記対象から取得されたデータに基づいて前記対象の監視用データを演算するデータ処理部と、
前記データ又は前記監視用データを一時データとして格納する一時データ記憶部と、
前記監視用データを格納する監視用データ記憶部と、
他方の前記サーバとの間でそれぞれの前記監視用データ記憶部に格納されている前記監視用データの同期処理を行う同期処理部と、を有し、
前記表示処理部が、
前記監視用データ記憶部又は前記一時データ記憶部から読み出した読出データに基づいて表示装置へ情報を表示し、
前記2つのサーバの主系と従系の切り替え前に前記同期処理によって前記監視用データが最後に同期された同期時刻と、前記2つのサーバの主系と従系の切り替え後に初めて前記監視用データ記憶部へ前記監視用データが格納された格納時刻と、の差分時間を前記監視用データ記憶部に前記監視用データが格納される格納周期と比較した結果、前記差分時間が前記格納周期よりも長い場合に、前記監視用データ記憶部から読み出した前記監視用データと、前記一時データ記憶部から読み出した前記一時データと、に基づいて前記表示装置へ前記情報を表示する
ことを特徴とする監視方法。
A monitoring method performed by a monitoring system for monitoring an object, comprising:
The monitoring system includes:
Two servers constituting a primary and secondary system;
A display processing unit,
Each of the servers
a data processing unit that calculates monitoring data for the object based on data acquired from the object;
a temporary data storage unit for storing the data or the monitoring data as temporary data;
a monitoring data storage unit for storing the monitoring data;
a synchronization processing unit that performs a synchronization process of the monitoring data stored in each of the monitoring data storage units with the other server,
The display processing unit,
displaying information on a display device based on the read data read from the monitoring data storage unit or the temporary data storage unit;
The information is displayed on the display device based on the monitoring data read from the monitoring data storage unit and the temporary data read from the temporary data storage unit when the difference between the synchronization time when the monitoring data was last synchronized by the synchronization process before the switching between the primary and secondary systems of the two servers and the storage time when the monitoring data was first stored in the monitoring data storage unit after the switching between the primary and secondary systems of the two servers is compared with a storage period during which the monitoring data is stored in the monitoring data storage unit.
A monitoring method comprising:
JP2022037399A 2022-03-10 2022-03-10 Surveillance system and method Active JP7668758B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022037399A JP7668758B2 (en) 2022-03-10 2022-03-10 Surveillance system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022037399A JP7668758B2 (en) 2022-03-10 2022-03-10 Surveillance system and method

Publications (2)

Publication Number Publication Date
JP2023132210A JP2023132210A (en) 2023-09-22
JP7668758B2 true JP7668758B2 (en) 2025-04-25

Family

ID=88065859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022037399A Active JP7668758B2 (en) 2022-03-10 2022-03-10 Surveillance system and method

Country Status (1)

Country Link
JP (1) JP7668758B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020135157A (en) 2019-02-15 2020-08-31 株式会社日立産機システム Monitoring system and how to operate the monitoring system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020135157A (en) 2019-02-15 2020-08-31 株式会社日立産機システム Monitoring system and how to operate the monitoring system

Also Published As

Publication number Publication date
JP2023132210A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
JP5713056B2 (en) Process control apparatus and system and update method thereof
US6502206B1 (en) Multi-processor switch and main processor switching method
CN112199240B (en) Method for switching nodes during node failure and related equipment
US20080010506A1 (en) Multi-CPU computer and method of restarting system
CN110908838B (en) Data processing method and device, electronic equipment and storage medium
US8255649B2 (en) Remote copy control method and system in storage cluster environment
JP2007511806A (en) Redundancy automation system for controlling technical equipment and method of operation thereof
US20050283673A1 (en) Information processing apparatus, information processing method, and program
CN101952797A (en) Display management in a multi-window display
CN115113591B (en) Controlling industrial processes using virtualized instances of control software
JP7668758B2 (en) Surveillance system and method
CN110209526A (en) A kind of accumulation layer synchronization system and storage medium
CN118796923B (en) Database cluster management method, device, equipment, medium and program product
JP2012128573A (en) Duplex system and building management system using the same
JP7362261B2 (en) Surveillance systems and how to operate them
CN113741248A (en) Edge calculation controller and control system
US20220308563A1 (en) Controller and control method
CN113448945B (en) A server control method and related equipment based on OceanBase distributed database
CN114328138B (en) Server data display method, device, server and storage medium
JP4974365B2 (en) Distributed monitoring and control system
US11151863B2 (en) Information processing apparatus, alarm management system, and alarm management method
JP5145910B2 (en) Information processing apparatus and information processing method
US9110850B2 (en) Method for accelerating start up of a computerized system
KR102302843B1 (en) Control system, control device, and program
JP2021157418A (en) Engineering device and engineering method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250415

R150 Certificate of patent or registration of utility model

Ref document number: 7668758

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150