JP7520143B2 - Screen capture device and screen capture method - Google Patents
Screen capture device and screen capture method Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling 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.
しかしながら、特許文献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.
以下、添付される図面を参照しながら実施の形態について説明する。以下の実施の形態では、技術の説明のために詳細な特徴なども示されるが、それらは例示であり、実施の形態が実施可能となるためにそれらすべてが必ずしも必須の特徴ではない。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
図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
コンピュータ本体32は種々の演算処理を行う機能を有している。例えば、コンピュータ本体32は、ユーザによる入力デバイス(例えばマウスおよびキーボード)への入力に応じて処理を行う。コンピュータ本体32はその処理の結果をディスプレイ31に表示させることができる。例えばコンピュータ本体32は、処理の結果を反映した表示画像データD1を生成し、当該表示画像データD1をディスプレイ31に出力する。これにより、ディスプレイ31の表示画面31aには、処理を反映した表示画像データD1が表示される。また、コンピュータ本体32は、表示画面31aに表示された表示画像データD1のコピーデータを記憶する機能も有している。The computer
図1の例では、画面キャプチャ装置20は自動試験装置40にも電気的に接続される。自動試験装置40は、動作試験を自動的に行うための装置である。ここでいう試験とは、例えば、所定の部品の動作の適否を判断するための試験である。所定の部品はソフトウェアを含み得る。当該ソフトウェアは例えばコンピュータ本体32にインストールされて、コンピュータ本体32によって実行され得る。In the example of FIG. 1, the screen capture device 20 is also electrically connected to an
自動試験装置40には、試験の手順を示した手順データ50が入力される。例えば手順データ50は試験の手順を規定したスクリプトであり、所定のプログラム言語で規定され得る。自動試験装置40は、入力された手順データ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
自動試験装置40は手順データ50に規定された各ステップを上側から順に実行する。具体的には、自動試験装置40は、コンピュータ本体32にボタンA,Bのクリックをこの順で指示する。なお、自動試験装置40は画面キャプチャ装置20を経由してコンピュータ本体32に指示を出力してもよく、あるいは、直接にコンピュータ本体32に指示を出力してもよい。The
コンピュータ本体32は当該指示に応じてボタンAをクリックした後にボタンBをクリックする。つまり、コンピュータ本体32はボタンAに応じた処理およびボタンBに応じた処理をこの順で実行し、その結果を反映した表示画像データD1を順に生成する。コンピュータ本体32はそれらの表示画像データD1をディスプレイ31に順に表示させる。最新の表示画像データD1には、ボタンA,Bのクリックの両方の結果が含まれるので、ディスプレイ31の表示画面31aには、ボタンA,Bのクリックに対する処理結果が表示される。In response to this instruction, the computer
自動試験装置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
このような手順51による試験によれば、ボタンA,Bのクリックに対する処理結果を含む表示画像データD1をエビデンスとして記憶することができる。
By testing using
手順52においては、「テスト」のキーボード入力、「OK」ボタンに対するクリックおよび画面キャプチャが上側から下側にこの順で規定されている。「OK」ボタンは、コンピュータ本体32がソフトウェアを実行することによって表示画面31aに表示されたソフトウェアキーである。「OK」ボタンがクリックされることで、「OK」ボタンに応じて表示画面31aの表示内容が変化する。In
自動試験装置40が、手順データ50に規定された手順52を実行することにより、コンピュータ本体32は「テスト」の文字入力に応じた処理を行った後に、「OK」ボタンのクリックに応じた処理を行う。コンピュータ本体32はこれらの処理結果を反映した表示画像データD1を順に生成し、ディスプレイ31に順に出力する。ディスプレイ31は表示画像データD1を順に表示画面31aに表示させる。
When the
自動試験装置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
このような手順52による試験によれば、最新の表示画像データD1には、「テスト」のキーボード入力および「OK」ボタンのクリックに対する処理結果が含まれる。よって、「テスト」のキーボード入力および「OK」ボタンのクリックに対する処理結果を含む表示画像データD1をエビデンスとして記憶することができる。According to such a
なお、ディスプレイ31の表示画面31aには、後述のようにスクロールバー付きのウィンドウが表示され得る。この場合、当該ウィンドウ内には、表示元の情報の一部のみが表示され、当該ウィンドウにおいて画像をスクロールすることにより、情報の残りの部分を表示させる。よってこの場合、必要な情報を適切に取得するには、画像をスクロールしつつ表示画像をキャプチャする必要がある。
Note that a window with a scroll bar may be displayed on the
図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
画像取得部1は、コンピュータ本体32から表示画像データD1を取得する。画像取得部1は表示画像データD1を非一時的な不揮発性記憶部に記憶させてもよい。画像取得部1は、ディスプレイ31の表示画面31aに表示された表示画像をキャプチャする、ともいえる。The image acquisition unit 1 acquires display image data D1 from the computer
図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
スクロールバー33は、その上端(第1端に相当)を示す要素331と、その下端(第2端に相当)を示す要素332と、スクロールボックス333とを含んでいる。スクロールボックス333はスクロールバー33の上端と下端との間で縦方向に移動可能である。スクロールボックス333は、つまみ、バルブ、サム、スクローラーまたはスクロールサムとも呼ばれ得る。
ディスプレイ31は表示元のデータD2の一部をスクロールバー33とともに表示画面31aに表示する。ここで、表示元のデータD2と、スクロールバー33におけるスクロールボックス333の位置について述べる。図4から図6は、スクロールボックス333の位置と、表示元のデータD2のうちディスプレイ31に表示される画像領域(ここでは第2ウィンドウ35)の位置との関係の一例を概略的に示す図である。The
図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
以上のように、スクロールバー33におけるスクロールボックス333の位置は、表示元のデータD2のうち第2ウィンドウ35に表示された画像領域を示す。逆に言えば、スクロールバー33の状態を特定できれば、表示元のデータD2のうち第2ウィンドウ35に表示された画像領域を特定することができる。ここで、スクロールバー33の状態は、スクロールバー33におけるスクロールボックス333の位置および大きさを含み得る。As described above, the position of the
そこで、表示画面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
スクロール画像データとしては、例えば、スクロールボックス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
図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
特定部2は、画像取得部1によって取得された表示画像データD1におけるスクロールバー33の状態を、記憶部10に記憶されたスクロール画像データと、表示画像データD1とに基づいて特定する。具体的には、特定部2は第1スクロール画像データD31および第2スクロール画像データD32を記憶部10から取得する。そして、特定部2は表示画像データD1から第1スクロール画像データD31または第2スクロール画像データD32を検出できるかどうかを判断する。The
例えば、特定部2は表示画像データD1と第1スクロール画像データD31とのテンプレートマッチングを行う。図7および図8に例示するように、第1スクロール画像データD31が複数種類存在する場合には、各第1スクロール画像データD31についてテンプレートマッチングを行うとよい。各第1スクロール画像データD31に類似または一致する第1画像が表示画像データD1に含まれているときには、当該テンプレートマッチングによって当該第1画像が検出される。この場合、表示画面31aに表示されたスクロールバー33において、スクロールボックス333は下端位置よりも上側に位置している。For example, the
また、特定部2は、表示画像データD1と第2スクロール画像データD32とのテンプレートマッチングも行う。第2スクロール画像データD32に類似または一致する第2画像が表示画像データD1に含まれているときには、当該テンプレートマッチングによって当該第2画像が検出される。この場合、表示画面31aに表示されたスクロールバー33において、スクロールボックス333は下端位置に位置している。The
画像位置取得部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
操作処理部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
操作処理部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
処理制御部5は、画面キャプチャ装置20の全体を統括的に処理する。例えば、処理制御部5は、画像取得部1、特定部2、画像位置取得部3および操作処理部4に各種の指示を出力し、また、画像取得部1、特定部2、画像位置取得部3および操作処理部4から各種の情報を受け取る。The
図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
画面キャプチャの指示を受け取ったときには、ステップ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
次にステップS3にて、処理制御部5は、第1スクロール画像データD31に類似または一致する第1画像が表示画像データD1から検出されたか否かの判断を、特定部2に行わせる。具体的には、特定部2は、画像取得部1によって取得された表示画像データD1と、記憶部10に記憶された第1スクロール画像データD31とのテンプレートマッチングを行う。複数種類の第1スクロール画像データD31が記憶部10に記憶されている場合には、特定部2は第1スクロール画像データD31ごとにテンプレートマッチングを行う。Next, in step S3, the
いずれかの第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
ページダウン操作は、例えば、スクロールバー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
次に処理制御部5はステップS2を再び実行する。つまり、表示元のデータD2のうち未表示だった画像領域が、ステップS4のスクロール操作によって第2ウィンドウ35に表示されるので、その表示内容を取得すべく、ステップS2にて、画像取得部1が、表示画面31aに表示されている表示画像データD1を取得する。なお、ステップS2にて表示中の表示画像データD1は、コンピュータ本体32または画像取得部1によってエビデンスとして不揮発性記憶部に記憶される。Next, the
ステップ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
一方で、ステップ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
表示画像データD1から第2画像が検出されたときには、スクロールボックス333は下端位置に位置しているので、処理を終了する。つまり、スクロールボックス333が下端位置に位置する場合には、以前のスクロール操作(ステップS4)によってデータD2の画像領域が表示画面31aに順次に表示され、そのスクロール操作ごとに表示画像データD1が取得されて不揮発性記憶部に記憶される。これにより、表示元のデータD2の全画像領域を複数の表示画像データD1に分割して取得したことになる。つまり、エビデンスを十分に取得したので、処理を終了する。When the second image is detected from the display image data D1, the
ステップ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
以上のように、本実施の形態では、表示画像データD1と、予め設定されたスクロール画像データとに基づいて、スクロールバー33の状態を特定し、そのスクロールバー33の状態に基づいてスクロール操作および表示画面のキャプチャを行う。このような処理によれば、表示元のデータD2のサイズ情報を取得する必要がない。言い換えれば、表示元のデータD2のサイズ情報を取得する手法とは別の手法により、スクロール操作の必要性を判断することができ、ひいては、表示元のデータD2の全画像領域を複数の表示画像データD1に分割して取得することができる。よって、画面キャプチャ装置20はデータD2のデータフォーマットに対応した処理を行う必要がなく、画面キャプチャ装置20の導入が容易になる。As described above, in this embodiment, the state of the
また上述の例では、スクロールが必要と判断するたびに、スクロールボックス333を上端から下端に1ページ以下で移動させ(ステップS4)、その都度、表示画像をキャプチャする。よって、本実施の形態によれば、表示元のデータD2の各画像領域を上側から順にキャプチャすることができる。言い換えれば、各画像領域を上側から順に表示画像データD1として取得することができる。Also, in the above example, each time it is determined that scrolling is necessary, the
このようなスクロール順によれば、スクロールボックス333が未だ下端位置に位置していないときには、表示元のデータD2には未取得の画像領域が含まれていることになる。
With this scroll order, when the
そこで、画面キャプチャ装置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
また上述のスクロール順によれば、スクロールボックス333が下端位置に位置したときには、表示元のデータD2の各画像領域の全てをキャプチャしたことになる。
Also, according to the above-mentioned scrolling order, when the
そこで、画面キャプチャ装置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
また上述の例では、処理制御部5は、テンプレートマッチングによって表示画像データD1から第1画像および第2画像の両方を検出できないときには、異常が生じたと判断する。したがって、処理制御部5はエラー処理を適切なタイミングで行うことができる。処理制御部5はエラー処理として、例えば、異常が生じたことをディスプレイ31に表示させる。
In the above example, the
なお、上述の例では、スクロールバー33は縦方向のスクロールバーであるものの、横方向のスクロールバーであってもよい。
Note that in the above example,
次に、画面キャプチャ装置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
記憶装置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
処理回路21Aは、記憶装置22、外部のCD-ROM、外部のDVD-ROM、または、外部のフラッシュメモリなどに格納されたプログラムを実行するものであってもよい。すなわち、たとえば、中央演算処理装置(central processing unit、すなわち、CPU)、マイクロプロセッサ、マイクロコンピュータ、デジタルシグナルプロセッサ(digital signal processor、すなわち、DSP)であってもよい。The
処理回路21Aが記憶装置22、外部のCD-ROM、外部のDVD-ROM、または、外部のフラッシュメモリなどに格納されたプログラムを実行するものである場合、画像取得部1と、特定部2と、画像位置取得部3と、操作処理部4と、処理制御部5は、記憶装置22に格納されたプログラムが処理回路21Aによって実行されるソフトウェア、ファームウェアまたはソフトウェアとファームウェアとの組み合わせにより実現される。なお、画像取得部1と、特定部2と、画像位置取得部3と、操作処理部4と、処理制御部5の機能は、たとえば、複数の処理回路が連携することによって実現されてもよい。
When the
ソフトウェアおよびファームウェアはプログラムとして記述され、記憶装置22に記憶されるものであってもよい。その場合、処理回路21Aは、記憶装置22に格納されたプログラムを読み出して実行することによって、上記の機能を実現する。すなわち、記憶装置22は、処理回路21Aに実行されることによって、上記の機能が結果的に実現されるプログラムを記憶するものであってもよい。The software and firmware may be written as a program and stored in the
また、処理回路21Bは、専用のハードウェアであってもよい。すなわち、処理回路21Bは、たとえば、単一回路、複合回路、プログラム化されたプロセッサ、並列プログラム化されたプロセッサ、集積回路(application specific integrated circuit、すなわち、ASIC)、field-programmable gate array(FPGA)またはこれらを組み合わせた回路であってもよい。
処理回路21Bが専用のハードウェアである場合、画像取得部1、特定部2、画像位置取得部3、操作処理部4および処理制御部5は、処理回路21Bが動作することにより実現される。なお、画像取得部1、特定部2、画像位置取得部3、操作処理部4および処理制御部5の機能は、別々の回路で実現されてもよいし、単一の回路で実現されてもよい。When the
なお、画像取得部1、特定部2、画像位置取得部3、操作処理部4および処理制御部5の機能は、一部が記憶装置22に格納されたプログラムを実行するものである処理回路21Aにおいて実現され、一部が専用のハードウェアである処理回路21Bにおいて実現されてもよい。
The functions of the image acquisition unit 1, the
また、コンピュータ本体32の機能および自動試験装置40の機能も、画面キャプチャ装置20と同様に、処理回路21Aおよび記憶装置22によって実現されてもよく、あるいは、処理回路21Bによって実現されてもよい。
In addition, the functions of the computer
以上のように、本開示は詳細に説明されたが、上記した説明は、すべての局面において、例示であって、限定的なものではない。例示されていない無数の変形例が想定され得るものと解される。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画像が前記表示画像データから検出されたときに、処理を終了する、請求項1または請求項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端との間で移動するスクロールボックスを含む前記スクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定し、
特定された前記スクロールバーの状態に基いて前記スクロールバーを操作する指示を前記コンピュータ装置に対して与え、表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させ、
前記ディスプレイに表示された前記画像領域を含む前記表示画像データを取得し、
前記スクロール画像データとして、前記スクロールボックスが前記スクロールバーの前記第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.
取得された前記表示画像データと、予め設定された、前記ディスプレイに表示されるスクロールバーを示すスクロール画像データとに基づいて、前記スクロールバーの状態を特定し、特定された前記スクロールバーの状態に基いて前記スクロールバーを操作して、表示元のデータのうち未表示の画像領域を前記ディスプレイに表示させる第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.
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)
| 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)
| 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 |
-
2020
- 2020-11-17 JP JP2022563271A patent/JP7520143B2/en active Active
- 2020-11-17 WO PCT/JP2020/042789 patent/WO2022107203A1/en not_active Ceased
Patent Citations (6)
| 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 |