JP2022117443A - Device, method, and program for processing information - Google Patents
Device, method, and program for processing information Download PDFInfo
- Publication number
- JP2022117443A JP2022117443A JP2021211658A JP2021211658A JP2022117443A JP 2022117443 A JP2022117443 A JP 2022117443A JP 2021211658 A JP2021211658 A JP 2021211658A JP 2021211658 A JP2021211658 A JP 2021211658A JP 2022117443 A JP2022117443 A JP 2022117443A
- Authority
- JP
- Japan
- Prior art keywords
- log
- execution
- detailed
- information processing
- information
- 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.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 124
- 238000000034 method Methods 0.000 title description 50
- 230000010365 information processing Effects 0.000 claims abstract description 89
- 238000003672 processing method Methods 0.000 claims abstract description 8
- 238000012217 deletion Methods 0.000 claims description 44
- 230000037430 deletion Effects 0.000 claims description 44
- 230000014759 maintenance of location Effects 0.000 claims description 3
- 238000004801 process automation Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 65
- 230000008569 process Effects 0.000 description 37
- 238000003860 storage Methods 0.000 description 32
- 235000019580 granularity Nutrition 0.000 description 19
- 238000012986 modification Methods 0.000 description 9
- 230000004048 modification Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000000605 extraction Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000005553 drilling Methods 0.000 description 4
- 238000012550 audit Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 238000007792 addition Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000011835 investigation Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012805 post-processing Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、情報処理装置、情報処理方法、及び情報処理プログラムに関する。 The present invention relates to an information processing device, an information processing method, and an information processing program.
例えば、既存の一般的なログの保存形式では、ログビューア上で異なる粒度のログが混在して表示されてしまう問題があった。そのためエラーの原因となった操作の特定や、一連の実行に沿ったログの閲覧にコストがかかっていた。従来のログの保存システムとして、例えば、特許文献1がある。
For example, in the existing general log storage format, there was a problem that logs with different granularity were mixed and displayed on the log viewer. Therefore, identifying the operation that caused the error and viewing the log along with the series of executions was costly. As a conventional log storage system, for example,
しかしながら、特許文献1では、処理対象について、実行ログを利用してエラー原因や操作記録の分析にかかるコストを低減することに関して何ら記載されていない。 However, Japanese Patent Laid-Open No. 2002-200000 does not describe anything about using execution logs to reduce the cost of analyzing error causes and operation records.
本発明は、上記に鑑みてなされたものであり、処理対象についての実行ログを利用してエラー原因や操作記録の分析にかかるコストを低減することが可能な情報処理装置、情報処理方法、及び情報処理プログラムを提供することを目的とする。 The present invention has been made in view of the above, and provides an information processing apparatus, an information processing method, and an information processing apparatus capable of reducing the cost of analyzing error causes and operation records by using an execution log for a processing target. The purpose is to provide an information processing program.
上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置であって、前記制御部は、1又は複数の処理対象の実行ログを粒度毎に階層構造で記録するログ記録手段と、表示部にビューア画面を表示して、前記階層構造で記録された実行ログを階層化表示するビューア手段と、を備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides an information processing apparatus comprising a control unit, wherein the control unit stores one or more processing target execution logs in a hierarchical structure for each granularity. and a viewer means for displaying a viewer screen on a display unit and hierarchically displaying the execution log recorded in the hierarchical structure.
また、本発明の一態様によれば、前記階層化表示は、ドリルダウンによる表示又はツリー構造による表示を含むことにしてもよい。 Further, according to one aspect of the present invention, the hierarchical display may include a drill-down display or a tree structure display.
また、本発明の一態様によれば、前記ログ記録手段は、前記実行ログを、日時、正常又はエラーを示すログレベル、処理対象、サマリーキー情報を含むサマリーログと、日時、ログレベル、処理内容、明細キー情報を含む明細ログと、日時、ログレベル、操作内容、詳細キー情報を含む詳細ログとを、階層構造でそれぞれテーブルに記録し、前記ビューア手段は、前記ビューア画面において、前記サマリーキー情報及び前記明細キー情報を使用して、前記サマリーログから前記明細ログ、前記明細キー情報及び前記詳細キー情報を使用して、前記明細ログから前記詳細ログをドリルダウン又はツリー構造で表示することにしてもよい。 Further, according to one aspect of the present invention, the log recording means stores the execution log in a summary log including date and time, log level indicating normal or error, processing target, and summary key information, date and time, log level, process A detailed log containing contents and detailed key information and a detailed log containing dates, log levels, operation contents and detailed key information are recorded in tables in a hierarchical structure, respectively, and the viewer means displays the summary on the viewer screen. Displaying the detailed log from the summary log using the key information and the detailed key information, and displaying the detailed log from the detailed log using the detailed key information and the detailed key information in a drill-down or tree structure You can decide.
また、本発明の一態様によれば、前記ログ記録手段は、前記明細ログは、型及び/又は列数が異なる場合は、前記サマリーログに異なる実行種別コードを付加し、当該異なる実行種別コード毎にテーブルを分けて記録することにしてもよい。 Further, according to one aspect of the present invention, the log recording means adds a different execution type code to the summary log when the detailed log differs in type and/or the number of columns, and adds a different execution type code to the summary log. A table may be separately recorded for each.
また、本発明の一態様によれば、前記実行ログは、RPA(Robotic Process Automation)の実行ログを含むことにしてもよい。 Further, according to one aspect of the present invention, the execution log may include an RPA (Robotic Process Automation) execution log.
また、本発明の一態様によれば、前記明細ログは、RPAフロー定義に従って記録される実行ロボット情報、操作対象情報、ループ回数情報を含み、前記詳細ログは、自動操作命令に応じて記録される操作対象項目情報、入力情報を含むことにしてもよい。 Further, according to one aspect of the present invention, the detailed log includes execution robot information, operation target information, and loop count information recorded according to the RPA flow definition, and the detailed log is recorded according to an automatic operation command. It may include operation target item information and input information.
また、本発明の一態様によれば、前記制御部は、さらに、ログの粒度毎に削除可能かと削除可能な場合にその保管期間を設定したログポリシーに従って、表示部に表示されるログ削除画面で指定されるログを削除するログ削除手段を備えることにしてもよい。 Further, according to one aspect of the present invention, the control unit further displays a log deletion screen displayed on the display unit according to a log policy that sets whether deletion is possible for each log granularity and, if deletion is possible, the storage period. A log deletion means for deleting the log specified by may be provided.
また、本発明の一態様によれば、前記実行ログは、前記処理対象に対するユーザのログインからログアウトまでの処理のログを含むことにしてもよい。 Further, according to one aspect of the present invention, the execution log may include a log of processing from login to logout of the user for the processing target.
また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置で実行される情報処理方法であって、前記制御部で実行される、1又は複数の処理対象の実行ログを粒度毎に階層構造で記録するログ記録ステップと、表示部にビューア画面を表示して、前記階層構造で記録された実行ログを階層化表示するビューアステップと、を含むことを特徴とする。 Further, in order to solve the above-described problems and achieve the object, the present invention provides an information processing method executed by an information processing apparatus having a control unit, comprising one or more and a viewer step of displaying a viewer screen on a display unit and hierarchically displaying the execution logs recorded in the hierarchical structure. It is characterized by
また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置に実行させるための情報処理プログラムであって、前記制御部において、1又は複数の処理対象の実行ログを粒度毎に階層構造で記録するログ記録ステップと、表示部にビューア画面を表示して、前記階層構造で記録された実行ログを階層化表示するビューアステップと、を実行させるための情報処理プログラムであることを特徴とする。 Further, in order to solve the above-described problems and achieve the object, the present invention provides an information processing program to be executed by an information processing apparatus having a control unit, wherein the control unit performs one or more processes To execute a log recording step of recording target execution logs in a hierarchical structure for each granularity, and a viewer step of displaying the execution logs recorded in the hierarchical structure in a hierarchical manner by displaying a viewer screen on the display unit. characterized by being an information processing program of
本発明によれば、処理対象についての実行ログを利用してエラー原因や操作記録の分析にかかるコストを低減することが可能になるという効果を奏する。 According to the present invention, it is possible to reduce the cost of analyzing the causes of errors and operation records by using the execution log of the processing target.
以下に、本発明に係る情報処理装置、情報処理方法、及び情報処理プログラムの実施の形態を、図面に基づいて詳細に説明する。なお、本実施形態によりこの発明が限定されるものではない。 Embodiments of an information processing apparatus, an information processing method, and an information processing program according to the present invention will be described in detail below with reference to the drawings. In addition, this invention is not limited by this embodiment.
[1.概要]
近時、例えば、RPA(Robotic Process Automation)と呼ばれるアプリケーション自動操作の需要が高まっている。これは、働き方改革などの動きもあり、定型作業の自動化を促進することが望まれているという背景がある。
[1. Overview]
Recently, there has been an increasing demand for automatic operation of applications called, for example, RPA (Robotic Process Automation). This is against the background of the desire to promote the automation of routine work, partly due to movements such as work style reform.
かかるRPAは、操作を自動化するための自動化ツールがある。具体的には、ユーザによる複数の操作を登録(定義)しておき、その登録した操作を実行することにより、定形化された2回目以降の操作を簡単に実行することができるようにしている。 Such RPA has automation tools for automating operations. Specifically, by registering (defining) a plurality of operations by the user and executing the registered operations, it is possible to easily execute standardized operations after the second time. .
かかるRPAでは、アプリケーションの自動操作に定義が必要となり、その定義作成のし易さや、想定しない際の調査のし易さが求められている。 In such RPA, a definition is required for automatic operation of the application, and easiness of creating the definition and easiness of investigation when unexpected is required.
図1は、RPAの操作定義の例を示す図である。図1に操作定義の例では、業務システムに対して、(1)Aに値をセット、(2)Bに値をセット、(3)Cに値をセットという内容になっている。 FIG. 1 is a diagram showing an example of an RPA operation definition. In the example of the operation definition shown in FIG. 1, for the business system, (1) a value is set in A, (2) a value is set in B, and (3) a value is set in C.
図2を参照して、一般的なログの概要を説明する。図2は、RPA処理のログの例を示す図である。一般的なログは複数実行者のログが混在した状態かつ時系列順に処理内容が列挙される。RPAは自動で操作を行う都合上、実行中に人が処理内容を把握できないことが多く、ログから情報を得ることが一般的である。図2に示すログの例では、時系列に、複数実行者の異なる処理対象の処理内容のログが列挙されている。 An overview of a typical log will be described with reference to FIG. FIG. 2 is a diagram illustrating an example of a log of RPA processing. A general log is a mixture of logs from multiple executors and lists the processing details in chronological order. Since RPA is operated automatically, it is often difficult for a person to grasp the processing details during execution, and information is generally obtained from logs. In the example of the log shown in FIG. 2, the logs of the processing details of different processing targets by multiple executors are listed in chronological order.
図3を参照して、従来のログの課題を説明する。図3は、従来のログの課題を説明するための図である。複雑な処理内容が列挙されたログから結果分析を行うことはコストが大きい。特にRPAのように要求によって処理手順が異なる複雑なフローを実行する場合、
別実行の処理内容の混在や、ログの粒度の差からログ自体が煩雑になってしまう。そのため、結果の確認や問題発生箇所の分析を行うには多大な時間が必要であった。
Problems with conventional logs will be described with reference to FIG. FIG. 3 is a diagram for explaining problems of conventional logs. It is costly to perform result analysis from a log listing complicated processing details. Especially when executing a complicated flow with different processing procedures depending on the request, such as RPA,
The log itself becomes complicated due to the mixture of the processing contents of different executions and the difference in log granularity. Therefore, it took a lot of time to confirm the results and analyze the location where the problem occurred.
例えば、図3において、従来のログから問題発生箇所を特定し、原因の調査を行うことは、異なる処理対象の処理内容が混在しているため、前後の処理内容などを捉えにくくなっている等の理由からコストがかかってしまう。 For example, in Fig. 3, it is difficult to identify the location of the problem from the conventional log and investigate the cause, because the processing contents of different processing targets are mixed, so it is difficult to grasp the contents of the processing before and after. costs due to the reason.
本実施の形態では、1又は複数の処理対象(例えば、アプリケーション)の実行ログを参照してエラー原因の特定やその分析を行う場合にコストがかかるという課題を解決するために、実行ログを階層構造で管理する。具体的には、複雑な定義ベースの処理フローで発生する正常/エラーログを、粒度毎に構造化して階層構造で複数のテーブルに分けて記録し、ログビューア上からも階層表示(例えば、ドリルダウンやツリー構造で表示)で閲覧可能とすることで、ログの閲覧性を向上させる。 In this embodiment, in order to solve the problem that it costs a lot to identify and analyze the cause of an error by referring to the execution logs of one or more processing targets (for example, applications), the execution logs are hierarchically arranged. Manage by structure. Specifically, the normal/error logs that occur in a complex definition-based process flow are structured by granularity, divided into multiple tables in a hierarchical structure, and recorded. Viewability of the log is improved by making it possible to view it in a down or tree structure).
図4は、本実施の形態のログテーブルの構造例を示す図である。本実施の形態では、実行ログを、サマリーログ、明細ログ、詳細ログの3段階の階層構造で記録する。 FIG. 4 is a diagram showing a structural example of a log table according to this embodiment. In this embodiment, the execution log is recorded in a three-level hierarchical structure of summary log, detailed log, and detailed log.
ところで、一般的に、ログに主に2通りの保存目的がある。1つ目は、操作の詳細を記録したもので、主にエラー原因の特定のためなどに確認する、短期的に必要になるログ(本明細書の明細ログ、詳細ログが該当)の保存である。2つ目は、監査要件を満たすうえで必要になる、長期的に保存する必要があるログ(本明細書のサマリーログが該当)の保存である。 By the way, in general, there are mainly two storage purposes for logs. The first is a record of the details of the operation, and it is mainly used to save a short-term necessary log (detailed log and detailed log in this specification) that is checked mainly to identify the cause of the error. be. The second is storage of logs (summary logs of this specification correspond) that need to be stored for a long time, which is necessary to satisfy audit requirements.
しかしながら、明細、詳細ログが肥大化する懸念がある。ログの粒度が細かくなるにつれて記録する件数が増える傾向がある。そのため、粒度の細かいログにおいては、記録する際のファイル容量が肥大化する懸念がある。 However, there is a concern that the details and detailed logs will become bloated. The number of records tends to increase as the granularity of the log becomes finer. For this reason, there is a concern that a log with fine granularity will increase the file capacity when recording.
そこで、本実施の形態では、(1)任意の期間に記録されたログを、粒度ごとに選択して削除可能にし、(2)ログの粒度毎に削除できない期間を設定可能にし、必要なログが誤って削除されることを防ぐ機能を実装した。 Therefore, in the present embodiment, (1) logs recorded in an arbitrary period can be selected and deleted for each granularity, and (2) a period that cannot be deleted can be set for each log granularity, and necessary logs can be deleted. Implemented a function to prevent accidental deletion of
これにより、(1)容量の肥大化要因となる明細ログ・詳細ログを選択的に削除でき、(2)監査要件上で必要なログ(サマリーログなど)は長期的に保管又は削除不可と設定でき、誤操作によるログの削除を防ぐことが可能となる。 As a result, (1) it is possible to selectively delete detailed logs and detailed logs that cause bloated capacity, and (2) logs that are necessary for audit requirements (summary logs, etc.) can be stored for a long time or cannot be deleted. It is possible to prevent log deletion due to erroneous operation.
以下の説明では、RPAの自動操作の実行ログについて説明するが、本発明は、RPAに限られるものではなく、一般的な業務システム全般や定義やタスクを組み合わせて、フローを作成できるシステム等の実行ログについても適用可能である。 In the following explanation, the execution log of the automatic operation of RPA will be explained, but the present invention is not limited to RPA, but is applicable to general business systems and systems that can create flows by combining definitions and tasks. Execution logs are also applicable.
[2.構成]
本実施の形態に係る情報処理装置100の構成について、図5を参照して説明する。図5は、本実施の形態に係る情報処理装置100の構成の一例を示すブロック図である。
[2. Constitution]
A configuration of
情報処理装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、情報処理装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。
The
情報処理装置100は、図5に示すように、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。情報処理装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。
The
通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、情報処理装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、情報処理装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、後述する記憶部106に格納されるデータは、サーバに格納されてもよい。
The
入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、およびマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。また、ユーザが出力装置(モニタ)114の画面(GUI等)に対して入力装置112で操作することを、単に「ユーザ操作」と記載する場合がある。
An input device 112 and an output device 114 are connected to the input/
記憶部106には、各種のデータベース、テーブル、およびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。 The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 stores a computer program for performing various processes by giving commands to a CPU (Central Processing Unit) in cooperation with an OS (Operating System). As the storage unit 106, for example, memory devices such as RAM (Random Access Memory) and ROM (Read Only Memory), fixed disk devices such as hard disks, flexible disks, and optical disks can be used.
記憶部106は、定義ファイル106a、ログテーブル106b、ログポリシーファイル106c等を備えている。
The storage unit 106 includes a
定義ファイル106aは、自動操作部(RPAシステム)102aが、1又は複数の処理対象を自動操作するための一連の操作命令を規定した定義(「RPAロボット実行定義」ともいう)を格納するためのファイルである。処理対象のアプリケーション毎に定義する、1回の処理実行(1ループ)に必要な一連の操作命令を定義したまとまりの単位を「ロボット又はRPAロボット」とする。「RPAロボット実行定義」の詳細は後述する。
The
ログテーブル106bには、自動操作部(RPAシステム)102aのログ記録部102a1で作成される実行ログを格納するためのテーブルであり、実行ログは、サマリーログ、明細ログ、詳細ログの3段階の階層構造でそれぞれサマリーログテーブル、明細ログテーブル、詳細ログテーブルに格納される。 The log table 106b is a table for storing the execution log created by the log recording unit 102a1 of the automatic operation unit (RPA system) 102a. It is stored in the summary log table, detailed log table, and detailed log table in a hierarchical structure.
ログポリシーファイル106cは、ログポリシー設定画面で設定される、ログの粒度毎に削除可能かと削除可能な場合にその保管期間(削除できない期間)を規定したログポリシーを格納するためのファイルである。
The
制御部102は、情報処理装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。
The
制御部102は、記憶部106に格納されている、定義ファイル106a、ログテーブル106b等にアクセス可能に構成されている。なお、定義ファイル106a及びログテーブル106bは、他の場所(例えば、サーバ200)に設けられていてもよく、制御部102がアクセス可能な構成であればよい。
The
制御部102は、機能概念的に、自動操作部(RPAシステム)102aと、アプリケーション102bと、を備えている。
The
自動操作部(RPAシステム)102aは、定義ファイル106aに登録されている、アプリケーション102bに対する一連の操作を規定した定義に従って、アプリケーション102bに対する自動操作を実行する。
The automatic operation unit (RPA system) 102a executes automatic operations on the
自動操作部(RPAシステム)102aは、機能概念的に、ログ記録部102a1と、ビューア部102a2と、ログ削除部102a3と、を備えている。自動操作部102aは、前述したRPAに組み込まれている。また、RPAに組み込むことの他に、RDA(Robotic Desktop Automation)等の他の自動操作ツールに組み込んでもよい。
The automatic operation unit (RPA system) 102a functionally and conceptually includes a log recording unit 102a1, a viewer unit 102a2, and a log deletion unit 102a3. The
ログ記録部102a1は、複数の処理対象(アプリケーション102b)の実行ログを生成してログテーブル106bに粒度毎に階層構造で記録する。
The log recording unit 102a1 generates execution logs of a plurality of processing targets (
ログ記録部102a1は、実行ログを、日時、正常又はエラーを示すログレベル、処理対象、サマリーキー情報を含むサマリーログと、日時、ログレベル、処理内容、明細キー情報を含む明細ログと、日時、ログレベル、操作内容、詳細キー情報を含む詳細ログとを、階層構造でそれぞれログテーブル106bに記録してもよい。 The log recording unit 102a1 stores an execution log as a summary log including date and time, log level indicating normal or error, processing target, and summary key information, a detailed log including date and time, log level, processing content, and detailed key information, , log level, operation content, and detailed log including detailed key information may be recorded in the log table 106b in a hierarchical structure.
ログ記録部102a1は、明細ログが、型及び/又は列数が異なる場合は、サマリーログに異なる実行種別コードを付加し、当該異なる実行種別コード毎にテーブルを分けて記録することにしてもよい。 When the detailed logs differ in type and/or number of columns, the log recording unit 102a1 may add different execution type codes to the summary log and record a separate table for each different execution type code. .
ビューア部102a2は、モニタ114にビューア画面を表示して、ログテーブル106bに階層構造で記録された実行ログを階層化表示する。 The viewer unit 102a2 displays a viewer screen on the monitor 114 and hierarchically displays the execution logs recorded in the hierarchical structure in the log table 106b.
階層化表示は、ドリルダウンによる表示又はツリー構造による表示を含むことにしてもよい。ビューア部102a2は、ビューア画面において、サマリーキー情報及び明細キー情報を使用して、サマリーログから明細ログ、明細キー情報及び詳細キー情報を使用して、明細ログから詳細ログをドリルダウン又はツリー構造で表示することにしてもよい。 Hierarchical display may include drill-down display or tree structure display. The viewer unit 102a2 uses the summary key information and the detail key information on the viewer screen to drill down from the summary log to the detail log, use the detail key information and the detail key information, and drill down or tree structure from the detail log to the detail log. may be displayed with .
ログ削除部102a3は、ログポリシーファイル106cのログポリシーに従って、モニタ114に表示されるログ削除画面で指定されるログをログテーブル106bから削除する。
The log deletion unit 102a3 deletes the log specified on the log deletion screen displayed on the monitor 114 from the log table 106b according to the log policy of the
アプリケーション102bは、1又は複数の処理対象であるアプリケーションであり、例えば、受注、仕入、発注、出荷、売上等の業務用アプリケーションやブラウザ等の各種アプリケーションを含む。本発明は、これ以外のアプリケーションにも適用可能である。アプリケーションは、記憶部106に格納されているが、制御部102が実行する、記憶部106に格納されているアプリケーションを、機能概念的に制御部102のアプリケーション102bと表現している。
The
[3.処理の具体例]
図6~図20を参照して、本実施の形態における情報処理装置100の制御部102の処理の具体例を説明する。図6~図20は、本実施の形態における情報処理装置100の制御部102の処理の具体例を説明するための図である。
[3. Specific example of processing]
A specific example of the processing of the
制御部102の自動操作部(RPAシステム)102aは、定義ファイル106aに格納されているRPAロボット実行定義(プログラム及びデータ)に従って、以下に示すような処理(フロー)を実行する。以下に示す処理(フロー)は、自動操作部102aがRPA実行定義に従って実行する処理を示しているが、説明の簡単のため、RPA実行定義を動作主体として説明する場合がある。
The automatic operation unit (RPA system) 102a of the
(3-1.共通(基本)定義)
図6~図11を参照して、RPAロボット実行定義の共通定義を説明する。まず、基礎となる共通定義を説明する。
(3-1. Common (basic) definition)
The common definition of the RPA robot execution definition will be described with reference to FIGS. 6 to 11. FIG. First, the underlying common definition is described.
(RPAフローの定義)
図6は、RPAロボット実行の前後の処理を含めた実行フローを示す図である。ロボットに入力させたいデータをExcelなどで用意して、それを繰り返し入力するような処理を想定している。
(Definition of RPA flow)
FIG. 6 is a diagram showing an execution flow including processing before and after execution of the RPA robot. It is assumed that the data to be input to the robot is prepared in Excel or the like, and that the data is input repeatedly.
図6において、RPAフローを開始すると(ステップS1)、RPAデータソースを読み込む(ステップS2)。ここでは、例えば、Excelなどで用意されたデータソースを読み込む。 In FIG. 6, when the RPA flow is started (step S1), the RPA data source is read (step S2). Here, for example, a data source prepared by Excel or the like is read.
RPAデータソースループを実行する(ステップS3)。ここでは、読み込んだデータの件数分、ループ処理を行う。 Execute the RPA data source loop (step S3). Here, loop processing is performed for the number of read data.
ループを開始すると(ステップS4)、RPAロボットを実行する(ステップS7)。ロボットにどのような動きをさせるか、という細かい設定を別途行う。実行結果の成功・失敗を判定する。実行結果が成功した場合は(ステップS8)、次のループを実行する(ステップS10)。実行結果が失敗した場合(ステップS9)は、運用に応じてハンドリングのパターンを選択する。(1)エラー時続行型(エラー発生後も処理を続行する)の場合は(ステップS11)、次のループを実行する(ステップS10)。(2)エラー時停止型(エラー発生した時点で処理を停止する)の場合は(ステップS12)、RPAシナリオを終了する(ステップS13)。 When the loop starts (step S4), the RPA robot is executed (step S7). Detailed settings such as how to make the robot move are made separately. Determine success or failure of the execution result. If the execution result is successful (step S8), the next loop is executed (step S10). If the execution results in failure (step S9), a handling pattern is selected according to the operation. (1) In the case of error continuation type (processing is continued even after an error occurs) (step S11), the next loop is executed (step S10). (2) In the case of the stop-on-error type (the process is stopped when an error occurs) (step S12), the RPA scenario ends (step S13).
ループが終了すると(ステップS5)、RPAフローを終了する(ステップS6)。 When the loop ends (step S5), the RPA flow ends (step S6).
(RPAロボット実行定義)
「RPAロボット実行」における詳細な定義を説明する。処理の部品を組み合わせてロボットの挙動を定義する。RPAロボット実行定義は、(1)レイヤー1(L1):RPAフロー定義、(2)レイヤー2(L2):ロボット実行定義、(3)レイヤー3(L3):画面操作処理の内部実装で構成されている。
(RPA robot execution definition)
A detailed definition in "RPA Robot Execution" is explained. The processing parts are combined to define the behavior of the robot. The RPA robot execution definition consists of (1) Layer 1 (L1): RPA flow definition, (2) Layer 2 (L2): Robot execution definition, (3) Layer 3 (L3): Internal implementation of screen operation processing. ing.
(1)レイヤー1(L1):RPAフロー定義
前述した「RPAフロー定義」である。RPA実行設定者が設定するレイヤーになる。
(1) Layer 1 (L1): RPA flow definition This is the aforementioned "RPA flow definition". It becomes a layer set by the RPA execution setter.
(2)レイヤー2(L2):ロボット実行定義
ロボットの詳細な実行定義である。RPA実行設定者が設定するレイヤーになる。画面項目に応じた操作処理が部品として用意されており、それを組み合わせてロボットの挙動を定義する。一般的なRPAツールでは、画面操作処理以外に様々な処理の部品が用意されている。
(2) Layer 2 (L2): Robot execution definition Detailed execution definition of the robot. It becomes a layer set by the RPA execution setter. Operation processing corresponding to screen items is prepared as parts, and robot behavior is defined by combining them. In a general RPA tool, components for various processes are prepared in addition to the screen operation process.
例えば、画面ショット撮影処理は、任意のタイミングで画面ショットを撮影したいときに組み込む処理である。待機処理は、画面遷移や登録処理など、時間のかかる処理を待機する処理である。設定時に待機時間を設定するのが一般的である。画面項目の値取得処理は、画面にどのような値が入力されているかを取得する処理である。分岐処理は、画面項目の値などを条件にして、ロボットの挙動を分岐させる処理である。ループ処理は、明細項目など、繰り返し入力が必要な場合に使用する処理である。 For example, the screen shot shooting process is a process that is incorporated when it is desired to take a screen shot at an arbitrary timing. Standby processing is processing that waits for time-consuming processing such as screen transition and registration processing. It is common to set the waiting time at the time of setting. The screen item value acquisition process is a process of acquiring what kind of value is input on the screen. The branching process is a process of branching the behavior of the robot based on conditions such as screen item values. Loop processing is processing that is used when repeated input is required, such as for detailed items.
(3)レイヤー3(L3):画面操作処理の内部実装
ロボット実行定義に組み込む「画面操作処理部品」の内部実装である。RPA実行設定者が意識することのないレイヤーである。このレイヤーに共通処理を組み込むことによって、RPAの設定を簡略化しつつ、高機能なものにすることできる。
(3) Layer 3 (L3): Internal implementation of screen operation processing This is the internal implementation of the “screen operation processing component” incorporated in the robot execution definition. This is a layer that RPA execution setters are unaware of. By incorporating common processing into this layer, it is possible to simplify RPA settings and make them highly functional.
図7は、(1)レイヤー1(L1):RPAフロー定義、(2)レイヤー2(L2):ロボット実行定義、(3)レイヤー3(L3):画面操作処理の内部実装の処理フローの一例を示す図である。 FIG. 7 shows (1) Layer 1 (L1): RPA flow definition, (2) Layer 2 (L2): Robot execution definition, (3) Layer 3 (L3): An example of the processing flow for internal implementation of screen operation processing. It is a figure which shows.
図7において、L1:RPAフロー定義では、RPAフローを開始すると(ステップS21)、一連の前処理を実行した後(ステップS22)、RPAロボット実行を行い(ステップS23)、一連の後処理を実行した後(ステップS24)、RPAフローを終了する(ステップS25)。 In FIG. 7, L1: In the RPA flow definition, when the RPA flow is started (step S21), a series of pre-processing is executed (step S22), the RPA robot is executed (step S23), and a series of post-processing is executed. After that (step S24), the RPA flow ends (step S25).
L2:ロボット実行定義では、RPAロボット実行を開始すると(ステップS31)、例えば、テキストボックスを入力(ステップS32)、チェックボックスを入力(ステップS33)、ラジオボタンを入力し(ステップS34)、一連の処理を実行し(ステップS35)、登録ボタンを押下して(ステップS36)、RPAロボット実行を終了する(ステップS37)。 L2: In the robot execution definition, when RPA robot execution is started (step S31), for example, a text box is entered (step S32), a check box is entered (step S33), a radio button is entered (step S34), and a series of The process is executed (step S35), the registration button is pressed (step S36), and the RPA robot execution is terminated (step S37).
L3:画面操作処理の内部実装では、操作処理を開始すると(ステップS41)、操作対象項目の特定を行う(ステップS42)。例えば、IDや座標をもとに操作対象項目を特定する。操作対象項目の特定に失敗した場合は(ステップS44)、すなわち、操作対象項目が存在しなかった場合、エラーとして、「RPAロボット実行」を即時中断する。 L3: In the internal implementation of the screen operation process, when the operation process is started (step S41), the item to be operated is specified (step S42). For example, the operation target item is specified based on the ID and coordinates. If the identification of the operation target item fails (step S44), that is, if the operation target item does not exist, an error occurs and the "RPA robot execution" is immediately interrupted.
操作対象項目の特定に成功した場合は(ステップS43)、入力データを取得する(ステップS45)。具体的には、「RPAデータソース読込」で読み込んだデータの中から、対象項目に入力するデータを取得する。 If the operation target item is successfully identified (step S43), input data is acquired (step S45). Specifically, the data to be input to the target item is obtained from the data read by "Read RPA data source".
入力データの取得に失敗した場合は(ステップS47)、エラーとして、「RPAロボット実行」を即時中断する。 If the acquisition of the input data fails (step S47), the "RPA robot execution" is immediately interrupted as an error.
入力データの取得に成功した場合は(ステップS46)、一連の前処理を実行し(ステップS48)、操作処理を実行し(ステップS49)、一連の後処理を実行し(ステップS50)、実行ログの出力を行って、ログテーブル106bに格納し(ステップS51)、操作処理を終了する(ステップS52)。 If the acquisition of the input data succeeds (step S46), a series of pre-processing is executed (step S48), an operation process is executed (step S49), a series of post-processing is executed (step S50), and an execution log is output and stored in the log table 106b (step S51), and the operation process is terminated (step S52).
(実行ログ)
実行ログとして、サマリーログ、明細ログ、詳細ログの3段階のログを想定している。
サマリーログは、RPAフローの実行指示単位で作成されるログである。明細ログは、RPAフローの一実行における、各処理単位(L1:RPAフローの定義の各ステップ単位)で出力されるログである。詳細ログは、RPAロボット実行定義における、各処理単位(L2:RPAロボット実行定義の各ステップ単位)で出力されるログである。実行結果の成功、エラーのデータを含むことにしてもよい。
(execution log)
As an execution log, it is assumed that there are three stages of logs: a summary log, a detailed log, and a detailed log.
A summary log is a log created for each RPA flow execution instruction. A detailed log is a log output for each processing unit (L1: each step unit in the RPA flow definition) in one execution of the RPA flow. The detailed log is a log output for each processing unit (L2: each step unit of the RPA robot execution definition) in the RPA robot execution definition. Successful execution results and error data may be included.
図8は、サマリーログの例を示す図である。サマリーログは、SEQ、実行結果の成功又は失敗を示すログレベル、実行定義名、実行開始日時、実行終了日時、実行ID、実行種別CDのデータを含んでいてもよい。 FIG. 8 is a diagram showing an example of a summary log. The summary log may include data of SEQ, log level indicating success or failure of execution result, execution definition name, execution start date and time, execution end date and time, execution ID, and execution type CD.
図9は、明細ログの例を示す図である。明細ログは、実行ID、SEQ、ログレベル、実行内容、実行ロボット名、操作対象アプリ名、ループSEQ、実行開始日時、実行終了日時のデータを含んでいてもよい。 FIG. 9 is a diagram showing an example of a detailed log. The detailed log may include data such as execution ID, SEQ, log level, execution content, execution robot name, operation target application name, loop SEQ, execution start date and time, and execution end date and time.
図10は、詳細ログの例を示す図である。詳細ログは、実行ID、明細SEQ、SEQ、ログレベル、実行内容、操作対象項目名、入力情報、実行日時のデータを含んでいてもよい。 FIG. 10 is a diagram showing an example of a detailed log. The detailed log may include execution ID, detailed SEQ, SEQ, log level, execution content, operation target item name, input information, and execution date and time data.
図11は、画面ショットログの例を示す図である。画面ショットログは、実行ID、明細SEQ、詳細SEQ、画面データを含んでいてもよい。 FIG. 11 is a diagram showing an example of a screen shot log. The screen shot log may include execution ID, detailed SEQ, detailed SEQ, and screen data.
(3-2.ログ記録部の実装及び処理)
図12A及び図12Bを参照して、ログ処理(ログ記録部102a1の自動操作を規定する定義)の実装を説明する。ログ記録部102a1は、実行ログを、日時、ログレベル、処理対象、キー情報を含むサマリーログと、日時、ログレベル、処理内容、キー情報を含む明細ログと、日時、ログレベル、操作内容、キー情報を含む詳細ログとを、階層構造でそれぞれログテーブル106bに記録する。ログ記録部102a1は、明細ログ及び/又は詳細ログは、型及び/又は列数が異なる場合は、テーブルを分けて記録することにしてもよい。
(3-2. Implementation and processing of log recording unit)
12A and 12B, implementation of log processing (definition that defines automatic operation of the log recording unit 102a1) will be described. The log recording unit 102a1 divides the execution log into a summary log including date and time, log level, processing target, and key information, a detailed log including date and time, log level, processing details, and key information, a date and time, log level, operation details, A detailed log including key information is recorded in the log table 106b in a hierarchical structure. The log recording unit 102a1 may record the detailed log and/or the detailed log in separate tables if the type and/or the number of columns are different.
図12A及び図12Bは、ログ処理の実装を説明するための図である。図12A及び図12Bは、図6及び図7に、ログ処理を実装した例を説明するための図である。 12A and 12B are diagrams for explaining implementation of log processing. 12A and 12B are diagrams for explaining an example in which log processing is implemented in FIGS. 6 and 7. FIG.
明細ログ出力、サマリーログ出力は、ロボットの実行定義(L2)に実装し、詳細ログ出力は、画面操作処理の内部実装(L3)に実装する。RPAフロー定義上の処理内で明細ログの出力処理は共通して存在している。 Detailed log output and summary log output are implemented in the execution definition (L2) of the robot, and detailed log output is implemented in the internal implementation (L3) of screen operation processing. Detail log output processing exists in common within the processing on the RPA flow definition.
図12A及び図12Bにおいて、RPAフローの開始、読込処理、ループ開始処理を実行する毎に、それぞれ、明細ログを出力してログテーブル106bに格納し(T1~T3)、1ループ目のRPAロボット実行(A)で、各処理内容(RAPロボット実行開始、テキストボックス入力、チェックボックス入力、ラジオボタン入力、・・・、登録ボタン押下、RPAロボット実行終了)の詳細ログを出力して、ログテーブル106bに格納し(T10)、1ループ目のRPAロボット実行(A)の終了で、明細ログを出力してログテーブル106bに格納する(T4)。 12A and 12B, each time the RPA flow is started, read processing, and loop start processing is executed, a detailed log is output and stored in the log table 106b (T1 to T3), and the RPA robot in the first loop In execution (A), a detailed log of each processing content (RAP robot execution start, text box input, check box input, radio button input, ..., registration button pressed, RPA robot execution end) is output, and the log table 106b (T10), and at the end of the RPA robot execution (A) in the first loop, a detailed log is output and stored in the log table 106b (T4).
同様に、1ループ目のRPAロボット実行(B)で、各処理内容の詳細ログを出力してログテーブル106bに格納し、1ループ目のRPAロボット実行(B)が終了すると、明細ログを出力して、ログテーブル106bに格納する(T5)。これをループ分実行する。続いて、ループ終了処理の明細ログを出力して、ログテーブル106bに格納し(T7)、RPAフロー終了処理の明細ログを出力して、ログテーブル106bに格納する(T8)。最後に、サマリーログを出力して、ログテーブル106bに格納する(T9)。 Similarly, in the RPA robot execution (B) of the first loop, a detailed log of each processing content is output and stored in the log table 106b, and when the RPA robot execution (B) of the first loop ends, the detailed log is output. and store it in the log table 106b (T5). Execute this in a loop. Subsequently, a detailed log of the loop termination process is output and stored in the log table 106b (T7), and a detailed log of the RPA flow termination process is output and stored in the log table 106b (T8). Finally, a summary log is output and stored in the log table 106b (T9).
L2の共通変数部は、明細ログ出力の開始時に、実行ID「XXXX-XXXX」、明細ログSEQ「1」を生成し、明細ログ出力毎に、明細ログSEQをカウントアップし、また、ループ開始時に、ループSEQ「1」を発行し、ループ毎に、ループSEQをカウントアップする。また、RPAロボット実行の開始時に、詳細ログSEQ「1」を発行し、RPAロボット実行の処理(例えば、テキストボックス入力、チェックボックス入力、ラジオボタン入力)毎に、詳細ログSEQをカウントアップし、RPAロボット実行の終了でリセットする。次のRPAロボットの実行が開始されると、同様に詳細ログSEQのカウントを開始する。 The common variable part of L2 generates an execution ID "XXXX-XXXX" and a detailed log SEQ "1" at the start of detailed log output, counts up the detailed log SEQ for each detailed log output, and starts a loop. At times, a loop SEQ "1" is issued and the loop SEQ is counted up for each loop. Also, at the start of RPA robot execution, issue a detailed log SEQ "1", count up the detailed log SEQ for each RPA robot execution process (for example, text box input, check box input, radio button input), Reset at the end of RPA robot execution. When the execution of the next RPA robot is started, the detailed log SEQ is similarly counted.
(具体例1)
図13及び図14を参照して、ログ記録部102a1及びビューア部102a2の処理の具体例1を説明する。ログ記録部102a1は、実行ログを、日時、ログレベル、処理対象、サマリーキー情報を含むサマリーログと、日時、ログレベル、処理内容、明細キー情報を含む明細ログと、日時、ログレベル、操作内容、詳細キー情報を含む詳細ログとを、階層構造でそれぞれログテーブル106bに記録する。ビューア部102a2は、モニタ114にビューア画面を表示して、ログテーブル106bに階層構造で記録された実行ログを階層化表示し、具体的には、階層化表示は、ドリルダウンによる表示としてもよく、例えば、ビューア画面において、サマリーキー情報及び明細キー情報を使用して、サマリーログから明細ログ、明細キー情報及び詳細キー情報を使用して、明細ログから詳細ログをドリルダウンで表示する。
(Specific example 1)
A specific example 1 of the processing of the log recording unit 102a1 and the viewer unit 102a2 will be described with reference to FIGS. 13 and 14. FIG. The log recording unit 102a1 stores an execution log as a summary log including date/time, log level, processing target, and summary key information, a detailed log including date/time, log level, processing content, and detailed key information, and a date/time, log level, and operation log. A detailed log including contents and detailed key information is recorded in the log table 106b in a hierarchical structure. The viewer unit 102a2 displays a viewer screen on the monitor 114 and hierarchically displays the execution logs recorded in the hierarchical structure in the log table 106b. Specifically, the hierarchical display may be display by drilling down. For example, on the viewer screen, the summary key information and the detail key information are used to drill down from the summary log to the detail log, and from the detail log to the detail log using the detail key information and the detail key information.
図13は、ログテーブル106bに格納されるサマリーログ、明細ログ、詳細ログの例を示す図である。ログテーブル106b上でサマリーログ、明細ログ、詳細ログに階層化して分割して格納し、その際、それぞれを紐づけるためのキー情報を生成して、サマリーログ、明細ログ、詳細ログに付加することで階層的にサマリーログ、明細ログ、詳細ログをドリルダウンして閲覧が可能な構造にする。なお、キー情報は、以下の例に限られるものではなく、サマリーログ、明細ログ、詳細ログを紐付けることが可能な情報であれば、如何なる情報としてもよい。なお、後述するように、明細ログ、詳細ログはその操作に適した専用のログテーブルを用意し、個別に管理することにしてもよい。 FIG. 13 is a diagram showing examples of summary logs, detailed logs, and detailed logs stored in the log table 106b. A summary log, a detailed log, and a detailed log are hierarchically divided and stored on the log table 106b, and at that time, key information for linking each is generated and added to the summary log, the detailed log, and the detailed log. By doing so, the structure is structured so that the summary log, detailed log, and detailed log can be drilled down hierarchically and browsed. Note that the key information is not limited to the following example, and may be any information as long as it can be associated with the summary log, detailed log, and detailed log. As will be described later, detailed logs and detailed logs may be individually managed by preparing dedicated log tables suitable for their operations.
図13において、サマリーログは、日時、ログレベル、処理対象、サマリーキー情報(親Key)を含んでいる。ログレベルは、Errorが失敗、それ以外のInfo等は成功を示している。図13に示す例では、1行目は、日時「2020/3/6 16:41」、ログレベル「Error」、処理対象「受注・出荷RPA」、サマリーキー情報(親Key)「A001」となっている。 In FIG. 13, the summary log includes date and time, log level, processing target, and summary key information (parent key). As for the log level, Error indicates failure, and other information such as Info indicates success. In the example shown in FIG. 13, the first line contains the date and time "2020/3/6 16:41", the log level "Error", the processing target "order receipt/shipment RPA", and the summary key information (parent key) "A001". It's becoming
明細ログは、日時、ログレベル、処理内容、明細キー情報(子key)を含んでいる。明細キー情報の子Keyは、例えば、親Key+SEQ番号として、親Keyと紐付けることにしてもよい。同図に示す例では、1行目は、日時「2020/3/6 16:41」、ログレベル「info」、処理内容「受注システム起動」、明細キー情報(子Key「A001_001」)、3行目は、日時「2020/3/6 16:44」、ログレベル「Error」、処理内容「出荷システム起動」、明細キー情報(子Key「A001_002」)となっている。 The detailed log includes date and time, log level, processing content, and detailed key information (child key). The child key of the detail key information may be associated with the parent key as, for example, parent key+SEQ number. In the example shown in the figure, the first line contains the date and time "2020/3/6 16:41", log level "info", processing content "order receiving system start", detail key information (child key "A001_001"), 3 The line is date and time "2020/3/6 16:44", log level "Error", processing content "start shipping system", and detail key information (child key "A001_002").
詳細ログは、日時、ログレベル、操作内容、詳細キー情報(孫キー)を含んでいる。詳細キー情報(孫キー)は、子Key+SEQ番号としてもよい。同図に示す例では、1行目は、日時「2020/3/6 16:41」、ログレベル「info」、操作内容「受注数=10」、詳細キー情報(孫Key「A001_001_001」)、3行目は、日時「2020/3/6 16:45」、ログレベル「info」、操作内容「出荷日に「2020/3/6」入力」、詳細キー情報(孫Key「A001_002_001」)となっている。 The detailed log includes date and time, log level, operation details, and detailed key information (grandchild key). Detailed key information (grandchild key) may be child key + SEQ number. In the example shown in the figure, the first line contains the date and time "2020/3/6 16:41", log level "info", operation content "number of orders received = 10", detailed key information (grandchild key "A001_001_001"), The third line contains the date and time "2020/3/6 16:45", the log level "info", the operation content "input "2020/3/6" on the shipping date", and the detailed key information (grandchild key "A001_002_001"). It's becoming
4行目は、日時「2020/3/6 16:46」、ログレベル「info」、操作内容「出荷数に「10」入力」、詳細キー情報(孫Key「A001_002_002」)、5行目は、日時「2020/3/6 16:47」、ログレベル「Error」、操作内容「エラー表示:在庫数が足りません」入力」、詳細キー情報(孫Key「A001_002_003」)となっている。 The fourth line is the date and time "2020/3/6 16:46", the log level "info", the operation content "input "10" for the number of shipments", the detailed key information (grandchild key "A001_002_002"), and the fifth line is , date and time “2020/3/6 16:47”, log level “Error”, operation content “error display: insufficient inventory” input”, detailed key information (grandchild key “A001_002_003”).
図14は、ビューア画面の表示例を示す図である。図14では、説明の簡単のため、図13のデータを一部省略して表示している。ビューア部102a2は、ログテーブル106bに格納されるサマリーログ、明細ログ、詳細ログを、キー情報に基づいて、階層的にドリルダウンして閲覧が可能な構成となっている。処理単位のサマリーログから、必要に応じて詳細ログまでドリルダウンすることで、俯瞰した結果の把握と問題調査のための分析を効率的に行うことができる。 FIG. 14 is a diagram showing a display example of the viewer screen. In FIG. 14, the data in FIG. 13 are partially omitted for the sake of simplicity of explanation. The viewer unit 102a2 is configured so that the summary log, detailed log, and detailed log stored in the log table 106b can be viewed by hierarchically drilling down based on key information. By drilling down from the summary log for each processing unit to the detailed log as needed, it is possible to efficiently grasp the overall results and perform analysis for problem investigation.
図14において、ビューア部102a2は、ログテーブル106bのサマリーログを読み出して、サマリーログビューア(図14(A))の画面を表示する。サマリーログビューアでは、日時やログレベルをフィルタで選択して表示対象を絞り込むことができる。サマリーログビューアで閲覧したい行を選択すると、選択した行の親Keyを含む子Keyを有する明細ログを明細ログビューア(図14(B))を表示する。続いて、明細ログビューで、行を選択すると、選択した行の子Keyを含む孫Keyを有する詳細ログを明細ログビューア(図14(C))に表示する。 In FIG. 14, the viewer unit 102a2 reads the summary log of the log table 106b and displays the screen of the summary log viewer (FIG. 14A). In the summary log viewer, you can narrow down the display target by selecting the date and time and log level with filters. When a line to be viewed is selected on the summary log viewer, the detailed log having child keys including the parent key of the selected line is displayed on the detailed log viewer (FIG. 14(B)). Subsequently, when a line is selected in the detailed log view, a detailed log having grandchild keys including child keys of the selected line is displayed in the detailed log viewer (FIG. 14(C)).
図14に示す例では、サマリーログビューアで例えば、エラーとなっている1行目(日時「2020/3/6 16:41」、ログレベル「Error」、処理対象「受注・出荷RPA」、キー情報(親Key)「A001」)を選択すると、当該1行目の親Key「A001」を含む子Key「A001_001、A001_002」を有する明細ログ(1行目の日時「2020/3/6 16:41」、ログレベル「info」、処理内容「受注システム起動」、キー情報(子Key「A001_001」)と、2行目の日時「2020/3/6 16:44」、ログレベル「Error」、処理内容「出荷システム起動」、キー情報(子Key「A001_002」)が明細ログビューア(図14(B))に表示される。 In the example shown in FIG. 14, in the summary log viewer, for example, the first line with an error (date and time "2020/3/6 16:41", log level "Error", processing target "order receipt/shipment RPA", key When the information (parent key) "A001") is selected, a detailed log (date and time "2020/3/6 16: 41", log level "info", processing content "start order reception system", key information (child key "A001_001"), date and time on the second line "2020/3/6 16:44", log level "Error", The processing content "shipping system activation" and key information (child key "A001_002") are displayed in the detail log viewer (FIG. 14(B)).
明細ログビューアで、例えば、エラーとなっている2行目を選択すると、選択した2行目の子Key「A001_002」を含む孫Keyを有する詳細ログ(1行目の日時「2020/3/6 16:45」、ログレベル「info」、操作内容「出荷日に「2020/3/6」入力」、キー情報(孫Key「A001_002_001」)と、2行目の日時「2020/3/6 16:46」、ログレベル「info」、操作内容「出荷数に「10」入力」、キー情報(孫Key「A001_002_002)、3行目の日時「2020/3/6 16:47」、ログレベル「Erroe」、操作内容「エラー表示:在庫数が足りません」、キー情報(子Key「A001_002_003」))が詳細ログビューア(図14(C))に表示される。 In the detailed log viewer, for example, if you select the second line that is in error, the detailed log that has the grandchild key including the child key "A001_002" of the selected second line (the date and time of the first line "2020/3/6 16: 45", log level "info", operation content "input "2020/3/6" in shipping date", key information (grandchild key "A001_002_001"), date and time in the second line "2020/3/6 16:46" ', log level 'info', operation content 'enter '10' in number of shipments', key information (grandchild key 'A001_002_002)', date and time of 3rd line '2020/3/6 16:47', log level 'Error' , operation content "error display: inventory quantity is insufficient", and key information (child key "A001_002_003")) are displayed in the detailed log viewer (FIG. 14(C)).
このようにして、効率的にエラーの原因特定に必要なログを表示することができる。 In this way, it is possible to efficiently display the log necessary for identifying the cause of the error.
(具体例2)
図15~図20を参照して、ログ記録部102a1及びビューア部102a2の処理の具体例2を説明する。ログ記録部102a1は、明細ログ及び/又は詳細ログは、型及び/又は列数が異なる場合は、テーブルを分けて記録することにしてもよい。
(Specific example 2)
A specific example 2 of the processing of the log recording unit 102a1 and the viewer unit 102a2 will be described with reference to FIGS. 15 to 20. FIG. The log recording unit 102a1 may record the detailed log and/or the detailed log in separate tables if the type and/or the number of columns are different.
ログテーブル106bにおいて、型、列数、処理対象等が異なる明細ログや詳細ログのテーブルを分けて管理することが可能である。各処理に適した形式のログテーブルを用意することで、必要最小限の情報のみで効率的に管理することができる。ここでは、列数が異なる明細ログを分けて管理する場合を説明する。 In the log table 106b, it is possible to separately manage tables of detailed logs and detailed logs with different types, numbers of columns, processing targets, and the like. By preparing a log table in a format suitable for each process, it is possible to efficiently manage only the minimum necessary information. Here, a case will be described where detailed logs with different numbers of columns are separately managed.
図15は、サマリーログの例を示す図である。サマリーログは、SEQ、ログレベル、実行定義名、実行開始日時、実行終了日時、実行ID、実行種別CDのデータを含んでいてもよい。図15に示す例では、1行目は、SEQ「1」、ログレベル「Info」、実行定義名「受注RPAフロー」、実行開始日時「2020/1/3 9:40:00」、実行終了日時「2020/1/3 9:45:00」、実行ID「A000001」、実行種別CD「AAA」、4行目は、SEQ「4」、ログレベル「Info」、実行定義名「発注RPAフロー」、実行開始日時「2020/1/3 9:47:00」、実行終了日時「2020/1/3 9:51:00」、実行ID「B000001」、実行種別CD「BBB」となっている。実行IDはサマリーキー情報となる。実行種別CDは、実行種別を示すCDであり、この実行種別CDで明細ログを分けることができる。本例では、実行種別CD「AAA」に対応する明細ログAと、実行種別CD「BBB」に対応する明細ログBが作成される。 FIG. 15 is a diagram showing an example of a summary log. The summary log may include data of SEQ, log level, execution definition name, execution start date/time, execution end date/time, execution ID, and execution type CD. In the example shown in FIG. 15, the first line contains SEQ "1", log level "Info", execution definition name "Order RPA flow", execution start date and time "2020/1/3 9:40:00", execution end Date and time "2020/1/3 9:45:00", execution ID "A000001", execution type CD "AAA", the fourth line is SEQ "4", log level "Info", execution definition name "Order RPA flow , execution start date and time “2020/1/3 9:47:00”, execution end date and time “2020/1/3 9:51:00”, execution ID “B000001”, and execution type CD “BBB”. . The execution ID becomes summary key information. The execution type CD is a CD indicating the execution type, and detailed logs can be divided by the execution type CD. In this example, a detailed log A corresponding to the execution type CD "AAA" and a detailed log B corresponding to the execution type CD "BBB" are created.
図16は、明細ログAの例を示す図である。明細ログAは、実行ID、SEQ、ログレベル、実行内容、実行ロボット名、操作対象アプリ名、ループSEQ、実行開始日時、実行終了日時、XXXのデータを含んでいてもよい。実行ID、SEQが明細キー情報となる。 FIG. 16 is a diagram showing an example of detailed log A. As shown in FIG. The detailed log A may include execution ID, SEQ, log level, execution content, execution robot name, operation target application name, loop SEQ, execution start date and time, execution end date and time, and XXX data. The execution ID and SEQ are detailed key information.
図17は、明細ログBの例を示す図である。明細ログBは、実行ID、SEQ、ログレベル、実行内容、実行ロボット名、操作対象URL、ループSEQ、実行開始日時、実行終了日時、YYY、ZZZのデータを含んでいてもよい。実行ID、SEQが明細キー情報となる。 FIG. 17 is a diagram showing an example of a detailed log B. FIG. The detailed log B may include execution ID, SEQ, log level, execution content, execution robot name, operation target URL, loop SEQ, execution start date and time, execution end date and time, YYY, and ZZZ data. The execution ID and SEQ are detailed key information.
図18は、詳細ログの例を示す図である。詳細ログは、実行ID、明細SEQ、SEQ、ログレベル、実行内容、操作対象項目名、入力情報、実行日時のデータを含んでいてもよい。実行ID、明細SEQ、SEQが詳細キー情報となる。図19は、画面ショットの例を示す図である。 FIG. 18 is a diagram showing an example of a detailed log. The detailed log may include execution ID, detailed SEQ, SEQ, log level, execution content, operation target item name, input information, and execution date and time data. Execution ID, detail SEQ, and SEQ are detailed key information. FIG. 19 is a diagram showing an example of a screen shot.
図15~図19の例では、ビューア部102a2は、図15のサマリーログを読み出して、サマリーログビューアの画面を表示する。そして、サマリーログビューアで、例えば、3行目(SEQ「3」、ログレベル「Error」、実行定義名「仕訳RPAフロー」、・・・、実行ID「A000003」、実行種別CD「AAA」)が選択されると、ビューア部102a2は、明細ログAから選択された実行ID「A000003」のレコードを読み出して明細ログAのビューアに表示する。明細ログAのビューアで、行が選択されると、ビューア部102a2は、詳細ログAから選択された行の実行ID及びSEQのレコードを読み出して詳細ログビューアに表示する。 In the examples of FIGS. 15 to 19, the viewer unit 102a2 reads the summary log of FIG. 15 and displays the screen of the summary log viewer. Then, in the summary log viewer, for example, the third line (SEQ "3", log level "Error", execution definition name "Journal RPA flow", ..., execution ID "A000003", execution type CD "AAA") is selected, the viewer unit 102a2 reads the record of the selected execution ID "A000003" from the detail log A and displays it on the detail log A viewer. When a line is selected in the detailed log A viewer, the viewer unit 102a2 reads the execution ID and SEQ record of the selected line from the detailed log A and displays them on the detailed log viewer.
また、ビューア部102a2は、サマリーログビューアで、例えば、5行目(SEQ「5」、ログレベル「Error」、実行定義名「仕訳RPAフロー」、・・・、実行ID「B000002」、実行種別CD「BBB」)が選択されると、ビューア部102a2は、明細ログBから選択された実行ID「B000002」のレコードを読み出して明細ログBのビューアに表示する。明細ログBのビューアで、行が選択されると、ビューア部102a2は、詳細ログから選択された行の実行ID及びSEQのレコードを読み出して詳細ログビューアに表示する。 The viewer unit 102a2 is a summary log viewer, for example, the fifth line (SEQ "5", log level "Error", execution definition name "Journal RPA flow", ..., execution ID "B000002", execution type CD "BBB") is selected, the viewer unit 102a2 reads the record of the selected execution ID "B000002" from the detailed log B and displays it on the detailed log B viewer. When a line is selected on the detail log B viewer, the viewer unit 102a2 reads the record of the execution ID and SEQ of the selected line from the detailed log and displays it on the detailed log viewer.
図20は、ビューアの例を説明するための図である。図20において、説明の簡単のため、キー情報等の表示を省略している。以下の説明では、図20に示すビューアを表示するためのサマリーログ、明細ログ、詳細ログのデータがログテーブル106bに格納されているものとして説明する。 FIG. 20 is a diagram for explaining an example of a viewer. In FIG. 20, display of key information and the like is omitted for simplicity of explanation. In the following description, it is assumed that the log table 106b stores data of a summary log, a detailed log, and a detailed log for displaying the viewer shown in FIG.
サマリーログの「アプリ用RPA」、実行方法CD「1」について、業務アプリ操作RPA明細ログのテーブルを用意し、サマリーログの「Web用RPA」、実行方法CD「2」について、ブラウザ操作RPA明細ログのテーブルを用意して、それぞれ必要な情報に適した構造のテーブルに分割して保存する。業務アプリ操作RPA明細ログとブラウザ操作RPA明細ログは、列情報の構成が異なっており、テーブル構造に応じて列情報を切り換える。 For summary log "RPA for application" and execution method CD "1", prepare a table of business application operation RPA details log, and for summary log "RPA for Web" and execution method CD "2", browser operation RPA details Prepare a log table, divide it into tables with a structure suitable for each necessary information, and save it. The business application operation RPA detail log and the browser operation RPA detail log have different column information structures, and the column information is switched according to the table structure.
図20(A)において、サマリーログビューアで、1行目のログレベル「Error」、「アプリ用RPA」、実行方法CD「1」の行が選択されると、業務アプリ用RPA明細ログから対象のレコードを読み出して、図20(B)に示すような、業務アプリ操作RPA明細ログのビューアを表示する。業務アプリ操作RPA明細ログのビューアで行が選択されると、詳細ログから対象のレコードを読み出して、詳細ログビューアに表示する(図20(D))。 In FIG. 20A, when the log level "Error", "RPA for application", execution method CD "1" on the first line is selected in the summary log viewer, the object is selected from the RPA detailed log for business application. , and displays a viewer of the business application operation RPA detail log as shown in FIG. 20(B). When a line is selected on the business application operation RPA detail log viewer, the target record is read from the detailed log and displayed on the detailed log viewer (FIG. 20(D)).
また、図20(A)において、サマリーログビューアで、3行目のログレベル「Info」、「Webアプリ用RPA」、実行方法CD「2」の行が選択されると、ブラウザ操作RPA明細ログから対象のレコードを読み出して、図20(C)に示すような、ブラウザ操作用RPA明細ログのビューアを表示する。ブラウザ操作RPA明細ログのビューアで行が選択されると、詳細ログから対象のレコードを読み出して、詳細ログビューアに表示する(図20(D))。 Also, in FIG. 20A, when the log level "Info", "RPA for Web application", execution method CD "2" on the third line is selected in the summary log viewer, the browser operation RPA detailed log is displayed. , and displays the RPA detailed log viewer for browser operation as shown in FIG. 20(C). When a row is selected in the browser operation RPA detail log viewer, the target record is read out from the detailed log and displayed in the detailed log viewer (FIG. 20(D)).
詳細ログは、2パターンの呼出によって抽出・表示されるログは異なるが、ログビューアの画面やテーブルは同一のものを利用可能である。 For the detailed log, although the logs extracted and displayed by the two patterns of calling are different, the same log viewer screen and table can be used.
(具体例3)
図21~図27を参照して、ログ削除部102a3の処理の具体例3を説明する。ログ削除部102a3は、ログの粒度毎に削除可能かと削除可能な場合にその保管期間(削除できない期間)を設定したログポリシーに従って、ログ削除画面で指定されるログをログテーブル106bから削除する。ログ削除部102a3は、ログポリシー設定画面とログ削除画面の表示・データ受付を制御する。
(Specific example 3)
A specific example 3 of the processing of the log deletion unit 102a3 will be described with reference to FIGS. 21 to 27. FIG. The log deletion unit 102a3 deletes the log specified on the log deletion screen from the log table 106b according to the log policy that sets the retention period (the period during which the log cannot be deleted) if it can be deleted or deleted for each log granularity. The log deletion unit 102a3 controls display and data acceptance of the log policy setting screen and the log deletion screen.
より具体的には、ログ削除部102a3は、オペレータの操作に応じてログポリシー設定画面をモニタ114に表示し、ログポリシー設定画面上でのオペレータの操作に応じて、ログの粒度(サマリーログ、明細ログ、詳細ログ)毎に削除の可否と削除可能な場合はどれだけの期間保持するかのログポリシーを設定して、ログポリシーファイル106cに登録する。また、ログ削除部102a3は、オペレータの操作に応じてログ削除画面をモニタ114に表示し、ログポリシーファイル106cのログポリシーに従って、ログ削除画面上でのオペレータの操作に応じて、指定されるログをログテーブル106bから削除する。
More specifically, the log deletion unit 102a3 displays a log policy setting screen on the monitor 114 according to the operator's operation, and according to the operator's operation on the log policy setting screen, log granularity (summary log, A log policy is set for each item (detailed log, detailed log) and whether or not it can be deleted and how long it is retained if it can be deleted, and registered in the
図21は、ログポリシー設定画面の表示例を示す図である。ログポリシー設定画面では、ログの粒度毎に削除の可否と削除可能な場合はどれだけの期間保持するかのログポリシーを設定することができる。 FIG. 21 is a diagram showing a display example of a log policy setting screen. On the log policy setting screen, it is possible to set a log policy that indicates whether or not deletion is possible for each log granularity and how long the log should be retained if deletion is possible.
図21に示すログポリシー設定画面の例では、サマリーログ、明細ログ、詳細ログのそれぞれについて、削除可能かを指定するチェックボックス(チェック有り:削除可能、チェック無し:削除不可)と、保管期間を指定する欄と、ログポリシー設定画面で設定されたログポリシーを保存するための保存ボタンを備えている。ログポリシー設定画面では、システム使用者の監査要件に合わせて任意にログポリシーを設定できる。 In the example of the log policy setting screen shown in FIG. 21, each of the summary log, detail log, and detailed log has check boxes (checked: can be deleted, unchecked: cannot be deleted) and storage periods. It has a field for specification and a save button for saving the log policy set on the log policy setting screen. On the log policy setting screen, the log policy can be arbitrarily set according to the system user's audit requirements.
図21に示す例では、サマリーログは削除不可、明細ログは削除可能で保管期間「4ヶ月」、詳細ログは削除可能で保管期間「2ヶ月」が設定されている。 In the example shown in FIG. 21, the summary log cannot be deleted, the detail log can be deleted and the storage period is "4 months", and the detailed log can be deleted and the storage period is "2 months".
図22は、ログ削除画面の表示例を示す図である。図23は、ログ削除画面での削除対象のログの選択方法を説明するための図である。図24は、ログ削除画面の他の表示例を示す図である。 FIG. 22 is a diagram showing a display example of a log deletion screen. FIG. 23 is a diagram for explaining how to select a log to be deleted on the log deletion screen. FIG. 24 is a diagram showing another display example of the log deletion screen.
図22に示すログ削除画面では、ログの粒度に応じてログを選択的に削除することができる。図22に示すログ削除画面は、ログの抽出条件を指定する抽出条件指定エリアと、指定される抽出条件に該当するログ(サマリーログ(図15参照)、明細ログ(図16,図17参照)、詳細ログ(図18参照)の件数を表示して削除するログを指定する削除エリアと、指定したログの削除を実行するための削除ボタンと、を備えている。 On the log deletion screen shown in FIG. 22, logs can be selectively deleted according to log granularity. The log deletion screen shown in FIG. 22 includes an extraction condition specification area for specifying log extraction conditions, and logs corresponding to the specified extraction conditions (summary log (see FIG. 15), detail log (see FIGS. 16 and 17). , a delete area for displaying the number of detailed logs (see FIG. 18) and specifying a log to be deleted, and a delete button for executing deletion of the specified log.
抽出条件指定エリアでは、実行年月で表示するデータの範囲を指定する。 In the extraction condition specification area, specify the range of data to be displayed by execution year and month.
削除エリアには、実行年月と、サマリーログ、明細ログ、及び詳細ログの削除チェックボックス及び件数が表示される。ログテーブル106bを参照して、抽出条件指定エリアで指定される実行年月の期間について、サマリーログ、明細ログ、及び詳細ログの件数を実行年月毎にそれぞれ集計して表示する。表示されたデータから、削除対象のログを削除チェックボックスでチェックして選択することができる。 The deletion area displays the year and month of execution, deletion check boxes and the number of summary logs, detailed logs, and detailed logs. With reference to the log table 106b, the numbers of summary logs, detailed logs, and detailed logs are totaled and displayed for each execution year and month for the period of execution year and month designated in the extraction condition designation area. From the displayed data, the log to be deleted can be selected by checking the delete check box.
図23(A)に示すように、選択した箇所の子に当たるログがあればまとめて選択することができる。紐づく親ログがない状態で子ログが残らないようにするためである。例えば、実行年月「2021/07」について、明細ログの件数「125」の削除チェックボックスをチェックすると、この明細ログの子に当たる詳細ログの件数「6250」の削除チェックボックスを自動でチェックする。 As shown in FIG. 23A, if there are logs corresponding to children of the selected location, they can be selected together. This is to ensure that child logs do not remain without associated parent logs. For example, when the deletion check box for the detailed log number "125" is checked for the execution year and month "2021/07", the deletion check box for the detailed log number "6250" corresponding to the child of this detailed log is automatically checked.
図23(B)に示すように、同様の理由で子ログのチェックを外す場合は親ログのチェックも外れる。例えば、実行年月「2021/07」について、詳細ログの件数「6250」の削除チェックボックスのチェックを外すと、この詳細ログの親に当たる明細ログの件数「125」の削除チェックボックスを自動で外す。 As shown in FIG. 23(B), when the child log is unchecked for the same reason, the parent log is also unchecked. For example, if you uncheck the delete check box for the detailed log number "6250" for the execution year and month "2021/07", the delete check box for the detailed log number "125" that is the parent of this detailed log is automatically unchecked. .
また、図22に示すログ削除画面において、ログポリシーで削除不可に設定されているログ、削除可能に設定されているが保管期間中のログは、削除できないように制御する。削除対象のログを削除チェックボックスでチェックして、削除ボタンが押下されると、ログテーブル106bから削除対象のログが削除される。 Also, on the log deletion screen shown in FIG. 22, the log that is set to be non-deletable in the log policy and the log that is set to be deletable but is still in storage cannot be deleted. When the deletion check box is checked for the log to be deleted and the delete button is pressed, the log to be deleted is deleted from the log table 106b.
図22に示す例では、抽出条件指定エリアでは、実行年月「2021/04~2021/12」が指定されており、実行年月「2021/04~2021/12」の各月のサマリーログ、明細ログ、及び詳細ログの件数が表示されている。現在月は、2021/12である。図21に示すログポリシー設定画面の例では、サマリーログは削除不可、明細ログは当月と保管期間「4ヶ月」、詳細ログは当月と保管期間「2ヶ月」は削除ができないように制御し、例えば、削除できないログを異なる色で識別表示してもよい。 In the example shown in FIG. 22, the execution year and month "2021/04 to 2021/12" are specified in the extraction condition specification area, and the summary log of each month of the execution year and month "2021/04 to 2021/12", The number of detailed logs and the number of detailed logs are displayed. The current month is 2021/12. In the example of the log policy setting screen shown in FIG. 21, the summary log cannot be deleted, the detailed log cannot be deleted for the current month and the storage period is "4 months", and the detailed log cannot be deleted for the current month and the storage period is "2 months". For example, logs that cannot be deleted may be identified with different colors.
この図22のログ削除画面において、図に示すように削除対象のログの削除チェックボックスがチェックされて、実行ボタンが押されると、ログテーブル106bから削除対象のログが削除されて、図24に示すような画面に更新される。 On the log deletion screen of FIG. 22, when the deletion check box of the log to be deleted is checked and the execution button is pressed, the log to be deleted is deleted from the log table 106b and shown in FIG. The screen is updated as shown.
上記の説明では、実行ログを、サマリーログ、明細ログ、詳細ログで構成する例を説明したが、本発明はこれに限られるものではなく、他の種別や別の粒度でログを管理することにしてもよい。図25は、実行ログの他の構成例を示す図である。図25において、ログの親子関係イメージ(上が親、下が子)を示しており、実行ログは、サマリーログと、サマリーログの子となる明細ログと、明細ログの子となる詳細ログ及び受入ファイルログと、詳細ログの子となる画面ショットログで構成されている。 In the above description, an example in which the execution log is composed of a summary log, a detailed log, and a detailed log has been described, but the present invention is not limited to this, and logs can be managed with other types or different granularities. can be FIG. 25 is a diagram showing another configuration example of the execution log. FIG. 25 shows a parent-child relationship image of logs (upper is parent, lower is child). It consists of an acceptance file log and a screen shot log that is a child of the detail log.
画面ショットログは、RPA操作対象の画面を撮影したログである(図19参照)。受入ファイルログは、RPAを実行する際に受け入れた、操作対象画面への入力値が記載されたファイル情報を退避したログである(図12Aにおいて、RPAデータソース読込で読み込んだファイルのログである)。 The screen shot log is a log of shots of screens targeted for RPA operation (see FIG. 19). The acceptance file log is a log that saves file information that describes the input values to the operation target screen accepted when executing RPA (in FIG. 12A, the log of the file read by reading the RPA data source ).
4種別の異なるログの親子関係は、ログを保存する際の処理がどのレイヤーの処理なのかによって決まる。ログを保存する処理があるレイヤーと同じ粒度のログが親になる。受入ファイルログの記録処理はL2層の処理になる(図12Aにおける明細ログ出力処理T2に紐づく処理)ため、親は明細ログになる。画面ショットログの記録処理はL3層の処理になる(図12Aにおける詳細ログ出力処理T10に紐づく処理)ため、親は詳細ログになる。 The parent-child relationship between the four different types of logs is determined by which layer the process for saving the log belongs to. Logs with the same granularity as the layer that stores the logs will be the parent. Since the recording process of the received file log is the process of the L2 layer (the process associated with the detailed log output process T2 in FIG. 12A), the parent is the detailed log. Since the process of recording the screen shot log is the process of the L3 layer (the process associated with the detailed log output process T10 in FIG. 12A), the parent is the detailed log.
図26及び図27は、実行ログをサマリーログ、明細ログ、詳細ログ、受入ファイルログ、画面ショットログで構成した場合のログポリシー設定画面の表示例及びログ削除画面の表示例を示す図である。 26 and 27 are diagrams showing display examples of the log policy setting screen and the log deletion screen when the execution log is composed of a summary log, a detailed log, a detailed log, an acceptance file log, and a screen shot log. .
図26に示すログポリシー設定画面の例では、サマリーログは削除不可、明細ログは削除可能で保管期間「4ヶ月」、受入ファイルログは削除可能で保管期間「2ヶ月」、詳細ログは削除可能で保管期間「2ヶ月」、画面ショットログは削除可能で保管期間「1ヶ月」が設定されている。この場合、図27に示すログ削除画面の例では、サマリーログは削除不可、明細ログは当月と保管期間「4ヶ月」、受入ファイルログは、当月と保管期間「2ヶ月」、詳細ログは当月と保管期間「2ヶ月」、画面ショットログは、当月と保管期間「1ヶ月」は削除ができないように制御される。 In the example of the log policy setting screen shown in Fig. 26, the summary log cannot be deleted, the detailed log can be deleted and the storage period is "4 months", the acceptance file log can be deleted and the storage period is "2 months", and the detailed log can be deleted. The storage period is set to "2 months", and the screen shot log can be deleted and the storage period is set to "1 month". In this case, in the example of the log deletion screen shown in FIG. 27, the summary log cannot be deleted, the detailed log is the current month and the storage period is "4 months", the received file log is the current month and the storage period is "2 months", and the detailed log is the current month. and the storage period is "2 months", and the screen shot log is controlled so that it cannot be deleted during the current month and the storage period is "1 month".
[4.変形例]
(変形例1)
上述のログビューアでは、ログをドリルダウンで階層化表示することにしたが、本発明は、これに限られるものではなく、ビューア部102a2は、例えば、1画面内でログをツリー形式で表示することで、階層化表示を行うことにしてもよい。図28は、変形例1のログビューアの表示例を示す図である。図28に示すサマリーログビューアにおいて、サマリーログの所望の行に例えばマウスカーソルを合わせて選択すると、選択された行に対応する明細ログのレコードのポップアップを表示し、さらに、明細ログの所望の行にマウスカーソルを合わせて選択すると、選択された行に対応する詳細ログのレコードのポップアップを表示する(不図示)ことで、ツリー形式でログの階層化表示を行う。
[4. Modification]
(Modification 1)
In the log viewer described above, logs are hierarchically displayed by drilling down, but the present invention is not limited to this, and the viewer unit 102a2 displays logs in a tree format within one screen, for example. Thus, hierarchical display may be performed. FIG. 28 is a diagram illustrating a display example of the log viewer of
(変形例2)
上記説明では、RPAのログに関して説明したが、本発明は、これに限られるものではなく、RPA以外のログについても階層化してテーブルに保存し、保存したログを階層化表示してもよい。例えば、RPAと同様に、タスクを組み合わせてフロー定義を行うようなシステムに適用可能である。
(Modification 2)
Although the RPA log has been described above, the present invention is not limited to this. Logs other than RPA may also be hierarchically stored in a table, and the stored logs may be hierarchically displayed. For example, similar to RPA, it can be applied to a system that combines tasks to define a flow.
また、一般的なアプリケーションのログも階層化して保存し、保存したログを階層化表示してもよい。 Logs of general applications may also be hierarchized and saved, and the saved logs may be hierarchized and displayed.
例えば、ログ記録部102a1は、ユーザのログインからログアウトまでの処理のログを階層化して保存し、ビューア部102a2は、保存したログをビューア画面で階層化表示してもよい。これにより、ユーザのログインからログアウトまでの処理の一連を簡単に確認することができる。 For example, the log recording unit 102a1 may hierarchize and store a log of processing from user login to logout, and the viewer unit 102a2 may hierarchize and display the stored log on the viewer screen. This makes it possible to easily check the series of processes from user login to logout.
図29~図32は、ユーザのログインからログアウトまでの処理のログを保存し、プレビューで確認する場合を説明するための図である。図29は、ビューア画面の表示例を示している。ユーザがログインして、アプリケーションのジョブを起動して、各種操作を行った場合には、例えば、図30~図32に示すようなサマリーログ、明細ログ、詳細ログが作成されてログテーブルに保存され、保存されたログテーブルのログに基づいて図22に示すようなビューア画面が表示される。 29 to 32 are diagrams for explaining a case where a log of processing from user login to logout is saved and confirmed by preview. FIG. 29 shows a display example of the viewer screen. When a user logs in, starts an application job, and performs various operations, for example, a summary log, a detailed log, and a detailed log as shown in FIGS. 30 to 32 are created and stored in the log table. 22 is displayed based on the saved log in the log table.
図29は、ビューア画面の表示例を示している。図30は、サマリーログ(ログイン情報ログ)の例を示す図である。同図に示すサマリーログは、SEQ、ユーザ、日時、内容、ログインGUID等のデータを含んでいてもよい。ログインGUIDは、ユーザがログイン時に発行されるユニークなIDであり、サマリーキー情報となる。 FIG. 29 shows a display example of the viewer screen. FIG. 30 is a diagram showing an example of a summary log (login information log). The summary log shown in the figure may include data such as SEQ, user, date and time, content, login GUID, and the like. A login GUID is a unique ID issued when a user logs in, and serves as summary key information.
図31は、明細ログの例を示す図である。同図に示す明細ログの例では、ログインGUID、SEQ、ログレベル、日時、操作、ジョブ名等のデータを含んでいてもよい。ログインGUID、SEQは、明細キー情報となる。 FIG. 31 is a diagram showing an example of a detailed log. The detailed log example shown in the figure may include data such as login GUID, SEQ, log level, date and time, operation, job name, and the like. The login GUID and SEQ are detailed key information.
図32は、詳細ログの例を示す図である。同図に示す詳細ログの例では、ログインGUID、明細SEQ、SEQ、ログレベル、日時、内容、操作等のデータを含んでいてもよい。ログインGUID、明細SEQ、SEQは、詳細キー情報となる。 FIG. 32 is a diagram showing an example of a detailed log. The example of the detailed log shown in the figure may include data such as login GUID, detailed SEQ, SEQ, log level, date and time, contents, and operation. The login GUID, detailed SEQ, and SEQ are detailed key information.
例えば、図29において、ビューア画面で、例えば、サマリーログの1行目のユーザ「XXX」のレコードが選択されると、明細ログからログインGUID「XXXX・・・・」を含むレコードを読み出して、処理シーケンスとして、ジョブ起動、操作記録のデータを表示する。処理シーケンスにおいて、例えば、操作記録の「印刷実行」が選択されると、操作記録の「印刷実行」のレコードのログインGUID「XXXX・・・・」、SEQ「12」を含むレコードを詳細ログから読み出して、詳細レビューとして、No、日時、内容、操作のデータを表示する。このようにして、ログが階層化表示される。 For example, in FIG. 29, when the record of the user "XXX" on the first line of the summary log is selected on the viewer screen, the record containing the login GUID "XXXX..." is read from the detailed log, Job start and operation record data are displayed as a processing sequence. In the processing sequence, for example, when "execute printing" of the operation record is selected, a record including the login GUID "XXXX..." and SEQ "12" of the record of "executing printing" of the operation record is retrieved from the detailed log. Read out and display data such as No, date and time, content, and operation as a detailed review. In this way, the logs are hierarchically displayed.
以上説明したように、本実施の形態によれば、1又は複数の処理対象の実行ログを粒度毎に階層構造で記録するログ記録部102a1と、モニタ114にビューア画面を表示して、前記階層構造で記録された実行ログを階層化表示するビューア部102a2と、を備えているので、処理対象について、実行ログを利用してエラー原因や操作記録の分析にかかるコストを低減することが可能となる。 As described above, according to the present embodiment, the log recording unit 102a1 records the execution log of one or more processing targets in a hierarchical structure for each granularity, and the viewer screen is displayed on the monitor 114 to display the hierarchical structure. and a viewer unit 102a2 that hierarchically displays the execution log recorded in a structure, so that it is possible to reduce the cost of analyzing the cause of error and operation record for the processing target using the execution log. Become.
[5.国連が主導する持続可能な開発目標(SDGs)への貢献]
本実施形態により、業務効率化や企業の適切な経営判断を推進することに寄与することができるので、SDGsの目標8及び9に貢献することが可能となる。
[5. Contribution to the Sustainable Development Goals (SDGs) led by the United Nations]
Since this embodiment can contribute to improving operational efficiency and promoting appropriate management decisions of companies, it is possible to contribute to
また、本実施形態により、廃棄ロス削減や、ペーパレス・電子化を推進することに寄与することができるので、SDGsの目標12、13及び15に貢献することが可能となる。 In addition, the present embodiment can contribute to the reduction of disposal loss and the promotion of paperless and computerization.
また、本実施形態により、統制、ガバナンス強化に寄与することができるので、SDGsの目標16に貢献することが可能となる。 In addition, since this embodiment can contribute to strengthening control and governance, it is possible to contribute to Goal 16 of the SDGs.
[6.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[6. Other embodiments]
The present invention may be implemented in various different embodiments other than the embodiments described above within the scope of the technical idea described in the claims.
例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, among the processes described in the embodiments, all or part of the processes described as being automatically performed can be manually performed, or all of the processes described as being manually performed Alternatively, some can be done automatically by known methods.
また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, unless otherwise specified, the processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions for each process, screen examples, and database configurations shown in this specification and drawings can be changed arbitrarily.
また、情報処理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。
Also, with respect to the
例えば、情報処理装置100が備える処理機能、特に制御部102にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて情報処理装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部106などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部102を構成する。
For example, the processing functions of the
また、このコンピュータプログラムは、情報処理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。
Further, this computer program may be stored in an application program server connected to the
また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 Also, the program for executing the processing described in this embodiment may be stored in a non-temporary computer-readable recording medium, or may be configured as a program product. Here, the term "recording medium" means memory card, USB (Universal Serial Bus) memory, SD (Secure Digital) card, flexible disk, magneto-optical disk, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (registered Trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk), and Disc (Registered trademark) such as Blu- shall include any "portable physical medium".
また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 A "program" is a data processing method written in any language or writing method, regardless of the format such as source code or binary code. In addition, the "program" is not necessarily limited to a single configuration, but is distributed as multiple modules or libraries, or cooperates with a separate program represented by the OS to achieve its function. Including things. It should be noted that well-known configurations and procedures can be used for the specific configuration and reading procedure for reading the recording medium in each device shown in the embodiments, the installation procedure after reading, and the like.
記憶部106に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。 The various databases and the like stored in the storage unit 106 are storage means such as memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and optical disks. programs, tables, databases, and files for web pages.
また、情報処理装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、情報処理装置100は、当該情報処理装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。
Further, the
更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能付加に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific form of distribution and integration of the device is not limited to the one shown in the figure, and all or part of it can be functionally or physically arranged in arbitrary units according to various additions or functional additions. It can be distributed and integrated. In other words, the embodiments described above may be arbitrarily combined and implemented, or the embodiments may be implemented selectively.
100 情報処理装置
102 制御部
102a 自動操作部(RPAシステム)
102a1 ログ記録部
102a2 ビューア部
102a3 ログ削除部
102b アプリケーション
104 通信インターフェース部
106 記憶部
106a 定義ファイル
106b ログテーブル
106c ログポリシーファイル
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100
102a1 Log recording unit 102a2 Viewer unit 102a3
Claims (10)
前記制御部は、
1又は複数の処理対象の実行ログを粒度毎に階層構造で記録するログ記録手段と、
表示部にビューア画面を表示して、前記階層構造で記録された実行ログを階層化表示するビューア手段と、
を備えたことを特徴とする情報処理装置。 An information processing device comprising a control unit,
The control unit
log recording means for recording execution logs of one or more processing targets in a hierarchical structure for each granularity;
viewer means for displaying a viewer screen on the display unit and hierarchically displaying the execution log recorded in the hierarchical structure;
An information processing device comprising:
前記ビューア手段は、前記ビューア画面において、前記サマリーキー情報及び前記明細キー情報を使用して、前記サマリーログから前記明細ログ、前記明細キー情報及び前記詳細キー情報を使用して、前記明細ログから前記詳細ログをドリルダウン又はツリー構造で表示することを特徴とする請求項2に記載の情報処理装置。 The log recording means stores the execution log as a summary log including date and time, log level indicating normal or error, processing target, and summary key information, and a detailed log including date and time, log level, processing details, and detailed key information; Record date and time, log level, operation details, and detailed logs including detailed key information in each table in a hierarchical structure,
The viewer means, on the viewer screen, uses the summary key information and the detail key information to convert the summary log to the detail log, uses the detail key information and the detail key information, and converts the detail log to 3. The information processing apparatus according to claim 2, wherein the detailed log is displayed in a drill-down or tree structure.
前記制御部で実行される、
1又は複数の処理対象の実行ログを粒度毎に階層構造で記録するログ記録ステップと、
表示部にビューア画面を表示して、前記階層構造で記録された実行ログを階層化表示するビューアステップと、
を含むことを特徴とする情報処理方法。 An information processing method executed by an information processing device having a control unit,
executed by the control unit;
a log recording step of recording one or more processing target execution logs in a hierarchical structure for each granularity;
a viewer step for displaying a viewer screen on the display unit and hierarchically displaying the execution log recorded in the hierarchical structure;
An information processing method comprising:
前記制御部において、
1又は複数の処理対象の実行ログを粒度毎に階層構造で記録するログ記録ステップと、
表示部にビューア画面を表示して、前記階層構造で記録された実行ログを階層化表示するビューアステップと、
を実行させるための情報処理プログラム。 An information processing program to be executed by an information processing apparatus having a control unit,
In the control unit,
a log recording step of recording one or more processing target execution logs in a hierarchical structure for each granularity;
a viewer step for displaying a viewer screen on the display unit and hierarchically displaying the execution log recorded in the hierarchical structure;
Information processing program for executing
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021013964 | 2021-01-29 | ||
JP2021013964 | 2021-01-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022117443A true JP2022117443A (en) | 2022-08-10 |
Family
ID=82749863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021211658A Pending JP2022117443A (en) | 2021-01-29 | 2021-12-24 | Device, method, and program for processing information |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022117443A (en) |
-
2021
- 2021-12-24 JP JP2021211658A patent/JP2022117443A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10565223B2 (en) | Integrated workflow and database transactions | |
JP6487282B2 (en) | Method for developing application to be executed in workflow management system, and apparatus for supporting generation of application to be executed in workflow management system | |
US9552214B2 (en) | Tool for automated extraction and loading of configuration settings | |
US20160019488A1 (en) | Workflow management device and workflow management method | |
US10678864B2 (en) | Analysis model preparing system, programming apparatus, and analysis model preparing method | |
US8402433B2 (en) | Method and system for performing automated transactions using a server-side script-engine | |
US8392442B2 (en) | Method and computer program product for creating content management systems | |
JP2016009423A (en) | Information processing device, method for controlling information processing device, and program | |
JP2022117443A (en) | Device, method, and program for processing information | |
JP7112260B2 (en) | Management accounting data creation support device, management accounting data creation support method, and management accounting data creation support program | |
JP3962795B2 (en) | Computer-readable recording medium recording a business program | |
JP6813782B2 (en) | Information processing equipment, information processing system, its control method and program | |
KR101351079B1 (en) | Method and system for providing service for controlling program linked to database | |
KR20060079690A (en) | Component-based programming automation process using templates and patterns | |
JP2005190212A (en) | Database system, data processing method and program | |
CN117608536B (en) | Gap data online template customization and supplementary recording system and method thereof | |
JP7410895B2 (en) | Rank update device, rank update method, and rank update program | |
KR20200057173A (en) | System and method for generating software specification document | |
JP2019101829A (en) | Software component management system, computor, and method | |
JP7300039B2 (en) | Data extraction device, data extraction method and data extraction program | |
JP6940343B2 (en) | Distribution management system and distribution management method | |
JP2019016234A (en) | Sales management device, sales management method, and sales management program | |
JP7082284B2 (en) | Analysis support method and analysis support program | |
JP6951165B2 (en) | Distribution management device, distribution management method and distribution management program | |
JP6947596B2 (en) | Deposit processing device, deposit processing method, and deposit processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240327 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20240327 |