JP2019197504A - Information processing apparatus and information processing program - Google Patents

Information processing apparatus and information processing program Download PDF

Info

Publication number
JP2019197504A
JP2019197504A JP2018092502A JP2018092502A JP2019197504A JP 2019197504 A JP2019197504 A JP 2019197504A JP 2018092502 A JP2018092502 A JP 2018092502A JP 2018092502 A JP2018092502 A JP 2018092502A JP 2019197504 A JP2019197504 A JP 2019197504A
Authority
JP
Japan
Prior art keywords
event
image data
processor
screen
application
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
JP2018092502A
Other languages
Japanese (ja)
Other versions
JP7106346B2 (en
Inventor
悠介 箕浦
Yusuke Minoura
悠介 箕浦
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2018092502A priority Critical patent/JP7106346B2/en
Publication of JP2019197504A publication Critical patent/JP2019197504A/en
Application granted granted Critical
Publication of JP7106346B2 publication Critical patent/JP7106346B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

To provide an information processing apparatus and an information processing program that can easily collect images of an object application without correcting the object application.SOLUTION: An information processing apparatus according to one embodiment comprises: a processor; an operation interface connected to an operating member; and a memory. The memory stores a device driver that causes the processor to perform detection of an event from a signal input to the operation interface, an application that causes the processor to make a transition of a screen on the basis of the event, and a screen information collection program for causing the processor to execute generating first image data on the basis of a screen of the application before the transition based on the event, and generating second image data on the basis of the screen of the application after the transition based on the event.SELECTED DRAWING: Figure 2

Description

本発明の実施形態は、情報処理装置及び情報処理プログラムに関する。   Embodiments described herein relate generally to an information processing apparatus and an information processing program.

アプリケーションにおいて表示される画面を認識することにより、アプリケーションに所定の処理を実行させる自動操作スクリプトが実用化されている。自動操作スクリプトでは、画像(判定用画像)と、アプリケーションに実行させる処理とが対応付けられている。自動操作スクリプト及びアプリケーションを実行する情報処理装置は、アプリケーションに判定用画像と一致する画像が表示された場合に、判定用画像に対応付けられた処理をアプリケーションに実行させる。このような自動操作スクリプトは、アプリケーションの動作のチェックなどに用いられている。   An automatic operation script that causes an application to execute a predetermined process by recognizing a screen displayed in the application has been put into practical use. In the automatic operation script, an image (determination image) is associated with a process to be executed by an application. The information processing apparatus that executes the automatic operation script and the application causes the application to execute processing associated with the determination image when an image that matches the determination image is displayed in the application. Such an automatic operation script is used for checking the operation of an application.

例えば、アプリケーションにおいて表示される画像が変更された場合、自動操作スクリプトの判定用画像を再設定する必要がある。しかしながら、対象のアプリケーションを動作させつつ、判定用画像を収集することが手間であるという課題がある。   For example, when the image displayed in the application is changed, it is necessary to reset the determination image of the automatic operation script. However, there is a problem that it is troublesome to collect the determination image while operating the target application.

特開2013−73428号公報JP2013-73428A

本発明が解決しようとする課題は、対象のアプリケーションを修正することなく、対象のアプリケーションの画像を容易に収集することができる情報処理装置及び情報処理プログラムを提供することである。   The problem to be solved by the present invention is to provide an information processing apparatus and an information processing program capable of easily collecting images of a target application without correcting the target application.

一実施形態に係る情報処理装置は、プロセッサと、操作部材に接続された操作インタフェースと、メモリとを具備する。前記メモリは、前記操作インタフェースに入力された信号から、イベントの検出を前記プロセッサに行わせるデバイスドライバと、前記イベントに基づいて、画面の遷移を前記プロセッサに行わせるアプリケーションと、前記イベントにより遷移する前の前記アプリケーションの画面に基づき、第1の画像データを生成することと、前記イベントにより遷移した後の前記アプリケーションの画面に基づき、第2の画像データを生成することとを前記プロセッサに実行させる画面情報取集プログラムと、を記憶する。   An information processing apparatus according to an embodiment includes a processor, an operation interface connected to an operation member, and a memory. The memory makes a transition according to the event, a device driver that causes the processor to detect an event from a signal input to the operation interface, an application that causes the processor to make a screen transition based on the event, and Causing the processor to execute generation of first image data based on the previous application screen and generation of second image data based on the application screen after transition by the event; And a screen information collecting program.

図1は、一実施形態に係る情報処理装置の構成例について説明する為の説明図である。FIG. 1 is an explanatory diagram for describing a configuration example of an information processing apparatus according to an embodiment. 図2は、一実施形態に係る情報処理装置のメモリに記憶されているプログラムの例について説明する為の説明図である。FIG. 2 is an explanatory diagram for describing an example of a program stored in the memory of the information processing apparatus according to the embodiment. 図3は、一実施形態に係る画面情報収集プログラムを実行した情報処理装置の動作の例について説明する為の説明図である。FIG. 3 is an explanatory diagram for explaining an example of the operation of the information processing apparatus that has executed the screen information collection program according to the embodiment. 図4は、ストレージに登録された画面情報の例について説明する為の説明図である。FIG. 4 is an explanatory diagram for explaining an example of screen information registered in the storage. 図5は、フィルタドライバを実行した情報処理装置の動作の例について説明する為の説明図である。FIG. 5 is an explanatory diagram for explaining an example of the operation of the information processing apparatus that has executed the filter driver. 図6は、イベント取得プログラムを実行した情報処理装置の動作の例について説明する為の説明図である。FIG. 6 is an explanatory diagram for explaining an example of the operation of the information processing apparatus that has executed the event acquisition program. 図7は、画像取得補助プログラムを実行した情報処理装置の動作の例について説明する為の説明図である。FIG. 7 is an explanatory diagram for explaining an example of the operation of the information processing apparatus that has executed the image acquisition auxiliary program.

以下、一実施形態に係る情報処理装置及び情報処理プログラムについて図面を参照して説明する。
図1は、一実施形態に係る情報処理装置1の例について説明する為の説明図である。
Hereinafter, an information processing apparatus and an information processing program according to an embodiment will be described with reference to the drawings.
FIG. 1 is an explanatory diagram for describing an example of an information processing apparatus 1 according to an embodiment.

情報処理装置1は、例えばパーソナルコンピュータ、スマートフォン、またはタブレットPCなどである。情報処理装置1は、アプリケーションにおいて表示される画面を認識することにより、アプリケーションに所定の処理を実行させる自動操作スクリプトを実行する装置である。また、情報処理装置1は、アプリケーションの画面のデータ(画面情報)を生成し、保存する。この画面情報は、自動操作スクリプトにおける判定に用いられる画像(判定用画像)を生成する為に用いられる。   The information processing apparatus 1 is, for example, a personal computer, a smartphone, or a tablet PC. The information processing apparatus 1 is an apparatus that executes an automatic operation script that causes an application to execute a predetermined process by recognizing a screen displayed in the application. In addition, the information processing apparatus 1 generates and saves application screen data (screen information). This screen information is used to generate an image (determination image) used for determination in the automatic operation script.

情報処理装置1は、ディスプレイ11、操作インタフェース12、通信インタフェース13、ストレージ14、及び制御部15を備える。   The information processing apparatus 1 includes a display 11, an operation interface 12, a communication interface 13, a storage 14, and a control unit 15.

ディスプレイ11は、制御部15または図示されないグラフィックコントローラなどの表示制御部から入力される映像信号に応じて画面を表示する。情報処理装置1は、ディスプレイ11の代わりに、映像信号を出力する出力端子を備える構成であってもよい。   The display 11 displays a screen according to a video signal input from the control unit 15 or a display control unit such as a graphic controller (not shown). The information processing apparatus 1 may be configured to include an output terminal that outputs a video signal instead of the display 11.

操作インタフェース12は、種々の操作部材を有する。操作インタフェース12は、操作部材の操作に応じた操作信号を制御部15に供給する。操作部材は、例えば、タッチセンサ、テンキー、電源キー、用紙フィードキー、種々のファンクションキー、またはキーボードなどである。タッチセンサは、例えば、抵抗膜式タッチセンサ、または静電容量式タッチセンサ等である。タッチセンサは、ある領域内において指定された位置を示す情報を取得する。タッチセンサは、ディスプレイ11と一体にタッチパネルとして構成されることにより、ディスプレイ11に表示された画面上のタッチされた位置を示す信号を制御部15に入力する。また、操作インタフェース12は、操作部材から操作信号を受信し、制御部15に供給するインタフェースであってもよい。   The operation interface 12 has various operation members. The operation interface 12 supplies an operation signal corresponding to the operation of the operation member to the control unit 15. The operation member is, for example, a touch sensor, a numeric keypad, a power key, a paper feed key, various function keys, or a keyboard. The touch sensor is, for example, a resistive touch sensor or a capacitive touch sensor. The touch sensor acquires information indicating a specified position in a certain area. The touch sensor is configured as a touch panel integrally with the display 11, thereby inputting a signal indicating the touched position on the screen displayed on the display 11 to the control unit 15. The operation interface 12 may be an interface that receives an operation signal from the operation member and supplies the operation signal to the control unit 15.

通信インタフェース13は、情報処理装置1以外の他の機器と通信する為のインターフェースである。   The communication interface 13 is an interface for communicating with devices other than the information processing apparatus 1.

ストレージ14は、種々の情報を記憶可能な記憶媒体である。ストレージ14は、プログラム及びプログラムで用いられるデータなどを記憶する。ストレージ14は、例えば、ソリッドステイトドライブ(SSD)、ハードディスクドライブ(HDD)、または他の記憶装置である。情報処理装置1は、ストレージ14の代わりに、外部の記憶装置と通信可能なインタフェースを備える構成であってもよい。   The storage 14 is a storage medium capable of storing various information. The storage 14 stores a program and data used in the program. The storage 14 is, for example, a solid state drive (SSD), a hard disk drive (HDD), or another storage device. The information processing apparatus 1 may be configured to include an interface capable of communicating with an external storage device instead of the storage 14.

ストレージ14は、後述する画面情報が登録されるデータベース(画面情報データベース)を有する。ストレージ14は、制御部15から供給される画面情報を画面情報データベースに逐次登録していく。また、ストレージ14は、自動操作スクリプトにおける判定に用いられる画像(判定用画像)と、アプリケーションに実行させる処理とが対応付けられた画面情報データベース(自動操作スクリプトデータベース)を有する。   The storage 14 has a database (screen information database) in which screen information described later is registered. The storage 14 sequentially registers the screen information supplied from the control unit 15 in the screen information database. Further, the storage 14 has a screen information database (automatic operation script database) in which an image used for determination in an automatic operation script (determination image) and processing to be executed by an application are associated with each other.

制御部15は、情報処理装置1の制御を行う。制御部15は、例えば、プロセッサ16及びメモリ17を備える。   The control unit 15 controls the information processing apparatus 1. The control unit 15 includes, for example, a processor 16 and a memory 17.

プロセッサ16は、演算処理を実行する演算素子である。プロセッサ16は、例えばCPUとして構成される。プロセッサ16は、メモリ17またはストレージ14に記憶されているプログラムを実行することにより、種々の処理を実行する。   The processor 16 is an arithmetic element that executes arithmetic processing. The processor 16 is configured as a CPU, for example. The processor 16 executes various processes by executing a program stored in the memory 17 or the storage 14.

メモリ17は、プログラム及びプログラムで用いられるデータなどを記憶するROMを有する。また、メモリ17は、プロセッサの処理中のデータを一時的に格納する(展開する)RAMを有する。   The memory 17 has a ROM that stores a program and data used in the program. The memory 17 has a RAM that temporarily stores (decompresses) data being processed by the processor.

図2は、メモリ17に記憶されているプログラムの例について説明する為の説明図である。メモリ17は、オペレーティングシステム21、デバイスドライバ22、アプリケーション23、及び画面情報収集プログラム24を記憶している。   FIG. 2 is an explanatory diagram for explaining an example of a program stored in the memory 17. The memory 17 stores an operating system 21, a device driver 22, an application 23, and a screen information collection program 24.

オペレーティングシステム21は、プロセッサ16によって実行される種々のプログラムの管理、プログラム間の入出力の制御、ハードウエアとの間の入出力の制御、及びストレージ14に記憶されるファイル管理などをプロセッサ16に行わせる為のプログラムである。オペレーティングシステム21、デバイスドライバ22、アプリケーション23、及び画面情報収集プログラム24は、プロセッサ16によって実行されたオペレーティングシステム21上で動作する。   The operating system 21 manages various programs executed by the processor 16, controls input / output between programs, controls input / output to / from hardware, and manages files stored in the storage 14. It is a program for doing it. The operating system 21, device driver 22, application 23, and screen information collection program 24 operate on the operating system 21 executed by the processor 16.

デバイスドライバ22は、情報処理装置1に接続されたハードウエアの、オペレーティングシステム21による制御を、プロセッサ16に行わせる為のプログラムである。例えば、デバイスドライバ22を実行したプロセッサ16は、操作インタフェース12が操作されて発生したイベントを解析し、オペレーティングシステム21に供給する。また、デバイスドライバ22を実行したプロセッサ16は、ディスプレイ11に映像信号を供給する。デバイスドライバ22を実行したプロセッサ16は、後述するフィルタドライバ31からイベントを取得する。また、デバイスドライバ22を実行したプロセッサ16は、操作インタフェース12から直接イベントを取得してもよい。即ち、デバイスドライバ22は、操作インタフェース12に入力された信号から、イベントの検出をプロセッサ16に行わせるプログラムである。   The device driver 22 is a program for causing the processor 16 to control the hardware connected to the information processing apparatus 1 by the operating system 21. For example, the processor 16 that has executed the device driver 22 analyzes an event generated by operating the operation interface 12 and supplies the analyzed event to the operating system 21. The processor 16 that has executed the device driver 22 supplies a video signal to the display 11. The processor 16 that has executed the device driver 22 acquires an event from the filter driver 31 described later. Further, the processor 16 that has executed the device driver 22 may acquire an event directly from the operation interface 12. In other words, the device driver 22 is a program that causes the processor 16 to detect an event from a signal input to the operation interface 12.

アプリケーション23は、プロセッサ16により実行可能な状態でメモリ17に格納されたプログラムである。アプリケーション23は、例えば、マウスまたはタッチパネルなどの操作部材によって操作可能な、GUIベースのアプリケーションプログラムである。アプリケーション23を実行したプロセッサ16は、アプリケーション上の処理に基づいて、種々の画面の映像信号を生成し、ディスプレイ11に表示させる。例えば、アプリケーション23は、選択可能なオブジェクトが表示されている画面において、このオブジェクトを選択する操作が行われた場合、選択されたオブジェクトに応じた画面に表示を遷移させる。即ちアプリケーション23は、デバイスドライバ22で検出されたイベントに基づいて、画面の遷移をプロセッサ16に行わせるプログラムである。   The application 23 is a program stored in the memory 17 so as to be executable by the processor 16. The application 23 is a GUI-based application program that can be operated by an operation member such as a mouse or a touch panel. The processor 16 that has executed the application 23 generates video signals of various screens based on processing on the application and displays them on the display 11. For example, when an operation for selecting an object is performed on a screen on which a selectable object is displayed, the application 23 shifts the display to a screen corresponding to the selected object. That is, the application 23 is a program that causes the processor 16 to perform screen transition based on the event detected by the device driver 22.

画面情報収集プログラム24は、プロセッサ16により実行可能な状態でメモリ17に格納されたプログラムである。画面情報収集プログラム24は、アプリケーション23により生成された画面を保存する処理をプロセッサ16に行わせる為のプログラムである。例えば、画面情報収集プログラム24は、イベントにより遷移する前のアプリケーション23の画面に基づき、画像データを生成することと、イベントにより遷移した後のアプリケーション23の画面に基づき、画像データを生成することとをプロセッサ16に実行させるプログラムである。画面情報収集プログラム24は、フィルタドライバ31、イベント取得プログラム32、及び画像取得補助プログラム33などを有する。   The screen information collection program 24 is a program stored in the memory 17 so as to be executable by the processor 16. The screen information collection program 24 is a program for causing the processor 16 to perform processing for saving the screen generated by the application 23. For example, the screen information collection program 24 generates image data based on the screen of the application 23 before the transition by the event, and generates image data based on the screen of the application 23 after the transition by the event. Is a program that causes the processor 16 to execute. The screen information collection program 24 includes a filter driver 31, an event acquisition program 32, an image acquisition auxiliary program 33, and the like.

フィルタドライバ31は、操作インタフェース12におけるイベント(操作イベント)を取得し、イベント取得プログラム32及びデバイスドライバ22にイベントを通知する処理をプロセッサ16に行わせるドライバである。例えば、プロセッサ16は、デバイスドライバ22の下位層にフィルタドライバ31を配置する。フィルタドライバ31は、例えば、レポートディスクリプタの情報を取得することにより、操作イベントを取得する。なお、デバイスドライバ22が操作インタフェース12から直接イベントを取得する構成である場合、フィルタドライバ31を実行したプロセッサ16は、取得したイベントをデバイスドライバ22に通知しなくてもよい。   The filter driver 31 is a driver that acquires an event (operation event) in the operation interface 12 and causes the processor 16 to perform processing for notifying the event acquisition program 32 and the device driver 22 of the event. For example, the processor 16 arranges the filter driver 31 in the lower layer of the device driver 22. For example, the filter driver 31 acquires an operation event by acquiring report descriptor information. When the device driver 22 is configured to acquire an event directly from the operation interface 12, the processor 16 that has executed the filter driver 31 may not notify the device driver 22 of the acquired event.

イベント取得プログラム32は、フィルタドライバ31から通知された操作イベントの解析をプロセッサ16に行わせる為のプログラムである。イベント取得プログラム32は、例えば、レポートディスクリプタの情報を取得することにより、操作イベントの解析をプロセッサ16に行わせる。イベント取得プログラム32を実行したプロセッサ16は、フィルタドライバ31から通知された操作イベントが、予め設定されたイベントであった場合、画面情報取得要求を画像取得補助プログラム33へ通知する。具体的には、イベント取得プログラム32を実行したプロセッサ16は、フィルタドライバ31から通知された操作イベントが、予め設定された入力イベントであった場合、画面情報取得要求を画像取得補助プログラム33へ通知する。   The event acquisition program 32 is a program for causing the processor 16 to analyze the operation event notified from the filter driver 31. The event acquisition program 32 causes the processor 16 to analyze an operation event, for example, by acquiring report descriptor information. If the operation event notified from the filter driver 31 is a preset event, the processor 16 that has executed the event acquisition program 32 notifies the image acquisition auxiliary program 33 of a screen information acquisition request. Specifically, the processor 16 that has executed the event acquisition program 32 notifies the image acquisition auxiliary program 33 of a screen information acquisition request when the operation event notified from the filter driver 31 is a preset input event. To do.

入力イベントは、操作インタフェース12に設けられた操作部材によって所定の入力操作が行われた場合に生じるイベントである。例えば、操作インタフェース12がマウスとして構成されていた場合、クリックイベントが入力イベントに相当する。また、操作インタフェース12がタッチセンサとして構成されていた場合、タッチイベントが入力イベントに相当する。   The input event is an event that occurs when a predetermined input operation is performed by an operation member provided in the operation interface 12. For example, when the operation interface 12 is configured as a mouse, the click event corresponds to the input event. When the operation interface 12 is configured as a touch sensor, the touch event corresponds to an input event.

なお、入力イベントは、上記の例に限定されない。例えば、アプリケーション23がPOS用のアプリケーションである場合、アプリケーション23を実行する装置は、スキャナ、磁気カード読取装置、ICカード読取装置、または他の種々の装置が接続される、または内蔵されることが推定される。このような構成において、スキャナによりコード(バーコード、または二次元コードなど)を読み取るイベント(コード入力イベント)、磁気カード読取装置により磁気カードを読み取るイベント(磁気カード入力イベント)、またはICカード読取装置によりICカードを読み取るイベント(ICカード入力イベント)などが、上記の入力イベントとして設定されていてもよい。   Note that the input event is not limited to the above example. For example, when the application 23 is a POS application, a device that executes the application 23 may be connected to or built in a scanner, a magnetic card reader, an IC card reader, or other various devices. Presumed. In such a configuration, an event (code input event) for reading a code (bar code, two-dimensional code, etc.) by a scanner, an event for reading a magnetic card by a magnetic card reader (magnetic card input event), or an IC card reader An IC card reading event (IC card input event) may be set as the input event.

画像取得補助プログラム33は、画面情報取得要求を受け取った場合、アプリケーション23により生成された画面の画像データの取得をプロセッサ16に行わせる為のプログラムである。画像取得補助プログラム33を実行したプロセッサ16は、画面情報取得要求を受け取った場合、アプリケーション23により生成された画面の画像データを取得する。例えば、プロセッサ16は、アプリケーション23により生成された画面に基づき、オペレーティングシステム21の機能(例えばスクリーンショットなど)により画像データを生成する。   The image acquisition auxiliary program 33 is a program for causing the processor 16 to acquire the image data of the screen generated by the application 23 when a screen information acquisition request is received. When receiving the screen information acquisition request, the processor 16 that has executed the image acquisition auxiliary program 33 acquires the screen image data generated by the application 23. For example, the processor 16 generates image data based on a function generated by the operating system 21 (for example, a screen shot) based on the screen generated by the application 23.

図3は、画面情報収集プログラム24を実行したプロセッサ16の処理について説明する為の説明図である。ここでは、イベント取得プログラム32が、予め設定された入力イベントを取得する構成であると仮定して説明する。   FIG. 3 is an explanatory diagram for explaining the processing of the processor 16 that has executed the screen information collection program 24. Here, description will be made assuming that the event acquisition program 32 is configured to acquire a preset input event.

例えば、図3に示されるように、アプリケーション23は、選択可能なオブジェクトを有する第1の画面41を生成していると仮定する。また、第1の画面41において選択可能なオブジェクトを選択する入力イベントが発生した場合、アプリケーション23は、選択されたオブジェクトに対応する第2の画面42を生成すると仮定する。即ち、第1の画面41は、入力イベントによって遷移する前のアプリケーション23の画面(遷移前画面)である。また、第1の画面41は、入力イベントによって遷移した後のアプリケーション23の画面(遷移後画面)である。   For example, as shown in FIG. 3, it is assumed that the application 23 is generating a first screen 41 having selectable objects. Further, it is assumed that when an input event for selecting a selectable object occurs on the first screen 41, the application 23 generates a second screen 42 corresponding to the selected object. In other words, the first screen 41 is a screen of the application 23 before transition due to an input event (pre-transition screen). The first screen 41 is a screen (post-transition screen) of the application 23 after transition by an input event.

このようなアプリケーション23において、画面情報収集プログラム24を実行したプロセッサ16は、第1の画面41における入力イベントをフィルタドライバ31及びイベント取得プログラム32によって検出する。   In such an application 23, the processor 16 that has executed the screen information collection program 24 detects an input event on the first screen 41 by the filter driver 31 and the event acquisition program 32.

プロセッサ16は、例えば入力イベントを検出した場合、入力イベントがアプリケーション23に反映される前のタイミングと、入力イベントがアプリケーション23に反映された後のタイミングとのそれぞれのタイミングで、アプリケーション23により生成された画面の画像データ(例えばラスタ画像)を取得する。例えば、プロセッサ16は、入力イベントがアプリケーション23に反映される前のタイミングにおいて、アプリケーション23の第1の画面41を第1の画像データ43として取得する。また例えば、プロセッサ16は、入力イベントがアプリケーション23に反映された後のタイミングにおいて、アプリケーション23の第2の画面42を第2の画像データ44として取得する。即ち、プロセッサ16は、1つの入力イベントが検出された場合に、入力イベントが発生したアプリケーション23の第1の画面の画像である第1の画像データ43と、入力イベントによって遷移したアプリケーション23の第2の画面42の画像である第2の画像データ44との2つの画像データを生成する。   For example, when an input event is detected, the processor 16 is generated by the application 23 at a timing before the input event is reflected in the application 23 and at a timing after the input event is reflected in the application 23. Screen image data (for example, a raster image) is acquired. For example, the processor 16 acquires the first screen 41 of the application 23 as the first image data 43 at a timing before the input event is reflected in the application 23. Further, for example, the processor 16 acquires the second screen 42 of the application 23 as the second image data 44 at a timing after the input event is reflected in the application 23. That is, when one input event is detected, the processor 16 detects the first image data 43 that is an image of the first screen of the application 23 in which the input event has occurred, and the first image data 43 that has transitioned due to the input event. Two image data with the second image data 44 that is an image of the second screen 42 are generated.

具体的には、プロセッサ16は、フィルタドライバ31により操作イベントを検出し、且つイベント取得プログラム32により操作イベントが入力イベントであると判断した場合、フィルタドライバ31がデバイスドライバ22に入力イベントを供給する前に、第1の画像データ43を取得する。即ち、画面情報取集プログラム33を実行したプロセッサ16は、操作インタフェース12に入力された信号からイベントを、デバイスドライバ22より先に検出し、アプリケーション23の画面に基づき、第1の画像データ43を生成する。   Specifically, when the processor 16 detects an operation event by the filter driver 31 and the event acquisition program 32 determines that the operation event is an input event, the filter driver 31 supplies the input event to the device driver 22. Before the first image data 43 is acquired. That is, the processor 16 that has executed the screen information collection program 33 detects an event from the signal input to the operation interface 12 before the device driver 22, and based on the screen of the application 23, acquires the first image data 43. Generate.

さらに、プロセッサ16は、フィルタドライバ31からデバイスドライバ22に入力イベントを供給してから、所定時間経過後に、第2の画像データ44を取得する。なお、プロセッサ16は、入力イベントがアプリケーション23に反映される前のタイミングにおいて、第1の画像データ43を取得可能であれば、第1の画像データ43を取得する前にフィルタドライバ31からデバイスドライバ22に入力イベントを供給してもよい。   Further, the processor 16 obtains the second image data 44 after a predetermined time has elapsed since the input event was supplied from the filter driver 31 to the device driver 22. If the first image data 43 can be acquired at the timing before the input event is reflected in the application 23, the processor 16 can acquire the device driver from the filter driver 31 before acquiring the first image data 43. 22 may be supplied with an input event.

さらに、プロセッサ16は、取得した第1の画像データ43を用いて、第1の画面情報45を生成する。また、プロセッサ16は、取得した第2の画像データ44を用いて、第2の画面情報46を生成する。即ち、プロセッサ16は、1つの入力イベントが検出された場合に、第1の画面情報45と第2の画面情報46との2つの画面情報を生成する。例えば、第1の画像データ43及び第2の画像データ44にそれぞれ付加情報を付加することにより、第1の画面情報45及び第2の画面情報46を生成する。プロセッサ16は、生成した第1の画面情報45及び第2の画面情報46をストレージ14の画面情報データベースに登録する。   Furthermore, the processor 16 generates first screen information 45 using the acquired first image data 43. Further, the processor 16 generates the second screen information 46 using the acquired second image data 44. That is, when one input event is detected, the processor 16 generates two pieces of screen information, that is, the first screen information 45 and the second screen information 46. For example, the first screen information 45 and the second screen information 46 are generated by adding additional information to the first image data 43 and the second image data 44, respectively. The processor 16 registers the generated first screen information 45 and second screen information 46 in the screen information database of the storage 14.

図4は、ストレージ14に登録された画面情報の例について説明する為の説明図である。図4の例では、第1の画面情報45と第2の画面情報46とが区別なく登録されている例を示しているが、第1の画面情報45と第2の画面情報46とは、別の画面情報データベースに登録されていてもよい。   FIG. 4 is an explanatory diagram for explaining an example of screen information registered in the storage 14. 4 shows an example in which the first screen information 45 and the second screen information 46 are registered without distinction, but the first screen information 45 and the second screen information 46 are: It may be registered in another screen information database.

第1の画面情報45は、画像データ(第1の画像データ43)と、識別情報と、イベント発生日時と、イベント発生座標と、イベント種別と、画像アドレスとを有する情報である。第2の画面情報は、画像データ(第2の画像データ44)と、識別情報と、イベント発生日時と、イベント発生座標と、イベント種別と、イベント前画像と、画像アドレスと、を有する情報である。即ち、第1の画面情報45は、画像データが入力イベント後のアプリケーション23の画面に基づき生成された第2の画像データ44である点と、イベント前画像を有する点とが第1の画面情報45と異なる。   The first screen information 45 is information having image data (first image data 43), identification information, event occurrence date / time, event occurrence coordinates, event type, and image address. The second screen information is information having image data (second image data 44), identification information, event occurrence date / time, event occurrence coordinates, event type, pre-event image, and image address. is there. That is, the first screen information 45 is based on the fact that the image data is the second image data 44 generated based on the screen of the application 23 after the input event and the point having the pre-event image. Different from 45.

識別情報は、画面情報を識別する為の情報である。識別情報は、少なくとも他の画面情報と重複しない情報であれば、如何なる情報であってもよい。   The identification information is information for identifying screen information. The identification information may be any information as long as it does not overlap with at least other screen information.

イベント発生日時は、画像データを生成した日時などのタイミングを示す情報である。プロセッサ16は、フィルタドライバ31及びイベント取得プログラム32によって取得した入力イベントに基づいて、イベント発生日時を生成する。イベント発生日時は、画像データの生成のトリガーとなったイベントが発生した日時(例えばフィルタドライバ31がイベントを検出したタイミング)を示す情報であってもよい。   The event occurrence date and time is information indicating timing such as date and time when image data is generated. The processor 16 generates an event occurrence date and time based on the input event acquired by the filter driver 31 and the event acquisition program 32. The event occurrence date and time may be information indicating the date and time (for example, the timing when the filter driver 31 detects the event) when the event that triggered the generation of the image data has occurred.

イベント発生座標は、画像データ上のどの位置(座標)でイベントが発生したかを示す情報である。プロセッサ16は、フィルタドライバ31及びイベント取得プログラム32によって取得した入力イベントに基づいて、イベント発生座標を生成する。例えば、イベント発生座標は、アプリケーション23の画面において、クリックまたはタッチなどの入力操作が行われた位置を示す。   The event occurrence coordinates are information indicating at which position (coordinates) on the image data the event has occurred. The processor 16 generates event occurrence coordinates based on the input event acquired by the filter driver 31 and the event acquisition program 32. For example, the event occurrence coordinates indicate a position where an input operation such as click or touch is performed on the screen of the application 23.

イベント種別は、イベントの種別を示す情報である。上記のように、入力イベントには、クリックイベント、タッチイベント、コード入力イベント、磁気カード入力イベント、及びICカード入力イベントなどの種々のイベントがある。イベント種別は、これらのイベントのうちのいずれかを示す。即ち、イベント種別は、どのようなイベントによって画面情報が生成されたかを示す。   The event type is information indicating the type of event. As described above, the input event includes various events such as a click event, a touch event, a code input event, a magnetic card input event, and an IC card input event. The event type indicates one of these events. That is, the event type indicates what kind of event caused the screen information to be generated.

画像アドレスは、画像データが保存されている記憶領域上のアドレスを示す情報である。例えば、画像データがストレージ14に記憶される構成である場合、画像アドレスは、ストレージ14上の画像データが記憶されている領域を示す。   The image address is information indicating an address on a storage area where image data is stored. For example, when the image data is stored in the storage 14, the image address indicates an area on the storage 14 where the image data is stored.

イベント前画像は、入力イベントが発生したアプリケーション23の画面を示す情報である。例えば、イベント前画像は、入力イベントが発生したアプリケーション23の画面に基づいて生成された画面情報の識別情報である。即ち、イベント前画像は、入力イベントによって遷移する前のアプリケーション23の画面に基づき生成された第1の画面情報の識別情報である。   The pre-event image is information indicating the screen of the application 23 in which the input event has occurred. For example, the pre-event image is identification information of screen information generated based on the screen of the application 23 in which the input event has occurred. That is, the pre-event image is identification information of the first screen information generated based on the screen of the application 23 before the transition by the input event.

次に、画面情報収集プログラム24のフィルタドライバ31、イベント取得プログラム32、及び画像取得補助プログラム33のそれぞれを実行する際のプロセッサ16の処理について説明する。   Next, the processing of the processor 16 when executing each of the filter driver 31, the event acquisition program 32, and the image acquisition auxiliary program 33 of the screen information collection program 24 will be described.

図5は、フィルタドライバ31を実行したプロセッサ16の処理について説明する為のフローチャートである。   FIG. 5 is a flowchart for explaining the processing of the processor 16 that executes the filter driver 31.

プロセッサ16は、画面取得モードがオンであるか否か判断する(ACT11)。例えば、プロセッサ16は、画面情報収集プログラム24を実行している場合、画面取得モードであると判断する。プロセッサ16は、画面情報収集プログラム24を実行している場合、画面取得モードがオンであると判断する。   The processor 16 determines whether or not the screen acquisition mode is on (ACT11). For example, the processor 16 determines that the screen acquisition mode is in effect when the screen information collection program 24 is being executed. When the screen information collection program 24 is being executed, the processor 16 determines that the screen acquisition mode is on.

プロセッサ16は、画面取得モードがオンであると判断した場合(ACT11、YES)、イベントが発生したか否か判断する(ACT12)。プロセッサ16は、イベントが発生していないと判断した場合(ACT12、NO)、ACT11の処理に移行する。即ち、プロセッサ16は、イベントが発生するまでの間、イベントが発生したか否かの判断を繰り返し行う。   When the processor 16 determines that the screen acquisition mode is on (ACT 11, YES), the processor 16 determines whether an event has occurred (ACT 12). If the processor 16 determines that no event has occurred (ACT12, NO), the processor 16 proceeds to the processing of ACT11. That is, the processor 16 repeatedly determines whether an event has occurred until the event occurs.

プロセッサ16は、イベントが発生したと判断した場合(ACT12、YES)、イベント取得プログラム32に操作イベントを通知する(ACT13)。   If the processor 16 determines that an event has occurred (ACT 12, YES), it notifies the event acquisition program 32 of the operation event (ACT 13).

次に、プロセッサ16は、デバイスドライバ22に操作イベントを通知する(ACT14)。なお、プロセッサ16は、イベント取得プログラム32に操作イベントを通知してから、所定時間経過後にデバイスドライバ22に操作イベントを通知する構成であってもよい。また、プロセッサ16は、画像取得補助プログラム33による第1の画像データ43の取得が完了したか否か判断し、完了した場合にデバイスドライバ22に操作イベントを通知する構成であってもよい。   Next, the processor 16 notifies an operation event to the device driver 22 (ACT 14). The processor 16 may be configured to notify the device driver 22 of the operation event after a predetermined time has elapsed after notifying the event acquisition program 32 of the operation event. Further, the processor 16 may be configured to determine whether or not the acquisition of the first image data 43 by the image acquisition auxiliary program 33 is completed, and to notify the device driver 22 of an operation event when the acquisition is completed.

次に、プロセッサ16は、イベント取得プログラム32に操作イベントを再度通知する(ACT15)。なお、プロセッサ16は、デバイスドライバ22に操作イベントを通知してから、所定時間経過後にイベント取得プログラム32に操作イベントを再度通知する構成であってもよい。また、プロセッサ16は、アプリケーション23において、画面の遷移が完了したか否か判断し、完了した場合にイベント取得プログラム32に操作イベントを再度通知する構成であってもよい。例えば、プロセッサ16は、第1の画像データ43と、アプリケーション23において現在表示されている画面とを比較し、比較結果に基づいて、アプリケーション23の画面の遷移が完了したか否か判断する。即ち、プロセッサ16は、第1の画像データ43と、アプリケーション23の画面とに差分が生じた場合、アプリケーション23の画面の遷移が完了したと判断する。   Next, the processor 16 notifies the event acquisition program 32 of the operation event again (ACT 15). The processor 16 may be configured to notify the operation event to the event acquisition program 32 again after a predetermined time has elapsed after notifying the device driver 22 of the operation event. Further, the processor 16 may be configured to determine whether or not the screen transition has been completed in the application 23 and to notify the event acquisition program 32 of the operation event again when it is completed. For example, the processor 16 compares the first image data 43 and the screen currently displayed in the application 23, and determines whether or not the screen transition of the application 23 is completed based on the comparison result. That is, when a difference occurs between the first image data 43 and the screen of the application 23, the processor 16 determines that the transition of the screen of the application 23 has been completed.

プロセッサ16は、画面取得モードがオフされたか否か判断する(ACT16)。プロセッサ16は、画面取得モードがオフされた場合(ACT16、YES)、処理を終了する。また、プロセッサ16は、画面取得モードがオフされていない場合(ACT16、NO)、ACT12の処理に移行する。これにより、プロセッサ16は、次の操作イベントの発生を待つ状態になる。   The processor 16 determines whether or not the screen acquisition mode is turned off (ACT 16). When the screen acquisition mode is turned off (ACT 16, YES), the processor 16 ends the process. On the other hand, when the screen acquisition mode is not turned off (ACT16, NO), the processor 16 proceeds to the process of ACT12. As a result, the processor 16 waits for the next operation event to occur.

図6は、イベント取得プログラム32を実行したプロセッサ16の処理について説明する為のフローチャートである。   FIG. 6 is a flowchart for explaining the processing of the processor 16 that has executed the event acquisition program 32.

プロセッサ16は、フィルタドライバ31から操作イベントを受信したか否か判断する(ACT21)。プロセッサ16は、操作イベントを受信していないと判断した場合(ACT21、NO)、ACT21の処理に移行する。即ち、プロセッサ16は、操作イベントを受信するまでの間、操作イベントを受信したか否かの判断を繰り返し行う。   The processor 16 determines whether or not an operation event has been received from the filter driver 31 (ACT 21). When the processor 16 determines that an operation event has not been received (ACT21, NO), the processor 16 proceeds to processing of ACT21. That is, the processor 16 repeatedly determines whether or not an operation event has been received until the operation event is received.

プロセッサ16は、操作イベントを受信したと判断した場合(ACT21、YES)、操作イベントの種別を判定する(ACT22)。   When it is determined that the operation event has been received (ACT21, YES), the processor 16 determines the type of the operation event (ACT22).

プロセッサ16は、操作イベントが入力イベントであるか否か判断する(ACT23)。即ち、プロセッサ16は、操作イベントが予め設定されたイベントであるか否か判断する。プロセッサ16は、操作イベントが入力イベントではないと判断した場合(ACT23、NO)、ACT21の処理に移行する。即ち、プロセッサ16は、次の操作イベントの受信を待つ状態になる。   The processor 16 determines whether or not the operation event is an input event (ACT 23). That is, the processor 16 determines whether or not the operation event is a preset event. When the processor 16 determines that the operation event is not an input event (ACT 23, NO), the processor 16 proceeds to the processing of ACT 21. That is, the processor 16 waits for reception of the next operation event.

プロセッサ16は、操作イベントが入力イベントであると判断した場合(ACT23、YES)、画像取得補助プログラム33に入力イベントを通知する(ACT24)。   When the processor 16 determines that the operation event is an input event (ACT 23, YES), the processor 16 notifies the image acquisition auxiliary program 33 of the input event (ACT 24).

図7は、画像取得補助プログラム33を実行したプロセッサ16の処理について説明する為のフローチャートである。   FIG. 7 is a flowchart for explaining the processing of the processor 16 that has executed the image acquisition auxiliary program 33.

プロセッサ16は、イベント取得プログラム32から入力イベントを受信したか否か判断する(ACT31)。プロセッサ16は、入力イベントを受信していないと判断した場合(ACT31、NO)、ACT31の処理に移行する。即ち、プロセッサ16は、入力イベントを受信するまでの間、入力イベントを受信したか否かの判断を繰り返し行う。   The processor 16 determines whether or not an input event has been received from the event acquisition program 32 (ACT 31). When the processor 16 determines that an input event has not been received (ACT 31, NO), the processor 16 proceeds to processing of ACT 31. That is, the processor 16 repeatedly determines whether or not an input event has been received until the input event is received.

プロセッサ16は、入力イベントを受信したと判断した場合(ACT31、YES)、入力イベントが発生したアプリケーション23の画面に基づき画面情報を生成する(ACT32)。即ち、プロセッサ16は、アプリケーション23の画面の画像データを取得し、識別情報、イベント発生日時、イベント発生座標、及び画像アドレスなどの付加情報を画像データに付加することにより、画面情報を生成する。   When the processor 16 determines that an input event has been received (ACT 31, YES), the processor 16 generates screen information based on the screen of the application 23 in which the input event has occurred (ACT 32). That is, the processor 16 obtains image data of the screen of the application 23 and generates screen information by adding additional information such as identification information, event occurrence date / time, event occurrence coordinates, and image address to the image data.

なお、プロセッサ16は、入力イベントを受信した場合、アプリケーション23の画面が遷移前画面であるか遷移後画面であるか判断する。例えば、プロセッサ16は、フィルタドライバ31及びイベント取得プログラム32の処理内容を参照することにより、アプリケーション23の画面が遷移前画面であるか遷移後画面であるか判断する。また、プロセッサ16は、同じ入力イベントを続けて2回受信した場合、アプリケーション23の画面が遷移後画面であると判断する構成であってもよい。また、フィルタドライバ31が、図5のACT13で通知した操作イベントと、図5のACT15で通知した操作イベントとを区別する為の情報を操作イベントに付加する構成であってもよい。   When receiving an input event, the processor 16 determines whether the screen of the application 23 is a pre-transition screen or a post-transition screen. For example, the processor 16 refers to the processing contents of the filter driver 31 and the event acquisition program 32 to determine whether the screen of the application 23 is a pre-transition screen or a post-transition screen. The processor 16 may be configured to determine that the screen of the application 23 is a post-transition screen when the same input event is received twice in succession. Further, the filter driver 31 may add information for distinguishing the operation event notified in ACT 13 in FIG. 5 and the operation event notified in ACT 15 in FIG. 5 to the operation event.

プロセッサ16は、アプリケーション23の画面が遷移前画面であると判断した場合、遷移前画面から生成された画像データ、識別情報、イベント発生日時、イベント発生座標、及び画像アドレスを有する画面情報(第1の画面情報45)を生成する。また、プロセッサ16は、アプリケーション23の画面が遷移後画面であると判断した場合、遷移後画面から生成された画像データ、識別情報、イベント発生日時、イベント発生座標、及び画像アドレスに、さらに、遷移前画面の画像データを有する第1の画面情報45を示すイベント前画像を有する画面情報(第2の画面情報46)を生成する。   When the processor 16 determines that the screen of the application 23 is the pre-transition screen, the screen information including the image data generated from the pre-transition screen, identification information, event occurrence date and time, event occurrence coordinates, and image address (first Screen information 45) is generated. If the processor 16 determines that the screen of the application 23 is a post-transition screen, the processor 16 further transitions to the image data, identification information, event occurrence date / time, event occurrence coordinates, and image address generated from the post-transition screen. Screen information (second screen information 46) having a pre-event image indicating first screen information 45 having image data of the previous screen is generated.

プロセッサ16は、生成した画面情報の画像データと、画面情報データベース内の画面情報の画像データとの類似度を算出する(ACT33)。画面情報データベース内に複数の画面情報が登録されている場合、プロセッサ16は、各画面情報毎に類似度を算出する。なお、類似度の算出は如何なるものであってもよい。   The processor 16 calculates the similarity between the generated image data of the screen information and the image data of the screen information in the screen information database (ACT33). When a plurality of pieces of screen information are registered in the screen information database, the processor 16 calculates a similarity for each piece of screen information. Note that the similarity may be calculated by any method.

プロセッサ16は、算出した類似度が閾値以上であるか否か判断する(ACT34)。例えば、プロセッサ16は、算出した複数の類似度の中で、最も高い類似度が、閾値以上であるか否か判断する。   The processor 16 determines whether or not the calculated similarity is greater than or equal to a threshold value (ACT 34). For example, the processor 16 determines whether or not the highest similarity among the plurality of calculated similarities is greater than or equal to a threshold value.

プロセッサ16は、算出した類似度が閾値以上ではないと判断した場合(ACT34、YES)、ACT32で生成した画面情報をストレージ14の画面情報データベースに登録し(ACT35)、ACT31の処理に移行し、次の入力イベントを待つ状態になる。   When the processor 16 determines that the calculated similarity is not equal to or greater than the threshold (ACT 34, YES), the screen information generated by the ACT 32 is registered in the screen information database of the storage 14 (ACT 35), and the process proceeds to ACT 31. Waits for the next input event.

また、プロセッサ16は、算出した類似度が閾値以上であると判断した場合(ACT34、YES)、画面情報の画像データを、ショートカット(リンク)に置き換え(ACT36)、ACT35の処理に移行する。例えば、プロセッサ16は、ACT33において、最も高い類似度が算出された画像データへのショートカットを生成し、ACT32で生成した画面情報の画像データをショートカットに置き換える。プロセッサ16は、画像データをショートカットに置き換えた画面情報をストレージ14の画面情報データベースに登録し、ACT31の処理に移行し、次の入力イベントを待つ状態になる。
即ち、プロセッサ16は、第1の画像データ43と、予めデータベースに登録された画像データとの類似度を算出し、算出された類似度が予め設定された閾値未満である場合、第1の画像データ43を含む第1の画面情報45をデータベースに登録する。また、プロセッサ16は、第2の画像データ44と、予めデータベースに登録された画像データとの類似度を算出し、算出された類似度が予め設定された閾値未満である場合、第2の画像データ44を含む第2の画面情報46をデータベースに登録する。また、プロセッサ16は、第1の画像データ43と、予めデータベースに登録された画像データとの類似度を算出し、算出された類似度が予め設定された閾値以上である場合、第1の画像データ43の代わりに類似度の算出に用いた画像データへのリンクを含む第1の画面情報45をデータベースに登録する。また、プロセッサ16は、第2の画像データ44と、予めデータベースに登録された画像データとの類似度を算出し、算出された類似度が予め設定された閾値以上である場合、第2の画像データ44の代わりに類似度の算出に用いた画像データへのリンクを含む第2の画面情報46をデータベースに登録する。
On the other hand, when the processor 16 determines that the calculated similarity is equal to or greater than the threshold (ACT 34, YES), the image data of the screen information is replaced with a shortcut (link) (ACT 36), and the process proceeds to ACT 35. For example, the processor 16 generates a shortcut to the image data having the highest similarity calculated in ACT 33, and replaces the image data of the screen information generated in ACT 32 with the shortcut. The processor 16 registers the screen information obtained by replacing the image data with the shortcut in the screen information database of the storage 14, moves to the processing of ACT 31, and waits for the next input event.
That is, the processor 16 calculates the similarity between the first image data 43 and the image data registered in the database in advance, and when the calculated similarity is less than a preset threshold, First screen information 45 including data 43 is registered in the database. Further, the processor 16 calculates the similarity between the second image data 44 and the image data registered in the database in advance, and if the calculated similarity is less than a preset threshold, Second screen information 46 including data 44 is registered in the database. Further, the processor 16 calculates the similarity between the first image data 43 and the image data registered in the database in advance, and if the calculated similarity is equal to or greater than a preset threshold, the first image Instead of the data 43, the first screen information 45 including a link to the image data used for calculating the similarity is registered in the database. Further, the processor 16 calculates the similarity between the second image data 44 and the image data registered in the database in advance, and if the calculated similarity is equal to or greater than a preset threshold, Instead of the data 44, the second screen information 46 including a link to the image data used for calculating the similarity is registered in the database.

上記した構成によると、情報処理装置1のプロセッサ16は、アプリケーション23を実行するとともに、アプリケーション23の画面の画像データを取得する画面情報取集プログラムを実行する。プロセッサ16は、画面情報収集プログラム24によって、操作インタフェースからの入力を監視し、操作イベントを検出する。プロセッサ16は、操作イベントが所定のイベント(例えば入力イベント)であった場合、入力イベントがアプリケーション23に反映される前のタイミングで、アプリケーション23の画面から第1の画像データ43を生成し、入力イベントがアプリケーション23に反映された後のタイミングで、アプリケーション23の画面から第2の画像データ44を生成する。プロセッサ16は、生成した第1の画像データ43及び第2の画像データ44を、それぞれストレージ14の画面情報データベースに登録する。   According to the configuration described above, the processor 16 of the information processing apparatus 1 executes the application 23 and also executes a screen information collection program that acquires image data of the screen of the application 23. The processor 16 monitors an input from the operation interface and detects an operation event by the screen information collection program 24. When the operation event is a predetermined event (for example, an input event), the processor 16 generates the first image data 43 from the screen of the application 23 at a timing before the input event is reflected on the application 23, and inputs the first image data 43. The second image data 44 is generated from the screen of the application 23 at a timing after the event is reflected in the application 23. The processor 16 registers the generated first image data 43 and second image data 44 in the screen information database of the storage 14 respectively.

これにより、プロセッサ16は、アプリケーション23に対する入力イベントが発生する毎に、画面情報収集プログラム24によって、第1の画像データ43と第2の画像データ44とを生成することができる。即ち、アプリケーション23の改修及び特別な操作を行うことなく、第1の画像データ43と第2の画像データ44とを収集することができる。これによって、自動操作スクリプトに用いられる判定用画像の収集が容易になる。   Thus, the processor 16 can generate the first image data 43 and the second image data 44 by the screen information collection program 24 every time an input event occurs for the application 23. That is, the first image data 43 and the second image data 44 can be collected without modifying the application 23 and performing a special operation. This facilitates the collection of determination images used in automatic operation scripts.

また、画面情報収集プログラム24は、操作インタフェース12の操作によって発生した操作イベントをアプリケーション23に反映させるデバイスドライバ22に、操作イベントが通知される前に、操作イベントを検出するフィルタドライバ31を有する。これにより、画面情報収集プログラム24を実行したプロセッサ16は、入力イベントがアプリケーション23に反映される前のタイミングで、アプリケーション23の画面から第1の画像データ43を生成することができる。また、プロセッサ16は、フィルタドライバ31により操作イベントが検出されてから、所定時間経過後にアプリケーション23の画面の画像を取得することにより、第2の画像データ44を生成することができる。このように、画面情報収集プログラム24を実行したプロセッサ16は、1つの入力イベントに基づいて、遷移後と遷移前との2つの画像データを生成することができる。   The screen information collection program 24 includes a filter driver 31 that detects an operation event before the device driver 22 that reflects the operation event generated by the operation of the operation interface 12 in the application 23 is notified of the operation event. Thus, the processor 16 that has executed the screen information collection program 24 can generate the first image data 43 from the screen of the application 23 at a timing before the input event is reflected in the application 23. In addition, the processor 16 can generate the second image data 44 by acquiring an image of the screen of the application 23 after a predetermined time has elapsed since the operation event was detected by the filter driver 31. In this way, the processor 16 that has executed the screen information collection program 24 can generate two pieces of image data after transition and before transition based on one input event.

また、プロセッサ16は、第1の画像データ43及び第2の画像データ44に、イベント発生日時及びイベント発生座標などの情報をそれぞれ付加し、第1の画面情報45及び第2の画面情報46を生成し、ストレージ14の画面情報データベースに登録する。これにより、イベント発生日時を後から把握することが可能になる。また、イベント発生時にアプリケーション23の画面のどの位置がクリック(タッチ)されたかも把握することが可能になる。   Further, the processor 16 adds information such as event occurrence date and time and event occurrence coordinates to the first image data 43 and the second image data 44, respectively, and the first screen information 45 and the second screen information 46 are added. Generate and register in the screen information database of the storage 14. This makes it possible to grasp the event occurrence date and time later. It is also possible to grasp which position on the screen of the application 23 is clicked (touched) when an event occurs.

また、プロセッサ16は、第2の画像データ44をストレージに保存する場合、第2の画像データ44の生成に用いたアプリケーション23の画面の遷移前の画面を示す情報(イベント前画像)を第2の画像データ44に付加する。これにより、第2の画像データ44が、アプリケーション23のどの画面から遷移した画面に基づいて生成されたものであるのかを、把握することが可能になる。   Further, when the second image data 44 is stored in the storage, the processor 16 stores second information (pre-event image) indicating the screen before the transition of the screen of the application 23 used to generate the second image data 44. To the image data 44. This makes it possible to grasp which second image data 44 is generated based on the screen from which the application 23 has transitioned.

また、プロセッサ16は、新しく生成した画像データをストレージ14に保存する前に、既にストレージ14に登録されている複数の画像データを参照する。プロセッサ16は、新しく生成した画像データと、ストレージ14に登録されている複数の画像データとの類似度を算出し、類似度が閾値以上の画像データが保存されていた場合、その画像へのショートカットを画像データの代わりに保存する。これにより、似た画像データが複数ストレージ14に保存される事を防ぐことができる。   The processor 16 refers to a plurality of image data already registered in the storage 14 before storing the newly generated image data in the storage 14. The processor 16 calculates the similarity between the newly generated image data and a plurality of image data registered in the storage 14, and when image data having a similarity equal to or greater than a threshold is stored, a shortcut to the image is stored. Is stored instead of image data. This can prevent similar image data from being stored in the plurality of storages 14.

なお、上述の各実施の形態で説明した機能は、ハードウエアを用いて構成するに留まらず、ソフトウエアを用いて各機能を記載したプログラムをコンピュータに読み込ませて実現することもできる。また、各機能は、適宜ソフトウエア、ハードウエアのいずれかを選択して構成するものであっても良い。   It should be noted that the functions described in the above embodiments are not limited to being configured using hardware, but can be realized by causing a computer to read a program describing each function using software. Each function may be configured by appropriately selecting either software or hardware.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…情報処理装置、11…ディスプレイ、12…操作インタフェース、13…通信インタフェース、14…ストレージ、15…制御部、16…プロセッサ、17…メモリ、21…オペレーティングシステム、22…デバイスドライバ、23…アプリケーション、24…画面情報収集プログラム、31…フィルタドライバ、32…イベント取得プログラム、33…画像取得補助プログラム。   DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus, 11 ... Display, 12 ... Operation interface, 13 ... Communication interface, 14 ... Storage, 15 ... Control part, 16 ... Processor, 17 ... Memory, 21 ... Operating system, 22 ... Device driver, 23 ... Application 24 ... Screen information collection program, 31 ... Filter driver, 32 ... Event acquisition program, 33 ... Image acquisition auxiliary program.

Claims (5)

プロセッサと、
操作部材に接続された操作インタフェースと、
前記操作インタフェースに入力された信号から、イベントの検出を前記プロセッサに行わせるデバイスドライバと、前記イベントに基づいて、画面の遷移を前記プロセッサに行わせるアプリケーションと、前記イベントにより遷移する前の前記アプリケーションの画面に基づき、第1の画像データを生成することと、前記イベントにより遷移した後の前記アプリケーションの画面に基づき、第2の画像データを生成することとを前記プロセッサに実行させる画面情報取集プログラムと、を記憶したメモリと、
を具備する情報処理装置。
A processor;
An operation interface connected to the operation member;
A device driver for causing the processor to detect an event from a signal input to the operation interface, an application for causing the processor to perform screen transition based on the event, and the application before the transition due to the event Screen information collection for causing the processor to generate the first image data based on the screen of the image and to generate the second image data based on the screen of the application after the transition by the event. A memory storing a program,
An information processing apparatus comprising:
前記画面情報取集プログラムを実行した前記プロセッサは、前記操作インタフェースに入力された信号から前記イベントを、前記デバイスドライバより先に検出し、前記アプリケーションの画面に基づき、前記第1の画像データを生成する請求項1に記載の情報処理装置。   The processor that has executed the screen information collection program detects the event from a signal input to the operation interface before the device driver, and generates the first image data based on the screen of the application. The information processing apparatus according to claim 1. 前記画面情報取集プログラムを実行した前記プロセッサは、
前記第1の画像データと、予めデータベースに登録された画像データとの類似度を算出し、算出された類似度が予め設定された閾値未満である場合、前記第1の画像データを前記データベースに登録し、
前記第2の画像データと、予め前記データベースに登録された前記画像データとの類似度を算出し、算出された類似度が予め設定された閾値未満である場合、前記第2の画像データを前記データベースに登録し、
前記第1の画像データと、予めデータベースに登録された画像データとの類似度を算出し、算出された類似度が予め設定された閾値以上である場合、前記第1の画像データの代わりに類似度の算出に用いた画像データへのリンクを前記データベースに登録し、
前記第2の画像データと、予め前記データベースに登録された前記画像データとの類似度を算出し、算出された類似度が予め設定された閾値以上である場合、前記第2の画像データの代わりに類似度の算出に用いた画像データへのリンクを前記データベースに登録する請求項1または2に記載の情報処理装置。
The processor that has executed the screen information collection program includes:
When the similarity between the first image data and image data registered in the database in advance is calculated, and the calculated similarity is less than a preset threshold, the first image data is stored in the database. Register,
When the similarity between the second image data and the image data registered in the database in advance is calculated, and the calculated similarity is less than a preset threshold, the second image data is Register in the database,
When the similarity between the first image data and the image data registered in the database in advance is calculated, and the calculated similarity is equal to or greater than a preset threshold value, the similarity is used instead of the first image data. Register a link to the image data used to calculate the degree in the database,
When the similarity between the second image data and the image data registered in the database in advance is calculated, and the calculated similarity is equal to or greater than a preset threshold value, instead of the second image data The information processing apparatus according to claim 1, wherein a link to image data used for calculating similarity is registered in the database.
前記画面情報取集プログラムを実行した前記プロセッサは、前記第1の画像データ上において前記イベントが発生した位置を示す情報を前記第1の画像データ及び前記第2の画像データにそれぞれ付加して前記データベースに登録する請求項3に記載の情報処理装置。   The processor that has executed the screen information collecting program adds information indicating a position where the event has occurred on the first image data to the first image data and the second image data, respectively. The information processing apparatus according to claim 3, wherein the information processing apparatus is registered in a database. プロセッサと、操作部材に接続された操作インタフェースと、前記操作インタフェースに入力された信号から、イベントの検出を前記プロセッサに行わせるデバイスドライバ、及び前記イベントに基づいて、画面の遷移を前記プロセッサに行わせるアプリケーションを記憶したメモリと、を具備する情報処理装置において実行される情報処理プログラムであって、
前記プロセッサに
前記イベントにより遷移する前の前記アプリケーションの画面に基づき、第1の画像データを生成することと、
前記イベントにより遷移した後の前記アプリケーションの画面に基づき、第2の画像データを生成することと、
を実行させる情報処理プログラム。
A processor, an operation interface connected to the operation member, a device driver that causes the processor to detect an event from a signal input to the operation interface, and a screen transition to the processor based on the event An information processing program that is executed in an information processing apparatus comprising:
Generating first image data based on a screen of the application before transition to the processor due to the event;
Generating second image data based on the screen of the application after transition by the event;
Information processing program that executes
JP2018092502A 2018-05-11 2018-05-11 Information processing device and information processing program Active JP7106346B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018092502A JP7106346B2 (en) 2018-05-11 2018-05-11 Information processing device and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018092502A JP7106346B2 (en) 2018-05-11 2018-05-11 Information processing device and information processing program

Publications (2)

Publication Number Publication Date
JP2019197504A true JP2019197504A (en) 2019-11-14
JP7106346B2 JP7106346B2 (en) 2022-07-26

Family

ID=68538480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018092502A Active JP7106346B2 (en) 2018-05-11 2018-05-11 Information processing device and information processing program

Country Status (1)

Country Link
JP (1) JP7106346B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022259561A1 (en) * 2021-06-11 2022-12-15 日本電信電話株式会社 Identification device, identification method, and identification program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007265263A (en) * 2006-03-29 2007-10-11 Fujitsu Ltd Program, apparatus and method for automatic software testing
JP2012103786A (en) * 2010-11-08 2012-05-31 Canon Marketing Japan Inc Test support device, control method, and program
JP2015153210A (en) * 2014-02-17 2015-08-24 日本電信電話株式会社 User operation log recording method, its program, and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007265263A (en) * 2006-03-29 2007-10-11 Fujitsu Ltd Program, apparatus and method for automatic software testing
JP2012103786A (en) * 2010-11-08 2012-05-31 Canon Marketing Japan Inc Test support device, control method, and program
JP2015153210A (en) * 2014-02-17 2015-08-24 日本電信電話株式会社 User operation log recording method, its program, and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022259561A1 (en) * 2021-06-11 2022-12-15 日本電信電話株式会社 Identification device, identification method, and identification program

Also Published As

Publication number Publication date
JP7106346B2 (en) 2022-07-26

Similar Documents

Publication Publication Date Title
US10915204B2 (en) Systems and methods for identifying faulty touch panel having intermittent field failures
US7573462B2 (en) Image display apparatus, multi display system, coordinate information output method, and program for implementing the method
KR101711882B1 (en) Method, device and terminal device for detecting a malicious vulnerability file
US10318152B2 (en) Modifying key size on a touch screen based on fingertip location
JP7059508B2 (en) Video time series motion detection methods, devices, electronic devices, programs and storage media
WO2019019628A1 (en) Test method, apparatus, test device and medium for mobile application
US20150324580A1 (en) Apparatus and method for analyzing malicious code in real environment
JP2016058027A (en) Data processing device, data processing method, and program
JP6102575B2 (en) Performance measurement method, performance measurement program, and performance measurement apparatus
GB2558061A (en) Improved method of, and apparatus for, handling reference images for an automated test of software with a graphical user interface
JP7106346B2 (en) Information processing device and information processing program
CN108845924B (en) Control response area display control method, electronic device, and storage medium
US10802702B2 (en) Touch-activated scaling operation in information processing apparatus and information processing method
US10817821B2 (en) Workflow control device and non-transitory computer-readable storage medium having stored therein workflow control program for controlling workflow regarding operation on electronic apparatus
US10388257B2 (en) Information processing apparatus, method of controlling the same and non-transitory computer-readable storage medium
WO2020250320A1 (en) Operation log acquisition device, operation log acquisition method, and operation log acquisition program
JP2019053527A (en) Assembly work analysis device, assembly work analysis method, computer program, and storage medium
US11009991B2 (en) Display control apparatus and control method for the display control apparatus
US11003346B2 (en) Prototype storing method
US11983385B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
US11276186B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and non-transitory computer-readable storage medium
US20150255046A1 (en) Remote desktop system evaluating method, medium and apparatus
US20170115806A1 (en) Display terminal device, display control method, and computer-readable recording medium
US20220253529A1 (en) Information processing apparatus, information processing method, and computer readable medium
US11789581B2 (en) Input display system, auxiliary information display method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220114

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220713

R150 Certificate of patent or registration of utility model

Ref document number: 7106346

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150