JP2018156546A - Monitoring device, monitoring method, monitoring program - Google Patents
Monitoring device, monitoring method, monitoring program Download PDFInfo
- Publication number
- JP2018156546A JP2018156546A JP2017054470A JP2017054470A JP2018156546A JP 2018156546 A JP2018156546 A JP 2018156546A JP 2017054470 A JP2017054470 A JP 2017054470A JP 2017054470 A JP2017054470 A JP 2017054470A JP 2018156546 A JP2018156546 A JP 2018156546A
- Authority
- JP
- Japan
- Prior art keywords
- monitoring
- abnormal
- processing unit
- group
- abnormal process
- 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
Images
Landscapes
- Testing And Monitoring For Control Systems (AREA)
Abstract
【課題】プロセス群に対する監視をより安定して行うことを目的とする。
【解決手段】本発明に係る監視装置1は、個別機能処理14および監視機能処理15が実行されるプロセスを複数有するプロセス群3と、プロセス群3内のプロセスを監視対象プロセス群3aとして接続する接続処理部7bと、監視対象プロセス群同士での監視を実行させる監視処理部7dと、を有することを特徴とする。
【選択図】図1An object of the present invention is to more stably monitor a process group.
A monitoring apparatus 1 according to the present invention connects a process group 3 having a plurality of processes in which individual function processing 14 and monitoring function processing 15 are executed, and processes in the process group 3 as a monitoring target process group 3a. It has a connection processing unit 7b and a monitoring processing unit 7d for executing monitoring between monitoring target process groups.
[Selection] Figure 1
Description
この発明は、道路や河川、ビルなどの各種設備等に対して各種機能を実行するプロセス群を備えた装置における、監視装置、監視方法、監視プログラムに関するものである。 The present invention relates to a monitoring device, a monitoring method, and a monitoring program in an apparatus having a process group that executes various functions for various facilities such as roads, rivers, and buildings.
複数のプロセスからなるプロセス群は、たとえば、各種設備に対して各種機能を実行するために設けられる場合がある。具体的には水位や電力などを測定するデータ測定機能、データ解析機能、異常発生時の警報機能、入力されるデータの推移状況を表示する表示機能など複数の機能を実現するため、プロセス群の各プロセスで分担処理をして必要な機能を実現している。そして、各種データをもれなく収集・蓄積するために、メンテナンス時以外は、常に正常に稼働していることが求められる。 A process group composed of a plurality of processes may be provided to execute various functions for various facilities, for example. Specifically, in order to realize multiple functions such as a data measurement function that measures water level and power, a data analysis function, an alarm function when an abnormality occurs, and a display function that displays the transition status of input data, The necessary functions are realized by sharing processes in each process. And, in order to collect and accumulate all kinds of data, it is required to operate normally at all times except during maintenance.
一方、ソフトウエア不具合などの問題により各プロセスが異常終了などすると、当該プロセスの担当している機能が利用できなくなることがある。このような機能不全からの復帰を迅速に行うために、各プロセスの監視を行うための仕組みを設けることがある(特許文献1)。 On the other hand, if each process terminates abnormally due to a problem such as a software malfunction, the function in charge of the process may not be available. In order to quickly recover from such a malfunction, a mechanism for monitoring each process may be provided (Patent Document 1).
特許文献1では、各プロセスに対して上位に位置する監視専門プロセスを備え、各プロセスが正常に稼働しているか否かを監視することが開示されている。しかしながら、監視専門プロセスが不具合などで正常に稼働しなくなると、各プロセスの監視を行うことができなくなるという課題が存在する。
本発明は上記のような課題を解決するためになされたものであり、個別機能を備えたプロセス群に対する監視をより安定して行うことを目的とする。 The present invention has been made to solve the above-described problems, and an object thereof is to more stably monitor a process group having individual functions.
本発明に係る監視装置は、個別機能処理および監視機能処理が実行されるプロセスを複数有するプロセス群と、プロセス群内のプロセスを監視対象プロセス群として接続する接続処理部と、監視対象プロセス群同士での監視を実行させる監視処理部と、を有することを特徴とする。 The monitoring apparatus according to the present invention includes a process group having a plurality of processes in which individual function processing and monitoring function processing are executed, a connection processing unit that connects processes in the process group as monitoring target process groups, and monitoring target process groups And a monitoring processing unit for executing the monitoring in (1).
本発明の監視装置は、個別機能処理及び監視機能処理が実行されるプロセスを複数有するプロセス群において、プロセス群内のプロセスが互いに接続された監視プロセス群の中で各々監視処理を実行するので、異常なプロセスの発見を安定して行うことが可能である。すなわち、プロセス群を監視する監視専門プロセスを別途設けた場合と比較して、監視専門プロセスが異常を起こした場合にプロセス群の監視が働かなることがない。 Since the monitoring apparatus of the present invention executes a monitoring process in a monitoring process group in which processes in the process group are connected to each other in a process group having a plurality of processes in which individual function processing and monitoring function processing are executed, It is possible to detect abnormal processes stably. In other words, the process group monitoring does not work when an abnormality occurs in the monitoring specialized process as compared with a case where a monitoring specialized process for monitoring the process group is separately provided.
以下に、本発明の実施の形態にかかる監視方法、監視プログラム、監視装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。また、各実施の形態で同等の構成や部材などについては、同一の符号を付してその説明を省略などする。 Hereinafter, a monitoring method, a monitoring program, and a monitoring device according to an embodiment of the present invention will be described in detail based on the drawings. Note that the present invention is not limited to the embodiments. In addition, the same configurations and members in the embodiments are denoted by the same reference numerals, and the description thereof is omitted.
実施の形態1.
図1を用いて、本発明の実施の形態1について説明する。図1は水位や電力などを管理する装置1であり、本発明における監視装置は、この装置1自体、あるいは装置1の中の監視に関する要素の部分集合としての監視装置であって、装置1が包含する複数のプロセスが正常に稼動しているかどうかを監視するものである。装置1は記憶部2と、処理回路としてのCPU6と、CPU6からの指令を受けて装置1の制御を行う制御部7と、インタフェース回路8とを含み、各々、第1接続部としてのシステムバス9により接続され通信可能に構成されている。記憶部2は、プロセス群3(プロセスA〜プロセスN、N:自然数)とプロセス群3の各プロセスの相互監視を行うための属性情報5を含んでいる。またプロセス群3には正常に機能しなくなった異常プロセス4が混在している場合がある。
A first embodiment of the present invention will be described with reference to FIG. FIG. 1 shows an
CPU6と制御部7により、記憶部2に格納されたプロセス群3を呼び出し、装置1とは第2接続部としてのLAN10で接続された監視対象である設備11に対する各種の処理を行う。たとえば、設備11は道路や河川あるいはビルなどであり、呼び出されたプロセス群3内の各プロセスは、入力部100によるユーザからの入力情報に基づき実行される、設備11に関する個別機能処理として、データ蓄積、異常値検出、グラフ表示、帳票表示、連動処理といった機能を分担して実行するように構成されている。具体的には、プロセスAがデータ蓄積機能を担当し、プロセスBが異常値検出機能を担当し、プロセスCがグラフ表示機能を担当するといったように構成されている。また、入力情報は、キーボードやマウスなどのハードウェア、音声認識などでもよい。
The
また、制御部7は、属性情報5から属性情報を取得する属性情報取得部7aと、プロセス群3の各々のプロセスを接続する接続処理部7bと、接続処理部7bにより接続されたプロセス群3に対し、プロセス群3の各プロセス同士での監視処理を実行させる監視処理部7cと、監視処理部7cの結果を受けてプロセス群3に対する動作を行わせる異常プロセス処理部7dとを含んで構成される。
The
なお、CPU6は処理回路の一例であり、CPU(Central Processing Unit)の他に、DSP(Digital Signal Processer)、およびシステムLSI(Large Scale Integration)でもよい。また記憶部2は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Enable Program Read Only Memory)をはじめとした不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルメモリ、光ディスク、コンパクトディスク、およびDVD(Digital Versatile Disc)のうち1以上を含んで構成される。また、本ハードウェアの構成は、実施の形態1について説明したが、本発明の各実施の形態も同様のハードウェア構成を採用することが可能である。
The
次に動作について図1から図7を参照して説明する。図2は、装置1の動作フローを示すものであり、ステップごとに記載している。まず、不図示のトリガーかユーザによる入力情報などにより制御部7からのプロセス群3の起動命令が発生される(ステップS1)。そして、装置1の個別機能処理、すなわち、設備11に対するデータ蓄積、異常値検出などが実行される(ステップS2)。
Next, the operation will be described with reference to FIGS. FIG. 2 shows an operation flow of the
一方、ステップS1の後、ステップS2の個別機能処理と並行して、制御部7における属性情報取得部7a(図1参照)は、監視処理フローの始まりとしてプロセス群3に関する属性情報5の読み込みを行う(属性情報取得ステップS3)。図3はプロセス群3の各プロセスに関した属性情報を示す図であり、プロセス名12と監視対象(要否)13の情報を格納する。監視対象となるものは「○」で定義され、監視対象でないものは「×」で定義される。この属性情報5の設定方法として、プロセス群3において異常に陥ることがないプロセス、プロセスが多重になっており異常を出しても問題がないプロセス、負荷をかけたくないプロセスなどを監視対象外にしてもよい。なお、属性情報5を基にした監視対象プロセス群に対して監視処理を行うことが効率的であるが、属性情報5を読み込まずに、すべてのプロセス群3内のプロセスを監視対象プロセス群3a(図4参照)としてもよい。
On the other hand, after step S1, in parallel with the individual function processing in step S2, the attribute information acquisition unit 7a (see FIG. 1) in the
そして、この属性情報5を受けて、図4にプロセス群3の監視の監視関係図として開示されるように、制御部7における接続処理部7b(図1参照)は、プロセス群3の各プロセスをリング状(ループ状)に接続して監視対象プロセス群3a(接続プロセス群)を構築する(接続ステップS4)。すなわち、図3における監視対象11の属性情報が監視対象「○」となっているものを抽出して、たとえばプロセス番号の若い順に監視対象プロセス群3aを構築する。なお、後述するように、異常プロセス処理の結果に基づいてプロセス群3を接続してもよい。
Then, upon receiving this
次に、ステップS2の個別機能処理が稼働中かどうかを判定する(ステップS5)。すなわち、個別機能処理S2が終了していたら、ステップS5の監視処理系統を終了してもよいためである。その結果、個別機能処理の稼働が終了していたら監視処理系統を終了する(ステップS6)。 Next, it is determined whether or not the individual function processing in step S2 is in operation (step S5). That is, if the individual function process S2 is completed, the monitoring processing system in step S5 may be terminated. As a result, if the operation of the individual function processing is finished, the monitoring processing system is finished (step S6).
図5に開示されるように、記憶部2の内部において、プロセス群3の各プロセスは、監視機能処理を実現する監視機能処理部14と個別機能処理を実現する個別機能処理部15とを含んで構成されている。そして、制御部7の監視処理部7c(図1参照)からの制御により、監視機能処理部14が呼び出されて、監視プログラムとしての監視処理が実行される。図4は、この監視機能処理部14を用いて監視処理が実行される(ステップS7)時の自プロセスと監視先プロセスとの関係性を示している。すなわち、プロセスAがプロセスCを監視し、プロセスCがプロセスDを監視し、プロセスDがプロセスEを監視するといった関係性である。この関係性において、監視処理部7cは、たとえば図4のプロセスAからプロセスNを経由してプロセスAといったシーケンス的に一巡する形で監視を行ってもよいし、プロセスAがプロセスBを監視する間に、プロセスBがプロセスCを、プロセスCがプロセスDをといった形で並行して監視するようにしてもよい。
As disclosed in FIG. 5, in the
なお、監視プログラムは監視対象プロセス群3aの各々のプロセスを実行する各プログラムであり、図5のように監視対象プロセス群3aの監視に関する処理のプログラムに関するソースコードを共通化し、各プロセスの本来担当している処理と一緒にプログラムの実行ファイルを生成することで、各プロセスのプログラム製作時の製作担当者の負担が軽減される効果がある。また図6に示すように、ソースコードの共通化以外に、個別機能処理部15は個々に実行ファイルが作成され、ライブラリとして監視機能処理部14aを記憶部2の内部に格納してもよい。この場合、監視対象プロセス群3aの監視処理時に監視機能処理部14aから監視機能処理を動的に読み込みできるようにすることで、各プロセスのプログラム製作時の製作担当者の負担がさらに軽減される効果が存在する。
Note that the monitoring program is a program for executing each process of the monitoring
図7は、何らかの影響で、プロセスAからプロセスDまでは正常であるが、プロセスEがあるタイミングで異常プロセス4となった場合の監視対象プロセス群3aの状態を示している。具体的には、プロセスAからプロセスDまでは正常であり、たとえばプロセスDからプロセスEに監視処理として監視のための信号を送っても反応がない場合、プロセスEが異常プロセスとして発見される(ステップS8)。この場合、シーケンス的に一巡する形での監視を行う場合には、プロセスEより先のプロセスに対しては監視不可となるがが、上述したように並行して各プロセスが監視先プロセスを監視する形であれば、その先のプロセスもプロセスEの監視先プロセスを除いては監視可能な状態になっている。
FIG. 7 shows the state of the monitoring
そして、このプロセスEが異常プロセス4であることを発見したら、その情報を制御部7へと送信し、制御部7における異常プロセス処理部7d(図1参照)により異常プロセス処理を実行する(異常プロセス処理ステップS9)。異常プロセス処理とは、異常プロセス4が発見された場合には、装置1を正常に稼働し続けることができないと判断して警報を鳴らし、利用者に通知して装置1の復旧処置を求めることができる。あるいは自動的に装置1を再起動してもよい。一方、ステップS8にて異常プロセス4が発見されない場合には、再びステップS5に戻り、個別機能処理が稼働中かどうかを確認し、ステップS7での監視処理を継続することになる。
If the process E is found to be an
プロセス群3を監視対象プロセス群3aとして接続士して監視を行っているため、プロセス群3においてどのプロセスで異常プロセス4が発生したとしても、確実に異常プロセス4の発見が可能となる。また、監視プロセスを専門に設ける必要がないため、構成が簡易になる。
Since the
変形例1a
実施の形態1では、図2としてステップS9で終了していたが、本変形例1aにおいては、図8におけるステップS10として、図9のように、異常プロセス4となったプロセスDを縮退した後、監視対象プロセス群3aを再度監視対象としてループ接続し直すことを特徴とする。
Modification 1a
In the first embodiment, the process ends in step S9 as shown in FIG. 2, but in the present modified example 1a, after the process D that has become the
このようにすれば、異常プロセス4以外のプロセスを継続的に利用することができ、ユーザにとって、装置1を停止することなく、他の正常なプロセスを利用した機能を実行することが可能である。
In this way, processes other than the
実施の形態2.
図9は、プロセス群3の監視における異常プロセス発見時の状態を示す図である。実施の形態1では、図9のように、異常プロセス4となったプロセスEを縮退した後、監視対象プロセス群3aを再度監視対象としてループ接続し直していたが、本実施の形態では、監視対象プロセス群3aの各々のプロセスに対応した属性情報としての重要度に基づいて異常プロセス処理を行うことを特徴とする。
FIG. 9 is a diagram illustrating a state when an abnormal process is found in the monitoring of the
装置1を構成するプロセス群3の各々のプロセスには、本来担当している処理によってプロセス継続に対する重要度が存在する。たとえば、データ収集を担当するプロセスに異常が発生すると装置1で表示するデータが更新されなくなるため、監視用途をなさなくなってしまう。一方、グラフ表示機能を担当するプロセスでは、利用者がグラフ表示操作を行わない限り装置1の利用に支障はない。
Each process in the
そこで、図10に示すように属性情報5aには、プロセス名12と監視対象(要否)13の情報以外に、重要度16の情報が格納され、図11の属性情報5bでは、重要度16と対応する異常プロセス処理種類17とが格納されている。したがって、監視対象プロセス群3aの各プロセスは、図10に格納された重要度16に対応した異常プロセス処理種類17が実行されるように構成されている。具体的には、図10では装置1として重大な影響を及ぼすプロセス群3の各プロセスは、重要度:高い、または中などと記され、図11では、重要度が高いものは再起動、重要度が中のものはユーザに状態を通知しその後の処理を選択させ、重要度が低いものは機能縮退させるようになっている。
Therefore, as shown in FIG. 10, in the attribute information 5a, information on the
たとえば、図10におけるプロセスAは「監視対象」であり重要度が「高」となっている。したがって、図11の属性情報5bに従い、仮にプロセスAが異常プロセス4として検出された場合には、異常プロセス処理としては装置1を「再起動」することとなる。これは再起動することで異常プロセス4を正常に戻すことが可能と考えられるためである。一方、プロセスEが異常プロセス4として検出された場合、プロセスEは重要度が「低」のため、装置1の再起動ではなくプロセスEの機能縮退となる。
For example, the process A in FIG. 10 is “monitoring target” and the importance is “high”. Therefore, if the process A is detected as the
このようにして、装置1が異常であるとして警報を鳴らして再起動するか利用者に通知する一方、影響が軽微なプロセスでの異常については、異常プロセス4を縮退した上で、監視対象プロセス群3aのループを再構成(再接続)し、機能縮退状態で装置1を継続稼働させる。このループの再構成は、接続処理部7bが担ってもよいし、異常プロセス処理部7dが行ってもよい。
In this way, an alarm is sounded that the
そして縮退された異常プロセス4については、関係する機能への操作時にエラーメッセージなどでユーザへ通知する。なお、監視対象プロセス群3aがあまり重要度の高くない集合体である場合には、図10に示すような重要度の属性情報5aを用意せずに、異常プロセス4が発見された場合には自動的に異常プロセス4を縮退させて他の監視対象プロセス群3aを再接続してもよい。
The degenerated
以上により、重要度が高いプロセスが異常プロセス4となった場合には、当該異常プロセスを機能縮退して対応させるのではなく、装置1を再起動し、一方、非重要度が低いプロセスが異常プロセス4となった場合には機能縮退で対応する。よって、装置としての本来の機能を発揮し続けることと、ユーザの装置の操作に関する中断時間の減少とをバランスよく運用することが可能となる。
As described above, when a process having a high degree of importance becomes an
実施の形態3.
実施の形態2では、監視対象プロセス群3aの各々のプロセスの重要度に基づいて関し継続処理を行ったが、本実施の形態においては、監視処理の結果に基づく監視対象プロセス群3aの各々のプロセスの属性としての不安定度に応じて異常プロセス処理を行うことを特徴とする。
In the second embodiment, the continuation processing is performed based on the importance of each process of the monitoring
実施の形態1や2においては、異常プロセス4は機能縮退を行うか、異常プロセス4発見時には装置1としての再起動を行うものであるが、監視処理の結果として、監視対象プロセス群3aの各々のプロセスの種類においては安定か、不安定かという状態を検出することも可能となっている。すなわち、プロセスとして完全な異常ではないが、機能するときとしないときが存在するなどの状態を把握することが可能に構成されている。便宜上、これらの不安定な状態になった監視対象プロセス群3a内のプロセスも異常プロセス4と呼ぶ。そして、この安定状態においても、比較的安定性が高いものと低いものとがあり、本実施の形態においては、監視処理の結果として、異常プロセス内の不安定度を基にした異常プロセス処理を行うよう構成される。
In the first and second embodiments, the
図12には属性情報5c1として、監視対象プロセス群3aの各々のプロセス名12、不安定状態18、不安定度19に関する情報が、監視処理の結果として格納される。具体的には、安定状態の評価として「○:安定」、「△:不安定」、「×:機能停止」、「N/A:監視対象外」を示し、「△:不安定」の場合には監視処理の不安定度19として「高」、「中」、「低」の評価がされている。
In FIG. 12, as the attribute information 5c1, information on the
また、図13では、不安定度19と異常プロセス処理種類17に関する情報が属性情報5c2として格納されている。したがって、監視対象プロセス群3aは、図12の属性情報5c1として監視処理の結果として安定状態かどうか、不安定であるならばその不安定度はどの程度かに基づき、図13の属性情報5c2の異常プロセス処理種類に応じて、異常プロセス処理が実行される。
In FIG. 13, information on the degree of
たとえば、プロセスNは不安定であるが、不安定度は低い。よって、異常プロセス処理種類としては現状維持であり、より悪化するまではそのままにしておく。また、プロセスDは不安定であり、不安定度は中である。よって、ユーザに通知を行い、その後の処理を判断してもらう。そして、プロセスEは不安定であり、不安定度は高であるため、機能縮退を行う。 For example, process N is unstable, but the degree of instability is low. Therefore, the status of the abnormal process processing is maintained as it is, and is left as it is until it gets worse. Process D is unstable and the degree of instability is medium. Therefore, the user is notified and the subsequent processing is determined. Since the process E is unstable and the degree of instability is high, function degeneration is performed.
このようにして、監視対象プロセス群3aの不安定度を基にした異常プロセス処理を行うことで、異常プロセス4であってもある程度機能する場合には使い続けられ、不安度が増したものはユーザに判断させ、不安定度が高のものは機能縮退することにより、ユーザの装置1に対する中断時間を減らすことを抑制しつつ、本来の機能を発揮し続けることとのバランスをとった運用を行うことが可能となる。
In this way, by performing abnormal process processing based on the degree of instability of the monitored
実施の形態4.
上記の実施の形態では監視対象プロセス群3aの属性情報に基づいて、異常プロセス処理としての機能縮退や装置1の再起動などについて述べたが、本実施の形態においてはこの属性に基づき、監視対象プロセス群3aの接続構成を決定することを特徴としている。この場合の接続構成は、ある一つのプロセスを監視の起点として、シリアルで一つずつプロセスを監視するループ状の監視対象プロセス群とする際に効果的である。
In the above embodiment, the function degradation as the abnormal process processing and the restart of the
図10で記された属性情報5aを参照しつつ、重要度に基づいた監視対象プロセス群3aの接続図である図14を用いて、監視対象プロセス群3aの接続構成について説明する。監視対象プロセス群3aのうち、プロセスAは重要度が高く、プロセスC,D,F,Nは重要度が中であり、プロセスEは重要度が低く、プロセスF以降プロセスNまでは重要度が中であるとする。その場合、図14に記載するように、プロセスAが監視の起点となり、その後は重要度が中のプロセスが並び、最後は重要度が低いプロセスEとなる。この接続は、図2における接続ステップS4で実現される。
The connection configuration of the monitoring
このようにして、監視処理の中で重要なプロセスを先に監視することで、非重要なものを先に見る場合と比べて、重要なプロセスの監視ができなくなるという恐れが低減する。すなわち、重要度が低いプロセスを監視の起点側にすると、いったん異常プロセス4が起点側で発見されるとそれよりあとのプロセスに対する監視が進まず、万が一重要なプロセスが異常プロセス4となっていても監視が行き届かない。本実施の形態による監視対象プロセス群3aの接続方法により、重要なプロセスから優先して監視ができ、装置1全体の安定性の確保につながっている。
In this way, by monitoring an important process in the monitoring process first, the risk that an important process cannot be monitored is reduced as compared with a case where an unimportant one is viewed first. In other words, if a process with low importance is set as the monitoring start side, once the
変形例4a
実施の形態4では重要度の高いプロセスに注目した監視対象プロセス群の接続に注目したが、本変形例4aでは不安定度の高いプロセスに注目している点を特徴とする。図12で記された属性情報5c1を参照しつつ、不安定度(安定度、安定状態)に基づいた監視対象プロセス群3aの接続図である図15を用いて、監視対象プロセス群3aの接続構成について説明する。この場合の接続構成も、ループ状の監視対象プロセス群とする際に効果的である。
Modification 4a
In the fourth embodiment, attention is focused on the connection of the monitoring target process group focusing on the process having high importance. However, the present modification 4a is characterized by focusing on the process having high degree of instability. With reference to the attribute information 5c1 described in FIG. 12, the connection of the monitoring
監視対象プロセス群3aのうち、プロセスAおよびCは不安定要素がなく、すなわち安定状態であり、プロセスDからNは不安定状態にあるとする。不安状態となるプロセスの中で、プロセスNは不安定度が低く、プロセスEは不安定度が高く、プロセスDとF、プロセスF以降プロセスNの手前までを不安定度が中とする。そして、接続は図8における異常プロセス処理S10により次に監視処理をする際の監視対象プロセス群の順列が変更される。
Of the monitored
そして、図15に記載するように、プロセスA(またはプロセスC)が監視の起点となり、その後は不安定度が中のプロセスが並び、最後は不安定度が高いプロセスEとなる。このようにして、監視対象プロセス群3aに対する監視処理の中で安定したプロセスや不安定状態でも不安定度の低いプロセスを先に見ることで、不安定度の高いプロセスを先に見る場合と比べて、監視可能なプロセス数を多くできるという効果を発揮する。
Then, as shown in FIG. 15, process A (or process C) is the starting point of monitoring, and thereafter processes with a low degree of instability are arranged, and finally process E has a high degree of instability. In this way, in the monitoring process for the monitoring
すなわち、不安定度の高いプロセスを監視の起点側にすると、起点側で異常プロセス4が発生する可能性が高く、それより後のプロセスに対する監視が進まない恐れがあるが、本構成では監視可能なプロセス数を確保でき、いったん異常プロセス4が発生したとしても、それ以外の監視対象プロセス群3aのうちの多くのプロセスが正常であることを監視により確認することが可能である。したがって、重要度の高いプロセスを先に監視する構成と同様に、装置1全体の安定性の確保につながっている。
In other words, if a process with a high degree of instability is set as the monitoring start side, there is a high possibility that an
実施の形態5.
上記実施の形態1〜4では,装置1が包含する各プロセスについて内部処理の実施を想定していたが,表示画面を設けて、表示画面に監視に関する各種表示を行うことを特徴とする。図16は、本実施の形態に係る装置を示す構成図である。
In the first to fourth embodiments, it is assumed that internal processing is performed for each process included in the
図16から図18を用いて、表示画面20について詳細に説明を行う。図17は動作フローを示す図であり、図18は監視処理の結果を表示画面で示す図である。図17は図2で示した動作フローに対して、表示情報を生成するステップ(表示情報生成ステップS101)を設けたことを特徴とする。この表示情報生成ステップS101で生成された情報が、図16に記載される表示画面20に表示される。
The
たとえば、図3に記載される属性情報5に従って監視処理を行った結果、図12の監視処理結果が得られたとする。そして、その情報が、図18のように表示される。このように監視処理の概念を模した表示画面を設け、監視対象プロセス群3aの監視結果や異常の発生状況について表示することにより、監視状況や障害の発生状況を視覚的に把握できるようになり、利用者がより使いやすく、原因追求の時間短縮に効果が見込まれる。
For example, assume that the monitoring process result of FIG. 12 is obtained as a result of performing the monitoring process according to the
変形例5a
図19および図20を用いて本変形例について説明を行う。本変形例では、表示画面20上で,監視状況以外の関連情報を表示したり、表示画面20を参照しつつ異常プロセス処理ステップS9の異常プロセス処理として各種の操作ができるようにしたりしたことを特徴とする。具体的には、図19における表示情報を生成する(表示情報生成ステップS102)ステップを設けられている。たとえば、監視処理の結果としての関連情報21として、異常プロセス4のログを表示したり、関連情報22として異常プロセス4に対する処理方法の選択枝を表示したりすると、異常プロセスについての各種操作や状況把握を行うことができれば、より利用者にとって使いやすく,原因追求の更なる時間短縮が見込まれたり、装置1の中断時間を減らすことができる。
Modification 5a
This modification will be described with reference to FIGS. 19 and 20. In the present modification, related information other than the monitoring status is displayed on the
また、監視対象プロセス群3aの接続変更をユーザが行えるようにしてもよい。具体的には、入力部100によるマウスポインタ100aにより、ユーザ判断で不安定なプロセスについて監視除外(異常プロセス4の機能縮退)とするよう表示画面上にて操作を行うことが可能である。図20で説明すると、ユーザによる監視対象プロセス群3aの接続変更前は、プロセスDからプロセスEを経てプロセスFへと監視処理を行っていたところ、ユーザ判断により、マウスポインタ100aを利用して、プロセスDがプロセスFを監視する、すなわちプロセスEを機能縮退させている。この場合、利用者の判断で機能縮退を行うか決定できるため,ユーザの望む状態で安定した装置1を運用することが可能である。
Further, the user may be able to change the connection of the monitoring
変形例5b
本変形例では、表示画面20上で、予めユーザにより、異常プロセス4が発見された場合の異常プロセス処理に関する処理方法を決定できるよう構成されたことを特徴としている。
Modification 5b
This modification is characterized in that it is configured such that a processing method related to abnormal process processing when an
図21はユーザが設定可能な設定画面を表示画面20にて表示する図である。たとえば、監視対象プロセス群3aの属性情報としての重要度は不安定度を基に、異常プロセス処理ステップS9,S10が行われるようにユーザが設定する。具体的には、不安定度の程度に応じて、不安定度が「高」の時のみ装置1を自動的に再起動させたり、都度ユーザに処理方法を選択させたり、不安定度によらずに装置1を自動的に再起動させたりといったことを予め設定できる。また、装置1を再起動させる基準として、異常プロセスの重要度に基づいて自由に閾値を設定してもよい。
FIG. 21 shows a setting screen that can be set by the user on the
このようにして予めユーザにより取り決められた方法により異常プロセス処理ステップS9,S10が行われるようにしたため、異常プロセス4が発見された場合に都度どのように処理するかを選択する方法と比べて、ユーザに対する負担を減らすことが可能である。
In this way, since the abnormal process processing steps S9 and S10 are performed by a method determined in advance by the user, compared to a method of selecting how to process each time an
上記の各実施の形態においては装置1を構成する各プロセスについて言及したが、本構成はその他のシステムやミドルウエア、オペレーションシステムなど、複数のプロセスが分担・連携して動作することで機能を実現しているものにも適用することが可能である。
In each of the above-described embodiments, each process constituting the
なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせ、各実施の形態を適宜、変形、省略することが可能である。 Note 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 装置(監視装置)、2 記憶部、3 プロセス群(プロセスA〜プロセスN)、3a 監視対象プロセス群(接続プロセス群)、4 異常プロセス、5 属性情報、6 CPU、7 制御部、8 インタフェース回路、9 第1接続部(システムバス)、10 第2接続部(LAN)、11設備(監視対象)、14監視機能処理部(監視機能処理)、15 個別機能処理部(個別機能処理)、100 入力部、S3 属性情報取得ステップ、S4 接続ステップ、S7 監視処理ステップ、S9,S10異常プロセス処理ステップ。 1 device (monitoring device), 2 storage unit, 3 process group (process A to process N), 3a monitoring target process group (connected process group), 4 abnormal process, 5 attribute information, 6 CPU, 7 control unit, 8 interface Circuit, 9 first connection section (system bus), 10 second connection section (LAN), 11 equipment (monitoring target), 14 monitoring function processing section (monitoring function processing), 15 individual function processing section (individual function processing), 100 input unit, S3 attribute information acquisition step, S4 connection step, S7 monitoring processing step, S9, S10 abnormal process processing step.
Claims (26)
前記プロセス群内のプロセスを監視対象プロセス群として接続する接続処理部と、
前記監視対象プロセス群内の前記プロセス同士での監視処理を実行させる監視処理部と、を有する
ことを特徴とする監視装置。 A process group having a plurality of processes in which individual function processing and monitoring function processing are executed;
A connection processing unit for connecting the processes in the process group as a process group to be monitored;
And a monitoring processing unit that executes monitoring processing between the processes in the monitoring target process group.
ことを特徴とする請求項1に記載の監視装置。 2. The apparatus according to claim 1, further comprising: an abnormal process processing unit configured to execute an abnormal process for continuing the monitoring process when an abnormal process is detected in the monitoring target process group as a result of the monitoring process. Monitoring device.
ことを特徴とする請求項2に記載の監視装置。 The monitoring apparatus according to claim 2, wherein the abnormal process processing unit restarts the monitoring apparatus when the abnormal process is detected.
ことを特徴とする請求項2記載の監視装置。 The monitoring apparatus according to claim 2, wherein when the abnormal process is detected, the abnormal process processing unit excludes the abnormal process and reconnects the monitoring target process group.
前記接続処理部および前記異常プロセス処理部の少なくとも一方は前記属性情報に基づいて実行される
ことを特徴とする請求項2から4のいずれか一項に記載の監視装置。 Attribute information about each process in the process group is stored in the storage unit,
The monitoring apparatus according to claim 2, wherein at least one of the connection processing unit and the abnormal process processing unit is executed based on the attribute information.
ことを特徴とする請求項5に記載の監視装置。 The attribute information includes importance regarding each process of the process group.
The monitoring apparatus according to claim 5.
ことを特徴とする請求項7に記載の監視装置。 The monitoring apparatus according to claim 7, wherein the abnormal process processing unit excludes the abnormal process and reconnects the monitoring target process group when the importance of the abnormal process is low.
ことを特徴とする請求項7または8に記載の監視装置。 The monitoring apparatus according to claim 7, wherein the abnormal process processing unit restarts the monitoring apparatus when the importance of the abnormal process is high.
ことを特徴とする請求項5から9のいずれか一項に記載の監視装置。 The monitoring apparatus according to claim 5, wherein the attribute information includes an instability level of each process based on a result of the monitoring process.
ことを特徴とする請求項10に記載の監視装置。 The monitoring apparatus according to claim 10, wherein the abnormal process processing unit executes the abnormal process processing according to the degree of instability of each process.
ことを特徴とする請求項11に記載の監視装置。 The monitoring apparatus according to claim 11, wherein the abnormal process processing unit excludes the abnormal process and reconnects the monitoring target process group when the instability of the abnormal process is low.
ことを特徴とする請求項11または12に記載の監視装置。 The monitoring apparatus according to claim 11 or 12, wherein the abnormal process processing unit maintains the abnormal process when the instability of the abnormal process is low.
ことを特徴とする請求項6から9のいずれか一項に記載の監視装置。 When the connection processing unit connects the process group in a ring shape to be the monitoring target process group, the monitoring process is executed at a stage before the process having the lower importance level than the process having the lower importance level. The monitoring apparatus according to any one of claims 6 to 9, wherein the monitoring apparatus is configured to be performed.
ことを特徴とする請求項10から13のいずれか一項に記載の監視装置。 The connection processing unit connects the process group in a ring shape to form the monitoring target process group, and the monitoring process is performed at a stage before the process having the high degree of instability for the process having the low degree of instability. The monitoring apparatus according to claim 10, wherein: is executed.
ことを特徴とする請求項2から15のいずれか一項に記載の監視装置。 16. A display information generation unit that generates display information for displaying information on at least one of the connection processing unit, the monitoring processing unit, and the abnormal process processing unit on a screen. The monitoring device according to any one of the above.
ことを特徴とする請求項16に記載の監視装置。 The monitoring apparatus according to claim 16, wherein at least one of the connection processing unit and the abnormal process processing unit changes a connection configuration of the monitoring target process group according to information input to the display information by a user. .
前記表示情報生成部は、前記属性情報に応じた前記異常プロセス処理における処理の種類が選択可能な画面を表示し、
前記異常プロセス処理部は、ユーザにより選択された前記種類に応じて、前記異常プロセス処理を実行する
ことを特徴とする請求項5,6,10のいずれか一項に記載の監視装置。 A display information generating unit that generates display information for displaying information on at least one of the connection processing unit, the monitoring processing unit, and the abnormal process processing unit on a screen;
The display information generation unit displays a screen on which a type of processing in the abnormal process processing according to the attribute information can be selected,
The monitoring apparatus according to claim 5, wherein the abnormal process processing unit executes the abnormal process processing according to the type selected by a user.
前記プロセス群における監視対象プロセス群を互いに接続する接続ステップと、
前記接続ステップにより接続された監視対象プロセス群に対し、監視処理を実行する監視処理ステップと、を含む
ことを特徴とする監視方法。 A method for monitoring an apparatus having a process group consisting of a plurality of processes,
A connection step of connecting the monitoring target process group in the process group to each other;
And a monitoring process step for executing a monitoring process on the monitoring target process group connected in the connection step.
ことを特徴とする請求項19に記載の監視方法。 20. The monitoring method according to claim 19, further comprising an abnormal process processing step for continuing the monitoring process when an abnormal process is detected in the monitoring target process group in the monitoring process step.
ことを特徴とする請求項20に記載の監視方法。 The monitoring method according to claim 20, wherein the abnormal process processing step restarts the apparatus.
ことを特徴とする請求項20記載の監視方法。 21. The monitoring method according to claim 20, wherein in the abnormal process processing step, the abnormal process is excluded and the monitoring target process group is reconnected.
ことを特徴とする監視プログラム。 A monitoring program causing a computer to execute the monitoring method according to any one of claims 19 to 22.
ことを特徴とする請求項23記載の監視プログラム。 Each program that executes each process of the monitoring target process group, and includes an individual function processing unit that executes a function of each process and a monitoring function processing unit that performs a monitoring process. The monitoring program according to claim 23.
ことを特徴とする請求項24記載の監視プログラム。 The monitoring program according to claim 24, wherein the monitoring function processing unit has a common configuration in each of the programs.
ことを特徴とする請求項23に記載の監視プログラム。 The monitoring program according to claim 23, wherein the monitoring program is a monitoring function processing unit called from a library in each program that executes each process of the monitoring target process group.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017054470A JP6820777B2 (en) | 2017-03-21 | 2017-03-21 | Monitoring device, monitoring method, monitoring program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017054470A JP6820777B2 (en) | 2017-03-21 | 2017-03-21 | Monitoring device, monitoring method, monitoring program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018156546A true JP2018156546A (en) | 2018-10-04 |
| JP6820777B2 JP6820777B2 (en) | 2021-01-27 |
Family
ID=63717269
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017054470A Active JP6820777B2 (en) | 2017-03-21 | 2017-03-21 | Monitoring device, monitoring method, monitoring program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6820777B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0696040A (en) * | 1992-09-16 | 1994-04-08 | Nippon Telegr & Teleph Corp <Ntt> | Fault detection system |
| JP2002015986A (en) * | 2000-02-16 | 2002-01-18 | Cymer Inc | Process-monitoring system for lithography laser |
| JP2005031865A (en) * | 2003-07-09 | 2005-02-03 | Mitsubishi Electric Corp | Electronic control device having supervisory control circuit |
| JP2010039628A (en) * | 2008-08-01 | 2010-02-18 | Fujitsu Ltd | Control system, monitoring method, and program |
| WO2012077210A1 (en) * | 2010-12-09 | 2012-06-14 | 三菱電機株式会社 | Industrial self-diagnostic device |
-
2017
- 2017-03-21 JP JP2017054470A patent/JP6820777B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0696040A (en) * | 1992-09-16 | 1994-04-08 | Nippon Telegr & Teleph Corp <Ntt> | Fault detection system |
| JP2002015986A (en) * | 2000-02-16 | 2002-01-18 | Cymer Inc | Process-monitoring system for lithography laser |
| JP2005031865A (en) * | 2003-07-09 | 2005-02-03 | Mitsubishi Electric Corp | Electronic control device having supervisory control circuit |
| JP2010039628A (en) * | 2008-08-01 | 2010-02-18 | Fujitsu Ltd | Control system, monitoring method, and program |
| WO2012077210A1 (en) * | 2010-12-09 | 2012-06-14 | 三菱電機株式会社 | Industrial self-diagnostic device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6820777B2 (en) | 2021-01-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110569305B (en) | Block synchronization method, device, medium and computing equipment | |
| US12111738B2 (en) | Managing data center failure events | |
| US8140914B2 (en) | Failure-model-driven repair and backup | |
| US11157373B2 (en) | Prioritized transfer of failure event log data | |
| CN114238495A (en) | Database active and standby cluster switching method, device, computer equipment and storage medium | |
| US20150121145A1 (en) | Synchronized debug information generation | |
| JP2011129028A (en) | Test support device for optimizing test scenario to minimize total test time, test device, test support method, and computer program | |
| CN113312153A (en) | Cluster deployment method and device, electronic equipment and storage medium | |
| CN116881225A (en) | Node deployment method, node deployment device, electronic equipment and computer readable storage medium | |
| CN113744064A (en) | Method and apparatus for performing transactions in block link points | |
| JP4239989B2 (en) | Fault recovery system, fault recovery device, rule creation method, and fault recovery program | |
| CN121050922A (en) | Fault prediction method and program product for operating system | |
| JP6209862B2 (en) | Program, job monitoring support method, information processing apparatus and system | |
| JP6820777B2 (en) | Monitoring device, monitoring method, monitoring program | |
| CN114416696A (en) | Data migration method and device, electronic equipment and storage medium | |
| WO2020100634A1 (en) | Restoration support device, restoration support method, and program | |
| CN117130629A (en) | System upgrade method and computing device | |
| JP6224985B2 (en) | Notification device and notification method | |
| CN120929313B (en) | Troubleshooting methods and electronic devices for multi-controller storage systems | |
| JP2020177489A (en) | Control methods, control programs, and information processing equipment | |
| CN114443341B (en) | Methods for detecting downed servers, and methods and devices for high-availability recovery of databases. | |
| CN116467282B (en) | A database creation method, apparatus, and storage medium | |
| CN115080309B (en) | Data backup systems, methods, storage media, and electronic devices | |
| CN119415325B (en) | Failover method, apparatus, medium and product for equipment automated manufacturing system | |
| CN119759664A (en) | Fault transfer method, medium and product of database cluster |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191115 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200910 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200915 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20200923 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201030 |
|
| 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: 20201208 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210105 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6820777 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |