Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7520143B2 - Screen capture device and screen capture method - Google Patents
[go: Go Back, main page]

JP7520143B2 - Screen capture device and screen capture method - Google Patents

Screen capture device and screen capture method Download PDF

Info

Publication number
JP7520143B2
JP7520143B2 JP2022563271A JP2022563271A JP7520143B2 JP 7520143 B2 JP7520143 B2 JP 7520143B2 JP 2022563271 A JP2022563271 A JP 2022563271A JP 2022563271 A JP2022563271 A JP 2022563271A JP 7520143 B2 JP7520143 B2 JP 7520143B2
Authority
JP
Japan
Prior art keywords
scroll
display
image data
scroll bar
image
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.)
Active
Application number
JP2022563271A
Other languages
Japanese (ja)
Other versions
JPWO2022107203A1 (en
JPWO2022107203A5 (en
Inventor
舞 坂川
健太郎 金井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2022107203A1 publication Critical patent/JPWO2022107203A1/ja
Publication of JPWO2022107203A5 publication Critical patent/JPWO2022107203A5/ja
Application granted granted Critical
Publication of JP7520143B2 publication Critical patent/JP7520143B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本開示は、画面キャプチャ装置および画面キャプチャ方法に関する。 The present disclosure relates to a screen capture device and a screen capture method.

従来から、動作試験を行う自動試験装置が提案されている。自動試験装置は、例えば、動作試験の結果情報などの試験に関する諸情報をディスプレイに表示する。自動試験装置は、ディスプレイに表示された画像のコピーデータを試験のエビデンスとして取得し、当該コピーデータを記録する。 Conventionally, automatic test equipment that performs operational tests has been proposed. The automatic test equipment displays various information related to the test, such as the results of the operational test, on a display. The automatic test equipment obtains copy data of the image displayed on the display as evidence of the test, and records the copy data.

このディスプレイには、スクロールバー付きのウィンドウに情報の一部が表示される場合がある。この場合、当該情報の残りの部分は、スクロールバーを操作しない限り、ディスプレイには表示されない。したがって、ディスプレイに表示された画像のコピーデータを1回取得しただけでは、当該情報の残りの部分をエビデンスとして取得することはできない。 On this display, some of the information may be displayed in a window with a scroll bar. In this case, the remainder of the information will not be visible on the display unless the scroll bar is operated. Therefore, the remainder of the information cannot be obtained as evidence by simply obtaining a copy of the image shown on the display once.

このような問題を解決する技術として、例えば特許文献1の技術を利用できる。特許文献1では、タッチパネルを含む携帯電話が記載されている。この携帯電話は、印刷に関する設定画像をタッチパネルに表示し、そのタッチパネルに表示された表示画像のスクリーンショットデータ(つまり、コピーデータ)を取得する。携帯電話は設定画像のサイズが大きいときには、スクロールバー付きで設定画像の一部をタッチパネルの表示領域に表示させる。 One technique that can be used to solve such problems is that described in, for example, Patent Document 1. Patent Document 1 describes a mobile phone that includes a touch panel. This mobile phone displays a setting image related to printing on the touch panel, and obtains screenshot data (i.e., copy data) of the displayed image on the touch panel. When the size of the setting image is large, the mobile phone displays a part of the setting image in the display area of the touch panel with a scroll bar.

携帯電話は設定画像のサイズを取得し、当該サイズが表示領域のサイズよりも大きいときには、設定画像の一部のみが表示されていると判断し、設定画像を順次にスクロールしてタッチパネルに表示させ、その都度、表示画像のコピーデータを取得している。これにより、設定画像の全てを取得することができる。The mobile phone acquires the size of the setting image, and if that size is larger than the size of the display area, it determines that only a portion of the setting image is being displayed, and sequentially scrolls the setting image to display it on the touch panel, acquiring copy data of the displayed image each time. This allows the entire setting image to be acquired.

特開2018-73143号公報JP 2018-73143 A

しかしながら、特許文献1の技術では、設定画像のサイズを取得する必要がある。つまり、ディスプレイに表示させる表示元のデータ(つまり、設定画像)のサイズ情報を取得する必要がある。当該サイズ情報を取得するためにはデータフォーマットに対応する必要がある。データフォーマットの種類は多いので、全てのデータフォーマットに対応するには手間がかかる。However, with the technology of Patent Document 1, it is necessary to obtain the size of the setting image. In other words, it is necessary to obtain size information of the source data to be displayed on the display (i.e., the setting image). In order to obtain this size information, it is necessary to support the data format. Since there are many types of data formats, it is time-consuming to support all of the data formats.

そこで、本開示は、表示元のデータのサイズを取得する手法とは別の手法で、表示元のデータを含んだ複数の表示画面データを取得することができる技術を提供することを目的とする。Therefore, the present disclosure aims to provide a technology that can obtain multiple display screen data including the source data using a method other than the method for obtaining the size of the source data.

本開示に係る画面キャプチャ装置は、コンピュータ装置に接続され、前記コンピュータ装置のディスプレイに表示された表示画像データを取得する画面キャプチャ装置であって、前記ディスプレイに表示された、表示元のデータの一部とスクロールバーとを含む前記表示画像データを取得する画像取得部と、前記画像取得部によって取得された前記表示画像データと、予め設定された、前記スクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定する特定部と、前記スクロールバーを操作して、前記ディスプレイに表示させる前記表示元のデータをスクロールさせるように前記コンピュータ装置に対して指示を与える操作処理部と、前記特定部によって特定された前記スクロールバーの状態に基づいて前記操作処理部を制御して、前記表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させ、前記ディスプレイに表示された前記画像領域を含む前記表示画像データを、前記画像取得部に取得させる処理制御部とを備え、前記スクロールバーのスクロールボックスは、前記スクロールバーの第1端と第2端との間で移動し、前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、前記処理制御部は、前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、前記操作処理部を制御して、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる
本開示に係る画面キャプチャ装置は、ディスプレイに表示された、表示元のデータの一部とスクロールバーとを含む表示画像データを取得する画像取得部と、前記画像取得部によって取得された前記表示画像データと、予め設定された、前記スクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定する特定部と、前記スクロールバーを操作して、前記ディスプレイに表示させる前記表示元のデータをスクロールさせる操作処理部と、前記特定部によって特定された前記スクロールバーの状態に基づいて前記操作処理部を制御して、前記表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させ、前記ディスプレイに表示された前記画像領域を含む前記表示画像データを、前記画像取得部に取得させる処理制御部とを備え、前記スクロールバーのスクロールボックスは、前記スクロールバーの第1端と第2端との間で移動し、前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、前記処理制御部は、前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、前記操作処理部を制御して、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる。
A screen capture device according to the present disclosure is a screen capture device that is connected to a computer device and acquires display image data displayed on a display of the computer device, the screen capture device including an image acquisition unit that acquires the display image data including a part of original data to be displayed on the display and a scroll bar, an identification unit that identifies a state of the scroll bar based on the display image data acquired by the image acquisition unit and preset scroll image data indicating the scroll bar, an operation processing unit that instructs the computer device to operate the scroll bar to scroll the original data to be displayed on the display, and a screen capture unit that controls the operation processing unit based on the state of the scroll bar identified by the identification unit to scroll the original data to be displayed on the display. and a processing control unit that causes an undisplayed image area of the original data to be displayed on the display and causes the image acquisition unit to acquire the display image data including the image area displayed on the display , wherein a scroll box of the scroll bar moves between a first end and a second end of the scroll bar, and first scroll image data showing the scroll bar in a state in which the scroll box is not positioned at the second end of the scroll bar is set in advance as the scroll image data, and when a first image similar to or matching the first scroll image data is detected from the display image data, the processing control unit controls the operation processing unit to move the scroll box toward the second end by one page or less, and causes the undisplayed image area to be displayed on the display .
A screen capture device according to the present disclosure includes an image acquisition unit that acquires display image data including a part of original data and a scroll bar displayed on a display, an identification unit that identifies a state of the scroll bar based on the display image data acquired by the image acquisition unit and preset scroll image data indicating the scroll bar, an operation processing unit that operates the scroll bar to scroll the original data to be displayed on the display, and a screen capture device that controls the operation processing unit based on the state of the scroll bar identified by the identification unit to display an image area of the original data that has not been displayed on the display, and and a processing control unit that causes the image acquisition unit to acquire the display image data including the image area, wherein a scroll box of the scroll bar moves between a first end and a second end of the scroll bar, and first scroll image data showing the scroll bar in a state in which the scroll box is not positioned at the second end of the scroll bar is set in advance as the scroll image data, and when a first image similar to or matching the first scroll image data is detected from the display image data, the processing control unit controls the operation processing unit to move the scroll box toward the second end by one page or less, thereby displaying the undisplayed image area on the display.

本開示に係る画面キャプチャ方法は、コンピュータ装置に接続され、前記コンピュータ装置のディスプレイに表示された表示画像データを取得する画面キャプチャ装置による画面キャプチャ方法であって、前記ディスプレイに表示された前記表示画像データを取得し、取得された前記表示画像データと、予め設定された、前記ディスプレイに表示されるスクロールバーであって、前記スクロールバーの第1端と第2端との間で移動するスクロールボックスを含む前記スクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定し、特定された前記スクロールバーの状態に基いて前記スクロールバーを操作する指示を前記コンピュータ装置に対して与え、表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させ、前記ディスプレイに表示された前記画像領域を含む前記表示画像データを取得し、前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、前記画像領域を前記ディスプレイに表示させる際に、前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる
本開示に係る画面キャプチャ方法は、ディスプレイに表示された表示画像データを取得する第1工程と、取得された前記表示画像データと、予め設定された、前記ディスプレイに表示されるスクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定し、特定された前記スクロールバーの状態に基いて前記スクロールバーを操作して、表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させる第2工程と、前記ディスプレイに表示された前記画像領域を含む前記表示画像データを取得する第3工程とを備え、前記スクロールバーのスクロールボックスは、前記スクロールバーの第1端と第2端との間で移動し、前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、前記第2工程において、前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる。

A screen capture method according to the present disclosure is a screen capture method using a screen capture device connected to a computer device and acquiring display image data displayed on a display of the computer device, the method comprising: acquiring the display image data displayed on the display; identifying a state of the scroll bar based on the acquired display image data and scroll image data indicating a preset scroll bar displayed on the display, the scroll bar including a scroll box that moves between a first end and a second end of the scroll bar; issuing an instruction to the computer device to operate the scroll bar based on the identified state of the scroll bar; displaying an image area of the original data that has not been displayed on the display; acquiring the display image data including the image area displayed on the display ; first scroll image data indicating the scroll bar in a state in which the scroll box is not located at the second end of the scroll bar is preset as the scroll image data; and when displaying the image area on the display, when a first image similar to or matching the first scroll image data is detected from the display image data, moving the scroll box toward the second end by one page or less to display the image area that has not been displayed on the display .
A screen capture method according to the present disclosure includes a first step of acquiring display image data displayed on a display; a second step of identifying a state of the scroll bar based on the acquired display image data and preset scroll image data indicating a scroll bar displayed on the display, and operating the scroll bar based on the identified state of the scroll bar to cause an undisplayed image area of the original data to be displayed on the display; and a third step of acquiring the display image data including the image area displayed on the display, wherein a scroll box of the scroll bar moves between a first end and a second end of the scroll bar, and first scroll image data indicating the scroll bar in a state in which the scroll box is not located at the second end of the scroll bar is preset as the scroll image data, and in the second step, when a first image similar to or matching the first scroll image data is detected from the display image data, the scroll box is moved toward the second end by one page or less, to cause the undisplayed image area to be displayed on the display.

本開示によれば、表示元のデータのサイズを取得する手法とは別の手法で、表示元のデータを含んだ複数の表示画面データを取得することができる。 According to the present disclosure, multiple display screen data including the source data can be obtained using a method other than the method for obtaining the size of the source data.

本開示の目的、特徴、態様、および利点は、以下の詳細な説明と添付図面とによって、より明白となる。 The objects, features, aspects, and advantages of the present disclosure will become more apparent from the following detailed description and accompanying drawings.

実施の形態に係る画面キャプチャ装置の構成の一例を概略的に示すブロック図である。1 is a block diagram illustrating an example of a configuration of a screen capture device according to an embodiment. 動作試験の手順を示す手順データの一例を模式的に示す図である。FIG. 10 is a diagram illustrating an example of procedure data showing a procedure of an operation test. ディスプレイに表示された表示画像の一例を概略的に示す図である。FIG. 2 is a diagram illustrating an example of a display image displayed on a display. スクロールボックスの位置と、表示元のデータにおいてディスプレイに表示される画像領域の位置との関係の一例を概略的に示す図である。10 is a diagram illustrating an example of a relationship between the position of a scroll box and the position of an image area displayed on a display in source data. FIG. スクロールボックスの位置と、表示元のデータにおいてディスプレイに表示される画像領域の位置との関係の一例を概略的に示す図である。10 is a diagram illustrating an example of a relationship between the position of a scroll box and the position of an image area displayed on a display in source data. FIG. スクロールボックスの位置と、表示元のデータにおいてディスプレイに表示される画像領域の位置との関係の一例を概略的に示す図である。10 is a diagram illustrating an example of a relationship between the position of a scroll box and the position of an image area displayed on a display in source data. FIG. 第1スクロール画像データの一例を概略的に示す図である。FIG. 4 is a diagram illustrating an example of first scroll image data. 第1スクロール画像データの一例を概略的に示す図である。FIG. 4 is a diagram illustrating an example of first scroll image data. 第2スクロール画像データの一例を概略的に示す図である。FIG. 10 is a diagram illustrating an example of second scroll image data. 画面キャプチャ装置の動作の一例を示すフローチャートである。10 is a flowchart showing an example of the operation of the screen capture device. 画面キャプチャ装置のハードウェア構成の一例を概略的に示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a screen capture device. 画面キャプチャ装置のハードウェア構成の一例を概略的に示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a screen capture device.

以下、添付される図面を参照しながら実施の形態について説明する。以下の実施の形態では、技術の説明のために詳細な特徴なども示されるが、それらは例示であり、実施の形態が実施可能となるためにそれらすべてが必ずしも必須の特徴ではない。Hereinafter, the embodiments will be described with reference to the attached drawings. In the following embodiments, detailed features are shown to explain the technology, but they are merely examples and are not necessarily all essential features for the embodiments to be feasible.

なお、図面は概略的に示されるものであり、説明の便宜のため、適宜、構成の省略、または、構成の簡略化が図面においてなされるものである。また、異なる図面にそれぞれ示される構成などの大きさおよび位置の相互関係は、必ずしも正確に記載されるものではなく、適宜変更され得るものである。また、断面図ではない平面図などの図面においても、実施の形態の内容を理解することを容易にするために、ハッチングが付される場合がある。 Note that the drawings are schematic, and for ease of explanation, configurations may be omitted or simplified as appropriate in the drawings. Furthermore, the relative sizes and positions of components shown in different drawings are not necessarily described accurately, and may be changed as appropriate. Furthermore, hatching may be used in drawings such as plan views that are not cross-sectional views, in order to make it easier to understand the contents of the embodiments.

また、以下に示される説明では、同様の構成要素には同じ符号を付して図示し、それらの名称と機能とについても同様のものとする。したがって、それらについての詳細な説明を、重複を避けるために省略する場合がある。In addition, in the following description, similar components are illustrated with the same reference numerals, and their names and functions are also similar. Therefore, detailed descriptions of them may be omitted to avoid duplication.

また、以下に記載される説明において、ある構成要素を「備える」、「含む」または「有する」などと記載される場合、特に断らない限りは、他の構成要素の存在を除外する排他的な表現ではない。 In addition, in the description below, when a certain component is described as "comprising," "including," or "having," unless otherwise specified, this is not an exclusive expression that excludes the presence of other components.

また、以下に記載される説明において、「第1の」または「第2の」などの序数が用いられる場合があっても、これらの用語は、実施の形態の内容を理解することを容易にするために便宜上用いられるものであり、これらの序数によって生じ得る順序などに限定されるものではない。In addition, in the description below, even if ordinal numbers such as "first" or "second" are used, these terms are used for convenience to facilitate understanding of the contents of the embodiments, and are not limited to the ordering that may result from these ordinal numbers.

また、以下に記載される説明において、等しい状態であることを示す表現、たとえば、「同一」、「等しい」、「均一」または「均質」などは、特に断らない限りは、厳密に等しい状態であることを示す場合、および、公差または同程度の機能が得られる範囲において差が生じている場合を含むものとする。 In addition, in the following description, expressions indicating an equal state, such as "same", "equal", "uniform" or "homogeneous", unless otherwise specified, are intended to indicate a strictly equal state as well as cases in which differences occur within the tolerance or range in which the same level of functionality is obtained.

図1は、実施の形態に係る画面キャプチャ装置20の構成の一例を概略的に示すブロック図である。画面キャプチャ装置20は、ディスプレイ31の表示画面31aに表示された表示画像をキャプチャするための装置である。言い換えれば、画面キャプチャ装置20は、表示画面31aに表示された表示画像を示す表示画像データD1のコピーデータを取得するための装置である。このコピーデータは、スクリーンショットデータであるともいえる。なお、表示画像データD1のコピーデータは表示画像データD1と実質的に同じであるので、以下では、コピーデータも単に表示画像データD1と呼ぶことがある。 Figure 1 is a block diagram showing an example of the configuration of a screen capture device 20 according to an embodiment. The screen capture device 20 is a device for capturing a display image displayed on the display screen 31a of the display 31. In other words, the screen capture device 20 is a device for obtaining copy data of display image data D1 showing the display image displayed on the display screen 31a. This copy data can also be said to be screenshot data. Note that since the copy data of the display image data D1 is substantially the same as the display image data D1, hereinafter the copy data may also be simply referred to as the display image data D1.

図1の例では、画面キャプチャ装置20は、パーソナルコンピュータなどのコンピュータ装置30に電気的に接続される。例えばコンピュータ装置30は、液晶ディスプレイなどのディスプレイ31と、コンピュータ本体32とを含んでいる。コンピュータ本体32はディスプレイ31に表示画像データD1を出力し、ディスプレイ31は表示画面31aに表示画像データD1を表示する。表示画像データD1は、例えば、ディスプレイ31の表示画面31aを構成する画素ごとの画素値(例えば輝度値)を含むデータである。ディスプレイ31が表示画像データD1を表示画面31aに表示することにより、表示画像データD1に含まれた文字、記号および画像などの種々の情報がディスプレイ31の表示画面31aに表示される。In the example of FIG. 1, the screen capture device 20 is electrically connected to a computer device 30 such as a personal computer. For example, the computer device 30 includes a display 31 such as a liquid crystal display, and a computer main body 32. The computer main body 32 outputs display image data D1 to the display 31, and the display 31 displays the display image data D1 on the display screen 31a. The display image data D1 is, for example, data including pixel values (e.g., brightness values) for each pixel that constitutes the display screen 31a of the display 31. By the display 31 displaying the display image data D1 on the display screen 31a, various information such as characters, symbols, and images included in the display image data D1 is displayed on the display screen 31a of the display 31.

コンピュータ本体32は種々の演算処理を行う機能を有している。例えば、コンピュータ本体32は、ユーザによる入力デバイス(例えばマウスおよびキーボード)への入力に応じて処理を行う。コンピュータ本体32はその処理の結果をディスプレイ31に表示させることができる。例えばコンピュータ本体32は、処理の結果を反映した表示画像データD1を生成し、当該表示画像データD1をディスプレイ31に出力する。これにより、ディスプレイ31の表示画面31aには、処理を反映した表示画像データD1が表示される。また、コンピュータ本体32は、表示画面31aに表示された表示画像データD1のコピーデータを記憶する機能も有している。The computer main body 32 has the function of performing various arithmetic processing. For example, the computer main body 32 performs processing in response to input by a user to an input device (e.g., a mouse and a keyboard). The computer main body 32 can display the results of the processing on the display 31. For example, the computer main body 32 generates display image data D1 that reflects the results of the processing, and outputs the display image data D1 to the display 31. As a result, the display screen 31a of the display 31 displays the display image data D1 that reflects the processing. The computer main body 32 also has the function of storing copy data of the display image data D1 displayed on the display screen 31a.

図1の例では、画面キャプチャ装置20は自動試験装置40にも電気的に接続される。自動試験装置40は、動作試験を自動的に行うための装置である。ここでいう試験とは、例えば、所定の部品の動作の適否を判断するための試験である。所定の部品はソフトウェアを含み得る。当該ソフトウェアは例えばコンピュータ本体32にインストールされて、コンピュータ本体32によって実行され得る。In the example of FIG. 1, the screen capture device 20 is also electrically connected to an automatic test equipment 40. The automatic test equipment 40 is a device for automatically performing operational tests. The test referred to here is, for example, a test for determining whether or not a specific part operates properly. The specific part may include software. The software may be installed in, for example, the computer main body 32 and executed by the computer main body 32.

自動試験装置40には、試験の手順を示した手順データ50が入力される。例えば手順データ50は試験の手順を規定したスクリプトであり、所定のプログラム言語で規定され得る。自動試験装置40は、入力された手順データ50に基づいて自動的に試験を行う。 Procedure data 50 indicating the test procedure is input to the automatic test equipment 40. For example, the procedure data 50 is a script that specifies the test procedure, and may be specified in a specific programming language. The automatic test equipment 40 automatically performs the test based on the input procedure data 50.

図2は、手順データ50の内容の一例を模式的に示す図である。図2の例では、手順データ50には、試験の手順51,52が規定されている。ここでは一例として、コンピュータ本体32によって実行されるソフトウェアが試験の対象である。手順51においては、ボタンAのクリック、ボタンBのクリックおよび画面キャプチャが上側から下側にこの順で規定されている。ボタンA,Bは、コンピュータ本体32がソフトウェアを実行することによって表示画面31aに表示されたソフトウェアキーである。ボタンAがクリックされることで、ボタンAに応じて表示画面31aの表示内容が変化し、ボタンBがクリックされることで、ボタンBに応じて表示画面31aの表示内容が変化する。2 is a diagram showing an example of the contents of procedure data 50. In the example of FIG. 2, procedure data 50 specifies test procedures 51 and 52. As an example, the software executed by computer main body 32 is the subject of the test. Procedure 51 specifies clicking button A, clicking button B, and screen capture in this order from top to bottom. Buttons A and B are software keys displayed on display screen 31a by computer main body 32 executing software. Clicking button A changes the display content of display screen 31a in response to button A, and clicking button B changes the display content of display screen 31a in response to button B.

自動試験装置40は手順データ50に規定された各ステップを上側から順に実行する。具体的には、自動試験装置40は、コンピュータ本体32にボタンA,Bのクリックをこの順で指示する。なお、自動試験装置40は画面キャプチャ装置20を経由してコンピュータ本体32に指示を出力してもよく、あるいは、直接にコンピュータ本体32に指示を出力してもよい。The automatic test equipment 40 executes each step defined in the procedure data 50 in order from the top. Specifically, the automatic test equipment 40 instructs the computer main body 32 to click buttons A and B in that order. The automatic test equipment 40 may output the instructions to the computer main body 32 via the screen capture device 20, or may output the instructions directly to the computer main body 32.

コンピュータ本体32は当該指示に応じてボタンAをクリックした後にボタンBをクリックする。つまり、コンピュータ本体32はボタンAに応じた処理およびボタンBに応じた処理をこの順で実行し、その結果を反映した表示画像データD1を順に生成する。コンピュータ本体32はそれらの表示画像データD1をディスプレイ31に順に表示させる。最新の表示画像データD1には、ボタンA,Bのクリックの両方の結果が含まれるので、ディスプレイ31の表示画面31aには、ボタンA,Bのクリックに対する処理結果が表示される。In response to this instruction, the computer main body 32 clicks button A and then button B. That is, the computer main body 32 executes processing corresponding to button A and processing corresponding to button B in that order, and sequentially generates display image data D1 reflecting the results. The computer main body 32 sequentially displays these display image data D1 on the display 31. As the latest display image data D1 includes the results of both clicking buttons A and B, the display screen 31a of the display 31 displays the processing results for clicking buttons A and B.

自動試験装置40はボタンA,Bに対するクリックの指示の後に画面キャプチャ装置20に画面キャプチャを指示する。画面キャプチャ装置20は当該指示に応じて、表示画面31aの表示画像をキャプチャするための処理を行う。例えば、画面キャプチャ装置20はコンピュータ本体32に画面キャプチャを指示する。コンピュータ本体32は当該指示に応答して、ボタンA,Bに対するクリック後の最新の表示画像データD1のコピーデータを記憶する。あるいは、画面キャプチャ装置20は最新の表示画像データD1のコピーデータをコンピュータ本体32から取得し、当該コピーデータを記憶してもよい。After receiving an instruction to click buttons A and B, the automatic test equipment 40 instructs the screen capture device 20 to perform a screen capture. In response to the instruction, the screen capture device 20 performs processing to capture the display image on the display screen 31a. For example, the screen capture device 20 instructs the computer main body 32 to perform a screen capture. In response to the instruction, the computer main body 32 stores a copy of the latest display image data D1 after buttons A and B are clicked. Alternatively, the screen capture device 20 may obtain a copy of the latest display image data D1 from the computer main body 32 and store the copy.

このような手順51による試験によれば、ボタンA,Bのクリックに対する処理結果を含む表示画像データD1をエビデンスとして記憶することができる。 By testing using procedure 51, display image data D1 including the processing results in response to clicking buttons A and B can be stored as evidence.

手順52においては、「テスト」のキーボード入力、「OK」ボタンに対するクリックおよび画面キャプチャが上側から下側にこの順で規定されている。「OK」ボタンは、コンピュータ本体32がソフトウェアを実行することによって表示画面31aに表示されたソフトウェアキーである。「OK」ボタンがクリックされることで、「OK」ボタンに応じて表示画面31aの表示内容が変化する。In step 52, the keyboard input of "test", the click of the "OK" button, and the screen capture are specified in this order from top to bottom. The "OK" button is a software key displayed on the display screen 31a by the computer main body 32 executing software. When the "OK" button is clicked, the display content of the display screen 31a changes according to the "OK" button.

自動試験装置40が、手順データ50に規定された手順52を実行することにより、コンピュータ本体32は「テスト」の文字入力に応じた処理を行った後に、「OK」ボタンのクリックに応じた処理を行う。コンピュータ本体32はこれらの処理結果を反映した表示画像データD1を順に生成し、ディスプレイ31に順に出力する。ディスプレイ31は表示画像データD1を順に表示画面31aに表示させる。 When the automatic test equipment 40 executes procedure 52 defined in procedure data 50, the computer main body 32 performs processing in response to the input of the characters "test", and then performs processing in response to the clicking of the "OK" button. The computer main body 32 sequentially generates display image data D1 reflecting these processing results, and outputs them sequentially to the display 31. The display 31 sequentially displays the display image data D1 on the display screen 31a.

自動試験装置40は、「テスト」のキーボード入力および「OK」ボタンに対するクリックの指示の後に、画面キャプチャ装置20に画面キャプチャを指示する。画面キャプチャ装置20は当該指示に応じて、表示画面31aの表示画像をキャプチャするための処理を行う。例えば、画面キャプチャ装置20はコンピュータ本体32に画面キャプチャを指示する。コンピュータ本体32は当該指示に応答して、「テスト」のキーボード入力および「OK」ボタンに対するクリックが行われた後の最新の表示画像データD1のコピーデータを記憶する。あるいは、画面キャプチャ装置20は最新の表示画像データD1のコピーデータをコンピュータ本体32から取得し、当該コピーデータを記憶する。After receiving the instruction to input "test" from the keyboard and click the "OK" button, the automatic test equipment 40 instructs the screen capture device 20 to perform a screen capture. In response to the instruction, the screen capture device 20 performs processing to capture the display image of the display screen 31a. For example, the screen capture device 20 instructs the computer main body 32 to perform a screen capture. In response to the instruction, the computer main body 32 stores a copy of the latest display image data D1 after the keyboard input of "test" and the click of the "OK" button. Alternatively, the screen capture device 20 obtains a copy of the latest display image data D1 from the computer main body 32 and stores the copy.

このような手順52による試験によれば、最新の表示画像データD1には、「テスト」のキーボード入力および「OK」ボタンのクリックに対する処理結果が含まれる。よって、「テスト」のキーボード入力および「OK」ボタンのクリックに対する処理結果を含む表示画像データD1をエビデンスとして記憶することができる。According to such a test using procedure 52, the latest display image data D1 includes the processing results for the keyboard input of "test" and the click of the "OK" button. Therefore, the display image data D1 including the processing results for the keyboard input of "test" and the click of the "OK" button can be stored as evidence.

なお、ディスプレイ31の表示画面31aには、後述のようにスクロールバー付きのウィンドウが表示され得る。この場合、当該ウィンドウ内には、表示元の情報の一部のみが表示され、当該ウィンドウにおいて画像をスクロールすることにより、情報の残りの部分を表示させる。よってこの場合、必要な情報を適切に取得するには、画像をスクロールしつつ表示画像をキャプチャする必要がある。 Note that a window with a scroll bar may be displayed on the display screen 31a of the display 31, as described below. In this case, only a portion of the original information is displayed in the window, and the remaining portion of the information is displayed by scrolling the image in the window. Therefore, in this case, in order to properly obtain the required information, it is necessary to capture the displayed image while scrolling the image.

図1の例では、画面キャプチャ装置20は、画像取得部1と、特定部2と、画像位置取得部3と、操作処理部4と、処理制御部5とを含む。In the example of Figure 1, the screen capture device 20 includes an image acquisition unit 1, an identification unit 2, an image position acquisition unit 3, an operation processing unit 4, and a processing control unit 5.

画像取得部1は、コンピュータ本体32から表示画像データD1を取得する。画像取得部1は表示画像データD1を非一時的な不揮発性記憶部に記憶させてもよい。画像取得部1は、ディスプレイ31の表示画面31aに表示された表示画像をキャプチャする、ともいえる。The image acquisition unit 1 acquires display image data D1 from the computer main body 32. The image acquisition unit 1 may store the display image data D1 in a non-transient non-volatile storage unit. It can also be said that the image acquisition unit 1 captures the display image displayed on the display screen 31a of the display 31.

図3は、ディスプレイ31の表示画面31aに表示された表示画像の一例を概略的に示す図である。図3の例では、表示画像には、第1ウィンドウ34および第2ウィンドウ35が含まれている。図3の例では、第1ウィンドウ34には、スクロールバーが付設されておらず、第2ウィンドウ35には、スクロールバー33が付設されている。以下では、主として第2ウィンドウ35に着目して説明する。 Figure 3 is a diagram showing an example of a display image displayed on the display screen 31a of the display 31. In the example of Figure 3, the display image includes a first window 34 and a second window 35. In the example of Figure 3, the first window 34 does not have a scroll bar, and the second window 35 has a scroll bar 33. The following description will focus mainly on the second window 35.

スクロールバー33は、その上端(第1端に相当)を示す要素331と、その下端(第2端に相当)を示す要素332と、スクロールボックス333とを含んでいる。スクロールボックス333はスクロールバー33の上端と下端との間で縦方向に移動可能である。スクロールボックス333は、つまみ、バルブ、サム、スクローラーまたはスクロールサムとも呼ばれ得る。 Scroll bar 33 includes an element 331 indicating its top end (corresponding to the first end), an element 332 indicating its bottom end (corresponding to the second end), and a scroll box 333. Scroll box 333 is vertically movable between the top and bottom ends of scroll bar 33. Scroll box 333 may also be called a knob, valve, thumb, scroller, or scroll thumb.

ディスプレイ31は表示元のデータD2の一部をスクロールバー33とともに表示画面31aに表示する。ここで、表示元のデータD2と、スクロールバー33におけるスクロールボックス333の位置について述べる。図4から図6は、スクロールボックス333の位置と、表示元のデータD2のうちディスプレイ31に表示される画像領域(ここでは第2ウィンドウ35)の位置との関係の一例を概略的に示す図である。The display 31 displays a portion of the source data D2 on the display screen 31a together with the scroll bar 33. Here, the source data D2 and the position of the scroll box 333 in the scroll bar 33 will be described. Figures 4 to 6 are diagrams that show an example of the relationship between the position of the scroll box 333 and the position of the image area (here, the second window 35) of the source data D2 displayed on the display 31.

図4の例では、スクロールボックス333はスクロールバー33の上端位置に位置している。このとき、第2ウィンドウ35には、表示元のデータD2のうち最も上側の領域が表示される。図5の例では、スクロールボックス333はスクロールバー33の上端と下端との中間位置に位置している。よってこのとき、表示元のデータD2のうち中間の領域が第2ウィンドウ35に表示される。図6の例では、スクロールボックス333はスクロールバー33の下端位置に位置している。よってこのとき、表示元のデータD2のうち最も下側の領域が第2ウィンドウ35に表示される。 In the example of Figure 4, the scroll box 333 is located at the top end of the scroll bar 33. At this time, the uppermost area of the original data D2 is displayed in the second window 35. In the example of Figure 5, the scroll box 333 is located at the midpoint between the top and bottom ends of the scroll bar 33. Therefore, at this time, the middle area of the original data D2 is displayed in the second window 35. In the example of Figure 6, the scroll box 333 is located at the bottom end of the scroll bar 33. Therefore, at this time, the lowermost area of the original data D2 is displayed in the second window 35.

以上のように、スクロールバー33におけるスクロールボックス333の位置は、表示元のデータD2のうち第2ウィンドウ35に表示された画像領域を示す。逆に言えば、スクロールバー33の状態を特定できれば、表示元のデータD2のうち第2ウィンドウ35に表示された画像領域を特定することができる。ここで、スクロールバー33の状態は、スクロールバー33におけるスクロールボックス333の位置および大きさを含み得る。As described above, the position of the scroll box 333 in the scroll bar 33 indicates the image area of the source data D2 displayed in the second window 35. Conversely, if the state of the scroll bar 33 can be identified, it is possible to identify the image area of the source data D2 displayed in the second window 35. Here, the state of the scroll bar 33 may include the position and size of the scroll box 333 in the scroll bar 33.

そこで、表示画面31aに表示されたスクロールバー33の状態を特定するために、スクロールバー33を示すスクロール画像データを予め記憶部10に記憶しておく。記憶部10は例えば不揮発性の記憶部であり、より具体的な一例として、ハードディスクドライブ(Hard disk drive、すなわち、HDD)、リードオンリーメモリ(read only memory、すなわち、ROM)、フラッシュメモリ、erasable programmable read only memory(EPROM)およびelectrically erasable programmable read-only memory(EEPROM)などの、不揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスクまたはDVDなどを含むメモリ(記憶媒体)、または、今後使用されるあらゆる記憶媒体であってもよい。Therefore, in order to specify the state of the scroll bar 33 displayed on the display screen 31a, scroll image data showing the scroll bar 33 is stored in advance in the storage unit 10. The storage unit 10 is, for example, a non-volatile storage unit, and as a more specific example, it may be a memory (storage medium) including a hard disk drive (i.e., HDD), a read only memory (i.e., ROM), a flash memory, an erasable programmable read only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a non-volatile semiconductor memory, a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD, or any storage medium to be used in the future.

スクロール画像データとしては、例えば、スクロールボックス333がスクロールバー33の下端に位置しない状態でのスクロールバー33を示す第1スクロール画像データD31と、スクロールボックス333がスクロールバー33の下端に位置した状態でのスクロールバー33を示す第2スクロール画像データD32とが予め設定される。つまり、第1スクロール画像データD31と第2スクロール画像データD32とが記憶部10に予め記憶される。As the scroll image data, for example, first scroll image data D31 showing the scroll bar 33 in a state where the scroll box 333 is not located at the bottom end of the scroll bar 33, and second scroll image data D32 showing the scroll bar 33 in a state where the scroll box 333 is located at the bottom end of the scroll bar 33 are set in advance. In other words, the first scroll image data D31 and the second scroll image data D32 are stored in advance in the storage unit 10.

図7および図8は、第1スクロール画像データD31の一例を概略的に示す図であり、図9は、第2スクロール画像データD32の一例を概略的に示す図である。第1スクロール画像データD31および第2スクロール画像データD32は、例えば、表示画像データD1の一部を切り出したデータであり、スクロールバー33の下端領域(第2端側の一部の領域に相当)を示す画像データである。第1スクロール画像データD31および第2スクロール画像データD32の両方が要素332および要素332よりも上側の一部を含む。図7の第1スクロール画像データD31にはスクロールボックス333が含まれていない。図8の第1スクロール画像データD31にはスクロールボックス333の下端部が含まれているものの、スクロールボックス333と要素332との間には間隙があり、スクロールボックス333はスクロールバー33の下端よりも上側に位置している。なお、第1スクロール画像データD13として、スクロールボックス333の位置が異なるより多くの画像データが採用されてもよい。図9の第2スクロール画像データD32には、スクロールバー33の下端に位置するスクロールボックス333が含まれている。7 and 8 are diagrams showing an example of the first scroll image data D31, and FIG. 9 is a diagram showing an example of the second scroll image data D32. The first scroll image data D31 and the second scroll image data D32 are, for example, data obtained by cutting out a part of the display image data D1, and are image data showing the lower end area of the scroll bar 33 (corresponding to a part of the area on the second end side). Both the first scroll image data D31 and the second scroll image data D32 include the element 332 and a part above the element 332. The first scroll image data D31 in FIG. 7 does not include the scroll box 333. Although the first scroll image data D31 in FIG. 8 includes the lower end of the scroll box 333, there is a gap between the scroll box 333 and the element 332, and the scroll box 333 is located above the lower end of the scroll bar 33. Note that more image data with different positions of the scroll box 333 may be adopted as the first scroll image data D13. The second scroll image data D32 in FIG. 9 includes the scroll box 333 located at the lower end of the scroll bar 33.

特定部2は、画像取得部1によって取得された表示画像データD1におけるスクロールバー33の状態を、記憶部10に記憶されたスクロール画像データと、表示画像データD1とに基づいて特定する。具体的には、特定部2は第1スクロール画像データD31および第2スクロール画像データD32を記憶部10から取得する。そして、特定部2は表示画像データD1から第1スクロール画像データD31または第2スクロール画像データD32を検出できるかどうかを判断する。The identification unit 2 identifies the state of the scroll bar 33 in the display image data D1 acquired by the image acquisition unit 1 based on the scroll image data stored in the storage unit 10 and the display image data D1. Specifically, the identification unit 2 acquires the first scroll image data D31 and the second scroll image data D32 from the storage unit 10. Then, the identification unit 2 determines whether the first scroll image data D31 or the second scroll image data D32 can be detected from the display image data D1.

例えば、特定部2は表示画像データD1と第1スクロール画像データD31とのテンプレートマッチングを行う。図7および図8に例示するように、第1スクロール画像データD31が複数種類存在する場合には、各第1スクロール画像データD31についてテンプレートマッチングを行うとよい。各第1スクロール画像データD31に類似または一致する第1画像が表示画像データD1に含まれているときには、当該テンプレートマッチングによって当該第1画像が検出される。この場合、表示画面31aに表示されたスクロールバー33において、スクロールボックス333は下端位置よりも上側に位置している。For example, the identification unit 2 performs template matching between the display image data D1 and the first scroll image data D31. As illustrated in Fig. 7 and Fig. 8, when there are multiple types of first scroll image data D31, it is preferable to perform template matching for each of the first scroll image data D31. When a first image similar to or matching each of the first scroll image data D31 is included in the display image data D1, the first image is detected by the template matching. In this case, in the scroll bar 33 displayed on the display screen 31a, the scroll box 333 is located above the bottom end position.

また、特定部2は、表示画像データD1と第2スクロール画像データD32とのテンプレートマッチングも行う。第2スクロール画像データD32に類似または一致する第2画像が表示画像データD1に含まれているときには、当該テンプレートマッチングによって当該第2画像が検出される。この場合、表示画面31aに表示されたスクロールバー33において、スクロールボックス333は下端位置に位置している。The identification unit 2 also performs template matching between the display image data D1 and the second scroll image data D32. When the display image data D1 contains a second image similar to or matching the second scroll image data D32, the second image is detected by the template matching. In this case, the scroll box 333 is located at the bottom end position in the scroll bar 33 displayed on the display screen 31a.

画像位置取得部3は、スクロールバー33のスクロールボックス333の位置情報を処理制御部5に出力する。例えば、第1スクロール画像データD31に類似または一致する第1画像が特定部2によって検出された場合、画像位置取得部3はスクロールボックス333が下端位置以外の位置にあることを処理制御部5に通知する。また、第2スクロール画像データD32に類似または一致する第2画像が特定部2によって検出された場合、画像位置取得部3はスクロールボックス333が下端位置にあることを処理制御部5に通知する。また、第1画像も第2画像も表示画像データD1から検出されないときには、画像位置取得部3はその旨を処理制御部5に通知してもよい。The image position acquisition unit 3 outputs position information of the scroll box 333 of the scroll bar 33 to the processing control unit 5. For example, when the identification unit 2 detects a first image similar to or matching the first scroll image data D31, the image position acquisition unit 3 notifies the processing control unit 5 that the scroll box 333 is at a position other than the bottom end position. When the identification unit 2 detects a second image similar to or matching the second scroll image data D32, the image position acquisition unit 3 notifies the processing control unit 5 that the scroll box 333 is at the bottom end position. When neither the first image nor the second image is detected from the display image data D1, the image position acquisition unit 3 may notify the processing control unit 5 of that effect.

操作処理部4はスクロールバー33の操作に関する処理を行う。操作処理部4はスクロールバー33を操作して、ディスプレイ31に表示させる表示元のデータD2をスクロールさせる。例えば、操作処理部4はスクロールバー33の操作をコンピュータ本体32に指示する。具体的には、操作処理部4は、表示元のデータD2のうち現在表示されている画像領域よりも1ページ以下の分だけ下側の画像領域を表示するように、スクロールボックス333を下側に移動させる指示をコンピュータ本体32に与える。なお、画像領域を1ページだけ下側に移動させる操作は、ページダウン操作とも呼ばれる。The operation processing unit 4 performs processing related to the operation of the scroll bar 33. The operation processing unit 4 operates the scroll bar 33 to scroll the source data D2 to be displayed on the display 31. For example, the operation processing unit 4 instructs the computer main body 32 to operate the scroll bar 33. Specifically, the operation processing unit 4 instructs the computer main body 32 to move the scroll box 333 downward so as to display an image area of the source data D2 that is one page or less below the image area currently being displayed. The operation of moving the image area downward by one page is also called a page down operation.

操作処理部4はさらに画面キャプチャ操作に関する処理を行ってもよい。例えば、操作処理部4はコンピュータ本体32に画面キャプチャ操作を指示してもよい。コンピュータ本体32は当該指示に応じて、ディスプレイ31に表示された表示画像データD1のコピーデータを例えば非一時的な不揮発性記憶部に記憶する。The operation processing unit 4 may further perform processing related to a screen capture operation. For example, the operation processing unit 4 may instruct the computer main body 32 to perform a screen capture operation. In response to the instruction, the computer main body 32 stores copy data of the display image data D1 displayed on the display 31 in, for example, a non-transient non-volatile storage unit.

処理制御部5は、画面キャプチャ装置20の全体を統括的に処理する。例えば、処理制御部5は、画像取得部1、特定部2、画像位置取得部3および操作処理部4に各種の指示を出力し、また、画像取得部1、特定部2、画像位置取得部3および操作処理部4から各種の情報を受け取る。The processing control unit 5 performs overall processing of the entire screen capture device 20. For example, the processing control unit 5 outputs various instructions to the image acquisition unit 1, the identification unit 2, the image position acquisition unit 3, and the operation processing unit 4, and also receives various information from the image acquisition unit 1, the identification unit 2, the image position acquisition unit 3, and the operation processing unit 4.

図10は、画面キャプチャ装置20の動作の一例を示すフローチャートである。ステップS1にて、処理制御部5は、自動試験装置40からの画面キャプチャの指示を受け取ったか否かを判断する。当該指示を受け取っていないときには、処理制御部5は再びステップS1を実行する。 Figure 10 is a flowchart showing an example of the operation of the screen capture device 20. In step S1, the process control unit 5 determines whether or not a screen capture instruction has been received from the automatic test equipment 40. If the instruction has not been received, the process control unit 5 executes step S1 again.

画面キャプチャの指示を受け取ったときには、ステップS2にて、処理制御部5は画像取得部1に表示画像データD1を取得させる。画像取得部1は、コンピュータ本体32から表示画像データD1を取得する。また、コンピュータ本体32に画面キャプチャを行わせる場合には、処理制御部5は、コンピュータ本体32に対する画面キャプチャの操作の指示を操作処理部4に行わせる。コンピュータ本体32は当該指示に応じて、表示画像データD1のコピーデータをエビデンスとして非一時的な不揮発性記憶部に記憶させる。なお、画面キャプチャ装置20が画面キャプチャを行う場合には、画像取得部1が表示画像データD1を当該記憶部に記憶させるとよい。これにより、ステップS2にて、現在表示されている表示画像データD1がエビデンスとして当該記憶部に記憶される。When an instruction for screen capture is received, in step S2, the process control unit 5 causes the image acquisition unit 1 to acquire display image data D1. The image acquisition unit 1 acquires the display image data D1 from the computer main body 32. When causing the computer main body 32 to perform screen capture, the process control unit 5 causes the operation processing unit 4 to instruct the computer main body 32 to perform a screen capture operation. In response to the instruction, the computer main body 32 stores copy data of the display image data D1 as evidence in a non-transient non-volatile storage unit. Note that when the screen capture device 20 performs screen capture, it is preferable for the image acquisition unit 1 to store the display image data D1 in the storage unit. As a result, in step S2, the currently displayed display image data D1 is stored in the storage unit as evidence.

次にステップS3にて、処理制御部5は、第1スクロール画像データD31に類似または一致する第1画像が表示画像データD1から検出されたか否かの判断を、特定部2に行わせる。具体的には、特定部2は、画像取得部1によって取得された表示画像データD1と、記憶部10に記憶された第1スクロール画像データD31とのテンプレートマッチングを行う。複数種類の第1スクロール画像データD31が記憶部10に記憶されている場合には、特定部2は第1スクロール画像データD31ごとにテンプレートマッチングを行う。Next, in step S3, the process control unit 5 causes the identification unit 2 to determine whether a first image similar to or matching the first scroll image data D31 has been detected from the display image data D1. Specifically, the identification unit 2 performs template matching between the display image data D1 acquired by the image acquisition unit 1 and the first scroll image data D31 stored in the storage unit 10. When multiple types of first scroll image data D31 are stored in the storage unit 10, the identification unit 2 performs template matching for each first scroll image data D31.

いずれかの第1画像が検出されたときには、ステップS3にて、処理制御部5は操作処理部4にスクロールバー33を操作させて、表示元のデータD2のうち未表示の画像領域をディスプレイ31の第2ウィンドウ35に表示させる。例えば操作処理部4は、1ページ以下でスクロールボックス333を下端側に移動させて、未表示の画像領域をディスプレイ31の第2ウィンドウ35に表示させる。より具体的な一例として、操作処理部4はページダウン操作をコンピュータ本体32に指示する。コンピュータ本体32は当該指示に基づいてページダウン操作を行う。これにより、表示元のデータD2のうち第2ウィンドウ35に表示されていた画像領域よりも1ページの分だけ下側の画像領域が第2ウィンドウ35に表示される。When any of the first images is detected, in step S3, the process control unit 5 causes the operation processing unit 4 to operate the scroll bar 33 to display the undisplayed image area of the original data D2 in the second window 35 of the display 31. For example, the operation processing unit 4 moves the scroll box 333 to the bottom end by one page or less to display the undisplayed image area in the second window 35 of the display 31. As a more specific example, the operation processing unit 4 instructs the computer main body 32 to perform a page down operation. The computer main body 32 performs the page down operation based on the instruction. As a result, an image area of the original data D2 that is one page lower than the image area displayed in the second window 35 is displayed in the second window 35.

ページダウン操作は、例えば、スクロールバー33のうちスクロールボックス333と要素332との間の領域の一部(例えば図7の位置P1を参照)をクリックすることによって実現され得る。クリックの位置P1は、例えば、第1スクロール画像データD31(第1画像)において要素332よりも上側の位置である。画像位置取得部3は、特定部2によって検出された第1画像の位置に基づいてクリックの位置P1を特定してもよく(図7および図8参照)、操作処理部4は、画像位置取得部3によって特定された位置P1を指定して、クリックをコンピュータ本体32に指示しても構わない。コンピュータ本体32は当該指示に応じて、位置P1に対するクリックを実行することにより、ページダウン操作を行う。The page down operation can be realized, for example, by clicking on a part of the area of the scroll bar 33 between the scroll box 333 and the element 332 (see, for example, position P1 in FIG. 7). The click position P1 is, for example, a position above the element 332 in the first scroll image data D31 (first image). The image position acquisition unit 3 may identify the click position P1 based on the position of the first image detected by the identification unit 2 (see FIGS. 7 and 8), and the operation processing unit 4 may specify the position P1 identified by the image position acquisition unit 3 and instruct the computer main body 32 to click. In response to the instruction, the computer main body 32 performs a page down operation by clicking on position P1.

次に処理制御部5はステップS2を再び実行する。つまり、表示元のデータD2のうち未表示だった画像領域が、ステップS4のスクロール操作によって第2ウィンドウ35に表示されるので、その表示内容を取得すべく、ステップS2にて、画像取得部1が、表示画面31aに表示されている表示画像データD1を取得する。なお、ステップS2にて表示中の表示画像データD1は、コンピュータ本体32または画像取得部1によってエビデンスとして不揮発性記憶部に記憶される。Next, the process control unit 5 executes step S2 again. That is, an image area of the original data D2 that was not displayed is displayed in the second window 35 by the scroll operation in step S4, and therefore in order to acquire the display content, the image acquisition unit 1 acquires the display image data D1 displayed on the display screen 31a in step S2. Note that the display image data D1 being displayed in step S2 is stored in the non-volatile storage unit as evidence by the computer main body 32 or the image acquisition unit 1.

ステップS4およびステップS2の一組は、ステップS3において表示画像データD1から第1画像が検出される限り、繰り返し実行される。つまり、第1画像が検出されたときには、表示元のデータD2には未表示の画像領域が含まれているので、操作処理部4はスクロール操作を行って、未表示の画像領域をディスプレイ31の表示画面31aに表示させる(ステップS4)。そして、表示画面31aに表示されている当該画像領域を含む表示画像データD1を取得して記憶させる(ステップS2)。これにより、未だ取得していなかった表示元のデータD2の画像領域を、表示画像データD1として順次に取得して記憶部に記憶させることができる。A set of steps S4 and S2 is repeatedly executed as long as the first image is detected from the display image data D1 in step S3. In other words, when the first image is detected, the original data D2 contains an undisplayed image area, so the operation processing unit 4 performs a scroll operation to display the undisplayed image area on the display screen 31a of the display 31 (step S4). Then, the display image data D1 including the image area displayed on the display screen 31a is acquired and stored (step S2). This allows image areas of the original data D2 that have not yet been acquired to be acquired sequentially as display image data D1 and stored in the storage unit.

一方で、ステップS3にて、表示画像データD1から第1画像が検出されなかったときには、ステップS5にて、処理制御部5は表示画像データD1から第2画像が検出されたか否かの判断を特定部2に行わせる。具体的には、特定部2は、画像取得部1によって取得された表示画像データD1と、記憶部10に記憶された第2スクロール画像データD32とのテンプレートマッチングを行う。On the other hand, when the first image is not detected from the display image data D1 in step S3, the process control unit 5 causes the identification unit 2 to determine whether or not the second image is detected from the display image data D1 in step S5. Specifically, the identification unit 2 performs template matching between the display image data D1 acquired by the image acquisition unit 1 and the second scroll image data D32 stored in the storage unit 10.

表示画像データD1から第2画像が検出されたときには、スクロールボックス333は下端位置に位置しているので、処理を終了する。つまり、スクロールボックス333が下端位置に位置する場合には、以前のスクロール操作(ステップS4)によってデータD2の画像領域が表示画面31aに順次に表示され、そのスクロール操作ごとに表示画像データD1が取得されて不揮発性記憶部に記憶される。これにより、表示元のデータD2の全画像領域を複数の表示画像データD1に分割して取得したことになる。つまり、エビデンスを十分に取得したので、処理を終了する。When the second image is detected from the display image data D1, the scroll box 333 is located at the bottom end position, and the process is terminated. In other words, when the scroll box 333 is located at the bottom end position, the image area of the data D2 is displayed sequentially on the display screen 31a by the previous scroll operation (step S4), and the display image data D1 is acquired and stored in the non-volatile memory unit for each scroll operation. As a result, the entire image area of the original data D2 is divided and acquired into multiple display image data D1. In other words, sufficient evidence has been acquired, and the process is terminated.

ステップS5において表示画像データD1から第2画像が検出されないときには、ステップS6にて、処理制御部5は異常が生じたと判断し、エラー処理を行う。つまり、表示画像データD1から第1画像も第2画像も検出できないときには、処理制御部5は異常が生じたと判断する。処理制御部5は、エラー処理として、例えば、スクロールバー33の状態を特定できなかったことをディスプレイ31に表示させてもよい。 When the second image is not detected from the display image data D1 in step S5, the process control unit 5 determines that an abnormality has occurred in step S6 and performs error processing. In other words, when neither the first image nor the second image can be detected from the display image data D1, the process control unit 5 determines that an abnormality has occurred. As error processing, the process control unit 5 may, for example, cause the display 31 to display that the state of the scroll bar 33 could not be identified.

以上のように、本実施の形態では、表示画像データD1と、予め設定されたスクロール画像データとに基づいて、スクロールバー33の状態を特定し、そのスクロールバー33の状態に基づいてスクロール操作および表示画面のキャプチャを行う。このような処理によれば、表示元のデータD2のサイズ情報を取得する必要がない。言い換えれば、表示元のデータD2のサイズ情報を取得する手法とは別の手法により、スクロール操作の必要性を判断することができ、ひいては、表示元のデータD2の全画像領域を複数の表示画像データD1に分割して取得することができる。よって、画面キャプチャ装置20はデータD2のデータフォーマットに対応した処理を行う必要がなく、画面キャプチャ装置20の導入が容易になる。As described above, in this embodiment, the state of the scroll bar 33 is identified based on the display image data D1 and the preset scroll image data, and a scroll operation and a capture of the display screen are performed based on the state of the scroll bar 33. With this type of processing, there is no need to acquire size information of the source data D2. In other words, the necessity for a scroll operation can be determined by a method other than the method of acquiring size information of the source data D2, and the entire image area of the source data D2 can be divided and acquired into multiple display image data D1. Therefore, the screen capture device 20 does not need to perform processing corresponding to the data format of the data D2, making it easier to introduce the screen capture device 20.

また上述の例では、スクロールが必要と判断するたびに、スクロールボックス333を上端から下端に1ページ以下で移動させ(ステップS4)、その都度、表示画像をキャプチャする。よって、本実施の形態によれば、表示元のデータD2の各画像領域を上側から順にキャプチャすることができる。言い換えれば、各画像領域を上側から順に表示画像データD1として取得することができる。Also, in the above example, each time it is determined that scrolling is necessary, the scroll box 333 is moved from the top to the bottom by one page or less (step S4), and the display image is captured each time. Therefore, according to this embodiment, each image area of the original display data D2 can be captured in order from the top. In other words, each image area can be acquired as display image data D1 in order from the top.

このようなスクロール順によれば、スクロールボックス333が未だ下端位置に位置していないときには、表示元のデータD2には未取得の画像領域が含まれていることになる。 With this scroll order, when the scroll box 333 is not yet positioned at the bottom end, the source data D2 contains image areas that have not yet been acquired.

そこで、画面キャプチャ装置20は、スクロールボックス333を含まないスクロールバー33の下端領域を示す第1スクロール画像データD31と、表示画像データD1とのテンプレートマッチングを行っている。これによれば、画面キャプチャ装置20は、スクロールボックス333が下端位置に位置しない状態を容易に特定できる。言い替えれば、画面キャプチャ装置20は、エビデンスとして未だ取得できていない画像領域が表示元のデータD2に含まれておらず、スクロール操作が必要であることを、容易に特定できる。Therefore, the screen capture device 20 performs template matching between the first scroll image data D31, which indicates the bottom end area of the scroll bar 33 that does not include the scroll box 333, and the display image data D1. This allows the screen capture device 20 to easily identify a state in which the scroll box 333 is not located at the bottom end position. In other words, the screen capture device 20 can easily identify that an image area that has not yet been acquired as evidence is not included in the original display data D2, and a scroll operation is required.

また上述のスクロール順によれば、スクロールボックス333が下端位置に位置したときには、表示元のデータD2の各画像領域の全てをキャプチャしたことになる。 Also, according to the above-mentioned scrolling order, when the scroll box 333 is positioned at the bottom end position, all of the image areas of the source data D2 have been captured.

そこで、画面キャプチャ装置20は、スクロールボックス333が下端位置に位置する状態でのスクロールバー33を示す第2スクロール画像データD32と、表示画像データD1とのテンプレートマッチングを行っている。これによれば、画面キャプチャ装置20は、表示元のデータD2の各画像領域の全てをエビデンスとして取得した状態を容易に特定できる。Therefore, the screen capture device 20 performs template matching between the second scroll image data D32, which shows the scroll bar 33 when the scroll box 333 is located at the bottom end position, and the display image data D1. This allows the screen capture device 20 to easily identify the state in which all of the image areas of the original data D2 have been acquired as evidence.

また上述の例では、処理制御部5は、テンプレートマッチングによって表示画像データD1から第1画像および第2画像の両方を検出できないときには、異常が生じたと判断する。したがって、処理制御部5はエラー処理を適切なタイミングで行うことができる。処理制御部5はエラー処理として、例えば、異常が生じたことをディスプレイ31に表示させる。 In the above example, the process control unit 5 determines that an abnormality has occurred when both the first image and the second image cannot be detected from the display image data D1 by template matching. Therefore, the process control unit 5 can perform error processing at an appropriate timing. As the error processing, the process control unit 5, for example, displays on the display 31 that an abnormality has occurred.

なお、上述の例では、スクロールバー33は縦方向のスクロールバーであるものの、横方向のスクロールバーであってもよい。 Note that in the above example, scroll bar 33 is a vertical scroll bar, but it may also be a horizontal scroll bar.

次に、画面キャプチャ装置20のハードウェア構成の一例について述べる。図11および図12は、図1に例示される画面キャプチャ装置20のハードウェア構成の一例を概略的に示す図である。Next, an example of the hardware configuration of the screen capture device 20 will be described. Figures 11 and 12 are diagrams that show an example of the hardware configuration of the screen capture device 20 illustrated in Figure 1.

なお、図11および図12に例示されるハードウェア構成は、図1に例示される構成とは数などが整合しない場合があるが、これは図1に例示される構成が概念的な単位を示すものであることに起因する。 Note that the hardware configurations illustrated in Figures 11 and 12 may not match the numbers, etc., of the configuration illustrated in Figure 1, but this is because the configuration illustrated in Figure 1 represents conceptual units.

図11では、図1中の画像取得部1と、特定部2と、画像位置取得部3と、操作処理部4と、処理制御部5を実現するためのハードウェア構成として、演算を行う処理回路21Aと、記憶装置22とが示される。 Figure 11 shows a processing circuit 21A that performs calculations and a memory device 22 as the hardware configuration for realizing the image acquisition unit 1, identification unit 2, image position acquisition unit 3, operation processing unit 4, and processing control unit 5 in Figure 1.

記憶装置22は、たとえば、ハードディスクドライブ(Hard disk drive、すなわち、HDD)、ランダムアクセスメモリ(random access memory、すなわち、RAM)、リードオンリーメモリ(read only memory、すなわち、ROM)、フラッシュメモリ、erasable programmable read only memory(EPROM)およびelectrically erasable programmable read-only memory(EEPROM)などの、揮発性または不揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスクまたはDVDなどを含むメモリ(記憶媒体)、または、今後使用されるあらゆる記憶媒体であってもよい。The storage device 22 may be, for example, a hard disk drive (HDD), random access memory (RAM), read only memory (ROM), flash memory, erasable programmable read only memory (EPROM) and electrically erasable programmable read-only memory (EEPROM), or other volatile or non-volatile semiconductor memory, a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD, or any other storage medium to be used in the future.

処理回路21Aは、記憶装置22、外部のCD-ROM、外部のDVD-ROM、または、外部のフラッシュメモリなどに格納されたプログラムを実行するものであってもよい。すなわち、たとえば、中央演算処理装置(central processing unit、すなわち、CPU)、マイクロプロセッサ、マイクロコンピュータ、デジタルシグナルプロセッサ(digital signal processor、すなわち、DSP)であってもよい。The processing circuit 21A may execute a program stored in the storage device 22, an external CD-ROM, an external DVD-ROM, or an external flash memory. That is, the processing circuit 21A may be, for example, a central processing unit (CPU), a microprocessor, a microcomputer, or a digital signal processor (DSP).

処理回路21Aが記憶装置22、外部のCD-ROM、外部のDVD-ROM、または、外部のフラッシュメモリなどに格納されたプログラムを実行するものである場合、画像取得部1と、特定部2と、画像位置取得部3と、操作処理部4と、処理制御部5は、記憶装置22に格納されたプログラムが処理回路21Aによって実行されるソフトウェア、ファームウェアまたはソフトウェアとファームウェアとの組み合わせにより実現される。なお、画像取得部1と、特定部2と、画像位置取得部3と、操作処理部4と、処理制御部5の機能は、たとえば、複数の処理回路が連携することによって実現されてもよい。 When the processing circuit 21A executes a program stored in the storage device 22, an external CD-ROM, an external DVD-ROM, or an external flash memory, the image acquisition unit 1, the identification unit 2, the image position acquisition unit 3, the operation processing unit 4, and the processing control unit 5 are realized by software, firmware, or a combination of software and firmware in which the program stored in the storage device 22 is executed by the processing circuit 21A. Note that the functions of the image acquisition unit 1, the identification unit 2, the image position acquisition unit 3, the operation processing unit 4, and the processing control unit 5 may be realized, for example, by multiple processing circuits working together.

ソフトウェアおよびファームウェアはプログラムとして記述され、記憶装置22に記憶されるものであってもよい。その場合、処理回路21Aは、記憶装置22に格納されたプログラムを読み出して実行することによって、上記の機能を実現する。すなわち、記憶装置22は、処理回路21Aに実行されることによって、上記の機能が結果的に実現されるプログラムを記憶するものであってもよい。The software and firmware may be written as a program and stored in the storage device 22. In this case, the processing circuit 21A realizes the above-mentioned functions by reading and executing the program stored in the storage device 22. In other words, the storage device 22 may store a program that, when executed by the processing circuit 21A, results in the above-mentioned functions being realized.

また、処理回路21Bは、専用のハードウェアであってもよい。すなわち、処理回路21Bは、たとえば、単一回路、複合回路、プログラム化されたプロセッサ、並列プログラム化されたプロセッサ、集積回路(application specific integrated circuit、すなわち、ASIC)、field-programmable gate array(FPGA)またはこれらを組み合わせた回路であってもよい。 Processing circuitry 21B may also be dedicated hardware. That is, processing circuitry 21B may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination thereof.

処理回路21Bが専用のハードウェアである場合、画像取得部1、特定部2、画像位置取得部3、操作処理部4および処理制御部5は、処理回路21Bが動作することにより実現される。なお、画像取得部1、特定部2、画像位置取得部3、操作処理部4および処理制御部5の機能は、別々の回路で実現されてもよいし、単一の回路で実現されてもよい。When the processing circuit 21B is a dedicated hardware, the image acquisition unit 1, the identification unit 2, the image position acquisition unit 3, the operation processing unit 4, and the processing control unit 5 are realized by the operation of the processing circuit 21B. Note that the functions of the image acquisition unit 1, the identification unit 2, the image position acquisition unit 3, the operation processing unit 4, and the processing control unit 5 may be realized by separate circuits or by a single circuit.

なお、画像取得部1、特定部2、画像位置取得部3、操作処理部4および処理制御部5の機能は、一部が記憶装置22に格納されたプログラムを実行するものである処理回路21Aにおいて実現され、一部が専用のハードウェアである処理回路21Bにおいて実現されてもよい。 The functions of the image acquisition unit 1, the identification unit 2, the image position acquisition unit 3, the operation processing unit 4 and the processing control unit 5 may be partly realized in a processing circuit 21A which executes a program stored in a memory device 22, and partly realized in a processing circuit 21B which is dedicated hardware.

また、コンピュータ本体32の機能および自動試験装置40の機能も、画面キャプチャ装置20と同様に、処理回路21Aおよび記憶装置22によって実現されてもよく、あるいは、処理回路21Bによって実現されてもよい。 In addition, the functions of the computer main body 32 and the functions of the automatic test equipment 40 may be realized by the processing circuit 21A and the memory device 22, similar to the screen capture device 20, or may be realized by the processing circuit 21B.

以上のように、本開示は詳細に説明されたが、上記した説明は、すべての局面において、例示であって、限定的なものではない。例示されていない無数の変形例が想定され得るものと解される。As mentioned above, the present disclosure has been described in detail, but the above description is illustrative in all respects and is not limiting. It is understood that countless variations not illustrated can be envisioned.

また、矛盾が生じない限り、以上に記載された実施の形態において「1つ」備えられるものとして記載された構成要素は、「1つ以上」備えられていてもよいものとする。 Furthermore, unless a contradiction arises, any component described in the above embodiments as being provided in "one" quantity may be provided in "one or more" quantities.

さらに、以上に記載された実施の形態におけるそれぞれの構成要素は概念的な単位であって、本願明細書に開示される技術の範囲内には、1つの構成要素が複数の構造物から成る場合と、1つの構成要素がある構造物の一部に対応する場合と、さらには、複数の構成要素が1つの構造物に備えられる場合とを含むものとする。Furthermore, each component in the embodiments described above is a conceptual unit, and the scope of the technology disclosed in this specification includes cases where one component is made up of multiple structures, where one component corresponds to part of a structure, and even where multiple components are provided in one structure.

また、以上に記載された実施の形態におけるそれぞれの構成要素には、同一の機能を発揮する限り、他の構造または形状を有する構造物が含まれるものとする。 In addition, each component in the embodiments described above is intended to include structures having other structures or shapes so long as they perform the same function.

また、本願明細書における説明は、本技術に関連するすべての目的のために参照され、いずれも、従来技術であると認めるものではない。 Furthermore, the descriptions in this specification are incorporated by reference for all purposes related to the present technology, and none of them are admitted to be prior art.

また、以上に記載された実施の形態で記載されたそれぞれの構成要素は、ソフトウェアまたはファームウェアとしても、それと対応するハードウェアとしても想定され、その双方の概念において、それぞれの構成要素は「部」または「処理回路」(circuitry)などと称される。 Furthermore, each of the components described in the embodiments described above is envisioned as either software or firmware, or as corresponding hardware, and in both concepts, each component is referred to as a "part" or "processing circuit" (circuitry), etc.

また、本願明細書に開示される技術は、それぞれの構成要素が複数の装置に分散して備えられる場合、すなわち、システムのような態様であってもよいものとする。 In addition, the technology disclosed in this specification may take the form of a system in which each component is distributed across multiple devices.

1 画像取得部、2 特定部、31 ディスプレイ、33 スクロールバー、333 スクロールボックス、4 操作処理部、5 処理制御部、D1 表示画像データ、D31 第1スクロール画像データ、D32 第2スクロール画像データ。 1 Image acquisition unit, 2 Identification unit, 31 Display, 33 Scroll bar, 333 Scroll box, 4 Operation processing unit, 5 Processing control unit, D1 Display image data, D31 First scroll image data, D32 Second scroll image data.

Claims (6)

コンピュータ装置に接続され、前記コンピュータ装置のディスプレイに表示された表示画像データを取得する画面キャプチャ装置であって、
前記ディスプレイに表示された、表示元のデータの一部とスクロールバーとを含む前記表示画像データを取得する画像取得部と、
前記画像取得部によって取得された前記表示画像データと、予め設定された、前記スクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定する特定部と、
前記スクロールバーを操作して、前記ディスプレイに表示させる前記表示元のデータをスクロールさせるように前記コンピュータ装置に対して指示を与える操作処理部と、
前記特定部によって特定された前記スクロールバーの状態に基づいて前記操作処理部を制御して、前記表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させ、前記ディスプレイに表示された前記画像領域を含む前記表示画像データを、前記画像取得部に取得させる処理制御部と
を備え
前記スクロールバーのスクロールボックスは、前記スクロールバーの第1端と第2端との間で移動し、
前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、
前記処理制御部は、
前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、前記操作処理部を制御して、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる、画面キャプチャ装置。
A screen capture device that is connected to a computer device and captures display image data displayed on a display of the computer device,
an image acquisition unit that acquires the display image data including a part of the original data and a scroll bar, the display image data being displayed on the display;
a determination unit that determines a state of the scroll bar based on the display image data acquired by the image acquisition unit and preset scroll image data indicating the scroll bar;
an operation processing unit that operates the scroll bar to instruct the computer device to scroll the source data to be displayed on the display;
a processing control unit that controls the operation processing unit based on the state of the scroll bar identified by the identification unit to cause an undisplayed image area of the original data to be displayed on the display, and causes the image acquisition unit to acquire the display image data including the image area displayed on the display ;
a scroll box of the scroll bar moving between a first end and a second end of the scroll bar;
As the scroll image data, first scroll image data showing the scroll bar in a state where the scroll box is not positioned at the second end of the scroll bar is set in advance,
The processing control unit
A screen capture device that, when a first image similar to or matching the first scroll image data is detected from the display image data, controls the operation processing unit to move the scroll box toward the second end by one page or less, thereby displaying the undisplayed image area on the display .
ディスプレイに表示された、表示元のデータの一部とスクロールバーとを含む表示画像データを取得する画像取得部と、
前記画像取得部によって取得された前記表示画像データと、予め設定された、前記スクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定する特定部と、
前記スクロールバーを操作して、前記ディスプレイに表示させる前記表示元のデータをスクロールさせる操作処理部と、
前記特定部によって特定された前記スクロールバーの状態に基づいて前記操作処理部を制御して、前記表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させ、前記ディスプレイに表示された前記画像領域を含む前記表示画像データを、前記画像取得部に取得させる処理制御部と
を備え、
前記スクロールバーのスクロールボックスは、前記スクロールバーの第1端と第2端との間で移動し、
前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、
前記処理制御部は、
前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、前記操作処理部を制御して、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる、画面キャプチャ装置。
an image acquisition unit that acquires display image data including a part of the original data and a scroll bar, the display image data being displayed on the display;
a determination unit that determines a state of the scroll bar based on the display image data acquired by the image acquisition unit and preset scroll image data indicating the scroll bar;
an operation processing unit that operates the scroll bar to scroll the source data to be displayed on the display;
a processing control unit that controls the operation processing unit based on the state of the scroll bar identified by the identification unit to cause an undisplayed image area of the original data to be displayed on the display, and causes the image acquisition unit to acquire the display image data including the image area displayed on the display;
a scroll box of the scroll bar moving between a first end and a second end of the scroll bar;
As the scroll image data, first scroll image data showing the scroll bar in a state where the scroll box is not positioned at the second end of the scroll bar is set in advance,
The processing control unit
A screen capture device that, when a first image similar to or matching the first scroll image data is detected from the display image data, controls the operation processing unit to move the scroll box toward the second end by one page or less, thereby displaying the undisplayed image area on the display.
前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置した状態での前記スクロールバーを示す第2スクロール画像データが予め設定され、
前記処理制御部は、前記第2スクロール画像データに類似または一致する第2画像が前記表示画像データから検出されたときに、処理を終了する、請求項または請求項に記載の画面キャプチャ装置。
second scroll image data showing the scroll bar in a state where the scroll box is located at the second end of the scroll bar is preset as the scroll image data;
The screen capture device according to claim 1 or 2 , wherein the processing control unit terminates the processing when a second image similar to or matching the second scroll image data is detected from the display image data.
前記処理制御部は、前記第1画像も前記第2画像も前記表示画像データから検出されないときに、異常が生じたと判断する、請求項に記載の画面キャプチャ装置。 The screen capture device according to claim 3 , wherein the processing control unit determines that an abnormality has occurred when neither the first image nor the second image is detected from the display image data. コンピュータ装置に接続され、前記コンピュータ装置のディスプレイに表示された表示画像データを取得する画面キャプチャ装置による画面キャプチャ方法であって、
前記ディスプレイに表示された前記表示画像データを取得し、
取得された前記表示画像データと、予め設定された、前記ディスプレイに表示されるスクロールバーであって、前記スクロールバーの第1端と第2端との間で移動するスクロールボックスを含む前記スクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定し、
特定された前記スクロールバーの状態に基いて前記スクロールバーを操作する指示を前記コンピュータ装置に対して与え、表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させ、
前記ディスプレイに表示された前記画像領域を含む前記表示画像データを取得し、
前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、
前記画像領域を前記ディスプレイに表示させる際に、前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる、画面キャプチャ方法。
1. A screen capture method using a screen capture device that is connected to a computer device and acquires display image data displayed on a display of the computer device, comprising:
Acquire the display image data displayed on the display;
determining a state of the scroll bar based on the acquired display image data and preset scroll image data showing a scroll bar displayed on the display, the scroll bar including a scroll box moving between a first end and a second end of the scroll bar ;
giving an instruction to the computer device to operate the scroll bar based on the specified state of the scroll bar, and displaying an undisplayed image area of the source data on the display;
acquiring the display image data including the image area displayed on the display ;
As the scroll image data, first scroll image data showing the scroll bar in a state where the scroll box is not positioned at the second end of the scroll bar is set in advance,
A screen capture method in which, when the image area is displayed on the display, when a first image similar to or matching the first scroll image data is detected from the display image data, the scroll box is moved toward the second end by one page or less to display the undisplayed image area on the display.
ディスプレイに表示された表示画像データを取得する第1工程と、
取得された前記表示画像データと、予め設定された、前記ディスプレイに表示されるスクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定し、特定された前記スクロールバーの状態に基いて前記スクロールバーを操作して、表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させる第2工程と、
前記ディスプレイに表示された前記画像領域を含む前記表示画像データを取得する第3工程と
を備え、
前記スクロールバーのスクロールボックスは、前記スクロールバーの第1端と第2端との間で移動し、
前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第2端に位置していない状態での前記スクロールバーを示す第1スクロール画像データが予め設定され、
前記第2工程において、
前記第1スクロール画像データに類似または一致する第1画像が前記表示画像データから検出されたときに、1ページ以下で前記スクロールボックスを前記第2端側に移動させて、未表示の前記画像領域を前記ディスプレイに表示させる、画面キャプチャ方法。
A first step of acquiring display image data displayed on a display;
a second step of specifying a state of the scroll bar based on the acquired display image data and preset scroll image data indicating a scroll bar to be displayed on the display, and manipulating the scroll bar based on the specified state of the scroll bar to display an image area of the original data that has not been displayed on the display;
and a third step of acquiring the display image data including the image area displayed on the display,
a scroll box of the scroll bar moving between a first end and a second end of the scroll bar;
As the scroll image data, first scroll image data showing the scroll bar in a state where the scroll box is not positioned at the second end of the scroll bar is set in advance,
In the second step,
A screen capture method, when a first image similar to or matching the first scroll image data is detected from the display image data, moving the scroll box toward the second end by one page or less to display the undisplayed image area on the display.
JP2022563271A 2020-11-17 2020-11-17 Screen capture device and screen capture method Active JP7520143B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/042789 WO2022107203A1 (en) 2020-11-17 2020-11-17 Screen capture device, and screen capture method

Publications (3)

Publication Number Publication Date
JPWO2022107203A1 JPWO2022107203A1 (en) 2022-05-27
JPWO2022107203A5 JPWO2022107203A5 (en) 2023-03-01
JP7520143B2 true JP7520143B2 (en) 2024-07-22

Family

ID=81708475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022563271A Active JP7520143B2 (en) 2020-11-17 2020-11-17 Screen capture device and screen capture method

Country Status (2)

Country Link
JP (1) JP7520143B2 (en)
WO (1) WO2022107203A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20250116969A (en) * 2024-01-26 2025-08-04 주식회사 지엠디소프트 Method and device for automatically scrolling and capturing a dialogue box running on an android-based portable terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005266954A (en) 2004-03-16 2005-09-29 Hitachi Software Eng Co Ltd Operation information recording/reproduction apparatus
JP2011076152A (en) 2009-09-29 2011-04-14 Hitachi Solutions Ltd Capture system
US20120221946A1 (en) 2011-01-28 2012-08-30 International Business Machines Corporation Screen Capture
JP2014038451A (en) 2012-08-15 2014-02-27 Nomura Research Institute Ltd Testing device and computer program
JP2015049520A (en) 2013-08-29 2015-03-16 富士通株式会社 Scenario generation program, scenario execution program, scenario generation method, scenario execution method, scenario generation apparatus, and scenario execution apparatus
JP2017215783A (en) 2016-05-31 2017-12-07 住友セメントシステム開発株式会社 Test device and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005266954A (en) 2004-03-16 2005-09-29 Hitachi Software Eng Co Ltd Operation information recording/reproduction apparatus
JP2011076152A (en) 2009-09-29 2011-04-14 Hitachi Solutions Ltd Capture system
US20120221946A1 (en) 2011-01-28 2012-08-30 International Business Machines Corporation Screen Capture
JP2014038451A (en) 2012-08-15 2014-02-27 Nomura Research Institute Ltd Testing device and computer program
JP2015049520A (en) 2013-08-29 2015-03-16 富士通株式会社 Scenario generation program, scenario execution program, scenario generation method, scenario execution method, scenario generation apparatus, and scenario execution apparatus
JP2017215783A (en) 2016-05-31 2017-12-07 住友セメントシステム開発株式会社 Test device and program

Also Published As

Publication number Publication date
JPWO2022107203A1 (en) 2022-05-27
WO2022107203A1 (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US10956291B2 (en) Method, computer apparatus, and user interface for performing automatic test upon storage devices
JP6135239B2 (en) Image processing apparatus, image processing program, and image processing method
CN111052018B (en) Servo motor adjusting device and servo motor adjusting method
CN101021765A (en) Apparatus and method for managing layout of a window
JP2009500884A (en) Method and device for managing digital media files
CN101464773A (en) Method and computer system for displaying program execution window according to user position
US8947464B2 (en) Display control apparatus, display control method, and non-transitory computer readable storage medium
KR20140120370A (en) Area designating method and area designating device
WO2018198703A1 (en) Display device
US10684772B2 (en) Document viewing apparatus and program
JP2012103786A (en) Test support device, control method, and program
JP7520143B2 (en) Screen capture device and screen capture method
WO2021010069A1 (en) Screen image transition information generation device, screen image transition information generation method, screen image transition information generation program, and screen image transition information generation system
US12482135B2 (en) Camera calibration method and apparatus, computer device, storage medium, and program product
TWI566164B (en) Mobile application method, system and mobile device of application function interface
WO2015063847A1 (en) Programmable display apparatus and program
US20200057549A1 (en) Analysis device equipped with touch panel device, method for display control thereof, and program
JPWO2015129245A1 (en) Information processing apparatus, information display method, and program
US12361533B2 (en) Image processing apparatus and image processing method
US20240185628A1 (en) Client terminal, control method for client terminal, and storage medium
US20240129443A1 (en) Display method, projector, and non-transitory computer-readable storage medium storing program
US11614824B2 (en) System and method to measure latency in displaying a key tap event
US20110279362A1 (en) Display device and display method
TWI904803B (en) Handheld electronic device and method for opening operation interface of application
JPH02139625A (en) Screen display system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221212

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240402

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240709

R150 Certificate of patent or registration of utility model

Ref document number: 7520143

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150