JP2016115236A - Plant monitoring apparatus - Google Patents
Plant monitoring apparatus Download PDFInfo
- Publication number
- JP2016115236A JP2016115236A JP2014254900A JP2014254900A JP2016115236A JP 2016115236 A JP2016115236 A JP 2016115236A JP 2014254900 A JP2014254900 A JP 2014254900A JP 2014254900 A JP2014254900 A JP 2014254900A JP 2016115236 A JP2016115236 A JP 2016115236A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- test result
- test
- program
- automatic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 42
- 238000012360 testing method Methods 0.000 claims abstract description 181
- 238000000034 method Methods 0.000 claims abstract description 9
- 238000012806 monitoring device Methods 0.000 claims description 8
- 230000002093 peripheral effect Effects 0.000 claims description 7
- 230000006870 function Effects 0.000 description 49
- 238000010586 diagram Methods 0.000 description 14
- 230000000694 effects Effects 0.000 description 5
- 230000015556 catabolic process Effects 0.000 description 4
- 238000006731 degradation reaction Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 238000010998 test method Methods 0.000 description 2
- 238000013499 data model Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Testing And Monitoring For Control Systems (AREA)
Abstract
Description
この発明は、プラント監視装置に関わり、特に、自動試験に特徴のあるプラント監視装置に関わる。 The present invention relates to a plant monitoring apparatus, and more particularly to a plant monitoring apparatus characterized by an automatic test.
プラント監視マンマシンミドルウェアの自動試験方法に関する発明が多く開示されている(例えば特許文献1〜6)。プラント監視マンマシンミドルウェアは、タイミングで表示状態が変化する要素を含んでいる。プラント監視制御システムの自動試験手法では、自動操作と画面キャプチャログをリスト化し、前回の結果と比較する(例えば特許文献1)。特定の自動操作とその時の画面キャプチャをリスト化し、前回の自動試験時のリストを比較することで自動試験結果の整合と不整合を検出している。 Many inventions relating to an automatic test method for plant monitoring man-machine middleware have been disclosed (for example, Patent Documents 1 to 6). The plant monitoring man-machine middleware includes an element whose display state changes with timing. In the automatic test method of the plant monitoring control system, automatic operations and screen capture logs are listed and compared with the previous results (for example, Patent Document 1). A list of specific automatic operations and screen captures at that time is listed, and by comparing the list at the previous automatic test, the consistency and inconsistency of the automatic test results are detected.
プラント監視制御システムにおいて、特定の自動操作とその時の画面キャプチャをリスト化し、前回の自動試験時のリストを比較することで自動試験結果の整合と不整合を検出する方法では、画面表示プログラムが複数存在する。画面表示プログラムが非同期で動作している場合、キャプチャするタイミングによっては画面結果が一致しないため整合と不整合を検出できない。 In the plant monitoring and control system, a list of specific automatic operations and screen captures at that time, and a method for detecting consistency and inconsistency of automatic test results by comparing the list at the previous automatic test, there are multiple screen display programs. Exists. When the screen display program is operating asynchronously, the screen results do not match depending on the capture timing, so it is impossible to detect consistency and inconsistency.
例えば、自動操作により画面表示を変更する画面表示プログラムAと、定周期で画面をフリッカさせるような別の画面表示プログラムBがあるとする。この場合、自動操作後の画面は画面表示プログラムAにより変更され、そのあと保存機能が画面ログとして画面をキャプチャする。画面表示プログラムBが動作する周期によっては画面キャプチャのタイミングの前に画面が変化する。このため、画面表示プログラムAの表示結果が正しくても、前回の画面ログと一致せず、自動試験結果がNG(No Good)となる。 For example, it is assumed that there is a screen display program A that changes the screen display by automatic operation and another screen display program B that flickers the screen at a fixed cycle. In this case, the screen after the automatic operation is changed by the screen display program A, and then the storage function captures the screen as a screen log. Depending on the cycle in which the screen display program B operates, the screen changes before the screen capture timing. For this reason, even if the display result of the screen display program A is correct, it does not match the previous screen log, and the automatic test result is NG (No Good).
この発明は上記のような課題を解決するためになされたものである。画面ログを断続的に画面キャプチャしたものとし、画面ログの中から一致する箇所を検出する機能を用意する。一致した箇所の前後を画面ログ結果比較の対象とすることで、複数の画面表示プログラムが動作する環境でも正しく自動試験結果を判定することを目的にする。 The present invention has been made to solve the above-described problems. It is assumed that the screen log is intermittently screen-captured, and a function for detecting a matching part from the screen log is prepared. The object is to determine the automatic test result correctly even in an environment where a plurality of screen display programs are operated by making the screen log result comparison target before and after the matching part.
この発明にかかわるプラント監視装置は、画面の基本情報を制御する第1の画面表示プログラム、画面の変更情報を制御する第2の画面表示プログラム、および、自動試験を制御する自動試験プログラムを実行するCPUと、第1の画面表示プログラムと第2の画面表示プログラムの指示に基づいて、プラント機器から送信されてくるプラントデータを画面に表示する表示装置と、過去にテストパターンを使って自動試験した時に作成された第1の試験結果、および、新たにテストパターンを使って自動試験した時に作成された第2の試験結果を保存する記憶装置と、を備え、第1の試験結果および第2の試験結果は、操作ログと画面ログを含み、自動試験プログラムは、第1の試験結果と第2の試験結果を比較して、一致個所を検出し、検出された一致個所の位置を基準に前後の画面ログを比較し、第2の試験結果が第1の試験結果と一致しているかどうかを判断し、この判断を基に試験結果の判定を下す処理を含むことを特徴とする。 A plant monitoring apparatus according to the present invention executes a first screen display program for controlling basic screen information, a second screen display program for controlling screen change information, and an automatic test program for controlling automatic testing. Based on instructions of the CPU, the first screen display program, and the second screen display program, a display device that displays plant data transmitted from the plant equipment on the screen, and an automatic test using a test pattern in the past And a storage device for storing a first test result created at the time and a second test result created at the time of a new automatic test using the test pattern, the first test result and the second test result The test results include an operation log and a screen log. The automatic test program compares the first test result and the second test result to detect a matching point and detect it. A process of comparing the previous and next screen logs based on the position of the matched portion, determining whether the second test result matches the first test result, and determining the test result based on this determination It is characterized by including.
この発明によれば、自動試験結果を一致する箇所を起点として前後を比較できるように構成したので、複数の画面表示プログラムが動作する環境でも正しく自動試験結果を判定することができる。また、この効果により、画面を変更するプログラムが複数存在し、かつ非同期で動作するプラント監視制御システムでも自動試験を行える。 According to the present invention, the automatic test results can be correctly determined even in an environment in which a plurality of screen display programs are operated, since the configuration is such that comparison can be made before and after the location where the automatic test results match. In addition, due to this effect, an automatic test can be performed even in a plant monitoring control system that has a plurality of programs for changing the screen and operates asynchronously.
本発明の実施の形態に係るプラント監視制御システムおよびプラント監視装置について、図を参照しながら以下に説明する。なお、各図において、同一または同様の構成部分については同じ符号を付しており、対応する各構成部のサイズや縮尺はそれぞれ独立している。例えば構成の一部を変更した断面図の間で、変更されていない同一構成部分を図示する際に、同一構成部分のサイズや縮尺が異なっている場合もある。また、プラント監視制御システムおよびプラント監視装置の構成は、実際にはさらに複数の部材を備えているが、説明を簡単にするため、説明に必要な部分のみを記載し、他の部分については省略している。 A plant monitoring control system and a plant monitoring apparatus according to an embodiment of the present invention will be described below with reference to the drawings. In each figure, the same or similar components are denoted by the same reference numerals, and the sizes and scales of the corresponding components are independent. For example, when the same components that are not changed are illustrated in cross-sectional views in which a part of the configuration is changed, the sizes and scales of the same components may be different. In addition, the configuration of the plant monitoring control system and the plant monitoring apparatus actually includes a plurality of members. However, for the sake of simplicity, only the portions necessary for the description are described, and the other portions are omitted. doing.
実施の形態1.
以下、この発明の実施の形態1を図に基づいて説明する。図1はプラント監視制御システム100の概要を表している。プラント監視制御システム100は、プラント監視装置1、プラント制御装置34、プラント機器36a〜c、ネットワーク37などから構成されている。プラント監視装置1は、表示装置31、マウス32、H/Wキーボード33(H/W:Hard Ware)などの周辺機器を備えている。プラント機器36a〜cは、それぞれ、バルブ、流量計、ポンプなどに該当する。プラント監視装置1の計算機30は、プラント制御装置34とネットワーク37で相互に接続されている。プラント制御装置34はプラント機器36a〜cと通信ケーブル38で接続されている。
Embodiment 1 FIG.
Embodiment 1 of the present invention will be described below with reference to the drawings. FIG. 1 shows an outline of the plant
プラント制御装置34はプラント機器36a〜cから送られてくるプラントデータを、ネットワーク37を経由して、計算機30に送信する。プラントデータにはバルブの開閉状態、流量計の指示値などが含まれている。計算機30は、プラント制御装置34から送信されてくるプラントデータをもとに、グラフ、表などを作成して、表示装置31に表示する。プラントデータに警報データが含まれている場合、表示装置31の監視画面に表示されるグラフや表は、表示色が周期的に変化するなどして、ユーザに注意を促す。表示装置31の監視画面からは、S/Wキーボード35(S/W:Soft Ware)を使用すること
ができる。
The
図2は、プラント監視装置の内部構成を表している。プラント監視装置1の計算機30は、画面メモリ6、HDD40(Hard Disk Drive)、CPU41(Central Processing Unit)、ROM42(Read Only Memory)などから構成されている。画面メモリ6は、VRAM(Video Random Access Memory)などが該当する。HDD40(記憶装置)には、各種プログラム、プラントデータ60、テストパターン50、ベースとする試験結果10、今回の試験結果9、画面ログ70、操作ログ7、ダンプログ22などが保存される。ベースとする試験結果10は、過去にテストパターン50を使って自動試験した時に作成される。今回の試験結果9は、新たに同じテストパターン50を使って自動試験した時に作成される。
FIG. 2 shows the internal configuration of the plant monitoring apparatus. The
CPU41は、HDD40に保存されている各種プログラムの中から必要なものを読みだして、ROM42に記憶する。ROM42には、自動検査プログラム44、自動操作プログラム5、画面表示プログラムA3(第1の画面表示プログラム)、画面面表示プログラムB4(第2の画面表示プログラム)が記憶されている。これらのプログラムは動作状態にあり、CPU41が実行する。自動検査プログラム44は、保存機能、ログ一致検索機能、比較検索機能、表示値読み取り機能、表示値チェック機能、ダンプ結果判定機能を備えている。プラント監視装置1のCPU41は、表示装置31の監視画面にプラントデータを表示する際に、画面表示プログラムA3と画面面表示プログラムB4を使用する。
The
画面表示プログラムA3は、画面の基本情報を制御し、マウス32、H/Wキーボード33、S/Wキーボード35などからの画面操作により表示を変更する。画面表示プログラムB4は、画面の変更情報を制御し、画面操作と関係なく、画面のフリッカのような表示色を入れ替える動作を担当する。自動検査プログラム44は、表示装置31に表示されるプラントデータを、画面メモリ6からキャプチャする。キャプチャされたデータはHDD40に操作ログと画面ログとして保存される。ひとつの画面ログは、一枚の静止画に対応する。画面ログは断続的な情報ではあるが周期的に取り込まれるので、連続して再生すれば動画となる。周辺機器19は、表示装置31、マウス32、H/Wキーボード33(H/W:Hard Ware)などが該当する。
The screen display program A3 controls basic screen information and changes the display by screen operations from the
図3は、プラント監視装置の内部構成を表している。計算機30には補助記憶装置2、画面表示プログラムA3、画面表示プログラムB4、自動操作プログラム5、画面メモリ6、操作ログ7、保存機能8、今回の試験結果9、ベースとする試験結果10、ログ一致箇所検索機能11、結果比較機能12が設けられている。自動操作プログラム5は、画面表示プログラムA3を操作する。保存機能8は、操作ログ7と画面ログをリスト化してHDD40に保存する。画面ログは画面メモリ6の断続的な画面キャプチャ結果を指している。今回の試験結果9(第2の試験結果)は、操作ログと画面ログを有し、保存機能8によりHDD40に保存される。ベースとする試験結果10(第1の試験結果)は、操作ログと画面ログを有し、今回の試験結果9と同様の手順でHDD40に保存される。
FIG. 3 shows the internal configuration of the plant monitoring apparatus. The
ログ一致箇所検索機能11は、今回の試験結果9とベースとする試験結果10の画面ログを比較し一致箇所を検索する。結果比較機能12は、一致箇所を基準に前後の画面ログを比較する。画面表示プログラムB4は、画面操作と関係なく、画面のフリッカのような表示色を入れ替える。自動操作プログラム5から画面表示プログラムA3に操作信号(操作1、操作2、操作3、……操作N)が発信されるたびに、一連の断続した画面ログ(画面ログ1、画面ログ2、……)が周期的に作成される。
The log match location search function 11 compares the screen log of the
画面表示プログラムB4は、画面表示プログラムA3と同様に、自動操作プログラム5から画面表示プログラムA3に操作信号が発信されるたびに、動作を開始するが、必ずしも開始のタイミングは画面表示プログラムA3と同期していていない。例えば、図において、ベースとする試験結果10の操作2における画面ログ1は、今回の試験結果9の操作2における画面ログ1と、同期がずれているために、一致していない。しかし、ベースとする試験結果10の操作2における画面ログ1と、今回の試験結果9の操作2における画面ログ2は、一致している。
As with the screen display program A3, the screen display program B4 starts its operation every time an operation signal is transmitted from the
自動試験における監視画面はタイミングで表示状態が変化する要素(フリッカ、描画反映のタイムラグ、可変値)を含んでいる。画面表示プログラムAと画面表示プログラムBは非同期で動作しているため、キャプチャするタイミングによっては画面結果が一致しないので、そのままでは整合と不整合を検出できない。自動操作後の画面は画面表示プログラムAにより変更され、そのあと保存機能が画面ログとして画面をキャプチャする。画面表示プログラムBが動作する周期によっては画面キャプチャのタイミングの前に画面が変化するため、画面表示プログラムAの表示結果が正しくても、前回の画面ログと一致しない。この場合、自動試験結果はNG(No Good)と判定される。 The monitoring screen in the automatic test includes elements (flicker, drawing reflection time lag, variable value) whose display state changes with timing. Since the screen display program A and the screen display program B operate asynchronously, the screen results do not match depending on the capture timing. Therefore, it is not possible to detect matching and mismatching as they are. The screen after the automatic operation is changed by the screen display program A, and then the save function captures the screen as a screen log. Depending on the cycle in which the screen display program B operates, the screen changes before the screen capture timing, so even if the display result of the screen display program A is correct, it does not match the previous screen log. In this case, the automatic test result is determined as NG (No Good).
自動試験では、プログラムを変更した際に、その変更によって予想外の影響が現れていないかどうか確認するために、デグレード試験を行う。ここでは、画面表示プログラムA3や画面表示プログラムB4を改造したときのデグレード試験の際に利用することを考えている。計算機30の自動試験時において、あらかじめ、テストパターンを使って自動操作プログラム5を動作させ、保存機能8で画面ログと操作ログ7をベースとする試験結果10として保存し、自動試験結果を判定する基準とするための試験結果として用意しておく。改造後のプログラムをインストールし、上記操作を行うと今回の試験結果9が得られる。ログ一致箇所検索機能11を実行すると、今回の試験結果9とベースとする試験結果10を比較し一致箇所を検出する。この位置を基準に結果比較機能12がそれぞれ前後の画面ログを比較し、自動試験の結果を判定する。
In the automatic test, when a program is changed, a degradation test is performed in order to confirm whether or not an unexpected influence is caused by the change. Here, it is considered that the screen display program A3 and the screen display program B4 are used in a degradation test when the screen display program A3 and the screen display program B4 are modified. During the automatic test of the
図4はベースとする試験結果を得るためのフローを示している。計算機の自動試験プログラムが動作を開始すると、プラントデータとして既知のテストパターンを発信する[ステップ1]。自動操作プログラムに従い画面表示プログラムAが画面を表示し、非同期で画面表示プログラムBが画面を更新する[ステップ2]。ここでは、画面に固定画を想定している。自動操作プログラムを動作させ、操作ログと画面ログをキャプチャして、この試験結果をベースとする試験結果10として、HDD40に保存しておく[ステップ3]。
FIG. 4 shows a flow for obtaining a base test result. When the computer automatic test program starts operation, a known test pattern is transmitted as plant data [Step 1]. The screen display program A displays the screen according to the automatic operation program, and the screen display program B updates the screen asynchronously [step 2]. Here, a fixed image is assumed on the screen. The automatic operation program is operated, the operation log and the screen log are captured, and stored in the
図5は、自動試験の結果を判定するフローを表している。例えばデグレード試験の際、改造後のプログラムをインストールした後に自動試験プログラムを動作させ、自動試験プログラムを動作させ、テストパターンを発信する[ステップ11]。自動操作プログラムに従い画面表示プログラムAが画面を表示し、非同期で画面表示プログラムBが画面を更新する[ステップ12]。操作ログおよび画面ログをキャプチャし、今回の試験結果として保存する[ステップ13]。HDD40からベースとする試験結果を読みだすが、既にROM42に保存されていれば、読み出しは不要である[ステップ14]。
FIG. 5 shows a flow for determining the result of the automatic test. For example, at the time of the degradation test, after installing the modified program, the automatic test program is operated, the automatic test program is operated, and a test pattern is transmitted [step 11]. The screen display program A displays the screen according to the automatic operation program, and the screen display program B updates the screen asynchronously [step 12]. The operation log and the screen log are captured and saved as the test result of this time [Step 13]. The test result based on the
ログ一致箇所検索機能を実行し、今回の試験結果とベースとする試験結果を比較し一致箇所を検出する[ステップ15]。このステップは、動画の頭出しを行う動作に似ている。この位置を基準に結果比較機能が前後の画面ログを比較し[ステップ16]、今回の試験結果とベースとする試験結果が一致するか比較する[ステップ17]。一致しているかどうかの判断を基に、デグレード試験の試験結果に判定を下す。一致しない場合、すなわち今回の試験結果とベースとする試験結果が異なる場合は試験結果NG(No Good)と判定し[ステップ18]、一致する場合は試験結果OK(またはGood)と判定する[ステップ19]。 The log matching location search function is executed, and the current test result and the base test result are compared to detect a matching location [step 15]. This step is similar to the operation of cueing a moving image. Based on this position, the result comparison function compares the previous and next screen logs [Step 16], and compares whether or not the current test result matches the base test result [Step 17]. Judgment is made on the test result of the degradation test based on the judgment of whether or not they match. If they do not match, that is, if the current test result is different from the base test result, the test result is determined as NG (No Good) [Step 18], and if they match, the test result is determined as OK (or Good) [Step] 19].
すなわち、プラント監視制御システムの自動試験時において、先ず、過去に自動試験した操作ログと画面ログをリスト化してベースとする試験結果として保存する。画面ログは監視画面を断続的にキャプチャしたものである。プラント監視装置の自動試験プログラムは、今回の試験結果と比較する際に、画面一致部分を検索する機能と、その前後の画面キャプチャ結果を比較し自動試験結果を判定する機能を備えている。その結果、画面を変更するプログラムが複数存在し、かつ非同期で動作する場合でも、プラント監視装置は、正しい自動試験結果判定が行える。 That is, at the time of an automatic test of the plant monitoring control system, first, operation logs and screen logs that have been automatically tested in the past are listed and stored as a base test result. The screen log is an intermittent capture of the monitoring screen. The automatic test program of the plant monitoring device has a function of searching for a screen matching part when comparing with the test result of this time, and a function of comparing the screen capture results before and after that and determining the automatic test result. As a result, even when there are a plurality of programs for changing the screen and the program is operated asynchronously, the plant monitoring apparatus can determine the correct automatic test result.
実施の形態2.
図6は実施の形態2にかかわるプラント監視装置の内部構成を表している。実施の形態1で説明した構成に、時間経過とともに変化する、プラントデータの試験用パターンリスト13を加えている。この構成では画面表示プログラムB4がプラントデータの試験用パターンリスト13を使用してプラントのトレンドグラフを表示する。ベースとする試験結果10を得るときと、今回の試験結果9を得るときに同じプラントデータの試験用パターンを使用し、実施の形態1の要領で一致箇所を検出し結果比較を行うことで、トレンドグラフなどの可変画の自動試験結果を判定できる。
FIG. 6 shows the internal configuration of the plant monitoring apparatus according to the second embodiment. A plant data
実施の形態2の動作を図7に基づいて説明する。試験用パターンリスト13は、バルブを流れる水量などのように時間の経過とともに変化するプラントデータを含んでいる。計算機の自動試験時において、自動操作プログラムに従い画面表示プログラムAが画面を表示し、非同期で画面表示プログラムBが、テストパターンに含まれる試験用パターンリストを基にトレンドグラフを表示する[ステップ2a]。自動操作プログラムを動作させ、操作ログと画面ログをキャプチャして、この試験結果をベースとする試験結果10として、HDD40に保存する[ステップ3]。
The operation of the second embodiment will be described with reference to FIG. The
実施の形態3.
図8は実施の形態3にかかわるプラント監視装置の内部構成を表している。実施の形態1で説明した構成に画面内において、表示値データ14と、値域リスト/座標リスト15と、表示値読み取り機能16と、表示値のチェック機能17を加えている。この構成では画面表示プログラムB4が、可変値、警報などの表示値データ14を基に値を表示する。表示値データ14の可変値は、例えばバルブの温度、圧力などを表している。可変値と警報を使って、プラント事故などのプラントデータモデルを表現している。値域リストは画面内において自由に変化する文字列を含んでいる。座標リストは表示値の座標を含んでいる。
FIG. 8 shows the internal configuration of the plant monitoring apparatus according to the third embodiment. In the screen,
表示値のチェック機能17は、表示値の値域リスト/座標リスト15と、OCR(Optical Character Reader)などによる表示値読み取り機能16を利用することで、読み取った画面上の表示値が、想定した値域に収まっているかどうかをチェックする。さらに、表示値のチェック機能17がチェック結果を結果比較機能12に渡すことで、自動検査プログラムは、表示値の自動試験結果判定を行うことができる。これにより、プラントデータを基に動的に表示値が変わる可変値、警報の自動試験を行うことができる。
The display
図9は実施の形態3に係わるベースとする試験結果を得るためのフローを示している。計算機の自動試験時において、自動操作プログラムに従い画面表示プログラムAが画面を表示し、非同期で画面表示プログラムBが表示値データ14を基に画面を更新する[ステップ2b]。自動操作プログラムを動作させ、操作ログと画面ログをキャプチャして、この試験結果をベースとする試験結果10として、HDD40に保存する[ステップ3]。
FIG. 9 shows a flow for obtaining a base test result according to the third embodiment. During the automatic test of the computer, the screen display program A displays the screen according to the automatic operation program, and the screen display program B asynchronously updates the screen based on the display value data 14 [step 2b]. The automatic operation program is operated, the operation log and the screen log are captured, and stored in the
図10は、自動試験の結果を判定するフローを表している。計算機の自動試験時において、自動操作プログラムに従い画面表示プログラムAが画面を表示し、非同期で画面表示プログラムBが表示値データ14を基に画面を更新する[ステップ12b]。表示値読み取り機能が表示値の座標リストを参照し、画面上の表示値を数値情報として読み取る[ステップ20]。表示値のチェック機能は、表示値読み取り機能が読み取った値(数値情報)
と表示値の値域リストを参照し表示値が設計通りの値かチェックする[ステップ21]。ログ一致箇所検索機能を実行し、今回の試験結果とベースとする試験結果を比較し一致箇所を検出する[ステップ15]。
FIG. 10 shows a flow for determining the result of the automatic test. During the automatic test of the computer, the screen display program A displays the screen according to the automatic operation program, and the screen display program B asynchronously updates the screen based on the display value data 14 [step 12b]. The display value reading function reads the display value on the screen as numerical information by referring to the display value coordinate list [step 20]. The display value check function is the value read by the display value reading function (numerical information).
The display value range list is referred to and it is checked whether the display value is as designed [Step 21]. The log matching location search function is executed, and the current test result and the base test result are compared to detect a matching location [step 15].
この位置を基準に結果比較機能が前後の画面ログを比較し、今回の試験結果とベースとする試験結果が一致するか比較する[ステップ17]。さらに、結果比較機能は、読み取った画面上の表示値が、想定した値域に収まっているかどうかをチェックする[ステップ22]。今回の試験結果とベースとする試験結果が一致しない場合、またはチェック結果がNoの場合、試験結果NG(No Good)と判定する[ステップ18]。今回の試験結果とベースとする試験結果が一致し、チェック結果がYesの場合、試験結果OKと判定する[ステップ19]。 Based on this position, the result comparison function compares the previous and next screen logs, and compares the current test result with the base test result [step 17]. Further, the result comparison function checks whether or not the read display value on the screen is within the assumed value range [step 22]. If the current test result and the base test result do not match, or if the check result is No, the test result is judged as NG (No Good) [step 18]. If the test result of this time coincides with the base test result and the check result is Yes, it is determined that the test result is OK [step 19].
実施の形態4.
図11は実施の形態4にかかわるプラント監視装置の内部構成を表している。実施の形態1で説明した構成に判定除去領域リスト18を加えている。この構成では画面表示プログラムA3、画面表示プログラムB4の片方もしくは両方がAPI(Application Programming Interface)を提供している。別プログラムからの画面表示要求を受け、イベントドリブンで要求処理され、要求受信から表示までの時間が一定でない場合を想定している。例えば、ある画面にマウスオーバすると、ツールチップによって、枠内にボタンの説明などの補足情報が表示される。また、画面操作やAPIによって画面表示プログラムA3、画面表示プログラムB4の片方もしくは両方が、例えばブラー効果やろうそくの火の揺らぎの描画のように、描画イメージがピクセル単位で一致しないランダムなエフェクトを表示する場合も想定している。
FIG. 11 shows the internal configuration of the plant monitoring apparatus according to the fourth embodiment. The determination
このような表示領域は、テストパターンに含まれる判定除去領域リスト18を使い自動試験結果判定から除外することができる。APIによる描画要求やランダムエフェクトのような、操作から画面表示までの時間、もしくは画面表示がランダムであるような画面表示に対して、画面座標領域リストを設けることで、特定領域を自動試験結果判定から外すことができる。また、描画されるまでの時間が一定でない描画機能やランダムに描画される画面効果について自動試験結果判定を行うことができる。
Such a display area can be excluded from the automatic test result determination using the determination
ベースとする試験結果を得るためのフローは図4に示されているフローと同じである。計算機の自動試験時において、自動操作プログラムに従い画面表示プログラムAが画面を表示し、非同期で画面表示プログラムBが表示値データ14を基に画面を更新する。次に、実施の形態4に係わる自動試験の結果を判定するフローを図12に基づいて説明する。
結果比較機能は、画面ログの一致箇所を基準に前後の画面ログを比較する際に判定除去領域リストにある領域は比較対象から除いて比較する[ステップ16b]。これにより、上記のような画面表示プログラムについても、自動試験結果判定をすることができる。
The flow for obtaining the base test result is the same as the flow shown in FIG. During the automatic test of the computer, the screen display program A displays the screen according to the automatic operation program, and the screen display program B updates the screen based on the
The result comparison function compares and excludes the areas in the determination removal area list from the comparison target when comparing the previous and subsequent screen logs with reference to the matching part of the screen logs [step 16b]. Thereby, an automatic test result determination can be performed also about the above screen display programs.
実施の形態5.
図13は実施の形態5にかかわるプラント監視装置の内部構成を表している。実施の形態1で説明した構成に、周辺機器19と、ドライバ20と、ダンプ機能21と、ダンプログ22と、ダンプ結果判定機能23を加えている。ドライバ20は、周辺機器を管理する。ダンプ機能21は、周辺機器19への制御コマンドをダンプし、ダンプ結果(ダンプログ)は保存する。ダンプログ22は、HDD40に蓄積される。計算機30は、RS232CのようなI/F(Interface)を利用したH/Wキーボード33と接続し、画面表示プログラムA3が画面上のS/Wキーボード35を管理している。ここで、S/WキーボードとH/WキーボードのLED(Light Emitting Diode)の点灯状態やトグル状態などを連携させる場合を考える。
FIG. 13 shows the internal configuration of the plant monitoring apparatus according to the fifth embodiment. The
これを実現するため、画面表示プログラムA3がユーザの画面操作をトリガーとして、H/Wキーボード33へ制御コマンドを送信する。この時、ダンプ機能21はドライバ20が送信する制御コマンド(通信データ)をダンプし、ダンプログ22に溜める。保存機能8が画面データ(画面ログ)、操作ログ、ダンプログをキャプチャし、今回の試験結果9として保存する。ダンプ結果判定機能23は画面ログが一致した箇所を基準とし、それよりも後に特定のダンプログが存在するかを検索する。例えばS/Wキーボードを押した後にH/Wキーボードを自動で制御する場合は一致箇所よりも後に同じダンプログが存在するかを検索する。これにより正しく制御コマンドが送信されていることを判定でき、周辺機器の操作を含めた自動試験結果判定が行える。
In order to realize this, the screen display program A3 transmits a control command to the H /
図14は実施の形態5に係わるベースとする試験結果を得るためのフローを示している。計算機の自動試験時において、自動操作プログラムに従い画面表示プログラムAが画面を表示し、非同期で画面表示プログラムBが画面を更新する[ステップ2]。自動操作プログラムに加えてダンプ機能を同時に動作させ、試験結果をベースとする試験結果として保存する[ステップ3c]。 FIG. 14 shows a flow for obtaining a base test result according to the fifth embodiment. During the automatic test of the computer, the screen display program A displays the screen according to the automatic operation program, and the screen display program B updates the screen asynchronously [step 2]. In addition to the automatic operation program, the dump function is simultaneously operated and saved as a test result based on the test result [step 3c].
次に、実施の形態5に係わる自動試験の結果を判定するフローを図15に基づいて説明する。自動操作プログラム及びダンプ機能を同時に動作させ、試験結果を今回の試験結果として保存する[ステップ13c]。ログ一致箇所検索機能を実行し、今回の試験結果とベースとする試験結果を比較し一致箇所を検出する[ステップ15]。このステップは、動画の頭出しを行う動作に似ている。この位置を基準に結果比較機能が前後の画面ログを比較する[ステップ16]。さらに、検出した一致個所の位置を基準に後のダンプログを検索する[ステップ25]。 Next, a flow for determining the result of the automatic test according to the fifth embodiment will be described with reference to FIG. The automatic operation program and the dump function are simultaneously operated, and the test result is saved as the current test result [step 13c]. The log matching location search function is executed, and the current test result and the base test result are compared to detect a matching location [step 15]. This step is similar to the operation of cueing a moving image. Based on this position, the result comparison function compares the previous and next screen logs [step 16]. Further, a later dump log is searched based on the position of the detected coincidence [Step 25].
この位置を基準に結果比較機能が前後の画面ログを比較し、今回の試験結果とベースとする試験結果が一致するか比較する[ステップ17]。さらに、結果比較機能は、一致するダンプログが検出できたかどうかを判定する [ステップ26]。今回の試験結果とベースとする試験結果が一致しない場合、かつ一致するダンプログが検出できない場合、試験結果NG(No Good)と判定し[ステップ18]、それ以外の場合は試験結果OKと判定する[ステップ19]。 Based on this position, the result comparison function compares the previous and next screen logs, and compares the current test result with the base test result [step 17]. Furthermore, the result comparison function determines whether or not a matching dump log has been detected [step 26]. If the current test result and the base test result do not match and no matching dump log can be detected, the test result is determined as NG (No Good) [step 18], otherwise the test result is determined as OK. [Step 19].
なお、本発明は、その発明の範囲内において、実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。 It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.
1 プラント監視装置、30 計算機、31 表示装置、34 プラント制御装置、36 プラント機器、37 ネットワーク、38 通信ケーブル、40 HDD、41 CPU、100 プラント監視制御システム 1 Plant Monitoring Device, 30 Computer, 31 Display Device, 34 Plant Control Device, 36 Plant Equipment, 37 Network, 38 Communication Cable, 40 HDD, 41 CPU, 100 Plant Monitoring Control System
Claims (5)
前記第1の画面表示プログラムと前記第2の画面表示プログラムの指示に基づいて、プラント機器から送信されてくるプラントデータを画面に表示する表示装置と、
過去にテストパターンを使って自動試験した時に作成された第1の試験結果、および、新たに前記テストパターンを使って自動試験した時に作成された第2の試験結果を保存する記憶装置と、を備え、
前記第1の試験結果および前記第2の試験結果は、操作ログと画面ログを含み、
前記自動試験プログラムは、
前記第1の試験結果と前記第2の試験結果を比較して、一致個所を検出し、
検出された一致個所の位置を基準に前後の画面ログを比較し、
前記第2の試験結果が前記第1の試験結果と一致しているかどうかを判断し、
この判断を基に試験結果の判定を下す、
処理を含むことを特徴とするプラント監視装置。 A CPU that executes a first screen display program that controls basic screen information, a second screen display program that controls screen change information, and an automatic test program that controls automatic testing;
Based on the instructions of the first screen display program and the second screen display program, a display device that displays plant data transmitted from plant equipment on a screen;
A storage device for storing a first test result created when an automatic test is performed using a test pattern in the past and a second test result created when an automatic test is newly performed using the test pattern; Prepared,
The first test result and the second test result include an operation log and a screen log,
The automatic test program is
Comparing the first test result and the second test result to detect a coincidence,
Compare the previous and next screen logs based on the position of the detected match,
Determining whether the second test result matches the first test result;
Based on this judgment, the test result is judged.
A plant monitoring device comprising a process.
前記第2の画面表示プログラムは、
この試験用パターンリストから前記プラントデータのトレンドグラフを作成する処理を含むことを特徴とする請求項1に記載のプラント監視装置。 The test pattern includes a test pattern list having plant data that changes over time,
The second screen display program is:
The plant monitoring apparatus according to claim 1, further comprising a process of creating a trend graph of the plant data from the test pattern list.
前記自動試験プログラムは、
前記座標リストを参照して、画面上の表示値を数値情報として読み取り、
読み取った数値情報が前記値域リストに含まれているかどうかをチェックする
処理を含むことを特徴とする請求項1に記載のプラント監視装置。 The test pattern includes a coordinate list and a range list for plant data having variable values,
The automatic test program is
Read the display value on the screen as numerical information with reference to the coordinate list,
The plant monitoring apparatus according to claim 1, further comprising a process of checking whether or not the read numerical information is included in the range list.
前記自動試験プログラムは、
検出された一致個所の位置を基準に前後の画面ログを比較する際に、
前記判定除去領域リストに含まれている領域を比較対象から除いて比較する処理を含むことを特徴とする請求項1に記載のプラント監視装置。 The test pattern includes a determination removal area list;
The automatic test program is
When comparing previous and next screen logs based on the location of the detected match,
The plant monitoring apparatus according to claim 1, further comprising a process of removing an area included in the determination removal area list from a comparison target and comparing the areas.
前記自動試験プログラムは、
検出された一致個所の位置を基準に前後の画面ログを比較すると、検出された一致個所の位置を基準に後のダンプログを検索する処理を含むことを特徴とする請求項1に記載のプラント監視装置。 The first test result and the second test result include a dump log of a control command to be transmitted to a peripheral device,
The automatic test program is
2. The plant monitoring according to claim 1, further comprising a process of searching a subsequent dump log based on the position of the detected matching part when comparing the previous and next screen logs based on the position of the detected matching part. apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014254900A JP6362532B2 (en) | 2014-12-17 | 2014-12-17 | Plant monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014254900A JP6362532B2 (en) | 2014-12-17 | 2014-12-17 | Plant monitoring device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016115236A true JP2016115236A (en) | 2016-06-23 |
JP6362532B2 JP6362532B2 (en) | 2018-07-25 |
Family
ID=56140053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014254900A Active JP6362532B2 (en) | 2014-12-17 | 2014-12-17 | Plant monitoring device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6362532B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019012416A (en) * | 2017-06-30 | 2019-01-24 | アズビル株式会社 | Diagnostic device, method of diagnosing facility monitoring system and facility monitoring system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006268666A (en) * | 2005-03-25 | 2006-10-05 | Fujitsu Ltd | Automatic test system with correction function, automatic test method, and program |
JP2009251936A (en) * | 2008-04-07 | 2009-10-29 | Mitsubishi Electric Corp | Automatic testing system for picture program of programmable display unit |
JP2011108157A (en) * | 2009-11-20 | 2011-06-02 | Mitsubishi Electric Corp | Man-machine device for plant monitoring |
JP2012108773A (en) * | 2010-11-18 | 2012-06-07 | Mitsubishi Electric Corp | Automatic software test device and automatic software test method |
JP2013148617A (en) * | 2012-01-17 | 2013-08-01 | Mitsubishi Electric Corp | Monitoring screen testing device |
JP2013205847A (en) * | 2012-03-27 | 2013-10-07 | Mitsubishi Electric Corp | Plant monitoring man-machine device |
-
2014
- 2014-12-17 JP JP2014254900A patent/JP6362532B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006268666A (en) * | 2005-03-25 | 2006-10-05 | Fujitsu Ltd | Automatic test system with correction function, automatic test method, and program |
JP2009251936A (en) * | 2008-04-07 | 2009-10-29 | Mitsubishi Electric Corp | Automatic testing system for picture program of programmable display unit |
JP2011108157A (en) * | 2009-11-20 | 2011-06-02 | Mitsubishi Electric Corp | Man-machine device for plant monitoring |
JP2012108773A (en) * | 2010-11-18 | 2012-06-07 | Mitsubishi Electric Corp | Automatic software test device and automatic software test method |
JP2013148617A (en) * | 2012-01-17 | 2013-08-01 | Mitsubishi Electric Corp | Monitoring screen testing device |
JP2013205847A (en) * | 2012-03-27 | 2013-10-07 | Mitsubishi Electric Corp | Plant monitoring man-machine device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019012416A (en) * | 2017-06-30 | 2019-01-24 | アズビル株式会社 | Diagnostic device, method of diagnosing facility monitoring system and facility monitoring system |
Also Published As
Publication number | Publication date |
---|---|
JP6362532B2 (en) | 2018-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200043157A1 (en) | Inspection Apparatus, Inspection Method, And Program | |
US7796031B2 (en) | Monitoring apparatus and monitoring method | |
CN109155071B (en) | Color detection method and terminal | |
US20140176469A1 (en) | Apparatus and method for controlling dim state | |
US10838390B2 (en) | Program creation support apparatus, control method for program creation support apparatus, and control program for program creation support apparatus | |
US11080844B2 (en) | System and method for testing an electronic device | |
CN111742214A (en) | Substrate inspection apparatus and method for determining defect type of screen printer | |
US8487992B2 (en) | Image processing device and image processing method | |
US11006505B2 (en) | Automated re-creation of lighting visual for a venue | |
US20110043621A1 (en) | Image Processing Device And Image Processing Method | |
US9690682B2 (en) | Program information generating system, method, and computer program product | |
US20170004616A1 (en) | Visual inspection support apparatus, visual inspection support method and program | |
WO2019216199A1 (en) | Analysis assistance device and analysis assistance method | |
CN111045924A (en) | Processing method, device and equipment for user interface visual acceptance | |
JP2021189481A (en) | Programmable logic controller | |
JP6362532B2 (en) | Plant monitoring device | |
JP2021039510A (en) | Program inspection device, program inspection method, and program inspection program | |
JP2009251936A (en) | Automatic testing system for picture program of programmable display unit | |
JP2009239507A (en) | Monitoring system | |
JP6418393B2 (en) | Lighting system | |
CN111458628A (en) | Template file updating method, device, equipment and computer readable storage medium | |
JP6571723B2 (en) | PROGRAMMING DEVICE FOR GENERATING OPERATION PROGRAM AND PROGRAM GENERATION METHOD | |
JP6027717B2 (en) | Visual inspection apparatus provided with gaze position specifying means | |
CN106060615B (en) | Judgment method and device for realizing screen parameter automatic matching by using optical sensor | |
KR101635054B1 (en) | Method for controlling a plurality of terminals collectively |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161228 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170920 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171017 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171214 |
|
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: 20180529 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180626 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6362532 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |