JP2016053751A - Information processing device, information processing method, and program - Google Patents

Information processing device, information processing method, and program Download PDF

Info

Publication number
JP2016053751A
JP2016053751A JP2014178396A JP2014178396A JP2016053751A JP 2016053751 A JP2016053751 A JP 2016053751A JP 2014178396 A JP2014178396 A JP 2014178396A JP 2014178396 A JP2014178396 A JP 2014178396A JP 2016053751 A JP2016053751 A JP 2016053751A
Authority
JP
Japan
Prior art keywords
processing
model
test data
processing model
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014178396A
Other languages
Japanese (ja)
Inventor
野村 修
Osamu Nomura
修 野村
山本 貴久
Takahisa Yamamoto
貴久 山本
伊藤 嘉則
Yoshinori Ito
嘉則 伊藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2014178396A priority Critical patent/JP2016053751A/en
Publication of JP2016053751A publication Critical patent/JP2016053751A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily prepare test data for each software component.SOLUTION: A processing model difference detection unit 101 detects a difference in processing models between a reference processing model in which test data associated to a processing model has been prepared and a derivation processing model for which test data associated to the processing model has not been prepared. A retrieval unit 102 retrieves a test data conversion processing method from dictionary means by using the detected difference in the processing models as a retrieval key. A conversion processing unit 103 converts the test data of the reference processing model into test data associated to the derivation processing model on the basis of the retrieved conversion processing method.SELECTED DRAWING: Figure 1

Description

本発明は、特に、すでに対応付け管理されている処理モデルのテストデータから、新たに作成した処理モデルに対応するテストデータを作成するために用いて好適な情報処理装置、情報処理方法及びプログラムに関する。   The present invention particularly relates to an information processing apparatus, an information processing method, and a program suitable for use in creating test data corresponding to a newly created processing model from test data of a processing model that has already been managed in association. .

従来、テストデータの活用方法としては、例えば特許文献1に記載の技術が知られている。具体的には、特許文献1には、複数のソフトウェア部品で構成されているソフトウェアに対して、ソフトウェア部品が組み合わされた状態で実施されるシステムテスト仕様を生成するシステムテスト仕様生成装置が開示されている。   Conventionally, as a test data utilization method, for example, a technique described in Patent Document 1 is known. Specifically, Patent Document 1 discloses a system test specification generation device that generates a system test specification that is executed in a state in which software components are combined with software configured by a plurality of software components. ing.

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

しかしながら、特許文献1に記載の技術では、システム全体のテストは自動生成できるものの、ソフトウェア部品毎のテスト仕様はユーザが個別に作成する必要がある。このため、部品毎のテスト仕様を作成する場合には、テストデータを作成する際にユーザの労力が大きいという問題点がある。   However, in the technique described in Patent Document 1, although the test of the entire system can be automatically generated, the test specification for each software component needs to be individually created by the user. For this reason, when creating a test specification for each component, there is a problem that the user's labor is large when creating test data.

本発明は前述の問題点に鑑み、ソフトウェアの部品毎にテストデータを簡単に作成できるようにすることを目的としている。   An object of the present invention is to make it possible to easily create test data for each software component in view of the above-described problems.

本発明に係る情報処理装置は、処理モジュールより構成される処理モデルに対してテストデータが対応付け管理されている第1の処理モデルを用いて、新たに作成した第2の処理モデルに対応したテストデータを作成する情報処理装置であって、前記第1の処理モデルと前記第2の処理モデルとの相違を検出する検出手段と、前記第1の処理モデルとの相違とテストデータの変換処理方法とを対応付けて保持する辞書から、前記検出手段によって検出された相違に該当する辞書を検索する検索手段と、前記検索手段によって検索された辞書を用いて前記第1の処理モデルに係るテストデータを前記第2の処理モデルに係るテストデータに変換する変換手段とを有することを特徴とする。   The information processing apparatus according to the present invention corresponds to the newly created second processing model using the first processing model in which test data is managed in association with the processing model configured by the processing modules. An information processing apparatus for creating test data, the detecting means for detecting a difference between the first processing model and the second processing model, a difference between the first processing model and a test data conversion process A search unit that searches for a dictionary corresponding to the difference detected by the detection unit from a dictionary that holds the method in association with each other, and a test related to the first processing model using the dictionary searched by the search unit Conversion means for converting data into test data according to the second processing model.

本発明によれば、ソフトウェアの部品毎にテストデータを簡単に作成することができる。   According to the present invention, test data can be easily created for each software component.

第1の実施形態において、テストデータ変換ツールにおいて実行されるテストデータ変換処理の機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of the test data conversion process performed in the test data conversion tool in 1st Embodiment. 第1の実施形態に係るシステム構成例及び図形プログラミングの一例を示す図である。It is a figure which shows an example of the system configuration | structure which concerns on 1st Embodiment, and an example of figure programming. 第1及び第4の実施形態における基準処理モデルの一例を示す図である。It is a figure which shows an example of the reference | standard process model in 1st and 4th embodiment. 第1の実施形態の基準処理モデルにおける顔検出処理の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the face detection process in the reference | standard process model of 1st Embodiment. 第1の実施形態における派生処理モデルの一例を示す図である。It is a figure which shows an example of the derived process model in 1st Embodiment. 第1の実施形態の派生処理モデルにおける顔検出処理の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the face detection process in the derivation process model of 1st Embodiment. 第1の実施形態における処理モジュールのリスト及び結合リストの一例を示す図である。It is a figure which shows an example of the list | wrist of the processing module in 1st Embodiment, and a joint list | wrist. 第1の実施形態における辞書手段の具体的な構成例を示す図である。It is a figure which shows the specific structural example of the dictionary means in 1st Embodiment. 第1の実施形態における変換処理モデルの一例を示す図である。It is a figure which shows an example of the conversion process model in 1st Embodiment. 第2の実施形態の基準処理モデルにおけるフィルタ処理の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the filter process in the reference | standard process model of 2nd Embodiment. 第2の実施形態における処理モジュールのリストの一例を示す図である。It is a figure which shows an example of the list | wrist of the processing module in 2nd Embodiment. 第2の実施形態における辞書手段の具体的な構成例を示す図である。It is a figure which shows the specific structural example of the dictionary means in 2nd Embodiment. 第2の実施形態における変換処理モデルの一例を示す図である。It is a figure which shows an example of the conversion process model in 2nd Embodiment. 第3の実施形態における処理モジュールのリストの一例を示す図である。It is a figure which shows an example of the list | wrist of the processing module in 3rd Embodiment. 第3の実施形態における辞書手段の具体的な構成例を示す図である。It is a figure which shows the specific structural example of the dictionary means in 3rd Embodiment. 第3の実施形態における変換処理モデルの一例を示す図である。It is a figure which shows an example of the conversion process model in 3rd Embodiment. 第4の実施形態の派生処理モデルにおける顔検出処理の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the face detection process in the derivative process model of 4th Embodiment. 第4の実施形態における処理モジュールのリストの一例を示す図である。It is a figure which shows an example of the list of the processing modules in 4th Embodiment. 第4の実施形態における辞書手段の具体的な構成例を示す図である。It is a figure which shows the specific structural example of the dictionary means in 4th Embodiment. 第4の実施形態における変換処理モデルの一例を示す図である。It is a figure which shows an example of the conversion process model in 4th Embodiment. 第5の実施形態の派生処理モデルにおける顔検出処理の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the face detection process in the derivative process model of 5th Embodiment. 第5の実施形態における処理モジュールのリストの一例を示す図である。It is a figure which shows an example of the list of the processing modules in 5th Embodiment. 第5の実施形態における辞書手段の具体的な構成例を示す図である。It is a figure which shows the specific structural example of the dictionary means in 5th Embodiment. 第5の実施形態における変換処理モデルの一例を示す図である。It is a figure which shows an example of the conversion process model in 5th Embodiment. 第6の実施形態におけるテスト変換処理ツールでの処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence in the test conversion processing tool in 6th Embodiment. 新たにテストデータの変換処理モデルを指定して辞書手段に登録するための表示画面の一例を示す図である。It is a figure which shows an example of the display screen for designating the conversion process model of test data newly and registering in a dictionary means.

(第1の実施形態)
以下、図面を参照して本発明の第1の実施形態について説明する。本実施形態は、入出力端子を有する複数の処理モジュールが所定の配置またはトポロジーで結線された処理モデルを想定したものである。以下、この処理モデルに関して、すでに対応付け管理されている処理モデルのテストデータから、新たに作成した処理モデルに対応するテストデータを作成するテストデータ変換ツールを説明する。以下、テストデータが対応付け管理されている処理モデルから、後述するように類似する処理モデルを新たに作成するための、対応付け管理されている処理モデルを基準処理モデルと呼ぶ。また、新たに作成する処理モデルを派生処理モデルと呼ぶ。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. The present embodiment assumes a processing model in which a plurality of processing modules having input / output terminals are connected in a predetermined arrangement or topology. Hereinafter, a test data conversion tool for creating test data corresponding to a newly created processing model from test data of the processing model already managed in association with the processing model will be described. Hereinafter, a process model for which association management is performed for newly creating a similar process model as described later from a process model for which test data is associated and managed is referred to as a reference process model. A newly created processing model is called a derived processing model.

まず、テストデータ変換ツールをより具体的に説明するために、本ツールを実行するシステム構成について説明する。
図2(a)は、本実施形態に係るシステム構成例を示す図である。
図2(a)に示すように、テストデータ変換ツールを実行するシステムは、モニタ5が接続されたパーソナルコンピュータ(PC)4と、データベース6が接続されたデータベースサーバ7とがネットワークを介して構成されている。情報処理装置であるPC4には、図形プログラミングアプリケーションソフトがインストールされており、モニタ5から図形プログラミング工程をユーザに提示する。データベース6は、基準処理モデルやテストデータの情報を保持しており、データベースサーバ7は、データベース6を管理している。
First, in order to describe the test data conversion tool more specifically, a system configuration for executing this tool will be described.
FIG. 2A is a diagram illustrating a system configuration example according to the present embodiment.
As shown in FIG. 2 (a), the system for executing the test data conversion tool comprises a personal computer (PC) 4 to which a monitor 5 is connected and a database server 7 to which a database 6 is connected via a network. Has been. A graphic programming application software is installed in the PC 4 as the information processing apparatus, and a graphic programming process is presented to the user from the monitor 5. The database 6 holds information on the reference processing model and test data, and the database server 7 manages the database 6.

本実施形態におけるテストデータ変換ツールは、この図形プログラミングアプリケーションソフトの一部として提供されるものである。なお、テストデータ変換ツールは、図形プログラミングアプリケーションソフトの一部としてではなく、独立したツールとして提供されるものであっても構わない。   The test data conversion tool in this embodiment is provided as a part of this graphic programming application software. The test data conversion tool may be provided as an independent tool, not as a part of the graphic programming application software.

ここで、図形プログラミングに関して簡単に説明する。図2(b)に示すように、本実施形態における図形プログラミングでは、ユーザがマウス等を操作することにより、モニタ5上で、処理モジュール8を入力端子9および出力端子10を介して接続し、所望の機能を実現する処理モデルを作成する。処理モデルは、それぞれを識別するために属性としてIDが設定され、処理モデルに含まれる各処理モジュールは、入力されたデータに対して所定の処理を実行することが設定されているため、処理モデルはコードにより表現されたプログラムと等価である。   Here, the graphic programming will be briefly described. As shown in FIG. 2B, in the graphic programming in the present embodiment, the processing module 8 is connected via the input terminal 9 and the output terminal 10 on the monitor 5 by the user operating the mouse or the like. A processing model that realizes a desired function is created. The processing model is set with an ID as an attribute for identifying each, and each processing module included in the processing model is set to execute a predetermined process on the input data. Is equivalent to a program expressed in code.

図1は、本実施形態におけるPC4の、テストデータ変換ツールにおいて実行されるテストデータ変換処理の機能構成例を示すブロック図である。
図1において、処理モデル相違検出部101は、処理モデルに対応したテストデータが作成済みの基準処理モデルと、処理モデルに対応したテストデータが未作成である派生処理モデルとの、処理モデルに関する相違を検出する。検索部102は、検出した処理モデルの相違を検索キーとして、辞書手段からテストデータの変換処理方法を検索する。変換処理部103は、検索した変換処理方法に基づいて、基準処理モデルのテストデータを派生処理モデルに対応したテストデータに変換する。
FIG. 1 is a block diagram illustrating a functional configuration example of test data conversion processing executed by the test data conversion tool of the PC 4 according to the present embodiment.
In FIG. 1, the process model difference detection unit 101 is a process model difference between a reference process model for which test data corresponding to the process model has been created and a derived process model for which test data corresponding to the process model has not been created. Is detected. The search unit 102 searches the dictionary means for a test data conversion processing method using the detected processing model difference as a search key. The conversion processing unit 103 converts the test data of the reference processing model into test data corresponding to the derived processing model based on the searched conversion processing method.

ここで、テストデータ変換ツールにおいて実行されるテストデータ変換処理の詳細を説明する前に、処理モデルについて説明する。   Here, before explaining the details of the test data conversion process executed in the test data conversion tool, the process model will be described.

図3は、本実施形態における基準処理モデルの一例を示す図である。例えば図3に示した処理モデルは、フィルタ処理モジュール301と顔検出処理モジュール302との2つの処理モジュールから構成されている。フィルタ処理モジュール301には、画像データが入力され、画像データに対してフィルタ処理が実行された後に、フィルタ処理が適用された画像データが出力される。   FIG. 3 is a diagram illustrating an example of the reference processing model in the present embodiment. For example, the processing model shown in FIG. 3 includes two processing modules, a filter processing module 301 and a face detection processing module 302. Image data is input to the filter processing module 301, and after the filter processing is performed on the image data, the image data to which the filter processing is applied is output.

また、前記フィルタ処理が適用された画像データは、続いて顔検出処理モジュール302に入力され、顔検出処理が適用された処理結果データが顔検出処理モジュール302より出力される。すなわち、図3に示す基準処理モデル全体として、入力された画像データに対してフィルタ処理および顔検出処理を実行し、両方の処理が適用された処理結果データを出力する処理を実行する。   The image data to which the filter processing is applied is then input to the face detection processing module 302, and processing result data to which the face detection processing is applied is output from the face detection processing module 302. That is, as a whole reference processing model shown in FIG. 3, a filtering process and a face detection process are executed on the input image data, and a process of outputting process result data to which both processes are applied is executed.

ここで、前述した顔検出処理モジュール302において実行される処理に関してさらに詳細に説明する。顔検出処理モジュール302は、画像中に含まれる人物の顔の検出機能を有している。本実施形態の場合、例えば図4(a)に示すように、画像402中の21×21ピクセルの小領域401に対して顔検出処理を適用する。さらに小領域401に対する顔検出処理を画像の左上から右下方向に向けて、1ピクセルずつずらしながらラスタスキャンしていく。以下、入力データである画像402のサイズは、200×150ピクセルとして説明する。なお、画像サイズは、処理モデルおよび処理モジュールに対応して変化するものとする。   Here, the processing executed in the face detection processing module 302 described above will be described in more detail. The face detection processing module 302 has a function of detecting a human face included in an image. In the case of the present embodiment, for example, as shown in FIG. 4A, face detection processing is applied to a small area 401 of 21 × 21 pixels in an image 402. Further, the raster detection is performed while shifting the face detection process for the small area 401 from the upper left to the lower right of the image by shifting one pixel at a time. In the following description, it is assumed that the size of the image 402 as input data is 200 × 150 pixels. It is assumed that the image size changes corresponding to the processing model and processing module.

また、小領域401を画像中でラスタスキャンする際には、例えばC言語におけるfor文を用いた2重ループにより逐次的に顔検出処理を実行する。また、顔検出処理自体の処理内容に関しては、公知の手法を用いるものとし、詳細な説明を省略する。   When raster scanning the small area 401 in the image, face detection processing is sequentially executed by a double loop using a for sentence in C language, for example. Further, regarding the processing content of the face detection processing itself, a known method is used, and detailed description thereof is omitted.

顔検出処理モジュール302では、上述したように入力画像に対してラスタスキャンにより顔検出処理を逐次実行し、人物の顔が検出された場合は、その小領域の画像における中心座標データを配列形式の出力データに順次格納していく。例えば図4(b)に示すように、画像中の4か所で顔が検出された場合には、顔検出処理モジュール302は画像中をラスタスキャンしているため、4か所のアドレスは、図4(b)に示す順番で配列データに格納される。なお顔検出処理モジュール302に対しては、作成者により事前に"(1)ラスタスキャン"という処理モジュール属性が設定されているものとする。   In the face detection processing module 302, as described above, the face detection process is sequentially executed on the input image by raster scanning, and when a human face is detected, the center coordinate data in the small area image is converted into an array format. Store sequentially in output data. For example, as shown in FIG. 4B, when a face is detected at four locations in the image, the face detection processing module 302 performs raster scanning in the image, so the addresses at the four locations are The sequence data is stored in the order shown in FIG. It is assumed that a processing module attribute “(1) raster scan” is set in advance for the face detection processing module 302 by the creator.

続いて、基準処理モデルに対して対応付け管理されるテストデータに関して説明する。一般的に、あるプログラムが誤りなく実装されているかどうかを判定するための手段として、テストデータを用いたテスト手法が採用されている。このテスト手法では、ある入力データに対して、出力されるべき出力データを正解データとして事前に算出しておく。そして、テスト対象のプログラムに前記入力データを入力して出力される出力データと正解データとが一致するかどうかによって、プログラムに誤りがあるかどうかを判定する。   Next, test data that is managed in association with the reference processing model will be described. Generally, a test method using test data is adopted as a means for determining whether a certain program is implemented without error. In this test method, output data to be output is calculated in advance as correct answer data for certain input data. Then, whether or not there is an error in the program is determined based on whether or not the output data that is output by inputting the input data to the test target program matches the correct data.

本実施形態においては、テストデータは基準処理モデルとともにデータベース6に保持されており、それぞれのテストデータを識別するために属性としてIDが設定されている。また、本実施形態における基準処理モデルに対しては、事前に図4(b)に示す画像データおよび出力データと同一のデータが、それぞれ入力データおよび正解データとして事前に対応付け管理されているものとする。なお、正解データは、処理モデルにより算出されたものではなく、事前に別途算出されたものである。   In the present embodiment, the test data is held in the database 6 together with the reference processing model, and an ID is set as an attribute to identify each test data. In addition, for the reference processing model in the present embodiment, the same data as the image data and output data shown in FIG. 4B is previously associated and managed as input data and correct data, respectively. And The correct answer data is not calculated by the processing model, but is calculated separately in advance.

具体的には、データベース6上に保持されている基準処理モデルに対して、属性データとして対応するテストデータのIDが設定されることにより、基準処理モデルとテストデータとが対応付け管理される。この時、基準処理モデルに対して画像データが入力されると、図4(b)で示したように正解データと同一の結果が出力されることから、基準処理モデルは誤りなく実装されているものと判定することができる。   Specifically, the reference process model and the test data are associated and managed by setting the ID of the corresponding test data as attribute data for the reference process model held on the database 6. At this time, if image data is input to the reference processing model, the same result as the correct data is output as shown in FIG. 4B, so the reference processing model is implemented without error. Can be determined.

なお、本実施形態では、説明を簡略化するためにテストデータを1セットの入力データおよび正解データの組み合わせとして説明する。一方、実際には基準処理モデルの複雑さに応じて、複数セットの入力データおよび正解データの組み合わせより構成されるものであってもよい。以上説明したように、図3及び図4で説明した基準処理モデルは、テストデータが対応付け管理されており、さらに誤りなく実装されていることが保証されているものとする。   In the present embodiment, the test data is described as a combination of a set of input data and correct data in order to simplify the description. On the other hand, in practice, it may be composed of a combination of a plurality of sets of input data and correct answer data according to the complexity of the reference processing model. As described above, it is assumed that the reference processing model described with reference to FIGS. 3 and 4 is managed in association with test data, and is further guaranteed to be implemented without error.

続いて、派生処理モデルに関して説明する。本実施形態における派生処理モデルは、設計者が基準処理モデルを参照して、類似する処理を実現するために新規に作成したものを指す。具体的には、例えば図3及び図4で説明した基準処理モデルに対して、画像データから同一の顔検出処理を適用して人物の顔を検出するものであり、前述した小領域ごとの顔検出処理を並列に実行するものである。   Next, the derivation process model will be described. The derived process model in the present embodiment refers to a model newly created by the designer with reference to the reference process model to realize a similar process. Specifically, for example, the same face detection process is applied from the image data to the reference processing model described with reference to FIGS. 3 and 4 to detect a human face. The detection processing is executed in parallel.

図5は、派生処理モデルの一例を示す図である。図5に示すように、本実施形態における派生処理モデルは、まず、基準処理モデルと同一のフィルタ処理モジュール301が含まれている。続いて派生処理モデルにおいては、図5に示すようにフィルタ処理された画像データが、10個の部分顔検出処理モジュール601に入力される。   FIG. 5 is a diagram illustrating an example of the derivation processing model. As shown in FIG. 5, the derivation processing model in the present embodiment first includes the same filter processing module 301 as the reference processing model. Subsequently, in the derivation processing model, the filtered image data is input to the ten partial face detection processing modules 601 as shown in FIG.

ここで、それぞれの部分顔検出処理モジュール601a〜601jは、図6(a)に示すように、画像データの縦方向に連続する10ピクセルの画素位置を顔検出小領域の中心位置とする顔検出処理を並列に実行する。それぞれの部分顔検出処理モジュール601a〜601jにおいて、小領域から顔を検出した結果(顔が検出された画像上の座標)は、データ統合モジュール602に入力される。   Here, as shown in FIG. 6A, each of the partial face detection processing modules 601a to 601j performs face detection with the pixel position of 10 pixels continuous in the vertical direction of the image data as the center position of the face detection subregion. Perform processing in parallel. In each of the partial face detection processing modules 601a to 601j, the result of detecting the face from the small area (coordinates on the image where the face is detected) is input to the data integration module 602.

なお、図6に示す派生処理モデルにおける部分顔検出処理モジュール601に対しては、作成者により事前に"(2)列方向並列"という処理モジュール属性が設定されているものとする。また、派生処理モデルにおけるデータ統合モジュール602に対しては、作成者により事前に"(3)列方向統合"という処理モジュール属性が設定されているものとする。さらに、本派生処理モデルは、テストデータが対応付け管理されていないものとする。   Note that it is assumed that the processing module attribute “(2) parallel in the column direction” is set in advance by the creator for the partial face detection processing module 601 in the derivation processing model shown in FIG. Further, it is assumed that the processing module attribute “(3) column direction integration” is set in advance by the creator for the data integration module 602 in the derived processing model. Furthermore, in this derivation processing model, it is assumed that the test data is not associated and managed.

データ統合モジュール602においては、顔が検出された画素位置の座標データが、部分顔検出処理モジュール601a〜601jの順番(図6(a)において矢印で示された順番)に配列データに格納される。なお、データ統合モジュール602は、部分顔検出処理モジュールから入力されたデータがNULL以外の値を持つ場合に、入力データを配列データに順番に格納する機能を有する。複数の部分顔検出処理モジュールからNULL以外の値を持つ入力があった場合には、部分顔検出処理モジュール601a〜601jの順番で配列データに格納する。   In the data integration module 602, the coordinate data of the pixel position where the face is detected is stored in the array data in the order of the partial face detection processing modules 601a to 601j (the order indicated by the arrows in FIG. 6A). . Note that the data integration module 602 has a function of sequentially storing input data in array data when the data input from the partial face detection processing module has a value other than NULL. If there is an input having a value other than NULL from a plurality of partial face detection processing modules, the partial face detection processing modules 601a to 601j are stored in the array data in the order.

以上の処理を画像の縦一列分(本実施形態の場合は、150ピクセル÷10ピクセル=15回)繰り返すと、右隣の列に移り同様の処理を繰り返す。そして、以上の処理を全ての画像データの列に対して実行したら(すなわち画像全体の顔検出処理が完了したら)、データ統合モジュール602は検出結果が格納された配列データを出力する。   When the above processing is repeated for one vertical column of an image (in the case of the present embodiment, 150 pixels / 10 pixels = 15 times), the processing moves to the right adjacent column and the same processing is repeated. When the above processing is executed for all the image data columns (that is, when the face detection processing for the entire image is completed), the data integration module 602 outputs array data in which the detection results are stored.

ここで、例えば図6(b)に示す例では、画像中の4か所で顔が検出されているが、派生処理モデルにおいて顔検出処理結果が出力データの配列に格納される順番は、図6(b)に示すような順番となる。この順番は、図4(b)に示す順番とは異なっており、基準処理モデルにおけるラスタスキャン方向とは異なることが分かる。   Here, for example, in the example shown in FIG. 6B, faces are detected at four locations in the image, but the order in which the face detection processing results are stored in the output data array in the derivation processing model is shown in FIG. The order is as shown in FIG. This order is different from the order shown in FIG. 4B, and it can be seen that the order is different from the raster scan direction in the reference processing model.

続いて、図1に示した本実施形態におけるテストデータの変換処理に係る各部の処理手順に関して説明する。前述したように、本実施形態におけるテストデータ変換ツールは、図形プログラミングアプリケーションソフトの一部として実行される。ユーザは、事前に作成済みの基準処理モデルに対して、前述した派生処理モデルを作成したものとする。また、以下の処理を行う前に、該当する基準処理モデルをデータベース6から予め取得しているものとする。   Next, the processing procedure of each unit related to the test data conversion processing in the present embodiment shown in FIG. 1 will be described. As described above, the test data conversion tool in this embodiment is executed as a part of graphic programming application software. It is assumed that the user has created the derivation process model described above with respect to the reference process model that has been created in advance. In addition, it is assumed that the corresponding reference processing model is acquired in advance from the database 6 before performing the following processing.

まず、派生処理モデルが誤りなく実装されているか否かを判定するために、テストを実行する。ここで、派生処理モデルはテストデータが対応付け管理されていないため、基準処理モデルのテストデータに対してテストデータ変換ツールにより変換処理を実行し、派生処理モデルに対応したテストデータを作成する。   First, a test is executed to determine whether or not the derivation processing model is implemented without error. Here, since test data is not managed in association with the derivation process model, the test data conversion tool executes conversion processing on the test data of the reference process model to create test data corresponding to the derivation process model.

テストデータ変換ツールにおいて、まず、処理モデル相違検出部101は、ユーザにより指定された基準処理モデルと派生処理モデルとの間の処理モデルの相違を検出する。本実施形態の場合は、基準処理モデルと派生処理モデルとを入力端子から順に処理モジュールを辿って行き、接続する処理モジュールの結合リストを作成する。基準処理モデルから作成した結合リストを図7(c)に示し、また、派生処理モデルから作成した結合リストを図7(d)に示す。   In the test data conversion tool, first, the process model difference detection unit 101 detects a process model difference between the reference process model specified by the user and the derived process model. In the case of this embodiment, the reference processing model and the derived processing model are traced in order from the input terminal to the processing module, and a combined list of processing modules to be connected is created. FIG. 7C shows a combined list created from the reference processing model, and FIG. 7D shows a combined list created from the derived processing model.

ここで、図7(c)の結合リストによれば、フィルタ処理モジュールと顔検出処理モジュールとが直列に接続されていることが分かり、処理モデルの情報として、図7(a)に示す処理モジュールのリストが作成される。   Here, according to the combined list in FIG. 7C, it can be seen that the filter processing module and the face detection processing module are connected in series. As processing model information, the processing module shown in FIG. Is created.

一方、図7(d)の結合リストによれば、フィルタ処理モジュールの後段に部分顔検出モジュールが複数接続されており、複数の部分顔検出処理モジュールのそれぞれの出力がデータ統合モジュールに接続されていることが分かる。また、それぞれの部分顔検出処理モジュールは同一種類の処理モジュールであり、1つのフィルタ処理モジュールの出力を入力として共有し、かつ1つの部分顔検出処理モジュールに対して結合する。このことから、同一処理を実行するグループとしてグルーピングされる。結果として、派生処理モデルに対する処理モデルの情報として、図7(b)に示す処理モジュールのリストが作成される。   On the other hand, according to the combined list of FIG. 7 (d), a plurality of partial face detection modules are connected after the filter processing module, and outputs of the plurality of partial face detection processing modules are connected to the data integration module. I understand that. Each partial face detection processing module is the same type of processing module, shares the output of one filter processing module as an input, and is coupled to one partial face detection processing module. From this, it is grouped as a group that executes the same processing. As a result, a list of processing modules shown in FIG. 7B is created as processing model information for the derived processing model.

図3及び図5に示すように、それぞれの処理モデルはトポロジーおよび処理モジュール属性が互いに異なっており、処理モデルの相違は、処理モジュールのリストの相違として検出される。すなわち本工程においては、図7(a)および図7(b)に示すリストを比較することにより、以下のように両方の処理モデルの相違点が検出される。   As shown in FIGS. 3 and 5, the respective processing models have different topologies and processing module attributes, and the difference between the processing models is detected as a difference between the processing module lists. That is, in this step, the difference between the two processing models is detected as follows by comparing the lists shown in FIGS. 7A and 7B.

まず、フィルタ処理モジュールに関しては、両方のリストのデータが同一のため、相違点は検出されない。続いて、基準処理モデルは顔検出処理モジュールを有しており、処理カテゴリーが検出処理であり、検出対象が顔であり、検出方向がラスタスキャンと設定されている。   First, regarding the filtering module, since the data in both lists is the same, no difference is detected. Subsequently, the reference processing model has a face detection processing module, the processing category is detection processing, the detection target is a face, and the detection direction is set to raster scan.

これに対して、派生処理モデルは部分顔検出処理モジュールを10個有しており、処理カテゴリーが検出処理であり、検出対象が顔であることは基準処理モデルと同一である。ところが、検出方向(処理モジュール属性)が基準処理モデルと異なり列方向スキャンと設定されている。さらに派生処理モデルは、基準処理モデルが有していないデータ統合モジュールを1個含んでいることが分かる。   On the other hand, the derivation processing model has ten partial face detection processing modules, the processing category is detection processing, and the detection target is a face, which is the same as the reference processing model. However, unlike the reference processing model, the detection direction (processing module attribute) is set to the column direction scan. Further, it can be seen that the derived processing model includes one data integration module that the reference processing model does not have.

したがって、顔検出処理モジュール及び部分顔検出処理モジュールの処理カテゴリーが検出処理として同一であり、さらに処理モデルの相違が、処理モジュール属性、処理モジュール数、接続モジュール数の相違として検出される。   Therefore, the processing categories of the face detection processing module and the partial face detection processing module are the same as the detection processing, and further, a difference in processing model is detected as a difference in processing module attributes, the number of processing modules, and the number of connected modules.

続いて、テストデータ変換ツールにおいて、図1に示す検索部102による処理が実行される。検索部102は、前述したように検出した処理モデルの相違および処理モジュールの処理カテゴリーを検索キーとして、辞書手段からテストデータの変換処理方法を検索する。   Subsequently, in the test data conversion tool, processing by the search unit 102 shown in FIG. 1 is executed. The retrieval unit 102 retrieves a test data conversion processing method from the dictionary unit using the detected processing model difference and the processing module processing category detected as described above as search keys.

ここで、辞書手段に関して説明する。本実施形態における辞書手段は、図8に示すように、処理モデルの相違を検索キーとして保持し、それぞれの処理モデルの相違に対応するテストデータの変換処理方法をバリューとして保持する辞書として構成される。   Here, the dictionary means will be described. As shown in FIG. 8, the dictionary means in this embodiment is configured as a dictionary that holds differences in processing models as search keys and holds test data conversion processing methods corresponding to the differences in the respective processing models as values. The

ここで検索キーは、基準処理モデルと派生処理モデルとで共通する"検出処理"というラベルと、前述したそれぞれの処理モデルで相違する、処理モジュール属性、処理モジュール数、及び接続モジュール数とを羅列したデータとして記述されている。また、前述したように、派生処理モデルは基準処理モデルが有していないデータ統合モジュールを有しているが、この点に関しても処理モデルの相違事項として、図8に示すように派生処理モデルの検索キー欄に順に記述される。   Here, the search key enumerates the label “detection process” that is common to the reference process model and the derived process model, and the process module attribute, the number of process modules, and the number of connected modules that are different in each process model described above. It is described as data. Further, as described above, the derivation processing model has a data integration module that the reference processing model does not have. However, in this respect as well, as shown in FIG. The search key fields are described in order.

なお、前述した処理カテゴリーに関する"検出処理"というラベルは、それぞれの処理モデルに関する相違点ではない。ところが、本実施形態で示す顔検出処理の処理方向の相違は、画像に対する検出処理全般に適用可能であるため、検索キーに汎用性を持たせるために情報として付加している。   Note that the label “detection process” related to the process category described above is not a difference regarding each process model. However, the difference in the processing direction of the face detection processing shown in the present embodiment can be applied to the entire detection processing for images, and is added as information in order to make the search key versatile.

なお、辞書手段は、PC4において不図示のハードディスク等の記憶媒体に保持されているものとするが、データベース6に保持されているものとしてもよい。また、辞書手段は、一般的なデータベースと同様に、検索キー(処理モデルの相違)が入力されると、それに対応するバリュー(所定の処理モデルのID)を出力する辞書としての機能を有する。したがって、検索処理において、処理モデルの相違を検索キーとして辞書手段に入力することにより、処理モデルの相違に対応する所定の処理モデルのIDの情報を得ることができる。   Note that the dictionary means is held in a storage medium such as a hard disk (not shown) in the PC 4, but may be held in the database 6. Similarly to a general database, the dictionary means has a function as a dictionary that outputs a value (ID of a predetermined processing model) corresponding to a search key (difference in processing model) when it is input. Accordingly, in the search process, information on the ID of a predetermined process model corresponding to the difference between the process models can be obtained by inputting the difference between the process models to the dictionary unit as a search key.

本実施形態において辞書手段に保持されている所定の処理モデルのIDの情報は、具体的には、基準処理モデルに対応付けられたテストデータに対する処理内容を実行する機能を有する処理モデルのIDを表したものである。辞書のバリューとしてIDが登録されている処理モデルは、前記テストデータを入力し、変換後のテストデータを出力する、テストデータの変換を行う処理モデル(以下、変換処理モデルとする)として定義されている。   In the present embodiment, the information on the ID of the predetermined processing model held in the dictionary means is specifically the ID of the processing model having the function of executing the processing content for the test data associated with the reference processing model. It is a representation. A processing model in which an ID is registered as a dictionary value is defined as a processing model for inputting test data, outputting test data after conversion, and converting test data (hereinafter referred to as a conversion processing model). ing.

以上のように、処理モデルの相違(例えば処理モジュール属性、処理モジュール数、接続モジュール数)を検索キーとして辞書手段に入力されると、図8に示すように検索キーに一致するID−abcとして登録された変換処理モデルが検索される。   As described above, when a difference between processing models (for example, processing module attributes, number of processing modules, number of connected modules) is input to the dictionary means as a search key, ID-abc matching the search key as shown in FIG. The registered conversion processing model is searched.

続いて、テストデータ変換ツールにおいて、図1に示す変換処理部103による処理が実行される。変換処理部103は、検索したIDに対応する変換処理モデルによって、基準処理モデルのテストデータを派生処理モデルに対応したテストデータに変換する。   Subsequently, in the test data conversion tool, processing by the conversion processing unit 103 shown in FIG. 1 is executed. The conversion processing unit 103 converts the test data of the reference processing model into test data corresponding to the derived processing model by using the conversion processing model corresponding to the searched ID.

前述したように検索されたID−abcの変換処理モデルは、図9に示すように、配列順序変換処理モジュール1001より構成される処理モデルとして登録されている。配列順序変換処理モジュール1001は、基準処理モデルの出力データに対応する配列データを入力し、入力された配列データの要素の順番を派生処理モデルの出力データに対応する配列データの要素の順番に変換する。すなわち、配列順序変換処理モジュール1001は、基準処理モデルに対応付けられたテストデータにおける正解データを入力した場合に、派生処理モデルのテストデータにおける正解データを出力するように設計されている。   The ID-abc conversion processing model searched as described above is registered as a processing model including the array order conversion processing module 1001 as shown in FIG. The array order conversion processing module 1001 inputs array data corresponding to the output data of the reference processing model, and converts the order of the elements of the input array data into the order of the elements of the array data corresponding to the output data of the derivation processing model. To do. That is, the array order conversion processing module 1001 is designed to output correct data in the test data of the derived processing model when correct data in the test data associated with the reference processing model is input.

具体的には、基準処理モデルにおいては、ラスタスキャン方向で検出処理を実行するため、図4(b)に示したように、検出位置を示す画像上でのアドレスデータが、y座標を優先した順番で配列データに格納されている。これに対し派生処理モデルでは、列方向優先で検出処理を実行するため、検出位置を示す画像上でのアドレスデータは、図6(b)に示したように、x座標を優先した順番で配列データに格納される。   Specifically, in the reference processing model, since the detection process is executed in the raster scan direction, as shown in FIG. 4B, the address data on the image indicating the detection position prioritizes the y coordinate. They are stored in sequence data in order. On the other hand, in the derivation processing model, since the detection process is executed with priority in the column direction, the address data on the image indicating the detection position is arranged in the order in which the x coordinate is prioritized as shown in FIG. Stored in the data.

そこで、本実施形態における変換処理モデルでは、入力された、配列データに格納されたアドレスデータを列方向検出処理に対応するようx座標を優先した順番でソートする。結果として、本実施形態では、変換処理部103により、基準処理モデルに対応付けられたテストデータにおける正解データが、図9に示すように派生処理モデルに対応する正解データに変換される。   Therefore, in the conversion processing model in the present embodiment, the input address data stored in the array data is sorted in the order in which the x coordinate is prioritized so as to correspond to the column direction detection processing. As a result, in this embodiment, the conversion processing unit 103 converts the correct data in the test data associated with the reference processing model into correct data corresponding to the derived processing model as shown in FIG.

すなわち前述したように、テストデータが対応付けられた基準処理モデルが存在し、かつ基準処理モデルを元にして、事前に辞書に登録されている検索キー(処理モデルの相違)に一致する派生処理モデルをユーザが新規作成する。この場合に、ユーザは派生処理モデルに対応するテストデータを基準処理モデルに対応するテストデータから生成することが可能となる。   That is, as described above, there is a reference processing model associated with the test data, and a derivation process that matches a search key (difference in processing model) registered in the dictionary in advance based on the reference processing model. A user creates a new model. In this case, the user can generate test data corresponding to the derived processing model from the test data corresponding to the reference processing model.

以上説明したように本実施形態におけるテストデータ変換ツールにより、事前にテストデータが対応付けられた処理モデル(基準処理モデル)が存在する場合に、新規に作成した処理モデルに対するテストデータの新規作成の手間が軽減される。すなわち、ユーザが前記処理モデルを元にして、辞書に登録済みの処理モデルの相違を有する処理モデル(派生処理モデル)を新たに作成した場合、派生処理モデルに対するテストデータを自動的に生成することが可能となる。   As described above, when there is a processing model (reference processing model) associated with the test data in advance by the test data conversion tool in the present embodiment, a new test data is created for the newly created processing model. Time and effort is reduced. That is, when a user newly creates a processing model (derivative processing model) having a difference between processing models registered in the dictionary based on the processing model, test data for the derived processing model is automatically generated. Is possible.

(第2の実施形態)
以下、図面を参照しながら本発明の第2の実施形態を説明する。本実施形態におけるテストデータ変換ツールでは、基準処理モデルと派生処理モデルとの相違として、入力端子及び出力端子のデータサイズと処理モジュール属性とが検出される点が異なっている。また、それに伴い、テストデータの変換処理も異なっている。以下、本実施形態では、第1の実施形態と異なる点についてのみ説明し、共通する部分については説明を省略する。また、本実施形態に係るシステム構成及びPCの機能構成についても第1の実施形態と同様であるため、説明は省略する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. The test data conversion tool according to the present embodiment is different in that the data size of the input terminal and the output terminal and the processing module attribute are detected as a difference between the reference processing model and the derived processing model. Accordingly, the test data conversion process is also different. Hereinafter, in the present embodiment, only differences from the first embodiment will be described, and description of common parts will be omitted. Further, the system configuration and the functional configuration of the PC according to the present embodiment are the same as those in the first embodiment, and thus description thereof is omitted.

本実施形態における基準処理モデルは、1つのフィルタ処理モジュールから構成されている。このフィルタ処理モジュールは、画像データが入力されると、画像データに対してフィルタ処理を実行した後に、フィルタ処理が適用された画像データを出力する。すなわち、の基準処理モデル全体として、入力された画像データに対してフィルタ処理を実行し、フィルタ処理が適用された処理結果データを出力する処理を実行する。   The reference processing model in the present embodiment is composed of one filter processing module. When image data is input, the filter processing module performs filter processing on the image data and then outputs image data to which the filter processing has been applied. That is, as the entire reference processing model, a filtering process is performed on the input image data, and a process of outputting processing result data to which the filtering process is applied is performed.

ここで、前述したフィルタ処理モジュールにおいて実行される処理に関してさらに詳細に説明する。フィルタ処理モジュールにおいては、図10(a)に示す3×3ピクセルのカーネル1201で表されるフィルタ演算が実行される。なお、図10においては、入力される画像データの一部を示している。この時、例えば図10(b)に示すように画像1202中の一部の画素値がa〜iの値である場合にフィルタ処理を適用すると、eの画素値を有する画素位置におけるフィルタ演算値Eは以下の式(1)により算出される。
E=−a−2b−c+g+2h+i ・・・(1)
Here, the processing executed in the above-described filter processing module will be described in more detail. In the filter processing module, a filter operation represented by a 3 × 3 pixel kernel 1201 shown in FIG. In FIG. 10, a part of the input image data is shown. At this time, for example, as illustrated in FIG. 10B, when the filter processing is applied when some of the pixel values in the image 1202 are values of a to i, the filter calculation value at the pixel position having the pixel value of e E is calculated by the following equation (1).
E = −a−2b−c + g + 2h + i (1)

フィルタ処理モジュールでは、入力された画像データの全面に対して上記フィルタ処理を実行し、処理結果をフィルタ処理が施された画像データとして出力する。なお、本実施形態においては、画像の外枠上の画素に対するフィルタ処理では、図10(c)に示すようにカーネル1201が画像1202(図10(c)には、画像データの左上角付近を示している。)からはみ出る部分の画素値を0として演算を行う。そして、出力される画像データの画像サイズは、入力された画像データのサイズと一致するようにする。また、フィルタ処理モジュールに対しては、作成者により事前に"(4)画像単位処理"という処理モジュール属性が設定されているものとする。   The filter processing module executes the filter processing on the entire surface of the input image data, and outputs the processing result as the image data subjected to the filter processing. In this embodiment, in the filtering process for the pixels on the outer frame of the image, as shown in FIG. 10C, the kernel 1201 is displayed in the vicinity of the upper left corner of the image data in the image 1202 (FIG. 10C). The calculation is performed with the pixel value of the portion protruding from 0) being zero. The image size of the output image data is made to match the size of the input image data. Further, it is assumed that the processing module attribute “(4) Image unit processing” is set in advance by the creator for the filter processing module.

続いて、基準処理モデルに対して対応付け管理されるテストデータに関して説明する。本実施形態におけるテストデータは、入力データの画像データとともに、前記画像データに対して上述したカーネルによるフィルタ演算を適用した場合の演算結果である画像データが正解データとして用意されている。なお、正解データは、処理モデルにより算出されたものではなく、事前に算出されたものとする。本実施形態における基準処理モデルは、以上説明したようにテストデータが対応付け管理されており、また、誤りなく実装されていることが保証されているものとする。   Next, test data that is managed in association with the reference processing model will be described. In the test data in this embodiment, together with the image data of the input data, image data that is a calculation result when the above-described filter calculation by the kernel is applied to the image data is prepared as correct data. Note that the correct answer data is not calculated by the processing model, but is calculated in advance. In the reference processing model according to the present embodiment, it is assumed that the test data is associated and managed as described above, and that it is guaranteed that the test processing is implemented without error.

続いて、派生処理モデルについて説明する。本実施形態における派生処理モデルは、8画素単位フィルタ処理モジュールで構成され、前述した基準処理モデルと比較して、画像データに対して式(1)で示されるフィルタ処理を実行する点は同様である。一方、入力されるデータのサイズが異なっている。すなわち、基準処理モデルにおいては、入力データのサイズは画像サイズであるのに対して、派生処理モデルにおいては、入力データのサイズは、フィルタ処理対象となる3×10画素サイズである。   Next, the derivation process model will be described. The derivation processing model in the present embodiment is composed of an 8-pixel unit filter processing module, and is similar to the above-described reference processing model in that the filter processing represented by Expression (1) is performed on image data. is there. On the other hand, the size of the input data is different. That is, in the reference processing model, the size of the input data is the image size, whereas in the derived processing model, the size of the input data is a 3 × 10 pixel size to be filtered.

3×10画素サイズは、8画素分のフィルタ処理を実行するために必要な入力画素サイズであり、派生処理モデルの出力データの画素サイズは8画素となる。なお、画像の外枠上の画素に対するフィルタ処理に関しては、基準処理モデルと同様に、カーネルが画像からはみ出る部分の画素値を0として演算を行う。すなわち、入力される3×10画素データに関して、画像からはみ出る部分の画素値として0が代入される。また、派生処理モデルにおける8画素単位フィルタ処理モジュールに対しては、作成者により事前に"(5)8画素単位処理"という処理モジュール属性が設定されているものとする。そして、派生処理モデルは、テストデータが対応付け管理されていないものとする。   The 3 × 10 pixel size is an input pixel size necessary for executing the filter processing for 8 pixels, and the pixel size of the output data of the derivation processing model is 8 pixels. As for the filter processing for pixels on the outer frame of the image, the calculation is performed with the pixel value of the portion where the kernel protrudes from the image as 0, as in the reference processing model. That is, with respect to the input 3 × 10 pixel data, 0 is substituted as the pixel value of the portion that protrudes from the image. Further, it is assumed that the processing module attribute “(5) 8-pixel unit processing” is set in advance by the creator for the 8-pixel unit filter processing module in the derived processing model. In the derivation processing model, it is assumed that test data is not associated and managed.

続いて、本実施形態におけるテストデータ変換ツールについて説明する。第1の実施形態と同様に、本実施形態におけるテストデータ変換ツールは、図形プログラミングアプリケーションソフトの一部として実行される。ユーザは、事前に作成済みの基準処理モデルに対して、前述した派生処理モデルを作成したものとする。   Next, the test data conversion tool in this embodiment will be described. Similar to the first embodiment, the test data conversion tool in this embodiment is executed as part of graphic programming application software. It is assumed that the user has created the derivation process model described above with respect to the reference process model that has been created in advance.

まず、テストデータ変換ツールにおいて、処理モデル相違検出部101は、ユーザにより指定された基準処理モデルと派生処理モデルとの間の処理モデルの相違を検出する。本実施形態の場合も同様に、接続する処理モジュールのリストを作成する。図11(a)及び図11(b)は、基準処理モデル及び派生処理モデルから作成される処理モジュールのリストの一例を示している。   First, in the test data conversion tool, the process model difference detection unit 101 detects a process model difference between the reference process model and the derived process model specified by the user. Similarly, in this embodiment, a list of processing modules to be connected is created. FIG. 11A and FIG. 11B show an example of a list of processing modules created from the reference processing model and the derived processing model.

ここで、図11(a)及び図11(b)に示すように、両方の処理モデルは、処理モジュール属性と、入力および出力データサイズとが異なっており、処理モデルの相違は、処理モジュールのリストの相違として検出される。具体的には、図11(a)及び図11(b)より、まず、(4)画像単位処理と(5)8画素単位処理とが処理モジュール属性の相違として検出される。そして、画像サイズと3×10画素サイズとが入力データサイズの相違として検出され、画像サイズと8画素サイズとが出力データサイズの相違として検出される。   Here, as shown in FIG. 11A and FIG. 11B, both processing models have different processing module attributes and input and output data sizes. Detected as a list difference. Specifically, from FIG. 11A and FIG. 11B, first, (4) image unit processing and (5) 8-pixel unit processing are detected as differences in processing module attributes. Then, the image size and the 3 × 10 pixel size are detected as the difference in the input data size, and the image size and the 8-pixel size are detected as the difference in the output data size.

続いて、テストデータ変換ツールにおいて、図1に示す検索部102による処理が実行される。検索部102は、第1の実施形態と同様に、処理モデルの相違を検索キーとして、辞書手段からテストデータの変換処理方法を検索する。処理モデルの相違(処理モジュール属性、入力および出力データサイズ)を検索キーとして入力した場合、図12に示すように検索キーに一致するテストデータ変換処理方法として、ID−defとして登録された変換処理モデルが検索される。   Subsequently, in the test data conversion tool, processing by the search unit 102 shown in FIG. 1 is executed. Similar to the first embodiment, the search unit 102 searches the dictionary means for a test data conversion processing method using the difference between the processing models as a search key. When a processing model difference (processing module attribute, input and output data size) is input as a search key, as a test data conversion processing method matching the search key as shown in FIG. 12, conversion processing registered as ID-def The model is searched.

続いて、テストデータ変換ツールにおいて、図1に示す変換処理部103による処理が実行される。変換処理部103では、検索した変換処理モデルに基づいて、基準処理モデルのテストデータを派生処理モデルに対応したテストデータに変換する。   Subsequently, in the test data conversion tool, processing by the conversion processing unit 103 shown in FIG. 1 is executed. The conversion processing unit 103 converts the test data of the reference processing model into test data corresponding to the derived processing model based on the searched conversion processing model.

前述したように検索されたID−defの変換処理モデルは、図13に示すように、画像データ変換処理モジュール1601より構成される処理モデルとして登録されている。画像データ変換処理モジュール1601は、基準処理モデルの入力データまたは出力データに相当する画像データを入力し、派生処理モデルの入力データまたは出力データに相当する画像データを出力する。すなわち、画像データ変換処理モジュール1601は、基準処理モデルに対応付けられたテストデータを入力した場合に、派生処理モデルのテストデータを出力するように設計されている。   The ID-def conversion processing model searched as described above is registered as a processing model including the image data conversion processing module 1601 as shown in FIG. The image data conversion processing module 1601 inputs image data corresponding to the input data or output data of the reference processing model, and outputs image data corresponding to the input data or output data of the derivation processing model. In other words, the image data conversion processing module 1601 is designed to output test data of a derived processing model when test data associated with a reference processing model is input.

具体的には、入力されたテストデータにおける画像データから、3×10画素サイズのデータを切り出す処理を実行し、入力されたテストデータにおける正解画像データから、1×8画素サイズの正解データを抽出する(切り出す)処理を実行する。切り出す処理においては、図13に示すように、画像の左上に位置する画像を切り出す。結果として本実施形態では、変換処理部103は、基準処理モデルに対応付けられたテストデータにおける入力データおよび正解データを、図13に示すように派生処理モデルに対応する入力データおよび正解データに変換する。   Specifically, a process of cutting out data of 3 × 10 pixel size from the image data in the input test data is executed, and correct data of 1 × 8 pixel size is extracted from the correct image data in the input test data Execute (cut out) processing. In the cutting process, as shown in FIG. 13, the image located at the upper left of the image is cut out. As a result, in the present embodiment, the conversion processing unit 103 converts the input data and correct data in the test data associated with the reference processing model into input data and correct data corresponding to the derived processing model as shown in FIG. To do.

以上説明したように本実施形態におけるテストデータ変換ツールにより、事前にテストデータが対応付けられた処理モデル(基準処理モデル)が存在する場合に、新規に作成した処理モデルに対するテストデータの新規作成の手間が軽減される。すなわち、ユーザが前記処理モデルを元にして、辞書に登録済みの処理モデルの相違を有する処理モデル(派生処理モデル)を新たに作成した場合、派生処理モデルに対するテストデータを自動的に生成することが可能となる。   As described above, when there is a processing model (reference processing model) associated with the test data in advance by the test data conversion tool in the present embodiment, a new test data is created for the newly created processing model. Time and effort is reduced. That is, when a user newly creates a processing model (derivative processing model) having a difference between processing models registered in the dictionary based on the processing model, test data for the derived processing model is automatically generated. Is possible.

(第3の実施形態)
以下、図面を参照しながら本発明の第3の実施形態を説明する。本実施形態におけるテストデータ変換ツールでは、基準処理モデルと派生処理モデルとの相違として、処理モジュール属性がパディング処理の有無として検出される点が異なっている。また、それに伴い、テストデータの変換処理も異なっている。以下、本実施形態では、第1の実施形態と異なる点についてのみ説明し、共通する部分については説明を省略する。また、本実施形態に係るシステム構成及びPCの機能構成についても第1の実施形態と同様であるため、説明は省略する。
(Third embodiment)
The third embodiment of the present invention will be described below with reference to the drawings. The test data conversion tool according to this embodiment is different in that the processing module attribute is detected as the presence or absence of padding processing as a difference between the reference processing model and the derived processing model. Accordingly, the test data conversion process is also different. Hereinafter, in the present embodiment, only differences from the first embodiment will be described, and description of common parts will be omitted. Further, the system configuration and the functional configuration of the PC according to the present embodiment are the same as those in the first embodiment, and thus description thereof is omitted.

本実施形態における基準処理モデルは、1つのフィルタ処理モジュールから構成されている。フィルタ処理モジュールは、画像データが入力されると、画像データに対してフィルタ処理を実行した後に、フィルタ処理が適用された画像データを出力する。すなわち、基準処理モデル全体として、入力された画像データに対してフィルタ処理を実行し、フィルタ処理が適用された処理結果データを出力する処理を実行する。   The reference processing model in the present embodiment is composed of one filter processing module. When the image data is input, the filter processing module performs the filter processing on the image data and then outputs the image data to which the filter processing is applied. That is, as a whole reference processing model, a filtering process is performed on input image data, and a process of outputting processing result data to which the filtering process is applied is performed.

なお、フィルタ処理モジュールによるフィルタ処理の概要は図10に示したように第2の実施形態と同様であり、フィルタ処理モジュールにおいて実行される演算処理は、第2の実施形態と同様に、式(1)を用いて行われる。フィルタ処理モジュールでは、入力された画像データの全面に対して上記フィルタ処理を実行し、処理結果をフィルタ処理が施された画像データとして出力する。フィルタ処理モジュールに対しては、作成者により事前に"(6)パディング0"という処理モジュール属性が設定されているものとする。さらに、基準処理モデルに対して対応付け管理されるテストデータに関しても第2の実施形態と同様であり、本実施形態における基準処理モデルは、テストデータが対応付け管理されており、また誤りなく実装されていることが保証されているものとする。   The outline of the filter processing by the filter processing module is the same as that of the second embodiment as shown in FIG. 10, and the arithmetic processing executed in the filter processing module is the same as the formula ( 1). The filter processing module executes the filter processing on the entire surface of the input image data, and outputs the processing result as the image data subjected to the filter processing. It is assumed that the processing module attribute “(6) Padding 0” is set in advance for the filter processing module by the creator. Further, the test data that is managed in association with the reference processing model is the same as in the second embodiment, and the reference processing model in this embodiment is managed in association with the test data and is implemented without error. It is guaranteed that

続いて、派生処理モデルについて説明する。本実施形態における派生処理モデルはパディング無しフィルタ処理モジュールより構成され、前述した基準処理モデルと比較して、画像データに対して式(1)で示されるフィルタ処理を実行する点は同様である。一方、カーネルが画像からはみ出てしまう場合の画像の外周上の画素に対するフィルタ処理を実行しない点が基準処理モデルと異なっている。この結果、出力される画像データの画像サイズは、入力画像のサイズに対して縦サイズ、横サイズともに2画素分小さくなる。   Next, the derivation process model will be described. The derivation processing model in the present embodiment is composed of a non-padding filter processing module, and is similar in that the filter processing represented by Expression (1) is performed on image data as compared with the above-described reference processing model. On the other hand, it is different from the reference processing model in that the filtering process is not performed on the pixels on the outer periphery of the image when the kernel protrudes from the image. As a result, the image size of the output image data is reduced by two pixels for both the vertical size and the horizontal size with respect to the size of the input image.

なお、派生処理モデルを構成するパディング無しフィルタ処理モジュールに対しては、作成者により事前に"(7)パディング無し"という処理モジュール属性が設定されているものとする。そして、派生処理モデルは、テストデータが対応付け管理されていないものとする。   It is assumed that the processing module attribute “(7) no padding” is set in advance by the creator for the filter processing module without padding constituting the derivation processing model. In the derivation processing model, it is assumed that test data is not associated and managed.

続いて、本実施形態におけるテストデータ変換ツールについて説明する。第1の実施形態と同様に、本実施形態におけるテストデータ変換ツールは、図形プログラミングアプリケーションソフトの一部として実行される。ユーザは、事前に作成済みの基準処理モデルに対して、前述した派生処理モデルを作成したものとする。   Next, the test data conversion tool in this embodiment will be described. Similar to the first embodiment, the test data conversion tool in this embodiment is executed as part of graphic programming application software. It is assumed that the user has created the derivation process model described above with respect to the reference process model that has been created in advance.

まず、テストデータ変換ツールにおいて、処理モデル相違検出部101は、ユーザにより指定された基準処理モデルと派生処理モデルとの間の処理モデルの相違を検出する。本実施形態の場合も同様に、接続する処理モジュールのリストを作成する。図14(a)及び図14(b)は、基準処理モデル及び派生処理モデルから作成される処理モジュールのリストの一例を示している。   First, in the test data conversion tool, the process model difference detection unit 101 detects a process model difference between the reference process model and the derived process model specified by the user. Similarly, in this embodiment, a list of processing modules to be connected is created. FIG. 14A and FIG. 14B show an example of a list of processing modules created from the reference processing model and the derived processing model.

ここで、図14(a)及び図14(b)に示すように、両方の処理モデルは、処理モジュール属性が異なっており、処理モデルの相違は、処理モジュールのリストの相違として検出される。本実施形態の場合は、図14(a)及び図14(b)に示したように、相違点が処理モジュール属性として検出される。   Here, as shown in FIGS. 14A and 14B, both processing models have different processing module attributes, and a difference between the processing models is detected as a difference between the processing module lists. In the case of the present embodiment, as shown in FIGS. 14A and 14B, a difference is detected as a processing module attribute.

続いて、テストデータ変換ツールにおいて、図1に示す検索部102による処理が実行される。検索部102は、第1の実施形態と同様に、処理モデルの相違を検索キーとして、辞書手段からテストデータの変換処理方法を検索する。処理モデルの相違(処理モジュール属性)を検索キーとして入力した場合、図15に示すように検索キーに一致するテストデータの変換処理方法として、ID−ghiとして登録された変換処理モデルが検索される。   Subsequently, in the test data conversion tool, processing by the search unit 102 shown in FIG. 1 is executed. Similar to the first embodiment, the search unit 102 searches the dictionary means for a test data conversion processing method using the difference between the processing models as a search key. When the processing model difference (processing module attribute) is input as a search key, as shown in FIG. 15, a conversion processing model registered as ID-ghi is searched as a test data conversion processing method that matches the search key. .

続いて、テストデータ変換ツールにおいて、図1に示す変換処理部103による処理が実行される。変換処理部103では、検索した変換処理モデルに基づいて、基準処理モデルのテストデータを派生処理モデルに対応したテストデータに変換する。   Subsequently, in the test data conversion tool, processing by the conversion processing unit 103 shown in FIG. 1 is executed. The conversion processing unit 103 converts the test data of the reference processing model into test data corresponding to the derived processing model based on the searched conversion processing model.

前述したように検索されたID−ghiの変換処理モデルは、図16に示すように、画像データ変換処理モジュール2101より構成される処理モデルとして登録されている。画像データ変換処理モジュール2101は、基準処理モデルの出力データに相当する画像データを入力し、入力された画像データから画像の外周上の画素を取り除いた画像データを出力する。すなわち、画像データ変換処理モジュール2101は、基準処理モデルに対応付けられたテストデータにおける正解データを入力した場合に、派生処理モデルのテストデータにおける正解データを出力するように設計されている。   The ID-ghi conversion processing model searched as described above is registered as a processing model including the image data conversion processing module 2101 as shown in FIG. The image data conversion processing module 2101 receives image data corresponding to the output data of the reference processing model, and outputs image data obtained by removing pixels on the outer periphery of the image from the input image data. That is, the image data conversion processing module 2101 is designed to output correct data in the test data of the derived processing model when correct data in the test data associated with the reference processing model is input.

具体的には、入力された正解データから、画像の外周上の画素の範囲を取り除いた画像データを抽出する(切り出す)処理を実行する。結果として本実施形態では、変換処理部103は、基準処理モデルに対応付けられたテストデータにおける正解データを、図16に示すように派生処理モデルに対応する正解データに変換する。   Specifically, a process of extracting (cutting out) image data obtained by removing a range of pixels on the outer periphery of the image from the input correct answer data is executed. As a result, in the present embodiment, the conversion processing unit 103 converts the correct answer data in the test data associated with the reference process model into correct answer data corresponding to the derived process model as shown in FIG.

以上説明したように本実施形態におけるテストデータ変換ツールにより、事前にテストデータが対応付けられた処理モデル(基準処理モデル)が存在する場合に、新規に作成した処理モデルに対するテストデータの新規作成の手間が軽減される。すなわち、ユーザが前記処理モデルを元にして、辞書に登録済みの処理モデルの相違を有する処理モデル(派生処理モデル)を新たに作成した場合、派生処理モデルに対するテストデータを自動的に生成することが可能となる。   As described above, when there is a processing model (reference processing model) associated with the test data in advance by the test data conversion tool in the present embodiment, a new test data is created for the newly created processing model. Time and effort is reduced. That is, when a user newly creates a processing model (derivative processing model) having a difference between processing models registered in the dictionary based on the processing model, test data for the derived processing model is automatically generated. Is possible.

(第4の実施形態)
以下、図面を参照しながら本発明の第4の実施形態を説明する。本実施形態におけるテストデータ変換ツールでは、基準処理モデルと派生処理モデルとの相違として、処理モジュール属性が検出される点が異なっている。また、それに伴い、テストデータの変換処理も異なっている。以下、本実施形態では、第1の実施形態と異なる点についてのみ説明し、共通する部分については説明を省略する。また、本実施形態に係るシステム構成及びPCの機能構成についても第1の実施形態と同様であるため、説明は省略する。
(Fourth embodiment)
The fourth embodiment of the present invention will be described below with reference to the drawings. The test data conversion tool according to this embodiment is different in that a processing module attribute is detected as a difference between the reference processing model and the derived processing model. Accordingly, the test data conversion process is also different. Hereinafter, in the present embodiment, only differences from the first embodiment will be described, and description of common parts will be omitted. Further, the system configuration and the functional configuration of the PC according to the present embodiment are the same as those in the first embodiment, and thus description thereof is omitted.

本実施形態における基準処理モデルは、第1の実施形態において図3に示した基準処理モデルと全く同一の処理モデルであり、フィルタ処理モジュール301と顔検出処理モジュール302との2つの処理モジュールから構成されている。また、基準処理モデルに対して対応付け管理されるテストデータに関しても、第1の実施形態と同様であるものとする。   The reference processing model in the present embodiment is the same processing model as the reference processing model shown in FIG. 3 in the first embodiment, and includes two processing modules, a filter processing module 301 and a face detection processing module 302. Has been. The test data associated and managed with respect to the reference processing model is also the same as in the first embodiment.

続いて、派生処理モデルについて説明する。本実施形態における派生処理モデルは、フィルタ処理モジュール301の後段に列方向顔検出処理モジュールを備えており、前述した基準処理モデルと比較して、画像データに対してフィルタ処理モジュール301による処理を実行する点は同様である。一方、列方向顔検出処理モジュールにおける顔検出処理が異なっている。   Next, the derivation process model will be described. The derivation processing model in this embodiment includes a column-direction face detection processing module at the subsequent stage of the filter processing module 301, and executes processing by the filter processing module 301 on image data as compared with the above-described reference processing model. The point to do is the same. On the other hand, the face detection processing in the row direction face detection processing module is different.

具体的には、基準処理モデルにおける顔検出処理モジュール302では、図4(a)に示すように顔検出処理をラスタスキャン方向に実行する。これに対して、派生処理モデルにおける列方向顔検出処理モジュールでは、図17(a)に示すような方向で処理を実行する。したがって、例えば図17(b)に示すように、画像中の4か所で顔が検出されているが、その4か所のアドレスは、図17(b)に示す順番で配列データに格納される。なお、派生処理モデルにおける列方向顔検出処理モジュールに対しては、作成者により事前に"(8)列方向スキャン"という処理モジュール属性が設定されているものとする。また、派生処理モデルは、テストデータが対応付け管理されていないものとする。   Specifically, the face detection processing module 302 in the reference processing model executes face detection processing in the raster scan direction as shown in FIG. In contrast, the column direction face detection processing module in the derivation processing model executes processing in the direction as shown in FIG. Therefore, for example, as shown in FIG. 17B, faces are detected in four places in the image, but the addresses of the four places are stored in the array data in the order shown in FIG. 17B. The It is assumed that the processing module attribute “(8) column direction scan” is set in advance by the creator for the column direction face detection processing module in the derived processing model. In the derivation processing model, it is assumed that test data is not associated and managed.

続いて、本実施形態におけるテストデータ変換ツールについて説明する。第1の実施形態と同様に、本実施形態におけるテストデータ変換ツールは、図形プログラミングアプリケーションソフトの一部として実行される。ユーザは、事前に作成済みの基準処理モデルに対して、前述した派生処理モデルを作成したものとする。   Next, the test data conversion tool in this embodiment will be described. Similar to the first embodiment, the test data conversion tool in this embodiment is executed as part of graphic programming application software. It is assumed that the user has created the derivation process model described above with respect to the reference process model that has been created in advance.

まず、テストデータ変換ツールにおいて、処理モデル相違検出部101は、ユーザにより指定された基準処理モデルと派生処理モデルとの間の処理モデルの相違を検出する。本実施形態の場合も同様に、接続する処理モジュールのリストを作成する。図18(a)及び図18(b)には、基準処理モデル及び派生処理モデルから作成される処理モジュールのリストの一例を示している。   First, in the test data conversion tool, the process model difference detection unit 101 detects a process model difference between the reference process model and the derived process model specified by the user. Similarly, in this embodiment, a list of processing modules to be connected is created. FIGS. 18A and 18B show an example of a list of processing modules created from the reference processing model and the derived processing model.

ここで、図18(a)及び図18(b)に示すように、両方の処理モデルは、処理モジュール属性が異なっており、処理モデルの相違は、処理モジュールのリストの相違として検出される。本実施形態の場合は、図18(a)及び図18(b)に示したように、相違点が処理モジュール属性として検出される。   Here, as shown in FIG. 18A and FIG. 18B, both processing models have different processing module attributes, and the difference between the processing models is detected as a difference between the processing module lists. In the present embodiment, as shown in FIGS. 18A and 18B, a difference is detected as a processing module attribute.

続いて、テストデータ変換ツールにおいて、図1に示す検索部102による処理が実行される。検索部102は、第1の実施形態と同様に、処理モデルの相違を検索キーとして、辞書手段からテストデータの変換処理方法を検索する。処理モデルの相違(処理モジュールの処理属性)を検索キーとして入力した場合、図19に示すように検索キーに一致するテストデータ変換処理方法として、ID−jklとして登録された変換処理モデルが検索される。   Subsequently, in the test data conversion tool, processing by the search unit 102 shown in FIG. 1 is executed. Similar to the first embodiment, the search unit 102 searches the dictionary means for a test data conversion processing method using the difference between the processing models as a search key. When a difference between processing models (processing module processing attributes) is input as a search key, a conversion processing model registered as ID-jkl is searched as a test data conversion processing method that matches the search key as shown in FIG. The

続いて、テストデータ変換ツールにおいて、図1に示す変換処理部103による処理が実行される。変換処理部103は、検索した変換処理モデルに基づいて、基準処理モデルのテストデータを派生処理モデルに対応したテストデータに変換する。   Subsequently, in the test data conversion tool, processing by the conversion processing unit 103 shown in FIG. 1 is executed. The conversion processing unit 103 converts the test data of the reference processing model into test data corresponding to the derived processing model based on the searched conversion processing model.

前述したように検索されたID−jklの変換処理モデルは、図20に示すように、配列順序変換処理モジュール2601より構成される処理モデルとして登録されている。配列順序変換処理モジュール2601は、基準処理モデルの出力データに対応する配列データを入力し、入力された配列データの要素の順番を派生処理モデルの出力データに対応する配列データの要素の順番に変換する。すなわち、配列順序変換処理モジュール2601は、基準処理モデルに対応付けられたテストデータにおける正解データを入力した場合に、派生処理モデルのテストデータにおける正解データを出力するように設計されている。   The ID-jkl conversion processing model searched as described above is registered as a processing model including an array order conversion processing module 2601 as shown in FIG. The array order conversion processing module 2601 receives array data corresponding to the output data of the reference processing model, and converts the order of the elements of the input array data into the order of the elements of the array data corresponding to the output data of the derivation processing model. To do. That is, the array order conversion processing module 2601 is designed to output correct data in the test data of the derivation processing model when correct data in the test data associated with the reference processing model is input.

具体的には、正解データの配列データに保持される順番が、派生処理モデルにおけるスキャン方向に対応した順番に変換される。結果として本実施形態では、変換処理部103は、基準処理モデルに対応付けられたテストデータにおける正解データを、図20に示すように派生処理モデルに対応する正解データに変換する。   Specifically, the order held in the array data of the correct answer data is converted into an order corresponding to the scan direction in the derivation process model. As a result, in the present embodiment, the conversion processing unit 103 converts the correct answer data in the test data associated with the reference process model into correct answer data corresponding to the derived process model as shown in FIG.

以上説明したように本実施形態におけるテストデータ変換ツールにより、事前にテストデータが対応付けられた処理モデル(基準処理モデル)が存在する場合に、新規に作成した処理モデルに対するテストデータの新規作成の手間が軽減される。すなわち、ユーザが前記処理モデルを元にして、辞書に登録済みの処理モデルの相違を有する処理モデル(派生処理モデル)を新たに作成した場合、派生処理モデルに対するテストデータを自動的に生成することが可能となる。   As described above, when there is a processing model (reference processing model) associated with the test data in advance by the test data conversion tool in the present embodiment, a new test data is created for the newly created processing model. Time and effort is reduced. That is, when a user newly creates a processing model (derivative processing model) having a difference between processing models registered in the dictionary based on the processing model, test data for the derived processing model is automatically generated. Is possible.

(第5の実施形態)
以下、図面を参照しながら本発明の第5の実施形態を説明する。本実施形態におけるテストデータ変換ツールでは、基準処理モデルと派生処理モデルとの相違として、処理モジュール属性に設定されている実行ハードウェア環境(ターゲットプラットフォーム)が検出される点が異なっている。また、それに伴い、テストデータの変換処理も異なっている。以下、本実施形態では、第1の実施形態と異なる点についてのみ説明し、共通する部分については説明を省略する。また、本実施形態に係るシステム構成及びPCの機能構成についても第1の実施形態と同様であるため、説明は省略する。
(Fifth embodiment)
The fifth embodiment of the present invention will be described below with reference to the drawings. The test data conversion tool in this embodiment is different in that an execution hardware environment (target platform) set in the processing module attribute is detected as a difference between the reference processing model and the derived processing model. Accordingly, the test data conversion process is also different. Hereinafter, in the present embodiment, only differences from the first embodiment will be described, and description of common parts will be omitted. Further, the system configuration and the functional configuration of the PC according to the present embodiment are the same as those in the first embodiment, and thus description thereof is omitted.

本実施形態における基準処理モデルは、フィルタ処理モジュール301の後段にCPU顔検出処理モジュールを備えている。このように第1の実施形態で説明した基準処理モデルと比較して、画像データに対してフィルタ処理モジュール301による処理を実行する点は同様であるが、CPU顔検出処理モジュールが異なっている。   The reference processing model in this embodiment includes a CPU face detection processing module at the subsequent stage of the filter processing module 301. As described above, the processing by the filter processing module 301 is executed on the image data as compared with the reference processing model described in the first embodiment, but the CPU face detection processing module is different.

基準処理モデルにおけるCPU顔検出処理モジュールに対しては、処理を実行する実行ハードウェア環境の"(9)シリアル処理CPU"が設定されている。すなわち、CPU顔検出処理モジュールは、シングルコアCPU上で動作するように設計されている。なお、処理内容に関しては、第1の実施形態と同様であり、また、対応付け管理されているテストデータに関しても第1の実施形態と同様であるため、説明を省略する。   For the CPU face detection processing module in the reference processing model, “(9) serial processing CPU” of the execution hardware environment for executing processing is set. That is, the CPU face detection processing module is designed to operate on a single core CPU. The processing content is the same as that of the first embodiment, and the test data that is managed in association is also the same as that of the first embodiment, so that the description thereof is omitted.

続いて、派生処理モデルについて説明する。本実施形態における派生処理モデルは、フィルタ処理モジュール301の後段にGPU顔検出処理モジュールを備えている。前述した基準処理モデルと比較して、画像データに対してフィルタ処理モジュール301による処理を実行する点は同様であるが、GPU顔検出処理モジュールが異なっている。   Next, the derivation process model will be described. The derivation processing model in this embodiment includes a GPU face detection processing module at the subsequent stage of the filter processing module 301. Compared with the reference processing model described above, the processing by the filter processing module 301 is the same as that for the image data, but the GPU face detection processing module is different.

派生処理モデルにおけるGPU顔検出処理モジュールに対しては、作成者により事前に"(10)並列処理順不定GPU"という実行ハードウェア環境が、処理モジュール属性として設定されている。したがって、GPU顔検出処理モジュールは、GPU上で動作するように設計されている。また、派生処理モデルは、テストデータが対応付け管理されていないものとする。   For the GPU face detection processing module in the derivation processing model, an execution hardware environment of “(10) parallel processing order indefinite GPU” is set in advance as a processing module attribute by the creator. Therefore, the GPU face detection processing module is designed to operate on the GPU. In the derivation processing model, it is assumed that test data is not associated and managed.

ここで、GPU上で並列に顔検出処理を実行する場合、並列実行される処理の順番を制御することができないことが多い。したがって、本実施形態におけるGPU顔検出処理モジュールによって、例えば図21に示すように、画像中の4か所で顔が検出される場合に、4か所のアドレスが配列データに配置される順番を事前に把握することはできない。   Here, when face detection processing is executed in parallel on the GPU, it is often impossible to control the order of processing executed in parallel. Therefore, for example, as shown in FIG. 21, when a face is detected at four places in the image by the GPU face detection processing module according to this embodiment, the order in which the addresses at the four places are arranged in the array data is changed. It is not possible to grasp in advance.

続いて、本実施形態におけるテストデータ変換ツールについて説明する。第1の実施形態と同様に、本実施形態におけるテストデータ変換ツールは、図形プログラミングアプリケーションソフトの一部として実行される。ユーザは、事前に作成済みの基準処理モデルに対して、前述した派生処理モデルを作成したものとする。   Next, the test data conversion tool in this embodiment will be described. Similar to the first embodiment, the test data conversion tool in this embodiment is executed as part of graphic programming application software. It is assumed that the user has created the derivation process model described above with respect to the reference process model that has been created in advance.

まず、テストデータ変換ツールにおいて、処理モデル相違検出部101は、ユーザにより指定された基準処理モデルと派生処理モデルとの間の処理モデルの相違を検出する。本実施形態の場合も同様に、接続する処理モジュールのリストを作成する。図22(a)及び図22(b)は、基準処理モデル及び派生処理モデルから作成される処理モジュールのリストの一例を示している。   First, in the test data conversion tool, the process model difference detection unit 101 detects a process model difference between the reference process model and the derived process model specified by the user. Similarly, in this embodiment, a list of processing modules to be connected is created. 22A and 22B show an example of a list of processing modules created from the reference processing model and the derivation processing model.

ここで、図22(a)及び図22(b)に示すように、両方の処理モデルは、処理モジュール属性が異なっており、処理モデルの相違は、処理モジュールのリストの相違として検出される。具体的には、図22(a)及び図22(b)に示したように、処理モジュール属性に関して、(9)シリアル処理CPUと(10)並列処理順不定GPUとが相違点として検出される。   Here, as shown in FIGS. 22A and 22B, both processing models have different processing module attributes, and the difference between the processing models is detected as a difference in the list of processing modules. Specifically, as shown in FIGS. 22A and 22B, (9) the serial processing CPU and (10) the parallel processing order indefinite GPU are detected as differences in the processing module attributes. .

続いて、テストデータ変換ツールにおいて、図1に示す検索部102による処理が実行される。検索部102は、第1の実施形態と同様に、処理モデルの相違を検索キーとして、辞書手段からテストデータの変換処理方法を検索する。処理モデルの相違(処理モジュールの処理属性)を検索キーとして入力した場合、図23に示すように検索キーに一致するテストデータ変換処理方法として、ID−mnoとして登録された変換処理モデルが検索される。   Subsequently, in the test data conversion tool, processing by the search unit 102 shown in FIG. 1 is executed. Similar to the first embodiment, the search unit 102 searches the dictionary means for a test data conversion processing method using the difference between the processing models as a search key. When a difference between processing models (processing module processing attributes) is input as a search key, a conversion processing model registered as ID-mno is searched as a test data conversion processing method matching the search key as shown in FIG. The

続いて、テストデータ変換ツールにおいて、図1に示す変換処理部103による処理が実行される。前述したように検索されたID−mnoの変換処理モデルは、図24に示すように、配列順序変換処理モジュール3201より構成される処理モデルとして登録されている。配列順序変換処理モジュール3201は、基準処理モデルの出力データに対応する配列データを入力する。   Subsequently, in the test data conversion tool, processing by the conversion processing unit 103 shown in FIG. 1 is executed. The ID-mno conversion processing model searched as described above is registered as a processing model including the array order conversion processing module 3201 as shown in FIG. The array order conversion processing module 3201 receives array data corresponding to the output data of the reference processing model.

ここで、配列順序変換処理モジュール3201は、基準処理モデルに対応付けられたテストデータにおける正解データを入力した場合に、所定の処理を実行するように設計されている。具体的には、正解データが配列データに保持されている順番を、ラスタスキャン方向に顔検出処理を実行した場合の処理方向の順番にソート変換する。なお、本実施形態では、基準処理モデルにおけるCPU顔検出処理モジュールの顔検出処理方向がラスタスキャン方向に一致するため、正解データの配列データに保持される順番に変化はない。   Here, the array order conversion processing module 3201 is designed to execute a predetermined process when correct data in the test data associated with the reference processing model is input. Specifically, the order in which the correct answer data is stored in the array data is sorted and converted into the order of the processing direction when the face detection process is executed in the raster scan direction. In this embodiment, since the face detection processing direction of the CPU face detection processing module in the reference processing model matches the raster scan direction, there is no change in the order in which the correct answer data is stored in the array data.

さらに本実施形態においては、派生処理モデルをテストする際に、正解データと比較する対象となる派生処理モデルの出力データに対しても、検出した変換処理方法を適用して、変換処理を施す。具体的には、図24に示すように派生処理モデルの出力データが配列データに保持されている順番を、ラスタスキャン方向に顔検出処理を実行した場合の処理方向の順番にソート変換する。   Further, in the present embodiment, when testing the derivation process model, the detected conversion process method is applied to the output data of the derivation process model to be compared with the correct data to perform the conversion process. Specifically, as shown in FIG. 24, the order in which the output data of the derivation processing model is held in the array data is sorted and converted into the order of the processing direction when the face detection process is executed in the raster scan direction.

すなわち、本実施形態においては、派生処理モデルにおける顔検出処理を実行するハードウェア環境がGPUであり、出力データの配列データに保持される順番を制御することができない。このため、正解データと、派生処理モデルの出力データとの双方を所定のソート手法でソーティングすることにより、基準処理モデルに対応付けられたテストデータを流用可能とする。   That is, in the present embodiment, the hardware environment for executing the face detection process in the derivation process model is a GPU, and the order held in the array data of the output data cannot be controlled. Therefore, the test data associated with the reference processing model can be diverted by sorting both the correct answer data and the output data of the derived processing model by a predetermined sorting method.

以上説明したように本実施形態におけるテストデータ変換ツールにより、事前にテストデータが対応付けられた処理モデル(基準処理モデル)が存在する場合に、新規に作成した処理モデルに対するテストデータの新規作成の手間が軽減される。すなわち、ユーザが前記処理モデルを元にして、辞書に登録済みの処理モデルの相違を有する処理モデル(派生処理モデル)を新たに作成した場合、派生処理モデルに対するテストデータを自動的に生成することが可能となる。   As described above, when there is a processing model (reference processing model) associated with the test data in advance by the test data conversion tool in the present embodiment, a new test data is created for the newly created processing model. Time and effort is reduced. That is, when a user newly creates a processing model (derivative processing model) having a difference between processing models registered in the dictionary based on the processing model, test data for the derived processing model is automatically generated. Is possible.

(第6の実施形態)
以下、図面を参照しながら本発明の第6の実施形態を説明する。
図25は、本実施形態におけるテストデータ変換ツールにおいて実行されるテストデータの変換処理手順の一例を示すフローチャートである。S3301、S3302及びS3304の処理は、それぞれ前述の各実施形態で説明した処理モデル相違検出部101、検索部102及び変換処理部103が行う処理に該当する。したがって、これらの処理については説明を省略する。
(Sixth embodiment)
Hereinafter, a sixth embodiment of the present invention will be described with reference to the drawings.
FIG. 25 is a flowchart illustrating an example of a test data conversion processing procedure executed by the test data conversion tool according to the present embodiment. The processing of S3301, S3302, and S3304 corresponds to the processing performed by the processing model difference detection unit 101, the search unit 102, and the conversion processing unit 103 described in each of the above embodiments. Therefore, description of these processes is omitted.

図25に示すように、本実施形態のテストデータ変換ツールにおいては、第1〜第5の実施形態で説明した処理手順に、さらに辞書追加登録処理工程(S3305)が追加されている。すなわち、S3303において、検索部102は、検索の結果、検索キーが辞書手段に登録されているか否かを判断する。そして、検索キーが辞書手段に登録されている場合は、S3304に進み、前述した各実施形態で説明した変換処理を行う。   As shown in FIG. 25, in the test data conversion tool of this embodiment, a dictionary addition registration process step (S3305) is further added to the processing procedures described in the first to fifth embodiments. That is, in S3303, the search unit 102 determines whether the search key is registered in the dictionary unit as a result of the search. If the search key is registered in the dictionary unit, the process advances to step S3304 to perform the conversion process described in each embodiment described above.

一方、S3303の判断の結果、検索キーが辞書手段に登録されておらず、テストデータの変換処理方法を検索できなかった場合は、S3305に進む。そして、S3305において、検索部102は、ユーザの操作により新たにテストデータの変換処理モデルを指定し、辞書手段に登録を行う。   On the other hand, if it is determined in S3303 that the search key is not registered in the dictionary unit and the test data conversion processing method cannot be searched, the process advances to S3305. In step S <b> 3305, the search unit 102 newly designates a test data conversion processing model by user operation and registers it in the dictionary unit.

具体的には、テストデータ変換ツールにおいて、図26(a)に示すように、まずユーザに対して、派生処理モデルに対応するテストデータの自動変換が出来ない旨のメッセージ3401を画面上に表示する。これに対してユーザは、新たにテストデータを変換するための変換処理モデルを作成、もしくは既存の変換処理モデルを選択して、図26(b)に示すように、その変換処理モデルのIDを検索キーに対応付けて追加登録するように入力する。   Specifically, in the test data conversion tool, as shown in FIG. 26A, first, a message 3401 indicating that the test data corresponding to the derived processing model cannot be automatically converted is displayed on the screen. To do. On the other hand, the user creates a new conversion processing model for converting test data or selects an existing conversion processing model and sets the ID of the conversion processing model as shown in FIG. Enter to register additionally in association with the search key.

例えば、第1〜第5の実施形態では、それぞれの実施形態で説明した変換処理モデルが既に辞書手段に登録されているものとして説明したが、それらが辞書手段に未登録であった場合に、ユーザが新たに辞書手段に追加登録するケースが考えられる。また、第1〜第5の実施形態で説明したケース以外の検索キーに対して、新たに変換処理モデルを対応付けて登録するものであっても構わない。   For example, in the first to fifth embodiments, the conversion processing model described in each embodiment has been described as already registered in the dictionary unit, but when they are not registered in the dictionary unit, A case where the user newly registers in the dictionary means can be considered. In addition, a conversion processing model may be newly registered in association with a search key other than the case described in the first to fifth embodiments.

以上説明したように本実施形態におけるテストデータ変換処理ツールにおいては、基準処理モデルと派生処理モデルとの相違を検索キーとして、基準処理モデルに対応付けられたテストデータを変換する方法を辞書のバリューとして追加登録することができる。これにより、ユーザは辞書に登録されたテストデータの変換処理方法を随時増やしていくことが可能となるため、辞書の登録データの増加に伴い、テストデータの新規作成の手間が軽減されるケースを増やすことが可能となる。   As described above, in the test data conversion processing tool according to the present embodiment, a method for converting test data associated with a reference processing model using a difference between the reference processing model and a derived processing model as a search key is a dictionary value. Can be additionally registered. As a result, the user can increase the number of test data conversion processing methods registered in the dictionary at any time. Therefore, there is a case where the effort for newly creating test data is reduced as the number of registered data in the dictionary increases. It becomes possible to increase.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

101 処理モデル相違検出部
102 検索部
103 変換処理部
101 processing model difference detection unit 102 search unit 103 conversion processing unit

Claims (10)

処理モジュールより構成される処理モデルに対してテストデータが対応付け管理されている第1の処理モデルを用いて、新たに作成した第2の処理モデルに対応したテストデータを作成する情報処理装置であって、
前記第1の処理モデルと前記第2の処理モデルとの相違を検出する検出手段と、
前記第1の処理モデルとの相違とテストデータの変換処理方法とを対応付けて保持する辞書から、前記検出手段によって検出された相違に該当する辞書を検索する検索手段と、
前記検索手段によって検索された辞書を用いて前記第1の処理モデルに係るテストデータを前記第2の処理モデルに係るテストデータに変換する変換手段とを有することを特徴とする情報処理装置。
An information processing apparatus that creates test data corresponding to a newly created second processing model using a first processing model in which test data is associated and managed with respect to a processing model composed of processing modules. There,
Detecting means for detecting a difference between the first processing model and the second processing model;
Search means for searching a dictionary corresponding to the difference detected by the detection means from a dictionary that holds the difference between the first processing model and the test data conversion processing method in association with each other;
An information processing apparatus comprising: conversion means for converting test data related to the first processing model into test data related to the second processing model using the dictionary searched by the search means.
前記検出手段は、トポロジー、処理モジュールの属性、ターゲットプラットフォーム、及び処理モデルに入出力されるデータサイズの中の少なくとも1つの相違を検出することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the detection unit detects at least one difference among a topology, a processing module attribute, a target platform, and a data size input / output to / from the processing model. 前記検出手段は、検出方向に係る処理モジュールの属性に関する相違を検出し、
前記変換手段は、前記検索手段によって検索された辞書を用いて前記第1の処理モデルに係るテストデータの順序を前記第2の処理モデルに係るテストデータの順序に変換することを特徴とする請求項2に記載の情報処理装置。
The detection means detects a difference regarding the attribute of the processing module related to the detection direction,
The conversion means converts the order of test data related to the first processing model into the order of test data related to the second processing model using the dictionary searched by the search means. Item 3. The information processing device according to Item 2.
前記検出手段は、さらにトポロジーに関する相違を検出することを特徴とする請求項3に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the detection unit further detects a difference regarding the topology. 前記検出手段は、処理モデルに入出力されるデータサイズに関する相違を検出し、
前記変換手段は、前記検索手段によって検索された辞書を用いて前記第1の処理モデルに係るテストデータから前記第2の処理モデルに係るテストデータを抽出することを特徴とする請求項2に記載の情報処理装置。
The detection means detects a difference regarding the data size input and output to the processing model,
The said conversion means extracts the test data which concerns on a said 2nd process model from the test data which concerns on a said 1st process model using the dictionary searched by the said search means. Information processing device.
前記検出手段は、処理の範囲に係る処理モジュールの属性に関する相違を検出し、
前記変換手段は、前記検索手段によって検索された辞書を用いて前記第1の処理モデルに係るテストデータから前記第2の処理モデルに係るテストデータを抽出することを特徴とする請求項2に記載の情報処理装置。
The detecting means detects a difference regarding the attribute of the processing module related to the processing range,
The said conversion means extracts the test data which concerns on a said 2nd process model from the test data which concerns on a said 1st process model using the dictionary searched by the said search means. Information processing device.
前記検出手段は、ターゲットプラットフォームに関する相違を検出し、
前記変換手段は、前記検索手段によって検索された辞書を用いて前記第1の処理モデルに係るテストデータの順序を前記第2の処理モデルに係るテストデータの順序に変換することを特徴とする請求項2に記載の情報処理装置。
The detecting means detects a difference with respect to the target platform;
The conversion means converts the order of test data related to the first processing model into the order of test data related to the second processing model using the dictionary searched by the search means. Item 3. The information processing device according to Item 2.
前記検索手段による検索の結果、前記検出手段によって検出された相違に該当する辞書が存在しない場合に、当該辞書を追加登録する登録手段をさらに有することを特徴とする請求項1〜7の何れか1項に記載の情報処理装置。   8. The method according to claim 1, further comprising: a registration unit that additionally registers the dictionary when there is no dictionary corresponding to the difference detected by the detection unit as a result of the search by the search unit. The information processing apparatus according to item 1. 処理モジュールより構成される処理モデルに対してテストデータが対応付け管理されている第1の処理モデルを用いて、新たに作成した第2の処理モデルに対応したテストデータを作成する情報処理方法であって、
前記第1の処理モデルと前記第2の処理モデルとの相違を検出する検出工程と、
前記第1の処理モデルとの相違とテストデータの変換処理方法とを対応付けて保持する辞書から、前記検出工程において検出された相違に該当する辞書を検索する検索工程と、
前記検索工程において検索された辞書を用いて前記第1の処理モデルに係るテストデータを前記第2の処理モデルに係るテストデータに変換する変換工程とを有することを特徴とする情報処理方法。
An information processing method for creating test data corresponding to a newly created second processing model by using a first processing model in which test data is managed in association with a processing model constituted by processing modules. There,
A detecting step of detecting a difference between the first processing model and the second processing model;
A search step of searching a dictionary corresponding to the difference detected in the detection step from a dictionary that holds the difference between the first processing model and the test data conversion processing method in association with each other;
An information processing method comprising: a conversion step of converting test data related to the first processing model into test data related to the second processing model using the dictionary searched in the searching step.
処理モジュールより構成される処理モデルに対してテストデータが対応付け管理されている第1の処理モデルを用いて、新たに作成した第2の処理モデルに対応したテストデータを作成する情報処理装置を制御するためのプログラムであって、
前記第1の処理モデルと前記第2の処理モデルとの相違を検出する検出工程と、
前記第1の処理モデルとの相違とテストデータの変換処理方法とを対応付けて保持する辞書から、前記検出工程において検出された相違に該当する辞書を検索する検索工程と、
前記検索工程において検索された辞書を用いて前記第1の処理モデルに係るテストデータを前記第2の処理モデルに係るテストデータに変換する変換工程とをコンピュータに実行させることを特徴とするプログラム。
An information processing apparatus that creates test data corresponding to a newly created second processing model using a first processing model in which test data is managed in association with a processing model constituted by processing modules. A program for controlling,
A detecting step of detecting a difference between the first processing model and the second processing model;
A search step of searching a dictionary corresponding to the difference detected in the detection step from a dictionary that holds the difference between the first processing model and the test data conversion processing method in association with each other;
A program causing a computer to execute a conversion step of converting test data related to the first processing model into test data related to the second processing model using the dictionary searched in the search step.
JP2014178396A 2014-09-02 2014-09-02 Information processing device, information processing method, and program Pending JP2016053751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014178396A JP2016053751A (en) 2014-09-02 2014-09-02 Information processing device, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014178396A JP2016053751A (en) 2014-09-02 2014-09-02 Information processing device, information processing method, and program

Publications (1)

Publication Number Publication Date
JP2016053751A true JP2016053751A (en) 2016-04-14

Family

ID=55745202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014178396A Pending JP2016053751A (en) 2014-09-02 2014-09-02 Information processing device, information processing method, and program

Country Status (1)

Country Link
JP (1) JP2016053751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11945907B2 (en) 2019-12-23 2024-04-02 Chang Chun Plastics Co., Ltd. Liquid crystal polymer film and laminate comprising the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11945907B2 (en) 2019-12-23 2024-04-02 Chang Chun Plastics Co., Ltd. Liquid crystal polymer film and laminate comprising the same

Similar Documents

Publication Publication Date Title
JP7353946B2 (en) Annotation device and method
US11887388B2 (en) Object pose obtaining method, and electronic device
JP6337973B2 (en) Additional learning device, additional learning method, and additional learning program
US10175954B2 (en) Method of processing big data, including arranging icons in a workflow GUI by a user, checking process availability and syntax, converting the workflow into execution code, monitoring the workflow, and displaying associated information
US20200387553A1 (en) Digitization of technical documentation driven by machine learning
JP6179224B2 (en) Image processing filter creation apparatus and method
CN108304318B (en) Device compatibility testing method and terminal device
JP6631527B2 (en) Information processing apparatus, information processing method, and program
JP2020030145A (en) Inspection apparatus and inspection system
JP2017091208A (en) Document inspection support device, document inspection support system, and program
EP3882817A2 (en) Method, apparatus and device for recognizing bill and storage medium
JP2016053751A (en) Information processing device, information processing method, and program
US20190265954A1 (en) Apparatus and method for assisting discovery of design pattern in model development environment using flow diagram
JP5615245B2 (en) Bug countermeasure priority display system
JP6476144B2 (en) Screen difference confirmation support device, screen difference confirmation support method, and program
JP2010072876A (en) Rule creation program, rule creation method, and rule creation device
JP2019106137A (en) Display program, display method, display device, comment display control program, comment display control method, and comment display control device
JP6695454B1 (en) Information processing apparatus, information processing method, and program
JP6446945B2 (en) Incompatible detection device, incompatible detection method, and program
JPWO2014122763A1 (en) CAD data processing apparatus and processing method
US20180365341A1 (en) Three-Dimensional Cad System Device, and Knowledge Management Method Used in Three-Dimensional Cad
JP5600826B1 (en) Unstructured data processing system, unstructured data processing method and program
JP7344501B1 (en) Program, method, information processing device, system
CN111078671A (en) Method, device, equipment and medium for modifying data table field
US11113531B2 (en) Annotation device, annotation method, and non-transitory computer-readable storage medium