[go: up one dir, main page]

JP2018156546A - Monitoring device, monitoring method, monitoring program - Google Patents

Monitoring device, monitoring method, monitoring program Download PDF

Info

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
Application number
JP2017054470A
Other languages
Japanese (ja)
Other versions
JP6820777B2 (en
Inventor
昌之 田尾
Masayuki Tao
昌之 田尾
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2017054470A priority Critical patent/JP6820777B2/en
Publication of JP2018156546A publication Critical patent/JP2018156546A/en
Application granted granted Critical
Publication of JP6820777B2 publication Critical patent/JP6820777B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

【課題】プロセス群に対する監視をより安定して行うことを目的とする。
【解決手段】本発明に係る監視装置1は、個別機能処理14および監視機能処理15が実行されるプロセスを複数有するプロセス群3と、プロセス群3内のプロセスを監視対象プロセス群3aとして接続する接続処理部7bと、監視対象プロセス群同士での監視を実行させる監視処理部7dと、を有することを特徴とする。
【選択図】図1
An 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).

特開平6−214962号公報(要約等参照)Japanese Patent Application Laid-Open No. 6-214962 (see abstract, etc.)

特許文献1では、各プロセスに対して上位に位置する監視専門プロセスを備え、各プロセスが正常に稼働しているか否かを監視することが開示されている。しかしながら、監視専門プロセスが不具合などで正常に稼働しなくなると、各プロセスの監視を行うことができなくなるという課題が存在する。   Patent Document 1 discloses that a monitoring specialized process positioned higher than each process is provided to monitor whether each process is operating normally. However, there is a problem that if the specialized monitoring process does not operate normally due to a defect or the like, it becomes impossible to monitor each process.

本発明は上記のような課題を解決するためになされたものであり、個別機能を備えたプロセス群に対する監視をより安定して行うことを目的とする。   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.

実施の形態1に係る装置を示す構成図である。1 is a configuration diagram illustrating an apparatus according to Embodiment 1. FIG. 実施の形態1に係る動作フローを示す図である。FIG. 4 is a diagram showing an operation flow according to the first embodiment. 実施の形態1に係るプロセス群の属性情報(監視対象要否)を示す図である。It is a figure which shows the attribute information (monitoring necessity necessity) of the process group which concerns on Embodiment 1. FIG. 実施の形態1に係るプロセス群の監視関係図である。FIG. 4 is a monitoring relationship diagram of process groups according to the first embodiment. 実施の形態1に係るプロセスの内部構造を示す図である。2 is a diagram showing an internal structure of a process according to Embodiment 1. FIG. 実施の形態1に係るプロセスの内部構造を示す図である。2 is a diagram showing an internal structure of a process according to Embodiment 1. FIG. 実施の形態1に係るプロセス監視における異常プロセス発見時の状態を示す図である。It is a figure which shows the state at the time of the abnormal process discovery in the process monitoring which concerns on Embodiment 1. FIG. 実施の形態1の変形例1aに係る動作フローを示す図である。6 is a diagram showing an operation flow according to a modified example 1a of the first embodiment. FIG. 実施の形態1の変形例1aに係るプロセス群の監視における異常プロセス発見時の状態を示す図である。It is a figure which shows the state at the time of abnormal process discovery in the monitoring of the process group which concerns on the modification 1a of Embodiment 1. FIG. 実施の形態2に係るプロセス群の属性情報(監視対象要否と重要度の関係性)を示す図である。It is a figure which shows the attribute information (relationship between necessity of monitoring object and importance) of the process group which concerns on Embodiment 2. FIG. 実施の形態2に係る重要度と異常プロセス処理種類との関係性を記した属性情報を示す図である。It is a figure which shows the attribute information which described the relationship between the importance which concerns on Embodiment 2, and an abnormal process process type. 実施の形態3に係るプロセス群の属性情報(安定状態の有無、不安定度)を示す図である。It is a figure which shows the attribute information (the presence or absence of a stable state, instability) of the process group which concerns on Embodiment 3. FIG. 実施の形態3に係る不安定度と異常プロセス処理種類との関係性を記した属性情報を示す図である。It is a figure which shows the attribute information which described the relationship between the instability and abnormal process process kind which concern on Embodiment 3. FIG. 実施の形態4に係る重要度に基づいた監視対象プロセス群の接続図である。FIG. 10 is a connection diagram of monitoring target process groups based on importance according to a fourth embodiment. 実施の形態4の変形例4aに係る不安定度に基づいた監視対象プロセス群の接続図である。FIG. 20 is a connection diagram of monitoring target process groups based on the degree of instability according to Modification 4a of Embodiment 4. 実施の形態5に係る装置を示す構成図である。FIG. 10 is a configuration diagram illustrating an apparatus according to a fifth embodiment. 実施の形態5に係る動作フローを示す図である。FIG. 10 is a diagram showing an operation flow according to the fifth embodiment. 実施の形態5に係る表示画面を示す図である。FIG. 10 is a diagram showing a display screen according to a fifth embodiment. 実施の形態5の変形例5aに係る動作フローを示す図である。FIG. 20 is a diagram showing an operation flow according to Modification 5a of Embodiment 5. 実施の形態5の変形例5aに係る表示画面を示す図である。FIG. 16 is a diagram showing a display screen according to modification 5a of the fifth embodiment. 実施の形態5の変形例5bに係る表示画面を示す図である。FIG. 16 shows a display screen according to modification 5b of the fifth embodiment.

以下に、本発明の実施の形態にかかる監視方法、監視プログラム、監視装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。また、各実施の形態で同等の構成や部材などについては、同一の符号を付してその説明を省略などする。   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が混在している場合がある。
Embodiment 1 FIG.
A first embodiment of the present invention will be described with reference to FIG. FIG. 1 shows an apparatus 1 for managing water level, electric power, etc. The monitoring apparatus in the present invention is a monitoring apparatus as the apparatus 1 itself or a subset of elements related to monitoring in the apparatus 1. It monitors whether or not a plurality of included processes are operating normally. The device 1 includes a storage unit 2, a CPU 6 as a processing circuit, a control unit 7 that receives a command from the CPU 6 and controls the device 1, and an interface circuit 8, each of which includes a system bus as a first connection unit. 9 is configured to be communicable. The storage unit 2 includes attribute information 5 for performing mutual monitoring of each process of the process group 3 (process A to process N, N: natural number) and each process of the process group 3. The process group 3 may include an abnormal process 4 that does not function normally.

CPU6と制御部7により、記憶部2に格納されたプロセス群3を呼び出し、装置1とは第2接続部としてのLAN10で接続された監視対象である設備11に対する各種の処理を行う。たとえば、設備11は道路や河川あるいはビルなどであり、呼び出されたプロセス群3内の各プロセスは、入力部100によるユーザからの入力情報に基づき実行される、設備11に関する個別機能処理として、データ蓄積、異常値検出、グラフ表示、帳票表示、連動処理といった機能を分担して実行するように構成されている。具体的には、プロセスAがデータ蓄積機能を担当し、プロセスBが異常値検出機能を担当し、プロセスCがグラフ表示機能を担当するといったように構成されている。また、入力情報は、キーボードやマウスなどのハードウェア、音声認識などでもよい。   The process group 3 stored in the storage unit 2 is called by the CPU 6 and the control unit 7, and various processes are performed on the equipment 11 that is the monitoring target connected to the apparatus 1 through the LAN 10 as the second connection unit. For example, the equipment 11 is a road, a river, a building, or the like, and each process in the called process group 3 is executed as individual function processing related to the equipment 11 that is executed based on input information from the user by the input unit 100. Functions such as accumulation, abnormal value detection, graph display, form display, and interlocking processing are shared and executed. Specifically, the process A is in charge of the data storage function, the process B is in charge of the abnormal value detection function, and the process C is in charge of the graph display function. The input information may be hardware such as a keyboard and a mouse, voice recognition, and the like.

また、制御部7は、属性情報5から属性情報を取得する属性情報取得部7aと、プロセス群3の各々のプロセスを接続する接続処理部7bと、接続処理部7bにより接続されたプロセス群3に対し、プロセス群3の各プロセス同士での監視処理を実行させる監視処理部7cと、監視処理部7cの結果を受けてプロセス群3に対する動作を行わせる異常プロセス処理部7dとを含んで構成される。   The control unit 7 also includes an attribute information acquisition unit 7a that acquires attribute information from the attribute information 5, a connection processing unit 7b that connects each process of the process group 3, and a process group 3 connected by the connection processing unit 7b. On the other hand, it includes a monitoring processing unit 7c that executes monitoring processing between processes in the process group 3, and an abnormal process processing unit 7d that receives the result of the monitoring processing unit 7c and performs an operation on the process group 3. Is done.

なお、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 CPU 6 is an example of a processing circuit, and may be a DSP (Digital Signal Processor) and a system LSI (Large Scale Integration) in addition to a CPU (Central Processing Unit). The storage unit 2 includes a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Enable Program Read Only Memory) and other nonvolatile or volatile semiconductor memories, a magnetic disk, a flexible memory, It is configured to include one or more of an optical disc, a compact disc, and a DVD (Digital Versatile Disc). The configuration of the hardware has been described with respect to the first embodiment, but each embodiment of the present invention can employ the same hardware configuration.

次に動作について図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 apparatus 1 and is described step by step. First, an activation command for the process group 3 is generated from the control unit 7 based on a trigger (not shown) or information input by the user (step S1). Then, individual function processing of the device 1, that is, data accumulation for the equipment 11, detection of abnormal values, and the like are executed (step S2).

一方、ステップ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 control unit 7 reads the attribute information 5 regarding the process group 3 as the start of the monitoring process flow. Perform (attribute information acquisition step S3). FIG. 3 is a diagram showing attribute information related to each process in the process group 3, and stores information on the process name 12 and the monitoring target (necessity) 13. Those to be monitored are defined by “◯”, and those not to be monitored are defined by “×”. As a setting method of this attribute information 5, a process that does not fall into an abnormality in the process group 3, a process that has multiple processes and no problem even if an abnormality occurs, and a process that does not want to be loaded are excluded from monitoring. May be. Although it is efficient to perform the monitoring process on the monitoring target process group based on the attribute information 5, all the processes in the process group 3 are not monitored without reading the attribute information 5. (See FIG. 4).

そして、この属性情報5を受けて、図4にプロセス群3の監視の監視関係図として開示されるように、制御部7における接続処理部7b(図1参照)は、プロセス群3の各プロセスをリング状(ループ状)に接続して監視対象プロセス群3a(接続プロセス群)を構築する(接続ステップS4)。すなわち、図3における監視対象11の属性情報が監視対象「○」となっているものを抽出して、たとえばプロセス番号の若い順に監視対象プロセス群3aを構築する。なお、後述するように、異常プロセス処理の結果に基づいてプロセス群3を接続してもよい。   Then, upon receiving this attribute information 5, the connection processing unit 7 b (see FIG. 1) in the control unit 7 receives each attribute of the process group 3 as disclosed in FIG. Are connected in a ring shape (loop shape) to construct a monitoring target process group 3a (connection process group) (connection step S4). That is, the monitoring target process group 3a in which the attribute information of the monitoring target 11 in FIG. As will be described later, the process group 3 may be connected based on the result of the abnormal process.

次に、ステップ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 storage unit 2, each process of the process group 3 includes a monitoring function processing unit 14 that implements monitoring function processing and an individual function processing unit 15 that implements individual function processing. It consists of Then, under the control of the control unit 7 from the monitoring processing unit 7c (see FIG. 1), the monitoring function processing unit 14 is called and monitoring processing as a monitoring program is executed. FIG. 4 shows the relationship between the own process and the monitored process when the monitoring process is executed using the monitoring function processing unit 14 (step S7). That is, the relationship is such that the process A monitors the process C, the process C monitors the process D, and the process D monitors the process E. In this relationship, the monitoring processing unit 7c may monitor the process A in a sequence, for example, from the process A to the process A via the process N in FIG. 4 or the process A monitors the process B. In the meantime, the process B may monitor the process C and the process C may monitor the process D in parallel.

なお、監視プログラムは監視対象プロセス群3aの各々のプロセスを実行する各プログラムであり、図5のように監視対象プロセス群3aの監視に関する処理のプログラムに関するソースコードを共通化し、各プロセスの本来担当している処理と一緒にプログラムの実行ファイルを生成することで、各プロセスのプログラム製作時の製作担当者の負担が軽減される効果がある。また図6に示すように、ソースコードの共通化以外に、個別機能処理部15は個々に実行ファイルが作成され、ライブラリとして監視機能処理部14aを記憶部2の内部に格納してもよい。この場合、監視対象プロセス群3aの監視処理時に監視機能処理部14aから監視機能処理を動的に読み込みできるようにすることで、各プロセスのプログラム製作時の製作担当者の負担がさらに軽減される効果が存在する。   Note that the monitoring program is a program for executing each process of the monitoring target process group 3a. As shown in FIG. 5, the source code related to the monitoring process of the monitoring target process group 3a is shared, and each process is originally in charge. Generating a program execution file together with the processing being performed has the effect of reducing the burden on the person in charge of production when creating a program for each process. As shown in FIG. 6, in addition to sharing the source code, the individual function processing unit 15 may individually create an execution file and store the monitoring function processing unit 14 a as a library in the storage unit 2. In this case, by making it possible to dynamically read the monitoring function process from the monitoring function processing unit 14a during the monitoring process of the monitoring target process group 3a, the burden on the production staff at the time of producing the program for each process is further reduced. There is an effect.

図7は、何らかの影響で、プロセスAからプロセスDまでは正常であるが、プロセスEがあるタイミングで異常プロセス4となった場合の監視対象プロセス群3aの状態を示している。具体的には、プロセスAからプロセスDまでは正常であり、たとえばプロセスDからプロセスEに監視処理として監視のための信号を送っても反応がない場合、プロセスEが異常プロセスとして発見される(ステップS8)。この場合、シーケンス的に一巡する形での監視を行う場合には、プロセスEより先のプロセスに対しては監視不可となるがが、上述したように並行して各プロセスが監視先プロセスを監視する形であれば、その先のプロセスもプロセスEの監視先プロセスを除いては監視可能な状態になっている。   FIG. 7 shows the state of the monitoring target process group 3a when the process A to the process D is normal due to some influence, but the process E becomes the abnormal process 4 at a certain timing. Specifically, the processes from process A to process D are normal. For example, when there is no reaction even if a signal for monitoring is sent as a monitoring process from process D to process E, process E is discovered as an abnormal process ( Step S8). In this case, when monitoring is performed in a sequence, the process prior to the process E cannot be monitored, but each process monitors the monitoring destination process in parallel as described above. In this manner, the processes ahead of the process E can be monitored except for the process E monitored process.

そして、このプロセスEが異常プロセス4であることを発見したら、その情報を制御部7へと送信し、制御部7における異常プロセス処理部7d(図1参照)により異常プロセス処理を実行する(異常プロセス処理ステップS9)。異常プロセス処理とは、異常プロセス4が発見された場合には、装置1を正常に稼働し続けることができないと判断して警報を鳴らし、利用者に通知して装置1の復旧処置を求めることができる。あるいは自動的に装置1を再起動してもよい。一方、ステップS8にて異常プロセス4が発見されない場合には、再びステップS5に戻り、個別機能処理が稼働中かどうかを確認し、ステップS7での監視処理を継続することになる。   If the process E is found to be an abnormal process 4, the information is transmitted to the control unit 7, and the abnormal process processing is executed by the abnormal process processing unit 7d (see FIG. 1) in the control unit 7 (abnormal). Process processing step S9). Abnormal process processing means that if abnormal process 4 is found, it is determined that device 1 cannot continue to operate normally, an alarm is sounded, and a notification is sent to the user to request a recovery action for device 1. Can do. Alternatively, the apparatus 1 may be automatically restarted. On the other hand, if the abnormal process 4 is not found in step S8, the process returns to step S5 again to check whether the individual function process is in operation, and the monitoring process in step S7 is continued.

プロセス群3を監視対象プロセス群3aとして接続士して監視を行っているため、プロセス群3においてどのプロセスで異常プロセス4が発生したとしても、確実に異常プロセス4の発見が可能となる。また、監視プロセスを専門に設ける必要がないため、構成が簡易になる。   Since the process group 3 is connected as a monitoring target process group 3a and monitoring is performed, the abnormal process 4 can be surely discovered regardless of which process the abnormal process 4 occurs in the process group 3. Further, since it is not necessary to provide a special monitoring process, the configuration is simplified.

変形例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 abnormal process 4 is reduced as shown in FIG. The monitoring target process group 3a is again connected as a monitoring target to be loop-connected.

このようにすれば、異常プロセス4以外のプロセスを継続的に利用することができ、ユーザにとって、装置1を停止することなく、他の正常なプロセスを利用した機能を実行することが可能である。   In this way, processes other than the abnormal process 4 can be continuously used, and the user can execute functions using other normal processes without stopping the apparatus 1. .

実施の形態2.
図9は、プロセス群3の監視における異常プロセス発見時の状態を示す図である。実施の形態1では、図9のように、異常プロセス4となったプロセスEを縮退した後、監視対象プロセス群3aを再度監視対象としてループ接続し直していたが、本実施の形態では、監視対象プロセス群3aの各々のプロセスに対応した属性情報としての重要度に基づいて異常プロセス処理を行うことを特徴とする。
Embodiment 2. FIG.
FIG. 9 is a diagram illustrating a state when an abnormal process is found in the monitoring of the process group 3. In the first embodiment, as shown in FIG. 9, after the process E that has become the abnormal process 4 is degenerated, the monitoring target process group 3a is loop-connected again as the monitoring target, but in this embodiment, the monitoring process is monitored. An abnormal process is performed based on the importance as attribute information corresponding to each process of the target process group 3a.

装置1を構成するプロセス群3の各々のプロセスには、本来担当している処理によってプロセス継続に対する重要度が存在する。たとえば、データ収集を担当するプロセスに異常が発生すると装置1で表示するデータが更新されなくなるため、監視用途をなさなくなってしまう。一方、グラフ表示機能を担当するプロセスでは、利用者がグラフ表示操作を行わない限り装置1の利用に支障はない。   Each process in the process group 3 constituting the apparatus 1 has a degree of importance for process continuity depending on the process that is originally in charge. For example, if an abnormality occurs in the process in charge of data collection, the data displayed on the device 1 is not updated, so that the monitoring application is not performed. On the other hand, in the process in charge of the graph display function, there is no problem in using the apparatus 1 unless the user performs a graph display operation.

そこで、図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 importance 16 is stored in addition to the information on the process name 12 and the monitoring target (necessity) 13, and in the attribute information 5b in FIG. And the corresponding abnormal process type 17 are stored. Therefore, each process of the monitoring target process group 3a is configured to execute the abnormal process processing type 17 corresponding to the importance 16 stored in FIG. Specifically, in FIG. 10, each process in the process group 3 that has a significant influence as the apparatus 1 is described as importance: high or medium. In FIG. 11, those having high importance are restarted and important. If the degree is medium, the user is notified of the state and the subsequent process is selected, and if the degree of importance is low, the function is degraded.

たとえば、図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 abnormal process 4 according to the attribute information 5b of FIG. 11, the apparatus 1 is “restarted” as the abnormal process. This is because it is considered possible to return the abnormal process 4 to normal by restarting. On the other hand, when the process E is detected as the abnormal process 4, since the importance of the process E is “low”, the function of the process E is reduced rather than the restart of the apparatus 1.

このようにして、装置1が異常であるとして警報を鳴らして再起動するか利用者に通知する一方、影響が軽微なプロセスでの異常については、異常プロセス4を縮退した上で、監視対象プロセス群3aのループを再構成(再接続)し、機能縮退状態で装置1を継続稼働させる。このループの再構成は、接続処理部7bが担ってもよいし、異常プロセス処理部7dが行ってもよい。   In this way, an alarm is sounded that the device 1 is abnormal and the user is restarted or notified to the user. On the other hand, with respect to an abnormality in a process with a slight influence, the abnormal process 4 is degenerated and the monitored process The loop of the group 3a is reconfigured (reconnected), and the apparatus 1 is continuously operated in the function degenerate state. The reconfiguration of the loop may be performed by the connection processing unit 7b or may be performed by the abnormal process processing unit 7d.

そして縮退された異常プロセス4については、関係する機能への操作時にエラーメッセージなどでユーザへ通知する。なお、監視対象プロセス群3aがあまり重要度の高くない集合体である場合には、図10に示すような重要度の属性情報5aを用意せずに、異常プロセス4が発見された場合には自動的に異常プロセス4を縮退させて他の監視対象プロセス群3aを再接続してもよい。   The degenerated abnormal process 4 is notified to the user by an error message or the like when operating the related function. When the monitoring target process group 3a is an aggregate that is not so important, when the abnormal process 4 is found without preparing the attribute information 5a of importance as shown in FIG. The abnormal process 4 may be automatically degenerated and another monitoring target process group 3a may be reconnected.

以上により、重要度が高いプロセスが異常プロセス4となった場合には、当該異常プロセスを機能縮退して対応させるのではなく、装置1を再起動し、一方、非重要度が低いプロセスが異常プロセス4となった場合には機能縮退で対応する。よって、装置としての本来の機能を発揮し続けることと、ユーザの装置の操作に関する中断時間の減少とをバランスよく運用することが可能となる。   As described above, when a process having a high degree of importance becomes an abnormal process 4, the apparatus 1 is restarted instead of reducing the function of the abnormal process and the process having a low degree of importance is abnormal. When the process 4 is reached, the function is degenerated. Therefore, it is possible to maintain a good balance between continuing to exhibit the original function of the device and reducing the interruption time related to the user's operation of the device.

実施の形態3.
実施の形態2では、監視対象プロセス群3aの各々のプロセスの重要度に基づいて関し継続処理を行ったが、本実施の形態においては、監視処理の結果に基づく監視対象プロセス群3aの各々のプロセスの属性としての不安定度に応じて異常プロセス処理を行うことを特徴とする。
Embodiment 3 FIG.
In the second embodiment, the continuation processing is performed based on the importance of each process of the monitoring target process group 3a. However, in this embodiment, each of the monitoring target process group 3a based on the result of the monitoring processing is performed. An abnormal process is performed according to the degree of instability as an attribute of the process.

実施の形態1や2においては、異常プロセス4は機能縮退を行うか、異常プロセス4発見時には装置1としての再起動を行うものであるが、監視処理の結果として、監視対象プロセス群3aの各々のプロセスの種類においては安定か、不安定かという状態を検出することも可能となっている。すなわち、プロセスとして完全な異常ではないが、機能するときとしないときが存在するなどの状態を把握することが可能に構成されている。便宜上、これらの不安定な状態になった監視対象プロセス群3a内のプロセスも異常プロセス4と呼ぶ。そして、この安定状態においても、比較的安定性が高いものと低いものとがあり、本実施の形態においては、監視処理の結果として、異常プロセス内の不安定度を基にした異常プロセス処理を行うよう構成される。   In the first and second embodiments, the abnormal process 4 performs function degradation or restarts as the apparatus 1 when the abnormal process 4 is found. As a result of the monitoring process, each of the monitoring target process groups 3a It is also possible to detect whether the process type is stable or unstable. That is, although it is not a complete abnormality as a process, it is configured to be able to grasp a state where there is a case where it does not function and a case where it does not function. For convenience, the processes in the monitoring target process group 3a that are in an unstable state are also called abnormal processes 4. Even in this stable state, there are relatively high and low stability, and in this embodiment, as a result of monitoring processing, abnormal process processing based on the degree of instability in the abnormal process is performed. Configured to do.

図12には属性情報5c1として、監視対象プロセス群3aの各々のプロセス名12、不安定状態18、不安定度19に関する情報が、監視処理の結果として格納される。具体的には、安定状態の評価として「○:安定」、「△:不安定」、「×:機能停止」、「N/A:監視対象外」を示し、「△:不安定」の場合には監視処理の不安定度19として「高」、「中」、「低」の評価がされている。   In FIG. 12, as the attribute information 5c1, information on the process name 12, the unstable state 18, and the degree of instability 19 of each monitoring target process group 3a is stored as a result of the monitoring process. Specifically, as the evaluation of the stable state, “○: stable”, “△: unstable”, “×: out of function”, “N / A: not monitored” indicates “△: unstable” Are evaluated as “high”, “medium”, and “low” as the instability 19 of the monitoring process.

また、図13では、不安定度19と異常プロセス処理種類17に関する情報が属性情報5c2として格納されている。したがって、監視対象プロセス群3aは、図12の属性情報5c1として監視処理の結果として安定状態かどうか、不安定であるならばその不安定度はどの程度かに基づき、図13の属性情報5c2の異常プロセス処理種類に応じて、異常プロセス処理が実行される。   In FIG. 13, information on the degree of instability 19 and the abnormal process processing type 17 is stored as attribute information 5c2. Therefore, the monitoring target process group 3a has the attribute information 5c1 shown in FIG. 12 based on whether or not the attribute information 5c1 shown in FIG. 12 is in a stable state as a result of the monitoring process. Abnormal process processing is executed according to the abnormal process processing type.

たとえば、プロセス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 process group 3a, even if the abnormal process 4 functions to some extent, it can continue to be used and the degree of anxiety has increased. Let the user make a decision, and if the degree of instability is high, the function is degraded, so that the reduction of the interruption time to the user's device 1 is suppressed, and the operation is balanced with continuing to perform the original function. Can be done.

実施の形態4.
上記の実施の形態では監視対象プロセス群3aの属性情報に基づいて、異常プロセス処理としての機能縮退や装置1の再起動などについて述べたが、本実施の形態においてはこの属性に基づき、監視対象プロセス群3aの接続構成を決定することを特徴としている。この場合の接続構成は、ある一つのプロセスを監視の起点として、シリアルで一つずつプロセスを監視するループ状の監視対象プロセス群とする際に効果的である。
Embodiment 4 FIG.
In the above embodiment, the function degradation as the abnormal process processing and the restart of the apparatus 1 are described based on the attribute information of the monitoring target process group 3a. In the present embodiment, the monitoring target is based on this attribute. The connection configuration of the process group 3a is determined. The connection configuration in this case is effective when a monitoring target process group is used as a monitoring target process group that serially monitors processes one by one.

図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 target process group 3a will be described with reference to the attribute information 5a shown in FIG. 10 and using FIG. 14 which is a connection diagram of the monitoring target process group 3a based on the importance. Of the monitoring target process group 3a, the process A is high in importance, the processes C, D, F, and N are medium in importance, the process E is low in importance, and the process F and subsequent processes N are important. Suppose that it is inside. In this case, as shown in FIG. 14, process A becomes the starting point of monitoring, thereafter, processes with medium importance are arranged, and process E with low importance is finally arranged. This connection is realized in connection step S4 in FIG.

このようにして、監視処理の中で重要なプロセスを先に監視することで、非重要なものを先に見る場合と比べて、重要なプロセスの監視ができなくなるという恐れが低減する。すなわち、重要度が低いプロセスを監視の起点側にすると、いったん異常プロセス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 abnormal process 4 is found on the start side, monitoring of the subsequent processes does not proceed. Even monitoring is not perfect. According to the connection method of the monitoring target process group 3a according to the present embodiment, monitoring can be performed preferentially from important processes, and the stability of the entire apparatus 1 is ensured.

変形例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 target process group 3a using FIG. 15, which is a connection diagram of the monitoring target process group 3a based on the degree of instability (stability, stable state). The configuration will be described. The connection configuration in this case is also effective when a loop-like monitoring target process group is used.

監視対象プロセス群3aのうち、プロセスAおよびCは不安定要素がなく、すなわち安定状態であり、プロセスDからNは不安定状態にあるとする。不安状態となるプロセスの中で、プロセスNは不安定度が低く、プロセスEは不安定度が高く、プロセスDとF、プロセスF以降プロセスNの手前までを不安定度が中とする。そして、接続は図8における異常プロセス処理S10により次に監視処理をする際の監視対象プロセス群の順列が変更される。   Of the monitored process group 3a, the processes A and C have no unstable elements, that is, are in a stable state, and the processes D to N are in an unstable state. Among the processes that are in an anxious state, the process N has a low degree of instability, the process E has a high degree of instability, and the processes D and F, the process F and the process N before the process N are considered to have a medium instability. Then, the permutation of the monitoring target process group in the next monitoring process is changed by the abnormal process process S10 in FIG.

そして、図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 target process group 3a, a stable process or a process with a low degree of instability even in an unstable state is seen first, so that a process with a high degree of instability is seen first. This is effective in increasing the number of processes that can be monitored.

すなわち、不安定度の高いプロセスを監視の起点側にすると、起点側で異常プロセス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 abnormal process 4 will occur on the starting side, and monitoring of subsequent processes may not proceed, but this configuration can be monitored. Thus, even if the abnormal process 4 occurs once, it is possible to confirm by monitoring that many processes in the other monitoring target process group 3a are normal. Accordingly, the stability of the entire apparatus 1 is ensured as in the configuration in which the process with high importance is monitored first.

実施の形態5.
上記実施の形態1〜4では,装置1が包含する各プロセスについて内部処理の実施を想定していたが,表示画面を設けて、表示画面に監視に関する各種表示を行うことを特徴とする。図16は、本実施の形態に係る装置を示す構成図である。
Embodiment 5. FIG.
In the first to fourth embodiments, it is assumed that internal processing is performed for each process included in the apparatus 1, but a display screen is provided and various displays related to monitoring are performed on the display screen. FIG. 16 is a block diagram showing an apparatus according to the present embodiment.

図16から図18を用いて、表示画面20について詳細に説明を行う。図17は動作フローを示す図であり、図18は監視処理の結果を表示画面で示す図である。図17は図2で示した動作フローに対して、表示情報を生成するステップ(表示情報生成ステップS101)を設けたことを特徴とする。この表示情報生成ステップS101で生成された情報が、図16に記載される表示画面20に表示される。   The display screen 20 will be described in detail with reference to FIGS. FIG. 17 is a diagram showing an operation flow, and FIG. 18 is a diagram showing a result of monitoring processing on a display screen. FIG. 17 is characterized in that a display information generation step (display information generation step S101) is provided for the operation flow shown in FIG. The information generated in the display information generation step S101 is displayed on the display screen 20 shown in FIG.

たとえば、図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 attribute information 5 described in FIG. The information is displayed as shown in FIG. In this way, by providing a display screen that mimics the concept of monitoring processing and displaying the monitoring results and abnormality occurrence status of the monitored process group 3a, it becomes possible to visually grasp the monitoring situation and the failure occurrence situation. , It is easier for users to use and is expected to be effective in shortening the time to pursue the cause.

変形例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 display screen 20, or various operations can be performed as the abnormal process processing in the abnormal process processing step S9 while referring to the display screen 20. Features. Specifically, a step of generating display information (display information generation step S102) in FIG. 19 is provided. For example, when the log of the abnormal process 4 is displayed as the related information 21 as a result of the monitoring process, or the processing method selection for the abnormal process 4 is displayed as the related information 22, various operations and situations regarding the abnormal process are displayed. If it can be grasped, it is easier for the user to use, and further time reduction of the cause search can be expected, or the interruption time of the apparatus 1 can be reduced.

また、監視対象プロセス群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 target process group 3a. Specifically, it is possible to perform an operation on the display screen by using the mouse pointer 100a by the input unit 100 so as to exclude a process unstable by the user's judgment from being monitored (function degeneration of the abnormal process 4). Referring to FIG. 20, before the connection change of the monitoring target process group 3a by the user, the monitoring process is performed from the process D to the process F through the process E. By the user judgment, the mouse pointer 100a is used. The process D monitors the process F, that is, the function of the process E is degraded. In this case, since it is possible to determine whether to perform the function degeneration based on the judgment of the user, it is possible to operate the stable device 1 in a state desired by the user.

変形例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 abnormal process 4 is found in advance can be determined by the user on the display screen 20.

図21はユーザが設定可能な設定画面を表示画面20にて表示する図である。たとえば、監視対象プロセス群3aの属性情報としての重要度は不安定度を基に、異常プロセス処理ステップS9,S10が行われるようにユーザが設定する。具体的には、不安定度の程度に応じて、不安定度が「高」の時のみ装置1を自動的に再起動させたり、都度ユーザに処理方法を選択させたり、不安定度によらずに装置1を自動的に再起動させたりといったことを予め設定できる。また、装置1を再起動させる基準として、異常プロセスの重要度に基づいて自由に閾値を設定してもよい。   FIG. 21 shows a setting screen that can be set by the user on the display screen 20. For example, the importance as the attribute information of the monitoring target process group 3a is set by the user so that the abnormal process processing steps S9 and S10 are performed based on the degree of instability. Specifically, depending on the degree of instability, the apparatus 1 is automatically restarted only when the degree of instability is “high”, or the user is allowed to select a processing method each time. It is possible to set in advance that the apparatus 1 is automatically restarted. Further, as a reference for restarting the apparatus 1, a threshold value may be freely set based on the importance of the abnormal process.

このようにして予めユーザにより取り決められた方法により異常プロセス処理ステップ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 abnormal process 4 is found, It is possible to reduce the burden on the user.

上記の各実施の形態においては装置1を構成する各プロセスについて言及したが、本構成はその他のシステムやミドルウエア、オペレーションシステムなど、複数のプロセスが分担・連携して動作することで機能を実現しているものにも適用することが可能である。   In each of the above-described embodiments, each process constituting the apparatus 1 has been described, but this configuration realizes a function by a plurality of processes such as other systems, middleware, and operation systems that operate in a shared and coordinated manner. It is possible to apply also to what is doing.

なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせ、各実施の形態を適宜、変形、省略することが可能である。   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.
前記異常プロセス処理部は、前記異常プロセスに対応する前記重要度に応じて前記異常プロセス処理を実行することを特徴とする請求項6に記載の監視装置。   The monitoring apparatus according to claim 6, wherein the abnormal process processing unit executes the abnormal process according to the importance corresponding to the abnormal process. 前記異常プロセス処理部は、前記異常プロセスの前記重要度が低い場合には、前記異常プロセスを除外して前記監視対象プロセス群を再接続する
ことを特徴とする請求項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.
請求項19から請求項22のいずれか一項に記載の前記監視方法を、コンピュータに実行させる
ことを特徴とする監視プログラム。
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.
JP2017054470A 2017-03-21 2017-03-21 Monitoring device, monitoring method, monitoring program Active JP6820777B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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