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
JP6303591B2 - Control program, control method, and control apparatus - Google Patents
[go: Go Back, main page]

JP6303591B2 - Control program, control method, and control apparatus - Google Patents

Control program, control method, and control apparatus Download PDF

Info

Publication number
JP6303591B2
JP6303591B2 JP2014033949A JP2014033949A JP6303591B2 JP 6303591 B2 JP6303591 B2 JP 6303591B2 JP 2014033949 A JP2014033949 A JP 2014033949A JP 2014033949 A JP2014033949 A JP 2014033949A JP 6303591 B2 JP6303591 B2 JP 6303591B2
Authority
JP
Japan
Prior art keywords
screen
unit
input
keyword
data
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.)
Expired - Fee Related
Application number
JP2014033949A
Other languages
Japanese (ja)
Other versions
JP2015158842A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2014033949A priority Critical patent/JP6303591B2/en
Publication of JP2015158842A publication Critical patent/JP2015158842A/en
Application granted granted Critical
Publication of JP6303591B2 publication Critical patent/JP6303591B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、制御プログラム等に関する。   The present invention relates to a control program and the like.

Web(World Wide Web)システム等のアプリケーションソフトウェアを開発する際に、テスト段階において、アプリケーションソフトウェアによる処理結果となる出力画面が、仕様通りの状態となっているか否かを確認する作業が行われる。例えば、アプリケーションソフトウェアにより出力される画面をキャプチャする従来技術を利用することで、確認対象となる画面の情報を記録することができる。以下の説明において、アプリケーションソフトウェアを単に、アプリと表記する。   When developing application software such as a Web (World Wide Web) system, an operation for confirming whether or not an output screen as a result of processing by the application software is in a specification state is performed in a test stage. For example, it is possible to record information on a screen to be confirmed by using a conventional technique for capturing a screen output by application software. In the following description, application software is simply referred to as an application.

特開2011−76152号公報JP 2011-76152 A

しかしながら、上述した従来技術では、アプリが正しくテストされ確認がなされたことの証拠資料を生成することができないという問題がある。   However, the above-described conventional technique has a problem in that it is not possible to generate evidence that the application has been correctly tested and confirmed.

証拠資料を納品先に提出する場合には、画面の見た目が仕様通りになっていることはもちろんのこと、その画面に対する利用者の操作入力によって実行された処理が正しくデータベースに反映されたことを示すことが望ましい。   When submitting documentation to the delivery destination, not only the appearance of the screen is as specified, but also that the processing executed by the user's operation input on the screen is correctly reflected in the database. It is desirable to show.

このため、例えば、画面遷移と画面遷移に伴うデータベース内のデータの変更履歴とを、実際に遷移/変更された順序の通りに記憶することで、証拠資料を作成することが考えられる。しかし、証拠資料となるデータをデータベースから取得するべく、利用者がSQL(Structured Query Language)文を手入力することになるが、SQL文を誤った内容にしてしまう場合がある。誤った内容のSQL文では、当然ながら所望のデータをデータベースから取得できないため、証拠資料として利用できない。   For this reason, for example, it is conceivable to create the evidence material by storing the screen transition and the change history of the data in the database accompanying the screen transition in the actual transition / change order. However, a user manually inputs a SQL (Structured Query Language) sentence in order to obtain data as evidence data from the database, but the SQL sentence may be erroneously included. An SQL sentence with an incorrect content cannot be used as evidence material because desired data cannot be acquired from the database.

1つの側面では、アプリが正しくテストされ確認がなされたことの証拠資料を生成することができる制御プログラム、制御方法および制御装置を提供することを目的とする。   In one aspect, an object of the present invention is to provide a control program, a control method, and a control device that can generate evidence that an application has been correctly tested and confirmed.

第1の案では、コンピュータに下記の処理を実行させる。コンピュータに、キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照する処理を実行させる。コンピュータに、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出する処理を実行させる。コンピュータに、第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出す処理を実行させる。コンピュータに、第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する処理を実行させる。   In the first plan, the computer executes the following processing. A computer is caused to execute a process of referring to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other. The computer is caused to execute a process of detecting that the first keyword stored in the storage unit is included in the first screen output to the display unit of the computer by the application software. The computer is caused to execute a process of reading the first request command stored in the storage unit in association with the first keyword. The computer causes the image data of the first screen to be recorded and the process of recording the data acquired by the first request command from the database.

本発明の1実施態様によれば、アプリが正しくテストされ確認がなされたことの証拠資料を生成することができるという効果を奏する。   According to one embodiment of the present invention, there is an effect that it is possible to generate evidence material that an application has been correctly tested and confirmed.

図1は、本実施例に係るシステムの構成を示す図である。FIG. 1 is a diagram illustrating a configuration of a system according to the present embodiment. 図2は、入力支援DBのデータ構造の一例を示す図である。FIG. 2 is a diagram illustrating an example of the data structure of the input support DB. 図3は、本実施例に係る端末装置の構成を示す図である。FIG. 3 is a diagram illustrating the configuration of the terminal device according to the present embodiment. 図4は、エビデンス情報のデータ構造の一例を示す図(1)である。FIG. 4 is a diagram (1) illustrating an example of a data structure of evidence information. 図5は、エビデンス情報のデータ構造の一例を示す図(2)である。FIG. 5 is a diagram (2) illustrating an example of a data structure of evidence information. 図6は、エビデンス情報生成部が表示させる入力画面の一例を示す図である。FIG. 6 is a diagram illustrating an example of an input screen displayed by the evidence information generation unit. 図7は、検出部が表示させる表示画面の一例を示す図である。FIG. 7 is a diagram illustrating an example of a display screen displayed by the detection unit. 図8は、設定部の処理を説明するための図である。FIG. 8 is a diagram for explaining the processing of the setting unit. 図9は、本実施例に係る端末装置の処理手順を示すフローチャートである。FIG. 9 is a flowchart illustrating the processing procedure of the terminal device according to the present embodiment. 図10は、エビデンス取得処理の処理手順を示すフローチャートである。FIG. 10 is a flowchart showing a processing procedure of evidence acquisition processing. 図11は、DBエビデンス提案取得処理の処理手順を示すフローチャートである。FIG. 11 is a flowchart illustrating a processing procedure of DB evidence proposal acquisition processing. 図12は、DBエビデンス取得処理の処理手順を示すフローチャートである。FIG. 12 is a flowchart illustrating a processing procedure of DB evidence acquisition processing. 図13は、制御プログラムを実行するコンピュータの一例を示す図である。FIG. 13 is a diagram illustrating an example of a computer that executes a control program.

以下に、本願の開示する制御プログラム、制御方法および制御装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。   Embodiments of a control program, a control method, and a control device disclosed in the present application will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

図1は、本実施例に係るシステムの構成を示す図である。図1に示すように、このシステムは、Webシステム50と、入力支援サーバ60と、端末装置100a,100b,100cを有する。以下の説明では、端末装置100a,100b,100cをまとめて、適宜、端末装置100と表記する。Webシステム50と、入力支援サーバ60と、端末装置100a〜100cは、ネットワーク70を介して相互に接続される。   FIG. 1 is a diagram illustrating a configuration of a system according to the present embodiment. As shown in FIG. 1, this system includes a Web system 50, an input support server 60, and terminal devices 100a, 100b, and 100c. In the following description, the terminal devices 100a, 100b, and 100c are collectively referred to as the terminal device 100 as appropriate. The Web system 50, the input support server 60, and the terminal devices 100a to 100c are connected to each other via the network 70.

Webシステム50は、Webサーバ51と、DBMS(DataBase Management System)52と、公開DB53と、DB54とを含む。   The web system 50 includes a web server 51, a DBMS (DataBase Management System) 52, a public DB 53, and a DB 54.

Webサーバ51は、アプリケーションソフトウェアを起動し、端末装置100からの要求に応答する装置である。   The web server 51 is a device that activates application software and responds to a request from the terminal device 100.

Webサーバ51は、DBMS52と協働して、端末装置100で動作するブラウザからの要求に応答する。Webサーバ51は、HTML(Hyper Text Markup Language)で記述されたコンテンツや画像データをHTTP(Hyper Text Transfer Protocol)によって端末装置100に提供する。   The Web server 51 responds to a request from a browser operating on the terminal device 100 in cooperation with the DBMS 52. The Web server 51 provides content and image data described in HTML (Hyper Text Markup Language) to the terminal device 100 using HTTP (Hyper Text Transfer Protocol).

DBMS52は、公開DB53、DB54を管理する。DBMS52は、Webサーバ51や端末装置100からのデータ要求に応じて、公開DB53、DB54に格納されたデータを送信する。なお、DBMS52は、公開DB53に、端末装置100に公開するデータを格納し、非公開のデータをDB54に格納してもよい。   The DBMS 52 manages the public DB 53 and DB 54. The DBMS 52 transmits data stored in the public DB 53 and the DB 54 in response to a data request from the Web server 51 or the terminal device 100. The DBMS 52 may store data disclosed to the terminal device 100 in the public DB 53 and store non-public data in the DB 54.

入力支援サーバ60は、入力支援DB61を有する装置である。入力支援DB61は、端末装置100の利用者が、Webシステム50で動作するアプリをテストする際に入力するSQL文の候補を保持する。入力支援サーバ60は、端末装置100からの要求に応じて、入力支援DB61の情報を端末装置100に通知する。   The input support server 60 is a device having an input support DB 61. The input support DB 61 holds SQL sentence candidates that are input when the user of the terminal device 100 tests an application running on the Web system 50. The input support server 60 notifies the terminal device 100 of information in the input support DB 61 in response to a request from the terminal device 100.

図2は、入力支援DBのデータ構造の一例を示す図である。図2に示すように、この入力支援DB61は、関連キーワードと、SQL文と、適用回数とを対応付ける。関連キーワードは、例えば、アプリによって表示される画面に含まれるキーワードに対応する。SQL文は、DBMS52にデータ要求を行う文である。DBMS52は、SQL文を受け付けた場合に、SQL文に指定されるデータを要求元に送信する。適用回数は、SQL文の適用回数である。入力支援DB61を用いた処理は、後述する。   FIG. 2 is a diagram illustrating an example of the data structure of the input support DB. As shown in FIG. 2, the input support DB 61 associates related keywords, SQL sentences, and the number of applications. The related keyword corresponds to, for example, a keyword included in a screen displayed by the application. The SQL statement is a statement for making a data request to the DBMS 52. When the DBMS 52 receives the SQL statement, the DBMS 52 transmits the data specified in the SQL statement to the request source. The number of times of application is the number of times of application of the SQL sentence. Processing using the input support DB 61 will be described later.

端末装置100は、Webシステム50上で動作するアプリをテストする装置である。端末装置100は、ブラウザを起動してWebサーバ51にアクセスし、ブラウザ上に表示される画面のイメージデータと、この画面に対する操作入力に基づいて生成されるデータを取得して記録する。   The terminal device 100 is a device that tests an application that operates on the Web system 50. The terminal device 100 starts a browser, accesses the Web server 51, acquires and records image data of a screen displayed on the browser and data generated based on an operation input on the screen.

端末装置100は、記録した画面のイメージデータと、処理の結果であるデータとを取得した順に並べたエビデンス情報を生成する。このエビデンス情報は、アプリが正しくテストされ確認がなされたことの証拠資料となる。   The terminal device 100 generates evidence information in which the recorded screen image data and the processing result data are arranged in the order of acquisition. This evidence information provides evidence that the app has been properly tested and verified.

図3は、本実施例に係る端末装置の構成を示す図である。図3に示すように、この端末装置100は、通信部110と、入力部120と、表示部130と、記憶部140と、制御部150とを有する。   FIG. 3 is a diagram illustrating the configuration of the terminal device according to the present embodiment. As illustrated in FIG. 3, the terminal device 100 includes a communication unit 110, an input unit 120, a display unit 130, a storage unit 140, and a control unit 150.

通信部110は、ネットワーク70を介して、Webシステム50および入力支援サーバ60とデータ通信を実行する処理部である。例えば、通信部110は、通信カードや通信装置に対応する。後述する制御部150は、通信部110を介して、Webシステム50および入力支援サーバ60とデータをやりとりする。   The communication unit 110 is a processing unit that performs data communication with the Web system 50 and the input support server 60 via the network 70. For example, the communication unit 110 corresponds to a communication card or a communication device. The control unit 150 described later exchanges data with the Web system 50 and the input support server 60 via the communication unit 110.

入力部120は、各種の情報を端末装置100に入力するための入力装置である。例えば、入力部120は、キーボード、マウス、タッチパネル等に対応する。   The input unit 120 is an input device for inputting various types of information to the terminal device 100. For example, the input unit 120 corresponds to a keyboard, a mouse, a touch panel, and the like.

表示部130は、制御部150から出力される情報を表示する表示装置である。例えば、表示部130は、液晶ディスプレイやタッチパネル等に対応する。   The display unit 130 is a display device that displays information output from the control unit 150. For example, the display unit 130 corresponds to a liquid crystal display, a touch panel, or the like.

記憶部140は、エビデンス情報141を記憶する。例えば、記憶部140は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ(Flash Memory)などの半導体メモリ素子や、HDD(Hard Disk Drive)などの記憶装置に対応する。   The storage unit 140 stores evidence information 141. For example, the storage unit 140 corresponds to a semiconductor memory device such as a random access memory (RAM), a read only memory (ROM), and a flash memory, and a storage device such as a hard disk drive (HDD).

エビデンス情報141は、テスト対象となるアプリから出力される画面のイメージデータと、該画面に対する入力操作に基づいて実行された処理の結果であるデータとを順に保持するものである。以下の説明において、画面に対する入力操作に基づいて実行された処理の結果であるデータを、生成データと適宜表記する。   The evidence information 141 sequentially holds image data of a screen output from an application to be tested and data that is a result of processing executed based on an input operation on the screen. In the following description, data that is a result of processing executed based on an input operation on the screen is appropriately described as generated data.

図4および図5は、エビデンス情報のデータ構造の一例を示す図である。図4には、画面のイメージデータ20a,20b、生成データ21a、SQL文22aが含まれる。このSQL文22aは、生成データ21aをDBMS52から取得するための命令文である。図5には、画面のイメージデータ20c、20d、生成データ21b、SQL文22bが含まれる。SQL文22bは、生成データ21bをDBMS52から取得するための命令文である。   4 and 5 are diagrams illustrating an example of the data structure of the evidence information. FIG. 4 includes screen image data 20a and 20b, generation data 21a, and an SQL sentence 22a. The SQL statement 22 a is a command statement for acquiring the generation data 21 a from the DBMS 52. FIG. 5 includes screen image data 20c and 20d, generation data 21b, and an SQL sentence 22b. The SQL statement 22b is a command statement for acquiring the generated data 21b from the DBMS 52.

例えば、エビデンス情報141は、画面のイメージデータ20a、SQL文22a、生成データ21a、画面のイメージデータ20b,20c,20d、SQL文22b、生成データ21bの順に情報を保持する。   For example, the evidence information 141 holds information in the order of screen image data 20a, SQL statement 22a, generation data 21a, screen image data 20b, 20c, 20d, SQL statement 22b, and generation data 21b.

図4および図5に示したエビデンス情報141から証明される内容は、例えば、ブラウザに画面のイメージデータ20aが表示された時点の、SQL文22aにより指定された部分のデータは、生成データ21aとなっていることである。また、ブラウザに画面のイメージデータ20b,20c,20dが表示された後の、SQL文22bにより指定された部分のデータは、生成データ21bとなる。   The content proved from the evidence information 141 shown in FIGS. 4 and 5 is, for example, the data of the portion designated by the SQL sentence 22a at the time when the screen image data 20a is displayed on the browser, and the generated data 21a. It is that. Further, the data specified by the SQL sentence 22b after the screen image data 20b, 20c, 20d is displayed on the browser is generated data 21b.

図4および図5に示すエビデンス情報141は一例である。例えば、図4の画面のイメージデータ20bから、図5の画面のイメージデータ20cの間に、他の画面のイメージデータ、他の生成データ、他のSQL文が含まれていてもよい。   The evidence information 141 shown in FIGS. 4 and 5 is an example. For example, the image data 20b on the screen in FIG. 4 and the image data 20c on the screen in FIG. 5 may include image data on other screens, other generated data, and other SQL statements.

図3の説明に戻る。制御部150は、ブラウザ151およびエビデンス情報生成部152を有する。制御部150は、ASIC(Application Specific Integrated Circuit)や、FPGA(Field Programmable Gate Array)などの集積装置に対応する。また、制御部150は、例えば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等の電子回路に対応する。   Returning to the description of FIG. The control unit 150 includes a browser 151 and an evidence information generation unit 152. The control unit 150 corresponds to an integrated device such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The control unit 150 corresponds to an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit).

ブラウザ151は、Webサーバ51にアクセスして、HTMLファイルや画像データ、音声データ等をダウンロードし、レイアウトを解析してウインドウ画面を生成し、表示部130にウインドウ画面を表示させる。また、ブラウザ151は、入力フォームやボタン等をウインドウ画面上に表示させて、利用者からの操作入力を受け付け、受け付けた情報をWebサーバ51に送信する。   The browser 151 accesses the Web server 51, downloads an HTML file, image data, audio data, and the like, analyzes the layout, generates a window screen, and causes the display unit 130 to display the window screen. In addition, the browser 151 displays an input form, a button, or the like on the window screen, receives an operation input from the user, and transmits the received information to the Web server 51.

エビデンス情報生成部152は、エビデンス情報141を生成する処理部である。エビデンス情報生成部152は、イベント検知部152a、検出部152b、記録部152c、設定部152dを有する。   The evidence information generation unit 152 is a processing unit that generates evidence information 141. The evidence information generation unit 152 includes an event detection unit 152a, a detection unit 152b, a recording unit 152c, and a setting unit 152d.

例えば、エビデンス情報生成部152は、図6に示す入力画面30を表示部130に表示させる。図6は、エビデンス情報生成部が表示させる入力画面の一例を示す図である。例えば、入力画面30には、入力フォーム31、32,33と、出力先設定ボタン34、ブラウザ起動ボタン35、SQL発行ボタン36が含まれる。   For example, the evidence information generation unit 152 causes the display unit 130 to display the input screen 30 illustrated in FIG. FIG. 6 is a diagram illustrating an example of an input screen displayed by the evidence information generation unit. For example, the input screen 30 includes input forms 31, 32, and 33, an output destination setting button 34, a browser activation button 35, and an SQL issue button 36.

入力フォーム31は、エビデンス情報141の出力先を指定するフォームである。例えば、利用者は入力部120を操作して、入力フォーム31に出力先を入力し、出力先設定ボタン34を押下することで、出力先を確定する。   The input form 31 is a form for designating an output destination of the evidence information 141. For example, the user operates the input unit 120 to input an output destination in the input form 31 and presses the output destination setting button 34 to determine the output destination.

入力フォーム32は、SQL文を入力するフォームである。入力フォーム33は、関連キーワードを入力するフォームである。   The input form 32 is a form for inputting an SQL sentence. The input form 33 is a form for inputting related keywords.

ブラウザ起動ボタン35は、ブラウザ151の機動を指示するボタンである。例えば、利用者が入力部120を操作して、ブラウザ起動ボタン35を押下することで、ブラウザ151が起動する。   The browser activation button 35 is a button for instructing the operation of the browser 151. For example, when the user operates the input unit 120 and presses the browser activation button 35, the browser 151 is activated.

SQL発行ボタン36は、入力フォーム32に入力されたSQL文の情報を、DBMS52に発行することを指示するボタンである。エビデンス情報生成部152は、SQL発行ボタン36が押下された場合に、SQL文の情報を、DBMS52に送信し、SQL文の情報に対応するデータを、DBMS52から受信する。   The SQL issue button 36 is a button for instructing the DBMS 52 to issue information on the SQL sentence input to the input form 32. When the SQL issue button 36 is pressed, the evidence information generation unit 152 transmits information on the SQL sentence to the DBMS 52 and receives data corresponding to the information on the SQL sentence from the DBMS 52.

イベント検知部152aは、ブラウザ151によって表示される画面が切り替わるイベントを検知する処理部である。例えば、イベント検知部152aは、Windows(登録商標)等に備わっているイベント機能を利用して、画面の切り替わりを検知する。イベント検知部152aは、画面の切り替わりを検知した場合には、画面が切り替わった旨の情報を検出部152b、記録部152cに出力する。   The event detection unit 152a is a processing unit that detects an event in which a screen displayed by the browser 151 is switched. For example, the event detection unit 152a detects a screen change by using an event function provided in Windows (registered trademark) or the like. When the event detection unit 152a detects a screen change, the event detection unit 152a outputs information indicating that the screen is changed to the detection unit 152b and the recording unit 152c.

検出部152bは、画面のイメージデータをスキャンし、画面のイメージデータに含まれるキーワードを抽出する。例えば、検出部152bは、画面のイメージデータを表示するためのHTMLデータをスキャンして、キーワードを抽出する。なお検出部152bは、画面のイメージデータをスキャンし、画面のイメージデータに含まれるキーワードを抽出するだけでなく、画面のイメージデータを表示するためのHTMLデータの例えばタグ以外のテキストデータを検索して、キーワードを抽出してもよい。   The detecting unit 152b scans the screen image data and extracts keywords included in the screen image data. For example, the detection unit 152b scans HTML data for displaying image data on the screen and extracts keywords. The detection unit 152b scans the screen image data and extracts not only keywords included in the screen image data, but also searches text data other than tags, for example, HTML data for displaying the screen image data. Keywords may be extracted.

検出部152bは、入力支援サーバ60の入力支援DB61にアクセスし、抽出したキーワードと、入力支援DB61の関連キーワードとを比較し、キーワードと同一の関連キーワードにヒットするか否かを判定する。   The detection unit 152b accesses the input support DB 61 of the input support server 60, compares the extracted keyword and the related keyword of the input support DB 61, and determines whether or not the related keyword identical to the keyword is hit.

検出部152bは、キーワードと同一の関連キーワードにヒットした場合には、ヒットした関連キーワードに対応付けられたSQL文を、入力支援DB61から取得し、取得したSQL文を表示部130に表示させる。検出部152bは、複数の関連キーワードにヒットした場合には、複数の関連キーワードに対応付けられた複数のSQL文を表示部130に表示させる。検出部152bは、複数のSQL文を表示させる場合に、適用回数の多いSQL文を上位に優先的に表示させる。   When the detection unit 152b hits the same related keyword as the keyword, the detection unit 152b acquires the SQL sentence associated with the hit related keyword from the input support DB 61 and causes the display unit 130 to display the acquired SQL sentence. When a plurality of related keywords are hit, the detection unit 152b causes the display unit 130 to display a plurality of SQL sentences associated with the plurality of related keywords. When displaying a plurality of SQL sentences, the detection unit 152b preferentially displays the SQL sentence having a large number of application times.

図7は、検出部が表示させる表示画面の一例を示す図である。表示画面40には、ラジオボタン41a〜41eと、設定ボタン41を有する。図7に示す例では、検出部152bが、入力支援DB61からSQL文「select*from C」と、SQL文「select*from C2」を取得したものとする。また、SQL文「select*from C」の適用回数が、SQL文「select*from C2」の適用回数よりも多いものとする。利用者は、入力部120を操作して、いずれかのラジオボタン41a〜41eを選択し、設定ボタン41を押下することで、処理を確定する。   FIG. 7 is a diagram illustrating an example of a display screen displayed by the detection unit. The display screen 40 includes radio buttons 41 a to 41 e and a setting button 41. In the example illustrated in FIG. 7, it is assumed that the detection unit 152b acquires the SQL sentence “select * from C” and the SQL sentence “select * from C2” from the input support DB 61. Further, it is assumed that the SQL statement “select * from C” is applied more frequently than the SQL statement “select * from C2” is applied. The user operates the input unit 120 to select one of the radio buttons 41 a to 41 e and presses the setting button 41 to confirm the process.

検出部152bは、ラジオボタン41aが選択されている場合には、SQL文「select*from C」を、図6に示した入力画面30の入力フォーム32に自動入力する。検出部152bは、SQL発行ボタン36が押下されると、SQL文「select*from C」をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。   When the radio button 41a is selected, the detection unit 152b automatically inputs the SQL sentence “select * from C” on the input form 32 of the input screen 30 illustrated in FIG. When the SQL issue button 36 is pressed, the detection unit 152b outputs an SQL sentence “select * from C” to the DBMS 52. The detection unit 152b outputs the SQL sentence information and the response of the DBMS 52 to the SQL sentence information to the recording unit 152c.

また、検出部152bは、入力支援サーバ60の入力支援DB61にアクセスし、関連キーワードと、SQL文「select*from C」との組に対応する適用回数に1を加算する。   The detecting unit 152b accesses the input support DB 61 of the input support server 60, and adds 1 to the number of times of application corresponding to the set of the related keyword and the SQL sentence “select * from C”.

検出部152bは、ラジオボタン41bが選択されている場合には、SQL文「select*from C2」を、図6に示した入力画面30の入力フォーム32に自動入力する。検出部152bは、SQL発行ボタン36が押下されると、SQL文「select*from C2」をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。   When the radio button 41b is selected, the detection unit 152b automatically inputs the SQL sentence “select * from C2” on the input form 32 of the input screen 30 illustrated in FIG. When the SQL issue button 36 is pressed, the detection unit 152b outputs an SQL sentence “select * from C2” to the DBMS 52. The detection unit 152b outputs the SQL sentence information and the response of the DBMS 52 to the SQL sentence information to the recording unit 152c.

また、検出部152bは、入力支援サーバ60の入力支援DB61にアクセスし、関連キーワードと、SQL文「select*from C2」との組に対応する適用回数に1を加算する。   The detecting unit 152b accesses the input support DB 61 of the input support server 60, and adds 1 to the number of times of application corresponding to the set of the related keyword and the SQL statement “select * from C2”.

検出部152bは、ラジオボタン41cが選択されている場合には、SQL文の入力支援を行わない。この場合には、利用者は、入力部120を操作して、利用者自身が入力フォーム32にSQL文を入力し、SQL発行ボタン36を押下してもよい。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。   When the radio button 41c is selected, the detection unit 152b does not support input of an SQL sentence. In this case, the user may operate the input unit 120 so that the user himself / herself inputs an SQL sentence in the input form 32 and presses the SQL issue button 36. The detection unit 152b outputs the SQL sentence information and the response of the DBMS 52 to the SQL sentence information to the recording unit 152c.

検出部152bは、ラジオボタン41dが選択されている場合には、SQL文「select*from C」を、図6に示した入力画面30の入力フォーム32に自動入力した後に、利用者による編集を受け付ける。例えば、利用者は、入力部120を操作して、入力フォーム32に入力されたSQL文を編集した後に、SQL発行ボタン36を押下する。検出部152bは、SQL発行ボタン36が押下されると、編集後のSQL文をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。   When the radio button 41d is selected, the detection unit 152b automatically inputs the SQL sentence “select * from C” on the input form 32 of the input screen 30 shown in FIG. Accept. For example, the user operates the input unit 120 to edit the SQL sentence input to the input form 32 and then presses the SQL issue button 36. When the SQL issue button 36 is pressed, the detection unit 152b outputs the edited SQL sentence to the DBMS 52. The detection unit 152b outputs the SQL sentence information and the response of the DBMS 52 to the SQL sentence information to the recording unit 152c.

また、検出部152bは、入力フォームに入力された編集後のSQL文と、関連キーワードとを組み合わせたレコードを、入力支援DB61に新規登録する。検出部152bは、新規登録したレコードに対応する適用回数を1に設定する。   In addition, the detection unit 152b newly registers in the input support DB 61 a record in which the edited SQL sentence input in the input form and the related keyword are combined. The detection unit 152b sets the application count corresponding to the newly registered record to 1.

検出部152bは、ラジオボタン41eが選択されている場合には、SQL文「select*from C2」を、図6に示した入力画面30の入力フォーム32に自動入力した後に、利用者による編集を受け付ける。例えば、利用者は、入力部120を操作して、入力フォーム32に入力されたSQL文を編集した後に、SQL発行ボタン36を押下する。検出部152bは、SQL発行ボタン36が押下されると、編集後のSQL文をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。   When the radio button 41e is selected, the detection unit 152b automatically inputs the SQL sentence “select * from C2” on the input form 32 of the input screen 30 shown in FIG. Accept. For example, the user operates the input unit 120 to edit the SQL sentence input to the input form 32 and then presses the SQL issue button 36. When the SQL issue button 36 is pressed, the detection unit 152b outputs the edited SQL sentence to the DBMS 52. The detection unit 152b outputs the SQL sentence information and the response of the DBMS 52 to the SQL sentence information to the recording unit 152c.

また、検出部152bは、入力フォームに入力された編集後のSQL文と、関連キーワードとを組み合わせたレコードを、入力支援DB61に新規登録する。検出部152bは、新規登録したレコードに対応する適用回数を1に設定する。   In addition, the detection unit 152b newly registers in the input support DB 61 a record in which the edited SQL sentence input in the input form and the related keyword are combined. The detection unit 152b sets the application count corresponding to the newly registered record to 1.

記録部152cは、イベント検知部152aから、画面が切り替わった旨の情報を取得したタイミングで、ブラウザ151によって表示される画面のイメージデータをキャプチャし、エビデンス情報141に記録する。また、記録部152cは、検出部152bおよび設定部152dから、SQL文の情報およびこのSQL文に対するDBMS52から応答を取得し、エビデンス情報141に記録する。DBMS52からの応答は、生成データに対応する。記録部152cは、画面のイメージデータ、SQL文、生成データを時系列順に、エビデンス情報141に記録する。   The recording unit 152c captures the image data of the screen displayed by the browser 151 at the timing when the information indicating that the screen has been switched is acquired from the event detection unit 152a, and records it in the evidence information 141. In addition, the recording unit 152c acquires the SQL sentence information and the response from the DBMS 52 for the SQL sentence from the detection unit 152b and the setting unit 152d, and records the response in the evidence information 141. The response from the DBMS 52 corresponds to the generated data. The recording unit 152c records the screen image data, the SQL sentence, and the generated data in the evidence information 141 in chronological order.

設定部152dは、入力支援サーバ60の入力支援DB61にレコードを登録する処理部である。例えば、SQL文の入力に長けている利用者が、前もって入力支援DB61に情報を登録する場合に、設定部152dが動作する。また、設定部152dは、検出部152bと同様にして、SQL文をDBMS52に出力し、DBMS52からSQL文に対する応答を取得する。設定部152dは、SQL文と、DBMS52からの応答を、記録部152cに出力する。   The setting unit 152d is a processing unit that registers a record in the input support DB 61 of the input support server 60. For example, the setting unit 152d operates when a user who is skilled in inputting an SQL sentence registers information in the input support DB 61 in advance. Similarly to the detection unit 152b, the setting unit 152d outputs the SQL sentence to the DBMS 52, and acquires a response to the SQL sentence from the DBMS 52. The setting unit 152d outputs the SQL sentence and the response from the DBMS 52 to the recording unit 152c.

設定部152dは、図6に示した入力画面30を表示部130に表示させ、SQL文と関連キーワードとの入力を受け付ける。利用者は、入力部120を操作して、入力フォーム32にSQL文を入力し、入力フォーム33に関連キーワードを入力する。利用者は、ブラウザ151に表示された画面を参照し、参照した画面に表示されたキーワードのうち、いずれかのキーワードを選び、関連キーワードとして入力してもよい。   The setting unit 152d displays the input screen 30 illustrated in FIG. 6 on the display unit 130, and receives input of an SQL sentence and a related keyword. The user operates the input unit 120 to input an SQL sentence in the input form 32 and input a related keyword in the input form 33. The user may refer to the screen displayed on the browser 151, select one of the keywords displayed on the referred screen, and input it as a related keyword.

設定部152dは、入力支援DB61にアクセスし、入力されたSQL文と、関連キーワードとの組が既に入力支援DB61に登録されている場合には、該当するレコードの適用回数に1を加算する。これに対して、設定部152dは、入力されたSQL文と、関連キーワードとの組が既に入力支援DB61に登録されていない場合には、入力されたSQL文と、関連キーワードとの組を、入力支援DB61に新規登録し、適用回数を1に設定する。設定部152dは、SQL文または関連キーワードのうち、いずれか一方が異なっているのであれば、入力されたSQL文と、関連キーワードとの組を、入力支援DB61に新規登録する。   The setting unit 152d accesses the input support DB 61, and when a set of the input SQL sentence and the related keyword is already registered in the input support DB 61, the setting unit 152d adds 1 to the application count of the corresponding record. On the other hand, when the set of the input SQL sentence and the related keyword is not already registered in the input support DB 61, the setting unit 152d sets the set of the input SQL sentence and the related keyword as follows: A new registration is made in the input support DB 61 and the application count is set to 1. If either the SQL sentence or the related keyword is different, the setting unit 152d newly registers a set of the input SQL sentence and the related keyword in the input support DB 61.

図8は、設定部の処理を説明するための図である。例えば、入力支援DB61を61aに示すものとする。また、入力されたSQL文を「select*from C2」とし、関連キーワードを「残高照会、履歴照会」とする。設定部152dは、SQL文「select*from C2」および関連キーワード「残高照会、履歴照会」の組と、入力支援DB61aとを比較する。そうすると、SQL文「select*from C2」および関連キーワード「残高照会、履歴照会」組が入力支援DB61aに存在しない。このため、設定部152dは、SQL文「select*from C2」および関連キーワード「残高照会、履歴照会」の組および適用回数「1」のレコードを、入力支援DB61aに登録し、61bに示すものとする。   FIG. 8 is a diagram for explaining the processing of the setting unit. For example, the input support DB 61 is indicated by 61a. The input SQL sentence is “select * from C2”, and the related keyword is “balance inquiry, history inquiry”. The setting unit 152d compares the combination of the SQL sentence “select * from C2” and the related keyword “balance inquiry, history inquiry” with the input support DB 61a. Then, the SQL statement “select * from C2” and the related keyword “balance inquiry, history inquiry” set do not exist in the input support DB 61a. For this reason, the setting unit 152d registers a set of the SQL sentence “select * from C2” and the related keyword “balance inquiry, history inquiry” and the record of the application count “1” in the input support DB 61a, as shown in 61b. To do.

続いて、設定部152は、SQL文「select*from E」と、関連キーワード「振込、他行」を受け付けたものとする。設定部152は、SQL文「select*from E」および関連キーワード「振込、他行」と、入力支援DB61bとを比較すると、SQL文「select*from E」および関連キーワード「振込、他行」の組が存在しない。このため、設定部152dは、SQL文「select*from E」および関連キーワード「振込、他行」の組および適用回数「1」のレコードを、入力支援DB61bに登録し、61cに示すものとする。   Subsequently, it is assumed that the setting unit 152 receives an SQL sentence “select * from E” and a related keyword “transfer, other line”. The setting unit 152 compares the SQL statement “select * from E” and the related keyword “transfer, other line” with the input support DB 61b, and the SQL statement “select * from E” and the related keyword “transfer, other line”. There is no pair. For this reason, the setting unit 152d registers the set of the SQL sentence “select * from E” and the related keyword “transfer, other line” and the record of the number of application “1” in the input support DB 61b, and shows it in 61c. .

次に、本実施例に係る端末装置100の処理手順について説明する。図9は、本実施例に係る端末装置の処理手順を示すフローチャートである。図9に示すように、端末装置100のエビデンス情報生成部152は、エビデンス出力先ファイルの指定を受け付け(ステップS101)、ブラウザ機能を起動する(ステップS102)。   Next, a processing procedure of the terminal device 100 according to the present embodiment will be described. FIG. 9 is a flowchart illustrating the processing procedure of the terminal device according to the present embodiment. As illustrated in FIG. 9, the evidence information generation unit 152 of the terminal device 100 receives designation of the evidence output destination file (step S <b> 101) and activates the browser function (step S <b> 102).

エビデンス情報生成部152は、エビデンス取得処理を実行する(ステップS103)。エビデンス情報生成部152は、DBエビデンス取得処理を実行する(ステップS104)。   The evidence information generation unit 152 executes evidence acquisition processing (step S103). The evidence information generation unit 152 executes DB evidence acquisition processing (step S104).

図9のエビデンス取得処理の処理手順について説明する。図10は、エビデンス取得処理の処理手順を示すフローチャートである。図10に示すように、エビデンス情報生成部152は、ブラウザイベントを検知する(ステップS201)。   The procedure of the evidence acquisition process in FIG. 9 will be described. FIG. 10 is a flowchart showing a processing procedure of evidence acquisition processing. As illustrated in FIG. 10, the evidence information generation unit 152 detects a browser event (step S201).

エビデンス情報生成部152は、画面遷移を検知したか否かを判定する(ステップS202)。エビデンス情報生成部152は、画面遷移を検知していない場合には(ステップS202,No)、再度ステップS201に移行する。   The evidence information generation unit 152 determines whether a screen transition is detected (step S202). If the evidence information generating unit 152 has not detected a screen transition (No at Step S202), the evidence information generating unit 152 proceeds to Step S201 again.

一方、エビデンス情報生成部152は、画面遷移を検知した場合には(ステップS202,Yes)、ブラウザエビデンスを取得する(ステップS203)。ステップS203において、エビデンス情報生成部152は、ブラウザ151によって表示された画面をキャプチャし、キャプチャした画面のイメージデータを、エビデンス情報141に追記する。   On the other hand, when the screen information is detected (Yes in step S202), the evidence information generation unit 152 acquires browser evidence (step S203). In step S <b> 203, the evidence information generation unit 152 captures the screen displayed by the browser 151 and appends the captured screen image data to the evidence information 141.

エビデンス情報生成部152は、DBエビデンス提案取得処理を実行し(ステップS204)、ステップS201に移行する。   The evidence information generation unit 152 executes a DB evidence proposal acquisition process (step S204), and proceeds to step S201.

次に、図10のステップS204に示したDBエビデンス提案取得処理の処理手順について説明する。図11は、DBエビデンス提案取得処理の処理手順を示すフローチャートである。   Next, the processing procedure of the DB evidence proposal acquisition process shown in step S204 of FIG. 10 will be described. FIG. 11 is a flowchart illustrating a processing procedure of DB evidence proposal acquisition processing.

図11に示すように、エビデンス情報生成部152は、入力支援DB61の各レコードの関連キーワードを読み込む(ステップS301)。エビデンス情報生成部152は、読み込んだ各レコードの関連キーワードで、現在表示中の画面のHTMLデータを検索する(ステップS302)。   As illustrated in FIG. 11, the evidence information generation unit 152 reads a related keyword of each record in the input support DB 61 (step S <b> 301). The evidence information generation unit 152 searches the HTML data of the currently displayed screen with the related keyword of each read record (step S302).

エビデンス情報生成部152は、検索ヒットしない場合には(ステップS303,No)、DBエビデンス提案取得処理を終了する。   The evidence information generation unit 152 ends the DB evidence proposal acquisition process when there is no search hit (step S303, No).

エビデンス情報生成部152は、検索ヒットした場合には(ステップS303,Yes)、関連キーワードが検索ヒットしたレコードのSQL文をオペレータに表示し、各処理を表示する(ステップS304)。例えば、ステップS304において、エビデンス情報生成部152は、図7に示した表示画面40を表示させ、いずれかのラジオボタンを選択させる。   When the search hit is found (Yes in step S303), the evidence information generation unit 152 displays the SQL sentence of the record in which the related keyword is found as a search hit to the operator, and displays each process (step S304). For example, in step S304, the evidence information generation unit 152 displays the display screen 40 illustrated in FIG. 7 and selects any radio button.

エビデンス情報生成部152は、「一部流用する」を選択されていない場合には(ステップS305,No)、「そのまま適用する」を選択されたか否かを判定する(ステップS306)。「そのまま適用する」は、表示画面40に表示されたSQL文をそのまま利用することであり、例えば、図7に示したラジオボタン41aまたは41bを選択されたことを意味する。   If “partially divert” is not selected (No in step S305), the evidence information generation unit 152 determines whether “apply as it is” is selected (step S306). “Apply as it is” means that the SQL sentence displayed on the display screen 40 is used as it is, and means that, for example, the radio button 41a or 41b shown in FIG. 7 is selected.

エビデンス情報生成部152は、「そのまま適用する」が選択されない場合には(ステップS306,No)、DBエビデンス提案取得処理を終了する。   If “apply as it is” is not selected (No in step S306), the evidence information generation unit 152 ends the DB evidence proposal acquisition process.

一方、エビデンス情報生成部152は、「そのまま適用する」が選択された場合には(ステップS306,Yes)、SQL文に対応するレコードの適用回数に1を加算する(ステップS307)。エビデンス情報生成部152は、SQL文をDBMS52に送信し(ステップS308)、ステップS312に移行する。   On the other hand, when “apply as it is” is selected (Yes in step S306), the evidence information generation unit 152 adds 1 to the number of times of application of the record corresponding to the SQL sentence (step S307). The evidence information generation unit 152 transmits the SQL sentence to the DBMS 52 (step S308), and proceeds to step S312.

ところで、ステップS305において、エビデンス情報生成部152は、「一部流用する」が選択された場合には(ステップS305,Yes)、SQL文の編集を受け付ける(ステップS309)。   By the way, in step S305, the evidence information generation unit 152 accepts the editing of the SQL sentence when “partially divert” is selected (step S305, Yes) (step S309).

エビデンス情報生成部152は、編集されたSQLと関連キーワードとの組み合わせを、入力支援DB61に新規登録する(ステップS310)。エビデンス情報生成部152は、編集されたSQL文をDBMS52に送信する(ステップS311)。   The evidence information generation unit 152 newly registers the combination of the edited SQL and the related keyword in the input support DB 61 (step S310). The evidence information generation unit 152 transmits the edited SQL sentence to the DBMS 52 (step S311).

エビデンス情報生成部152は、DBMS52からデータを受信し(ステップS312)、SQL文をエビデンス出力先ファイルに追記する(ステップS313)。エビデンス情報生成部152は、受信したデータを、エビデンス出力先ファイルに追加し(ステップS314)、DBエビデンス提案取得処理を終了する。   The evidence information generation unit 152 receives data from the DBMS 52 (step S312), and adds an SQL sentence to the evidence output destination file (step S313). The evidence information generation unit 152 adds the received data to the evidence output destination file (step S314), and ends the DB evidence proposal acquisition process.

次に、図9のステップS104に示したDBエビデンス取得処理の処理手順について説明する。図12は、DBエビデンス取得処理の処理手順を示すフローチャートである。   Next, the procedure of the DB evidence acquisition process shown in step S104 of FIG. 9 will be described. FIG. 12 is a flowchart illustrating a processing procedure of DB evidence acquisition processing.

図12に示すように、エビデンス情報生成部152は、オペレータからのSQL文の入力を受け付け(ステップS401)、オペレータから関連キーワードの入力を受け付ける(ステップS402)。エビデンス情報生成部152は、SQL発行ボタン36が押下されていない場合には(ステップS403,No)、再度ステップS401に移行する。   As shown in FIG. 12, the evidence information generation unit 152 receives an input of an SQL sentence from the operator (step S401), and receives an input of a related keyword from the operator (step S402). If the SQL issue button 36 is not pressed (No at Step S403), the evidence information generation unit 152 proceeds to Step S401 again.

エビデンス情報生成部152は、SQL発行ボタンが押下された場合には(ステップS403,Yes)、関連キーワードの入力があるか否かを判定する(ステップS404)。エビデンス情報生成部152は、関連キーワードの入力がない場合には(ステップS404,No)、SQL文をDBMS52に送信する(ステップS405)。   When the SQL issue button is pressed (step S403, Yes), the evidence information generation unit 152 determines whether there is an input of a related keyword (step S404). If there is no input of a related keyword (No at Step S404), the evidence information generation unit 152 transmits an SQL sentence to the DBMS 52 (Step S405).

エビデンス情報生成部152は、DBMS52からデータを受信し(ステップS406)、SQL文を、エビデンス出力先ファイルに追記する(ステップS407)。エビデンス情報生成部152は、受信したデータをエビデンス出力先ファイルに追記し(ステップS408)、ステップS401に移行する。ステップS408において、例えば、エビデンス情報生成部152は、DBMS52から受信したデータをCSV(Comma-Separated Values)データとして追記する。   The evidence information generation unit 152 receives data from the DBMS 52 (step S406), and adds an SQL sentence to the evidence output destination file (step S407). The evidence information generation unit 152 adds the received data to the evidence output destination file (step S408), and proceeds to step S401. In step S408, for example, the evidence information generation unit 152 adds the data received from the DBMS 52 as CSV (Comma-Separated Values) data.

ところで、ステップS404において、エビデンス情報生成部152は、関連キーワードの入力がある場合には(ステップS404,Yes)、関連キーワードを基にして、入力支援DB61を検索する(ステップS409)。エビデンス情報生成部152は、検索ヒットしない場合には(ステップS410,No)、ステップS414に移行する。   By the way, in step S404, when there is an input of a related keyword (step S404, Yes), the evidence information generation unit 152 searches the input support DB 61 based on the related keyword (step S409). If there is no search hit (No in step S410), the evidence information generation unit 152 proceeds to step S414.

一方、エビデンス情報生成部152は、検索ヒットした場合には(ステップS410,Yes)、入力されたSQL文と、検索ヒットしたレコードのSQL文とを比較する(ステップS411)。   On the other hand, when there is a search hit (Yes in step S410), the evidence information generation unit 152 compares the input SQL sentence with the SQL sentence of the record hit in the search (step S411).

エビデンス情報生成部152は、入力されたSQL文と、検索ヒットしたレコードのSQL文とが一致しない場合には(ステップS412,No)、ステップS414に移行する。一方、エビデンス情報生成部152は、入力されたSQL文と、検索ヒットしたレコードのSQL文とが一致する場合には(ステップS412,Yes)、検索ヒットしたレコードの適用回数に1を加算し(ステップS413)、ステップS405に移行する。   The evidence information generation unit 152 proceeds to step S414 if the input SQL sentence does not match the SQL sentence of the search hit record (step S412, No). On the other hand, when the input SQL sentence matches the SQL sentence of the record hit by the search (step S412, Yes), the evidence information generation unit 152 adds 1 to the number of times the record hit the search hit ( Step S413) and the process proceeds to Step S405.

ステップS410において、エビデンス情報生成部152は、検索ヒットしない場合には(ステップS410,No)、入力されたSQL文と関連キーワードとの組み合わせを入力支援DBに新規登録する(ステップS414)。   In step S410, when there is no search hit (No in step S410), the evidence information generation unit 152 newly registers a combination of the input SQL sentence and the related keyword in the input support DB (step S414).

次に、本実施例に係る端末装置100の効果について説明する。端末装置100は、アプリをテストする場合に、画面のイメージデータに含まれるキーワードに関連付けられたSQL文を、入力支援DB61から読み出す。そして、端末装置100は、画面のイメージデータをエビデンス情報141に追加すると共に、入力支援DB61から読み出したSQL文をDBMS52に送信して得られるデータを、エビデンス情報141に追加する。これにより、利用者は、手入力でSQL文を入力しなくても良いので、SQL文の誤入力を防止でき、アプリをテストした証拠資料を生成することができる。また、本実施例に係る端末装置100を利用することで、SQL文の専門知識を有さない利用者であっても、証拠資料を作成することができる。   Next, effects of the terminal device 100 according to the present embodiment will be described. When the terminal device 100 tests an application, the terminal device 100 reads an SQL sentence associated with a keyword included in the image data of the screen from the input support DB 61. Then, the terminal device 100 adds screen image data to the evidence information 141, and adds data obtained by transmitting the SQL sentence read from the input support DB 61 to the DBMS 52 to the evidence information 141. Thereby, since the user does not need to input the SQL sentence manually, it is possible to prevent erroneous input of the SQL sentence, and to generate the evidence data for testing the application. Further, by using the terminal device 100 according to the present embodiment, even a user who does not have expertise in SQL text can create evidence materials.

また、端末装置100によれば、入力支援DBから読み出したSQL文を含む表示画40面を出力し、修正を受け付けた場合には、SQL文を修正し、修正したSQL文をDBMS52に送信する。このため、SQL文が利用者の意図と異なる場合にも対応して、最適な証拠資料を生成することができる。   Further, according to the terminal device 100, the display screen 40 including the SQL sentence read from the input support DB is output, and when the correction is accepted, the SQL sentence is corrected, and the corrected SQL sentence is transmitted to the DBMS 52. . For this reason, it is possible to generate optimal evidence material in correspondence with the case where the SQL sentence is different from the intention of the user.

また、端末装置100によれば、アプリの処理の実行に伴って複数の画面を出力し、画面のイメージデータと、画面に対応するSQL文により取得したデータとを、処理の実行に従った順にエビデンス情報141に記録する。このため、アプリが正しくテストされ確認がなされたか否かを適切に証明する証拠資料を生成することができる。   In addition, according to the terminal device 100, a plurality of screens are output as the application process is executed, and the image data of the screen and the data acquired by the SQL statement corresponding to the screen are arranged in the order according to the execution of the process. Recorded in the evidence information 141. For this reason, it is possible to generate evidence that appropriately proves whether or not the application has been correctly tested and confirmed.

次に、上記実施例に示した端末装置100と同様の機能を実現する制御プログラムを実行するコンピュータの一例について説明する。図13は、制御プログラムを実行するコンピュータの一例を示す図である。   Next, an example of a computer that executes a control program that realizes the same function as the terminal device 100 described in the above embodiment will be described. FIG. 13 is a diagram illustrating an example of a computer that executes a control program.

図13に示すように、コンピュータ200は、各種演算処理を実行するCPU201と、利用者からのデータの入力を受け付ける入力装置202と、ディスプレイ203を有する。また、コンピュータ200は、記憶媒体からプログラム等を読取る読み取り装置204と、ネットワークを介して他のコンピュータとの間でデータの授受を行うインターフェース装置205とを有する。また、コンピュータ200は、各種情報を一時記憶するRAM206と、ハードディスク装置207を有する。そして、各装置201〜207は、バス208に接続される。   As illustrated in FIG. 13, the computer 200 includes a CPU 201 that executes various arithmetic processes, an input device 202 that receives input of data from a user, and a display 203. The computer 200 includes a reading device 204 that reads a program and the like from a storage medium, and an interface device 205 that exchanges data with other computers via a network. The computer 200 also includes a RAM 206 that temporarily stores various information and a hard disk device 207. The devices 201 to 207 are connected to the bus 208.

ハードディスク装置207は、検出プログラム207a、記録プログラム207bを有する。CPU201は、各プログラム207a、207bを読み出してRAM206に展開する。   The hard disk device 207 has a detection program 207a and a recording program 207b. The CPU 201 reads out each program 207a, 207b and develops it in the RAM 206.

検出プログラム207aは、検出プロセス206aとして機能する。記録プログラム207bは、記録プロセス206bとして機能する。   The detection program 207a functions as a detection process 206a. The recording program 207b functions as the recording process 206b.

例えば、検出プロセス206aは、検出部152bに対応する。記録プロセス206bは、記録部152cに対応する。   For example, the detection process 206a corresponds to the detection unit 152b. The recording process 206b corresponds to the recording unit 152c.

なお、各プログラム207a,207bについては、必ずしも最初からハードディスク装置207に記憶させておかなくても良い。例えば、コンピュータ200に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に各プログラムを記憶させておく。そして、コンピュータ200がこれらから各プログラム207a,207bを読み出して実行するようにしてもよい。   Note that the programs 207a and 207b are not necessarily stored in the hard disk device 207 from the beginning. For example, each program is stored in a “portable physical medium” such as a flexible disk (FD), a CD-ROM, a DVD disk, a magneto-optical disk, and an IC card inserted into the computer 200. Then, the computer 200 may read and execute the programs 207a and 207b from these.

ところで上記実施例では、検出部152bが、表示画面40を表示させた後、利用者の入力操作に応じて、SQL文をDBMS52に送信していたが、これに限定されるものではない。検出部152bは、キーワードと同一の関連キーワードにヒットした場合には、ヒットした関連キーワードに対応付けられたSQL文を、入力支援DB61から取得し、取得したSQL文をそのまま、DBMS52に送信してもよい。   In the above embodiment, the detection unit 152b displays the display screen 40 and then transmits an SQL sentence to the DBMS 52 in response to a user input operation. However, the present invention is not limited to this. When the detection unit 152b hits the same related keyword as the keyword, the detection unit 152b acquires the SQL sentence associated with the hit related keyword from the input support DB 61, and transmits the acquired SQL sentence as it is to the DBMS 52. Also good.

また、上記実施例では、入力支援サーバ60が、入力支援DB61を有していたがこれに限定されるものではない。例えば、端末装置100のいずれかが、入力支援サーバ60と同じ機能を有し、端末装置100が、入力支援DB61を有しても良い。例えば、端末装置100aが、入力支援DB61を保持し、端末装置100bが、端末装置100aの入力支援DB61にアクセスしてSQL文を読み出しても良い。または、端末装置100aが入力支援装置61を保持し、端末装置100aが自身の保持する入力支援DB61にアクセスし、SQL文を読み出しても良い。   Moreover, in the said Example, although the input support server 60 had input support DB61, it is not limited to this. For example, any of the terminal devices 100 may have the same function as the input support server 60, and the terminal device 100 may include the input support DB 61. For example, the terminal device 100a may hold the input support DB 61, and the terminal device 100b may access the input support DB 61 of the terminal device 100a and read an SQL sentence. Alternatively, the terminal device 100a may hold the input support device 61, and the terminal device 100a may access the input support DB 61 held by itself to read the SQL sentence.

以上の各実施例を含む実施形態に関し、さらに以下の付記を開示する。   The following supplementary notes are further disclosed with respect to the embodiments including the above examples.

(付記1)コンピュータに、
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行させることを特徴とする制御プログラム。
(Supplementary note 1)
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control program for recording the image data of the first screen and recording the data acquired by the first request command from the database.

(付記2)前記第一の要求命令を読み出す処理は、前記第一の要求命令を含む第二の画面を出力し、修正を受け付けた場合には、前記第一の要求命令を修正することを特徴とする付記1に記載の制御プログラム。 (Additional remark 2) The process which reads said 1st request command outputs the 2nd screen containing said 1st request command, and when correction is received, it corrects said 1st request command The control program according to appendix 1, which is characterized.

(付記3)前記アプリケーションソフトウェアは処理の実行に伴って複数の画面を出力し、前記記録する処理は、画面データと、画面に対応する第一の要求命令により取得したデータとを、前記処理の実行に従った順に記録することを特徴とする付記1または2に記載の制御プログラム。 (Supplementary Note 3) The application software outputs a plurality of screens as the process is executed, and the recording process includes screen data and data acquired by a first request instruction corresponding to the screen. 3. The control program according to appendix 1 or 2, which is recorded in the order according to execution.

(付記4)コンピュータが実行する制御方法であって、
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記憶するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行することを特徴とする制御方法。
(Appendix 4) A control method executed by a computer,
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control method, comprising: storing image data of the first screen and recording data acquired by the first request command from the database.

(付記5)前記第一の要求命令を読み出す処理は、前記第一の要求命令を含む第二の画面を出力し、修正を受け付けた場合には、前記第一の要求命令を修正することを特徴とする付記4に記載の制御方法。 (Additional remark 5) The process which reads said 1st request command outputs the 2nd screen containing said 1st request command, and when correction is received, it corrects said 1st request command The control method according to appendix 4, which is characterized.

(付記6)前記アプリケーションソフトウェアは処理の実行に伴って複数の画面を出力し、前記記録する処理は、画面データと、画面に対応する第一の要求命令により取得したデータとを、前記処理の実行に従った順に記録することを特徴とする付記4または5に記載の制御方法。 (Supplementary note 6) The application software outputs a plurality of screens as the process is executed, and the recording process includes the screen data and the data acquired by the first request instruction corresponding to the screen. 6. The control method according to appendix 4 or 5, wherein recording is performed in the order according to execution.

(付記7)キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれているか否かを判定し、第一のキーワードが含まれていると検出された場合に、前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出す検出部と、
前記第一の画像の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する記録部と
を有することを特徴とする制御装置。
(Additional remark 7) The memory | storage part which refers to the memory | storage part which matches and memorize | stores a keyword and the request command used for the data acquisition from a database, and is output to the display part of a computer by application software on said memory | storage part Is stored in the storage unit in association with the first keyword when it is detected that the first keyword is included. A detection unit for reading out the first request command being performed;
And a recording unit that records image data of the first image and records data obtained by the first request command from the database.

(付記8)前記検出部は、前記第一の要求命令を含む第二の画面を出力し、修正を受け付けた場合には、前記第一の要求命令を修正することを特徴とする付記7に記載の制御装置。 (Supplementary note 8) The supplementary note 7 is characterized in that the detection unit outputs a second screen including the first request command and corrects the first request command when correction is accepted. The control device described.

(付記9)前記アプリケーションソフトウェアは処理の実行に伴って複数の画面を出力し、前記記録部は、画面データと、画面に対応する第一の要求命令により取得したデータとを、前記処理の実行に従った順に記録することを特徴とする付記7または8に記載の制御装置。 (Supplementary note 9) The application software outputs a plurality of screens as the process is executed, and the recording unit executes the process using the screen data and the data acquired by the first request instruction corresponding to the screen. 9. The control device according to appendix 7 or 8, wherein recording is performed in the order according to the above.

50 Webシステム
60 入力支援サーバ
70 ネットワーク
100a,100b,100c 端末装置
50 Web System 60 Input Support Server 70 Network 100a, 100b, 100c Terminal Device

Claims (5)

コンピュータに、
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行させることを特徴とする制御プログラム。
On the computer,
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control program for recording the image data of the first screen and recording the data acquired by the first request command from the database.
前記第一の要求命令を読み出す処理は、前記第一の要求命令を含む第二の画面を出力し、修正を受け付けた場合には、前記第一の要求命令を修正することを特徴とする請求項1に記載の制御プログラム。   The process of reading the first request command outputs a second screen including the first request command, and corrects the first request command when correction is accepted. Item 2. A control program according to item 1. 前記アプリケーションソフトウェアは処理の実行に伴って複数の画面を出力し、前記記録する処理は、画面データと、画面に対応する第一の要求命令により取得したデータとを、前記処理の実行に従った順に記録することを特徴とする請求項1または2に記載の制御プログラム。   The application software outputs a plurality of screens along with the execution of the process, and the recording process follows the execution of the process with the screen data and the data acquired by the first request instruction corresponding to the screen. The control program according to claim 1, wherein the control program is recorded in order. コンピュータが実行する制御方法であって、
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記憶するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行することを特徴とする制御方法。
A control method executed by a computer,
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control method, comprising: storing image data of the first screen and recording data acquired by the first request command from the database.
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれているか否かを判定し、第一のキーワードが含まれていると検出された場合に、前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出す検出部と、
前記第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する記録部と
を有することを特徴とする制御装置。
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. A first keyword stored in the storage unit in association with the first keyword when it is detected that the first keyword is included. A detection unit for reading one request command;
And a recording unit that records image data of the first screen and records data acquired from the database according to the first request command.
JP2014033949A 2014-02-25 2014-02-25 Control program, control method, and control apparatus Expired - Fee Related JP6303591B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014033949A JP6303591B2 (en) 2014-02-25 2014-02-25 Control program, control method, and control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014033949A JP6303591B2 (en) 2014-02-25 2014-02-25 Control program, control method, and control apparatus

Publications (2)

Publication Number Publication Date
JP2015158842A JP2015158842A (en) 2015-09-03
JP6303591B2 true JP6303591B2 (en) 2018-04-04

Family

ID=54182772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014033949A Expired - Fee Related JP6303591B2 (en) 2014-02-25 2014-02-25 Control program, control method, and control apparatus

Country Status (1)

Country Link
JP (1) JP6303591B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138416A (en) * 2009-12-28 2011-07-14 Canon It Solutions Inc Information processing device, control method, program and recording medium
JP6016623B2 (en) * 2012-03-16 2016-10-26 株式会社日立製作所 Software execution result deliverable collection apparatus and method
JP6079265B2 (en) * 2013-01-25 2017-02-15 富士通株式会社 Control program, control method, and control apparatus

Also Published As

Publication number Publication date
JP2015158842A (en) 2015-09-03

Similar Documents

Publication Publication Date Title
CN104252410B (en) The method and apparatus that a kind of control in the page is tested
US20150106723A1 (en) Tools for locating, curating, editing, and using content of an online library
US10353721B2 (en) Systems and methods for guided live help
CN108228861B (en) Method and system for performing feature engineering for machine learning
US9772932B2 (en) Application test across platforms
CN107209773B (en) Automatically invoke a unified visual interface
CN111737137A (en) Interface test data generation method and device, host and storage medium
JP4395761B2 (en) Program test support apparatus and method
US20130246402A1 (en) Screen data generating apparatus for programmable display device
KR102044614B1 (en) Input method based website information providing method and device
CN108885444A (en) Information management device, information management method, and information management system
JP7320211B1 (en) Systems, methods and programs for testing website vulnerabilities
CN112906358B (en) Information processing device, information processing method, and recording medium
JP6079265B2 (en) Control program, control method, and control apparatus
US20150356884A1 (en) Learning support apparatus, data output method in learning support apparatus, and storage medium
CN112380871A (en) Semantic recognition method, apparatus, and medium
US20130326466A1 (en) Human Readable Software Program Test Step
US10042638B2 (en) Evaluating documentation coverage
CN112416127B (en) Electronic instruction device for laboratory and acquisition operation assisting method
JP6355768B1 (en) Operation automation equipment
JP6303591B2 (en) Control program, control method, and control apparatus
US20160378871A1 (en) Generating Search Results Using Current Software Application States
CN114691499A (en) Wearable device test method, device, wearable device and medium
Elouali et al. A model-based approach for engineering multimodal mobile interactions
CN110096392A (en) Method and apparatus for output information

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161102

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170925

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180219

R150 Certificate of patent or registration of utility model

Ref document number: 6303591

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees