JP2017207995A - Service monitoring device and service monitoring method - Google Patents

Service monitoring device and service monitoring method Download PDF

Info

Publication number
JP2017207995A
JP2017207995A JP2016101119A JP2016101119A JP2017207995A JP 2017207995 A JP2017207995 A JP 2017207995A JP 2016101119 A JP2016101119 A JP 2016101119A JP 2016101119 A JP2016101119 A JP 2016101119A JP 2017207995 A JP2017207995 A JP 2017207995A
Authority
JP
Japan
Prior art keywords
service
character string
monitoring
unit
failure
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
JP2016101119A
Other languages
Japanese (ja)
Other versions
JP6574146B2 (en
Inventor
励 野元
Rei Momoto
励 野元
浩二 徳丸
Koji Tokumaru
浩二 徳丸
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016101119A priority Critical patent/JP6574146B2/en
Publication of JP2017207995A publication Critical patent/JP2017207995A/en
Application granted granted Critical
Publication of JP6574146B2 publication Critical patent/JP6574146B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce burden of a system operator without restricting an application range to services, and monitor an application service without depending on program knowledge or correction ability of the system operator.SOLUTION: A server 20 includes: a service use execution part 231 for acquiring a user operation procedure and executing services; a determination information extracting part 232 for extracting a character string from respective images indicating an execution result of the services executed multiple times in beforehand by the service use execution part 231; a monitoring information setting part 233 for discriminating character string portions that are common among the multiple character strings extracted by the determination information extracting part 232, and setting the common character string portions as monitoring information; and a failure determination part 234 for determining existence of failure in executing the services, on the basis of a comparison between the character strings extracted from the images indicating the execution result of the services reproduced by the service use execution part 231 and the character string portions set as the monitoring information.SELECTED DRAWING: Figure 1

Description

本発明は、サービス監視装置及びサービス監視方法に関する。   The present invention relates to a service monitoring apparatus and a service monitoring method.

近年のシステムリソースの仮想化及び動的な構成変更が行われているシステムの運用においては、システム障害によるアプリケーションサービス利用者への影響を迅速に検出する必要がある。このため、従来から行われているハードウェア故障の検知だけでなく、アプリケーションサービスの正常性を監視することが必要とされる。また、アプリケーションサービスでは、アプリケーションごとに、構成や動作が異なるため、標準的な監視方法が確立されておらず、個々に監視方法を作成する必要がある。   In the operation of a system in which system resource virtualization and dynamic configuration change are performed in recent years, it is necessary to quickly detect the influence on the application service user due to a system failure. For this reason, it is necessary to monitor not only the conventional hardware failure detection but also the normality of the application service. In addition, since application services have different configurations and operations for each application, a standard monitoring method has not been established, and it is necessary to create a monitoring method individually.

従来、アプリケーションサービスの監視方法を自動的に生成するために、記述したフロー図に基づきサービスが生成するログを解析し、解析結果からサービスに対応した監視プログラムを生成、実行するサービス監視方法が提案されている(例えば、特許文献1参照)。   Conventionally, in order to automatically generate a monitoring method for application services, a service monitoring method has been proposed in which a log generated by a service is analyzed based on the described flow diagram, and a monitoring program corresponding to the service is generated and executed from the analysis result. (For example, refer to Patent Document 1).

また、APM(Application Performance Management)と呼ばれるアプリケーションの性能測定によりサービスの正常性や改善箇所等を確認してアプリケーションサービスを管理する方法が提案されている(例えば、非特許文献1参照)。   In addition, a method called application performance management (APM) for managing an application service by confirming the normality of the service or an improved portion by measuring the performance of the application has been proposed (for example, see Non-Patent Document 1).

特開2000−47912号公報JP 2000-47912 A

“Java(登録商標) run-time monitoring, Part 1: Run-time performance and availability monitoring for Java systems,” [平成28年5月10日検索,インターネット<URL:http://www.ibm.com/developerworks/library/j-rtm1/index.html>“Java (registered trademark) run-time monitoring, Part 1: Run-time performance and availability monitoring for Java systems,” [Search May 10, 2016, Internet <URL: http://www.ibm.com/ developerworks / library / j-rtm1 / index.html>

しかしながら、従来の方法では、システム運用者の負担が大きく、適用範囲が制限されるという問題や、プログラムの知識や修正が必要となり、アプリケーションサービスの監視作業が煩雑であることが問題であった。   However, the conventional method has a problem that the burden on the system operator is large and the application range is limited, and knowledge and correction of the program are necessary, and the monitoring work of the application service is complicated.

具体的に、特許文献1記載の方法では、サービスごとにログを解析するためのフロー図を作成する必要があり、システム運用者にフロー図作成の負担が必要であった。また、特許文献1記載の方法では、監視対象のアプリケーションサービスが、フロー図から監視方法の生成が可能なログが出力されるサービス内容である必要があり、適用範囲が制限されるという問題があった。   Specifically, in the method described in Patent Document 1, it is necessary to create a flow diagram for analyzing a log for each service, and it is necessary for a system operator to create a flow diagram. In addition, the method described in Patent Document 1 requires that the application service to be monitored be a service content in which a log that can generate a monitoring method is output from a flow diagram, which limits the scope of application. It was.

また、非特許文献1記載の方法では、アプリケーションサービスの性能を測定するために、システム運用者に、アプリケーションサービスのプログラムの知識や、アプリケーションサービスの修正能力が必要であるという問題があった。   Further, the method described in Non-Patent Document 1 has a problem that the system operator needs knowledge of the application service program and the ability to modify the application service in order to measure the performance of the application service.

本発明は、上記に鑑みてなされたものであって、サービスへの適用範囲を制限せず、システム運用者の負荷を低減するとともに、システム運用者のプログラムの知識や修正能力によらず、アプリケーションサービスの監視を可能にするサービス監視装置及びサービス監視方法を提供することを目的とする。   The present invention has been made in view of the above, and does not limit the scope of application to the service, reduces the load on the system operator, and does not depend on the knowledge or correction ability of the system operator's program. It is an object of the present invention to provide a service monitoring apparatus and a service monitoring method that enable service monitoring.

上述した課題を解決し、目的を達成するために、本発明に係るサービス監視装置は、サービスを実行するユーザ操作手順を取得し、サービスを実行するサービス利用実行部と、サービス利用実行部に予め複数回実行させたサービスの実行結果を示すそれぞれの画像から文字列を抽出する判定情報抽出部と、判定情報抽出部が抽出した複数の文字列のうち共通する文字列部分を判別し、少なくとも共通する文字列部分を監視情報として設定する監視情報設定部と、サービス利用実行部に再現させたサービスの実行結果を示す画像から判定対象として抽出した文字列と、監視情報として設定された文字列部分との比較を基に、サービスの実行の障害の有無を判定する障害判定部と、を有することを特徴とする。   In order to solve the above-described problems and achieve the object, the service monitoring apparatus according to the present invention acquires a user operation procedure for executing a service, and executes a service use execution unit for executing the service and a service use execution unit in advance. A determination information extraction unit that extracts a character string from each image indicating the execution result of a service that has been executed a plurality of times, and a common character string portion among a plurality of character strings extracted by the determination information extraction unit are determined and at least common A monitoring information setting unit for setting a character string part to be monitored as monitoring information, a character string extracted as a determination target from an image showing a service execution result reproduced by the service use execution unit, and a character string part set as monitoring information And a failure determination unit that determines whether or not there is a failure in execution of the service based on the comparison.

本発明によれば、サービスへの適用範囲を制限せず、システム運用者の負荷を低減するとともに、システム運用者のプログラムの知識や修正能力によらず、アプリケーションサービスの監視を可能にする。   According to the present invention, the application range to a service is not limited, the load on the system operator is reduced, and the application service can be monitored regardless of the system operator's program knowledge and correction capability.

図1は、本発明の実施の形態に係るサービス監視システムの構成の一例を説明するための図である。FIG. 1 is a diagram for explaining an example of the configuration of a service monitoring system according to an embodiment of the present invention. 図2は、判定情報の一例を説明する図である。FIG. 2 is a diagram illustrating an example of determination information. 図3は、監視情報の一例を説明する図である。FIG. 3 is a diagram illustrating an example of monitoring information. 図4は、図1に示す障害判定部の判定処理を説明する図である。FIG. 4 is a diagram illustrating the determination process of the failure determination unit illustrated in FIG. 図5は、図1に示す障害判定部の判定処理を説明する図である。FIG. 5 is a diagram illustrating the determination process of the failure determination unit illustrated in FIG. 図6は、図1に示すサーバによるサービス監視処理の流れを説明する図である。FIG. 6 is a diagram for explaining the flow of service monitoring processing by the server shown in FIG. 図7は、本実施の形態に係るサービス監視処理の処理手順を示すフローチャートである。FIG. 7 is a flowchart showing a processing procedure of service monitoring processing according to the present embodiment. 図8は、図7に示す事前設定処理の処理手順を示すフローチャートである。FIG. 8 is a flowchart showing the processing procedure of the pre-setting process shown in FIG. 図9は、図7に示す監視処理の処理手順を示すフローチャートである。FIG. 9 is a flowchart showing a processing procedure of the monitoring process shown in FIG. 図10は、プログラムが実行されることによりサーバが実現されるコンピュータの一例を示す図である。FIG. 10 is a diagram illustrating an example of a computer in which a server is realized by executing a program.

以下、図面を参照して、本発明の一実施形態を詳細に説明する。なお、この実施の形態により本発明が限定されるものではない。また、図面の記載において、同一部分には同一の符号を付して示している。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In addition, this invention is not limited by this embodiment. Moreover, in description of drawing, the same code | symbol is attached | subjected and shown to the same part.

[実施の形態]
まず、実施の形態に係るサービス監視装置を有するサービス監視システムについて、サービス監視システムの概略構成及びサービス監視装置における処理の流れ及び具体例を説明する。
[Embodiment]
First, regarding a service monitoring system having a service monitoring apparatus according to an embodiment, a schematic configuration of the service monitoring system, a processing flow in the service monitoring apparatus, and a specific example will be described.

[サービス監視システムの構成]
まず、図1を参照して、実施の形態に係るサービス監視システムの構成について説明する。図1は、本発明の実施の形態に係るサービス監視システムの構成の一例を説明するための図である。
[Service monitoring system configuration]
First, the configuration of a service monitoring system according to an embodiment will be described with reference to FIG. FIG. 1 is a diagram for explaining an example of the configuration of a service monitoring system according to an embodiment of the present invention.

図1に示すように、実施の形態1に係るサービス監視システム1は、監視端末10及び
サーバ(サービス管理装置)20を有する。監視端末10及びサーバ20は、例えば、専用回線等で接続される。サーバ20は、例えばLAN等で、アプリケーションサービス(以降、「サービス」とする。)を提供するアプリケーションサーバ30と接続する。アプリケーションサーバ30は、インターネット等のネットワーク40を介して、アプリケーションサーバ30によって提供されたサービスを利用するユーザ端末50と接続する。
As shown in FIG. 1, the service monitoring system 1 according to the first embodiment includes a monitoring terminal 10 and a server (service management device) 20. The monitoring terminal 10 and the server 20 are connected by, for example, a dedicated line. The server 20 is connected to an application server 30 that provides an application service (hereinafter referred to as “service”) via, for example, a LAN. The application server 30 is connected to a user terminal 50 that uses a service provided by the application server 30 via a network 40 such as the Internet.

監視端末10は、入力デバイスによるサービス利用時のユーザ操作手順を取得するとともに、サーバ20による障害判定結果をディスプレイ等から出力する。   The monitoring terminal 10 acquires a user operation procedure when using the service by the input device, and outputs a failure determination result by the server 20 from a display or the like.

サーバ20は、アプリケーションサーバ30が提供するサービスの実行の障害の有無を判定する。サーバ20は、事前設定処理として、取得したユーザ操作手順を基に予め複数回実行したサービスの実行結果を示すそれぞれの画像から文字列を抽出し、抽出した複数の文字列のうち、少なくとも共通する文字列部分を監視情報として設定する。したがって、サーバ20は、サービスの実行結果を示す画像から、サービス実行の障害の有無の判定の基となる情報(監視情報)を抽出する作業を、自動的に実行する。続いて、サーバ20は、定期的に再現したサービスの実行結果を示す画像から判定対象として抽出した文字列と、監視情報として設定された文字列部分との比較を基に、サービスの実行の障害の有無を判定する監視処理を実行する。   The server 20 determines whether there is a failure in executing the service provided by the application server 30. The server 20 extracts a character string from each image indicating an execution result of a service executed a plurality of times in advance based on the acquired user operation procedure as a pre-setting process, and at least is common among the extracted character strings. Set the character string part as monitoring information. Therefore, the server 20 automatically performs an operation of extracting information (monitoring information) that is a basis for determining whether or not there is a failure in service execution from an image indicating the service execution result. Subsequently, the server 20 determines the failure in executing the service based on the comparison between the character string extracted as the determination target from the image showing the service execution result reproduced periodically and the character string portion set as the monitoring information. A monitoring process for determining whether or not there is a problem is executed.

[監視端末の構成]
ここで、監視端末10の構成について説明する。監視端末10は、図1に示すように、入力部11、制御部12、通信部13、記憶部14及び出力部15を有する。
[Configuration of monitoring terminal]
Here, the configuration of the monitoring terminal 10 will be described. As illustrated in FIG. 1, the monitoring terminal 10 includes an input unit 11, a control unit 12, a communication unit 13, a storage unit 14, and an output unit 15.

入力部11は、システムの運用者からの各種操作を受け付ける入力インタフェースである。例えば、入力部11は、キーボード、マウス、タッチパネル、音声入力デバイス等の入力デバイスによって構成される。システムの運用者が予めサービスを利用するための操作を実行することによって、入力部11は、サービスを実行するユーザ操作手順を取得する。このユーザ操作手順は、ユーザ操作イベント(マウス操作やキーボード入力)を示す情報である。なお、システムの運用者は、入力部11を介して、実際のサービス利用のユーザと同様の操作手順を行う。   The input unit 11 is an input interface that receives various operations from the system operator. For example, the input unit 11 includes an input device such as a keyboard, a mouse, a touch panel, and a voice input device. When the system operator executes an operation for using the service in advance, the input unit 11 acquires a user operation procedure for executing the service. This user operation procedure is information indicating a user operation event (mouse operation or keyboard input). Note that the system operator performs the same operation procedure as that of the actual service use user via the input unit 11.

制御部12は、各種の処理手順などを規定したプログラム及び所要データを格納するための内部メモリを有し、これらによって種々の処理を実行する。例えば、制御部12は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)などの電子回路である。   The control unit 12 has an internal memory for storing a program that defines various processing procedures and the necessary data, and executes various processes using these programs. For example, the control unit 12 is an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit).

通信部13は、サーバ20との間で、各種情報を送受信する通信インタフェースである。記憶部14は、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、又は、ハードディスク、光ディスク等の記憶装置によって実現され、監視端末10を動作させる処理プログラムや、処理プログラムの実行中に使用されるデータなどが記憶される。   The communication unit 13 is a communication interface that transmits and receives various types of information to and from the server 20. The storage unit 14 is realized by a semiconductor memory device such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk. Data used during execution is stored.

出力部15は、例えば、液晶ディスプレイやプリンタ等であって、サービスの実行の管理に関する各種情報を出力する。出力部15は、サーバ20によるサービスの障害の有無に関する判定結果を出力する。   The output unit 15 is, for example, a liquid crystal display, a printer, or the like, and outputs various types of information related to management of service execution. The output unit 15 outputs a determination result regarding the presence or absence of a service failure by the server 20.

[サーバの構成]
次に、サーバ20の構成について説明する。サーバ20は、通信部21、記憶部22及び制御部23を有する。
[Server configuration]
Next, the configuration of the server 20 will be described. The server 20 includes a communication unit 21, a storage unit 22, and a control unit 23.

通信部21は、監視端末10と、アプリケーションサーバ30との間で、各種情報を送受信する通信インタフェースである。   The communication unit 21 is a communication interface that transmits and receives various types of information between the monitoring terminal 10 and the application server 30.

記憶部22は、RAM、フラッシュメモリ等の半導体メモリ素子、又は、ハードディスク、光ディスク等の記憶装置によって実現され、サーバ20を動作させる処理プログラムや、処理プログラムの実行中に使用されるデータなどが記憶される。記憶部22は、ユーザ操作記憶部221、判定情報記憶部222及び監視情報記憶部223を有する。   The storage unit 22 is realized by a semiconductor memory device such as a RAM or a flash memory, or a storage device such as a hard disk or an optical disk, and stores a processing program for operating the server 20, data used during execution of the processing program, and the like. Is done. The storage unit 22 includes a user operation storage unit 221, a determination information storage unit 222, and a monitoring information storage unit 223.

ユーザ操作記憶部221は、サービスを実行するユーザ操作手順を記憶する。このユーザ操作手順は、監視端末10の入力部11が取得したものであり、サーバ20は、通信部13,21を介して、このユーザ操作手順を監視端末10から受信し、ユーザ操作記憶部221に記憶する。ユーザ操作記憶部221は、サービスごとにユーザ操作手順を記憶する。   The user operation storage unit 221 stores a user operation procedure for executing a service. The user operation procedure is acquired by the input unit 11 of the monitoring terminal 10, and the server 20 receives the user operation procedure from the monitoring terminal 10 via the communication units 13 and 21, and the user operation storage unit 221. To remember. The user operation storage unit 221 stores a user operation procedure for each service.

判定情報記憶部222は、判定情報抽出部232(後述)が、サービス利用実行部231(後述)に予め実行させたサービスの実行結果を示す画像から抽出した文字列を、判定情報として記憶する。判定情報記憶部222は、同一のユーザ操作手順について、複数の判定情報を記憶する。   The determination information storage unit 222 stores, as determination information, a character string extracted from an image indicating an execution result of a service executed in advance by a service use execution unit 231 (described later) by a determination information extraction unit 232 (described later). The determination information storage unit 222 stores a plurality of pieces of determination information for the same user operation procedure.

図2は、判定情報の一例を説明する図である。図2は、事前設定処理(後述)において、予め複数回実行されたサービスAのログイン結果を示すそれぞれの画像から抽出した文字列を含む画像を示す。図2の(a)の上段には、例えば、一度目の実行結果に対応する画像G1を示し、図2の(a)の下段には、二度目の実行結果に対応する画像G2を示す。画像G1の領域R11a,R11b,R12a,R12bには、文字列「サービスAにログイン」,「ログイン時刻:」,「09」,「:」,「11」が含まれる。画像G2のR21a,R21b,R22a,R22bには、文字列「サービスAにログイン」,「ログイン時刻:」,「10」,「:」,「14」が含まれる。なお、図2の(b)には、監視画像Gtも示す。この監視画像Gtについては後述する。   FIG. 2 is a diagram illustrating an example of determination information. FIG. 2 shows an image including a character string extracted from each image indicating a login result of the service A that has been executed a plurality of times in advance in the pre-setting process (described later). For example, the upper part of FIG. 2A shows an image G1 corresponding to the first execution result, and the lower part of FIG. 2A shows an image G2 corresponding to the second execution result. The regions R11a, R11b, R12a, and R12b of the image G1 include character strings “Login to service A”, “Login time:”, “09”, “:”, and “11”. R21a, R21b, R22a, and R22b of the image G2 include character strings “login to service A”, “login time:”, “10”, “:”, and “14”. Note that FIG. 2B also shows a monitoring image Gt. This monitoring image Gt will be described later.

監視情報記憶部223は、監視情報設定部233(後述)によって設定された監視情報を記憶する。監視情報記憶部223は、サービスごとに監視情報を記憶する。監視情報は、判定情報記憶部222が記憶する文字列を基に設定される。ここで、具体的に、図3を参照して、監視情報について説明する。   The monitoring information storage unit 223 stores the monitoring information set by the monitoring information setting unit 233 (described later). The monitoring information storage unit 223 stores monitoring information for each service. The monitoring information is set based on a character string stored in the determination information storage unit 222. Here, the monitoring information will be specifically described with reference to FIG.

図3は、監視情報の一例を説明する図である。図3に示す監視画像Gtは、サービスAのログイン結果に対応する監視情報であり、サービスAのログイン結果を示す画像から抽出した文字列を含む画像情報である。図3では、説明のために、監視画像Gtは、領域R1a,R1b,R2a,R2bに区切っている。   FIG. 3 is a diagram illustrating an example of monitoring information. The monitoring image Gt illustrated in FIG. 3 is monitoring information corresponding to the login result of the service A, and is image information including a character string extracted from an image indicating the login result of the service A. In FIG. 3, the monitoring image Gt is divided into regions R1a, R1b, R2a, and R2b for explanation.

領域R1aは、文字列「サービスAにログイン」,「ログイン時刻:」を含む。領域R1bは、文字列「:」を含む。この領域R1a,R1bの文字列は、サービスAに対するログイン操作を行った場合に常に示されるものであり、サービスAのログイン実行結果を示す画像において共通する部分である。このため、この領域R1a,R1bの文字列は、サービスAのログイン実行時には、一致が必要である文字列部分であるとして、監視情報設定部233によって監視情報として設定される。障害判定部234(後述)では、この領域R1a,R1bの文字列部分を判定対象となる文字列と比較することによって、このサービスAの障害の有無が判定される。   The region R1a includes the character strings “Login to service A” and “Login time:”. The region R1b includes a character string “:”. The character strings in the areas R1a and R1b are always displayed when a login operation is performed on the service A, and are common parts in the image indicating the login execution result of the service A. For this reason, the character strings in the regions R1a and R1b are set as monitoring information by the monitoring information setting unit 233, assuming that the character strings need to be matched when the service A is logged in. In the failure determination unit 234 (described later), the presence or absence of a failure in the service A is determined by comparing the character string portions of the areas R1a and R1b with the character string to be determined.

一方、領域R2a,R2bは、文字列「hh」,「mm」を含む。この領域R2aの文字列は、サービスAのログイン時刻の時を示す文字列であり、領域R2bの文字列は、サービスAのログイン時刻の分を示す文字列である。したがって、これらの領域R2a,R2bの文字列は、ログインを実行する度に文字列が変化する部分である。このため、領域R2a,R2bの文字列部分は、変化を許容する文字列部分として、監視情報設定部233によって設定される。障害判定部234(後述)は、判定対象となる文字列のうち、この領域R2a,R2bに対応する部分に、時或いは分を示す数字が示されているかについても判断し、サービスAの障害の有無を判定する。   On the other hand, the regions R2a and R2b include character strings “hh” and “mm”. The character string in the area R2a is a character string indicating the time of the login time of the service A, and the character string in the area R2b is a character string indicating the minutes of the login time of the service A. Therefore, the character strings in these regions R2a and R2b are portions where the character strings change every time login is executed. For this reason, the character string portions of the regions R2a and R2b are set by the monitoring information setting unit 233 as character string portions that allow change. The failure determination unit 234 (described later) also determines whether or not a number corresponding to the regions R2a and R2b in the character string to be determined includes a number indicating an hour or minute, and the failure of the service A Determine presence or absence.

図1に戻り、制御部23について説明する。制御部23は、各種の処理手順などを規定したプログラム及び所要データを格納するための内部メモリを有し、これらによって種々の処理を実行する。例えば、制御部23は、CPUやMPUなどの電子回路である。制御部23は、サービス利用実行部231、判定情報抽出部232、監視情報設定部233及び障害判定部234を有する。   Returning to FIG. 1, the controller 23 will be described. The control unit 23 has an internal memory for storing a program that defines various processing procedures and the necessary data, and executes various processes using these. For example, the control unit 23 is an electronic circuit such as a CPU or MPU. The control unit 23 includes a service use execution unit 231, a determination information extraction unit 232, a monitoring information setting unit 233, and a failure determination unit 234.

サービス利用実行部231は、サービスを実行するユーザ操作手順を記憶し、サービスを実行する。言い換えると、サービス利用実行部231は、監視端末10の入力部11から取得したサービス利用時のユーザ操作手順を、ユーザ操作記憶部221に記憶する。そして、サービス利用実行部231は、ユーザ操作記憶部221に記憶するユーザ操作手順を用いて、ユーザ操作イベント(マウス操作やキーボード入力)を再現し、ユーザのサービス利用を実行する。そして、サービス利用実行部231は、実行させたサービスの実行結果を示す画像、すなわち、サービス利用画面のキャプチャ画像を取得する。   The service use execution unit 231 stores a user operation procedure for executing a service and executes the service. In other words, the service use execution unit 231 stores the user operation procedure at the time of service use acquired from the input unit 11 of the monitoring terminal 10 in the user operation storage unit 221. Then, the service use execution unit 231 reproduces a user operation event (mouse operation or keyboard input) using the user operation procedure stored in the user operation storage unit 221 and executes the user's service use. Then, the service use execution unit 231 acquires an image indicating the execution result of the executed service, that is, a captured image of the service use screen.

例えば、サービス利用実行部231は、監視情報を事前に設定するための事前設定処理では、監視情報の設定対象であるサービスを、予め複数回実行し、このサービスの各実行結果を示すそれぞれの画像を取得する。一方、サービス利用実行部231は、サービスの障害の有無を監視する監視処理では、監視対象であるサービスを定期的に再現し、このサービスの実行結果を示す画像を取得する。サービス利用実行部231は、監視処理では、監視対象であるサービスを、例えば5分に1回、再現する。   For example, in the pre-setting process for setting the monitoring information in advance, the service use execution unit 231 executes the service for which the monitoring information is to be set a plurality of times in advance, and displays each execution result of the service. To get. On the other hand, in the monitoring process for monitoring the presence / absence of a failure in the service, the service use execution unit 231 periodically reproduces the service to be monitored and acquires an image indicating the execution result of the service. In the monitoring process, the service use execution unit 231 reproduces the service to be monitored, for example, once every 5 minutes.

判定情報抽出部232は、事前設定処理において、サービス利用実行部231に予め複数回実行させたサービスの実行結果を示すそれぞれの画像から判定情報として文字列を抽出する。言い換えると、判定情報抽出部232は、事前設定対象のサービスに対する同一のユーザ操作について、複数の判定情報を取得する。また、判定情報抽出部232は、監視処理において、サービス利用実行部231が定期的に実行した監視対象のサービスの実行結果を示すそれぞれの画像から判定対象として文字列を抽出する。判定情報抽出部232は、サービス利用実行部231から出力された複数のキャプチャ画像のそれぞれに対し、文字認識(OCR(Optical Character Recognition/Reader))等)により、文字列を抽出する。判定情報抽出部232は、抽出した文字列を判定情報記憶部222に記憶させる。   The determination information extraction unit 232 extracts a character string as determination information from each image indicating the execution result of the service executed by the service use execution unit 231 a plurality of times in advance in the pre-setting process. In other words, the determination information extraction unit 232 acquires a plurality of pieces of determination information for the same user operation for the preset target service. In addition, the determination information extraction unit 232 extracts a character string as a determination target from each image indicating the execution result of the monitored service periodically executed by the service use execution unit 231 in the monitoring process. The determination information extraction unit 232 extracts a character string by character recognition (OCR (Optical Character Recognition / Reader)) or the like for each of the plurality of captured images output from the service use execution unit 231. The determination information extraction unit 232 stores the extracted character string in the determination information storage unit 222.

具体的には、図2を参照して、事前設定処理における判定情報抽出部232による文字列の抽出処理を説明する。まず、画像G1のR11a,R11b,R12a,R12bには、文字列「サービスAにログイン」,「ログイン時刻:」,「09」,「:」,「11」が含まれる。このため、判定情報抽出部232は、R11a,R11b,R12a,R12bから、各文字列「サービスAにログイン」,「ログイン時刻:」,「09」,「:」,「11」を抽出する。一方、画像G2のR21a,R21b,R22a,R22bには、文字列「サービスAにログイン」,「ログイン時刻:」,「10」,「:」,「14」が含まれる。このため、判定情報抽出部232は、R21a,R21b,R22a,R22bから、文字列「サービスAにログイン」,「ログイン時刻:」,「10」,「:」,「11」を抽出する。そして、判定情報抽出部232は、抽出した各文字列を、判定情報として判定情報記憶部222に記憶する。   Specifically, with reference to FIG. 2, a character string extraction process by the determination information extraction unit 232 in the preset process will be described. First, R11a, R11b, R12a, and R12b of the image G1 include character strings “login to service A”, “login time:”, “09”, “:”, and “11”. Therefore, the determination information extraction unit 232 extracts the character strings “login to service A”, “login time:”, “09”, “:”, “11” from R11a, R11b, R12a, R12b. On the other hand, R21a, R21b, R22a, and R22b of the image G2 include character strings “login to service A”, “login time:”, “10”, “:”, and “14”. Therefore, the determination information extraction unit 232 extracts the character strings “Login to service A”, “Login time:”, “10”, “:”, “11” from R21a, R21b, R22a, R22b. Then, the determination information extraction unit 232 stores each extracted character string in the determination information storage unit 222 as determination information.

監視情報設定部233は、判定情報抽出部232が抽出した複数の文字列のうち共通する文字列部分を判別し、少なくとも、この共通する文字列部分を監視情報として設定する。監視情報設定部233は、判定情報記憶部222が記憶した文字列を基に、共通する文字列部分を判別する。   The monitoring information setting unit 233 determines a common character string portion among the plurality of character strings extracted by the determination information extraction unit 232, and sets at least the common character string portion as monitoring information. The monitoring information setting unit 233 determines a common character string portion based on the character string stored in the determination information storage unit 222.

或いは、監視情報設定部233は、判定情報抽出部232が抽出した複数の文字列のうち、共通する文字列部分を、一致が必要である文字列部分として判別し、共通する文字列部分以外の文字列部分を、変化を許容する文字列部分として判別する。そして、監視情報設定部233は、一致が必要である文字列部分と変化を許容する文字列部分との組み合わせを監視情報として設定する。   Alternatively, the monitoring information setting unit 233 determines a common character string portion among the plurality of character strings extracted by the determination information extraction unit 232 as a character string portion that needs to be matched, and other than the common character string portion. The character string portion is determined as a character string portion that is allowed to change. Then, the monitoring information setting unit 233 sets, as monitoring information, a combination of a character string portion that needs to match and a character string portion that allows change.

具体的に、図2に示す画像G1,G2を例として、監視情報設定部233が、サービスAのログイン結果に対応する監視情報(監視画像Gt)を設定する場合について説明する。画像G1,G2に示すように、画像G1,G2に含まれる文字列のうち、各画像G1,G2のR11a,R11b,R21a,R21bにはともに、文字列「サービスAにログイン」,「ログイン時刻:」,「:」が含まれている。言い換えると、画像G1,G2については、文字列「サービスAにログイン」,「ログイン時刻:」,「:」が共通する。このため、サービスAのログイン結果については、監視情報設定部233は、文字列「サービスAにログイン」,「ログイン時刻:」,「:」が共通すると判別する。   Specifically, the case where the monitoring information setting unit 233 sets the monitoring information (monitoring image Gt) corresponding to the login result of the service A will be described using the images G1 and G2 illustrated in FIG. As shown in the images G1 and G2, among the character strings included in the images G1 and G2, R11a, R11b, R21a, and R21b of the images G1 and G2 are all character strings “login to service A” and “login time”. :",":"It is included. In other words, the character strings “login to service A”, “login time:”, and “:” are common to the images G1 and G2. Therefore, for the login result of service A, the monitoring information setting unit 233 determines that the character strings “login to service A”, “login time:”, and “:” are common.

言い換えると、画像G1,G2における文字列「サービスAにログイン」,「ログイン時刻:」,「:」は、サービスAに対するログイン操作を行った場合に常に示されるものであり、サービスAのログイン結果を示す画像において共通する部分である。したがって、サービスAのログイン実行時においては、文字列「サービスAにログイン」,「ログイン時刻:」,「:」は、一致が必要である文字列部分であるとして、監視情報設定部233によって設定される。   In other words, the character strings “login to service A”, “login time:”, and “:” in images G1 and G2 are always shown when the login operation for service A is performed, and the login result of service A It is a common part in the image which shows. Therefore, at the time of executing the login of service A, the character strings “login to service A”, “login time:”, and “:” are set by the monitoring information setting unit 233 as the character string portions that need to be matched. Is done.

一方、画像G1,G2の領域R12a,R12b,R22a,R22bには、実際のログイン時刻の時または分を示す文字列「09」,「11」,「10」,「14」が含まれる。画像G1,G2の領域R12a,R12b,R22a,R22bの文字列は、それぞれのログイン操作を実際に実行した時刻に応じて異なるものである。すなわち、画像G1,G2の領域12a,R12b,R22a,R22bのログイン文字列「09」,「11」,「10」,「14」は、サービスAへのログインを実行する度に変化する部分である。このため、領域12a,R12b,R22a,R22bの文字列部分は、変化を許容する文字列部分として、監視情報設定部233によって設定される。   On the other hand, the character strings “09”, “11”, “10”, “14” indicating the hour or minute of the actual login time are included in the regions R12a, R12b, R22a, R22b of the images G1, G2. The character strings in the regions R12a, R12b, R22a, and R22b of the images G1 and G2 differ depending on the time when each login operation is actually executed. That is, the login character strings “09”, “11”, “10”, and “14” in the regions 12a, R12b, R22a, and R22b of the images G1 and G2 are portions that change every time the login to the service A is executed. is there. For this reason, the character string portions of the regions 12a, R12b, R22a, and R22b are set by the monitoring information setting unit 233 as character string portions that allow change.

この結果、監視情報設定部233は、図2に示す監視画像Gtを、サービスAのログイン結果に対応する監視情報として設定する。監視画像Gtにおいては、領域R1a,R1bの文字列「サービスAにログイン」,「ログイン時刻:」,「:」は、サービスAのログイン実行時には一致が必要である文字列部分である。   As a result, the monitoring information setting unit 233 sets the monitoring image Gt illustrated in FIG. 2 as monitoring information corresponding to the login result of the service A. In the monitoring image Gt, the character strings “login to service A”, “login time:”, and “:” in the areas R1a and R1b are character string portions that need to be matched when the service A login is executed.

また、監視画像Gtの領域R2a,R2bの文字列「hh」,「mm」は、変化を許容する文字列部分であり、必ずしも一致が必要ではない。監視画像Gtの領域R2aの文字列「hh」には、時を示す「00」〜「23」のいずれかの数字が入り、領域R2bの文字列「mm」には、分を示す「00」〜「59」のいずれかの数字が入る。障害判定部234(後述)では、少なくとも、監視画像Gtの領域R1a,R1bの文字列部分と、判定対象となる文字列とを比較することによって、このサービスAの障害の有無を判定する。また、障害判定部234(後述)では、判定対象となる文字列のうち、この領域R2a,R2bの文字列部分に対応する部分に、時または分を示す数字が示されているかについても判断し、サービスAの障害の有無を判定する。   In addition, the character strings “hh” and “mm” in the areas R2a and R2b of the monitoring image Gt are character string parts that allow change, and do not necessarily need to match. The character string “hh” in the region R2a of the monitoring image Gt contains any number from “00” to “23” indicating the hour, and the character string “mm” in the region R2b is “00” indicating the minute. Enter any number from ~ 59. The failure determination unit 234 (described later) determines whether or not there is a failure in the service A by comparing at least the character string portions of the areas R1a and R1b of the monitoring image Gt with the character string to be determined. Further, the failure determination unit 234 (described later) also determines whether or not a number corresponding to the character string portion of the regions R2a and R2b is indicated with a number indicating an hour or minute in the character string to be determined. Then, the presence or absence of a failure in service A is determined.

そこで、次に、障害判定部234について説明する。障害判定部234は、定期的に、サービス利用実行部231に実行させたサービスの実行結果を示す画像から判定対象として抽出した文字列と、監視情報として設定された文字列部分との比較を基に、サービスの実行の障害の有無を判定する。   Therefore, next, the failure determination unit 234 will be described. The failure determination unit 234 periodically compares the character string extracted as the determination target from the image indicating the execution result of the service executed by the service use execution unit 231 with the character string portion set as the monitoring information. Next, it is determined whether there is a failure in executing the service.

例えば、障害判定部234は、判定対象として抽出した文字列部分と監視情報として設定された文字列とが一致しない場合には、サービスの実行に障害があることを判定する。   For example, the failure determination unit 234 determines that there is a failure in service execution when the character string portion extracted as the determination target and the character string set as the monitoring information do not match.

或いは、障害判定部234は、判定対象として抽出した文字列のうち、監視情報の一致が必要である文字列部分に対応する文字列が一致しない場合、或いは、変化を許容する文字列部分に対応する文字列が許容された変化を超えた文字列である場合、サービスの実行に障害があることを判定する。   Alternatively, the failure determination unit 234 corresponds to the character string extracted from the character string extracted as the determination target when the character string corresponding to the character string portion that needs to match the monitoring information does not match, or to the character string portion that allows change. If the character string to be processed is a character string that exceeds the allowable change, it is determined that there is a failure in the execution of the service.

具体的に、図4及び図5を用いて、障害判定部234の判定処理について説明する。図4及び図5は、障害判定部234の判定処理を説明する図である。まず、図4を参照して説明を行う。   Specifically, the determination process of the failure determination unit 234 will be described with reference to FIGS. 4 and 5. 4 and 5 are diagrams for explaining the determination process of the failure determination unit 234. FIG. First, a description will be given with reference to FIG.

図4に示す画像Ghは、監視処理のあるタイミングでサービス利用実行部231に実行させたサービスAへのログイン結果を示す画像から抽出した文字列を含む画像である。障害判定部234は、監視画像Gtと、判定対象となる画像Ghとを比較することによって、サービスの実行の障害の有無を判定する。画像Ghの領域R1haは、監視画像Gtにおける領域R1aに対応する領域である。画像Ghの領域R1hbは、監視画像Gtにおける領域R1bに対応する領域である。画像Ghの領域R2haは、監視画像Gtにおける領域R2aに対応する領域である。画像Ghの領域R2hbは、監視画像Gtにおける領域R2bに対応する領域である。   An image Gh illustrated in FIG. 4 is an image including a character string extracted from an image indicating a login result to the service A that is executed by the service use execution unit 231 at a timing of the monitoring process. The failure determination unit 234 determines whether there is a failure in executing the service by comparing the monitoring image Gt with the image Gh to be determined. The region R1ha of the image Gh is a region corresponding to the region R1a in the monitoring image Gt. The region R1hb of the image Gh is a region corresponding to the region R1b in the monitoring image Gt. The region R2ha of the image Gh is a region corresponding to the region R2a in the monitoring image Gt. The region R2hb of the image Gh is a region corresponding to the region R2b in the monitoring image Gt.

そこで、障害判定部234は、この画像Ghの領域R1ha,R1hbの文字列と、監視画像Gtの領域R1a,R1bの文字列とを比較する(図4の(1)参照)。図4の例では、画像Ghの領域R1haの文字列「サービスAにログイン」,「ログイン時刻:」及び領域R1hbの文字列「:」と、監視画像Gtの領域R1aの文字列「サービスAにログイン」,「ログイン時刻:」及び領域R1bの文字列「:」とが一致する(図4の(2)参照)。また、画像Ghの領域R2haには、「12」時を示す数字が示されており、画像Ghの領域R2hbには、「04」分を示す数字が示されている。このため、障害判定部234は、サービスAは正常であると判定する(図4の(3)参照)。   Therefore, the failure determination unit 234 compares the character strings of the regions R1ha and R1hb of the image Gh with the character strings of the regions R1a and R1b of the monitoring image Gt (see (1) in FIG. 4). In the example of FIG. 4, the character strings “login to service A” and “login time:” in the region R1ha of the image Gh, the character string “:” in the region R1hb, and the character string “service A in the region R1a of the monitoring image Gt”. "Login", "Login time:" and the character string ":" in the area R1b match (see (2) in FIG. 4). A number indicating “12” is shown in the region R2ha of the image Gh, and a number indicating “04” is shown in the region R2hb of the image Gh. Therefore, the failure determination unit 234 determines that the service A is normal (see (3) in FIG. 4).

次に、図5を参照して説明を行う。図5に示す画像Giは、監視処理の他のタイミングでサービス利用実行部231に実行させたサービスAへのログイン結果を示す画像から抽出した文字列を含む画像である。画像Giの領域R1iaは、監視画像Gtにおける領域R1aに対応する領域である。画像Giの領域R1ibは、監視画像Gtにおける領域R1bに対応する領域である。画像Giの領域R2iaは、監視画像Gtにおける領域R2aに対応する領域である。画像Giの領域R2ibは、監視画像Gtにおける領域R2bに対応する領域である。   Next, description will be made with reference to FIG. An image Gi shown in FIG. 5 is an image including a character string extracted from an image indicating a result of login to the service A executed by the service use execution unit 231 at another timing of the monitoring process. A region R1ia of the image Gi is a region corresponding to the region R1a in the monitoring image Gt. A region R1ib of the image Gi is a region corresponding to the region R1b in the monitoring image Gt. A region R2ia of the image Gi is a region corresponding to the region R2a in the monitoring image Gt. A region R2ib of the image Gi is a region corresponding to the region R2b in the monitoring image Gt.

この場合、障害判定部234は、この画像Giの領域R1iaの文字列と、監視画像Gtの領域R1a,R1bの文字列とを比較する(図5の(1)参照)。図5の例では、画像Giの領域R1iaは、文字列「サービスAにログインエラー」を含むものの、監視画像Gtの領域R1aの文字列「ログイン時刻:」及び領域R1bの文字列「:」が示されていない。このため、画像Giの領域R1iaの文字列と、監視画像Gtの領域R1aの文字列とが一致しない(図5の(2)参照)。さらに、画像GiのR2ia,R2ibには、空白であり、時または分を示す数字のいずれもが示されていない。このため、障害判定部234は、サービスAは異常であり、サービスAに障害があると判定する(図5の(3)参照)。   In this case, the failure determination unit 234 compares the character string of the region R1ia of the image Gi with the character string of the regions R1a and R1b of the monitoring image Gt (see (1) in FIG. 5). In the example of FIG. 5, the region R1ia of the image Gi includes the character string “login error in the service A”, but the character string “login time:” of the region R1a of the monitoring image Gt and the character string “:” of the region R1b. Not shown. For this reason, the character string of the area R1ia of the image Gi and the character string of the area R1a of the monitoring image Gt do not match (see (2) in FIG. 5). Further, R2ia and R2ib of the image Gi are blank, and none of the numbers indicating hours or minutes is shown. Therefore, the failure determination unit 234 determines that the service A is abnormal and the service A has a failure (see (3) in FIG. 5).

このように、サーバ20は、単に画像の一致判定をするのではなく、複数の判定情報である文字列から、一致が必要である文字列部分と変化を許容する文字列部分とを組み合わせた監視情報(例えば、監視画像Gt)を設定し、日時や時刻が異なる場合等の変化部分を許容する判定を可能としている。したがって、サーバ20では、障害以外の変化による誤検知をなくし、サービスに対して幅広く、かつ、実用的な監視を実行可能とした。   In this way, the server 20 does not simply determine whether the images match, but instead monitors a combination of a character string portion that needs to be matched and a character string portion that allows change from a plurality of character strings that are determination information. Information (for example, monitoring image Gt) is set, and it is possible to determine that a change part is allowed when the date and time are different. Accordingly, the server 20 eliminates false detections due to changes other than failures, and enables wide and practical monitoring of services.

なお、障害判定部234は、サービスの実行に障害があることを判定した場合には、サービスの実行に障害がある旨を示す障害通知を、監視端末10に出力する。これに応じて、監視端末10は、出力部15から、サービスの実行に障害がある旨を出力する。この出力結果を確認することによって、システム運用者は、サービスの実行に障害があることを認識することができる。   If the failure determination unit 234 determines that there is a failure in service execution, the failure determination unit 234 outputs a failure notification indicating that there is a failure in service execution to the monitoring terminal 10. In response to this, the monitoring terminal 10 outputs from the output unit 15 that there is a failure in the execution of the service. By confirming this output result, the system operator can recognize that there is a failure in the execution of the service.

[サービス監視処理の流れ]
次に、図6を参照して、サーバ20によるサービス監視処理の流れについて説明する。図6は、サーバ20によるサービス監視処理の流れを説明する図である。前述したように、サーバ20は、事前設定処理と、監視処理とを実行する。図6では、実線の矢印が事前設定処理に対応し、破線の矢印が監視処理に対応するものとして説明する。
[Service monitoring process flow]
Next, the flow of service monitoring processing by the server 20 will be described with reference to FIG. FIG. 6 is a diagram for explaining the flow of service monitoring processing by the server 20. As described above, the server 20 executes the pre-setting process and the monitoring process. In FIG. 6, description will be made assuming that the solid line arrow corresponds to the presetting process and the broken line arrow corresponds to the monitoring process.

まず、事前設定処理について説明する。サーバ20は、事前設定処理を、各サービスの操作手順ごとに実行する。事前設定処理では、まず、システムの運用者が予めサービスを利用するための操作を監視端末10の入力部11で実行する。サーバ20では、サービス利用実行部231が、矢印Y1に示すように、入力部11からサービス実行時のユーザ操作手順を取得する(図6の(1)参照)。   First, the pre-setting process will be described. The server 20 executes the pre-setting process for each operation procedure of each service. In the presetting process, first, an operation for using the service in advance by the system operator is executed by the input unit 11 of the monitoring terminal 10. In the server 20, the service use execution unit 231 acquires the user operation procedure at the time of service execution from the input unit 11 as indicated by the arrow Y1 (see (1) in FIG. 6).

サービス利用実行部231は、矢印Y2のように、このユーザ操作手順をユーザ操作記憶部221に記憶する(図6の(2)参照)。そして、サービス利用実行部231は、ユーザ操作記憶部221に記憶するユーザ操作手順を用いて、ユーザ操作イベント(マウス操作やキーボード入力)を再現し、ユーザのサービス利用を複数回実行する(図6の(2)参照)。そして、サービス利用実行部231は、それぞれ実行したサービスの実行結果を示す画像、すなわち、サービス利用画面のキャプチャ画像を取得し、矢印Y3のように、判定情報抽出部232に出力する(図6の(3)参照)。   The service use execution unit 231 stores the user operation procedure in the user operation storage unit 221 as indicated by an arrow Y2 (see (2) in FIG. 6). Then, the service use execution unit 231 reproduces a user operation event (mouse operation or keyboard input) using the user operation procedure stored in the user operation storage unit 221 and executes the user's service use a plurality of times (FIG. 6). (See (2)). Then, the service use execution unit 231 acquires an image indicating the execution result of each executed service, that is, a captured image of the service use screen, and outputs it to the determination information extraction unit 232 as indicated by an arrow Y3 (FIG. 6). (See (3)).

判定情報抽出部232は、サービス利用実行部231から出力された複数のキャプチャ画像のそれぞれに対し、文字認識により、文字列を抽出する(図6の(4)参照)。そして、判定情報抽出部232は、矢印Y4のように、各ユーザ操作手順の実行によるサービス実行結果を示す各画像からそれぞれ抽出した文字列を、判定情報記憶部222に出力する(図6の(5)参照)。判定情報記憶部222は、同一のユーザ操作手順に対して複数の文字列を記憶する(図6の(6)参照)。   The determination information extraction unit 232 extracts a character string by character recognition for each of the plurality of captured images output from the service use execution unit 231 (see (4) in FIG. 6). Then, the determination information extraction unit 232 outputs, to the determination information storage unit 222, a character string extracted from each image indicating a service execution result by execution of each user operation procedure, as indicated by an arrow Y4 (FIG. 6 ( See 5)). The determination information storage unit 222 stores a plurality of character strings for the same user operation procedure (see (6) in FIG. 6).

続いて、監視情報設定部233は、矢印Y5のように、判定情報として、複数の文字列部分を示す画像を読み出す(図6の(7)参照)。監視情報設定部233は、読み出した判定情報から監視情報を生成する(図6の(8)参照)。具体的には、監視情報設定部233は、複数の文字列部分を示す画像間において、共通した文字列部分は、一致が必要である文字列部分であると判別する(図6の(8)の(a)参照)。監視情報設定部233は、複数の文字列部分を示す画像間において、異なった文字列部分は、変化を許容する文字列部分であると判別する(図6の(8)の(b)参照)。   Subsequently, the monitoring information setting unit 233 reads an image showing a plurality of character string portions as determination information as indicated by an arrow Y5 (see (7) in FIG. 6). The monitoring information setting unit 233 generates monitoring information from the read determination information (see (8) in FIG. 6). Specifically, the monitoring information setting unit 233 determines that a common character string portion is a character string portion that needs to be matched between images showing a plurality of character string portions ((8) in FIG. 6). (See (a)). The monitoring information setting unit 233 determines that a different character string portion is a character string portion that allows a change between images indicating a plurality of character string portions (see (b) of (8) in FIG. 6). .

そして、監視情報設定部233は、この結果を基に、矢印Y6のように、監視情報を設定し(図6の(9)参照)、監視情報記憶部223に記憶する。例えば、サービスAのログイン結果に対応する監視情報として、図2に示す監視画像Gtを設定する。   Then, based on this result, the monitoring information setting unit 233 sets the monitoring information as indicated by the arrow Y6 (see (9) in FIG. 6) and stores it in the monitoring information storage unit 223. For example, the monitoring image Gt shown in FIG. 2 is set as the monitoring information corresponding to the login result of the service A.

続いて、監視処理について説明する。サーバ20は、監視処理を、各サービスの操作手順ごとに、定期的に実行する。まず、監視処理として、サービス利用実行部231は、ユーザ操作記憶部221に記憶するユーザ操作手順を用いて、定期的に、ユーザ操作イベントを再現し、ユーザのサービス利用を実行する(図6の(11)参照)。そして、サービス利用実行部231は、サービス利用画面のキャプチャ画像を取得し、矢印Y11のように、判定情報抽出部232に出力する(図6の(12)参照)。   Subsequently, the monitoring process will be described. The server 20 periodically executes monitoring processing for each service operation procedure. First, as a monitoring process, the service use execution unit 231 periodically reproduces a user operation event using the user operation procedure stored in the user operation storage unit 221 and executes the user's service use (FIG. 6). (Refer to (11)). Then, the service use execution unit 231 acquires a captured image of the service use screen and outputs it to the determination information extraction unit 232 as indicated by an arrow Y11 (see (12) in FIG. 6).

そして、判定情報抽出部232は、サービス利用実行部231から出力されたキャプチャ画像から文字列を抽出する(図6の(13)参照)。そして、判定情報抽出部232は、矢印Y12のように、キャプチャ画像から抽出した文字列を、判定対象の文字列として障害判定部234に出力する(図6の(14)参照)。   Then, the determination information extraction unit 232 extracts a character string from the captured image output from the service use execution unit 231 (see (13) in FIG. 6). Then, the determination information extraction unit 232 outputs the character string extracted from the captured image to the failure determination unit 234 as a determination target character string as indicated by an arrow Y12 (see (14) in FIG. 6).

続いて、障害判定部234は、矢印Y13のように、このユーザ操作手順に対応して監視情報として設定された文字列部分を、監視情報記憶部223から読み出す(図6の(15)参照)。そして、障害判定部234は、読み出した監視情報と、監視時に取得した判定対象とを比較する(図6の(16)参照)。   Subsequently, the failure determination unit 234 reads the character string portion set as the monitoring information corresponding to this user operation procedure as indicated by the arrow Y13 from the monitoring information storage unit 223 (see (15) in FIG. 6). . Then, the failure determination unit 234 compares the read monitoring information with the determination target acquired at the time of monitoring (see (16) in FIG. 6).

具体的には、障害判定部234は、監視情報記憶部223から読み出した文字列部分と、判定対象の文字列として障害判定部234に出力された文字列部分とを比較し、監視情報の一致が必要である文字列部分に対応する文字列が一致しない場合、或いは、変化を許容する文字列部分に対応する文字列が許容された変化を超えた文字列である場合、サービスの実行に障害があることを判定する。   Specifically, the failure determination unit 234 compares the character string portion read from the monitoring information storage unit 223 with the character string portion output to the failure determination unit 234 as the character string to be determined, and matches the monitoring information. If the character string corresponding to the required character string part does not match, or if the character string corresponding to the character string part that is allowed to change is a character string that exceeds the allowable change, the execution of the service is obstructed. Determine that there is.

これに対し、障害判定部234は、読み出した監視情報と、監視時に取得した判定対象とが一致しない場合には、このユーザ操作手順で実行するサービスに障害があると判定し、矢印Y14のように、障害通知を監視端末10に出力する(図6の(17)参照)。これに応じて、監視端末10では、出力部15から、このユーザ操作手順でのサービスの実行に障害がある旨を出力する。   On the other hand, when the read monitoring information does not match the determination target acquired at the time of monitoring, the failure determination unit 234 determines that there is a failure in the service executed in this user operation procedure, as indicated by an arrow Y14. Then, the failure notification is output to the monitoring terminal 10 (see (17) in FIG. 6). In response to this, the monitoring terminal 10 outputs from the output unit 15 that there is a failure in service execution in this user operation procedure.

[サービス監視処理の処理手順]
次に、図7を参照して、サーバ20が実行するサービス監視処理の処理手順について説明する。図7は、本実施の形態に係るサービス監視処理の処理手順を示すフローチャートである。
[Service monitoring processing procedure]
Next, with reference to FIG. 7, a processing procedure of service monitoring processing executed by the server 20 will be described. FIG. 7 is a flowchart showing a processing procedure of service monitoring processing according to the present embodiment.

図7に示すように、サーバ20は、予め実行したサービスの実行結果を示す画像から文字列を抽出し、抽出した文字列のうち共通する文字列部分を監視情報として設定する事前設定処理を行う(ステップS1)。そして、サーバ20は、定期的に実行したサービスの実行結果を示す画像から抽出した文字列と、監視情報として設定された文字列部分との比較を基に、サービスの実行の障害の有無を判定する監視処理を行う(ステップS2)。   As illustrated in FIG. 7, the server 20 extracts a character string from an image indicating the execution result of a previously executed service, and performs a preset process for setting a common character string portion of the extracted character strings as monitoring information. (Step S1). Then, the server 20 determines whether or not there is a failure in executing the service based on a comparison between the character string extracted from the image indicating the execution result of the periodically executed service and the character string portion set as the monitoring information. A monitoring process is performed (step S2).

[事前設定処理]
図8は、図7に示す事前設定処理(ステップS1)の処理手順を示すフローチャートである。
[Pre-configuration process]
FIG. 8 is a flowchart showing a processing procedure of the pre-setting process (step S1) shown in FIG.

図8に示すように、まず、サービス利用実行部231は、監視端末10から、事前設定処理対象のユーザ操作手順を取得する(ステップS11)。続いて、サービス利用実行部231は、取得したユーザ操作手順を用いて、ユーザ操作イベントを再現し、ユーザのサービス利用を複数回実行するサービス利用実行処理を行う(ステップS12)。この処理において、サービス利用実行部231は、それぞれ実行したサービスの実行結果を示すキャプチャ画像を取得し、判定情報抽出部232に出力する。   As illustrated in FIG. 8, first, the service use execution unit 231 acquires a user operation procedure to be processed in advance from the monitoring terminal 10 (step S11). Subsequently, the service use execution unit 231 reproduces a user operation event using the acquired user operation procedure, and performs a service use execution process for executing the user's service use a plurality of times (step S12). In this process, the service use execution unit 231 acquires a captured image indicating the execution result of each executed service, and outputs the captured image to the determination information extraction unit 232.

判定情報抽出部232は、サービス利用実行部231から出力された複数のキャプチャ画像のそれぞれに対し、判定情報として、文字列を抽出する判定情報抽出処理を行う(ステップS13)。そして、判定情報抽出部232は、抽出した同一のユーザ操作手順に対する複数の文字列を判定情報記憶部222に記憶させる判定情報記憶処理を行う(ステップS14)。   The determination information extraction unit 232 performs a determination information extraction process for extracting a character string as determination information for each of the plurality of captured images output from the service use execution unit 231 (step S13). And the determination information extraction part 232 performs the determination information storage process which memorize | stores the some character string with respect to the extracted same user operation procedure in the determination information storage part 222 (step S14).

続いて、監視情報設定部233は、判定情報記憶部222から、判定情報として読み出した複数の文字列部分から、共通する文字列部分を判別し、少なくとも、この共通する文字列部分を監視情報として設定する監視情報設定処理を行う(ステップS15)。また、監視情報設定部233は、判定情報抽出部232が抽出した複数の文字列のうち、共通する文字列部分を、一致が必要である文字列部分として判別し、共通する文字列部分以外の文字列部分を、変化を許容する文字列部分として判別し、一致が必要である文字列部分と変化を許容する文字列部分との組み合わせを監視情報として設定してもよい。監視情報設定部233は、設定した監視情報を監視情報記憶部223に記憶して、このユーザ操作手順に対応する事前設定処理を終了する。   Subsequently, the monitoring information setting unit 233 determines a common character string portion from a plurality of character string portions read out as determination information from the determination information storage unit 222, and at least uses the common character string portion as monitoring information. A monitoring information setting process to be set is performed (step S15). In addition, the monitoring information setting unit 233 determines a common character string portion among the plurality of character strings extracted by the determination information extraction unit 232 as a character string portion that needs to be matched, and other than the common character string portion. The character string portion may be determined as a character string portion that allows a change, and a combination of a character string portion that needs to match and a character string portion that allows a change may be set as monitoring information. The monitoring information setting unit 233 stores the set monitoring information in the monitoring information storage unit 223, and ends the pre-setting process corresponding to this user operation procedure.

[監視処理]
図9は、図7に示す監視処理(ステップS2)の処理手順を示すフローチャートである。
[Monitoring process]
FIG. 9 is a flowchart showing the procedure of the monitoring process (step S2) shown in FIG.

制御部23は、監視タイミングであるか否かを判断する(ステップS21)。この監視タイミングは、監視対象のそれぞれのユーザ操作手順に対し、定期的に監視処理が実行できるように設定されている。制御部23は、監視対象タイミングでないと判断した場合には(ステップS21:No)、ステップS21に戻り、ステップS21の判断処理を再度実行する。   The control unit 23 determines whether it is the monitoring timing (step S21). This monitoring timing is set so that the monitoring process can be periodically executed for each user operation procedure to be monitored. If the control unit 23 determines that it is not the monitoring target timing (step S21: No), the control unit 23 returns to step S21 and executes the determination process of step S21 again.

一方、制御部23は、監視対象タイミングであると判断した場合には(ステップS21:Yes)、サービス利用実行部231は、監視対象のユーザ操作手順をユーザ操作記憶部221から読み出して(ステップS22)、ユーザ操作イベントを再現し、ユーザのサービス利用を実行するサービス利用再現処理を行う(ステップS23)。この場合、サービス利用実行部231は、再現したサービスの実行結果を示すサービス利用画面のキャプチャ画像を取得し、判定情報抽出部232に出力する。   On the other hand, when the control unit 23 determines that it is the monitoring target timing (step S21: Yes), the service use execution unit 231 reads the monitoring target user operation procedure from the user operation storage unit 221 (step S22). ), A service operation reproduction process for reproducing the user operation event and executing the service use of the user is performed (step S23). In this case, the service use execution unit 231 acquires a captured image of the service use screen indicating the reproduced service execution result, and outputs the captured image to the determination information extraction unit 232.

そして、判定情報抽出部232は、サービス利用実行部231から出力されたキャプチャ画像から、判定対象として、文字列を抽出する判定対象抽出処理を行い(ステップS24)、抽出した文字列を障害判定部234に出力する。   Then, the determination information extraction unit 232 performs a determination target extraction process for extracting a character string as a determination target from the captured image output from the service use execution unit 231 (step S24), and the extracted character string is determined as a failure determination unit. Output to H.234.

続いて、障害判定部234は、このユーザ操作手順に対応して監視情報として設定された文字列部分を、監視情報記憶部223から読み出す(ステップS25)。そして、障害判定部234は、監視情報として読み出した文字列部分と、判定対象の文字列とを比較し、監視情報として読み出した位置が必要である文字列部分と、判定対象の文字列とが一致するか否かを判断する(ステップS26)。なお、障害判定部234は、ステップS26において、監視情報の一致が必要である文字列部分に対応する文字列に対する比較とともに、変化を許容する文字列部分に対応する文字列が許容された変化を超えた文字列であるか否かを判断してもよい。   Subsequently, the failure determination unit 234 reads from the monitoring information storage unit 223 the character string portion set as the monitoring information corresponding to this user operation procedure (step S25). Then, the failure determination unit 234 compares the character string portion read as the monitoring information with the character string to be determined, and the character string portion that requires the position read as the monitoring information and the character string to be determined It is determined whether or not they match (step S26). In step S26, the failure determination unit 234 compares the character string corresponding to the character string portion that needs to be matched with the monitoring information, and changes the character string corresponding to the character string portion that is allowed to change. It may be determined whether the character string exceeds the limit.

障害判定部234は、監視情報として読み出した一致が必要である文字列部分と、判定対象の文字列とが一致すると判断した場合(ステップS26:Yes)、このユーザ操作手順で実行するサービスは正常であると判定し(ステップS27)、ステップS21に戻る。或いは、障害判定部234は、判定対象のうち、監視対象における変化を許容する文字列部分に対応する文字列が許容された変化を超えていないことをさらに判断した場合に、このユーザ操作手順で実行するサービスは正常であると判定する。   If the failure determination unit 234 determines that the character string portion that needs to be read as the monitoring information matches the character string to be determined (step S26: Yes), the service executed in this user operation procedure is normal. (Step S27), the process returns to step S21. Alternatively, when the failure determination unit 234 further determines that the character string corresponding to the character string portion that allows the change in the monitoring target among the determination targets does not exceed the allowable change, It is determined that the service to be executed is normal.

一方、障害判定部234は、監視情報として読み出した一致が必要である文字列部分と判定対象の文字列とが一致しないと判断した場合(ステップS26:No)、このユーザ操作手順で実行するサービスに障害(異常)があると判定する(ステップS28)。或いは、障害判定部234は、判定対象のうち、監視情報における変化を許容する文字列部分に対応する文字列が許容された変化を超えていることを判断した場合には、このユーザ操作手順で実行するサービスはサービスに障害があると判定する。そして、障害判定部234は、障害通知を監視端末10に出力する(ステップS29)。   On the other hand, when the failure determination unit 234 determines that the character string portion that needs to be read as the monitoring information does not match the character string to be determined (step S26: No), the service executed in this user operation procedure Is determined to have a failure (abnormality) (step S28). Alternatively, if the failure determination unit 234 determines that the character string corresponding to the character string portion that allows the change in the monitoring information among the determination targets exceeds the allowable change, the user operation procedure The service to be executed is determined to be faulty. Then, the failure determination unit 234 outputs a failure notification to the monitoring terminal 10 (step S29).

[実施の形態の効果]
上記のように、本実施の形態では、事前設定処理時に実行したアプリケーションサービスの実行結果を示す画像から監視情報として抽出した共通する文字列部分と、サービス利用実行部231に再現させたサービスの実行結果を示す画像から判定対象として抽出した文字列との比較を基に、サービスの実行の障害の有無を判定する。このため、本実施の形態によれば、フロー図から監視方法の生成が可能なログが出力されるサービス内容である必要がなく、サービスへの適用範囲を制限することなくサービスの監視が可能である。すなわち、本実施の形態によれば、これまで適用できなかったサービスについても、アプリケーションサービスの正常性の監視が行えるようになることで、アプリケーションサービス利用者への影響をより迅速に検知できるようになる。
[Effect of the embodiment]
As described above, in the present embodiment, the common character string portion extracted as monitoring information from the image indicating the execution result of the application service executed during the pre-setting process, and the execution of the service reproduced by the service use execution unit 231 Based on the comparison with the character string extracted as the determination target from the image indicating the result, it is determined whether there is a failure in executing the service. For this reason, according to the present embodiment, it is not necessary for the service content to output a log that can generate a monitoring method from the flow diagram, and the service can be monitored without limiting the scope of application to the service. is there. In other words, according to the present embodiment, the normality of the application service can be monitored even for services that could not be applied so far, so that the influence on the application service user can be detected more quickly. Become.

また、本実施の形態によれば、システム運用者は、事前設定処理時に、監視対象となるアプリケーションサービスの利用操作を行うだけでよい。言い換えると、本実施の形態によれば、アプリケーションサービスごとにログを解析するためのフロー図の作成やアプリケーションの知識、修正が不要になるため、システム運用者の負荷を低減することができる。   Further, according to the present embodiment, the system operator only has to perform an operation for using the application service to be monitored during the pre-setting process. In other words, according to the present embodiment, it is not necessary to create a flow diagram for analyzing the log for each application service, and to know and modify the application, so that the load on the system operator can be reduced.

さらに、本実施の形態では、単に画像の一致判定をするのではなく、複数の判定情報である文字列から、一致が必要である文字列部分と変化を許容する文字列部分とを組み合わせた監視情報を設定し、日時が異なる場合等の変化部分を許容する判定を可能としている。この結果、本実施の形態によれば、障害以外の変化による誤検知をなくし、アプリケーションサービスに対して幅広く、かつ、実用的な監視を実行することができる。   Further, in the present embodiment, instead of simply determining whether images match, monitoring is performed by combining a character string portion that requires matching and a character string portion that allows change from a plurality of character strings that are determination information. Information is set, and it is possible to determine that the change part is allowed when the date is different. As a result, according to the present embodiment, it is possible to eliminate erroneous detection due to changes other than failures, and to perform wide and practical monitoring on application services.

したがって、本実施の形態によれば、アプリケーションサービスへの適用範囲を制限せず、システム運用者の負荷を低減するとともに、システム運用者のプログラムの知識や修正能力によらず、アプリケーションサービスの監視を可能にする。   Therefore, according to the present embodiment, the scope of application service is not limited, the load on the system operator is reduced, and the application service is monitored regardless of the system operator's program knowledge and correction capability. to enable.

なお、本実施の形態では、サーバ20が監視処理を定期的に実行する例について説明したが、もちろんこれに限らない。例えば、サーバ20は、監視端末10による監視処理実行指示を受けた場合に監視処理を実行してもよい。或いは、サーバ20は、アプリケーションサーバ30によるアプリケーションサービスの改版等があった場合に監視処理を実行してもよい。   In the present embodiment, the example in which the server 20 periodically executes the monitoring process has been described. However, the present invention is not limited to this. For example, the server 20 may execute the monitoring process when receiving a monitoring process execution instruction from the monitoring terminal 10. Alternatively, the server 20 may execute the monitoring process when the application server 30 has revised the application service.

また、本実施の形態では、監視情報が、判定情報抽出部232が抽出した複数の文字列を基に、一致が必要である文字列部分と変化を許容する文字列部分との組み合わせである場合について説明したが、もちろん、これに限らない。監視情報は、判定情報抽出部232が抽出した複数の文字列のうち、共通する文字列部分、すなわち、一致が必要である文字列部分だけでもよい。この場合も、判定対象となる文字列との比較が可能であるため、サービスの実行の障害の有無を判定することが可能になる。   In the present embodiment, the monitoring information is a combination of a character string portion that needs to be matched and a character string portion that allows change based on a plurality of character strings extracted by the determination information extraction unit 232. Of course, but not limited to this. The monitoring information may be only a common character string portion, that is, a character string portion that needs to be matched among a plurality of character strings extracted by the determination information extraction unit 232. Also in this case, since it is possible to compare with the character string to be determined, it is possible to determine whether there is a failure in executing the service.

[他の実施の形態]
[システム構成等]
図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況等に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。さらに、各装置にて行なわれる各処理機能は、その全部又は任意の一部が、CPU及び当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
[Other embodiments]
[System configuration, etc.]
Each component of each illustrated device is functionally conceptual and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution / integration of each device is not limited to the one shown in the figure, and all or a part of the distribution / integration is functionally or physically distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. Further, all or a part of each processing function performed in each device can be realized by a CPU and a program that is analyzed and executed by the CPU, or can be realized as hardware by wired logic.

また、本実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部又は一部を手動的におこなうこともでき、あるいは、手動的におこなわれるものとして説明した処理の全部又は一部を公知の方法で自動的におこなうこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。   In addition, among the processes described in this embodiment, all or a part of the processes described as being automatically performed can be manually performed, or the processes described as being manually performed can be performed. All or a part can be automatically performed by a known method. In addition, the processing procedure, control procedure, specific name, and information including various data and parameters shown in the above-described document and drawings can be arbitrarily changed unless otherwise specified.

[プログラム]
図10は、プログラムが実行されることにより、サーバ20が実現されるコンピュータの一例を示す図である。コンピュータ1000は、例えば、メモリ1010、CPU1020を有する。また、コンピュータ1000は、ハードディスクドライブインタフェース1030、ディスクドライブインタフェース1040、シリアルポートインタフェース1050、ビデオアダプタ1060、ネットワークインタフェース1070を有する。これらの各部は、バス1080によって接続される。
[program]
FIG. 10 is a diagram illustrating an example of a computer in which the server 20 is realized by executing a program. The computer 1000 includes a memory 1010 and a CPU 1020, for example. The computer 1000 also includes a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These units are connected by a bus 1080.

メモリ1010は、ROM(Read Only Memory)1011及びRAM1012を含む。ROM1011は、例えば、BIOS(Basic Input Output System)等のブートプログラムを記憶する。ハードディスクドライブインタフェース1030は、ハードディスクドライブ1090に接続される。ディスクドライブインタフェース1040は、ディスクドライブ1100に接続される。例えば磁気ディスクや光ディスク等の着脱可能な記憶媒体が、ディスクドライブ1100に挿入される。シリアルポートインタフェース1050は、例えばマウス1110、キーボード1120に接続される。ビデオアダプタ1060は、例えばディスプレイ1130に接続される。   The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012. The ROM 1011 stores a boot program such as BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to the hard disk drive 1090. The disk drive interface 1040 is connected to the disk drive 1100. For example, a removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to the display 1130, for example.

ハードディスクドライブ1090は、例えば、OS1091、アプリケーションプログラム1092、プログラムモジュール1093、プログラムデータ1094を記憶する。すなわち、サーバ20の各処理を規定するプログラムは、コンピュータ1000により実行可能なコードが記述されたプログラムモジュール1093として実装される。プログラムモジュール1093は、例えばハードディスクドライブ1090に記憶される。例えば、サーバ20における機能構成と同様の処理を実行するためのプログラムモジュール1093が、ハードディスクドライブ1090に記憶される。なお、ハードディスクドライブ1090は、SSD(Solid State Drive)により代替されてもよい。   The hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, a program that defines each process of the server 20 is implemented as a program module 1093 in which a code executable by the computer 1000 is described. The program module 1093 is stored in the hard disk drive 1090, for example. For example, a program module 1093 for executing processing similar to the functional configuration in the server 20 is stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD (Solid State Drive).

また、上述した実施の形態の処理で用いられる設定データは、プログラムデータ1094として、例えばメモリ1010やハードディスクドライブ1090に記憶される。そして、CPU1020が、メモリ1010やハードディスクドライブ1090に記憶されたプログラムモジュール1093やプログラムデータ1094を必要に応じてRAM1012に読み出して実行する。   The setting data used in the processing of the above-described embodiment is stored as program data 1094 in, for example, the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads the program module 1093 and the program data 1094 stored in the memory 1010 and the hard disk drive 1090 to the RAM 1012 and executes them as necessary.

なお、プログラムモジュール1093やプログラムデータ1094は、ハードディスクドライブ1090に記憶される場合に限らず、例えば着脱可能な記憶媒体に記憶され、ディスクドライブ1100等を介してCPU1020によって読み出されてもよい。あるいは、プログラムモジュール1093及びプログラムデータ1094は、ネットワーク(LAN、WAN等)を介して接続された他のコンピュータに記憶されてもよい。そして、プログラムモジュール1093及びプログラムデータ1094は、他のコンピュータから、ネットワークインタフェース1070を介してCPU1020によって読み出されてもよい。   The program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read out by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in another computer connected via a network (LAN, WAN, etc.). Then, the program module 1093 and the program data 1094 may be read by the CPU 1020 from another computer via the network interface 1070.

以上、本発明者によってなされた発明を適用した実施の形態について説明したが、本実施の形態による本発明の開示の一部をなす記述及び図面により本発明は限定されることはない。すなわち、本実施の形態に基づいて当業者等によりなされる他の実施の形態、実施例及び運用技術等は全て本発明の範疇に含まれる。   Although the embodiment to which the invention made by the present inventor is applied has been described above, the present invention is not limited by the description and the drawings that form part of the disclosure of the present invention according to this embodiment. That is, other embodiments, examples, operation techniques, and the like made by those skilled in the art based on the present embodiment are all included in the scope of the present invention.

1 サービス監視システム
10 監視端末
11 入力部
12,23 制御部
13,21 通信部
14,22 記憶部
15 出力部
20 サーバ
30 アプリケーションサーバ
40 ネットワーク
50 ユーザ端末
221 ユーザ操作記憶部
222 判定情報記憶部
223 監視情報記憶部
231 サービス利用実行部
232 判定情報抽出部
233 監視情報設定部
234 障害判定部
DESCRIPTION OF SYMBOLS 1 Service monitoring system 10 Monitoring terminal 11 Input part 12,23 Control part 13,21 Communication part 14,22 Storage part 15 Output part 20 Server 30 Application server 40 Network 50 User terminal 221 User operation storage part 222 Judgment information storage part 223 Monitoring Information storage unit 231 Service use execution unit 232 Determination information extraction unit 233 Monitoring information setting unit 234 Failure determination unit

Claims (8)

サービスを実行するユーザ操作手順を取得し、前記サービスを実行するサービス利用実行部と、
前記サービス利用実行部に予め複数回実行させた前記サービスの実行結果を示すそれぞれの画像から文字列を抽出する判定情報抽出部と、
前記判定情報抽出部が抽出した複数の文字列のうち共通する文字列部分を判別し、少なくとも前記共通する文字列部分を監視情報として設定する監視情報設定部と、
前記サービス利用実行部に再現させた前記サービスの実行結果を示す画像から判定対象として抽出した文字列と、前記監視情報として設定された文字列部分との比較を基に、前記サービスの実行の障害の有無を判定する障害判定部と、
を有することを特徴とするサービス監視装置。
A user operation procedure for executing a service, and a service use execution unit for executing the service;
A determination information extraction unit that extracts a character string from each image indicating an execution result of the service that is executed in advance by the service use execution unit a plurality of times;
A monitoring information setting unit that determines a common character string portion among a plurality of character strings extracted by the determination information extraction unit, and sets at least the common character string portion as monitoring information;
Based on a comparison between a character string extracted as an object to be determined from an image showing an execution result of the service reproduced by the service use execution unit and a character string portion set as the monitoring information, a failure in execution of the service A failure determination unit for determining the presence or absence of
A service monitoring apparatus comprising:
前記障害判定部は、前記判定対象として抽出した文字列と前記監視情報として設定された文字列部分とが一致しない場合には、前記サービスの実行に障害があることを判定することを特徴とする請求項1に記載のサービス監視装置。   The failure determination unit determines that there is a failure in the execution of the service when a character string extracted as the determination target does not match a character string portion set as the monitoring information. The service monitoring apparatus according to claim 1. 前記監視情報設定部は、前記判定情報抽出部が抽出した複数の文字列のうち、前記共通する文字列部分を、一致が必要である文字列部分として判別し、前記共通する文字列部分以外の文字列部分を、変化を許容する文字列部分として判別し、前記一致が必要である文字列部分と前記変化を許容する文字列部分との組み合わせを前記監視情報として設定することを特徴とする請求項1に記載のサービス監視装置。   The monitoring information setting unit determines the common character string portion as a character string portion that needs to be matched among the plurality of character strings extracted by the determination information extraction unit, and other than the common character string portion. The character string portion is determined as a character string portion that allows a change, and a combination of the character string portion that needs to be matched and the character string portion that allows the change is set as the monitoring information. Item 6. The service monitoring apparatus according to Item 1. 前記障害判定部は、前記判定対象として抽出した文字列のうち、前記監視情報の前記一致が必要である文字列部分に対応する文字列が一致しない場合、或いは、前記変化を許容する文字列部分に対応する文字列が許容された変化を超えている場合、前記サービスの実行に障害があることを判定することを特徴とする請求項3に記載のサービス監視装置。   The failure determination unit, when the character string corresponding to the character string portion that needs to match the monitoring information, does not match among the character strings extracted as the determination target, or the character string portion that allows the change The service monitoring apparatus according to claim 3, wherein if the character string corresponding to the number exceeds a permitted change, it is determined that there is a failure in the execution of the service. 前記障害判定部は、定期的に、前記サービスの実行の障害の有無を判定することを特徴とする請求項1〜4のいずれか一つに記載のサービス監視装置。   The service monitoring apparatus according to claim 1, wherein the failure determination unit periodically determines whether there is a failure in execution of the service. 前記障害判定部は、前記サービスの実行に障害があることを判定した場合には、前記サービスの実行に障害がある旨を示す障害通知を出力することを特徴とする請求項1〜5のいずれか一つに記載のサービス監視装置。   6. The failure determination unit according to claim 1, wherein the failure determination unit outputs a failure notification indicating that there is a failure in the execution of the service when it is determined that there is a failure in the execution of the service. The service monitoring device according to claim 1. 前記判定情報抽出部が抽出した文字列を記憶する判定情報記憶部をさらに有し、
前記監視情報設定部は、前記判定情報記憶部が記憶した文字列を基に前記共通する文字列部分を判別することを特徴とする請求項1〜6のいずれか一つに記載のサービス監視装置。
A determination information storage unit that stores the character string extracted by the determination information extraction unit;
The service monitoring apparatus according to claim 1, wherein the monitoring information setting unit determines the common character string portion based on a character string stored in the determination information storage unit. .
サービスの実行の障害を管理するサービス管理装置が実行するサービス監視方法であって、
前記サービス管理装置が、前記サービスを実行するユーザ操作手順を取得し、予め前記サービスを実行する工程と、
前記サービス管理装置が、前記予めサービスを実行する工程における前記サービスの実行結果を示す画像から文字列を抽出する工程と、
前記サービス管理装置が、抽出した文字列のうち共通する文字列部分を判別し、少なくとも前記共通する文字列部分を監視情報として設定する工程と、
前記サービス管理装置が、前記サービスを再現する工程と、
前記サービス管理装置が、前記サービスを再現する工程における前記サービスの実行結果を示す画像から判定対象として抽出した文字列と、前記監視情報として設定された文字列部分との比較を基に、前記サービスの実行の障害の有無を判定する工程と、
を含んだことを特徴とするサービス監視方法。
A service monitoring method executed by a service management device that manages a failure in service execution,
The service management device acquires a user operation procedure for executing the service, and executes the service in advance.
The service management device extracting a character string from an image indicating an execution result of the service in the step of executing the service in advance;
The service management device determining a common character string portion of the extracted character strings, and setting at least the common character string portion as monitoring information; and
The service management device reproducing the service;
Based on a comparison between a character string extracted as an object of determination from an image indicating an execution result of the service in the step of reproducing the service and a character string portion set as the monitoring information, the service management device Determining whether there is a failure in execution of
A service monitoring method comprising:
JP2016101119A 2016-05-20 2016-05-20 Service monitoring apparatus and service monitoring method Active JP6574146B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016101119A JP6574146B2 (en) 2016-05-20 2016-05-20 Service monitoring apparatus and service monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016101119A JP6574146B2 (en) 2016-05-20 2016-05-20 Service monitoring apparatus and service monitoring method

Publications (2)

Publication Number Publication Date
JP2017207995A true JP2017207995A (en) 2017-11-24
JP6574146B2 JP6574146B2 (en) 2019-09-11

Family

ID=60415551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016101119A Active JP6574146B2 (en) 2016-05-20 2016-05-20 Service monitoring apparatus and service monitoring method

Country Status (1)

Country Link
JP (1) JP6574146B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019117456A (en) * 2017-12-26 2019-07-18 株式会社日本総合研究所 Computer program
KR102335604B1 (en) * 2020-07-29 2021-12-06 경북대학교 산학협력단 Apparatus and method for intelligent abnormal operation recognition of system using bitmap pattern representation of power-consumption

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015108283A1 (en) * 2014-01-14 2015-07-23 에스케이플래닛 주식회사 Application error detection method for cloud streaming service, and apparatus and system therefor
JP2015219890A (en) * 2014-05-21 2015-12-07 キヤノン株式会社 Management device, and control method and program for the same
JP2016033716A (en) * 2014-07-31 2016-03-10 日本電気株式会社 Information processing apparatus, information processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015108283A1 (en) * 2014-01-14 2015-07-23 에스케이플래닛 주식회사 Application error detection method for cloud streaming service, and apparatus and system therefor
JP2015219890A (en) * 2014-05-21 2015-12-07 キヤノン株式会社 Management device, and control method and program for the same
JP2016033716A (en) * 2014-07-31 2016-03-10 日本電気株式会社 Information processing apparatus, information processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019117456A (en) * 2017-12-26 2019-07-18 株式会社日本総合研究所 Computer program
JP7041511B2 (en) 2017-12-26 2022-03-24 株式会社日本総合研究所 Computer program
KR102335604B1 (en) * 2020-07-29 2021-12-06 경북대학교 산학협력단 Apparatus and method for intelligent abnormal operation recognition of system using bitmap pattern representation of power-consumption

Also Published As

Publication number Publication date
JP6574146B2 (en) 2019-09-11

Similar Documents

Publication Publication Date Title
US8024617B2 (en) Method and apparatus for cause analysis involving configuration changes
JP2018045403A (en) Abnormality detection system and abnormality detection method
JP4746455B2 (en) Computer apparatus, start control method, and start control program
US9117072B2 (en) Software exploit detection
US20180081751A1 (en) Server performance correction using remote server actions
JP6523582B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING PROGRAM
JP2008090504A (en) Computer maintenance support system and analysis server
US9430318B2 (en) Health monitoring and recovery for infrastructure devices
JP6574146B2 (en) Service monitoring apparatus and service monitoring method
EP2819020A1 (en) Information system management device and information system management method and program
US20190197452A1 (en) Incident response assisting device
JP5803246B2 (en) Network operation management system, network monitoring server, network monitoring method and program
JP2007025820A (en) Risk diagnostic program for software
JP5679347B2 (en) Failure detection device, failure detection method, and program
JP6041727B2 (en) Management apparatus, management method, and management program
JP2018028798A (en) Information processing apparatus and program
JP2010237744A (en) Information processing device, operation history acquisition method, and computer program
JP2006201890A (en) Device for taking countermeasures against program abnormality
JP7338137B2 (en) Application modification system and information processing device
JP5978804B2 (en) Program, method and information processing apparatus for managing system
WO2020240766A1 (en) Evaluation device, system, control method, and program
JP2019004284A (en) Abnormality detection device and abnormality detection method
JP7294441B2 (en) Evaluation device, evaluation system, evaluation method and program
JP6038326B2 (en) Data processing device, data communication device, communication system, data processing method, data communication method, and program
JPWO2017099062A1 (en) Diagnostic device, diagnostic method, and diagnostic program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180528

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190305

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190815

R150 Certificate of patent or registration of utility model

Ref document number: 6574146

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150